@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 +1 @@
1
- {"version":3,"file":"ActionMenu.js","names":[],"sources":["../../../src/eventfullymanaged/components/ActionMenu.tsx"],"sourcesContent":["import { useCallback, useId, useState, type ReactNode } from 'react';\nimport type { LucideIcon } from 'lucide-react';\nimport { Eye, MoreVertical, Pencil, Trash2 } from 'lucide-react';\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n buttonVariants,\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from '@burdenoff/fe-libs/ui';\nimport { useExclusiveMenu } from '@burdenoff/fe-libs/shared/hooks';\n\nexport interface ActionMenuItem {\n key: string;\n label: string;\n icon?: LucideIcon;\n onSelect: () => void;\n variant?: 'default' | 'danger';\n disabled?: boolean;\n separatorBefore?: boolean;\n}\n\nexport interface ActionMenuProps {\n /** Accessible name for the trigger, e.g. \"Sponsor actions\". */\n ariaLabel: string;\n /** View handler — renders the \"View\" item when provided. */\n onView?: () => void;\n /** Edit handler — renders the \"Edit\" item when provided. */\n onEdit?: () => void;\n /**\n * Delete handler — renders a danger \"Delete\" item that first opens a confirm\n * dialog. May be async; the dialog stays open until it resolves.\n */\n onDelete?: () => void | Promise<void>;\n /** Name shown inside the delete confirmation (\"Delete \\\"Acme Corp\\\"?\"). */\n entityName?: string;\n /** Label for the danger item + confirm button. Defaults to \"Delete\". */\n deleteLabel?: string;\n /** Additional items inserted before the Delete action. */\n extraItems?: ActionMenuItem[];\n align?: 'start' | 'end';\n /** Custom trigger; defaults to a kebab icon button. */\n trigger?: ReactNode;\n}\n\nconst DANGER_ITEM_CLASS = 'text-status-error-text focus:text-status-error-text';\n\n/**\n * Canonical row overflow menu (View / Edit / Delete) for EventfullyManaged list\n * pages. Built on the fe-libs Radix DropdownMenu (keyboard nav, Escape,\n * outside-click, focus return) and coordinated across the page via\n * `useExclusiveMenu`, so opening one row's menu closes any other. Delete routes\n * through an AlertDialog confirm before the destructive handler fires.\n *\n * Safe inside clickable cards: the trigger and content stop click propagation.\n */\nexport function ActionMenu({\n ariaLabel,\n onView,\n onEdit,\n onDelete,\n entityName,\n deleteLabel = 'Delete',\n extraItems = [],\n align = 'end',\n trigger,\n}: ActionMenuProps) {\n const menuId = useId();\n const [open, setOpen] = useState(false);\n const [confirmOpen, setConfirmOpen] = useState(false);\n const [deleting, setDeleting] = useState(false);\n\n const close = useCallback(() => setOpen(false), []);\n // Close this menu whenever another exclusive menu on the page opens.\n useExclusiveMenu(menuId, open, close);\n\n const handleConfirmDelete = async () => {\n if (!onDelete) {\n return;\n }\n try {\n setDeleting(true);\n await onDelete();\n setConfirmOpen(false);\n } catch {\n // The handler surfaces its own error (toast); keep the dialog open so the\n // user can retry or cancel rather than silently dismissing.\n } finally {\n setDeleting(false);\n }\n };\n\n const triggerNode = trigger ?? (\n <button\n type=\"button\"\n className=\"inline-flex size-9 items-center justify-center rounded-button text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus max-md:size-11\"\n aria-label={ariaLabel}\n >\n <MoreVertical className=\"size-4\" aria-hidden=\"true\" />\n </button>\n );\n\n const hasAnyItem = Boolean(onView || onEdit || extraItems.length > 0 || onDelete);\n if (!hasAnyItem) {\n return null;\n }\n\n return (\n <>\n <DropdownMenu open={open} onOpenChange={setOpen}>\n <DropdownMenuTrigger\n asChild\n onClick={(event) => event.stopPropagation()}\n onKeyDown={(event) => event.stopPropagation()}\n >\n {triggerNode}\n </DropdownMenuTrigger>\n <DropdownMenuContent\n align={align}\n className=\"min-w-44\"\n onClick={(event) => event.stopPropagation()}\n onKeyDown={(event) => event.stopPropagation()}\n >\n {onView ? (\n <DropdownMenuItem className=\"cursor-pointer gap-2\" onSelect={() => onView()}>\n <Eye className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n <span>View</span>\n </DropdownMenuItem>\n ) : null}\n {onEdit ? (\n <DropdownMenuItem className=\"cursor-pointer gap-2\" onSelect={() => onEdit()}>\n <Pencil className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n <span>Edit</span>\n </DropdownMenuItem>\n ) : null}\n {extraItems.map((item) => {\n const Icon = item.icon;\n return (\n <div key={item.key} className=\"contents\">\n {item.separatorBefore ? <DropdownMenuSeparator /> : null}\n <DropdownMenuItem\n disabled={item.disabled}\n onSelect={() => item.onSelect()}\n className={`cursor-pointer gap-2 ${item.variant === 'danger' ? DANGER_ITEM_CLASS : ''}`}\n >\n {Icon ? <Icon className=\"size-4 shrink-0\" aria-hidden=\"true\" /> : null}\n <span className=\"min-w-0 truncate\">{item.label}</span>\n </DropdownMenuItem>\n </div>\n );\n })}\n {onDelete ? (\n <div className=\"contents\">\n {onView || onEdit || extraItems.length > 0 ? <DropdownMenuSeparator /> : null}\n <DropdownMenuItem\n className={`cursor-pointer gap-2 ${DANGER_ITEM_CLASS}`}\n onSelect={() => setConfirmOpen(true)}\n >\n <Trash2 className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n <span>{deleteLabel}</span>\n </DropdownMenuItem>\n </div>\n ) : null}\n </DropdownMenuContent>\n </DropdownMenu>\n\n {onDelete ? (\n <AlertDialog open={confirmOpen} onOpenChange={(next) => (deleting ? undefined : setConfirmOpen(next))}>\n <AlertDialogContent onClick={(event) => event.stopPropagation()}>\n <AlertDialogHeader>\n <AlertDialogTitle>\n {deleteLabel}\n {entityName ? ` “${entityName}”?` : '?'}\n </AlertDialogTitle>\n <AlertDialogDescription>\n This action cannot be undone. {entityName ? `“${entityName}” ` : 'This record '}\n will be permanently removed.\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel disabled={deleting}>Cancel</AlertDialogCancel>\n <AlertDialogAction\n onClick={(event) => {\n event.preventDefault();\n void handleConfirmDelete();\n }}\n disabled={deleting}\n className={buttonVariants({ variant: 'destructive' })}\n >\n {deleting ? 'Deleting…' : deleteLabel}\n </AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n ) : null}\n </>\n );\n}\n"],"mappings":";;;;;;AAsDA,IAAM,IAAoB;AAW1B,SAAgB,EAAW,EACzB,cACA,WACA,WACA,aACA,eACA,iBAAc,UACd,gBAAa,EAAE,EACf,WAAQ,OACR,cACkB;CAClB,IAAM,IAAS,GAAO,EAChB,CAAC,GAAM,KAAW,EAAS,GAAM,EACjC,CAAC,GAAa,KAAkB,EAAS,GAAM,EAC/C,CAAC,GAAU,KAAe,EAAS,GAAM;AAI/C,GAAiB,GAAQ,GAFX,QAAkB,EAAQ,GAAM,EAAE,EAAE,CAAC,CAEd;CAErC,IAAM,IAAsB,YAAY;AACjC,QAGL,KAAI;AAGF,GAFA,EAAY,GAAK,EACjB,MAAM,GAAU,EAChB,EAAe,GAAM;UACf,WAGE;AACR,KAAY,GAAM;;IAIhB,IAAc,KAClB,kBAAC,UAAD;EACE,MAAK;EACL,WAAU;EACV,cAAY;YAEZ,kBAAC,GAAD;GAAc,WAAU;GAAS,eAAY;GAAS,CAAA;EAC/C,CAAA;AAQX,QAL2B,KAAU,KAAU,EAAW,SAAS,KAAK,IAMtE,kBAAA,GAAA,EAAA,UAAA,CACE,kBAAC,GAAD;EAAoB;EAAM,cAAc;YAAxC,CACE,kBAAC,GAAD;GACE,SAAA;GACA,UAAU,MAAU,EAAM,i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QACf;SACJ;IACgB;KACT;KAEd,IACC,kBAAC,GAAD;EAAa,MAAM;EAAa,eAAe,MAAU,IAAW,KAAA,IAAY,EAAe,EAAK;YAClG,kBAAC,GAAD;GAAoB,UAAU,MAAU,EAAM,iBAAiB;aAA/D,CACE,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD,EAAA,UAAA,CACG,GACA,IAAa,KAAK,EAAW,MAAM,IACnB,EAAA,CAAA,EACnB,kBAAC,GAAD,EAAA,UAAA;IAAwB;IACS,IAAa,IAAI,EAAW,MAAM;IAAe;IAEzD,EAAA,CAAA,CACP,EAAA,CAAA,EACpB,kBAAC,GAAD,EAAA,UAAA,CACE,kBAAC,GAAD;IAAmB,UAAU;cAAU;IAA0B,CAAA,EACjE,kBAAC,GAAD;IACE,UAAU,MAAU;AAEb,KADL,EAAM,gBAAgB,EACjB,GAAqB;;IAE5B,UAAU;IACV,WAAW,EAAe,EAAE,SAAS,eAAe,CAAC;cAEpD,IAAW,cAAc;IACR,CAAA,CACF,EAAA,CAAA,CACD;;EACT,CAAA,GACZ,KACH,EAAA,CAAA,GA3FI"}
1
+ {"version":3,"file":"ActionMenu.js","names":["_Fragment","DANGER_ITEM_CLASS","ActionMenu","menuId","useId","open","setOpen","useState","confirmOpen","setConfirmOpen","deleting","setDeleting","close","useCallback","handleConfirmDelete","onDelete","triggerNode","trigger","ariaLabel","MoreVertical","onView","onEdit","extraItems","Fragment","DropdownMenu","DropdownMenuTrigger","event","DropdownMenuContent","DropdownMenuItem","Eye","Pencil","Icon","item","DropdownMenuSeparator","Trash2","deleteLabel","AlertDialog","next","AlertDialogContent","AlertDialogHeader","AlertDialogTitle","entityName","AlertDialogDescription","AlertDialogFooter","AlertDialogCancel","AlertDialogAction","buttonVariants"],"sources":["../../../src/eventfullymanaged/components/ActionMenu.tsx"],"sourcesContent":["import { useCallback, useId, useState, type ReactNode } from 'react';\nimport type { LucideIcon } from 'lucide-react';\nimport { Eye, MoreVertical, Pencil, Trash2 } from 'lucide-react';\nimport {\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogFooter,\n AlertDialogHeader,\n AlertDialogTitle,\n buttonVariants,\n DropdownMenu,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from '@burdenoff/fe-libs/ui';\nimport { useExclusiveMenu } from '@burdenoff/fe-libs/shared/hooks';\n\nexport interface ActionMenuItem {\n key: string;\n label: string;\n icon?: LucideIcon;\n onSelect: () => void;\n variant?: 'default' | 'danger';\n disabled?: boolean;\n separatorBefore?: boolean;\n}\n\nexport interface ActionMenuProps {\n /** Accessible name for the trigger, e.g. \"Sponsor actions\". */\n ariaLabel: string;\n /** View handler — renders the \"View\" item when provided. */\n onView?: () => void;\n /** Edit handler — renders the \"Edit\" item when provided. */\n onEdit?: () => void;\n /**\n * Delete handler — renders a danger \"Delete\" item that first opens a confirm\n * dialog. May be async; the dialog stays open until it resolves.\n */\n onDelete?: () => void | Promise<void>;\n /** Name shown inside the delete confirmation (\"Delete \\\"Acme Corp\\\"?\"). */\n entityName?: string;\n /** Label for the danger item + confirm button. Defaults to \"Delete\". */\n deleteLabel?: string;\n /** Additional items inserted before the Delete action. */\n extraItems?: ActionMenuItem[];\n align?: 'start' | 'end';\n /** Custom trigger; defaults to a kebab icon button. */\n trigger?: ReactNode;\n}\n\nconst DANGER_ITEM_CLASS = 'text-status-error-text focus:text-status-error-text';\n\n/**\n * Canonical row overflow menu (View / Edit / Delete) for EventfullyManaged list\n * pages. Built on the fe-libs Radix DropdownMenu (keyboard nav, Escape,\n * outside-click, focus return) and coordinated across the page via\n * `useExclusiveMenu`, so opening one row's menu closes any other. Delete routes\n * through an AlertDialog confirm before the destructive handler fires.\n *\n * Safe inside clickable cards: the trigger and content stop click propagation.\n */\nexport function ActionMenu({\n ariaLabel,\n onView,\n onEdit,\n onDelete,\n entityName,\n deleteLabel = 'Delete',\n extraItems = [],\n align = 'end',\n trigger,\n}: ActionMenuProps) {\n const menuId = useId();\n const [open, setOpen] = useState(false);\n const [confirmOpen, setConfirmOpen] = useState(false);\n const [deleting, setDeleting] = useState(false);\n\n const close = useCallback(() => setOpen(false), []);\n // Close this menu whenever another exclusive menu on the page opens.\n useExclusiveMenu(menuId, open, close);\n\n const handleConfirmDelete = async () => {\n if (!onDelete) {\n return;\n }\n try {\n setDeleting(true);\n await onDelete();\n setConfirmOpen(false);\n } catch {\n // The handler surfaces its own error (toast); keep the dialog open so the\n // user can retry or cancel rather than silently dismissing.\n } finally {\n setDeleting(false);\n }\n };\n\n const triggerNode = trigger ?? (\n <button\n type=\"button\"\n className=\"inline-flex size-9 items-center justify-center rounded-button text-text-secondary transition-colors hover:bg-bg-sunken hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-focus max-md:size-11\"\n aria-label={ariaLabel}\n >\n <MoreVertical className=\"size-4\" aria-hidden=\"true\" />\n </button>\n );\n\n const hasAnyItem = Boolean(onView || onEdit || extraItems.length > 0 || onDelete);\n if (!hasAnyItem) {\n return null;\n }\n\n return (\n <>\n <DropdownMenu open={open} onOpenChange={setOpen}>\n <DropdownMenuTrigger\n asChild\n onClick={(event) => event.stopPropagation()}\n onKeyDown={(event) => event.stopPropagation()}\n >\n {triggerNode}\n </DropdownMenuTrigger>\n <DropdownMenuContent\n align={align}\n className=\"min-w-44\"\n onClick={(event) => event.stopPropagation()}\n onKeyDown={(event) => event.stopPropagation()}\n >\n {onView ? (\n <DropdownMenuItem className=\"cursor-pointer gap-2\" onSelect={() => onView()}>\n <Eye className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n <span>View</span>\n </DropdownMenuItem>\n ) : null}\n {onEdit ? (\n <DropdownMenuItem className=\"cursor-pointer gap-2\" onSelect={() => onEdit()}>\n <Pencil className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n <span>Edit</span>\n </DropdownMenuItem>\n ) : null}\n {extraItems.map((item) => {\n const Icon = item.icon;\n return (\n <div key={item.key} className=\"contents\">\n {item.separatorBefore ? <DropdownMenuSeparator /> : null}\n <DropdownMenuItem\n disabled={item.disabled}\n onSelect={() => item.onSelect()}\n className={`cursor-pointer gap-2 ${item.variant === 'danger' ? DANGER_ITEM_CLASS : ''}`}\n >\n {Icon ? <Icon className=\"size-4 shrink-0\" aria-hidden=\"true\" /> : null}\n <span className=\"min-w-0 truncate\">{item.label}</span>\n </DropdownMenuItem>\n </div>\n );\n })}\n {onDelete ? (\n <div className=\"contents\">\n {onView || onEdit || extraItems.length > 0 ? <DropdownMenuSeparator /> : null}\n <DropdownMenuItem\n className={`cursor-pointer gap-2 ${DANGER_ITEM_CLASS}`}\n onSelect={() => setConfirmOpen(true)}\n >\n <Trash2 className=\"size-4 shrink-0\" aria-hidden=\"true\" />\n <span>{deleteLabel}</span>\n </DropdownMenuItem>\n </div>\n ) : null}\n </DropdownMenuContent>\n </DropdownMenu>\n\n {onDelete ? (\n <AlertDialog open={confirmOpen} onOpenChange={(next) => (deleting ? undefined : setConfirmOpen(next))}>\n <AlertDialogContent onClick={(event) => event.stopPropagation()}>\n <AlertDialogHeader>\n <AlertDialogTitle>\n {deleteLabel}\n {entityName ? ` “${entityName}”?` : '?'}\n </AlertDialogTitle>\n <AlertDialogDescription>\n This action cannot be undone. {entityName ? `“${entityName}” ` : 'This record '}\n will be permanently removed.\n </AlertDialogDescription>\n </AlertDialogHeader>\n <AlertDialogFooter>\n <AlertDialogCancel disabled={deleting}>Cancel</AlertDialogCancel>\n <AlertDialogAction\n onClick={(event) => {\n event.preventDefault();\n void handleConfirmDelete();\n }}\n disabled={deleting}\n className={buttonVariants({ variant: 'destructive' })}\n >\n {deleting ? 'Deleting…' : deleteLabel}\n </AlertDialogAction>\n </AlertDialogFooter>\n </AlertDialogContent>\n </AlertDialog>\n ) : null}\n </>\n );\n}\n"],"mappings":";;;;;;AAsDA,IAAMC,IAAoB;AAW1B,SAAgBC,EAAW,EACzB,cACA,WACA,WACA,a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,GACAM,IAAa,KAAKA,EAAW,MAAM,GACpB,EAAA,CAAA,GAClB,kBAACC,GAAD,EAAA,UAAA;IAAwB;IACSD,IAAa,IAAIA,EAAW,MAAM;IAAe;GAE1D,EAAA,CAAA,CACP,EAAA,CAAA,GACnB,kBAACE,GAAD,EAAA,UAAA,CACE,kBAACC,GAAD;IAAmB,UAAUlC;IAAU,UAAA;GAAyB,CAAA,GAChE,kBAACmC,GAAD;IACE,UAAU,MAAU;KAElB,AADAnB,EAAM,eAAe,GACrBZ,EAAyB;IAC3B;IACA,UAAUJ;IACV,WAAWoC,EAAe,EAAE,SAAS,cAAc,CAAC;IAEnD,UAAApC,IAAW,cAAcyB;GACT,CAAA,CACF,EAAA,CAAA,CACD;;CACT,CAAA,IACX,IACJ,EAAA,CAAA,IA3FK;AA6FX"}
@@ -0,0 +1,11 @@
1
+ import { EventGql } from '../api/eventApi';
2
+
3
+ export declare function AttendanceForecast({ events, total, loading, failed, loadMore, reload, }: {
4
+ events: EventGql[];
5
+ total: number;
6
+ loading: boolean;
7
+ failed: boolean;
8
+ loadMore: () => Promise<unknown>;
9
+ reload: () => Promise<unknown>;
10
+ }): import("react").JSX.Element;
11
+ //# sourceMappingURL=AttendanceForecast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttendanceForecast.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/AttendanceForecast.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAoKhD,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,KAAK,EACL,OAAO,EACP,MAAM,EACN,QAAQ,EACR,MAAM,GACP,EAAE;IACD,MAAM,EAAE,QAAQ,EAAE,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CAChC,+BAqFA"}
@@ -0,0 +1,215 @@
1
+ import { useEventfullymanagedForecastAttendanceMutation as e, useEventfullymanagedSavedAttendanceForecastQuery as t } from "../../generated/wspace-operations.js";
2
+ import { describeError as n } from "../lib/mutationResult.js";
3
+ import { useState as r } from "react";
4
+ import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
5
+ import { Badge as s, Button as c, GlassCard as l, Select as u, SelectContent as d, SelectItem as f, SelectTrigger as p, SelectValue as m } from "@burdenoff/fe-libs/ui";
6
+ // src/eventfullymanaged/components/AttendanceForecast.tsx
7
+ function h(e) {
8
+ if (typeof e != "object" || !e || !("eventId" in e) || typeof e.eventId != "string" || !("predictedAttendance" in e) || typeof e.predictedAttendance != "number" || !("registered" in e) || typeof e.registered != "number" || !("low" in e) || typeof e.low != "number" || !("high" in e) || typeof e.high != "number" || !("confidence" in e) || typeof e.confidence != "string" || !("coldStart" in e) || typeof e.coldStart != "boolean") return null;
9
+ let t = "coldStartReason" in e && typeof e.coldStartReason == "string" ? e.coldStartReason : null;
10
+ return {
11
+ eventId: e.eventId,
12
+ predictedAttendance: e.predictedAttendance,
13
+ registered: e.registered,
14
+ low: e.low,
15
+ high: e.high,
16
+ confidence: e.confidence,
17
+ coldStart: e.coldStart,
18
+ coldStartReason: t
19
+ };
20
+ }
21
+ function g(t) {
22
+ let [i, a] = e(), [o, s] = r(null);
23
+ return {
24
+ result: a.data?.eventfullyManagedForecastAttendance,
25
+ loading: a.loading,
26
+ error: o,
27
+ generate: async () => {
28
+ s(null);
29
+ try {
30
+ let e = await i({ variables: { eventId: t } });
31
+ (e.error || !e.data?.eventfullyManagedForecastAttendance) && s(e.error ? n(e.error) ?? "The forecast could not be generated." : "No forecast was returned. Please try again.");
32
+ } catch (e) {
33
+ s(n(e) ?? "The forecast could not be generated. Please try again.");
34
+ }
35
+ }
36
+ };
37
+ }
38
+ function _(e) {
39
+ if (!e) return null;
40
+ let t = new Date(e);
41
+ return Number.isNaN(t.getTime()) ? null : t.toLocaleString();
42
+ }
43
+ function v({ forecast: e, generatedAt: t }) {
44
+ let n = _(t);
45
+ return /* @__PURE__ */ o("div", {
46
+ className: "space-y-3",
47
+ "aria-live": "polite",
48
+ children: [
49
+ /* @__PURE__ */ o("div", {
50
+ className: "flex flex-wrap items-center gap-3",
51
+ children: [/* @__PURE__ */ o("p", {
52
+ className: "text-2xl font-semibold tabular-nums text-text-primary",
53
+ children: [e.predictedAttendance.toLocaleString(), " expected attendees"]
54
+ }), /* @__PURE__ */ o(s, {
55
+ variant: e.confidence === "LOW" ? "warning" : "info",
56
+ children: [e.confidence.toLowerCase(), " confidence"]
57
+ })]
58
+ }),
59
+ /* @__PURE__ */ o("p", {
60
+ className: "text-sm text-text-secondary",
61
+ children: [
62
+ "90% planning range: ",
63
+ e.low.toLocaleString(),
64
+ "–",
65
+ e.high.toLocaleString(),
66
+ " ·",
67
+ " ",
68
+ e.registered.toLocaleString(),
69
+ " registered"
70
+ ]
71
+ }),
72
+ e.coldStart && /* @__PURE__ */ a("p", {
73
+ className: "text-sm text-status-warning-text",
74
+ children: e.coldStartReason ?? "Limited historical check-ins. This forecast uses a baseline assumption."
75
+ }),
76
+ /* @__PURE__ */ o("p", {
77
+ className: "text-xs text-text-muted",
78
+ children: ["Estimate for planning; actual turnout may differ. Generating a forecast does not change your event or sessions.", n && /* @__PURE__ */ o(i, { children: [
79
+ " Last generated ",
80
+ n,
81
+ "."
82
+ ] })]
83
+ })
84
+ ]
85
+ });
86
+ }
87
+ function y({ loading: e, failed: t, hasSnapshot: n }) {
88
+ return t ? null : e ? /* @__PURE__ */ a("p", {
89
+ role: "status",
90
+ className: "text-sm text-text-secondary",
91
+ children: "Loading saved forecast…"
92
+ }) : /* @__PURE__ */ a("p", {
93
+ className: "text-sm text-text-secondary",
94
+ children: n ? "The saved forecast uses an unsupported format. Generate a fresh forecast to view it here." : "No forecast yet. Generate one using this event's registrations and past check-ins."
95
+ });
96
+ }
97
+ function b(e, t) {
98
+ return e ? "Forecasting…" : t ? "Refresh forecast" : "Generate forecast";
99
+ }
100
+ function x({ eventId: e }) {
101
+ let n = t({
102
+ variables: { eventId: e },
103
+ fetchPolicy: "network-only"
104
+ }), r = g(e), i = n.data?.eventfullyManagedAiDecision, s = r.result, l = s ?? h(i?.data), u = l?.eventId === e ? l : null, d = s?.engine?.generatedAt ?? i?.generatedAt, f = r.error ?? (!s && n.error ? "The saved forecast could not be loaded. You can retry by generating a new forecast." : null);
105
+ return /* @__PURE__ */ o("div", {
106
+ className: "mt-4 space-y-3",
107
+ children: [
108
+ /* @__PURE__ */ a(c, {
109
+ className: "min-h-11",
110
+ type: "button",
111
+ variant: "secondary",
112
+ onClick: () => void r.generate(),
113
+ disabled: r.loading,
114
+ children: b(r.loading, !!u)
115
+ }),
116
+ f && /* @__PURE__ */ a("p", {
117
+ role: "alert",
118
+ className: "text-sm text-status-error-text",
119
+ children: f
120
+ }),
121
+ u ? /* @__PURE__ */ a(v, {
122
+ forecast: u,
123
+ generatedAt: d
124
+ }) : /* @__PURE__ */ a(y, {
125
+ loading: n.loading,
126
+ failed: !!n.error,
127
+ hasSnapshot: !!i
128
+ })
129
+ ]
130
+ });
131
+ }
132
+ function S({ events: e, total: t, loading: n, failed: i, loadMore: s, reload: h }) {
133
+ let [g, _] = r(""), [v, y] = r(!1), [b, S] = r(!1), C = e.some((e) => e.id === g) ? g : e[0]?.id ?? "", w = async () => {
134
+ y(!0), S(!1);
135
+ try {
136
+ await (i ? h() : s());
137
+ } catch {
138
+ S(!0);
139
+ } finally {
140
+ y(!1);
141
+ }
142
+ };
143
+ return /* @__PURE__ */ o(l, {
144
+ treatment: "insight",
145
+ className: "p-5",
146
+ children: [
147
+ /* @__PURE__ */ o("div", {
148
+ className: "flex flex-wrap items-center justify-between gap-3",
149
+ children: [/* @__PURE__ */ o("div", { children: [/* @__PURE__ */ a("h2", {
150
+ className: "text-base font-semibold text-text-primary",
151
+ children: "Attendance forecast"
152
+ }), /* @__PURE__ */ a("p", {
153
+ className: "mt-1 text-sm text-text-secondary",
154
+ children: "Plan staffing and catering with an estimate from real registration and check-in history."
155
+ })] }), e.length > 0 && /* @__PURE__ */ o(u, {
156
+ value: C,
157
+ onValueChange: _,
158
+ children: [/* @__PURE__ */ a(p, {
159
+ "aria-label": "Forecast event",
160
+ className: "min-h-11 w-full sm:w-64",
161
+ children: /* @__PURE__ */ a(m, {})
162
+ }), /* @__PURE__ */ a(d, { children: e.map((e) => /* @__PURE__ */ a(f, {
163
+ value: e.id,
164
+ children: e.name
165
+ }, e.id)) })]
166
+ })]
167
+ }),
168
+ (i || b) && /* @__PURE__ */ o("div", {
169
+ className: "mt-3 flex flex-wrap items-center gap-3",
170
+ children: [/* @__PURE__ */ a("p", {
171
+ role: "alert",
172
+ className: "text-sm text-status-error-text",
173
+ children: "Events could not be loaded. Please try again."
174
+ }), /* @__PURE__ */ a(c, {
175
+ className: "min-h-11",
176
+ type: "button",
177
+ variant: "ghost",
178
+ disabled: n || v,
179
+ onClick: () => void w(),
180
+ children: "Retry events"
181
+ })]
182
+ }),
183
+ e.length < t && /* @__PURE__ */ o("div", {
184
+ className: "mt-3 flex flex-wrap items-center gap-3",
185
+ children: [/* @__PURE__ */ o("p", {
186
+ className: "text-xs text-text-muted",
187
+ children: [
188
+ e.length.toLocaleString(),
189
+ " of ",
190
+ t.toLocaleString(),
191
+ " events loaded."
192
+ ]
193
+ }), /* @__PURE__ */ a(c, {
194
+ className: "min-h-11",
195
+ type: "button",
196
+ variant: "ghost",
197
+ disabled: n || v,
198
+ onClick: () => void w(),
199
+ children: v ? "Loading events…" : "Load more events"
200
+ })]
201
+ }),
202
+ C ? /* @__PURE__ */ a(x, { eventId: C }, C) : n ? /* @__PURE__ */ a("p", {
203
+ role: "status",
204
+ className: "mt-4 text-sm text-text-secondary",
205
+ children: "Loading events…"
206
+ }) : i ? null : /* @__PURE__ */ a("p", {
207
+ className: "mt-4 text-sm text-text-secondary",
208
+ children: "Create an event to start forecasting attendance."
209
+ })
210
+ ]
211
+ });
212
+ }
213
+ export { S as AttendanceForecast };
214
+
215
+ //# sourceMappingURL=AttendanceForecast.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AttendanceForecast.js","names":["_Fragment","readForecast","value","reason","useForecastGeneration","generate","generated","useEventfullymanagedForecastAttendanceMutation","generationError","setGenerationError","useState","result","describeError","error","formatForecastTime","parsed","ForecastSummary","formattedTime","generatedAt","forecast","Badge","Fragment","ForecastNotice","failed","loading","hasSnapshot","forecastActionLabel","hasForecast","EventForecast","saved","useEventfullymanagedSavedAttendanceForecastQuery","generation","eventId","snapshot","latest","current","Button","AttendanceForecast","selected","setSelected","loadingMore","setLoadingMore","loadMoreFailed","setLoadMoreFailed","events","event","onLoadMore","reload","loadMore","GlassCard","Select","SelectTrigger","SelectValue","SelectContent","SelectItem","total"],"sources":["../../../src/eventfullymanaged/components/AttendanceForecast.tsx"],"sourcesContent":["import { useState } from 'react';\nimport {\n Badge,\n Button,\n GlassCard,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@burdenoff/fe-libs/ui';\n\nimport {\n useEventfullymanagedForecastAttendanceMutation,\n useEventfullymanagedSavedAttendanceForecastQuery,\n} from '../../generated/wspace-operations';\nimport type { EventGql } from '../api/eventApi';\nimport { describeError } from '../lib/mutationResult';\n\ntype Forecast = {\n eventId: string;\n predictedAttendance: number;\n registered: number;\n low: number;\n high: number;\n confidence: string;\n coldStart: boolean;\n coldStartReason?: string | null;\n};\n\n/** Snapshot JSON is versioned server data; reject incompatible payloads instead of inventing values. */\nfunction readForecast(value: unknown): Forecast | null {\n if (typeof value !== 'object' || value === null) return null;\n if (!('eventId' in value) || typeof value.eventId !== 'string') return null;\n if (!('predictedAttendance' in value) || typeof value.predictedAttendance !== 'number') return null;\n if (!('registered' in value) || typeof value.registered !== 'number') return null;\n if (!('low' in value) || typeof value.low !== 'number') return null;\n if (!('high' in value) || typeof value.high !== 'number') return null;\n if (!('confidence' in value) || typeof value.confidence !== 'string') return null;\n if (!('coldStart' in value) || typeof value.coldStart !== 'boolean') return null;\n const reason = 'coldStartReason' in value && typeof value.coldStartReason === 'string' ? value.coldStartReason : null;\n return {\n eventId: value.eventId,\n predictedAttendance: value.predictedAttendance,\n registered: value.registered,\n low: value.low,\n high: value.high,\n confidence: value.confidence,\n coldStart: value.coldStart,\n coldStartReason: reason,\n };\n}\n\nfunction useForecastGeneration(eventId: string) {\n const [generate, generated] = useEventfullymanagedForecastAttendanceMutation();\n const [generationError, setGenerationError] = useState<string | null>(null);\n const onGenerate = async () => {\n setGenerationError(null);\n try {\n const result = await generate({ variables: { eventId } });\n if (result.error || !result.data?.eventfullyManagedForecastAttendance) {\n setGenerationError(\n result.error\n ? (describeError(result.error) ?? 'The forecast could not be generated.')\n : 'No forecast was returned. Please try again.'\n );\n }\n } catch (error) {\n setGenerationError(describeError(error) ?? 'The forecast could not be generated. Please try again.');\n }\n };\n\n return {\n result: generated.data?.eventfullyManagedForecastAttendance,\n loading: generated.loading,\n error: generationError,\n generate: onGenerate,\n };\n}\n\nfunction formatForecastTime(value?: string | null): string | null {\n if (!value) return null;\n const parsed = new Date(value);\n return Number.isNaN(parsed.getTime()) ? null : parsed.toLocaleString();\n}\n\nfunction ForecastSummary({ forecast, generatedAt }: { forecast: Forecast; generatedAt?: string | null }) {\n const formattedTime = formatForecastTime(generatedAt);\n return (\n <div className=\"space-y-3\" aria-live=\"polite\">\n <div className=\"flex flex-wrap items-center gap-3\">\n <p className=\"text-2xl font-semibold tabular-nums text-text-primary\">\n {forecast.predictedAttendance.toLocaleString()} expected attendees\n </p>\n <Badge variant={forecast.confidence === 'LOW' ? 'warning' : 'info'}>\n {forecast.confidence.toLowerCase()} confidence\n </Badge>\n </div>\n <p className=\"text-sm text-text-secondary\">\n 90% planning range: {forecast.low.toLocaleString()}–{forecast.high.toLocaleString()} ·{' '}\n {forecast.registered.toLocaleString()} registered\n </p>\n {forecast.coldStart && (\n <p className=\"text-sm text-status-warning-text\">\n {forecast.coldStartReason ?? 'Limited historical check-ins. This forecast uses a baseline assumption.'}\n </p>\n )}\n <p className=\"text-xs text-text-muted\">\n Estimate for planning; actual turnout may differ. Generating a forecast does not change your event or sessions.\n {formattedTime && <> Last generated {formattedTime}.</>}\n </p>\n </div>\n );\n}\n\nfunction ForecastNotice({ loading, failed, hasSnapshot }: { loading: boolean; failed: boolean; hasSnapshot: boolean }) {\n if (failed) return null;\n if (loading)\n return (\n <p role=\"status\" className=\"text-sm text-text-secondary\">\n Loading saved forecast…\n </p>\n );\n return (\n <p className=\"text-sm text-text-secondary\">\n {hasSnapshot\n ? 'The saved forecast uses an unsupported format. Generate a fresh forecast to view it here.'\n : \"No forecast yet. Generate one using this event's registrations and past check-ins.\"}\n </p>\n );\n}\n\nfunction forecastActionLabel(loading: boolean, hasForecast: boolean): string {\n if (loading) return 'Forecasting…';\n return hasForecast ? 'Refresh forecast' : 'Generate forecast';\n}\n\n/** Event keys also scope mutation state when a request finishes after an event switch. */\nfunction EventForecast({ eventId }: { eventId: string }) {\n const saved = useEventfullymanagedSavedAttendanceForecastQuery({\n variables: { eventId },\n fetchPolicy: 'network-only',\n });\n const generation = useForecastGeneration(eventId);\n const snapshot = saved.data?.eventfullyManagedAiDecision;\n const latest = generation.result;\n const forecast = latest ?? readForecast(snapshot?.data);\n const current = forecast?.eventId === eventId ? forecast : null;\n const generatedAt = latest?.engine?.generatedAt ?? snapshot?.generatedAt;\n const error =\n generation.error ??\n (!latest && saved.error\n ? 'The saved forecast could not be loaded. You can retry by generating a new forecast.'\n : null);\n\n return (\n <div className=\"mt-4 space-y-3\">\n <Button\n className=\"min-h-11\"\n type=\"button\"\n variant=\"secondary\"\n onClick={() => void generation.generate()}\n disabled={generation.loading}\n >\n {forecastActionLabel(generation.loading, Boolean(current))}\n </Button>\n {error && (\n <p role=\"alert\" className=\"text-sm text-status-error-text\">\n {error}\n </p>\n )}\n {current ? (\n <ForecastSummary forecast={current} generatedAt={generatedAt} />\n ) : (\n <ForecastNotice loading={saved.loading} failed={Boolean(saved.error)} hasSnapshot={Boolean(snapshot)} />\n )}\n </div>\n );\n}\n\nexport function AttendanceForecast({\n events,\n total,\n loading,\n failed,\n loadMore,\n reload,\n}: {\n events: EventGql[];\n total: number;\n loading: boolean;\n failed: boolean;\n loadMore: () => Promise<unknown>;\n reload: () => Promise<unknown>;\n}) {\n const [selected, setSelected] = useState('');\n const [loadingMore, setLoadingMore] = useState(false);\n const [loadMoreFailed, setLoadMoreFailed] = useState(false);\n const eventId = events.some((event) => event.id === selected) ? selected : (events[0]?.id ?? '');\n\n const onLoadMore = async () => {\n setLoadingMore(true);\n setLoadMoreFailed(false);\n try {\n await (failed ? reload() : loadMore());\n } catch {\n setLoadMoreFailed(true);\n } finally {\n setLoadingMore(false);\n }\n };\n\n return (\n <GlassCard treatment=\"insight\" className=\"p-5\">\n <div className=\"flex flex-wrap items-center justify-between gap-3\">\n <div>\n <h2 className=\"text-base font-semibold text-text-primary\">Attendance forecast</h2>\n <p className=\"mt-1 text-sm text-text-secondary\">\n Plan staffing and catering with an estimate from real registration and check-in history.\n </p>\n </div>\n {events.length > 0 && (\n <Select value={eventId} onValueChange={setSelected}>\n <SelectTrigger aria-label=\"Forecast event\" className=\"min-h-11 w-full sm:w-64\">\n <SelectValue />\n </SelectTrigger>\n <SelectContent>\n {events.map((event) => (\n <SelectItem key={event.id} value={event.id}>\n {event.name}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n )}\n </div>\n {(failed || loadMoreFailed) && (\n <div className=\"mt-3 flex flex-wrap items-center gap-3\">\n <p role=\"alert\" className=\"text-sm text-status-error-text\">\n Events could not be loaded. Please try again.\n </p>\n <Button\n className=\"min-h-11\"\n type=\"button\"\n variant=\"ghost\"\n disabled={loading || loadingMore}\n onClick={() => void onLoadMore()}\n >\n Retry events\n </Button>\n </div>\n )}\n {events.length < total && (\n <div className=\"mt-3 flex flex-wrap items-center gap-3\">\n <p className=\"text-xs text-text-muted\">\n {events.length.toLocaleString()} of {total.toLocaleString()} events loaded.\n </p>\n <Button\n className=\"min-h-11\"\n type=\"button\"\n variant=\"ghost\"\n disabled={loading || loadingMore}\n onClick={() => void onLoadMore()}\n >\n {loadingMore ? 'Loading events…' : 'Load more events'}\n </Button>\n </div>\n )}\n {eventId ? (\n <EventForecast key={eventId} eventId={eventId} />\n ) : loading ? (\n <p role=\"status\" className=\"mt-4 text-sm text-text-secondary\">\n Loading events…\n </p>\n ) : failed ? null : (\n <p className=\"mt-4 text-sm text-text-secondary\">Create an event to start forecasting attendance.</p>\n )}\n </GlassCard>\n );\n}\n"],"mappings":";;;;;;AA+BA,SAASC,EAAa,GAAiC;CAQrD,IAPI,OAAOC,KAAU,aAAYA,KAC7B,EAAE,aAAaA,MAAU,OAAOA,EAAM,WAAY,YAClD,EAAE,yBAAyBA,MAAU,OAAOA,EAAM,uBAAwB,YAC1E,EAAE,gBAAgBA,MAAU,OAAOA,EAAM,cAAe,YACxD,EAAE,SAASA,MAAU,OAAOA,EAAM,OAAQ,YAC1C,EAAE,UAAUA,MAAU,OAAOA,EAAM,QAAS,YAC5C,EAAE,gBAAgBA,MAAU,OAAOA,EAAM,cAAe,YACxD,EAAE,eAAeA,MAAU,OAAOA,EAAM,aAAc,WAAW,OAAO;CAC5E,IAAMC,IAAS,qBAAqBD,KAAS,OAAOA,EAAM,mBAAoB,WAAWA,EAAM,kBAAkB;CACjH,OAAO;EACL,SAASA,EAAM;EACf,qBAAqBA,EAAM;EAC3B,YAAYA,EAAM;EAClB,KAAKA,EAAM;EACX,MAAMA,EAAM;EACZ,YAAYA,EAAM;EAClB,WAAWA,EAAM;EACjB,iBAAiBC;CACnB;AACF;AAEA,SAASC,EAAsB,GAAiB;CAC9C,IAAM,CAACC,GAAUC,KAAaC,EAA+C,GACvE,CAACC,GAAiBC,KAAsBC,EAAwB,IAAI;CAiB1E,OAAO;EACL,QAAQJ,EAAU,MAA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KAAWgB;KACrB,eAAe,KAAKM,EAAW;KAChC,UAAA;IAEO,CAAA,CACL;;GAENF,EAAO,SAASW,KACf,kBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,kBAAC,KAAD;KAAG,WAAU;KAAb,UAAA;MACGX,EAAO,OAAO,eAAe;MAAE;MAAKW,EAAM,eAAe;MAAE;KAC3D;IACH,CAAA,GAAA,kBAACnB,GAAD;KACE,WAAU;KACV,MAAK;KACL,SAAQ;KACR,UAAUZ,KAAWgB;KACrB,eAAe,KAAKM,EAAW;KAE9B,UAAAN,IAAc,oBAAoB;IAC7B,CAAA,CACL;;GAENR,IACC,kBAACJ,GAAD,EAAsC,WAAU,GAA5BI,CAA4B,IAC9CR,IACF,kBAAC,KAAD;IAAG,MAAK;IAAS,WAAU;IAAmC,UAAA;GAE3D,CAAA,IACDD,IAAS,OACX,kBAAC,KAAD;IAAG,WAAU;IAAmC,UAAA;GAAmD,CAAA;EAE5F;;AAEf"}
@@ -23,5 +23,5 @@ export interface EntityFormShellProps {
23
23
  * `mutationSucceeded` + `notify` helpers; this shell only owns layout and the
24
24
  * submit/cancel controls.
25
25
  */
26
- export declare function EntityFormShell({ title, description, purpose, backLabel, onBack, onSubmit, submitLabel, savingLabel, saving, submitDisabled, children, }: EntityFormShellProps): import("react/jsx-runtime").JSX.Element;
26
+ export declare function EntityFormShell({ title, description, purpose, backLabel, onBack, onSubmit, submitLabel, savingLabel, saving, submitDisabled, children, }: EntityFormShellProps): import("react").JSX.Element;
27
27
  //# sourceMappingURL=EntityFormShell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityFormShell.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/EntityFormShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,WAAW,EACX,OAAO,EACP,SAAS,EACT,MAAM,EACN,QAAQ,EACR,WAAW,EACX,WAAW,EACX,MAAc,EACd,cAAsB,EACtB,QAAQ,GACT,EAAE,oBAAoB,2CA8BtB"}
1
+ {"version":3,"file":"EntityFormShell.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/EntityFormShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlD,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC,KAAK,IAAI,CAAC;IACtD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,uBAAuB;IACvB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,WAAW,EACX,OAAO,EACP,SAAS,EACT,MAAM,EACN,QAAQ,EACR,WAAW,EACX,WAAW,EACX,MAAc,EACd,cAAsB,EACtB,QAAQ,GACT,EAAE,oBAAoB,+BA8BtB"}
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
2
  import { ArrowLeft as n, Save as r } from "lucide-react";
3
3
  import { Button as i, EmphasisPanel as a, PagePurpose as o } from "@burdenoff/fe-libs/ui";
4
- //#region src/eventfullymanaged/components/EntityFormShell.tsx
4
+ // src/eventfullymanaged/components/EntityFormShell.tsx
5
5
  function s({ title: s, description: c, purpose: l, backLabel: u, onBack: d, onSubmit: f, submitLabel: p, savingLabel: m, saving: h = !1, submitDisabled: g = !1, children: _ }) {
6
6
  return /* @__PURE__ */ t("div", {
7
7
  className: "space-y-6 p-6",
@@ -45,7 +45,6 @@ function s({ title: s, description: c, purpose: l, backLabel: u, onBack: d, onSu
45
45
  ]
46
46
  });
47
47
  }
48
- //#endregion
49
48
  export { s as EntityFormShell };
50
49
 
51
50
  //# sourceMappingURL=EntityFormShell.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityFormShell.js","names":[],"sources":["../../../src/eventfullymanaged/components/EntityFormShell.tsx"],"sourcesContent":["import type { FormEvent, ReactNode } from 'react';\nimport { ArrowLeft, Save } from 'lucide-react';\nimport { Button, EmphasisPanel, PagePurpose } from '@burdenoff/fe-libs/ui';\n\nexport interface EntityFormShellProps {\n title: string;\n description?: string;\n /** Guidance copy rendered in a PagePurpose banner above the form. */\n purpose?: ReactNode;\n backLabel: string;\n onBack: () => void;\n onSubmit: (event: FormEvent<HTMLFormElement>) => void;\n submitLabel: string;\n savingLabel?: string;\n saving?: boolean;\n submitDisabled?: boolean;\n /** The form fields. */\n children: ReactNode;\n}\n\n/**\n * Shared CRUD form scaffold mirroring VenueFormPage: a back link + heading,\n * an optional PagePurpose banner, and an EmphasisPanel wrapping the fields with\n * a consistent Cancel / Save footer. Keeps the many new entity forms visually\n * and behaviourally aligned. Error handling stays in the page via the\n * `mutationSucceeded` + `notify` helpers; this shell only owns layout and the\n * submit/cancel controls.\n */\nexport function EntityFormShell({\n title,\n description,\n purpose,\n backLabel,\n onBack,\n onSubmit,\n submitLabel,\n savingLabel,\n saving = false,\n submitDisabled = false,\n children,\n}: EntityFormShellProps) {\n return (\n <div className=\"space-y-6 p-6\">\n <div>\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onBack}>\n <ArrowLeft className=\"h-4 w-4\" />\n {backLabel}\n </Button>\n <h1 className=\"mt-3 text-2xl font-bold text-text-primary\">{title}</h1>\n {description ? <p className=\"mt-1 text-sm text-text-secondary\">{description}</p> : null}\n </div>\n\n {purpose ? <PagePurpose>{purpose}</PagePurpose> : null}\n\n <EmphasisPanel>\n <form onSubmit={onSubmit} className=\"space-y-4\">\n {children}\n <div className=\"flex justify-end gap-3\">\n <Button type=\"button\" variant=\"outline\" onClick={onBack} disabled={saving}>\n Cancel\n </Button>\n <Button type=\"submit\" disabled={saving || submitDisabled}>\n <Save className=\"h-4 w-4\" />\n {saving ? (savingLabel ?? 'Saving…') : submitLabel}\n </Button>\n </div>\n </form>\n </EmphasisPanel>\n </div>\n );\n}\n"],"mappings":";;;;AA4BA,SAAgB,EAAgB,EAC9B,UACA,gBACA,YACA,cACA,WACA,aACA,gBACA,gBACA,YAAS,IACT,oBAAiB,IACjB,eACuB;AACvB,QACE,kBAAC,OAAD;EAAK,WAAU;YAAf;GACE,kBAAC,OAAD,EAAA,UAAA;IACE,kBAAC,GAAD;KAAQ,MAAK;KAAS,SAAQ;KAAQ,MAAK;KAAK,SAAS;eAAzD,CACE,kBAAC,GAAD,EAAW,WAAU,WAAY,CAAA,EAChC,EACM;;IACT,kBAAC,MAAD;KAAI,WAAU;eAA6C;KAAW,CAAA;IACrE,IAAc,kBAAC,KAAD;KAAG,WAAU;eAAoC;KAAgB,CAAA,GAAG;IAC/E,EAAA,CAAA;GAEL,IAAU,kBAAC,GAAD,EAAA,UAAc,GAAsB,CAAA,GAAG;GAElD,kBAAC,GAAD,EAAA,UACE,kBAAC,QAAD;IAAgB;IAAU,WAAU;cAApC,CACG,GACD,kBAAC,OAAD;KAAK,WAAU;eAAf,CACE,kBAAC,GAAD;MAAQ,MAAK;MAAS,SAAQ;MAAU,SAAS;MAAQ,UAAU;gBAAQ;MAElE,CAAA,EACT,kBAAC,GAAD;MAAQ,MAAK;MAAS,UAAU,KAAU;gBAA1C,CACE,kBAAC,GAAD,EAAM,WAAU,WAAY,CAAA,EAC3B,IAAU,KAAe,YAAa,EAChC;QACL;OACD;OACO,CAAA;GACZ"}
1
+ {"version":3,"file":"EntityFormShell.js","names":["EntityFormShell","Button","onBack","ArrowLeft","backLabel","title","description","purpose","PagePurpose","EmphasisPanel","children","saving","submitDisabled","Save","savingLabel","submitLabel"],"sources":["../../../src/eventfullymanaged/components/EntityFormShell.tsx"],"sourcesContent":["import type { FormEvent, ReactNode } from 'react';\nimport { ArrowLeft, Save } from 'lucide-react';\nimport { Button, EmphasisPanel, PagePurpose } from '@burdenoff/fe-libs/ui';\n\nexport interface EntityFormShellProps {\n title: string;\n description?: string;\n /** Guidance copy rendered in a PagePurpose banner above the form. */\n purpose?: ReactNode;\n backLabel: string;\n onBack: () => void;\n onSubmit: (event: FormEvent<HTMLFormElement>) => void;\n submitLabel: string;\n savingLabel?: string;\n saving?: boolean;\n submitDisabled?: boolean;\n /** The form fields. */\n children: ReactNode;\n}\n\n/**\n * Shared CRUD form scaffold mirroring VenueFormPage: a back link + heading,\n * an optional PagePurpose banner, and an EmphasisPanel wrapping the fields with\n * a consistent Cancel / Save footer. Keeps the many new entity forms visually\n * and behaviourally aligned. Error handling stays in the page via the\n * `mutationSucceeded` + `notify` helpers; this shell only owns layout and the\n * submit/cancel controls.\n */\nexport function EntityFormShell({\n title,\n description,\n purpose,\n backLabel,\n onBack,\n onSubmit,\n submitLabel,\n savingLabel,\n saving = false,\n submitDisabled = false,\n children,\n}: EntityFormShellProps) {\n return (\n <div className=\"space-y-6 p-6\">\n <div>\n <Button type=\"button\" variant=\"ghost\" size=\"sm\" onClick={onBack}>\n <ArrowLeft className=\"h-4 w-4\" />\n {backLabel}\n </Button>\n <h1 className=\"mt-3 text-2xl font-bold text-text-primary\">{title}</h1>\n {description ? <p className=\"mt-1 text-sm text-text-secondary\">{description}</p> : null}\n </div>\n\n {purpose ? <PagePurpose>{purpose}</PagePurpose> : null}\n\n <EmphasisPanel>\n <form onSubmit={onSubmit} className=\"space-y-4\">\n {children}\n <div className=\"flex justify-end gap-3\">\n <Button type=\"button\" variant=\"outline\" onClick={onBack} disabled={saving}>\n Cancel\n </Button>\n <Button type=\"submit\" disabled={saving || submitDisabled}>\n <Save className=\"h-4 w-4\" />\n {saving ? (savingLabel ?? 'Saving…') : submitLabel}\n </Button>\n </div>\n </form>\n </EmphasisPanel>\n </div>\n );\n}\n"],"mappings":";;;;AA4BA,SAAgBA,EAAgB,EAC9B,UACA,gBACA,YACA,cACA,WACA,aACA,gBACA,gBACA,YAAS,IACT,oBAAiB,IACjB,eACuB;CACvB,OACE,kBAAC,OAAD;EAAK,WAAU;EAAf,UAAA;GACE,kBAAC,OAAD,EAAA,UAAA;IACE,kBAACC,GAAD;KAAQ,MAAK;KAAS,SAAQ;KAAQ,MAAK;KAAK,SAASC;KAAzD,UAAA,CACE,kBAACC,GAAD,EAAW,WAAU,UAAW,CAAA,GAC/BC,CACK;;IACR,kBAAC,MAAD;KAAI,WAAU;KAA6C,UAAAC;IAAU,CAAA;IACpEC,IAAc,kBAAC,KAAD;KAAG,WAAU;KAAoC,UAAAA;IAAe,CAAA,IAAI;GAChF,EAAA,CAAA;GAEJC,IAAU,kBAACC,GAAD,EAAA,UAAcD,EAAqB,CAAA,IAAI;GAElD,kBAACE,GAAD,EAAA,UACE,kBAAC,QAAD;IAAgB;IAAU,WAAU;IAApC,UAAA,CACGC,GACD,kBAAC,OAAD;KAAK,WAAU;KAAf,UAAA,CACE,kBAACT,GAAD;MAAQ,MAAK;MAAS,SAAQ;MAAU,SAASC;MAAQ,UAAUS;MAAQ,UAAA;KAEnE,CAAA,GACR,kBAACV,GAAD;MAAQ,MAAK;MAAS,UAAUU,KAAUC;MAA1C,UAAA,CACE,kBAACC,GAAD,EAAM,WAAU,UAAW,CAAA,GAC1BF,IAAUG,KAAe,YAAaC,CACjC;KACL,CAAA,CAAA;IACD,CAAA,CAAA;GACO,CAAA,EAAA,CAAA;EACZ;;AAET"}
@@ -15,5 +15,5 @@ export interface EntityTagsFieldProps {
15
15
  * minting a brand-new tag, and detaching — each mutation refetches the
16
16
  * assignment list so the field stays in sync.
17
17
  */
18
- export declare function EntityTagsField({ entityType, entityId, label, className }: EntityTagsFieldProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function EntityTagsField({ entityType, entityId, label, className }: EntityTagsFieldProps): import("react").JSX.Element;
19
19
  //# sourceMappingURL=EntityTagsField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityTagsField.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/EntityTagsField.tsx"],"names":[],"mappings":"AAuBA,MAAM,WAAW,oBAAoB;IACnC,mFAAmF;IACnF,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAc,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CA0KxG"}
1
+ {"version":3,"file":"EntityTagsField.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/EntityTagsField.tsx"],"names":[],"mappings":"AAuBA,MAAM,WAAW,oBAAoB;IACnC,mFAAmF;IACnF,UAAU,EAAE,MAAM,CAAC;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAc,EAAE,SAAS,EAAE,EAAE,oBAAoB,+BA0KxG"}
@@ -1,52 +1,52 @@
1
- import { notify as e } from "../lib/toast.js";
2
- import { useAvailableTagsQuery as t, useCreateEntityTagMutation as n, useEntityTagsQuery as r, useTagEntityMutation as i, useUntagEntityMutation as a } from "../api/eventApi.js";
3
- import { describeError as o, mutationSucceeded as s } from "../lib/mutationResult.js";
1
+ import { useAvailableTagsQuery as e, useCreateEntityTagMutation as t, useEntityTagsQuery as n, useTagEntityMutation as r, useUntagEntityMutation as i } from "../api/eventApi.js";
2
+ import { describeError as a, mutationSucceeded as o } from "../lib/mutationResult.js";
3
+ import { notify as s } from "../lib/toast.js";
4
4
  import { useMemo as c, useState as l } from "react";
5
5
  import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
6
6
  import { Plus as p, Tag as m, X as h } from "lucide-react";
7
7
  import { Badge as g, Button as _, Input as v, Select as y, SelectContent as b, SelectItem as x, SelectTrigger as S, SelectValue as C } from "@burdenoff/fe-libs/ui";
8
- //#region src/eventfullymanaged/components/EntityTagsField.tsx
8
+ // src/eventfullymanaged/components/EntityTagsField.tsx
9
9
  function w({ entityType: w, entityId: T, label: E = "Tags", className: D }) {
10
- let [O, k] = l(""), [A, j] = l(""), M = !!T, N = r({ input: {
10
+ let [O, k] = l(""), [A, j] = l(""), M = !!T, N = n({ input: {
11
11
  entityType: w,
12
12
  entityId: T
13
- } }), { data: P } = t({ limit: 100 }), [F, { loading: I }] = i(), [L, { loading: R }] = a(), [z, { loading: B }] = n(), V = c(() => N.data?.eventfullyManagedEntityTags ?? [], [N.data]), H = c(() => new Set(V.map((e) => e.tagId)), [V]), U = c(() => (P?.availableEventfullyManagedTags ?? []).filter((e) => !H.has(e.id)), [P, H]), W = I || R || B, G = async (e) => {
13
+ } }), { data: P } = e({ limit: 100 }), [F, { loading: I }] = r(), [L, { loading: R }] = i(), [z, { loading: B }] = t(), V = c(() => N.data?.eventfullyManagedEntityTags ?? [], [N.data]), H = c(() => new Set(V.map((e) => e.tagId)), [V]), U = c(() => (P?.availableEventfullyManagedTags ?? []).filter((e) => !H.has(e.id)), [P, H]), W = I || R || B, G = async (e) => {
14
14
  let t = await F({ variables: { input: {
15
15
  entityType: w,
16
16
  entityId: T,
17
17
  tagId: e,
18
18
  source: "manual"
19
19
  } } });
20
- return s(t, t.data?.tagEventfullyManagedEntity?.id, "Could not add tag") ? (await N.refetch(), !0) : !1;
20
+ return o(t, t.data?.tagEventfullyManagedEntity?.id, "Could not add tag") ? (await N.refetch(), !0) : !1;
21
21
  }, K = async () => {
22
22
  if (A) try {
23
23
  await G(A) && j("");
24
- } catch (t) {
25
- e.error("Could not add tag", o(t));
24
+ } catch (e) {
25
+ s.error("Could not add tag", a(e));
26
26
  }
27
27
  }, q = async () => {
28
- let t = O.trim();
29
- if (t) try {
30
- let e = await z({ variables: { input: { label: t } } }), n = e.data?.createEventfullyManagedEntityTag?.id;
31
- if (!s(e, n, "Could not create tag") || !n) return;
28
+ let e = O.trim();
29
+ if (e) try {
30
+ let t = await z({ variables: { input: { label: e } } }), n = t.data?.createEventfullyManagedEntityTag?.id;
31
+ if (!o(t, n, "Could not create tag") || !n) return;
32
32
  await G(n) && k("");
33
- } catch (t) {
34
- e.error("Could not create tag", o(t));
33
+ } catch (e) {
34
+ s.error("Could not create tag", a(e));
35
35
  }
36
- }, J = async (t) => {
36
+ }, J = async (e) => {
37
37
  try {
38
- let n = await L({ variables: { input: {
38
+ let t = await L({ variables: { input: {
39
39
  entityType: w,
40
40
  entityId: T,
41
- tagId: t
41
+ tagId: e
42
42
  } } });
43
- if (n.error) {
44
- e.error("Could not remove tag", n.error.message);
43
+ if (t.error) {
44
+ s.error("Could not remove tag", t.error.message);
45
45
  return;
46
46
  }
47
47
  await N.refetch();
48
- } catch (t) {
49
- e.error("Could not remove tag", o(t));
48
+ } catch (e) {
49
+ s.error("Could not remove tag", a(e));
50
50
  }
51
51
  };
52
52
  return /* @__PURE__ */ f("div", {
@@ -140,7 +140,6 @@ function w({ entityType: w, entityId: T, label: E = "Tags", className: D }) {
140
140
  })]
141
141
  });
142
142
  }
143
- //#endregion
144
143
  export { w as EntityTagsField };
145
144
 
146
145
  //# sourceMappingURL=EntityTagsField.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EntityTagsField.js","names":[],"sources":["../../../src/eventfullymanaged/components/EntityTagsField.tsx"],"sourcesContent":["import { useMemo, useState } from 'react';\nimport { Plus, Tag as TagIcon, X } from 'lucide-react';\nimport {\n Badge,\n Button,\n Input,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@burdenoff/fe-libs/ui';\n\nimport {\n useAvailableTagsQuery,\n useCreateEntityTagMutation,\n useEntityTagsQuery,\n useTagEntityMutation,\n useUntagEntityMutation,\n} from '../api/eventApi';\nimport { describeError, mutationSucceeded } from '../lib/mutationResult';\nimport { notify } from '../lib/toast';\n\nexport interface EntityTagsFieldProps {\n /** Entity kind, e.g. \"sponsor\", \"event\", \"session\". Namespaces the assignments. */\n entityType: string;\n /** Target row id. When empty (create form) the field prompts to save first. */\n entityId: string;\n label?: string;\n className?: string;\n}\n\n/**\n * Inline tag editor for any EventfullyManaged entity, keyed by\n * `(entityType, entityId)`. Reads current assignments via\n * `eventfullyManagedEntityTags` and renders each chip from the INLINE\n * `tagInfo { label, color }` (never the federated `tag {}` field, which the\n * gateway does not resolve here). Supports attaching an existing workspace tag,\n * minting a brand-new tag, and detaching — each mutation refetches the\n * assignment list so the field stays in sync.\n */\nexport function EntityTagsField({ entityType, entityId, label = 'Tags', className }: EntityTagsFieldProps) {\n const [newLabel, setNewLabel] = useState('');\n const [selectedTagId, setSelectedTagId] = useState('');\n\n const enabled = Boolean(entityId);\n const assignmentsQuery = useEntityTagsQuery({ input: { entityType, entityId } });\n const { data: availableData } = useAvailableTagsQuery({ limit: 100 });\n const [tagEntity, { loading: tagging }] = useTagEntityMutation();\n const [untagEntity, { loading: untagging }] = useUntagEntityMutation();\n const [createTag, { loading: creating }] = useCreateEntityTagMutation();\n\n const assignments = useMemo(() => assignmentsQuery.data?.eventfullyManagedEntityTags ?? [], [assignmentsQuery.data]);\n const assignedTagIds = useMemo(() => new Set(assignments.map((a) => a.tagId)), [assignments]);\n const available = useMemo(\n () => (availableData?.availableEventfullyManagedTags ?? []).filter((tag) => !assignedTagIds.has(tag.id)),\n [availableData, assignedTagIds]\n );\n\n const busy = tagging || untagging || creating;\n\n const attachTag = async (tagId: string) => {\n const response = await tagEntity({ variables: { input: { entityType, entityId, tagId, source: 'manual' } } });\n if (!mutationSucceeded(response, response.data?.tagEventfullyManagedEntity?.id, 'Could not add tag')) {\n return false;\n }\n await assignmentsQuery.refetch();\n return true;\n };\n\n const onAttachExisting = async () => {\n if (!selectedTagId) {\n return;\n }\n try {\n if (await attachTag(selectedTagId)) {\n setSelectedTagId('');\n }\n } catch (error) {\n notify.error('Could not add tag', describeError(error));\n }\n };\n\n const onCreateAndAttach = async () => {\n const trimmed = newLabel.trim();\n if (!trimmed) {\n return;\n }\n try {\n const created = await createTag({ variables: { input: { label: trimmed } } });\n const createdId = created.data?.createEventfullyManagedEntityTag?.id;\n if (!mutationSucceeded(created, createdId, 'Could not create tag') || !createdId) {\n return;\n }\n if (await attachTag(createdId)) {\n setNewLabel('');\n }\n } catch (error) {\n notify.error('Could not create tag', describeError(error));\n }\n };\n\n const onRemove = async (tagId: string) => {\n try {\n const response = await untagEntity({ variables: { input: { entityType, entityId, tagId } } });\n if (response.error) {\n notify.error('Could not remove tag', response.error.message);\n return;\n }\n await assignmentsQuery.refetch();\n } catch (error) {\n notify.error('Could not remove tag', describeError(error));\n }\n };\n\n return (\n <div className={`space-y-2 ${className ?? ''}`}>\n <div className=\"flex items-center gap-2 text-sm font-medium text-text-primary\">\n <TagIcon className=\"h-4 w-4 text-text-muted\" aria-hidden=\"true\" />\n <span>{label}</span>\n </div>\n\n {!enabled ? (\n <p className=\"text-sm text-text-secondary\">Save this record first to start adding tags.</p>\n ) : (\n <>\n <div className=\"flex flex-wrap gap-2\" role=\"list\" aria-label={label}>\n {assignments.length === 0 ? (\n <span className=\"text-sm text-text-secondary\">No tags yet.</span>\n ) : (\n assignments.map((assignment) => {\n const info = assignment.tagInfo;\n const color = info?.color ?? undefined;\n return (\n <Badge key={assignment.id} variant=\"secondary\" className=\"gap-1.5\" role=\"listitem\">\n {color ? (\n <span className=\"h-2 w-2 rounded-full\" style={{ backgroundColor: color }} aria-hidden=\"true\" />\n ) : null}\n <span>{info?.label ?? info?.key ?? 'Tag'}</span>\n <button\n type=\"button\"\n onClick={() => onRemove(assignment.tagId)}\n disabled={busy}\n aria-label={`Remove ${info?.label ?? 'tag'}`}\n className=\"rounded-full text-text-muted transition-colors hover:text-text-primary focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus disabled:opacity-50\"\n >\n <X className=\"h-3 w-3\" aria-hidden=\"true\" />\n </button>\n </Badge>\n );\n })\n )}\n </div>\n\n <div className=\"flex flex-col gap-2 sm:flex-row sm:items-center\">\n {available.length > 0 ? (\n <div className=\"flex items-center gap-2\">\n <Select value={selectedTagId} onValueChange={setSelectedTagId}>\n <SelectTrigger className=\"w-48\" aria-label=\"Choose an existing tag\">\n <SelectValue placeholder=\"Add existing tag\" />\n </SelectTrigger>\n <SelectContent>\n {available.map((tag) => (\n <SelectItem key={tag.id} value={tag.id}>\n {tag.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n onClick={onAttachExisting}\n disabled={!selectedTagId || busy}\n >\n Add\n </Button>\n </div>\n ) : null}\n\n <div className=\"flex items-center gap-2\">\n <Input\n value={newLabel}\n onChange={(event) => setNewLabel(event.target.value)}\n placeholder=\"New tag label\"\n aria-label=\"New tag label\"\n className=\"w-48\"\n onKeyDown={(event) => {\n if (event.key === 'Enter') {\n event.preventDefault();\n void onCreateAndAttach();\n }\n }}\n />\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n onClick={onCreateAndAttach}\n disabled={!newLabel.trim() || busy}\n >\n <Plus className=\"h-4 w-4\" />\n Create\n </Button>\n </div>\n </div>\n </>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAyCA,SAAgB,EAAgB,EAAE,eAAY,aAAU,WAAQ,QAAQ,gBAAmC;CACzG,IAAM,CAAC,GAAU,KAAe,EAAS,GAAG,EACtC,CAAC,GAAe,KAAoB,EAAS,GAAG,EAEhD,IAAU,EAAQ,GAClB,IAAmB,EAAmB,EAAE,OAAO;EAAE;EAAY;EAAU,EAAE,CAAC,EAC1E,EAAE,MAAM,MAAkB,EAAsB,EAAE,OAAO,KAAK,CAAC,EAC/D,CAAC,GAAW,EAAE,SAAS,OAAa,GAAsB,EAC1D,CAAC,GAAa,EAAE,SAAS,OAAe,GAAwB,EAChE,CAAC,GAAW,EAAE,SAAS,OAAc,GAA4B,EAEjE,IAAc,QAAc,EAAiB,MAAM,+BAA+B,EAAE,EAAE,CAAC,EAAiB,KAAK,CAAC,EAC9G,IAAiB,QAAc,IAAI,IAAI,EAAY,KAAK,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,EAAY,CAAC,EACvF,IAAY,SACT,GAAe,kCAAkC,EAAE,EAAE,QAAQ,MAAQ,CAAC,EAAe,IAAI,EAAI,GAAG,CAAC,EACxG,CAAC,GAAe,EAAe,CAChC,EAEK,IAAO,KAAW,KAAa,GAE/B,IAAY,OAAO,MAAkB;EACzC,IAAM,IAAW,MAAM,EAAU,EAAE,WAAW,EAAE,OAAO;GAAE;GAAY;GAAU;GAAO,QAAQ;GAAU,EAAE,EAAE,CAAC;AAK7G,SAJK,EA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AQ,YAChB,EAAM,gBAAgB,EACjB,GAAmB;;KAG5B,CAAA,EACF,kBAAC,GAAD;KACE,MAAK;KACL,SAAQ;KACR,MAAK;KACL,SAAS;KACT,UAAU,CAAC,EAAS,MAAM,IAAI;eALhC,CAOE,kBAAC,GAAD,EAAM,WAAU,WAAY,CAAA,EAAA,SAErB;OACL;MACF;KACL,EAAA,CAAA,GApFH,kBAAC,KAAD;GAAG,WAAU;aAA8B;GAAgD,CAAA,CAsFzF"}
1
+ {"version":3,"file":"EntityTagsField.js","names":["TagIcon","_Fragment","Badge","Badge$1","EntityTagsField","newLabel","setNewLabel","useState","selectedTagId","setSelectedTagId","enabled","entityId","assignmentsQuery","useEntityTagsQuery","availableData","useAvailableTagsQuery","tagEntity","tagging","useTagEntityMutation","untagEntity","untagging","useUntagEntityMutation","createTag","creating","useCreateEntityTagMutation","assignments","useMemo","assignedTagIds","a","available","tag","busy","attachTag","response","mutationSucceeded","onAttachExisting","error","describeError","onCreateAndAttach","trimmed","created","createdId","onRemove","className","Tag","label","Fragment","info","assignment","color","X","Select","SelectTrigger","SelectValue","SelectContent","SelectItem","Button","Input","event","Plus"],"sources":["../../../src/eventfullymanaged/components/EntityTagsField.tsx"],"sourcesContent":["import { useMemo, useState } from 'react';\nimport { Plus, Tag as TagIcon, X } from 'lucide-react';\nimport {\n Badge,\n Button,\n Input,\n Select,\n SelectContent,\n SelectItem,\n SelectTrigger,\n SelectValue,\n} from '@burdenoff/fe-libs/ui';\n\nimport {\n useAvailableTagsQuery,\n useCreateEntityTagMutation,\n useEntityTagsQuery,\n useTagEntityMutation,\n useUntagEntityMutation,\n} from '../api/eventApi';\nimport { describeError, mutationSucceeded } from '../lib/mutationResult';\nimport { notify } from '../lib/toast';\n\nexport interface EntityTagsFieldProps {\n /** Entity kind, e.g. \"sponsor\", \"event\", \"session\". Namespaces the assignments. */\n entityType: string;\n /** Target row id. When empty (create form) the field prompts to save first. */\n entityId: string;\n label?: string;\n className?: string;\n}\n\n/**\n * Inline tag editor for any EventfullyManaged entity, keyed by\n * `(entityType, entityId)`. Reads current assignments via\n * `eventfullyManagedEntityTags` and renders each chip from the INLINE\n * `tagInfo { label, color }` (never the federated `tag {}` field, which the\n * gateway does not resolve here). Supports attaching an existing workspace tag,\n * minting a brand-new tag, and detaching — each mutation refetches the\n * assignment list so the field stays in sync.\n */\nexport function EntityTagsField({ entityType, entityId, label = 'Tags', className }: EntityTagsFieldProps) {\n const [newLabel, setNewLabel] = useState('');\n const [selectedTagId, setSelectedTagId] = useState('');\n\n const enabled = Boolean(entityId);\n const assignmentsQuery = useEntityTagsQuery({ input: { entityType, entityId } });\n const { data: availableData } = useAvailableTagsQuery({ limit: 100 });\n const [tagEntity, { loading: tagging }] = useTagEntityMutation();\n const [untagEntity, { loading: untagging }] = useUntagEntityMutation();\n const [createTag, { loading: creating }] = useCreateEntityTagMutation();\n\n const assignments = useMemo(() => assignmentsQuery.data?.eventfullyManagedEntityTags ?? [], [assignmentsQuery.data]);\n const assignedTagIds = useMemo(() => new Set(assignments.map((a) => a.tagId)), [assignments]);\n const available = useMemo(\n () => (availableData?.availableEventfullyManagedTags ?? []).filter((tag) => !assignedTagIds.has(tag.id)),\n [availableData, assignedTagIds]\n );\n\n const busy = tagging || untagging || creating;\n\n const attachTag = async (tagId: string) => {\n const response = await tagEntity({ variables: { input: { entityType, entityId, tagId, source: 'manual' } } });\n if (!mutationSucceeded(response, response.data?.tagEventfullyManagedEntity?.id, 'Could not add tag')) {\n return false;\n }\n await assignmentsQuery.refetch();\n return true;\n };\n\n const onAttachExisting = async () => {\n if (!selectedTagId) {\n return;\n }\n try {\n if (await attachTag(selectedTagId)) {\n setSelectedTagId('');\n }\n } catch (error) {\n notify.error('Could not add tag', describeError(error));\n }\n };\n\n const onCreateAndAttach = async () => {\n const trimmed = newLabel.trim();\n if (!trimmed) {\n return;\n }\n try {\n const created = await createTag({ variables: { input: { label: trimmed } } });\n const createdId = created.data?.createEventfullyManagedEntityTag?.id;\n if (!mutationSucceeded(created, createdId, 'Could not create tag') || !createdId) {\n return;\n }\n if (await attachTag(createdId)) {\n setNewLabel('');\n }\n } catch (error) {\n notify.error('Could not create tag', describeError(error));\n }\n };\n\n const onRemove = async (tagId: string) => {\n try {\n const response = await untagEntity({ variables: { input: { entityType, entityId, tagId } } });\n if (response.error) {\n notify.error('Could not remove tag', response.error.message);\n return;\n }\n await assignmentsQuery.refetch();\n } catch (error) {\n notify.error('Could not remove tag', describeError(error));\n }\n };\n\n return (\n <div className={`space-y-2 ${className ?? ''}`}>\n <div className=\"flex items-center gap-2 text-sm font-medium text-text-primary\">\n <TagIcon className=\"h-4 w-4 text-text-muted\" aria-hidden=\"true\" />\n <span>{label}</span>\n </div>\n\n {!enabled ? (\n <p className=\"text-sm text-text-secondary\">Save this record first to start adding tags.</p>\n ) : (\n <>\n <div className=\"flex flex-wrap gap-2\" role=\"list\" aria-label={label}>\n {assignments.length === 0 ? (\n <span className=\"text-sm text-text-secondary\">No tags yet.</span>\n ) : (\n assignments.map((assignment) => {\n const info = assignment.tagInfo;\n const color = info?.color ?? undefined;\n return (\n <Badge key={assignment.id} variant=\"secondary\" className=\"gap-1.5\" role=\"listitem\">\n {color ? (\n <span className=\"h-2 w-2 rounded-full\" style={{ backgroundColor: color }} aria-hidden=\"true\" />\n ) : null}\n <span>{info?.label ?? info?.key ?? 'Tag'}</span>\n <button\n type=\"button\"\n onClick={() => onRemove(assignment.tagId)}\n disabled={busy}\n aria-label={`Remove ${info?.label ?? 'tag'}`}\n className=\"rounded-full text-text-muted transition-colors hover:text-text-primary focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-border-focus disabled:opacity-50\"\n >\n <X className=\"h-3 w-3\" aria-hidden=\"true\" />\n </button>\n </Badge>\n );\n })\n )}\n </div>\n\n <div className=\"flex flex-col gap-2 sm:flex-row sm:items-center\">\n {available.length > 0 ? (\n <div className=\"flex items-center gap-2\">\n <Select value={selectedTagId} onValueChange={setSelectedTagId}>\n <SelectTrigger className=\"w-48\" aria-label=\"Choose an existing tag\">\n <SelectValue placeholder=\"Add existing tag\" />\n </SelectTrigger>\n <SelectContent>\n {available.map((tag) => (\n <SelectItem key={tag.id} value={tag.id}>\n {tag.label}\n </SelectItem>\n ))}\n </SelectContent>\n </Select>\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n onClick={onAttachExisting}\n disabled={!selectedTagId || busy}\n >\n Add\n </Button>\n </div>\n ) : null}\n\n <div className=\"flex items-center gap-2\">\n <Input\n value={newLabel}\n onChange={(event) => setNewLabel(event.target.value)}\n placeholder=\"New tag label\"\n aria-label=\"New tag label\"\n className=\"w-48\"\n onKeyDown={(event) => {\n if (event.key === 'Enter') {\n event.preventDefault();\n void onCreateAndAttach();\n }\n }}\n />\n <Button\n type=\"button\"\n variant=\"outline\"\n size=\"sm\"\n onClick={onCreateAndAttach}\n disabled={!newLabel.trim() || busy}\n >\n <Plus className=\"h-4 w-4\" />\n Create\n </Button>\n </div>\n </div>\n </>\n )}\n </div>\n );\n}\n"],"mappings":";;;;;;;;AAyCA,SAAgBI,EAAgB,EAAE,eAAY,aAAU,WAAQ,QAAQ,gBAAmC;CACzG,IAAM,CAACC,GAAUC,KAAeC,EAAS,EAAE,GACrC,CAACC,GAAeC,KAAoBF,EAAS,EAAE,GAE/CG,IAAU,EAAQC,GAClBC,IAAmBC,EAAmB,EAAE,OAAO;EAAE;EAAY;CAAS,EAAE,CAAC,GACzE,EAAE,MAAMC,MAAkBC,EAAsB,EAAE,OAAO,IAAI,CAAC,GAC9D,CAACC,GAAW,EAAE,SAASC,OAAaC,EAAqB,GACzD,CAACC,GAAa,EAAE,SAASC,OAAeC,EAAuB,GAC/D,CAACC,GAAW,EAAE,SAASC,OAAcC,EAA2B,GAEhEC,IAAcC,QAAcd,EAAiB,MAAM,+BAA+B,CAAC,GAAG,CAACA,EAAiB,IAAI,CAAC,GAC7Ge,IAAiBD,QAAc,IAAI,IAAID,EAAY,KAAK,MAAMG,EAAE,KAAK,CAAC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AA,CACE,kBAACsB,GAAD;KAAQ,OAAO3C;KAAe,eAAeC;KAA7C,UAAA,CACE,kBAAC2C,GAAD;MAAe,WAAU;MAAO,cAAW;MACzC,UAAA,kBAACC,GAAD,EAAa,aAAY,mBAAoB,CAAA;KAChC,CAAA,GACf,kBAACC,GAAD,EAAA,UACGzB,EAAU,KAAK,MACd,kBAAC0B,GAAD;MAAyB,OAAOzB,EAAI;MACjC,UAAAA,EAAI;KACK,GAFKA,EAAI,EAET,CACb,EACY,CAAA,CACT;IACR,CAAA,GAAA,kBAAC0B,GAAD;KACE,MAAK;KACL,SAAQ;KACR,MAAK;KACL,SAASrB;KACT,UAAU,CAAC3B,KAAiBuB;KAC7B,UAAA;IAEO,CAAA,CACL;GACH,CAAA,IAAA,MAEJ,kBAAC,OAAD;IAAK,WAAU;IAAf,UAAA,CACE,kBAAC0B,GAAD;KACE,OAAOpD;KACP,WAAW,MAAUC,EAAYoD,EAAM,OAAO,KAAK;KACnD,aAAY;KACZ,cAAW;KACX,WAAU;KACV,YAAY,MAAU;MACpB,AAAIA,EAAM,QAAQ,YAChBA,EAAM,eAAe,GACrBpB,EAAuB;KAE3B;IACD,CAAA,GACD,kBAACkB,GAAD;KACE,MAAK;KACL,SAAQ;KACR,MAAK;KACL,SAASlB;KACT,UAAU,CAACjC,EAAS,KAAK,KAAK0B;KALhC,UAAA,CAOE,kBAAC4B,GAAD,EAAM,WAAU,UAAW,CAAA,GAAC,QAEtB;IACL,CAAA,CAAA;GACF,CAAA,CAAA;EACL,CAAA,CAAA,EAAA,CAAA,IApFF,kBAAC,KAAD;GAAG,WAAU;GAA8B,UAAA;EAA+C,CAAA,CAsFzF;;AAET"}
@@ -10,7 +10,7 @@ export declare function EventAreaChart({ data, height, emptyLabel, }: {
10
10
  data: AreaPoint[];
11
11
  height?: number;
12
12
  emptyLabel?: string;
13
- }): import("react/jsx-runtime").JSX.Element;
13
+ }): import("react").JSX.Element;
14
14
  export interface DonutSlice {
15
15
  name: string;
16
16
  value: number;
@@ -22,7 +22,7 @@ export declare function EventDonutChart({ data, height, centerLabel, centerValue
22
22
  centerLabel?: string;
23
23
  centerValue?: string;
24
24
  emptyLabel?: string;
25
- }): import("react/jsx-runtime").JSX.Element;
25
+ }): import("react").JSX.Element;
26
26
  export interface BarDatum {
27
27
  name: string;
28
28
  value: number;
@@ -31,7 +31,7 @@ export declare function EventBarChart({ data, height, emptyLabel, }: {
31
31
  data: BarDatum[];
32
32
  height?: number;
33
33
  emptyLabel?: string;
34
- }): import("react/jsx-runtime").JSX.Element;
34
+ }): import("react").JSX.Element;
35
35
  export interface ChartLegendItem {
36
36
  label: string;
37
37
  color: string;
@@ -40,5 +40,5 @@ export interface ChartLegendItem {
40
40
  export declare function ChartLegend({ items, className }: {
41
41
  items: ChartLegendItem[];
42
42
  className?: string;
43
- }): import("react/jsx-runtime").JSX.Element;
43
+ }): import("react").JSX.Element;
44
44
  //# sourceMappingURL=EventCharts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EventCharts.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/EventCharts.tsx"],"names":[],"mappings":"AAiCA,+EAA+E;AAC/E,eAAO,MAAM,mBAAmB,mIAMtB,CAAC;AAEX,uFAAuF;AACvF,eAAO,MAAM,YAAY,mIAAsB,CAAC;AAiBhD,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,MAAY,EACZ,UAAkC,GACnC,EAAE;IACD,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CA+CA;AAMD,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAY,EACZ,WAAW,EACX,WAAW,EACX,UAA0B,GAC3B,EAAE;IACD,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAqCA;AAMD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,MAAY,EACZ,UAA0B,GAC3B,EAAE;IACD,IAAI,EAAE,QAAQ,EAAE,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CAkCA;AAMD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACzB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,SAAc,EAAE,EAAE;IAAE,KAAK,EAAE,eAAe,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CActG"}
1
+ {"version":3,"file":"EventCharts.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/EventCharts.tsx"],"names":[],"mappings":"AAiCA,+EAA+E;AAC/E,eAAO,MAAM,mBAAmB,mIAMtB,CAAC;AAEX,uFAAuF;AACvF,eAAO,MAAM,YAAY,mIAAsB,CAAC;AAiBhD,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,MAAY,EACZ,UAAkC,GACnC,EAAE;IACD,IAA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