@burdenoff/microfe-eventfullymanaged 2026.1101.1 → 2026.1101.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 (1213) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +4 -5
  2. package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts +1 -1
  3. package/dist/eventfullymanaged/EventfullyManagedRoot.d.ts.map +1 -1
  4. package/dist/eventfullymanaged/EventfullyManagedRoot.js +1 -2
  5. package/dist/eventfullymanaged/EventfullyManagedRoot.js.map +1 -1
  6. package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts +1 -1
  7. package/dist/eventfullymanaged/EventfullyManagedRoutes.d.ts.map +1 -1
  8. package/dist/eventfullymanaged/EventfullyManagedRoutes.js +1 -2
  9. package/dist/eventfullymanaged/EventfullyManagedRoutes.js.map +1 -1
  10. package/dist/eventfullymanaged/api/eventApi.d.ts +110 -110
  11. package/dist/eventfullymanaged/api/eventApi.d.ts.map +1 -1
  12. package/dist/eventfullymanaged/api/eventApi.js +262 -263
  13. package/dist/eventfullymanaged/api/eventApi.js.map +1 -1
  14. package/dist/eventfullymanaged/components/ActionMenu.d.ts +1 -1
  15. package/dist/eventfullymanaged/components/ActionMenu.d.ts.map +1 -1
  16. package/dist/eventfullymanaged/components/ActionMenu.js +7 -8
  17. package/dist/eventfullymanaged/components/ActionMenu.js.map +1 -1
  18. package/dist/eventfullymanaged/components/AttendanceForecast.d.ts +11 -0
  19. package/dist/eventfullymanaged/components/AttendanceForecast.d.ts.map +1 -0
  20. package/dist/eventfullymanaged/components/AttendanceForecast.js +215 -0
  21. package/dist/eventfullymanaged/components/AttendanceForecast.js.map +1 -0
  22. package/dist/eventfullymanaged/components/EntityFormShell.d.ts +1 -1
  23. package/dist/eventfullymanaged/components/EntityFormShell.d.ts.map +1 -1
  24. package/dist/eventfullymanaged/components/EntityFormShell.js +1 -2
  25. package/dist/eventfullymanaged/components/EntityFormShell.js.map +1 -1
  26. package/dist/eventfullymanaged/components/EntityTagsField.d.ts +1 -1
  27. package/dist/eventfullymanaged/components/EntityTagsField.d.ts.map +1 -1
  28. package/dist/eventfullymanaged/components/EntityTagsField.js +22 -23
  29. package/dist/eventfullymanaged/components/EntityTagsField.js.map +1 -1
  30. package/dist/eventfullymanaged/components/EventCharts.d.ts +4 -4
  31. package/dist/eventfullymanaged/components/EventCharts.d.ts.map +1 -1
  32. package/dist/eventfullymanaged/components/EventCharts.js +53 -54
  33. package/dist/eventfullymanaged/components/EventCharts.js.map +1 -1
  34. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts +1 -1
  35. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts.map +1 -1
  36. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.js +1 -2
  37. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.js.map +1 -1
  38. package/dist/eventfullymanaged/components/ImageUploadField.d.ts +1 -1
  39. package/dist/eventfullymanaged/components/ImageUploadField.d.ts.map +1 -1
  40. package/dist/eventfullymanaged/components/ImageUploadField.js +31 -33
  41. package/dist/eventfullymanaged/components/ImageUploadField.js.map +1 -1
  42. package/dist/eventfullymanaged/components/PageLayout.d.ts +1 -1
  43. package/dist/eventfullymanaged/components/PageLayout.d.ts.map +1 -1
  44. package/dist/eventfullymanaged/components/PageLayout.js +1 -2
  45. package/dist/eventfullymanaged/components/PageLayout.js.map +1 -1
  46. package/dist/eventfullymanaged/components/Pagination.d.ts +1 -1
  47. package/dist/eventfullymanaged/components/Pagination.d.ts.map +1 -1
  48. package/dist/eventfullymanaged/components/Pagination.js +1 -2
  49. package/dist/eventfullymanaged/components/Pagination.js.map +1 -1
  50. package/dist/eventfullymanaged/components/SafeLink.d.ts +1 -1
  51. package/dist/eventfullymanaged/components/SafeLink.d.ts.map +1 -1
  52. package/dist/eventfullymanaged/components/SafeLink.js +1 -2
  53. package/dist/eventfullymanaged/components/SafeLink.js.map +1 -1
  54. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts +1 -1
  55. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts.map +1 -1
  56. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.js +6 -13
  57. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.js.map +1 -1
  58. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts +3 -3
  59. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts.map +1 -1
  60. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js +1 -2
  61. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js.map +1 -1
  62. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.js +1 -2
  63. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.js.map +1 -1
  64. package/dist/eventfullymanaged/components/index.js +5 -4
  65. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts +1 -1
  66. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts.map +1 -1
  67. package/dist/eventfullymanaged/context/EventfullyManagedContext.js +4 -8
  68. package/dist/eventfullymanaged/context/EventfullyManagedContext.js.map +1 -1
  69. package/dist/eventfullymanaged/hooks/index.js +1 -1
  70. package/dist/eventfullymanaged/hooks/useEventDelete.js +8 -9
  71. package/dist/eventfullymanaged/hooks/useEventDelete.js.map +1 -1
  72. package/dist/eventfullymanaged/hooks/useEvmSubscription.js +7 -12
  73. package/dist/eventfullymanaged/hooks/useEvmSubscription.js.map +1 -1
  74. package/dist/eventfullymanaged/hooks/useVirtualCall.js +9 -17
  75. package/dist/eventfullymanaged/hooks/useVirtualCall.js.map +1 -1
  76. package/dist/eventfullymanaged/lib/floorPlanZones.js +26 -28
  77. package/dist/eventfullymanaged/lib/floorPlanZones.js.map +1 -1
  78. package/dist/eventfullymanaged/lib/format.js +1 -2
  79. package/dist/eventfullymanaged/lib/format.js.map +1 -1
  80. package/dist/eventfullymanaged/lib/mutationResult.js +1 -2
  81. package/dist/eventfullymanaged/lib/mutationResult.js.map +1 -1
  82. package/dist/eventfullymanaged/lib/offlineCheckInQueue.js +29 -30
  83. package/dist/eventfullymanaged/lib/offlineCheckInQueue.js.map +1 -1
  84. package/dist/eventfullymanaged/lib/toast.js +2 -3
  85. package/dist/eventfullymanaged/lib/toast.js.map +1 -1
  86. package/dist/eventfullymanaged/lib/useOfflineCheckInSync.js +1 -2
  87. package/dist/eventfullymanaged/lib/useOfflineCheckInSync.js.map +1 -1
  88. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts +1 -1
  89. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts.map +1 -1
  90. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js +46 -47
  91. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js.map +1 -1
  92. package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts +1 -1
  93. package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts.map +1 -1
  94. package/dist/eventfullymanaged/pages/events/EventDetailPage.js +197 -195
  95. package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
  96. package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts +1 -1
  97. package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts.map +1 -1
  98. package/dist/eventfullymanaged/pages/events/EventFormPage.js +35 -36
  99. package/dist/eventfullymanaged/pages/events/EventFormPage.js.map +1 -1
  100. package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts +1 -1
  101. package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts.map +1 -1
  102. package/dist/eventfullymanaged/pages/events/SessionFormPage.js +47 -48
  103. package/dist/eventfullymanaged/pages/events/SessionFormPage.js.map +1 -1
  104. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts +1 -1
  105. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts.map +1 -1
  106. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.js +31 -32
  107. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.js.map +1 -1
  108. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts +1 -1
  109. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts.map +1 -1
  110. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +170 -171
  111. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -1
  112. package/dist/eventfullymanaged/pages/events/eventFormUtils.js +1 -2
  113. package/dist/eventfullymanaged/pages/events/eventFormUtils.js.map +1 -1
  114. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts +1 -1
  115. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts.map +1 -1
  116. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.js +20 -21
  117. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.js.map +1 -1
  118. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts +1 -1
  119. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts.map +1 -1
  120. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js +18 -19
  121. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js.map +1 -1
  122. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts +1 -1
  123. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts.map +1 -1
  124. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js +13 -14
  125. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js.map +1 -1
  126. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts +1 -1
  127. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts.map +1 -1
  128. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js +89 -47
  129. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js.map +1 -1
  130. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts +1 -1
  131. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts.map +1 -1
  132. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js +8 -8
  133. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js.map +1 -1
  134. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts +1 -1
  135. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts.map +1 -1
  136. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js +3 -4
  137. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js.map +1 -1
  138. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts +1 -1
  139. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts.map +1 -1
  140. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js +170 -171
  141. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js.map +1 -1
  142. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts +1 -1
  143. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts.map +1 -1
  144. package/dist/eventfullymanaged/pages/modules/EntityListSection.js +1 -2
  145. package/dist/eventfullymanaged/pages/modules/EntityListSection.js.map +1 -1
  146. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts +1 -1
  147. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts.map +1 -1
  148. package/dist/eventfullymanaged/pages/modules/EventsPage.js +185 -186
  149. package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -1
  150. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts +1 -1
  151. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts.map +1 -1
  152. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js +73 -78
  153. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js.map +1 -1
  154. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts +1 -1
  155. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts.map +1 -1
  156. package/dist/eventfullymanaged/pages/modules/KioskPage.js +204 -208
  157. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
  158. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts +1 -1
  159. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts.map +1 -1
  160. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +177 -181
  161. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -1
  162. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts +1 -1
  163. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts.map +1 -1
  164. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js +18 -19
  165. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js.map +1 -1
  166. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts +1 -1
  167. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts.map +1 -1
  168. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +122 -123
  169. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
  170. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts +1 -1
  171. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts.map +1 -1
  172. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js +1 -2
  173. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js.map +1 -1
  174. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts +1 -1
  175. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts.map +1 -1
  176. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +11 -11
  177. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
  178. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts +1 -1
  179. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts.map +1 -1
  180. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js +7 -8
  181. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js.map +1 -1
  182. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts +1 -1
  183. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts.map +1 -1
  184. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js +4 -5
  185. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js.map +1 -1
  186. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts +1 -1
  187. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts.map +1 -1
  188. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js +14 -15
  189. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js.map +1 -1
  190. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts +1 -1
  191. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts.map +1 -1
  192. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.js +31 -32
  193. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.js.map +1 -1
  194. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts +1 -1
  195. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts.map +1 -1
  196. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.js +19 -20
  197. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.js.map +1 -1
  198. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts +1 -1
  199. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts.map +1 -1
  200. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js +19 -20
  201. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js.map +1 -1
  202. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts +1 -1
  203. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts.map +1 -1
  204. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +21 -22
  205. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
  206. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts +1 -1
  207. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts.map +1 -1
  208. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js +85 -103
  209. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js.map +1 -1
  210. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts +1 -1
  211. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts.map +1 -1
  212. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js +35 -36
  213. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js.map +1 -1
  214. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts +1 -1
  215. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts.map +1 -1
  216. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js +40 -41
  217. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js.map +1 -1
  218. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts +1 -1
  219. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts.map +1 -1
  220. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js +22 -23
  221. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js.map +1 -1
  222. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts +1 -1
  223. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts.map +1 -1
  224. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js +29 -30
  225. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js.map +1 -1
  226. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts +1 -1
  227. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts.map +1 -1
  228. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +138 -147
  229. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -1
  230. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts +1 -1
  231. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts.map +1 -1
  232. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +6 -7
  233. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
  234. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts +1 -1
  235. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts.map +1 -1
  236. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +14 -15
  237. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js.map +1 -1
  238. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts +1 -1
  239. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts.map +1 -1
  240. package/dist/eventfullymanaged/pages/venues/VenueListPage.js +18 -19
  241. package/dist/eventfullymanaged/pages/venues/VenueListPage.js.map +1 -1
  242. package/dist/eventfullymanaged/store/eventfullyManagedStore.js +0 -1
  243. package/dist/eventfullymanaged/store/eventfullyManagedStore.js.map +1 -1
  244. package/dist/eventfullymanaged/types/index.d.ts.map +1 -1
  245. package/dist/eventfullymanaged/utils/cn.js +1 -2
  246. package/dist/eventfullymanaged/utils/shellBridge.js +1 -2
  247. package/dist/eventfullymanaged/utils/shellBridge.js.map +1 -1
  248. package/dist/generated/wspace-operations.d.ts +93 -1
  249. package/dist/generated/wspace-operations.d.ts.map +1 -1
  250. package/dist/generated/wspace-operations.js +51 -0
  251. package/dist/generated/wspace-operations.js.map +1 -0
  252. package/dist/generated/wspace-types.d.ts +121703 -40790
  253. package/dist/generated/wspace-types.d.ts.map +1 -1
  254. package/dist/node_modules/@apollo/client/core/networkStatus.js +1 -2
  255. package/dist/node_modules/@apollo/client/core/networkStatus.js.map +1 -1
  256. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js +2 -3
  257. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js.map +1 -1
  258. package/dist/node_modules/@apollo/client/react/hooks/constants.js +1 -2
  259. package/dist/node_modules/@apollo/client/react/hooks/constants.js.map +1 -1
  260. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js +2 -3
  261. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js.map +1 -1
  262. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js +1 -2
  263. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js.map +1 -1
  264. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js +6 -7
  265. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js.map +1 -1
  266. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js +2 -3
  267. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js.map +1 -1
  268. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js +23 -24
  269. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js.map +1 -1
  270. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js +51 -53
  271. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js.map +1 -1
  272. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js +4 -5
  273. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js.map +1 -1
  274. package/dist/node_modules/@apollo/client/react/internal/index.js +1 -2
  275. package/dist/node_modules/@apollo/client/react/internal/index.js.map +1 -1
  276. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js +1 -2
  277. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js.map +1 -1
  278. package/dist/node_modules/@apollo/client/utilities/internal/compact.js +1 -2
  279. package/dist/node_modules/@apollo/client/utilities/internal/compact.js.map +1 -1
  280. package/dist/node_modules/@apollo/client/utilities/internal/constants.js +1 -2
  281. package/dist/node_modules/@apollo/client/utilities/internal/constants.js.map +1 -1
  282. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js +2 -3
  283. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js.map +1 -1
  284. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
  285. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
  286. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
  287. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
  288. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
  289. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
  290. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
  291. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
  292. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js +1 -2
  293. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js.map +1 -1
  294. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js +1 -2
  295. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js.map +1 -1
  296. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js +1 -2
  297. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js.map +1 -1
  298. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
  299. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
  300. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
  301. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
  302. package/dist/node_modules/@apollo/client/version.js +2 -3
  303. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  304. package/dist/node_modules/@wry/equality/lib/index.js +3 -4
  305. package/dist/node_modules/@wry/equality/lib/index.js.map +1 -1
  306. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  307. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  308. package/dist/node_modules/d3-array/src/ascending.js +1 -2
  309. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  310. package/dist/node_modules/d3-array/src/bisect.js +2 -3
  311. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  312. package/dist/node_modules/d3-array/src/bisector.js +1 -2
  313. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  314. package/dist/node_modules/d3-array/src/descending.js +1 -2
  315. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  316. package/dist/node_modules/d3-array/src/max.js +1 -2
  317. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  318. package/dist/node_modules/d3-array/src/min.js +1 -2
  319. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  320. package/dist/node_modules/d3-array/src/number.js +1 -2
  321. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  322. package/dist/node_modules/d3-array/src/quantile.js +17 -18
  323. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  324. package/dist/node_modules/d3-array/src/quickselect.js +1 -2
  325. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  326. package/dist/node_modules/d3-array/src/range.js +1 -2
  327. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  328. package/dist/node_modules/d3-array/src/sort.js +1 -2
  329. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  330. package/dist/node_modules/d3-array/src/ticks.js +5 -5
  331. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  332. package/dist/node_modules/d3-color/src/color.js +2 -3
  333. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  334. package/dist/node_modules/d3-color/src/define.js +1 -2
  335. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  336. package/dist/node_modules/d3-format/src/defaultLocale.js +2 -3
  337. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  338. package/dist/node_modules/d3-format/src/exponent.js +1 -2
  339. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  340. package/dist/node_modules/d3-format/src/formatDecimal.js +1 -2
  341. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  342. package/dist/node_modules/d3-format/src/formatGroup.js +1 -2
  343. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  344. package/dist/node_modules/d3-format/src/formatNumerals.js +1 -2
  345. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  346. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +1 -2
  347. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  348. package/dist/node_modules/d3-format/src/formatRounded.js +1 -2
  349. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  350. package/dist/node_modules/d3-format/src/formatSpecifier.js +2 -3
  351. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  352. package/dist/node_modules/d3-format/src/formatTrim.js +1 -3
  353. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  354. package/dist/node_modules/d3-format/src/formatTypes.js +1 -2
  355. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  356. package/dist/node_modules/d3-format/src/identity.js +1 -2
  357. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  358. package/dist/node_modules/d3-format/src/locale.js +10 -13
  359. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  360. package/dist/node_modules/d3-format/src/precisionFixed.js +1 -2
  361. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  362. package/dist/node_modules/d3-format/src/precisionPrefix.js +1 -2
  363. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  364. package/dist/node_modules/d3-format/src/precisionRound.js +1 -2
  365. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  366. package/dist/node_modules/d3-interpolate/src/array.js +2 -4
  367. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  368. package/dist/node_modules/d3-interpolate/src/basis.js +1 -2
  369. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  370. package/dist/node_modules/d3-interpolate/src/basisClosed.js +1 -2
  371. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  372. package/dist/node_modules/d3-interpolate/src/color.js +1 -2
  373. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  374. package/dist/node_modules/d3-interpolate/src/constant.js +1 -2
  375. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -1
  376. package/dist/node_modules/d3-interpolate/src/date.js +1 -2
  377. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  378. package/dist/node_modules/d3-interpolate/src/number.js +1 -2
  379. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  380. package/dist/node_modules/d3-interpolate/src/numberArray.js +1 -2
  381. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  382. package/dist/node_modules/d3-interpolate/src/object.js +2 -3
  383. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  384. package/dist/node_modules/d3-interpolate/src/piecewise.js +1 -2
  385. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  386. package/dist/node_modules/d3-interpolate/src/rgb.js +1 -2
  387. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  388. package/dist/node_modules/d3-interpolate/src/round.js +1 -2
  389. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  390. package/dist/node_modules/d3-interpolate/src/string.js +1 -2
  391. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  392. package/dist/node_modules/d3-interpolate/src/value.js +10 -11
  393. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  394. package/dist/node_modules/d3-path/src/path.js +8 -7
  395. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  396. package/dist/node_modules/d3-scale/src/band.js +1 -2
  397. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  398. package/dist/node_modules/d3-scale/src/constant.js +1 -2
  399. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  400. package/dist/node_modules/d3-scale/src/continuous.js +7 -8
  401. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  402. package/dist/node_modules/d3-scale/src/diverging.js +35 -36
  403. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  404. package/dist/node_modules/d3-scale/src/identity.js +6 -7
  405. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  406. package/dist/node_modules/d3-scale/src/init.js +3 -8
  407. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  408. package/dist/node_modules/d3-scale/src/linear.js +6 -7
  409. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  410. package/dist/node_modules/d3-scale/src/log.js +32 -33
  411. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  412. package/dist/node_modules/d3-scale/src/nice.js +1 -2
  413. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  414. package/dist/node_modules/d3-scale/src/number.js +1 -2
  415. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  416. package/dist/node_modules/d3-scale/src/ordinal.js +1 -2
  417. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  418. package/dist/node_modules/d3-scale/src/pow.js +13 -14
  419. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  420. package/dist/node_modules/d3-scale/src/quantile.js +2 -3
  421. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  422. package/dist/node_modules/d3-scale/src/quantize.js +5 -6
  423. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  424. package/dist/node_modules/d3-scale/src/radial.js +8 -9
  425. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  426. package/dist/node_modules/d3-scale/src/sequential.js +27 -28
  427. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  428. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +6 -7
  429. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  430. package/dist/node_modules/d3-scale/src/symlog.js +12 -13
  431. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  432. package/dist/node_modules/d3-scale/src/threshold.js +2 -3
  433. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  434. package/dist/node_modules/d3-scale/src/tickFormat.js +7 -10
  435. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  436. package/dist/node_modules/d3-scale/src/time.js +27 -28
  437. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  438. package/dist/node_modules/d3-scale/src/utcTime.js +13 -14
  439. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  440. package/dist/node_modules/d3-shape/src/area.js +34 -33
  441. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  442. package/dist/node_modules/d3-shape/src/array.js +0 -1
  443. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  444. package/dist/node_modules/d3-shape/src/constant.js +1 -2
  445. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  446. package/dist/node_modules/d3-shape/src/curve/basis.js +4 -9
  447. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  448. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +3 -8
  449. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  450. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +2 -5
  451. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  452. package/dist/node_modules/d3-shape/src/curve/bump.js +2 -5
  453. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  454. package/dist/node_modules/d3-shape/src/curve/linear.js +2 -5
  455. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  456. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +1 -2
  457. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  458. package/dist/node_modules/d3-shape/src/curve/monotone.js +4 -9
  459. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  460. package/dist/node_modules/d3-shape/src/curve/natural.js +5 -4
  461. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  462. package/dist/node_modules/d3-shape/src/curve/step.js +6 -9
  463. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  464. package/dist/node_modules/d3-shape/src/line.js +16 -17
  465. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  466. package/dist/node_modules/d3-shape/src/math.js +1 -2
  467. package/dist/node_modules/d3-shape/src/math.js.map +1 -1
  468. package/dist/node_modules/d3-shape/src/noop.js +1 -2
  469. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  470. package/dist/node_modules/d3-shape/src/offset/expand.js +1 -2
  471. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  472. package/dist/node_modules/d3-shape/src/offset/none.js +1 -2
  473. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  474. package/dist/node_modules/d3-shape/src/offset/silhouette.js +1 -2
  475. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  476. package/dist/node_modules/d3-shape/src/offset/wiggle.js +2 -3
  477. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  478. package/dist/node_modules/d3-shape/src/order/none.js +1 -2
  479. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  480. package/dist/node_modules/d3-shape/src/path.js +1 -2
  481. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  482. package/dist/node_modules/d3-shape/src/point.js +1 -2
  483. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  484. package/dist/node_modules/d3-shape/src/stack.js +13 -14
  485. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  486. package/dist/node_modules/d3-shape/src/symbol/circle.js +1 -2
  487. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  488. package/dist/node_modules/d3-shape/src/symbol/cross.js +1 -2
  489. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  490. package/dist/node_modules/d3-shape/src/symbol/diamond.js +1 -2
  491. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  492. package/dist/node_modules/d3-shape/src/symbol/square.js +1 -2
  493. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  494. package/dist/node_modules/d3-shape/src/symbol/star.js +1 -2
  495. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  496. package/dist/node_modules/d3-shape/src/symbol/triangle.js +1 -2
  497. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  498. package/dist/node_modules/d3-shape/src/symbol/wye.js +1 -2
  499. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  500. package/dist/node_modules/d3-shape/src/symbol.js +1 -2
  501. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  502. package/dist/node_modules/d3-time/src/day.js +1 -2
  503. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  504. package/dist/node_modules/d3-time/src/duration.js +1 -2
  505. package/dist/node_modules/d3-time/src/duration.js.map +1 -1
  506. package/dist/node_modules/d3-time/src/hour.js +1 -2
  507. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  508. package/dist/node_modules/d3-time/src/interval.js +5 -4
  509. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  510. package/dist/node_modules/d3-time/src/millisecond.js +1 -2
  511. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  512. package/dist/node_modules/d3-time/src/minute.js +1 -2
  513. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  514. package/dist/node_modules/d3-time/src/month.js +1 -2
  515. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  516. package/dist/node_modules/d3-time/src/second.js +1 -2
  517. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  518. package/dist/node_modules/d3-time/src/ticks.js +27 -28
  519. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  520. package/dist/node_modules/d3-time/src/week.js +2 -3
  521. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  522. package/dist/node_modules/d3-time/src/year.js +1 -2
  523. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  524. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -7
  525. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  526. package/dist/node_modules/d3-time-format/src/locale.js +1 -2
  527. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  528. package/dist/node_modules/decimal.js-light/decimal.js +33 -30
  529. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  530. package/dist/node_modules/eventemitter3/index.js +2 -3
  531. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  532. package/dist/node_modules/fast-equals/dist/es/index.js +3 -4
  533. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  534. package/dist/node_modules/graphql/error/GraphQLError.js +1 -2
  535. package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -1
  536. package/dist/node_modules/graphql/error/syntaxError.js +1 -2
  537. package/dist/node_modules/graphql/error/syntaxError.js.map +1 -1
  538. package/dist/node_modules/graphql/jsutils/devAssert.js +1 -2
  539. package/dist/node_modules/graphql/jsutils/devAssert.js.map +1 -1
  540. package/dist/node_modules/graphql/jsutils/inspect.js +24 -27
  541. package/dist/node_modules/graphql/jsutils/inspect.js.map +1 -1
  542. package/dist/node_modules/graphql/jsutils/instanceOf.js +0 -1
  543. package/dist/node_modules/graphql/jsutils/instanceOf.js.map +1 -1
  544. package/dist/node_modules/graphql/jsutils/invariant.js +1 -2
  545. package/dist/node_modules/graphql/jsutils/invariant.js.map +1 -1
  546. package/dist/node_modules/graphql/jsutils/isObjectLike.js +1 -2
  547. package/dist/node_modules/graphql/jsutils/isObjectLike.js.map +1 -1
  548. package/dist/node_modules/graphql/language/ast.js +7 -8
  549. package/dist/node_modules/graphql/language/ast.js.map +1 -1
  550. package/dist/node_modules/graphql/language/blockString.js +1 -2
  551. package/dist/node_modules/graphql/language/blockString.js.map +1 -1
  552. package/dist/node_modules/graphql/language/characterClasses.js +2 -3
  553. package/dist/node_modules/graphql/language/characterClasses.js.map +1 -1
  554. package/dist/node_modules/graphql/language/directiveLocation.js +1 -2
  555. package/dist/node_modules/graphql/language/directiveLocation.js.map +1 -1
  556. package/dist/node_modules/graphql/language/kinds.js +1 -2
  557. package/dist/node_modules/graphql/language/kinds.js.map +1 -1
  558. package/dist/node_modules/graphql/language/lexer.js +47 -50
  559. package/dist/node_modules/graphql/language/lexer.js.map +1 -1
  560. package/dist/node_modules/graphql/language/location.js +1 -2
  561. package/dist/node_modules/graphql/language/location.js.map +1 -1
  562. package/dist/node_modules/graphql/language/parser.js +100 -97
  563. package/dist/node_modules/graphql/language/parser.js.map +1 -1
  564. package/dist/node_modules/graphql/language/printLocation.js +1 -2
  565. package/dist/node_modules/graphql/language/printLocation.js.map +1 -1
  566. package/dist/node_modules/graphql/language/source.js +1 -2
  567. package/dist/node_modules/graphql/language/source.js.map +1 -1
  568. package/dist/node_modules/graphql/language/tokenKind.js +1 -2
  569. package/dist/node_modules/graphql/language/tokenKind.js.map +1 -1
  570. package/dist/node_modules/graphql-tag/lib/index.js +10 -11
  571. package/dist/node_modules/graphql-tag/lib/index.js.map +1 -1
  572. package/dist/node_modules/internmap/src/index.js +1 -2
  573. package/dist/node_modules/internmap/src/index.js.map +1 -1
  574. package/dist/node_modules/lodash/_DataView.js +4 -5
  575. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  576. package/dist/node_modules/lodash/_Hash.js +1 -2
  577. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  578. package/dist/node_modules/lodash/_ListCache.js +1 -2
  579. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  580. package/dist/node_modules/lodash/_Map.js +4 -5
  581. package/dist/node_modules/lodash/_Map.js.map +1 -1
  582. package/dist/node_modules/lodash/_MapCache.js +1 -2
  583. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  584. package/dist/node_modules/lodash/_Promise.js +4 -5
  585. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  586. package/dist/node_modules/lodash/_Set.js +4 -5
  587. package/dist/node_modules/lodash/_Set.js.map +1 -1
  588. package/dist/node_modules/lodash/_SetCache.js +1 -2
  589. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  590. package/dist/node_modules/lodash/_Stack.js +3 -3
  591. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  592. package/dist/node_modules/lodash/_Symbol.js +1 -2
  593. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  594. package/dist/node_modules/lodash/_Uint8Array.js +1 -2
  595. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  596. package/dist/node_modules/lodash/_WeakMap.js +4 -5
  597. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  598. package/dist/node_modules/lodash/_apply.js +1 -2
  599. package/dist/node_modules/lodash/_apply.js.map +1 -1
  600. package/dist/node_modules/lodash/_arrayEvery.js +1 -2
  601. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  602. package/dist/node_modules/lodash/_arrayFilter.js +1 -2
  603. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  604. package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
  605. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  606. package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
  607. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  608. package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
  609. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  610. package/dist/node_modules/lodash/_arrayMap.js +1 -2
  611. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  612. package/dist/node_modules/lodash/_arrayPush.js +1 -2
  613. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  614. package/dist/node_modules/lodash/_arraySome.js +1 -2
  615. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  616. package/dist/node_modules/lodash/_asciiToArray.js +1 -2
  617. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  618. package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
  619. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  620. package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
  621. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  622. package/dist/node_modules/lodash/_baseEach.js +1 -2
  623. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  624. package/dist/node_modules/lodash/_baseEvery.js +1 -2
  625. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  626. package/dist/node_modules/lodash/_baseExtremum.js +1 -2
  627. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  628. package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
  629. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  630. package/dist/node_modules/lodash/_baseFlatten.js +1 -2
  631. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  632. package/dist/node_modules/lodash/_baseFor.js +1 -2
  633. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  634. package/dist/node_modules/lodash/_baseForOwn.js +4 -5
  635. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  636. package/dist/node_modules/lodash/_baseGet.js +1 -2
  637. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  638. package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
  639. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  640. package/dist/node_modules/lodash/_baseGetTag.js +1 -2
  641. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  642. package/dist/node_modules/lodash/_baseGt.js +1 -2
  643. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  644. package/dist/node_modules/lodash/_baseHasIn.js +1 -2
  645. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  646. package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
  647. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  648. package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
  649. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  650. package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
  651. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  652. package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
  653. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  654. package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
  655. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  656. package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
  657. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  658. package/dist/node_modules/lodash/_baseIsNative.js +5 -6
  659. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  660. package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
  661. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  662. package/dist/node_modules/lodash/_baseIteratee.js +6 -7
  663. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  664. package/dist/node_modules/lodash/_baseKeys.js +1 -2
  665. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  666. package/dist/node_modules/lodash/_baseLt.js +1 -2
  667. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  668. package/dist/node_modules/lodash/_baseMap.js +4 -5
  669. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  670. package/dist/node_modules/lodash/_baseMatches.js +1 -2
  671. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  672. package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
  673. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  674. package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
  675. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  676. package/dist/node_modules/lodash/_baseProperty.js +1 -2
  677. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  678. package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
  679. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  680. package/dist/node_modules/lodash/_baseRange.js +1 -2
  681. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  682. package/dist/node_modules/lodash/_baseRest.js +1 -2
  683. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  684. package/dist/node_modules/lodash/_baseSetToString.js +5 -6
  685. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  686. package/dist/node_modules/lodash/_baseSlice.js +1 -2
  687. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  688. package/dist/node_modules/lodash/_baseSome.js +1 -2
  689. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  690. package/dist/node_modules/lodash/_baseSortBy.js +1 -2
  691. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  692. package/dist/node_modules/lodash/_baseTimes.js +1 -2
  693. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  694. package/dist/node_modules/lodash/_baseToString.js +6 -7
  695. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  696. package/dist/node_modules/lodash/_baseTrim.js +1 -2
  697. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  698. package/dist/node_modules/lodash/_baseUnary.js +1 -2
  699. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  700. package/dist/node_modules/lodash/_baseUniq.js +7 -8
  701. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  702. package/dist/node_modules/lodash/_cacheHas.js +1 -2
  703. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  704. package/dist/node_modules/lodash/_castPath.js +1 -2
  705. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  706. package/dist/node_modules/lodash/_castSlice.js +1 -2
  707. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  708. package/dist/node_modules/lodash/_compareAscending.js +1 -2
  709. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  710. package/dist/node_modules/lodash/_compareMultiple.js +1 -2
  711. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  712. package/dist/node_modules/lodash/_coreJsData.js +1 -2
  713. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  714. package/dist/node_modules/lodash/_createBaseEach.js +1 -2
  715. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  716. package/dist/node_modules/lodash/_createBaseFor.js +1 -2
  717. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  718. package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
  719. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  720. package/dist/node_modules/lodash/_createFind.js +5 -6
  721. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  722. package/dist/node_modules/lodash/_createRange.js +4 -5
  723. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  724. package/dist/node_modules/lodash/_createSet.js +6 -7
  725. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  726. package/dist/node_modules/lodash/_defineProperty.js +1 -2
  727. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  728. package/dist/node_modules/lodash/_equalArrays.js +1 -2
  729. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  730. package/dist/node_modules/lodash/_equalByTag.js +5 -6
  731. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  732. package/dist/node_modules/lodash/_equalObjects.js +1 -2
  733. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  734. package/dist/node_modules/lodash/_freeGlobal.js +1 -2
  735. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  736. package/dist/node_modules/lodash/_getAllKeys.js +1 -2
  737. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  738. package/dist/node_modules/lodash/_getMapData.js +1 -2
  739. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  740. package/dist/node_modules/lodash/_getMatchData.js +4 -5
  741. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  742. package/dist/node_modules/lodash/_getNative.js +1 -2
  743. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  744. package/dist/node_modules/lodash/_getPrototype.js +1 -2
  745. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  746. package/dist/node_modules/lodash/_getRawTag.js +1 -2
  747. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  748. package/dist/node_modules/lodash/_getSymbols.js +1 -2
  749. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  750. package/dist/node_modules/lodash/_getTag.js +9 -10
  751. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  752. package/dist/node_modules/lodash/_getValue.js +1 -2
  753. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  754. package/dist/node_modules/lodash/_hasPath.js +8 -9
  755. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  756. package/dist/node_modules/lodash/_hasUnicode.js +1 -2
  757. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  758. package/dist/node_modules/lodash/_hashClear.js +1 -2
  759. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  760. package/dist/node_modules/lodash/_hashDelete.js +1 -2
  761. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  762. package/dist/node_modules/lodash/_hashGet.js +1 -2
  763. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  764. package/dist/node_modules/lodash/_hashHas.js +1 -2
  765. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  766. package/dist/node_modules/lodash/_hashSet.js +1 -2
  767. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  768. package/dist/node_modules/lodash/_isFlattenable.js +5 -6
  769. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  770. package/dist/node_modules/lodash/_isIndex.js +6 -7
  771. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  772. package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
  773. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  774. package/dist/node_modules/lodash/_isKey.js +1 -2
  775. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  776. package/dist/node_modules/lodash/_isKeyable.js +1 -2
  777. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  778. package/dist/node_modules/lodash/_isMasked.js +1 -2
  779. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  780. package/dist/node_modules/lodash/_isPrototype.js +1 -2
  781. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  782. package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
  783. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  784. package/dist/node_modules/lodash/_listCacheClear.js +1 -2
  785. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  786. package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
  787. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  788. package/dist/node_modules/lodash/_listCacheGet.js +1 -2
  789. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  790. package/dist/node_modules/lodash/_listCacheHas.js +1 -2
  791. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  792. package/dist/node_modules/lodash/_listCacheSet.js +1 -2
  793. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  794. package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
  795. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  796. package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
  797. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  798. package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
  799. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  800. package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
  801. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  802. package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
  803. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  804. package/dist/node_modules/lodash/_mapToArray.js +1 -2
  805. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  806. package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
  807. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  808. package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
  809. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  810. package/dist/node_modules/lodash/_nativeCreate.js +1 -2
  811. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  812. package/dist/node_modules/lodash/_nativeKeys.js +1 -2
  813. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  814. package/dist/node_modules/lodash/_nodeUtil.js +1 -2
  815. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  816. package/dist/node_modules/lodash/_objectToString.js +1 -2
  817. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  818. package/dist/node_modules/lodash/_overArg.js +1 -2
  819. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  820. package/dist/node_modules/lodash/_overRest.js +1 -2
  821. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  822. package/dist/node_modules/lodash/_root.js +1 -2
  823. package/dist/node_modules/lodash/_root.js.map +1 -1
  824. package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
  825. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  826. package/dist/node_modules/lodash/_setCacheHas.js +1 -2
  827. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  828. package/dist/node_modules/lodash/_setToArray.js +1 -2
  829. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  830. package/dist/node_modules/lodash/_setToString.js +1 -2
  831. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  832. package/dist/node_modules/lodash/_shortOut.js +8 -9
  833. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  834. package/dist/node_modules/lodash/_stackClear.js +1 -2
  835. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  836. package/dist/node_modules/lodash/_stackDelete.js +1 -2
  837. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  838. package/dist/node_modules/lodash/_stackGet.js +1 -2
  839. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  840. package/dist/node_modules/lodash/_stackHas.js +1 -2
  841. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  842. package/dist/node_modules/lodash/_stackSet.js +1 -2
  843. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  844. package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
  845. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  846. package/dist/node_modules/lodash/_stringToArray.js +4 -5
  847. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  848. package/dist/node_modules/lodash/_stringToPath.js +1 -2
  849. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  850. package/dist/node_modules/lodash/_toKey.js +2 -3
  851. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  852. package/dist/node_modules/lodash/_toSource.js +1 -2
  853. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  854. package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
  855. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  856. package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
  857. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  858. package/dist/node_modules/lodash/constant.js +1 -2
  859. package/dist/node_modules/lodash/constant.js.map +1 -1
  860. package/dist/node_modules/lodash/debounce.js +1 -2
  861. package/dist/node_modules/lodash/debounce.js.map +1 -1
  862. package/dist/node_modules/lodash/eq.js +1 -2
  863. package/dist/node_modules/lodash/eq.js.map +1 -1
  864. package/dist/node_modules/lodash/every.js +7 -8
  865. package/dist/node_modules/lodash/every.js.map +1 -1
  866. package/dist/node_modules/lodash/find.js +1 -2
  867. package/dist/node_modules/lodash/find.js.map +1 -1
  868. package/dist/node_modules/lodash/findIndex.js +4 -5
  869. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  870. package/dist/node_modules/lodash/flatMap.js +1 -2
  871. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  872. package/dist/node_modules/lodash/get.js +1 -2
  873. package/dist/node_modules/lodash/get.js.map +1 -1
  874. package/dist/node_modules/lodash/hasIn.js +1 -2
  875. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  876. package/dist/node_modules/lodash/identity.js +1 -2
  877. package/dist/node_modules/lodash/identity.js.map +1 -1
  878. package/dist/node_modules/lodash/isArguments.js +4 -5
  879. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  880. package/dist/node_modules/lodash/isArray.js +1 -2
  881. package/dist/node_modules/lodash/isArray.js.map +1 -1
  882. package/dist/node_modules/lodash/isArrayLike.js +1 -2
  883. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  884. package/dist/node_modules/lodash/isBoolean.js +1 -2
  885. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  886. package/dist/node_modules/lodash/isBuffer.js +1 -2
  887. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  888. package/dist/node_modules/lodash/isEqual.js +1 -2
  889. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  890. package/dist/node_modules/lodash/isFunction.js +1 -2
  891. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  892. package/dist/node_modules/lodash/isLength.js +4 -6
  893. package/dist/node_modules/lodash/isLength.js.map +1 -1
  894. package/dist/node_modules/lodash/isNaN.js +1 -2
  895. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  896. package/dist/node_modules/lodash/isNil.js +1 -2
  897. package/dist/node_modules/lodash/isNil.js.map +1 -1
  898. package/dist/node_modules/lodash/isNumber.js +1 -2
  899. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  900. package/dist/node_modules/lodash/isObject.js +1 -2
  901. package/dist/node_modules/lodash/isObject.js.map +1 -1
  902. package/dist/node_modules/lodash/isObjectLike.js +1 -2
  903. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  904. package/dist/node_modules/lodash/isPlainObject.js +4 -5
  905. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  906. package/dist/node_modules/lodash/isString.js +4 -5
  907. package/dist/node_modules/lodash/isString.js.map +1 -1
  908. package/dist/node_modules/lodash/isSymbol.js +1 -2
  909. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  910. package/dist/node_modules/lodash/isTypedArray.js +1 -2
  911. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  912. package/dist/node_modules/lodash/keys.js +1 -2
  913. package/dist/node_modules/lodash/keys.js.map +1 -1
  914. package/dist/node_modules/lodash/last.js +1 -2
  915. package/dist/node_modules/lodash/last.js.map +1 -1
  916. package/dist/node_modules/lodash/map.js +6 -7
  917. package/dist/node_modules/lodash/map.js.map +1 -1
  918. package/dist/node_modules/lodash/mapValues.js +4 -5
  919. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  920. package/dist/node_modules/lodash/max.js +5 -6
  921. package/dist/node_modules/lodash/max.js.map +1 -1
  922. package/dist/node_modules/lodash/maxBy.js +5 -6
  923. package/dist/node_modules/lodash/maxBy.js.map +1 -1
  924. package/dist/node_modules/lodash/memoize.js +1 -2
  925. package/dist/node_modules/lodash/memoize.js.map +1 -1
  926. package/dist/node_modules/lodash/min.js +5 -6
  927. package/dist/node_modules/lodash/min.js.map +1 -1
  928. package/dist/node_modules/lodash/minBy.js +4 -5
  929. package/dist/node_modules/lodash/minBy.js.map +1 -1
  930. package/dist/node_modules/lodash/noop.js +1 -2
  931. package/dist/node_modules/lodash/noop.js.map +1 -1
  932. package/dist/node_modules/lodash/now.js +1 -2
  933. package/dist/node_modules/lodash/now.js.map +1 -1
  934. package/dist/node_modules/lodash/property.js +6 -7
  935. package/dist/node_modules/lodash/property.js.map +1 -1
  936. package/dist/node_modules/lodash/range.js +1 -2
  937. package/dist/node_modules/lodash/range.js.map +1 -1
  938. package/dist/node_modules/lodash/some.js +7 -8
  939. package/dist/node_modules/lodash/some.js.map +1 -1
  940. package/dist/node_modules/lodash/sortBy.js +1 -2
  941. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  942. package/dist/node_modules/lodash/stubArray.js +1 -2
  943. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  944. package/dist/node_modules/lodash/stubFalse.js +1 -2
  945. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  946. package/dist/node_modules/lodash/throttle.js +4 -5
  947. package/dist/node_modules/lodash/throttle.js.map +1 -1
  948. package/dist/node_modules/lodash/toFinite.js +2 -3
  949. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  950. package/dist/node_modules/lodash/toInteger.js +1 -2
  951. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  952. package/dist/node_modules/lodash/toNumber.js +4 -5
  953. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  954. package/dist/node_modules/lodash/toString.js +1 -2
  955. package/dist/node_modules/lodash/toString.js.map +1 -1
  956. package/dist/node_modules/lodash/uniqBy.js +1 -2
  957. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  958. package/dist/node_modules/lodash/upperFirst.js +1 -2
  959. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  960. package/dist/node_modules/object-assign/index.js +1 -2
  961. package/dist/node_modules/object-assign/index.js.map +1 -1
  962. package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
  963. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  964. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
  965. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  966. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  967. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  968. package/dist/node_modules/prop-types/index.js +1 -2
  969. package/dist/node_modules/prop-types/index.js.map +1 -1
  970. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
  971. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  972. package/dist/node_modules/prop-types/lib/has.js +1 -2
  973. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  974. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
  975. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  976. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  977. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  978. package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
  979. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  980. package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
  981. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  982. package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  983. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  984. package/dist/node_modules/react-is/index.js +2 -3
  985. package/dist/node_modules/react-is/index.js.map +1 -1
  986. package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
  987. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  988. package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
  989. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  990. package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
  991. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  992. package/dist/node_modules/react-smooth/es6/easing.js +1 -2
  993. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  994. package/dist/node_modules/react-smooth/es6/index.js +1 -2
  995. package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
  996. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
  997. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  998. package/dist/node_modules/react-smooth/es6/util.js +17 -16
  999. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  1000. package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
  1001. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
  1002. package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
  1003. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  1004. package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
  1005. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  1006. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
  1007. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  1008. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
  1009. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  1010. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
  1011. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  1012. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
  1013. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  1014. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
  1015. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  1016. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
  1017. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  1018. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
  1019. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  1020. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
  1021. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  1022. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
  1023. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  1024. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
  1025. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  1026. package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
  1027. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
  1028. package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
  1029. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  1030. package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
  1031. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -1
  1032. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
  1033. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  1034. package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
  1035. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  1036. package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
  1037. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  1038. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
  1039. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  1040. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
  1041. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  1042. package/dist/node_modules/recharts/es6/component/Label.js +85 -86
  1043. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  1044. package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
  1045. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  1046. package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
  1047. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  1048. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
  1049. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  1050. package/dist/node_modules/recharts/es6/component/Text.js +18 -21
  1051. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  1052. package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
  1053. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  1054. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
  1055. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  1056. package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
  1057. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  1058. package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
  1059. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  1060. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +7 -8
  1061. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  1062. package/dist/node_modules/recharts/es6/polar/Pie.js +103 -107
  1063. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -1
  1064. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +30 -31
  1065. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -1
  1066. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +38 -41
  1067. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -1
  1068. package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
  1069. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  1070. package/dist/node_modules/recharts/es6/shape/Curve.js +51 -52
  1071. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  1072. package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
  1073. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  1074. package/dist/node_modules/recharts/es6/shape/Polygon.js +7 -8
  1075. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -1
  1076. package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
  1077. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  1078. package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
  1079. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  1080. package/dist/node_modules/recharts/es6/shape/Symbols.js +33 -34
  1081. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  1082. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
  1083. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  1084. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
  1085. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  1086. package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
  1087. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  1088. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
  1089. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  1090. package/dist/node_modules/recharts/es6/util/ChartUtils.js +236 -235
  1091. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  1092. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
  1093. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  1094. package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
  1095. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  1096. package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
  1097. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  1098. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
  1099. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  1100. package/dist/node_modules/recharts/es6/util/Events.js +0 -1
  1101. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  1102. package/dist/node_modules/recharts/es6/util/Global.js +0 -1
  1103. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  1104. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
  1105. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  1106. package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
  1107. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  1108. package/dist/node_modules/recharts/es6/util/PolarUtils.js +6 -7
  1109. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  1110. package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
  1111. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  1112. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
  1113. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  1114. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
  1115. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  1116. package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
  1117. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  1118. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
  1119. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  1120. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
  1121. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  1122. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
  1123. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  1124. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
  1125. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  1126. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
  1127. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  1128. package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
  1129. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  1130. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
  1131. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  1132. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
  1133. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  1134. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
  1135. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  1136. package/dist/node_modules/recharts/es6/util/types.js +2 -3
  1137. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  1138. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
  1139. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  1140. package/dist/node_modules/recharts-scale/es6/index.js +1 -1
  1141. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
  1142. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  1143. package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
  1144. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  1145. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
  1146. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
  1147. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js +1 -2
  1148. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js.map +1 -1
  1149. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +13 -14
  1150. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
  1151. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +20 -17
  1152. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
  1153. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
  1154. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
  1155. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +3 -4
  1156. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js.map +1 -1
  1157. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js +12 -13
  1158. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js.map +1 -1
  1159. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js +1 -2
  1160. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js.map +1 -1
  1161. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js +1 -2
  1162. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js.map +1 -1
  1163. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js +1 -2
  1164. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js.map +1 -1
  1165. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js +17 -18
  1166. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js.map +1 -1
  1167. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js +12 -14
  1168. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js.map +1 -1
  1169. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js +1 -2
  1170. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js.map +1 -1
  1171. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js +1 -2
  1172. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js.map +1 -1
  1173. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js +1 -2
  1174. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js.map +1 -1
  1175. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js +1 -2
  1176. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js.map +1 -1
  1177. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +1 -2
  1178. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
  1179. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js +2 -3
  1180. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js.map +1 -1
  1181. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
  1182. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
  1183. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
  1184. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
  1185. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
  1186. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
  1187. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +3 -6
  1188. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
  1189. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js +1 -2
  1190. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js.map +1 -1
  1191. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
  1192. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
  1193. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js +2 -3
  1194. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js.map +1 -1
  1195. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
  1196. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
  1197. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
  1198. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
  1199. package/dist/node_modules/sonner/dist/index.js +75 -69
  1200. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  1201. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
  1202. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  1203. package/dist/node_modules/tslib/tslib.es6.js +1 -2
  1204. package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
  1205. package/dist/node_modules/victory-vendor/es/d3-scale.js +2 -3
  1206. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
  1207. package/dist/services/createSandboxAssistantTransport.js +1 -2
  1208. package/dist/services/createSandboxAssistantTransport.js.map +1 -1
  1209. package/dist/shared/hooks/useTr.js +1 -2
  1210. package/dist/shared/hooks/useTr.js.map +1 -1
  1211. package/dist/utils/pageContext.js +3 -4
  1212. package/dist/utils/pageContext.js.map +1 -1
  1213. package/package.json +29 -16
@@ -1,13 +1,13 @@
1
- import { useEventfullyManaged as e } from "../../context/EventfullyManagedContext.js";
2
- import { notify as t } from "../../lib/toast.js";
3
- import { useAttendeesQuery as n, useCreateMeetingMutation as r, useEventsQuery as i, useMeetingsQuery as a, useNetworkingProfilesQuery as o, useUpdateMeetingMutation as s } from "../../api/eventApi.js";
4
- import { EntityFormShell as c } from "../../components/EntityFormShell.js";
5
- import { describeError as l, mutationSucceeded as u } from "../../lib/mutationResult.js";
1
+ import { useAttendeesQuery as e, useCreateMeetingMutation as t, useEventsQuery as n, useMeetingsQuery as r, useNetworkingProfilesQuery as i, useUpdateMeetingMutation as a } from "../../api/eventApi.js";
2
+ import { EntityFormShell as o } from "../../components/EntityFormShell.js";
3
+ import { useEventfullyManaged as s } from "../../context/EventfullyManagedContext.js";
4
+ import { describeError as c, mutationSucceeded as l } from "../../lib/mutationResult.js";
5
+ import { notify as u } from "../../lib/toast.js";
6
6
  import { useEffect as d, useMemo as f, useState as p } from "react";
7
7
  import { useParams as m } from "react-router";
8
8
  import { jsx as h, jsxs as g } from "react/jsx-runtime";
9
9
  import { Input as _, Select as v, SelectContent as y, SelectItem as b, SelectTrigger as x, SelectValue as S, Textarea as C } from "@burdenoff/fe-libs/ui";
10
- //#region src/eventfullymanaged/pages/networking/MeetingFormPage.tsx
10
+ // src/eventfullymanaged/pages/networking/MeetingFormPage.tsx
11
11
  var w = {
12
12
  eventId: "",
13
13
  title: "",
@@ -56,17 +56,17 @@ function O(e, t) {
56
56
  return typeof n == "string" ? n : "";
57
57
  }
58
58
  function k() {
59
- let { id: k = "" } = m(), A = f(() => !!k, [k]), { navigate: j } = e(), { data: M } = i({
59
+ let { id: k = "" } = m(), A = f(() => !!k, [k]), { navigate: j } = s(), { data: M } = n({
60
60
  limit: 100,
61
61
  offset: 0
62
- }), { data: N } = a({
62
+ }), { data: N } = r({
63
63
  limit: 100,
64
64
  offset: 0
65
- }), P = f(() => (N?.meetings?.items ?? []).find((e) => e.id === k), [N, k]), [F, { loading: I }] = r(), [L, { loading: R }] = s(), [z, B] = p(w), { data: V } = o({
65
+ }), P = f(() => (N?.meetings?.items ?? []).find((e) => e.id === k), [N, k]), [F, { loading: I }] = t(), [L, { loading: R }] = a(), [z, B] = p(w), { data: V } = i({
66
66
  eventId: z.eventId || void 0,
67
67
  limit: 100,
68
68
  offset: 0
69
- }), { data: H } = n({
69
+ }), { data: H } = e({
70
70
  eventId: z.eventId || void 0,
71
71
  limit: 100,
72
72
  offset: 0
@@ -103,57 +103,57 @@ function k() {
103
103
  }));
104
104
  }, K = async (e) => {
105
105
  if (e.preventDefault(), !z.eventId) {
106
- t.error("Event required", "Choose the event this meeting belongs to.");
106
+ u.error("Event required", "Choose the event this meeting belongs to.");
107
107
  return;
108
108
  }
109
- let n = D(z.startsAt), r = D(z.endsAt);
110
- if (!n || !r) {
111
- t.error("Time required", "Set both a start and end time for the meeting.");
109
+ let t = D(z.startsAt), n = D(z.endsAt);
110
+ if (!t || !n) {
111
+ u.error("Time required", "Set both a start and end time for the meeting.");
112
112
  return;
113
113
  }
114
- if (new Date(r).getTime() <= new Date(n).getTime()) {
115
- t.error("Invalid time range", "The meeting must end after it starts.");
114
+ if (new Date(n).getTime() <= new Date(t).getTime()) {
115
+ u.error("Invalid time range", "The meeting must end after it starts.");
116
116
  return;
117
117
  }
118
- let i = {
119
- startsAt: n,
120
- endsAt: r,
118
+ let r = {
119
+ startsAt: t,
120
+ endsAt: n,
121
121
  location: z.location,
122
122
  notes: z.notes,
123
123
  title: z.title,
124
124
  sourceProfileId: z.sourceProfileId,
125
125
  targetProfileId: z.targetProfileId
126
126
  };
127
- z.bookingPageId.trim() && (i.bookingPageId = z.bookingPageId.trim()), z.bookerName.trim() && (i.bookerName = z.bookerName.trim()), z.bookerEmail.trim() && (i.bookerEmail = z.bookerEmail.trim());
128
- let a = {
127
+ z.bookingPageId.trim() && (r.bookingPageId = z.bookingPageId.trim()), z.bookerName.trim() && (r.bookerName = z.bookerName.trim()), z.bookerEmail.trim() && (r.bookerEmail = z.bookerEmail.trim());
128
+ let i = {
129
129
  eventId: z.eventId,
130
130
  title: z.title,
131
- startsAt: n,
132
- endsAt: r,
131
+ startsAt: t,
132
+ endsAt: n,
133
133
  location: z.location,
134
134
  notes: z.notes,
135
135
  status: z.status,
136
- metadata: i
136
+ metadata: r
137
137
  };
138
- z.sourceProfileId && (a.sourceProfileId = z.sourceProfileId), z.targetProfileId && (a.targetProfileId = z.targetProfileId), z.bookingPageId.trim() && (a.bookingPageId = z.bookingPageId.trim());
138
+ z.sourceProfileId && (i.sourceProfileId = z.sourceProfileId), z.targetProfileId && (i.targetProfileId = z.targetProfileId), z.bookingPageId.trim() && (i.bookingPageId = z.bookingPageId.trim());
139
139
  try {
140
140
  if (A) {
141
141
  let e = await L({ variables: {
142
142
  id: k,
143
- input: a
143
+ input: i
144
144
  } });
145
- if (!u(e, e.data?.updateMeeting?.id, "Could not update meeting")) return;
145
+ if (!l(e, e.data?.updateMeeting?.id, "Could not update meeting")) return;
146
146
  j("/networking");
147
147
  return;
148
148
  }
149
- let e = await F({ variables: { input: a } });
150
- if (!u(e, e.data?.createMeeting?.id, "Could not book meeting")) return;
149
+ let e = await F({ variables: { input: i } });
150
+ if (!l(e, e.data?.createMeeting?.id, "Could not book meeting")) return;
151
151
  j("/networking");
152
152
  } catch (e) {
153
- t.error("Could not save meeting", l(e));
153
+ u.error("Could not save meeting", c(e));
154
154
  }
155
155
  }, q = I || R, J = M?.events?.items ?? [];
156
- return /* @__PURE__ */ g(c, {
156
+ return /* @__PURE__ */ g(o, {
157
157
  title: A ? "Edit Meeting" : "Book a Meeting",
158
158
  description: "Schedule a 1:1 between two networking profiles.",
159
159
  purpose: "Meetings are the 1:1s attendees book with each other. Pick the two participants, set a time and place, and — if you use a shared booking page — link it so the meeting mirrors into the calendar service. Everyone sees the same schedule without a separate calendar here.",
@@ -337,7 +337,6 @@ function k() {
337
337
  ]
338
338
  });
339
339
  }
340
- //#endregion
341
340
  export { k as default };
342
341
 
343
342
  //# sourceMappingURL=MeetingFormPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MeetingFormPage.js","names":[],"sources":["../../../../src/eventfullymanaged/pages/networking/MeetingFormPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect */\nimport { Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea } from '@burdenoff/fe-libs/ui';\nimport { useEffect, useMemo, useState } from 'react';\nimport { useParams } from 'react-router';\n\nimport {\n useAttendeesQuery,\n useCreateMeetingMutation,\n useEventsQuery,\n useMeetingsQuery,\n useNetworkingProfilesQuery,\n useUpdateMeetingMutation,\n} from '../../api/eventApi';\nimport { EntityFormShell } from '../../components/EntityFormShell';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\ntype MeetingFormState = {\n eventId: string;\n title: string;\n sourceProfileId: string;\n targetProfileId: string;\n startsAt: string;\n endsAt: string;\n location: string;\n bookingPageId: string;\n bookerName: string;\n bookerEmail: string;\n notes: string;\n status: string;\n};\n\nconst initialState: MeetingFormState = {\n eventId: '',\n title: '',\n sourceProfileId: '',\n targetProfileId: '',\n startsAt: '',\n endsAt: '',\n location: '',\n bookingPageId: '',\n bookerName: '',\n bookerEmail: '',\n notes: '',\n status: 'SCHEDULED',\n};\n\nconst STATUS_OPTIONS = [\n { value: 'SCHEDULED', label: 'Scheduled' },\n { value: 'CONFIRMED', label: 'Confirmed' },\n { value: 'COMPLETED', label: 'Completed' },\n { value: 'CANCELLED', label: 'Cancelled' },\n];\n\n/** Convert an ISO timestamp to the local `datetime-local` input format. */\nfunction isoToLocalInput(iso: string | undefined): string {\n if (!iso) {\n return '';\n }\n const date = new Date(iso);\n if (Number.isNaN(date.getTime())) {\n return '';\n }\n const offsetMs = date.getTimezoneOffset() * 60 * 1000;\n return new Date(date.getTime() - offsetMs).toISOString().slice(0, 16);\n}\n\n/** Convert a `datetime-local` value to an ISO timestamp for the DateTime scalar. */\nfunction localInputToIso(value: string): string | null {\n if (!value) {\n return null;\n }\n const date = new Date(value);\n return Number.isNaN(date.getTime()) ? null : date.toISOString();\n}\n\nfunction readString(metadata: Record<string, unknown> | null | undefined, key: string): string {\n const value = metadata?.[key];\n return typeof value === 'string' ? value : '';\n}\n\nexport default function MeetingFormPage() {\n const { id = '' } = useParams<{ id: string }>();\n const isEdit = useMemo(() => Boolean(id), [id]);\n const { navigate } = useEventfullyManaged();\n\n const { data: eventsData } = useEventsQuery({ limit: 100, offset: 0 });\n // The meetings list resolver returns title/status/metadata only (no by-id\n // resolver), so create/update mirror scheduling detail into metadata and the\n // edit initial-state is rehydrated from there.\n const { data: meetingsData } = useMeetingsQuery({ limit: 100, offset: 0 });\n\n const existing = useMemo(\n () => (meetingsData?.meetings?.items ?? []).find((item) => item.id === id),\n [meetingsData, id]\n );\n\n const [createMeeting, { loading: creating }] = useCreateMeetingMutation();\n const [updateMeeting, { loading: updating }] = useUpdateMeetingMutation();\n const [form, setForm] = useState<MeetingFormState>(initialState);\n\n const { data: profilesData } = useNetworkingProfilesQuery({\n eventId: form.eventId || undefined,\n limit: 100,\n offset: 0,\n });\n const { data: attendeesData } = useAttendeesQuery({\n eventId: form.eventId || undefined,\n limit: 100,\n offset: 0,\n });\n\n const attendeeNames = useMemo(() => {\n const map = new Map<string, string>();\n for (const attendee of attendeesData?.attendees?.items ?? []) {\n map.set(attendee.id, attendee.fullName);\n }\n return map;\n }, [attendeesData]);\n\n const profiles = useMemo(\n () =>\n (profilesData?.networkingProfiles?.items ?? []).map((profile) => ({\n id: profile.id,\n label: attendeeNames.get(profile.attendeeId) ?? profile.role ?? `Profile ${profile.id.slice(0, 8)}`,\n })),\n [profilesData, attendeeNames]\n );\n\n useEffect(() => {\n if (!isEdit || !existing) {\n return;\n }\n const metadata = existing.metadata ?? {};\n setForm({\n eventId: existing.eventId ?? readString(metadata, 'eventId'),\n title: existing.title ?? existing.name ?? readString(metadata, 'title'),\n sourceProfileId: readString(metadata, 'sourceProfileId'),\n targetProfileId: readString(metadata, 'targetProfileId'),\n startsAt: isoToLocalInput(readString(metadata, 'startsAt')),\n endsAt: isoToLocalInput(readString(metadata, 'endsAt')),\n location: readString(metadata, 'location'),\n bookingPageId: readString(metadata, 'bookingPageId'),\n bookerName: readString(metadata, 'bookerName'),\n bookerEmail: readString(metadata, 'bookerEmail'),\n notes: readString(metadata, 'notes'),\n status: existing.status ?? 'SCHEDULED',\n });\n }, [existing, isEdit]);\n\n const onChange = (field: keyof MeetingFormState, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const onSubmit = async (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n\n if (!form.eventId) {\n notify.error('Event required', 'Choose the event this meeting belongs to.');\n return;\n }\n const startsAtIso = localInputToIso(form.startsAt);\n const endsAtIso = localInputToIso(form.endsAt);\n if (!startsAtIso || !endsAtIso) {\n notify.error('Time required', 'Set both a start and end time for the meeting.');\n return;\n }\n if (new Date(endsAtIso).getTime() <= new Date(startsAtIso).getTime()) {\n notify.error('Invalid time range', 'The meeting must end after it starts.');\n return;\n }\n\n // Mirror scheduling detail into metadata so the calendar-svc integration and\n // the edit form (list resolver returns metadata only) both round-trip.\n const metadata: Record<string, unknown> = {\n startsAt: startsAtIso,\n endsAt: endsAtIso,\n location: form.location,\n notes: form.notes,\n title: form.title,\n sourceProfileId: form.sourceProfileId,\n targetProfileId: form.targetProfileId,\n };\n if (form.bookingPageId.trim()) {\n metadata.bookingPageId = form.bookingPageId.trim();\n }\n if (form.bookerName.trim()) {\n metadata.bookerName = form.bookerName.trim();\n }\n if (form.bookerEmail.trim()) {\n metadata.bookerEmail = form.bookerEmail.trim();\n }\n\n const input: Record<string, unknown> = {\n eventId: form.eventId,\n title: form.title,\n startsAt: startsAtIso,\n endsAt: endsAtIso,\n location: form.location,\n notes: form.notes,\n status: form.status,\n metadata,\n };\n if (form.sourceProfileId) {\n input.sourceProfileId = form.sourceProfileId;\n }\n if (form.targetProfileId) {\n input.targetProfileId = form.targetProfileId;\n }\n // Passing a booking-page id lets the backend mirror the meeting into\n // wspace-calendar-svc rather than the MFE managing a local calendar.\n if (form.bookingPageId.trim()) {\n input.bookingPageId = form.bookingPageId.trim();\n }\n\n try {\n if (isEdit) {\n const response = await updateMeeting({ variables: { id, input } });\n if (!mutationSucceeded(response, response.data?.updateMeeting?.id, 'Could not update meeting')) {\n return;\n }\n navigate('/networking');\n return;\n }\n\n const response = await createMeeting({ variables: { input } });\n if (!mutationSucceeded(response, response.data?.createMeeting?.id, 'Could not book meeting')) {\n return;\n }\n navigate('/networking');\n } catch (error) {\n notify.error('Could not save meeting', describeError(error));\n }\n };\n\n const saving = creating || updating;\n const events = eventsData?.events?.items ?? [];\n\n return (\n <EntityFormShell\n title={isEdit ? 'Edit Meeting' : 'Book a Meeting'}\n description=\"Schedule a 1:1 between two networking profiles.\"\n purpose=\"Meetings are the 1:1s attendees book with each other. Pick the two participants, set a time and place, and — if you use a shared booking page — link it so the meeting mirrors into the calendar service. Everyone sees the same schedule without a separate calendar here.\"\n backLabel=\"Back to Networking\"\n onBack={() => navigate('/networking')}\n onSubmit={onSubmit}\n submitLabel={isEdit ? 'Save Meeting' : 'Book Meeting'}\n saving={saving}\n >\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Event</span>\n <Select value={form.eventId} onValueChange={(value) => onChange('eventId', value)}>\n <SelectTrigger aria-label=\"Event\">\n <SelectValue placeholder=\"Select event\" />\n </SelectTrigger>\n <SelectContent>\n {events.map((eventItem) => (\n <SelectItem key={eventItem.id} value={eventItem.id}>\n {eventItem.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Title</span>\n <Input value={form.title} onChange={(e) => onChange('title', e.target.value)} required />\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Participant A</span>\n <Select\n value={form.sourceProfileId}\n onValueChange={(value) => onChange('sourceProfileId', value)}\n disabled={!form.eventId}\n >\n <SelectTrigger aria-label=\"Participant A\">\n <SelectValue placeholder={form.eventId ? 'Select profile' : 'Select an event first'} />\n </SelectTrigger>\n <SelectContent>\n {profiles.map((profile) => (\n <SelectItem key={profile.id} value={profile.id}>\n {profile.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Participant B</span>\n <Select\n value={form.targetProfileId}\n onValueChange={(value) => onChange('targetProfileId', value)}\n disabled={!form.eventId}\n >\n <SelectTrigger aria-label=\"Participant B\">\n <SelectValue placeholder={form.eventId ? 'Select profile' : 'Select an event first'} />\n </SelectTrigger>\n <SelectContent>\n {profiles.map((profile) => (\n <SelectItem key={profile.id} value={profile.id}>\n {profile.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-3\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Starts at</span>\n <Input type=\"datetime-local\" value={form.startsAt} onChange={(e) => onChange('startsAt', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Ends at</span>\n <Input type=\"datetime-local\" value={form.endsAt} onChange={(e) => onChange('endsAt', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Status</span>\n <Select value={form.status} onValueChange={(value) => onChange('status', value)}>\n <SelectTrigger aria-label=\"Status\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n {STATUS_OPTIONS.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Location</span>\n <Input\n value={form.location}\n onChange={(e) => onChange('location', e.target.value)}\n placeholder=\"Networking lounge, Table 4\"\n />\n </label>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-3\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Booking page ID</span>\n <Input\n value={form.bookingPageId}\n onChange={(e) => onChange('bookingPageId', e.target.value)}\n placeholder=\"Optional — mirrors to calendar\"\n />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Booker name</span>\n <Input value={form.bookerName} onChange={(e) => onChange('bookerName', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Booker email</span>\n <Input type=\"email\" value={form.bookerEmail} onChange={(e) => onChange('bookerEmail', e.target.value)} />\n </label>\n </div>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Notes</span>\n <Textarea value={form.notes} onChange={(e) => onChange('notes', e.target.value)} rows={3} />\n </label>\n </EntityFormShell>\n );\n}\n"],"mappings":";;;;;;;;;;AAiCA,IAAM,IAAiC;CACrC,SAAS;CACT,OAAO;CACP,iBAAiB;CACjB,iBAAiB;CACjB,UAAU;CACV,QAAQ;CACR,UAAU;CACV,eAAe;CACf,YAAY;CACZ,aAAa;CACb,OAAO;CACP,Q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AAM,EAAS,eAAe,EAAE,OAAO,MAAM;OAAI,CAAA,CACnG;;KACJ;;GAEN,kBAAC,SAAD;IAAO,WAAU;cAAjB,CACE,kBAAC,QAAD;KAAM,WAAU;eAAgC;KAAY,CAAA,EAC5D,kBAAC,GAAD;KAAU,OAAO,EAAK;KAAO,WAAW,MAAM,EAAS,SAAS,EAAE,OAAO,MAAM;KAAE,MAAM;KAAK,CAAA,CACtF;;GACQ"}
1
+ {"version":3,"file":"MeetingFormPage.js","names":["initialState","STATUS_OPTIONS","isoToLocalInput","iso","date","offsetMs","localInputToIso","value","readString","metadata","key","MeetingFormPage","useParams","isEdit","useMemo","id","useEventfullyManaged","eventsData","useEventsQuery","meetingsData","useMeetingsQuery","existing","item","createMeeting","creating","useCreateMeetingMutation","updateMeeting","updating","useUpdateMeetingMutation","form","setForm","useState","profilesData","useNetworkingProfilesQuery","attendeesData","useAttendeesQuery","attendeeNames","map","attendee","profiles","profile","onChange","prev","field","onSubmit","event","startsAtIso","endsAtIso","input","response","mutationSucceeded","error","describeError","saving","events","EntityFormShell","navigate","Select","SelectTrigger","SelectValue","SelectContent","SelectItem","eventItem","Input","option","Textarea"],"sources":["../../../../src/eventfullymanaged/pages/networking/MeetingFormPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect */\nimport { Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea } from '@burdenoff/fe-libs/ui';\nimport { useEffect, useMemo, useState } from 'react';\nimport { useParams } from 'react-router';\n\nimport {\n useAttendeesQuery,\n useCreateMeetingMutation,\n useEventsQuery,\n useMeetingsQuery,\n useNetworkingProfilesQuery,\n useUpdateMeetingMutation,\n} from '../../api/eventApi';\nimport { EntityFormShell } from '../../components/EntityFormShell';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\ntype MeetingFormState = {\n eventId: string;\n title: string;\n sourceProfileId: string;\n targetProfileId: string;\n startsAt: string;\n endsAt: string;\n location: string;\n bookingPageId: string;\n bookerName: string;\n bookerEmail: string;\n notes: string;\n status: string;\n};\n\nconst initialState: MeetingFormState = {\n eventId: '',\n title: '',\n sourceProfileId: '',\n targetProfileId: '',\n startsAt: '',\n endsAt: '',\n location: '',\n bookingPageId: '',\n bookerName: '',\n bookerEmail: '',\n notes: '',\n status: 'SCHEDULED',\n};\n\nconst STATUS_OPTIONS = [\n { value: 'SCHEDULED', label: 'Scheduled' },\n { value: 'CONFIRMED', label: 'Confirmed' },\n { value: 'COMPLETED', label: 'Completed' },\n { value: 'CANCELLED', label: 'Cancelled' },\n];\n\n/** Convert an ISO timestamp to the local `datetime-local` input format. */\nfunction isoToLocalInput(iso: string | undefined): string {\n if (!iso) {\n return '';\n }\n const date = new Date(iso);\n if (Number.isNaN(date.getTime())) {\n return '';\n }\n const offsetMs = date.getTimezoneOffset() * 60 * 1000;\n return new Date(date.getTime() - offsetMs).toISOString().slice(0, 16);\n}\n\n/** Convert a `datetime-local` value to an ISO timestamp for the DateTime scalar. */\nfunction localInputToIso(value: string): string | null {\n if (!value) {\n return null;\n }\n const date = new Date(value);\n return Number.isNaN(date.getTime()) ? null : date.toISOString();\n}\n\nfunction readString(metadata: Record<string, unknown> | null | undefined, key: string): string {\n const value = metadata?.[key];\n return typeof value === 'string' ? value : '';\n}\n\nexport default function MeetingFormPage() {\n const { id = '' } = useParams<{ id: string }>();\n const isEdit = useMemo(() => Boolean(id), [id]);\n const { navigate } = useEventfullyManaged();\n\n const { data: eventsData } = useEventsQuery({ limit: 100, offset: 0 });\n // The meetings list resolver returns title/status/metadata only (no by-id\n // resolver), so create/update mirror scheduling detail into metadata and the\n // edit initial-state is rehydrated from there.\n const { data: meetingsData } = useMeetingsQuery({ limit: 100, offset: 0 });\n\n const existing = useMemo(\n () => (meetingsData?.meetings?.items ?? []).find((item) => item.id === id),\n [meetingsData, id]\n );\n\n const [createMeeting, { loading: creating }] = useCreateMeetingMutation();\n const [updateMeeting, { loading: updating }] = useUpdateMeetingMutation();\n const [form, setForm] = useState<MeetingFormState>(initialState);\n\n const { data: profilesData } = useNetworkingProfilesQuery({\n eventId: form.eventId || undefined,\n limit: 100,\n offset: 0,\n });\n const { data: attendeesData } = useAttendeesQuery({\n eventId: form.eventId || undefined,\n limit: 100,\n offset: 0,\n });\n\n const attendeeNames = useMemo(() => {\n const map = new Map<string, string>();\n for (const attendee of attendeesData?.attendees?.items ?? []) {\n map.set(attendee.id, attendee.fullName);\n }\n return map;\n }, [attendeesData]);\n\n const profiles = useMemo(\n () =>\n (profilesData?.networkingProfiles?.items ?? []).map((profile) => ({\n id: profile.id,\n label: attendeeNames.get(profile.attendeeId) ?? profile.role ?? `Profile ${profile.id.slice(0, 8)}`,\n })),\n [profilesData, attendeeNames]\n );\n\n useEffect(() => {\n if (!isEdit || !existing) {\n return;\n }\n const metadata = existing.metadata ?? {};\n setForm({\n eventId: existing.eventId ?? readString(metadata, 'eventId'),\n title: existing.title ?? existing.name ?? readString(metadata, 'title'),\n sourceProfileId: readString(metadata, 'sourceProfileId'),\n targetProfileId: readString(metadata, 'targetProfileId'),\n startsAt: isoToLocalInput(readString(metadata, 'startsAt')),\n endsAt: isoToLocalInput(readString(metadata, 'endsAt')),\n location: readString(metadata, 'location'),\n bookingPageId: readString(metadata, 'bookingPageId'),\n bookerName: readString(metadata, 'bookerName'),\n bookerEmail: readString(metadata, 'bookerEmail'),\n notes: readString(metadata, 'notes'),\n status: existing.status ?? 'SCHEDULED',\n });\n }, [existing, isEdit]);\n\n const onChange = (field: keyof MeetingFormState, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const onSubmit = async (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n\n if (!form.eventId) {\n notify.error('Event required', 'Choose the event this meeting belongs to.');\n return;\n }\n const startsAtIso = localInputToIso(form.startsAt);\n const endsAtIso = localInputToIso(form.endsAt);\n if (!startsAtIso || !endsAtIso) {\n notify.error('Time required', 'Set both a start and end time for the meeting.');\n return;\n }\n if (new Date(endsAtIso).getTime() <= new Date(startsAtIso).getTime()) {\n notify.error('Invalid time range', 'The meeting must end after it starts.');\n return;\n }\n\n // Mirror scheduling detail into metadata so the calendar-svc integration and\n // the edit form (list resolver returns metadata only) both round-trip.\n const metadata: Record<string, unknown> = {\n startsAt: startsAtIso,\n endsAt: endsAtIso,\n location: form.location,\n notes: form.notes,\n title: form.title,\n sourceProfileId: form.sourceProfileId,\n targetProfileId: form.targetProfileId,\n };\n if (form.bookingPageId.trim()) {\n metadata.bookingPageId = form.bookingPageId.trim();\n }\n if (form.bookerName.trim()) {\n metadata.bookerName = form.bookerName.trim();\n }\n if (form.bookerEmail.trim()) {\n metadata.bookerEmail = form.bookerEmail.trim();\n }\n\n const input: Record<string, unknown> = {\n eventId: form.eventId,\n title: form.title,\n startsAt: startsAtIso,\n endsAt: endsAtIso,\n location: form.location,\n notes: form.notes,\n status: form.status,\n metadata,\n };\n if (form.sourceProfileId) {\n input.sourceProfileId = form.sourceProfileId;\n }\n if (form.targetProfileId) {\n input.targetProfileId = form.targetProfileId;\n }\n // Passing a booking-page id lets the backend mirror the meeting into\n // wspace-calendar-svc rather than the MFE managing a local calendar.\n if (form.bookingPageId.trim()) {\n input.bookingPageId = form.bookingPageId.trim();\n }\n\n try {\n if (isEdit) {\n const response = await updateMeeting({ variables: { id, input } });\n if (!mutationSucceeded(response, response.data?.updateMeeting?.id, 'Could not update meeting')) {\n return;\n }\n navigate('/networking');\n return;\n }\n\n const response = await createMeeting({ variables: { input } });\n if (!mutationSucceeded(response, response.data?.createMeeting?.id, 'Could not book meeting')) {\n return;\n }\n navigate('/networking');\n } catch (error) {\n notify.error('Could not save meeting', describeError(error));\n }\n };\n\n const saving = creating || updating;\n const events = eventsData?.events?.items ?? [];\n\n return (\n <EntityFormShell\n title={isEdit ? 'Edit Meeting' : 'Book a Meeting'}\n description=\"Schedule a 1:1 between two networking profiles.\"\n purpose=\"Meetings are the 1:1s attendees book with each other. Pick the two participants, set a time and place, and — if you use a shared booking page — link it so the meeting mirrors into the calendar service. Everyone sees the same schedule without a separate calendar here.\"\n backLabel=\"Back to Networking\"\n onBack={() => navigate('/networking')}\n onSubmit={onSubmit}\n submitLabel={isEdit ? 'Save Meeting' : 'Book Meeting'}\n saving={saving}\n >\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Event</span>\n <Select value={form.eventId} onValueChange={(value) => onChange('eventId', value)}>\n <SelectTrigger aria-label=\"Event\">\n <SelectValue placeholder=\"Select event\" />\n </SelectTrigger>\n <SelectContent>\n {events.map((eventItem) => (\n <SelectItem key={eventItem.id} value={eventItem.id}>\n {eventItem.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Title</span>\n <Input value={form.title} onChange={(e) => onChange('title', e.target.value)} required />\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Participant A</span>\n <Select\n value={form.sourceProfileId}\n onValueChange={(value) => onChange('sourceProfileId', value)}\n disabled={!form.eventId}\n >\n <SelectTrigger aria-label=\"Participant A\">\n <SelectValue placeholder={form.eventId ? 'Select profile' : 'Select an event first'} />\n </SelectTrigger>\n <SelectContent>\n {profiles.map((profile) => (\n <SelectItem key={profile.id} value={profile.id}>\n {profile.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Participant B</span>\n <Select\n value={form.targetProfileId}\n onValueChange={(value) => onChange('targetProfileId', value)}\n disabled={!form.eventId}\n >\n <SelectTrigger aria-label=\"Participant B\">\n <SelectValue placeholder={form.eventId ? 'Select profile' : 'Select an event first'} />\n </SelectTrigger>\n <SelectContent>\n {profiles.map((profile) => (\n <SelectItem key={profile.id} value={profile.id}>\n {profile.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-3\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Starts at</span>\n <Input type=\"datetime-local\" value={form.startsAt} onChange={(e) => onChange('startsAt', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Ends at</span>\n <Input type=\"datetime-local\" value={form.endsAt} onChange={(e) => onChange('endsAt', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Status</span>\n <Select value={form.status} onValueChange={(value) => onChange('status', value)}>\n <SelectTrigger aria-label=\"Status\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n {STATUS_OPTIONS.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Location</span>\n <Input\n value={form.location}\n onChange={(e) => onChange('location', e.target.value)}\n placeholder=\"Networking lounge, Table 4\"\n />\n </label>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-3\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Booking page ID</span>\n <Input\n value={form.bookingPageId}\n onChange={(e) => onChange('bookingPageId', e.target.value)}\n placeholder=\"Optional — mirrors to calendar\"\n />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Booker name</span>\n <Input value={form.bookerName} onChange={(e) => onChange('bookerName', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Booker email</span>\n <Input type=\"email\" value={form.bookerEmail} onChange={(e) => onChange('bookerEmail', e.target.value)} />\n </label>\n </div>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Notes</span>\n <Textarea value={form.notes} onChange={(e) => onChange('notes', e.target.value)} rows={3} />\n </label>\n </EntityFormShell>\n );\n}\n"],"mappings":";;;;;;;;;;AAiCA,IAAMA,IAAiC;CACrC,SAAS;CACT,OAAO;CACP,iBAAiB;CACjB,iBAAiB;CACjB,UAAU;CACV,QAAQ;CACR,UAAU;CACV,eAAe;CACf,YAAY;CACZ,aAAa;CACb,OAAO;CACP,QAAQ;AACV,GAEMC,IAAiB;CACrB;EAAE,OAAO;EAAa,OAAO;CAAY;CACzC;EAAE,OAAO;EAAa,OAAO;CAAY;CACzC;EAAE,OAAO;EAAa,OAAO;CAAY;CACzC;EAAE,OAAO;EAAa,OAAO;CAAY;AAC3C;AAGA,SAASC,EAAgB,GAAiC;CACxD,IAAI,CAACC,GACH,OAAO;CAET,IAAMC,IAAO,IAAI,KAAKD,CAAG;CACzB,IAAI,OAAO,MAAMC,EAAK,QAAQ,CAAC,GAC7B,OAAO;CAET,IAAMC,IAAWD,EAAK,kBAAkB,IAAI,KAAK;CACjD,OAAO,IAAI,KAAKA,EAAK,QAAQ,IAAIC,CAAQ,CAAC,CAAC,YAAY,CAAC,CAAC,MAAM,GAAG,EAAE;AACtE;AAGA,SAASC,EAAgB,GAA8B;CACrD,IAAI,CAACC,GACH,OAAO;CAET,IAAMH,IAAO,IAAI,KAAKG,CAAK;CAC3B,OAAO,OAAO,MAAMH,EAAK,QAAQ,CAAC,IAAI,OAAOA,EAAK,YAAY;AAChE;AAEA,SAASI,EAAW,GAAsD,GAAqB;CAC7F,IAAMD,IAAQE,IAAWC;CACzB,OAAO,OAAOH,KAAU,WAAWA,IAAQ;AAC7C;AAEA,SAAwBI,IAAkB;CACxC,IAAM,EAAE,QAAK,OAAOC,EAA0B,GACxCC,IAASC,QAAc,EAAQC,GAAK,CAACA,CAAE,CAAC,GACxC,EAAE,gBAAaC,EAAqB,GAEpC,EAAE,MAAMC,MAAeC,EAAe;EAAE,OAAO;EA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OAAO,KAAK;KAAG,MAAM;IAAI,CAAA,CACtF;;EACQ;;AAErB"}
@@ -1,2 +1,2 @@
1
- export default function NetworkingProfileFormPage(): import("react/jsx-runtime").JSX.Element;
1
+ export default function NetworkingProfileFormPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=NetworkingProfileFormPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkingProfileFormPage.d.ts","sourceRoot":"","sources":["../../../../src/eventfullymanaged/pages/networking/NetworkingProfileFormPage.tsx"],"names":[],"mappings":"AAoDA,MAAM,CAAC,OAAO,UAAU,yBAAyB,4CAqMhD"}
1
+ {"version":3,"file":"NetworkingProfileFormPage.d.ts","sourceRoot":"","sources":["../../../../src/eventfullymanaged/pages/networking/NetworkingProfileFormPage.tsx"],"names":[],"mappings":"AAoDA,MAAM,CAAC,OAAO,UAAU,yBAAyB,gCAqMhD"}
@@ -1,13 +1,13 @@
1
- import { useEventfullyManaged as e } from "../../context/EventfullyManagedContext.js";
2
- import { notify as t } from "../../lib/toast.js";
3
- import { useAttendeesQuery as n, useCreateNetworkingProfileMutation as r, useEventsQuery as i, useNetworkingProfilesQuery as a, useUpdateNetworkingProfileMutation as o } from "../../api/eventApi.js";
4
- import { EntityFormShell as s } from "../../components/EntityFormShell.js";
5
- import { describeError as c, mutationSucceeded as l } from "../../lib/mutationResult.js";
1
+ import { useAttendeesQuery as e, useCreateNetworkingProfileMutation as t, useEventsQuery as n, useNetworkingProfilesQuery as r, useUpdateNetworkingProfileMutation as i } from "../../api/eventApi.js";
2
+ import { EntityFormShell as a } from "../../components/EntityFormShell.js";
3
+ import { useEventfullyManaged as o } from "../../context/EventfullyManagedContext.js";
4
+ import { describeError as s, mutationSucceeded as c } from "../../lib/mutationResult.js";
5
+ import { notify as l } from "../../lib/toast.js";
6
6
  import { useEffect as u, useMemo as d, useState as f } from "react";
7
7
  import { useParams as p } from "react-router";
8
8
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
9
9
  import { Input as g, Select as _, SelectContent as v, SelectItem as y, SelectTrigger as b, SelectValue as x, Textarea as S } from "@burdenoff/fe-libs/ui";
10
- //#region src/eventfullymanaged/pages/networking/NetworkingProfileFormPage.tsx
10
+ // src/eventfullymanaged/pages/networking/NetworkingProfileFormPage.tsx
11
11
  var C = {
12
12
  eventId: "",
13
13
  attendeeId: "",
@@ -35,13 +35,13 @@ function T(e) {
35
35
  return e.split(",").map((e) => e.trim()).filter(Boolean);
36
36
  }
37
37
  function E() {
38
- let { id: E = "" } = p(), D = d(() => !!E, [E]), { navigate: O } = e(), { data: k } = i({
38
+ let { id: E = "" } = p(), D = d(() => !!E, [E]), { navigate: O } = o(), { data: k } = n({
39
39
  limit: 100,
40
40
  offset: 0
41
- }), { data: A } = a({
41
+ }), { data: A } = r({
42
42
  limit: 100,
43
43
  offset: 0
44
- }), j = d(() => (A?.networkingProfiles?.items ?? []).find((e) => e.id === E), [A, E]), [M, { loading: N }] = r(), [P, { loading: F }] = o(), [I, L] = f(C), { data: R } = n({
44
+ }), j = d(() => (A?.networkingProfiles?.items ?? []).find((e) => e.id === E), [A, E]), [M, { loading: N }] = t(), [P, { loading: F }] = i(), [I, L] = f(C), { data: R } = e({
45
45
  eventId: I.eventId || void 0,
46
46
  limit: 100,
47
47
  offset: 0
@@ -67,14 +67,14 @@ function E() {
67
67
  }));
68
68
  }, V = async (e) => {
69
69
  if (e.preventDefault(), !I.eventId) {
70
- t.error("Event required", "Choose the event this profile is opting into.");
70
+ l.error("Event required", "Choose the event this profile is opting into.");
71
71
  return;
72
72
  }
73
73
  if (!I.attendeeId) {
74
- t.error("Attendee required", "Choose the attendee this profile represents.");
74
+ l.error("Attendee required", "Choose the attendee this profile represents.");
75
75
  return;
76
76
  }
77
- let n = j?.metadata ?? {}, r = {
77
+ let t = j?.metadata ?? {}, n = {
78
78
  eventId: I.eventId,
79
79
  attendeeId: I.attendeeId,
80
80
  interests: T(I.interests),
@@ -83,7 +83,7 @@ function E() {
83
83
  role: I.role,
84
84
  visibility: I.visibility,
85
85
  metadata: {
86
- ...n,
86
+ ...t,
87
87
  availability: I.availability
88
88
  }
89
89
  };
@@ -91,20 +91,20 @@ function E() {
91
91
  if (D) {
92
92
  let e = await P({ variables: {
93
93
  id: E,
94
- input: r
94
+ input: n
95
95
  } });
96
- if (!l(e, e.data?.updateNetworkingProfile?.id, "Could not update profile")) return;
96
+ if (!c(e, e.data?.updateNetworkingProfile?.id, "Could not update profile")) return;
97
97
  O("/networking");
98
98
  return;
99
99
  }
100
- let e = await M({ variables: { input: r } });
101
- if (!l(e, e.data?.createNetworkingProfile?.id, "Could not create profile")) return;
100
+ let e = await M({ variables: { input: n } });
101
+ if (!c(e, e.data?.createNetworkingProfile?.id, "Could not create profile")) return;
102
102
  O("/networking");
103
103
  } catch (e) {
104
- t.error("Could not save profile", c(e));
104
+ l.error("Could not save profile", s(e));
105
105
  }
106
106
  }, H = N || F, U = k?.events?.items ?? [];
107
- return /* @__PURE__ */ h(s, {
107
+ return /* @__PURE__ */ h(a, {
108
108
  title: D ? "Edit Networking Profile" : "Opt in to Networking",
109
109
  description: "Describe an attendee so the matchmaking engine can suggest the right connections.",
110
110
  purpose: "A networking profile is how an attendee tells the matchmaking engine who they are and who they want to meet. Interests and goals drive the suggested matches, availability tells others when to book time, and visibility controls who can see the profile.",
@@ -230,7 +230,6 @@ function E() {
230
230
  ]
231
231
  });
232
232
  }
233
- //#endregion
234
233
  export { E as default };
235
234
 
236
235
  //# sourceMappingURL=NetworkingProfileFormPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkingProfileFormPage.js","names":[],"sources":["../../../../src/eventfullymanaged/pages/networking/NetworkingProfileFormPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect */\nimport { Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea } from '@burdenoff/fe-libs/ui';\nimport { useEffect, useMemo, useState } from 'react';\nimport { useParams } from 'react-router';\n\nimport {\n useAttendeesQuery,\n useCreateNetworkingProfileMutation,\n useEventsQuery,\n useNetworkingProfilesQuery,\n useUpdateNetworkingProfileMutation,\n} from '../../api/eventApi';\nimport { EntityFormShell } from '../../components/EntityFormShell';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\ntype ProfileFormState = {\n eventId: string;\n attendeeId: string;\n interests: string;\n goals: string;\n availability: string;\n industry: string;\n role: string;\n visibility: string;\n};\n\nconst initialState: ProfileFormState = {\n eventId: '',\n attendeeId: '',\n interests: '',\n goals: '',\n availability: '',\n industry: '',\n role: '',\n visibility: 'ATTENDEES',\n};\n\nconst VISIBILITY_OPTIONS = [\n { value: 'PUBLIC', label: 'Public' },\n { value: 'ATTENDEES', label: 'Attendees only' },\n { value: 'PRIVATE', label: 'Private' },\n];\n\nfunction splitList(value: string): string[] {\n return value\n .split(',')\n .map((item) => item.trim())\n .filter(Boolean);\n}\n\nexport default function NetworkingProfileFormPage() {\n const { id = '' } = useParams<{ id: string }>();\n const isEdit = useMemo(() => Boolean(id), [id]);\n const { navigate } = useEventfullyManaged();\n\n const { data: eventsData } = useEventsQuery({ limit: 100, offset: 0 });\n // No by-id resolver for profiles — derive edit state from the list row.\n const { data: profilesData } = useNetworkingProfilesQuery({ limit: 100, offset: 0 });\n\n const existing = useMemo(\n () => (profilesData?.networkingProfiles?.items ?? []).find((item) => item.id === id),\n [profilesData, id]\n );\n\n const [createProfile, { loading: creating }] = useCreateNetworkingProfileMutation();\n const [updateProfile, { loading: updating }] = useUpdateNetworkingProfileMutation();\n const [form, setForm] = useState<ProfileFormState>(initialState);\n\n const { data: attendeesData } = useAttendeesQuery({\n eventId: form.eventId || undefined,\n limit: 100,\n offset: 0,\n });\n const attendees = attendeesData?.attendees?.items ?? [];\n\n useEffect(() => {\n if (!isEdit || !existing) {\n return;\n }\n const metadata = existing.metadata ?? {};\n const availability = typeof metadata.availability === 'string' ? metadata.availability : '';\n setForm({\n eventId: existing.eventId ?? '',\n attendeeId: existing.attendeeId ?? '',\n interests: (existing.interests ?? []).join(', '),\n goals: (existing.lookingFor ?? []).join(', '),\n availability,\n industry: existing.industry ?? '',\n role: existing.role ?? '',\n visibility: existing.visibility ?? 'ATTENDEES',\n });\n }, [existing, isEdit]);\n\n const onChange = (field: keyof ProfileFormState, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const onSubmit = async (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n\n if (!form.eventId) {\n notify.error('Event required', 'Choose the event this profile is opting into.');\n return;\n }\n if (!form.attendeeId) {\n notify.error('Attendee required', 'Choose the attendee this profile represents.');\n return;\n }\n\n const existingMetadata = existing?.metadata ?? {};\n const input = {\n eventId: form.eventId,\n attendeeId: form.attendeeId,\n interests: splitList(form.interests),\n lookingFor: splitList(form.goals),\n industry: form.industry,\n role: form.role,\n visibility: form.visibility,\n metadata: { ...existingMetadata, availability: form.availability },\n };\n\n try {\n if (isEdit) {\n const response = await updateProfile({ variables: { id, input } });\n if (!mutationSucceeded(response, response.data?.updateNetworkingProfile?.id, 'Could not update profile')) {\n return;\n }\n navigate('/networking');\n return;\n }\n\n const response = await createProfile({ variables: { input } });\n if (!mutationSucceeded(response, response.data?.createNetworkingProfile?.id, 'Could not create profile')) {\n return;\n }\n navigate('/networking');\n } catch (error) {\n notify.error('Could not save profile', describeError(error));\n }\n };\n\n const saving = creating || updating;\n const events = eventsData?.events?.items ?? [];\n\n return (\n <EntityFormShell\n title={isEdit ? 'Edit Networking Profile' : 'Opt in to Networking'}\n description=\"Describe an attendee so the matchmaking engine can suggest the right connections.\"\n purpose=\"A networking profile is how an attendee tells the matchmaking engine who they are and who they want to meet. Interests and goals drive the suggested matches, availability tells others when to book time, and visibility controls who can see the profile.\"\n backLabel=\"Back to Networking\"\n onBack={() => navigate('/networking')}\n onSubmit={onSubmit}\n submitLabel={isEdit ? 'Save Profile' : 'Opt in'}\n saving={saving}\n >\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Event</span>\n <Select value={form.eventId} onValueChange={(value) => onChange('eventId', value)}>\n <SelectTrigger aria-label=\"Event\">\n <SelectValue placeholder=\"Select event\" />\n </SelectTrigger>\n <SelectContent>\n {events.map((eventItem) => (\n <SelectItem key={eventItem.id} value={eventItem.id}>\n {eventItem.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Attendee</span>\n <Select\n value={form.attendeeId}\n onValueChange={(value) => onChange('attendeeId', value)}\n disabled={!form.eventId}\n >\n <SelectTrigger aria-label=\"Attendee\">\n <SelectValue placeholder={form.eventId ? 'Select attendee' : 'Select an event first'} />\n </SelectTrigger>\n <SelectContent>\n {attendees.map((attendee) => (\n <SelectItem key={attendee.id} value={attendee.id}>\n {attendee.fullName}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Interests (comma separated)</span>\n <Input\n value={form.interests}\n onChange={(e) => onChange('interests', e.target.value)}\n placeholder=\"AI, fintech, design\"\n />\n </label>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Goals — who they want to meet (comma separated)</span>\n <Input\n value={form.goals}\n onChange={(e) => onChange('goals', e.target.value)}\n placeholder=\"investors, hiring partners, mentors\"\n />\n </label>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Availability</span>\n <Textarea\n value={form.availability}\n onChange={(e) => onChange('availability', e.target.value)}\n rows={2}\n placeholder=\"Free during lunch and after the keynote\"\n />\n </label>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-3\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Industry</span>\n <Input value={form.industry} onChange={(e) => onChange('industry', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Role</span>\n <Input value={form.role} onChange={(e) => onChange('role', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Visibility</span>\n <Select value={form.visibility} onValueChange={(value) => onChange('visibility', value)}>\n <SelectTrigger aria-label=\"Visibility\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n {VISIBILITY_OPTIONS.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n </EntityFormShell>\n );\n}\n"],"mappings":";;;;;;;;;;AA4BA,IAAM,IAAiC;CACrC,SAAS;CACT,YAAY;CACZ,WAAW;CACX,OAAO;CACP,cAAc;CACd,UAAU;CACV,MAAM;CACN,YAAY;CACb,EAEK,IAAqB;CACzB;EAAE,OAAO;EAAU,OAAO;EAAU;CACpC;EAAE,OAAO;EAAa,OAAO;EAAkB;CAC/C;EAAE,OAAO;EAAW,OAAO;EAAW;CACvC;AAED,SAAS,EAAU,GAAyB;AAC1C,QAAO,EACJ,MAAM,IAAI,CACV,KAAK,MAAS,EAAK,MAAM,CAAC,CAC1B,OAAO,QAAQ;;AAGpB,SAAwB,IAA4B;CAClD,IAAM,EAAE,QAAK,OAAO,GAA2B,EACzC,IAAS,QAAc,EAAQ,GAAK,CAAC,EAAG,CAAC,EACzC,EAAE,gBAAa,GAAsB,EAErC,EAAE,MAAM,MAAe,EAAe;EAAE,OAAO;EAAK,QAAQ;EAAG,CAAC,EAEhE,EAAE,MAAM,MAAiB,EAA2B;EAAE,OAAO;EAAK,QAAQ;EAAG,CAAC,EAE9E,IAAW,SACR,GAAc,oBAAoB,SAAS,EAAE,EAAE,MAAM,MAAS,EAAK,OAAO,EAAG,EACpF,CAAC,GAAc,EAAG,CACnB,EAEK,CAAC,GAAe,EAAE,SAAS,OAAc,GAAoC,EAC7E,CAAC,GAAe,EAAE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;OAAI,CAAA,CACxE;;KACR,kBAAC,SAAD;MAAO,WAAU;gBAAjB,CACE,kBAAC,QAAD;OAAM,WAAU;iBAAgC;OAAiB,CAAA,EACjE,kBAAC,GAAD;OAAQ,OAAO,EAAK;OAAY,gBAAgB,MAAU,EAAS,cAAc,EAAM;iBAAvF,CACE,kBAAC,GAAD;QAAe,cAAW;kBACxB,kBAAC,GAAD,EAAe,CAAA;QACD,CAAA,EAChB,kBAAC,GAAD,EAAA,UACG,EAAmB,KAAK,MACvB,kBAAC,GAAD;QAA+B,OAAO,EAAO;kBAC1C,EAAO;QACG,EAFI,EAAO,MAEX,CACb,EACY,CAAA,CACT;SACH;;KACJ;;GACU"}
1
+ {"version":3,"file":"NetworkingProfileFormPage.js","names":["initialState","VISIBILITY_OPTIONS","splitList","value","item","NetworkingProfileFormPage","useParams","isEdit","useMemo","id","useEventfullyManaged","eventsData","useEventsQuery","profilesData","useNetworkingProfilesQuery","existing","createProfile","creating","useCreateNetworkingProfileMutation","updateProfile","updating","useUpdateNetworkingProfileMutation","form","setForm","useState","attendeesData","useAttendeesQuery","attendees","metadata","availability","onChange","prev","field","onSubmit","event","existingMetadata","input","response","mutationSucceeded","error","describeError","saving","events","EntityFormShell","navigate","Select","SelectTrigger","SelectValue","SelectContent","SelectItem","eventItem","attendee","Input","Textarea","option"],"sources":["../../../../src/eventfullymanaged/pages/networking/NetworkingProfileFormPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect */\nimport { Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, Textarea } from '@burdenoff/fe-libs/ui';\nimport { useEffect, useMemo, useState } from 'react';\nimport { useParams } from 'react-router';\n\nimport {\n useAttendeesQuery,\n useCreateNetworkingProfileMutation,\n useEventsQuery,\n useNetworkingProfilesQuery,\n useUpdateNetworkingProfileMutation,\n} from '../../api/eventApi';\nimport { EntityFormShell } from '../../components/EntityFormShell';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\ntype ProfileFormState = {\n eventId: string;\n attendeeId: string;\n interests: string;\n goals: string;\n availability: string;\n industry: string;\n role: string;\n visibility: string;\n};\n\nconst initialState: ProfileFormState = {\n eventId: '',\n attendeeId: '',\n interests: '',\n goals: '',\n availability: '',\n industry: '',\n role: '',\n visibility: 'ATTENDEES',\n};\n\nconst VISIBILITY_OPTIONS = [\n { value: 'PUBLIC', label: 'Public' },\n { value: 'ATTENDEES', label: 'Attendees only' },\n { value: 'PRIVATE', label: 'Private' },\n];\n\nfunction splitList(value: string): string[] {\n return value\n .split(',')\n .map((item) => item.trim())\n .filter(Boolean);\n}\n\nexport default function NetworkingProfileFormPage() {\n const { id = '' } = useParams<{ id: string }>();\n const isEdit = useMemo(() => Boolean(id), [id]);\n const { navigate } = useEventfullyManaged();\n\n const { data: eventsData } = useEventsQuery({ limit: 100, offset: 0 });\n // No by-id resolver for profiles — derive edit state from the list row.\n const { data: profilesData } = useNetworkingProfilesQuery({ limit: 100, offset: 0 });\n\n const existing = useMemo(\n () => (profilesData?.networkingProfiles?.items ?? []).find((item) => item.id === id),\n [profilesData, id]\n );\n\n const [createProfile, { loading: creating }] = useCreateNetworkingProfileMutation();\n const [updateProfile, { loading: updating }] = useUpdateNetworkingProfileMutation();\n const [form, setForm] = useState<ProfileFormState>(initialState);\n\n const { data: attendeesData } = useAttendeesQuery({\n eventId: form.eventId || undefined,\n limit: 100,\n offset: 0,\n });\n const attendees = attendeesData?.attendees?.items ?? [];\n\n useEffect(() => {\n if (!isEdit || !existing) {\n return;\n }\n const metadata = existing.metadata ?? {};\n const availability = typeof metadata.availability === 'string' ? metadata.availability : '';\n setForm({\n eventId: existing.eventId ?? '',\n attendeeId: existing.attendeeId ?? '',\n interests: (existing.interests ?? []).join(', '),\n goals: (existing.lookingFor ?? []).join(', '),\n availability,\n industry: existing.industry ?? '',\n role: existing.role ?? '',\n visibility: existing.visibility ?? 'ATTENDEES',\n });\n }, [existing, isEdit]);\n\n const onChange = (field: keyof ProfileFormState, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const onSubmit = async (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n\n if (!form.eventId) {\n notify.error('Event required', 'Choose the event this profile is opting into.');\n return;\n }\n if (!form.attendeeId) {\n notify.error('Attendee required', 'Choose the attendee this profile represents.');\n return;\n }\n\n const existingMetadata = existing?.metadata ?? {};\n const input = {\n eventId: form.eventId,\n attendeeId: form.attendeeId,\n interests: splitList(form.interests),\n lookingFor: splitList(form.goals),\n industry: form.industry,\n role: form.role,\n visibility: form.visibility,\n metadata: { ...existingMetadata, availability: form.availability },\n };\n\n try {\n if (isEdit) {\n const response = await updateProfile({ variables: { id, input } });\n if (!mutationSucceeded(response, response.data?.updateNetworkingProfile?.id, 'Could not update profile')) {\n return;\n }\n navigate('/networking');\n return;\n }\n\n const response = await createProfile({ variables: { input } });\n if (!mutationSucceeded(response, response.data?.createNetworkingProfile?.id, 'Could not create profile')) {\n return;\n }\n navigate('/networking');\n } catch (error) {\n notify.error('Could not save profile', describeError(error));\n }\n };\n\n const saving = creating || updating;\n const events = eventsData?.events?.items ?? [];\n\n return (\n <EntityFormShell\n title={isEdit ? 'Edit Networking Profile' : 'Opt in to Networking'}\n description=\"Describe an attendee so the matchmaking engine can suggest the right connections.\"\n purpose=\"A networking profile is how an attendee tells the matchmaking engine who they are and who they want to meet. Interests and goals drive the suggested matches, availability tells others when to book time, and visibility controls who can see the profile.\"\n backLabel=\"Back to Networking\"\n onBack={() => navigate('/networking')}\n onSubmit={onSubmit}\n submitLabel={isEdit ? 'Save Profile' : 'Opt in'}\n saving={saving}\n >\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Event</span>\n <Select value={form.eventId} onValueChange={(value) => onChange('eventId', value)}>\n <SelectTrigger aria-label=\"Event\">\n <SelectValue placeholder=\"Select event\" />\n </SelectTrigger>\n <SelectContent>\n {events.map((eventItem) => (\n <SelectItem key={eventItem.id} value={eventItem.id}>\n {eventItem.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Attendee</span>\n <Select\n value={form.attendeeId}\n onValueChange={(value) => onChange('attendeeId', value)}\n disabled={!form.eventId}\n >\n <SelectTrigger aria-label=\"Attendee\">\n <SelectValue placeholder={form.eventId ? 'Select attendee' : 'Select an event first'} />\n </SelectTrigger>\n <SelectContent>\n {attendees.map((attendee) => (\n <SelectItem key={attendee.id} value={attendee.id}>\n {attendee.fullName}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Interests (comma separated)</span>\n <Input\n value={form.interests}\n onChange={(e) => onChange('interests', e.target.value)}\n placeholder=\"AI, fintech, design\"\n />\n </label>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Goals — who they want to meet (comma separated)</span>\n <Input\n value={form.goals}\n onChange={(e) => onChange('goals', e.target.value)}\n placeholder=\"investors, hiring partners, mentors\"\n />\n </label>\n\n <label className=\"block space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Availability</span>\n <Textarea\n value={form.availability}\n onChange={(e) => onChange('availability', e.target.value)}\n rows={2}\n placeholder=\"Free during lunch and after the keynote\"\n />\n </label>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-3\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Industry</span>\n <Input value={form.industry} onChange={(e) => onChange('industry', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Role</span>\n <Input value={form.role} onChange={(e) => onChange('role', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Visibility</span>\n <Select value={form.visibility} onValueChange={(value) => onChange('visibility', value)}>\n <SelectTrigger aria-label=\"Visibility\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n {VISIBILITY_OPTIONS.map((option) => (\n <SelectItem key={option.value} value={option.value}>\n {option.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n </div>\n </EntityFormShell>\n );\n}\n"],"mappings":";;;;;;;;;;AA4BA,IAAMA,IAAiC;CACrC,SAAS;CACT,YAAY;CACZ,WAAW;CACX,OAAO;CACP,cAAc;CACd,UAAU;CACV,MAAM;CACN,YAAY;AACd,GAEMC,IAAqB;CACzB;EAAE,OAAO;EAAU,OAAO;CAAS;CACnC;EAAE,OAAO;EAAa,OAAO;CAAiB;CAC9C;EAAE,OAAO;EAAW,OAAO;CAAU;AACvC;AAEA,SAASC,EAAU,GAAyB;CAC1C,OAAOC,EACJ,MAAM,GAAG,CAAC,CACV,KAAK,MAASC,EAAK,KAAK,CAAC,CAAC,CAC1B,OAAO,OAAO;AACnB;AAEA,SAAwBC,IAA4B;CAClD,IAAM,EAAE,QAAK,OAAOC,EAA0B,GACxCC,IAASC,QAAc,EAAQC,GAAK,CAACA,CAAE,CAAC,GACxC,EAAE,gBAAaC,EAAqB,GAEpC,EAAE,MAAMC,MAAeC,EAAe;EAAE,OAAO;EAAK,QAAQ;CAAE,CAAC,GAE/D,EAAE,MAAMC,MAAiBC,EAA2B;EAAE,OAAO;EAAK,QAAQ;CAAE,CAAC,GAE7EC,IAAWP,SACRK,GAAc,oBAAoB,SAAS,CAAC,EAAA,CAAG,MAAM,MAAST,EAAK,OAAOK,CAAE,GACnF,CAACI,GAAcJ,CAAE,CACnB,GAEM,CAACO,GAAe,EAAE,SAASC,OAAcC,EAAmC,GAC5E,CAACC,GAAe,EAAE,SAASC,OAAcC,EAAmC,GAC5E,CAACC,GAAMC,KAAWC,EAA2BxB,CAAY,GAEzD,EAAE,MAAMyB,MAAkBC,EAAkB;EAChD,SAASJ,EAAK,W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,WAAW,MAAMQ,EAAS,YAAY,EAAE,OAAO,KAAK;MAAI,CAAA,CAChF;;KACP,kBAAC,SAAD;MAAO,WAAU;MAAjB,UAAA,CACE,kBAAC,QAAD;OAAM,WAAU;OAAgC,UAAA;MAAU,CAAA,GAC1D,kBAACsB,GAAD;OAAO,OAAO9B,EAAK;OAAM,WAAW,MAAMQ,EAAS,QAAQ,EAAE,OAAO,KAAK;MAAI,CAAA,CACxE;;KACP,kBAAC,SAAD;MAAO,WAAU;MAAjB,UAAA,CACE,kBAAC,QAAD;OAAM,WAAU;OAAgC,UAAA;MAAgB,CAAA,GAChE,kBAACe,GAAD;OAAQ,OAAOvB,EAAK;OAAY,gBAAgB,MAAUQ,EAAS,cAAc3B,CAAK;OAAtF,UAAA,CACE,kBAAC2C,GAAD;QAAe,cAAW;QACxB,UAAA,kBAACC,GAAD,CAAc,CAAA;OACD,CAAA,GACf,kBAACC,GAAD,EAAA,UACG/C,EAAmB,KAAK,MACvB,kBAACgD,GAAD;QAA+B,OAAOK,EAAO;QAC1C,UAAAA,EAAO;OACE,GAFKA,EAAO,KAEZ,CACb,EACY,CAAA,CACT;MACH,CAAA,CAAA;;IACJ;;EACU;;AAErB"}
@@ -1,2 +1,2 @@
1
- export default function AttendeeFormPage(): import("react/jsx-runtime").JSX.Element;
1
+ export default function AttendeeFormPage(): import("react").JSX.Element;
2
2
  //# sourceMappingURL=AttendeeFormPage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttendeeFormPage.d.ts","sourceRoot":"","sources":["../../../../src/eventfullymanaged/pages/registration/AttendeeFormPage.tsx"],"names":[],"mappings":"AA+CA,MAAM,CAAC,OAAO,UAAU,gBAAgB,4CAyJvC"}
1
+ {"version":3,"file":"AttendeeFormPage.d.ts","sourceRoot":"","sources":["../../../../src/eventfullymanaged/pages/registration/AttendeeFormPage.tsx"],"names":[],"mappings":"AA+CA,MAAM,CAAC,OAAO,UAAU,gBAAgB,gCAyJvC"}
@@ -1,14 +1,14 @@
1
- import { useEventfullyManaged as e } from "../../context/EventfullyManagedContext.js";
2
- import { notify as t } from "../../lib/toast.js";
3
- import { useAttendeesQuery as n, useCreateAttendeeMutation as r, useEventsQuery as i, useUpdateAttendeeMutation as a } from "../../api/eventApi.js";
4
- import { EntityFormShell as o } from "../../components/EntityFormShell.js";
1
+ import { useAttendeesQuery as e, useCreateAttendeeMutation as t, useEventsQuery as n, useUpdateAttendeeMutation as r } from "../../api/eventApi.js";
2
+ import { EntityFormShell as i } from "../../components/EntityFormShell.js";
3
+ import { EntityTagsField as a } from "../../components/EntityTagsField.js";
4
+ import { useEventfullyManaged as o } from "../../context/EventfullyManagedContext.js";
5
5
  import { describeError as s, mutationSucceeded as c } from "../../lib/mutationResult.js";
6
- import { EntityTagsField as l } from "../../components/EntityTagsField.js";
6
+ import { notify as l } from "../../lib/toast.js";
7
7
  import { useEffect as u, useMemo as d, useState as f } from "react";
8
8
  import { useParams as p } from "react-router";
9
9
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
10
10
  import { Input as g, Select as _, SelectContent as v, SelectItem as y, SelectTrigger as b, SelectValue as x } from "@burdenoff/fe-libs/ui";
11
- //#region src/eventfullymanaged/pages/registration/AttendeeFormPage.tsx
11
+ // src/eventfullymanaged/pages/registration/AttendeeFormPage.tsx
12
12
  var S = {
13
13
  eventId: "",
14
14
  fullName: "",
@@ -28,13 +28,13 @@ function C(e) {
28
28
  };
29
29
  }
30
30
  function w() {
31
- let { id: w = "" } = p(), T = d(() => !!w, [w]), { navigate: E } = e(), { data: D } = i({
31
+ let { id: w = "" } = p(), T = d(() => !!w, [w]), { navigate: E } = o(), { data: D } = n({
32
32
  limit: 100,
33
33
  offset: 0
34
- }), { data: O } = n({
34
+ }), { data: O } = e({
35
35
  limit: 100,
36
36
  offset: 0
37
- }), k = d(() => (O?.attendees.items ?? []).find((e) => e.id === w), [O, w]), [A, { loading: j }] = r(), [M, { loading: N }] = a(), [P, F] = f(() => k ? C(k) : S);
37
+ }), k = d(() => (O?.attendees.items ?? []).find((e) => e.id === w), [O, w]), [A, { loading: j }] = t(), [M, { loading: N }] = r(), [P, F] = f(() => k ? C(k) : S);
38
38
  u(() => {
39
39
  k && F(C(k));
40
40
  }, [k]);
@@ -47,7 +47,7 @@ function w() {
47
47
  let e = P.fullName.trim().split(/\s+/).filter(Boolean);
48
48
  return e.length === 0 ? "?" : (e[0][0] + (e.length > 1 ? e[e.length - 1][0] : "")).toUpperCase();
49
49
  }, [P.fullName]);
50
- return /* @__PURE__ */ h(o, {
50
+ return /* @__PURE__ */ h(i, {
51
51
  title: T ? "Edit Attendee" : "Add Attendee",
52
52
  description: "Attendee records are the people behind your registrations.",
53
53
  purpose: "Capture the person attending your event — who they are, how to reach them, and the organization they represent. You can tag attendees to segment them later for networking, communications, and analytics.",
@@ -55,14 +55,14 @@ function w() {
55
55
  onBack: () => E("/registration"),
56
56
  onSubmit: async (e) => {
57
57
  if (e.preventDefault(), !P.eventId) {
58
- t.error("Event required", "Choose the event this attendee belongs to.");
58
+ l.error("Event required", "Choose the event this attendee belongs to.");
59
59
  return;
60
60
  }
61
61
  if (!P.fullName.trim() || !P.email.trim()) {
62
- t.error("Missing details", "A full name and email are required.");
62
+ l.error("Missing details", "A full name and email are required.");
63
63
  return;
64
64
  }
65
- let n = {
65
+ let t = {
66
66
  eventId: P.eventId,
67
67
  fullName: P.fullName.trim(),
68
68
  email: P.email.trim(),
@@ -76,17 +76,17 @@ function w() {
76
76
  if (T) {
77
77
  let e = await M({ variables: {
78
78
  id: w,
79
- input: n
79
+ input: t
80
80
  } });
81
81
  if (!c(e, e.data?.updateAttendee?.id, "Could not update attendee")) return;
82
- t.success("Attendee updated", P.fullName.trim()), E("/registration");
82
+ l.success("Attendee updated", P.fullName.trim()), E("/registration");
83
83
  return;
84
84
  }
85
- let e = await A({ variables: { input: n } });
85
+ let e = await A({ variables: { input: t } });
86
86
  if (!c(e, e.data?.createAttendee?.id, "Could not create attendee")) return;
87
- t.success("Attendee added", P.fullName.trim()), E("/registration");
87
+ l.success("Attendee added", P.fullName.trim()), E("/registration");
88
88
  } catch (e) {
89
- t.error("Could not save attendee", s(e));
89
+ l.error("Could not save attendee", s(e));
90
90
  }
91
91
  },
92
92
  submitLabel: T ? "Save Attendee" : "Add Attendee",
@@ -188,14 +188,13 @@ function w() {
188
188
  })]
189
189
  })]
190
190
  }),
191
- T ? /* @__PURE__ */ m(l, {
191
+ T ? /* @__PURE__ */ m(a, {
192
192
  entityType: "EVENTFULLYMANAGED_ATTENDEE",
193
193
  entityId: w
194
194
  }) : null
195
195
  ]
196
196
  });
197
197
  }
198
- //#endregion
199
198
  export { w as default };
200
199
 
201
200
  //# sourceMappingURL=AttendeeFormPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AttendeeFormPage.js","names":[],"sources":["../../../../src/eventfullymanaged/pages/registration/AttendeeFormPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect */\nimport { useEffect, useMemo, useState } from 'react';\nimport { useParams } from 'react-router';\nimport { Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@burdenoff/fe-libs/ui';\n\nimport {\n useAttendeesQuery,\n useCreateAttendeeMutation,\n useEventsQuery,\n useUpdateAttendeeMutation,\n type AttendeeGql,\n} from '../../api/eventApi';\nimport { EntityFormShell } from '../../components/EntityFormShell';\nimport { EntityTagsField } from '../../components/EntityTagsField';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\ntype AttendeeFormState = {\n eventId: string;\n fullName: string;\n email: string;\n phone: string;\n company: string;\n role: string;\n};\n\nconst emptyState: AttendeeFormState = {\n eventId: '',\n fullName: '',\n email: '',\n phone: '',\n company: '',\n role: '',\n};\n\nfunction toFormState(attendee: AttendeeGql): AttendeeFormState {\n return {\n eventId: attendee.eventId ?? '',\n fullName: attendee.fullName ?? '',\n email: attendee.email ?? '',\n phone: attendee.phone ?? '',\n company: attendee.company ?? '',\n role: attendee.role ?? '',\n };\n}\n\nexport default function AttendeeFormPage() {\n const { id = '' } = useParams<{ id: string }>();\n const isEdit = useMemo(() => Boolean(id), [id]);\n const { navigate } = useEventfullyManaged();\n\n const { data: eventsData } = useEventsQuery({ limit: 100, offset: 0 });\n // No by-id attendee resolver exists — derive edit initial-state from the list.\n const { data: attendeesData } = useAttendeesQuery({ limit: 100, offset: 0 });\n const existing = useMemo(\n () => (attendeesData?.attendees.items ?? []).find((item) => item.id === id),\n [attendeesData, id]\n );\n\n const [createAttendee, { loading: creating }] = useCreateAttendeeMutation();\n const [updateAttendee, { loading: updating }] = useUpdateAttendeeMutation();\n const [form, setForm] = useState<AttendeeFormState>(() => (existing ? toFormState(existing) : emptyState));\n\n useEffect(() => {\n if (existing) {\n setForm(toFormState(existing));\n }\n }, [existing]);\n\n const onChange = (field: keyof AttendeeFormState, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const events = eventsData?.events.items ?? [];\n const saving = creating || updating;\n\n const initials = useMemo(() => {\n const parts = form.fullName.trim().split(/\\s+/).filter(Boolean);\n if (parts.length === 0) return '?';\n return (parts[0][0] + (parts.length > 1 ? parts[parts.length - 1][0] : '')).toUpperCase();\n }, [form.fullName]);\n\n const onSubmit = async (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n\n if (!form.eventId) {\n notify.error('Event required', 'Choose the event this attendee belongs to.');\n return;\n }\n if (!form.fullName.trim() || !form.email.trim()) {\n notify.error('Missing details', 'A full name and email are required.');\n return;\n }\n\n const input = {\n eventId: form.eventId,\n fullName: form.fullName.trim(),\n email: form.email.trim(),\n phone: form.phone.trim() || null,\n company: form.company.trim() || null,\n role: form.role.trim() || null,\n profile: {},\n metadata: {},\n };\n\n try {\n if (isEdit) {\n const response = await updateAttendee({ variables: { id, input } });\n if (!mutationSucceeded(response, response.data?.updateAttendee?.id, 'Could not update attendee')) {\n return;\n }\n notify.success('Attendee updated', form.fullName.trim());\n navigate('/registration');\n return;\n }\n\n const response = await createAttendee({ variables: { input } });\n if (!mutationSucceeded(response, response.data?.createAttendee?.id, 'Could not create attendee')) {\n return;\n }\n notify.success('Attendee added', form.fullName.trim());\n navigate('/registration');\n } catch (error) {\n notify.error('Could not save attendee', describeError(error));\n }\n };\n\n return (\n <EntityFormShell\n title={isEdit ? 'Edit Attendee' : 'Add Attendee'}\n description=\"Attendee records are the people behind your registrations.\"\n purpose=\"Capture the person attending your event — who they are, how to reach them, and the organization they represent. You can tag attendees to segment them later for networking, communications, and analytics.\"\n backLabel=\"Back to Registration\"\n onBack={() => navigate('/registration')}\n onSubmit={onSubmit}\n submitLabel={isEdit ? 'Save Attendee' : 'Add Attendee'}\n saving={saving}\n >\n {/* Identity preview */}\n <div className=\"flex items-center gap-3 rounded-card border border-border-seam bg-bg-surface p-4\">\n <span className=\"flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-accent-wash text-sm font-semibold text-action-primary\">\n {initials}\n </span>\n <div className=\"min-w-0\">\n <p className=\"truncate text-sm font-medium text-text-primary\">{form.fullName.trim() || 'New attendee'}</p>\n <p className=\"truncate text-xs text-text-secondary\">\n {[form.email.trim(), form.company.trim(), form.role.trim()].filter(Boolean).join(' · ') ||\n 'Details will appear here as you type.'}\n </p>\n </div>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Event</span>\n <Select value={form.eventId} onValueChange={(value) => onChange('eventId', value)}>\n <SelectTrigger aria-label=\"Event\">\n <SelectValue placeholder=\"Select Event\" />\n </SelectTrigger>\n <SelectContent>\n {events.map((eventItem) => (\n <SelectItem key={eventItem.id} value={eventItem.id}>\n {eventItem.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Full Name</span>\n <Input value={form.fullName} onChange={(e) => onChange('fullName', e.target.value)} required />\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Email</span>\n <Input type=\"email\" value={form.email} onChange={(e) => onChange('email', e.target.value)} required />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Phone</span>\n <Input value={form.phone} onChange={(e) => onChange('phone', e.target.value)} />\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Company</span>\n <Input value={form.company} onChange={(e) => onChange('company', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Role</span>\n <Input value={form.role} onChange={(e) => onChange('role', e.target.value)} />\n </label>\n </div>\n\n {isEdit ? <EntityTagsField entityType=\"EVENTFULLYMANAGED_ATTENDEE\" entityId={id} /> : null}\n </EntityFormShell>\n );\n}\n"],"mappings":";;;;;;;;;;;AA2BA,IAAM,IAAgC;CACpC,SAAS;CACT,UAAU;CACV,OAAO;CACP,OAAO;CACP,SAAS;CACT,MAAM;CACP;AAED,SAAS,EAAY,GAA0C;AAC7D,QAAO;EACL,SAAS,EAAS,WAAW;EAC7B,UAAU,EAAS,YAAY;EAC/B,OAAO,EAAS,SAAS;EACzB,OAAO,EAAS,SAAS;EACzB,SAAS,EAAS,WAAW;EAC7B,MAAM,EAAS,QAAQ;EACxB;;AAGH,SAAwB,IAAmB;CACzC,IAAM,EAAE,QAAK,OAAO,GAA2B,EACzC,IAAS,QAAc,EAAQ,GAAK,CAAC,EAAG,CAAC,EACzC,EAAE,gBAAa,GAAsB,EAErC,EAAE,MAAM,MAAe,EAAe;EAAE,OAAO;EAAK,QAAQ;EAAG,CAAC,EAEhE,EAAE,MAAM,MAAkB,EAAkB;EAAE,OAAO;EAAK,QAAQ;EAAG,CAAC,EACtE,IAAW,SACR,GAAe,UAAU,SAAS,EAAE,E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MAAM,WAAW,MAAM,EAAS,QAAQ,EAAE,OAAO,MAAM;MAAI,CAAA,CACxE;OACJ;;GAEL,IAAS,kBAAC,GAAD;IAAiB,YAAW;IAA6B,UAAU;IAAM,CAAA,GAAG;GACtE"}
1
+ {"version":3,"file":"AttendeeFormPage.js","names":["emptyState","toFormState","attendee","AttendeeFormPage","useParams","isEdit","useMemo","id","useEventfullyManaged","eventsData","useEventsQuery","attendeesData","useAttendeesQuery","existing","item","createAttendee","creating","useCreateAttendeeMutation","updateAttendee","updating","useUpdateAttendeeMutation","form","setForm","useState","onChange","prev","field","value","events","saving","initials","parts","EntityFormShell","navigate","event","input","response","mutationSucceeded","notify","error","describeError","Select","SelectTrigger","SelectValue","SelectContent","SelectItem","eventItem","Input","EntityTagsField"],"sources":["../../../../src/eventfullymanaged/pages/registration/AttendeeFormPage.tsx"],"sourcesContent":["/* eslint-disable react-hooks/set-state-in-effect */\nimport { useEffect, useMemo, useState } from 'react';\nimport { useParams } from 'react-router';\nimport { Input, Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@burdenoff/fe-libs/ui';\n\nimport {\n useAttendeesQuery,\n useCreateAttendeeMutation,\n useEventsQuery,\n useUpdateAttendeeMutation,\n type AttendeeGql,\n} from '../../api/eventApi';\nimport { EntityFormShell } from '../../components/EntityFormShell';\nimport { EntityTagsField } from '../../components/EntityTagsField';\nimport { useEventfullyManaged } from '../../context/EventfullyManagedContext';\nimport { describeError, mutationSucceeded } from '../../lib/mutationResult';\nimport { notify } from '../../lib/toast';\n\ntype AttendeeFormState = {\n eventId: string;\n fullName: string;\n email: string;\n phone: string;\n company: string;\n role: string;\n};\n\nconst emptyState: AttendeeFormState = {\n eventId: '',\n fullName: '',\n email: '',\n phone: '',\n company: '',\n role: '',\n};\n\nfunction toFormState(attendee: AttendeeGql): AttendeeFormState {\n return {\n eventId: attendee.eventId ?? '',\n fullName: attendee.fullName ?? '',\n email: attendee.email ?? '',\n phone: attendee.phone ?? '',\n company: attendee.company ?? '',\n role: attendee.role ?? '',\n };\n}\n\nexport default function AttendeeFormPage() {\n const { id = '' } = useParams<{ id: string }>();\n const isEdit = useMemo(() => Boolean(id), [id]);\n const { navigate } = useEventfullyManaged();\n\n const { data: eventsData } = useEventsQuery({ limit: 100, offset: 0 });\n // No by-id attendee resolver exists — derive edit initial-state from the list.\n const { data: attendeesData } = useAttendeesQuery({ limit: 100, offset: 0 });\n const existing = useMemo(\n () => (attendeesData?.attendees.items ?? []).find((item) => item.id === id),\n [attendeesData, id]\n );\n\n const [createAttendee, { loading: creating }] = useCreateAttendeeMutation();\n const [updateAttendee, { loading: updating }] = useUpdateAttendeeMutation();\n const [form, setForm] = useState<AttendeeFormState>(() => (existing ? toFormState(existing) : emptyState));\n\n useEffect(() => {\n if (existing) {\n setForm(toFormState(existing));\n }\n }, [existing]);\n\n const onChange = (field: keyof AttendeeFormState, value: string) => {\n setForm((prev) => ({ ...prev, [field]: value }));\n };\n\n const events = eventsData?.events.items ?? [];\n const saving = creating || updating;\n\n const initials = useMemo(() => {\n const parts = form.fullName.trim().split(/\\s+/).filter(Boolean);\n if (parts.length === 0) return '?';\n return (parts[0][0] + (parts.length > 1 ? parts[parts.length - 1][0] : '')).toUpperCase();\n }, [form.fullName]);\n\n const onSubmit = async (event: React.FormEvent<HTMLFormElement>) => {\n event.preventDefault();\n\n if (!form.eventId) {\n notify.error('Event required', 'Choose the event this attendee belongs to.');\n return;\n }\n if (!form.fullName.trim() || !form.email.trim()) {\n notify.error('Missing details', 'A full name and email are required.');\n return;\n }\n\n const input = {\n eventId: form.eventId,\n fullName: form.fullName.trim(),\n email: form.email.trim(),\n phone: form.phone.trim() || null,\n company: form.company.trim() || null,\n role: form.role.trim() || null,\n profile: {},\n metadata: {},\n };\n\n try {\n if (isEdit) {\n const response = await updateAttendee({ variables: { id, input } });\n if (!mutationSucceeded(response, response.data?.updateAttendee?.id, 'Could not update attendee')) {\n return;\n }\n notify.success('Attendee updated', form.fullName.trim());\n navigate('/registration');\n return;\n }\n\n const response = await createAttendee({ variables: { input } });\n if (!mutationSucceeded(response, response.data?.createAttendee?.id, 'Could not create attendee')) {\n return;\n }\n notify.success('Attendee added', form.fullName.trim());\n navigate('/registration');\n } catch (error) {\n notify.error('Could not save attendee', describeError(error));\n }\n };\n\n return (\n <EntityFormShell\n title={isEdit ? 'Edit Attendee' : 'Add Attendee'}\n description=\"Attendee records are the people behind your registrations.\"\n purpose=\"Capture the person attending your event — who they are, how to reach them, and the organization they represent. You can tag attendees to segment them later for networking, communications, and analytics.\"\n backLabel=\"Back to Registration\"\n onBack={() => navigate('/registration')}\n onSubmit={onSubmit}\n submitLabel={isEdit ? 'Save Attendee' : 'Add Attendee'}\n saving={saving}\n >\n {/* Identity preview */}\n <div className=\"flex items-center gap-3 rounded-card border border-border-seam bg-bg-surface p-4\">\n <span className=\"flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-accent-wash text-sm font-semibold text-action-primary\">\n {initials}\n </span>\n <div className=\"min-w-0\">\n <p className=\"truncate text-sm font-medium text-text-primary\">{form.fullName.trim() || 'New attendee'}</p>\n <p className=\"truncate text-xs text-text-secondary\">\n {[form.email.trim(), form.company.trim(), form.role.trim()].filter(Boolean).join(' · ') ||\n 'Details will appear here as you type.'}\n </p>\n </div>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Event</span>\n <Select value={form.eventId} onValueChange={(value) => onChange('eventId', value)}>\n <SelectTrigger aria-label=\"Event\">\n <SelectValue placeholder=\"Select Event\" />\n </SelectTrigger>\n <SelectContent>\n {events.map((eventItem) => (\n <SelectItem key={eventItem.id} value={eventItem.id}>\n {eventItem.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Full Name</span>\n <Input value={form.fullName} onChange={(e) => onChange('fullName', e.target.value)} required />\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Email</span>\n <Input type=\"email\" value={form.email} onChange={(e) => onChange('email', e.target.value)} required />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Phone</span>\n <Input value={form.phone} onChange={(e) => onChange('phone', e.target.value)} />\n </label>\n </div>\n\n <div className=\"grid grid-cols-1 gap-4 md:grid-cols-2\">\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Company</span>\n <Input value={form.company} onChange={(e) => onChange('company', e.target.value)} />\n </label>\n <label className=\"space-y-1 text-sm\">\n <span className=\"font-medium text-text-primary\">Role</span>\n <Input value={form.role} onChange={(e) => onChange('role', e.target.value)} />\n </label>\n </div>\n\n {isEdit ? <EntityTagsField entityType=\"EVENTFULLYMANAGED_ATTENDEE\" entityId={id} /> : null}\n </EntityFormShell>\n );\n}\n"],"mappings":";;;;;;;;;;;AA2BA,IAAMA,IAAgC;CACpC,SAAS;CACT,UAAU;CACV,OAAO;CACP,OAAO;CACP,SAAS;CACT,MAAM;AACR;AAEA,SAASC,EAAY,GAA0C;CAC7D,OAAO;EACL,SAASC,EAAS,WAAW;EAC7B,UAAUA,EAAS,YAAY;EAC/B,OAAOA,EAAS,SAAS;EACzB,OAAOA,EAAS,SAAS;EACzB,SAASA,EAAS,WAAW;EAC7B,MAAMA,EAAS,QAAQ;CACzB;AACF;AAEA,SAAwBC,IAAmB;CACzC,IAAM,EAAE,QAAK,OAAOC,EAA0B,GACxCC,IAASC,QAAc,EAAQC,GAAK,CAACA,CAAE,CAAC,GACxC,EAAE,gBAAaC,EAAqB,GAEpC,EAAE,MAAMC,MAAeC,EAAe;EAAE,OAAO;EAAK,QAAQ;CAAE,CAAC,GAE/D,EAAE,MAAMC,MAAkBC,EAAkB;EAAE,OAAO;EAAK,QAAQ;CAAE,CAAC,GACrEC,IAAWP,SACRK,GAAe,UAAU,S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