@burdenoff/microfe-eventfullymanaged 2026.1030.2 → 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 (1216) 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 +264 -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 +24 -0
  35. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.d.ts.map +1 -0
  36. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.js +64 -0
  37. package/dist/eventfullymanaged/components/FloorPlanZoneEditor.js.map +1 -0
  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 +24 -0
  55. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.d.ts.map +1 -0
  56. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.js +162 -0
  57. package/dist/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.js.map +1 -0
  58. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts +33 -0
  59. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.d.ts.map +1 -0
  60. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js +247 -0
  61. package/dist/eventfullymanaged/components/floorPlanEditor/ZonePanels.js.map +1 -0
  62. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.d.ts +33 -0
  63. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.d.ts.map +1 -0
  64. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.js +77 -0
  65. package/dist/eventfullymanaged/components/floorPlanEditor/useZoneEditorState.js.map +1 -0
  66. package/dist/eventfullymanaged/components/index.js +5 -4
  67. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts +1 -1
  68. package/dist/eventfullymanaged/context/EventfullyManagedContext.d.ts.map +1 -1
  69. package/dist/eventfullymanaged/context/EventfullyManagedContext.js +4 -8
  70. package/dist/eventfullymanaged/context/EventfullyManagedContext.js.map +1 -1
  71. package/dist/eventfullymanaged/hooks/index.js +1 -1
  72. package/dist/eventfullymanaged/hooks/useEventDelete.js +8 -9
  73. package/dist/eventfullymanaged/hooks/useEventDelete.js.map +1 -1
  74. package/dist/eventfullymanaged/hooks/useEvmSubscription.js +7 -12
  75. package/dist/eventfullymanaged/hooks/useEvmSubscription.js.map +1 -1
  76. package/dist/eventfullymanaged/hooks/useVirtualCall.js +9 -17
  77. package/dist/eventfullymanaged/hooks/useVirtualCall.js.map +1 -1
  78. package/dist/eventfullymanaged/lib/floorPlanZones.d.ts +148 -0
  79. package/dist/eventfullymanaged/lib/floorPlanZones.d.ts.map +1 -0
  80. package/dist/eventfullymanaged/lib/floorPlanZones.js +237 -0
  81. package/dist/eventfullymanaged/lib/floorPlanZones.js.map +1 -0
  82. package/dist/eventfullymanaged/lib/format.js +1 -2
  83. package/dist/eventfullymanaged/lib/format.js.map +1 -1
  84. package/dist/eventfullymanaged/lib/mutationResult.js +1 -2
  85. package/dist/eventfullymanaged/lib/mutationResult.js.map +1 -1
  86. package/dist/eventfullymanaged/lib/offlineCheckInQueue.js +29 -30
  87. package/dist/eventfullymanaged/lib/offlineCheckInQueue.js.map +1 -1
  88. package/dist/eventfullymanaged/lib/toast.js +2 -3
  89. package/dist/eventfullymanaged/lib/toast.js.map +1 -1
  90. package/dist/eventfullymanaged/lib/useOfflineCheckInSync.js +1 -2
  91. package/dist/eventfullymanaged/lib/useOfflineCheckInSync.js.map +1 -1
  92. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts +1 -1
  93. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.d.ts.map +1 -1
  94. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js +46 -47
  95. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js.map +1 -1
  96. package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts +1 -1
  97. package/dist/eventfullymanaged/pages/events/EventDetailPage.d.ts.map +1 -1
  98. package/dist/eventfullymanaged/pages/events/EventDetailPage.js +197 -195
  99. package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
  100. package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts +1 -1
  101. package/dist/eventfullymanaged/pages/events/EventFormPage.d.ts.map +1 -1
  102. package/dist/eventfullymanaged/pages/events/EventFormPage.js +35 -36
  103. package/dist/eventfullymanaged/pages/events/EventFormPage.js.map +1 -1
  104. package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts +1 -1
  105. package/dist/eventfullymanaged/pages/events/SessionFormPage.d.ts.map +1 -1
  106. package/dist/eventfullymanaged/pages/events/SessionFormPage.js +47 -48
  107. package/dist/eventfullymanaged/pages/events/SessionFormPage.js.map +1 -1
  108. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts +1 -1
  109. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.d.ts.map +1 -1
  110. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.js +31 -32
  111. package/dist/eventfullymanaged/pages/events/TicketTypeFormPage.js.map +1 -1
  112. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts +1 -1
  113. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.d.ts.map +1 -1
  114. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js +170 -171
  115. package/dist/eventfullymanaged/pages/events/VirtualSessionPage.js.map +1 -1
  116. package/dist/eventfullymanaged/pages/events/eventFormUtils.js +1 -2
  117. package/dist/eventfullymanaged/pages/events/eventFormUtils.js.map +1 -1
  118. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts +1 -1
  119. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.d.ts.map +1 -1
  120. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.js +20 -21
  121. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorFormPage.js.map +1 -1
  122. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts +1 -1
  123. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.d.ts.map +1 -1
  124. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js +18 -19
  125. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js.map +1 -1
  126. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts +1 -1
  127. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.d.ts.map +1 -1
  128. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js +13 -14
  129. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js.map +1 -1
  130. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts +1 -1
  131. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.d.ts.map +1 -1
  132. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js +89 -47
  133. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js.map +1 -1
  134. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts +1 -1
  135. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.d.ts.map +1 -1
  136. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js +8 -8
  137. package/dist/eventfullymanaged/pages/modules/AttendeeProfilePage.js.map +1 -1
  138. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts +1 -1
  139. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.d.ts.map +1 -1
  140. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js +3 -4
  141. package/dist/eventfullymanaged/pages/modules/AttendeeRecommendations.js.map +1 -1
  142. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts +1 -1
  143. package/dist/eventfullymanaged/pages/modules/CommunicationPage.d.ts.map +1 -1
  144. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js +170 -171
  145. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js.map +1 -1
  146. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts +1 -1
  147. package/dist/eventfullymanaged/pages/modules/EntityListSection.d.ts.map +1 -1
  148. package/dist/eventfullymanaged/pages/modules/EntityListSection.js +1 -2
  149. package/dist/eventfullymanaged/pages/modules/EntityListSection.js.map +1 -1
  150. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts +1 -1
  151. package/dist/eventfullymanaged/pages/modules/EventsPage.d.ts.map +1 -1
  152. package/dist/eventfullymanaged/pages/modules/EventsPage.js +185 -186
  153. package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -1
  154. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts +1 -1
  155. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.d.ts.map +1 -1
  156. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js +73 -78
  157. package/dist/eventfullymanaged/pages/modules/IntegrationsPage.js.map +1 -1
  158. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts +1 -1
  159. package/dist/eventfullymanaged/pages/modules/KioskPage.d.ts.map +1 -1
  160. package/dist/eventfullymanaged/pages/modules/KioskPage.js +204 -208
  161. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
  162. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts +1 -1
  163. package/dist/eventfullymanaged/pages/modules/NetworkingPage.d.ts.map +1 -1
  164. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +177 -181
  165. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -1
  166. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts +1 -1
  167. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.d.ts.map +1 -1
  168. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js +18 -19
  169. package/dist/eventfullymanaged/pages/modules/OperationsHubPage.js.map +1 -1
  170. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts +1 -1
  171. package/dist/eventfullymanaged/pages/modules/RegistrationPage.d.ts.map +1 -1
  172. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +122 -123
  173. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
  174. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts +1 -1
  175. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.d.ts.map +1 -1
  176. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js +1 -2
  177. package/dist/eventfullymanaged/pages/modules/RoadmapPanel.js.map +1 -1
  178. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts +1 -1
  179. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.d.ts.map +1 -1
  180. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +11 -11
  181. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
  182. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts +1 -1
  183. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.d.ts.map +1 -1
  184. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js +7 -8
  185. package/dist/eventfullymanaged/pages/modules/SponsorLeadsPage.js.map +1 -1
  186. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts +1 -1
  187. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.d.ts.map +1 -1
  188. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js +4 -5
  189. package/dist/eventfullymanaged/pages/modules/VenueResourcesPage.js.map +1 -1
  190. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts +1 -1
  191. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.d.ts.map +1 -1
  192. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js +14 -15
  193. package/dist/eventfullymanaged/pages/modules/WorkflowsPage.js.map +1 -1
  194. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts +1 -1
  195. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.d.ts.map +1 -1
  196. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.js +31 -32
  197. package/dist/eventfullymanaged/pages/networking/MeetingFormPage.js.map +1 -1
  198. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts +1 -1
  199. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.d.ts.map +1 -1
  200. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.js +19 -20
  201. package/dist/eventfullymanaged/pages/networking/NetworkingProfileFormPage.js.map +1 -1
  202. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts +1 -1
  203. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.d.ts.map +1 -1
  204. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js +19 -20
  205. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js.map +1 -1
  206. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts +1 -1
  207. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.d.ts.map +1 -1
  208. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +21 -22
  209. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
  210. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts +1 -1
  211. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.d.ts.map +1 -1
  212. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js +85 -103
  213. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js.map +1 -1
  214. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts +1 -1
  215. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.d.ts.map +1 -1
  216. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js +35 -36
  217. package/dist/eventfullymanaged/pages/speakers/SpeakerFormPage.js.map +1 -1
  218. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts +1 -1
  219. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.d.ts.map +1 -1
  220. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js +40 -41
  221. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js.map +1 -1
  222. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts +1 -1
  223. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.d.ts.map +1 -1
  224. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js +22 -23
  225. package/dist/eventfullymanaged/pages/sponsors/SponsorFormPage.js.map +1 -1
  226. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts +1 -1
  227. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.d.ts.map +1 -1
  228. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js +29 -30
  229. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js.map +1 -1
  230. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts +1 -1
  231. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.d.ts.map +1 -1
  232. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +376 -309
  233. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -1
  234. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts +1 -1
  235. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.d.ts.map +1 -1
  236. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +6 -7
  237. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
  238. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts +1 -1
  239. package/dist/eventfullymanaged/pages/venues/VenueFormPage.d.ts.map +1 -1
  240. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +14 -15
  241. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js.map +1 -1
  242. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts +1 -1
  243. package/dist/eventfullymanaged/pages/venues/VenueListPage.d.ts.map +1 -1
  244. package/dist/eventfullymanaged/pages/venues/VenueListPage.js +18 -19
  245. package/dist/eventfullymanaged/pages/venues/VenueListPage.js.map +1 -1
  246. package/dist/eventfullymanaged/store/eventfullyManagedStore.js +0 -1
  247. package/dist/eventfullymanaged/store/eventfullyManagedStore.js.map +1 -1
  248. package/dist/eventfullymanaged/utils/cn.js +1 -2
  249. package/dist/eventfullymanaged/utils/shellBridge.js +1 -2
  250. package/dist/eventfullymanaged/utils/shellBridge.js.map +1 -1
  251. package/dist/generated/wspace-operations.d.ts +93 -1
  252. package/dist/generated/wspace-operations.d.ts.map +1 -1
  253. package/dist/generated/wspace-operations.js +51 -0
  254. package/dist/generated/wspace-operations.js.map +1 -0
  255. package/dist/generated/wspace-types.d.ts +121703 -40790
  256. package/dist/generated/wspace-types.d.ts.map +1 -1
  257. package/dist/node_modules/@apollo/client/core/networkStatus.js +1 -2
  258. package/dist/node_modules/@apollo/client/core/networkStatus.js.map +1 -1
  259. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js +2 -3
  260. package/dist/node_modules/@apollo/client/react/context/ApolloContext.js.map +1 -1
  261. package/dist/node_modules/@apollo/client/react/hooks/constants.js +1 -2
  262. package/dist/node_modules/@apollo/client/react/hooks/constants.js.map +1 -1
  263. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js +2 -3
  264. package/dist/node_modules/@apollo/client/react/hooks/internal/useDeepMemo.js.map +1 -1
  265. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js +1 -2
  266. package/dist/node_modules/@apollo/client/react/hooks/internal/useIsomorphicLayoutEffect.js.map +1 -1
  267. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js +6 -7
  268. package/dist/node_modules/@apollo/client/react/hooks/internal/wrapHook.js.map +1 -1
  269. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js +2 -3
  270. package/dist/node_modules/@apollo/client/react/hooks/useApolloClient.js.map +1 -1
  271. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js +23 -24
  272. package/dist/node_modules/@apollo/client/react/hooks/useMutation.js.map +1 -1
  273. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js +51 -53
  274. package/dist/node_modules/@apollo/client/react/hooks/useQuery.js.map +1 -1
  275. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js +4 -5
  276. package/dist/node_modules/@apollo/client/react/hooks/useSyncExternalStore.js.map +1 -1
  277. package/dist/node_modules/@apollo/client/react/internal/index.js +1 -2
  278. package/dist/node_modules/@apollo/client/react/internal/index.js.map +1 -1
  279. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js +1 -2
  280. package/dist/node_modules/@apollo/client/utilities/internal/canUseDOM.js.map +1 -1
  281. package/dist/node_modules/@apollo/client/utilities/internal/compact.js +1 -2
  282. package/dist/node_modules/@apollo/client/utilities/internal/compact.js.map +1 -1
  283. package/dist/node_modules/@apollo/client/utilities/internal/constants.js +1 -2
  284. package/dist/node_modules/@apollo/client/utilities/internal/constants.js.map +1 -1
  285. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js +2 -3
  286. package/dist/node_modules/@apollo/client/utilities/internal/deepFreeze.js.map +1 -1
  287. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js +1 -2
  288. package/dist/node_modules/@apollo/client/utilities/internal/globals/global.js.map +1 -1
  289. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js +1 -2
  290. package/dist/node_modules/@apollo/client/utilities/internal/globals/maybe.js.map +1 -1
  291. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js +1 -2
  292. package/dist/node_modules/@apollo/client/utilities/internal/isNonNullObject.js.map +1 -1
  293. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js +1 -2
  294. package/dist/node_modules/@apollo/client/utilities/internal/makeUniqueId.js.map +1 -1
  295. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js +1 -2
  296. package/dist/node_modules/@apollo/client/utilities/internal/maybeDeepFreeze.js.map +1 -1
  297. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js +1 -2
  298. package/dist/node_modules/@apollo/client/utilities/internal/mergeOptions.js.map +1 -1
  299. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js +1 -2
  300. package/dist/node_modules/@apollo/client/utilities/internal/preventUnhandledRejection.js.map +1 -1
  301. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js +1 -2
  302. package/dist/node_modules/@apollo/client/utilities/internal/stringifyForDisplay.js.map +1 -1
  303. package/dist/node_modules/@apollo/client/utilities/invariant/index.js +2 -3
  304. package/dist/node_modules/@apollo/client/utilities/invariant/index.js.map +1 -1
  305. package/dist/node_modules/@apollo/client/version.js +2 -3
  306. package/dist/node_modules/@apollo/client/version.js.map +1 -1
  307. package/dist/node_modules/@wry/equality/lib/index.js +3 -4
  308. package/dist/node_modules/@wry/equality/lib/index.js.map +1 -1
  309. package/dist/node_modules/clsx/dist/clsx.js +8 -7
  310. package/dist/node_modules/clsx/dist/clsx.js.map +1 -1
  311. package/dist/node_modules/d3-array/src/ascending.js +1 -2
  312. package/dist/node_modules/d3-array/src/ascending.js.map +1 -1
  313. package/dist/node_modules/d3-array/src/bisect.js +2 -3
  314. package/dist/node_modules/d3-array/src/bisect.js.map +1 -1
  315. package/dist/node_modules/d3-array/src/bisector.js +1 -2
  316. package/dist/node_modules/d3-array/src/bisector.js.map +1 -1
  317. package/dist/node_modules/d3-array/src/descending.js +1 -2
  318. package/dist/node_modules/d3-array/src/descending.js.map +1 -1
  319. package/dist/node_modules/d3-array/src/max.js +1 -2
  320. package/dist/node_modules/d3-array/src/max.js.map +1 -1
  321. package/dist/node_modules/d3-array/src/min.js +1 -2
  322. package/dist/node_modules/d3-array/src/min.js.map +1 -1
  323. package/dist/node_modules/d3-array/src/number.js +1 -2
  324. package/dist/node_modules/d3-array/src/number.js.map +1 -1
  325. package/dist/node_modules/d3-array/src/quantile.js +17 -18
  326. package/dist/node_modules/d3-array/src/quantile.js.map +1 -1
  327. package/dist/node_modules/d3-array/src/quickselect.js +1 -2
  328. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -1
  329. package/dist/node_modules/d3-array/src/range.js +1 -2
  330. package/dist/node_modules/d3-array/src/range.js.map +1 -1
  331. package/dist/node_modules/d3-array/src/sort.js +1 -2
  332. package/dist/node_modules/d3-array/src/sort.js.map +1 -1
  333. package/dist/node_modules/d3-array/src/ticks.js +5 -5
  334. package/dist/node_modules/d3-array/src/ticks.js.map +1 -1
  335. package/dist/node_modules/d3-color/src/color.js +2 -3
  336. package/dist/node_modules/d3-color/src/color.js.map +1 -1
  337. package/dist/node_modules/d3-color/src/define.js +1 -2
  338. package/dist/node_modules/d3-color/src/define.js.map +1 -1
  339. package/dist/node_modules/d3-format/src/defaultLocale.js +2 -3
  340. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -1
  341. package/dist/node_modules/d3-format/src/exponent.js +1 -2
  342. package/dist/node_modules/d3-format/src/exponent.js.map +1 -1
  343. package/dist/node_modules/d3-format/src/formatDecimal.js +1 -2
  344. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -1
  345. package/dist/node_modules/d3-format/src/formatGroup.js +1 -2
  346. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -1
  347. package/dist/node_modules/d3-format/src/formatNumerals.js +1 -2
  348. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -1
  349. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +1 -2
  350. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -1
  351. package/dist/node_modules/d3-format/src/formatRounded.js +1 -2
  352. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -1
  353. package/dist/node_modules/d3-format/src/formatSpecifier.js +2 -3
  354. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -1
  355. package/dist/node_modules/d3-format/src/formatTrim.js +1 -3
  356. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -1
  357. package/dist/node_modules/d3-format/src/formatTypes.js +1 -2
  358. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -1
  359. package/dist/node_modules/d3-format/src/identity.js +1 -2
  360. package/dist/node_modules/d3-format/src/identity.js.map +1 -1
  361. package/dist/node_modules/d3-format/src/locale.js +10 -13
  362. package/dist/node_modules/d3-format/src/locale.js.map +1 -1
  363. package/dist/node_modules/d3-format/src/precisionFixed.js +1 -2
  364. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -1
  365. package/dist/node_modules/d3-format/src/precisionPrefix.js +1 -2
  366. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -1
  367. package/dist/node_modules/d3-format/src/precisionRound.js +1 -2
  368. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -1
  369. package/dist/node_modules/d3-interpolate/src/array.js +2 -4
  370. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -1
  371. package/dist/node_modules/d3-interpolate/src/basis.js +1 -2
  372. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -1
  373. package/dist/node_modules/d3-interpolate/src/basisClosed.js +1 -2
  374. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -1
  375. package/dist/node_modules/d3-interpolate/src/color.js +1 -2
  376. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -1
  377. package/dist/node_modules/d3-interpolate/src/constant.js +1 -2
  378. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -1
  379. package/dist/node_modules/d3-interpolate/src/date.js +1 -2
  380. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -1
  381. package/dist/node_modules/d3-interpolate/src/number.js +1 -2
  382. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -1
  383. package/dist/node_modules/d3-interpolate/src/numberArray.js +1 -2
  384. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -1
  385. package/dist/node_modules/d3-interpolate/src/object.js +2 -3
  386. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -1
  387. package/dist/node_modules/d3-interpolate/src/piecewise.js +1 -2
  388. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -1
  389. package/dist/node_modules/d3-interpolate/src/rgb.js +1 -2
  390. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -1
  391. package/dist/node_modules/d3-interpolate/src/round.js +1 -2
  392. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -1
  393. package/dist/node_modules/d3-interpolate/src/string.js +1 -2
  394. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -1
  395. package/dist/node_modules/d3-interpolate/src/value.js +10 -11
  396. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -1
  397. package/dist/node_modules/d3-path/src/path.js +8 -7
  398. package/dist/node_modules/d3-path/src/path.js.map +1 -1
  399. package/dist/node_modules/d3-scale/src/band.js +1 -2
  400. package/dist/node_modules/d3-scale/src/band.js.map +1 -1
  401. package/dist/node_modules/d3-scale/src/constant.js +1 -2
  402. package/dist/node_modules/d3-scale/src/constant.js.map +1 -1
  403. package/dist/node_modules/d3-scale/src/continuous.js +7 -8
  404. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -1
  405. package/dist/node_modules/d3-scale/src/diverging.js +35 -36
  406. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -1
  407. package/dist/node_modules/d3-scale/src/identity.js +6 -7
  408. package/dist/node_modules/d3-scale/src/identity.js.map +1 -1
  409. package/dist/node_modules/d3-scale/src/init.js +3 -8
  410. package/dist/node_modules/d3-scale/src/init.js.map +1 -1
  411. package/dist/node_modules/d3-scale/src/linear.js +6 -7
  412. package/dist/node_modules/d3-scale/src/linear.js.map +1 -1
  413. package/dist/node_modules/d3-scale/src/log.js +32 -33
  414. package/dist/node_modules/d3-scale/src/log.js.map +1 -1
  415. package/dist/node_modules/d3-scale/src/nice.js +1 -2
  416. package/dist/node_modules/d3-scale/src/nice.js.map +1 -1
  417. package/dist/node_modules/d3-scale/src/number.js +1 -2
  418. package/dist/node_modules/d3-scale/src/number.js.map +1 -1
  419. package/dist/node_modules/d3-scale/src/ordinal.js +1 -2
  420. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -1
  421. package/dist/node_modules/d3-scale/src/pow.js +13 -14
  422. package/dist/node_modules/d3-scale/src/pow.js.map +1 -1
  423. package/dist/node_modules/d3-scale/src/quantile.js +2 -3
  424. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -1
  425. package/dist/node_modules/d3-scale/src/quantize.js +5 -6
  426. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -1
  427. package/dist/node_modules/d3-scale/src/radial.js +8 -9
  428. package/dist/node_modules/d3-scale/src/radial.js.map +1 -1
  429. package/dist/node_modules/d3-scale/src/sequential.js +27 -28
  430. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -1
  431. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +6 -7
  432. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -1
  433. package/dist/node_modules/d3-scale/src/symlog.js +12 -13
  434. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -1
  435. package/dist/node_modules/d3-scale/src/threshold.js +2 -3
  436. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -1
  437. package/dist/node_modules/d3-scale/src/tickFormat.js +7 -10
  438. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -1
  439. package/dist/node_modules/d3-scale/src/time.js +27 -28
  440. package/dist/node_modules/d3-scale/src/time.js.map +1 -1
  441. package/dist/node_modules/d3-scale/src/utcTime.js +13 -14
  442. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -1
  443. package/dist/node_modules/d3-shape/src/area.js +34 -33
  444. package/dist/node_modules/d3-shape/src/area.js.map +1 -1
  445. package/dist/node_modules/d3-shape/src/array.js +0 -1
  446. package/dist/node_modules/d3-shape/src/array.js.map +1 -1
  447. package/dist/node_modules/d3-shape/src/constant.js +1 -2
  448. package/dist/node_modules/d3-shape/src/constant.js.map +1 -1
  449. package/dist/node_modules/d3-shape/src/curve/basis.js +4 -9
  450. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -1
  451. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +3 -8
  452. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -1
  453. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +2 -5
  454. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -1
  455. package/dist/node_modules/d3-shape/src/curve/bump.js +2 -5
  456. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -1
  457. package/dist/node_modules/d3-shape/src/curve/linear.js +2 -5
  458. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -1
  459. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +1 -2
  460. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -1
  461. package/dist/node_modules/d3-shape/src/curve/monotone.js +4 -9
  462. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -1
  463. package/dist/node_modules/d3-shape/src/curve/natural.js +5 -4
  464. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -1
  465. package/dist/node_modules/d3-shape/src/curve/step.js +6 -9
  466. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -1
  467. package/dist/node_modules/d3-shape/src/line.js +16 -17
  468. package/dist/node_modules/d3-shape/src/line.js.map +1 -1
  469. package/dist/node_modules/d3-shape/src/math.js +1 -2
  470. package/dist/node_modules/d3-shape/src/math.js.map +1 -1
  471. package/dist/node_modules/d3-shape/src/noop.js +1 -2
  472. package/dist/node_modules/d3-shape/src/noop.js.map +1 -1
  473. package/dist/node_modules/d3-shape/src/offset/expand.js +1 -2
  474. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -1
  475. package/dist/node_modules/d3-shape/src/offset/none.js +1 -2
  476. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -1
  477. package/dist/node_modules/d3-shape/src/offset/silhouette.js +1 -2
  478. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -1
  479. package/dist/node_modules/d3-shape/src/offset/wiggle.js +2 -3
  480. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -1
  481. package/dist/node_modules/d3-shape/src/order/none.js +1 -2
  482. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -1
  483. package/dist/node_modules/d3-shape/src/path.js +1 -2
  484. package/dist/node_modules/d3-shape/src/path.js.map +1 -1
  485. package/dist/node_modules/d3-shape/src/point.js +1 -2
  486. package/dist/node_modules/d3-shape/src/point.js.map +1 -1
  487. package/dist/node_modules/d3-shape/src/stack.js +13 -14
  488. package/dist/node_modules/d3-shape/src/stack.js.map +1 -1
  489. package/dist/node_modules/d3-shape/src/symbol/circle.js +1 -2
  490. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -1
  491. package/dist/node_modules/d3-shape/src/symbol/cross.js +1 -2
  492. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -1
  493. package/dist/node_modules/d3-shape/src/symbol/diamond.js +1 -2
  494. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -1
  495. package/dist/node_modules/d3-shape/src/symbol/square.js +1 -2
  496. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -1
  497. package/dist/node_modules/d3-shape/src/symbol/star.js +1 -2
  498. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -1
  499. package/dist/node_modules/d3-shape/src/symbol/triangle.js +1 -2
  500. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -1
  501. package/dist/node_modules/d3-shape/src/symbol/wye.js +1 -2
  502. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -1
  503. package/dist/node_modules/d3-shape/src/symbol.js +1 -2
  504. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -1
  505. package/dist/node_modules/d3-time/src/day.js +1 -2
  506. package/dist/node_modules/d3-time/src/day.js.map +1 -1
  507. package/dist/node_modules/d3-time/src/duration.js +1 -2
  508. package/dist/node_modules/d3-time/src/duration.js.map +1 -1
  509. package/dist/node_modules/d3-time/src/hour.js +1 -2
  510. package/dist/node_modules/d3-time/src/hour.js.map +1 -1
  511. package/dist/node_modules/d3-time/src/interval.js +5 -4
  512. package/dist/node_modules/d3-time/src/interval.js.map +1 -1
  513. package/dist/node_modules/d3-time/src/millisecond.js +1 -2
  514. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -1
  515. package/dist/node_modules/d3-time/src/minute.js +1 -2
  516. package/dist/node_modules/d3-time/src/minute.js.map +1 -1
  517. package/dist/node_modules/d3-time/src/month.js +1 -2
  518. package/dist/node_modules/d3-time/src/month.js.map +1 -1
  519. package/dist/node_modules/d3-time/src/second.js +1 -2
  520. package/dist/node_modules/d3-time/src/second.js.map +1 -1
  521. package/dist/node_modules/d3-time/src/ticks.js +27 -28
  522. package/dist/node_modules/d3-time/src/ticks.js.map +1 -1
  523. package/dist/node_modules/d3-time/src/week.js +2 -3
  524. package/dist/node_modules/d3-time/src/week.js.map +1 -1
  525. package/dist/node_modules/d3-time/src/year.js +1 -2
  526. package/dist/node_modules/d3-time/src/year.js.map +1 -1
  527. package/dist/node_modules/d3-time-format/src/defaultLocale.js +6 -7
  528. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -1
  529. package/dist/node_modules/d3-time-format/src/locale.js +1 -2
  530. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -1
  531. package/dist/node_modules/decimal.js-light/decimal.js +33 -30
  532. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -1
  533. package/dist/node_modules/eventemitter3/index.js +2 -3
  534. package/dist/node_modules/eventemitter3/index.js.map +1 -1
  535. package/dist/node_modules/fast-equals/dist/es/index.js +3 -4
  536. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -1
  537. package/dist/node_modules/graphql/error/GraphQLError.js +1 -2
  538. package/dist/node_modules/graphql/error/GraphQLError.js.map +1 -1
  539. package/dist/node_modules/graphql/error/syntaxError.js +1 -2
  540. package/dist/node_modules/graphql/error/syntaxError.js.map +1 -1
  541. package/dist/node_modules/graphql/jsutils/devAssert.js +1 -2
  542. package/dist/node_modules/graphql/jsutils/devAssert.js.map +1 -1
  543. package/dist/node_modules/graphql/jsutils/inspect.js +24 -27
  544. package/dist/node_modules/graphql/jsutils/inspect.js.map +1 -1
  545. package/dist/node_modules/graphql/jsutils/instanceOf.js +0 -1
  546. package/dist/node_modules/graphql/jsutils/instanceOf.js.map +1 -1
  547. package/dist/node_modules/graphql/jsutils/invariant.js +1 -2
  548. package/dist/node_modules/graphql/jsutils/invariant.js.map +1 -1
  549. package/dist/node_modules/graphql/jsutils/isObjectLike.js +1 -2
  550. package/dist/node_modules/graphql/jsutils/isObjectLike.js.map +1 -1
  551. package/dist/node_modules/graphql/language/ast.js +7 -8
  552. package/dist/node_modules/graphql/language/ast.js.map +1 -1
  553. package/dist/node_modules/graphql/language/blockString.js +1 -2
  554. package/dist/node_modules/graphql/language/blockString.js.map +1 -1
  555. package/dist/node_modules/graphql/language/characterClasses.js +2 -3
  556. package/dist/node_modules/graphql/language/characterClasses.js.map +1 -1
  557. package/dist/node_modules/graphql/language/directiveLocation.js +1 -2
  558. package/dist/node_modules/graphql/language/directiveLocation.js.map +1 -1
  559. package/dist/node_modules/graphql/language/kinds.js +1 -2
  560. package/dist/node_modules/graphql/language/kinds.js.map +1 -1
  561. package/dist/node_modules/graphql/language/lexer.js +47 -50
  562. package/dist/node_modules/graphql/language/lexer.js.map +1 -1
  563. package/dist/node_modules/graphql/language/location.js +1 -2
  564. package/dist/node_modules/graphql/language/location.js.map +1 -1
  565. package/dist/node_modules/graphql/language/parser.js +100 -97
  566. package/dist/node_modules/graphql/language/parser.js.map +1 -1
  567. package/dist/node_modules/graphql/language/printLocation.js +1 -2
  568. package/dist/node_modules/graphql/language/printLocation.js.map +1 -1
  569. package/dist/node_modules/graphql/language/source.js +1 -2
  570. package/dist/node_modules/graphql/language/source.js.map +1 -1
  571. package/dist/node_modules/graphql/language/tokenKind.js +1 -2
  572. package/dist/node_modules/graphql/language/tokenKind.js.map +1 -1
  573. package/dist/node_modules/graphql-tag/lib/index.js +10 -11
  574. package/dist/node_modules/graphql-tag/lib/index.js.map +1 -1
  575. package/dist/node_modules/internmap/src/index.js +1 -2
  576. package/dist/node_modules/internmap/src/index.js.map +1 -1
  577. package/dist/node_modules/lodash/_DataView.js +4 -5
  578. package/dist/node_modules/lodash/_DataView.js.map +1 -1
  579. package/dist/node_modules/lodash/_Hash.js +1 -2
  580. package/dist/node_modules/lodash/_Hash.js.map +1 -1
  581. package/dist/node_modules/lodash/_ListCache.js +1 -2
  582. package/dist/node_modules/lodash/_ListCache.js.map +1 -1
  583. package/dist/node_modules/lodash/_Map.js +4 -5
  584. package/dist/node_modules/lodash/_Map.js.map +1 -1
  585. package/dist/node_modules/lodash/_MapCache.js +1 -2
  586. package/dist/node_modules/lodash/_MapCache.js.map +1 -1
  587. package/dist/node_modules/lodash/_Promise.js +4 -5
  588. package/dist/node_modules/lodash/_Promise.js.map +1 -1
  589. package/dist/node_modules/lodash/_Set.js +4 -5
  590. package/dist/node_modules/lodash/_Set.js.map +1 -1
  591. package/dist/node_modules/lodash/_SetCache.js +1 -2
  592. package/dist/node_modules/lodash/_SetCache.js.map +1 -1
  593. package/dist/node_modules/lodash/_Stack.js +3 -3
  594. package/dist/node_modules/lodash/_Stack.js.map +1 -1
  595. package/dist/node_modules/lodash/_Symbol.js +1 -2
  596. package/dist/node_modules/lodash/_Symbol.js.map +1 -1
  597. package/dist/node_modules/lodash/_Uint8Array.js +1 -2
  598. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -1
  599. package/dist/node_modules/lodash/_WeakMap.js +4 -5
  600. package/dist/node_modules/lodash/_WeakMap.js.map +1 -1
  601. package/dist/node_modules/lodash/_apply.js +1 -2
  602. package/dist/node_modules/lodash/_apply.js.map +1 -1
  603. package/dist/node_modules/lodash/_arrayEvery.js +1 -2
  604. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -1
  605. package/dist/node_modules/lodash/_arrayFilter.js +1 -2
  606. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -1
  607. package/dist/node_modules/lodash/_arrayIncludes.js +1 -2
  608. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -1
  609. package/dist/node_modules/lodash/_arrayIncludesWith.js +1 -2
  610. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -1
  611. package/dist/node_modules/lodash/_arrayLikeKeys.js +5 -6
  612. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -1
  613. package/dist/node_modules/lodash/_arrayMap.js +1 -2
  614. package/dist/node_modules/lodash/_arrayMap.js.map +1 -1
  615. package/dist/node_modules/lodash/_arrayPush.js +1 -2
  616. package/dist/node_modules/lodash/_arrayPush.js.map +1 -1
  617. package/dist/node_modules/lodash/_arraySome.js +1 -2
  618. package/dist/node_modules/lodash/_arraySome.js.map +1 -1
  619. package/dist/node_modules/lodash/_asciiToArray.js +1 -2
  620. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -1
  621. package/dist/node_modules/lodash/_assocIndexOf.js +1 -2
  622. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -1
  623. package/dist/node_modules/lodash/_baseAssignValue.js +1 -2
  624. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -1
  625. package/dist/node_modules/lodash/_baseEach.js +1 -2
  626. package/dist/node_modules/lodash/_baseEach.js.map +1 -1
  627. package/dist/node_modules/lodash/_baseEvery.js +1 -2
  628. package/dist/node_modules/lodash/_baseEvery.js.map +1 -1
  629. package/dist/node_modules/lodash/_baseExtremum.js +1 -2
  630. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -1
  631. package/dist/node_modules/lodash/_baseFindIndex.js +1 -2
  632. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -1
  633. package/dist/node_modules/lodash/_baseFlatten.js +1 -2
  634. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -1
  635. package/dist/node_modules/lodash/_baseFor.js +1 -2
  636. package/dist/node_modules/lodash/_baseFor.js.map +1 -1
  637. package/dist/node_modules/lodash/_baseForOwn.js +4 -5
  638. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -1
  639. package/dist/node_modules/lodash/_baseGet.js +1 -2
  640. package/dist/node_modules/lodash/_baseGet.js.map +1 -1
  641. package/dist/node_modules/lodash/_baseGetAllKeys.js +4 -5
  642. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -1
  643. package/dist/node_modules/lodash/_baseGetTag.js +1 -2
  644. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -1
  645. package/dist/node_modules/lodash/_baseGt.js +1 -2
  646. package/dist/node_modules/lodash/_baseGt.js.map +1 -1
  647. package/dist/node_modules/lodash/_baseHasIn.js +1 -2
  648. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -1
  649. package/dist/node_modules/lodash/_baseIndexOf.js +1 -2
  650. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -1
  651. package/dist/node_modules/lodash/_baseIsArguments.js +1 -2
  652. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -1
  653. package/dist/node_modules/lodash/_baseIsEqual.js +4 -5
  654. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -1
  655. package/dist/node_modules/lodash/_baseIsEqualDeep.js +10 -11
  656. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -1
  657. package/dist/node_modules/lodash/_baseIsMatch.js +1 -2
  658. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -1
  659. package/dist/node_modules/lodash/_baseIsNaN.js +1 -2
  660. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -1
  661. package/dist/node_modules/lodash/_baseIsNative.js +5 -6
  662. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -1
  663. package/dist/node_modules/lodash/_baseIsTypedArray.js +4 -5
  664. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -1
  665. package/dist/node_modules/lodash/_baseIteratee.js +6 -7
  666. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -1
  667. package/dist/node_modules/lodash/_baseKeys.js +1 -2
  668. package/dist/node_modules/lodash/_baseKeys.js.map +1 -1
  669. package/dist/node_modules/lodash/_baseLt.js +1 -2
  670. package/dist/node_modules/lodash/_baseLt.js.map +1 -1
  671. package/dist/node_modules/lodash/_baseMap.js +4 -5
  672. package/dist/node_modules/lodash/_baseMap.js.map +1 -1
  673. package/dist/node_modules/lodash/_baseMatches.js +1 -2
  674. package/dist/node_modules/lodash/_baseMatches.js.map +1 -1
  675. package/dist/node_modules/lodash/_baseMatchesProperty.js +7 -8
  676. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -1
  677. package/dist/node_modules/lodash/_baseOrderBy.js +11 -12
  678. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -1
  679. package/dist/node_modules/lodash/_baseProperty.js +1 -2
  680. package/dist/node_modules/lodash/_baseProperty.js.map +1 -1
  681. package/dist/node_modules/lodash/_basePropertyDeep.js +1 -2
  682. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -1
  683. package/dist/node_modules/lodash/_baseRange.js +1 -2
  684. package/dist/node_modules/lodash/_baseRange.js.map +1 -1
  685. package/dist/node_modules/lodash/_baseRest.js +1 -2
  686. package/dist/node_modules/lodash/_baseRest.js.map +1 -1
  687. package/dist/node_modules/lodash/_baseSetToString.js +5 -6
  688. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -1
  689. package/dist/node_modules/lodash/_baseSlice.js +1 -2
  690. package/dist/node_modules/lodash/_baseSlice.js.map +1 -1
  691. package/dist/node_modules/lodash/_baseSome.js +1 -2
  692. package/dist/node_modules/lodash/_baseSome.js.map +1 -1
  693. package/dist/node_modules/lodash/_baseSortBy.js +1 -2
  694. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -1
  695. package/dist/node_modules/lodash/_baseTimes.js +1 -2
  696. package/dist/node_modules/lodash/_baseTimes.js.map +1 -1
  697. package/dist/node_modules/lodash/_baseToString.js +6 -7
  698. package/dist/node_modules/lodash/_baseToString.js.map +1 -1
  699. package/dist/node_modules/lodash/_baseTrim.js +1 -2
  700. package/dist/node_modules/lodash/_baseTrim.js.map +1 -1
  701. package/dist/node_modules/lodash/_baseUnary.js +1 -2
  702. package/dist/node_modules/lodash/_baseUnary.js.map +1 -1
  703. package/dist/node_modules/lodash/_baseUniq.js +7 -8
  704. package/dist/node_modules/lodash/_baseUniq.js.map +1 -1
  705. package/dist/node_modules/lodash/_cacheHas.js +1 -2
  706. package/dist/node_modules/lodash/_cacheHas.js.map +1 -1
  707. package/dist/node_modules/lodash/_castPath.js +1 -2
  708. package/dist/node_modules/lodash/_castPath.js.map +1 -1
  709. package/dist/node_modules/lodash/_castSlice.js +1 -2
  710. package/dist/node_modules/lodash/_castSlice.js.map +1 -1
  711. package/dist/node_modules/lodash/_compareAscending.js +1 -2
  712. package/dist/node_modules/lodash/_compareAscending.js.map +1 -1
  713. package/dist/node_modules/lodash/_compareMultiple.js +1 -2
  714. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -1
  715. package/dist/node_modules/lodash/_coreJsData.js +1 -2
  716. package/dist/node_modules/lodash/_coreJsData.js.map +1 -1
  717. package/dist/node_modules/lodash/_createBaseEach.js +1 -2
  718. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -1
  719. package/dist/node_modules/lodash/_createBaseFor.js +1 -2
  720. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -1
  721. package/dist/node_modules/lodash/_createCaseFirst.js +6 -7
  722. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -1
  723. package/dist/node_modules/lodash/_createFind.js +5 -6
  724. package/dist/node_modules/lodash/_createFind.js.map +1 -1
  725. package/dist/node_modules/lodash/_createRange.js +4 -5
  726. package/dist/node_modules/lodash/_createRange.js.map +1 -1
  727. package/dist/node_modules/lodash/_createSet.js +6 -7
  728. package/dist/node_modules/lodash/_createSet.js.map +1 -1
  729. package/dist/node_modules/lodash/_defineProperty.js +1 -2
  730. package/dist/node_modules/lodash/_defineProperty.js.map +1 -1
  731. package/dist/node_modules/lodash/_equalArrays.js +1 -2
  732. package/dist/node_modules/lodash/_equalArrays.js.map +1 -1
  733. package/dist/node_modules/lodash/_equalByTag.js +5 -6
  734. package/dist/node_modules/lodash/_equalByTag.js.map +1 -1
  735. package/dist/node_modules/lodash/_equalObjects.js +1 -2
  736. package/dist/node_modules/lodash/_equalObjects.js.map +1 -1
  737. package/dist/node_modules/lodash/_freeGlobal.js +1 -2
  738. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -1
  739. package/dist/node_modules/lodash/_getAllKeys.js +1 -2
  740. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -1
  741. package/dist/node_modules/lodash/_getMapData.js +1 -2
  742. package/dist/node_modules/lodash/_getMapData.js.map +1 -1
  743. package/dist/node_modules/lodash/_getMatchData.js +4 -5
  744. package/dist/node_modules/lodash/_getMatchData.js.map +1 -1
  745. package/dist/node_modules/lodash/_getNative.js +1 -2
  746. package/dist/node_modules/lodash/_getNative.js.map +1 -1
  747. package/dist/node_modules/lodash/_getPrototype.js +1 -2
  748. package/dist/node_modules/lodash/_getPrototype.js.map +1 -1
  749. package/dist/node_modules/lodash/_getRawTag.js +1 -2
  750. package/dist/node_modules/lodash/_getRawTag.js.map +1 -1
  751. package/dist/node_modules/lodash/_getSymbols.js +1 -2
  752. package/dist/node_modules/lodash/_getSymbols.js.map +1 -1
  753. package/dist/node_modules/lodash/_getTag.js +9 -10
  754. package/dist/node_modules/lodash/_getTag.js.map +1 -1
  755. package/dist/node_modules/lodash/_getValue.js +1 -2
  756. package/dist/node_modules/lodash/_getValue.js.map +1 -1
  757. package/dist/node_modules/lodash/_hasPath.js +8 -9
  758. package/dist/node_modules/lodash/_hasPath.js.map +1 -1
  759. package/dist/node_modules/lodash/_hasUnicode.js +1 -2
  760. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -1
  761. package/dist/node_modules/lodash/_hashClear.js +1 -2
  762. package/dist/node_modules/lodash/_hashClear.js.map +1 -1
  763. package/dist/node_modules/lodash/_hashDelete.js +1 -2
  764. package/dist/node_modules/lodash/_hashDelete.js.map +1 -1
  765. package/dist/node_modules/lodash/_hashGet.js +1 -2
  766. package/dist/node_modules/lodash/_hashGet.js.map +1 -1
  767. package/dist/node_modules/lodash/_hashHas.js +1 -2
  768. package/dist/node_modules/lodash/_hashHas.js.map +1 -1
  769. package/dist/node_modules/lodash/_hashSet.js +1 -2
  770. package/dist/node_modules/lodash/_hashSet.js.map +1 -1
  771. package/dist/node_modules/lodash/_isFlattenable.js +5 -6
  772. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -1
  773. package/dist/node_modules/lodash/_isIndex.js +6 -7
  774. package/dist/node_modules/lodash/_isIndex.js.map +1 -1
  775. package/dist/node_modules/lodash/_isIterateeCall.js +5 -6
  776. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -1
  777. package/dist/node_modules/lodash/_isKey.js +1 -2
  778. package/dist/node_modules/lodash/_isKey.js.map +1 -1
  779. package/dist/node_modules/lodash/_isKeyable.js +1 -2
  780. package/dist/node_modules/lodash/_isKeyable.js.map +1 -1
  781. package/dist/node_modules/lodash/_isMasked.js +1 -2
  782. package/dist/node_modules/lodash/_isMasked.js.map +1 -1
  783. package/dist/node_modules/lodash/_isPrototype.js +1 -2
  784. package/dist/node_modules/lodash/_isPrototype.js.map +1 -1
  785. package/dist/node_modules/lodash/_isStrictComparable.js +1 -2
  786. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -1
  787. package/dist/node_modules/lodash/_listCacheClear.js +1 -2
  788. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -1
  789. package/dist/node_modules/lodash/_listCacheDelete.js +1 -2
  790. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -1
  791. package/dist/node_modules/lodash/_listCacheGet.js +1 -2
  792. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -1
  793. package/dist/node_modules/lodash/_listCacheHas.js +1 -2
  794. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -1
  795. package/dist/node_modules/lodash/_listCacheSet.js +1 -2
  796. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -1
  797. package/dist/node_modules/lodash/_mapCacheClear.js +1 -2
  798. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -1
  799. package/dist/node_modules/lodash/_mapCacheDelete.js +1 -2
  800. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -1
  801. package/dist/node_modules/lodash/_mapCacheGet.js +1 -2
  802. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -1
  803. package/dist/node_modules/lodash/_mapCacheHas.js +1 -2
  804. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -1
  805. package/dist/node_modules/lodash/_mapCacheSet.js +1 -2
  806. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -1
  807. package/dist/node_modules/lodash/_mapToArray.js +1 -2
  808. package/dist/node_modules/lodash/_mapToArray.js.map +1 -1
  809. package/dist/node_modules/lodash/_matchesStrictComparable.js +2 -3
  810. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -1
  811. package/dist/node_modules/lodash/_memoizeCapped.js +1 -2
  812. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -1
  813. package/dist/node_modules/lodash/_nativeCreate.js +1 -2
  814. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -1
  815. package/dist/node_modules/lodash/_nativeKeys.js +1 -2
  816. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -1
  817. package/dist/node_modules/lodash/_nodeUtil.js +1 -2
  818. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -1
  819. package/dist/node_modules/lodash/_objectToString.js +1 -2
  820. package/dist/node_modules/lodash/_objectToString.js.map +1 -1
  821. package/dist/node_modules/lodash/_overArg.js +1 -2
  822. package/dist/node_modules/lodash/_overArg.js.map +1 -1
  823. package/dist/node_modules/lodash/_overRest.js +1 -2
  824. package/dist/node_modules/lodash/_overRest.js.map +1 -1
  825. package/dist/node_modules/lodash/_root.js +1 -2
  826. package/dist/node_modules/lodash/_root.js.map +1 -1
  827. package/dist/node_modules/lodash/_setCacheAdd.js +4 -6
  828. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -1
  829. package/dist/node_modules/lodash/_setCacheHas.js +1 -2
  830. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -1
  831. package/dist/node_modules/lodash/_setToArray.js +1 -2
  832. package/dist/node_modules/lodash/_setToArray.js.map +1 -1
  833. package/dist/node_modules/lodash/_setToString.js +1 -2
  834. package/dist/node_modules/lodash/_setToString.js.map +1 -1
  835. package/dist/node_modules/lodash/_shortOut.js +8 -9
  836. package/dist/node_modules/lodash/_shortOut.js.map +1 -1
  837. package/dist/node_modules/lodash/_stackClear.js +1 -2
  838. package/dist/node_modules/lodash/_stackClear.js.map +1 -1
  839. package/dist/node_modules/lodash/_stackDelete.js +1 -2
  840. package/dist/node_modules/lodash/_stackDelete.js.map +1 -1
  841. package/dist/node_modules/lodash/_stackGet.js +1 -2
  842. package/dist/node_modules/lodash/_stackGet.js.map +1 -1
  843. package/dist/node_modules/lodash/_stackHas.js +1 -2
  844. package/dist/node_modules/lodash/_stackHas.js.map +1 -1
  845. package/dist/node_modules/lodash/_stackSet.js +1 -2
  846. package/dist/node_modules/lodash/_stackSet.js.map +1 -1
  847. package/dist/node_modules/lodash/_strictIndexOf.js +1 -2
  848. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -1
  849. package/dist/node_modules/lodash/_stringToArray.js +4 -5
  850. package/dist/node_modules/lodash/_stringToArray.js.map +1 -1
  851. package/dist/node_modules/lodash/_stringToPath.js +1 -2
  852. package/dist/node_modules/lodash/_stringToPath.js.map +1 -1
  853. package/dist/node_modules/lodash/_toKey.js +2 -3
  854. package/dist/node_modules/lodash/_toKey.js.map +1 -1
  855. package/dist/node_modules/lodash/_toSource.js +1 -2
  856. package/dist/node_modules/lodash/_toSource.js.map +1 -1
  857. package/dist/node_modules/lodash/_trimmedEndIndex.js +1 -2
  858. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -1
  859. package/dist/node_modules/lodash/_unicodeToArray.js +1 -2
  860. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -1
  861. package/dist/node_modules/lodash/constant.js +1 -2
  862. package/dist/node_modules/lodash/constant.js.map +1 -1
  863. package/dist/node_modules/lodash/debounce.js +1 -2
  864. package/dist/node_modules/lodash/debounce.js.map +1 -1
  865. package/dist/node_modules/lodash/eq.js +1 -2
  866. package/dist/node_modules/lodash/eq.js.map +1 -1
  867. package/dist/node_modules/lodash/every.js +7 -8
  868. package/dist/node_modules/lodash/every.js.map +1 -1
  869. package/dist/node_modules/lodash/find.js +1 -2
  870. package/dist/node_modules/lodash/find.js.map +1 -1
  871. package/dist/node_modules/lodash/findIndex.js +4 -5
  872. package/dist/node_modules/lodash/findIndex.js.map +1 -1
  873. package/dist/node_modules/lodash/flatMap.js +1 -2
  874. package/dist/node_modules/lodash/flatMap.js.map +1 -1
  875. package/dist/node_modules/lodash/get.js +1 -2
  876. package/dist/node_modules/lodash/get.js.map +1 -1
  877. package/dist/node_modules/lodash/hasIn.js +1 -2
  878. package/dist/node_modules/lodash/hasIn.js.map +1 -1
  879. package/dist/node_modules/lodash/identity.js +1 -2
  880. package/dist/node_modules/lodash/identity.js.map +1 -1
  881. package/dist/node_modules/lodash/isArguments.js +4 -5
  882. package/dist/node_modules/lodash/isArguments.js.map +1 -1
  883. package/dist/node_modules/lodash/isArray.js +1 -2
  884. package/dist/node_modules/lodash/isArray.js.map +1 -1
  885. package/dist/node_modules/lodash/isArrayLike.js +1 -2
  886. package/dist/node_modules/lodash/isArrayLike.js.map +1 -1
  887. package/dist/node_modules/lodash/isBoolean.js +1 -2
  888. package/dist/node_modules/lodash/isBoolean.js.map +1 -1
  889. package/dist/node_modules/lodash/isBuffer.js +1 -2
  890. package/dist/node_modules/lodash/isBuffer.js.map +1 -1
  891. package/dist/node_modules/lodash/isEqual.js +1 -2
  892. package/dist/node_modules/lodash/isEqual.js.map +1 -1
  893. package/dist/node_modules/lodash/isFunction.js +1 -2
  894. package/dist/node_modules/lodash/isFunction.js.map +1 -1
  895. package/dist/node_modules/lodash/isLength.js +4 -6
  896. package/dist/node_modules/lodash/isLength.js.map +1 -1
  897. package/dist/node_modules/lodash/isNaN.js +1 -2
  898. package/dist/node_modules/lodash/isNaN.js.map +1 -1
  899. package/dist/node_modules/lodash/isNil.js +1 -2
  900. package/dist/node_modules/lodash/isNil.js.map +1 -1
  901. package/dist/node_modules/lodash/isNumber.js +1 -2
  902. package/dist/node_modules/lodash/isNumber.js.map +1 -1
  903. package/dist/node_modules/lodash/isObject.js +1 -2
  904. package/dist/node_modules/lodash/isObject.js.map +1 -1
  905. package/dist/node_modules/lodash/isObjectLike.js +1 -2
  906. package/dist/node_modules/lodash/isObjectLike.js.map +1 -1
  907. package/dist/node_modules/lodash/isPlainObject.js +4 -5
  908. package/dist/node_modules/lodash/isPlainObject.js.map +1 -1
  909. package/dist/node_modules/lodash/isString.js +4 -5
  910. package/dist/node_modules/lodash/isString.js.map +1 -1
  911. package/dist/node_modules/lodash/isSymbol.js +1 -2
  912. package/dist/node_modules/lodash/isSymbol.js.map +1 -1
  913. package/dist/node_modules/lodash/isTypedArray.js +1 -2
  914. package/dist/node_modules/lodash/isTypedArray.js.map +1 -1
  915. package/dist/node_modules/lodash/keys.js +1 -2
  916. package/dist/node_modules/lodash/keys.js.map +1 -1
  917. package/dist/node_modules/lodash/last.js +1 -2
  918. package/dist/node_modules/lodash/last.js.map +1 -1
  919. package/dist/node_modules/lodash/map.js +6 -7
  920. package/dist/node_modules/lodash/map.js.map +1 -1
  921. package/dist/node_modules/lodash/mapValues.js +4 -5
  922. package/dist/node_modules/lodash/mapValues.js.map +1 -1
  923. package/dist/node_modules/lodash/max.js +5 -6
  924. package/dist/node_modules/lodash/max.js.map +1 -1
  925. package/dist/node_modules/lodash/maxBy.js +5 -6
  926. package/dist/node_modules/lodash/maxBy.js.map +1 -1
  927. package/dist/node_modules/lodash/memoize.js +1 -2
  928. package/dist/node_modules/lodash/memoize.js.map +1 -1
  929. package/dist/node_modules/lodash/min.js +5 -6
  930. package/dist/node_modules/lodash/min.js.map +1 -1
  931. package/dist/node_modules/lodash/minBy.js +4 -5
  932. package/dist/node_modules/lodash/minBy.js.map +1 -1
  933. package/dist/node_modules/lodash/noop.js +1 -2
  934. package/dist/node_modules/lodash/noop.js.map +1 -1
  935. package/dist/node_modules/lodash/now.js +1 -2
  936. package/dist/node_modules/lodash/now.js.map +1 -1
  937. package/dist/node_modules/lodash/property.js +6 -7
  938. package/dist/node_modules/lodash/property.js.map +1 -1
  939. package/dist/node_modules/lodash/range.js +1 -2
  940. package/dist/node_modules/lodash/range.js.map +1 -1
  941. package/dist/node_modules/lodash/some.js +7 -8
  942. package/dist/node_modules/lodash/some.js.map +1 -1
  943. package/dist/node_modules/lodash/sortBy.js +1 -2
  944. package/dist/node_modules/lodash/sortBy.js.map +1 -1
  945. package/dist/node_modules/lodash/stubArray.js +1 -2
  946. package/dist/node_modules/lodash/stubArray.js.map +1 -1
  947. package/dist/node_modules/lodash/stubFalse.js +1 -2
  948. package/dist/node_modules/lodash/stubFalse.js.map +1 -1
  949. package/dist/node_modules/lodash/throttle.js +4 -5
  950. package/dist/node_modules/lodash/throttle.js.map +1 -1
  951. package/dist/node_modules/lodash/toFinite.js +2 -3
  952. package/dist/node_modules/lodash/toFinite.js.map +1 -1
  953. package/dist/node_modules/lodash/toInteger.js +1 -2
  954. package/dist/node_modules/lodash/toInteger.js.map +1 -1
  955. package/dist/node_modules/lodash/toNumber.js +4 -5
  956. package/dist/node_modules/lodash/toNumber.js.map +1 -1
  957. package/dist/node_modules/lodash/toString.js +1 -2
  958. package/dist/node_modules/lodash/toString.js.map +1 -1
  959. package/dist/node_modules/lodash/uniqBy.js +1 -2
  960. package/dist/node_modules/lodash/uniqBy.js.map +1 -1
  961. package/dist/node_modules/lodash/upperFirst.js +1 -2
  962. package/dist/node_modules/lodash/upperFirst.js.map +1 -1
  963. package/dist/node_modules/object-assign/index.js +1 -2
  964. package/dist/node_modules/object-assign/index.js.map +1 -1
  965. package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
  966. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -1
  967. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
  968. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -1
  969. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +3 -3
  970. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -1
  971. package/dist/node_modules/prop-types/index.js +1 -2
  972. package/dist/node_modules/prop-types/index.js.map +1 -1
  973. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
  974. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -1
  975. package/dist/node_modules/prop-types/lib/has.js +1 -2
  976. package/dist/node_modules/prop-types/lib/has.js.map +1 -1
  977. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -2
  978. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  979. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  980. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  981. package/dist/node_modules/prop-types/node_modules/react-is/index.js +2 -3
  982. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -1
  983. package/dist/node_modules/react-is/cjs/react-is.development.js +31 -32
  984. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -1
  985. package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -2
  986. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -1
  987. package/dist/node_modules/react-is/index.js +2 -3
  988. package/dist/node_modules/react-is/index.js.map +1 -1
  989. package/dist/node_modules/react-smooth/es6/Animate.js +33 -41
  990. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -1
  991. package/dist/node_modules/react-smooth/es6/AnimateManager.js +2 -5
  992. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -1
  993. package/dist/node_modules/react-smooth/es6/configUpdate.js +1 -2
  994. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -1
  995. package/dist/node_modules/react-smooth/es6/easing.js +1 -2
  996. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -1
  997. package/dist/node_modules/react-smooth/es6/index.js +1 -2
  998. package/dist/node_modules/react-smooth/es6/index.js.map +1 -1
  999. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +1 -2
  1000. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -1
  1001. package/dist/node_modules/react-smooth/es6/util.js +17 -16
  1002. package/dist/node_modules/react-smooth/es6/util.js.map +1 -1
  1003. package/dist/node_modules/recharts/es6/cartesian/Area.js +99 -100
  1004. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -1
  1005. package/dist/node_modules/recharts/es6/cartesian/Bar.js +103 -104
  1006. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -1
  1007. package/dist/node_modules/recharts/es6/cartesian/Brush.js +35 -36
  1008. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -1
  1009. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +60 -67
  1010. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -1
  1011. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +20 -21
  1012. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -1
  1013. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +29 -30
  1014. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -1
  1015. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +23 -24
  1016. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -1
  1017. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +31 -32
  1018. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -1
  1019. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +10 -11
  1020. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -1
  1021. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +10 -11
  1022. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -1
  1023. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +5 -6
  1024. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -1
  1025. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +7 -8
  1026. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -1
  1027. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +2 -5
  1028. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -1
  1029. package/dist/node_modules/recharts/es6/chart/AreaChart.js +5 -6
  1030. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -1
  1031. package/dist/node_modules/recharts/es6/chart/BarChart.js +7 -8
  1032. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -1
  1033. package/dist/node_modules/recharts/es6/chart/PieChart.js +11 -12
  1034. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -1
  1035. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +534 -533
  1036. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -1
  1037. package/dist/node_modules/recharts/es6/component/Cell.js +1 -2
  1038. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -1
  1039. package/dist/node_modules/recharts/es6/component/Cursor.js +17 -18
  1040. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -1
  1041. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +35 -36
  1042. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -1
  1043. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +16 -17
  1044. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -1
  1045. package/dist/node_modules/recharts/es6/component/Label.js +85 -86
  1046. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -1
  1047. package/dist/node_modules/recharts/es6/component/LabelList.js +20 -21
  1048. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -1
  1049. package/dist/node_modules/recharts/es6/component/Legend.js +26 -23
  1050. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -1
  1051. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +16 -17
  1052. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -1
  1053. package/dist/node_modules/recharts/es6/component/Text.js +18 -21
  1054. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -1
  1055. package/dist/node_modules/recharts/es6/component/Tooltip.js +16 -17
  1056. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -1
  1057. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +3 -4
  1058. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -1
  1059. package/dist/node_modules/recharts/es6/container/Layer.js +5 -6
  1060. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -1
  1061. package/dist/node_modules/recharts/es6/container/Surface.js +5 -6
  1062. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -1
  1063. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +7 -8
  1064. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -1
  1065. package/dist/node_modules/recharts/es6/polar/Pie.js +103 -107
  1066. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -1
  1067. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +30 -31
  1068. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -1
  1069. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +38 -41
  1070. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -1
  1071. package/dist/node_modules/recharts/es6/shape/Cross.js +4 -5
  1072. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -1
  1073. package/dist/node_modules/recharts/es6/shape/Curve.js +51 -52
  1074. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -1
  1075. package/dist/node_modules/recharts/es6/shape/Dot.js +3 -4
  1076. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -1
  1077. package/dist/node_modules/recharts/es6/shape/Polygon.js +7 -8
  1078. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -1
  1079. package/dist/node_modules/recharts/es6/shape/Rectangle.js +8 -9
  1080. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -1
  1081. package/dist/node_modules/recharts/es6/shape/Sector.js +33 -34
  1082. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -1
  1083. package/dist/node_modules/recharts/es6/shape/Symbols.js +33 -34
  1084. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -1
  1085. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +8 -9
  1086. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -1
  1087. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +24 -25
  1088. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -1
  1089. package/dist/node_modules/recharts/es6/util/BarUtils.js +10 -11
  1090. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -1
  1091. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +33 -34
  1092. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -1
  1093. package/dist/node_modules/recharts/es6/util/ChartUtils.js +236 -235
  1094. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -1
  1095. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +1 -2
  1096. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -1
  1097. package/dist/node_modules/recharts/es6/util/DOMUtils.js +1 -2
  1098. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -1
  1099. package/dist/node_modules/recharts/es6/util/DataUtils.js +7 -8
  1100. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -1
  1101. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +20 -21
  1102. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -1
  1103. package/dist/node_modules/recharts/es6/util/Events.js +0 -1
  1104. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -1
  1105. package/dist/node_modules/recharts/es6/util/Global.js +0 -1
  1106. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -1
  1107. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +1 -2
  1108. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -1
  1109. package/dist/node_modules/recharts/es6/util/LogUtils.js +9 -8
  1110. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -1
  1111. package/dist/node_modules/recharts/es6/util/PolarUtils.js +6 -7
  1112. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -1
  1113. package/dist/node_modules/recharts/es6/util/ReactUtils.js +11 -12
  1114. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -1
  1115. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +5 -6
  1116. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -1
  1117. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +1 -2
  1118. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -1
  1119. package/dist/node_modules/recharts/es6/util/TickUtils.js +4 -4
  1120. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -1
  1121. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +0 -1
  1122. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -1
  1123. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +7 -6
  1124. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -1
  1125. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +1 -2
  1126. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -1
  1127. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +1 -2
  1128. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -1
  1129. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +1 -2
  1130. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -1
  1131. package/dist/node_modules/recharts/es6/util/getLegendProps.js +9 -10
  1132. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -1
  1133. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +1 -2
  1134. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -1
  1135. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +4 -5
  1136. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -1
  1137. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +3 -4
  1138. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -1
  1139. package/dist/node_modules/recharts/es6/util/types.js +2 -3
  1140. package/dist/node_modules/recharts/es6/util/types.js.map +1 -1
  1141. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +2 -3
  1142. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -1
  1143. package/dist/node_modules/recharts-scale/es6/index.js +1 -1
  1144. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +1 -2
  1145. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -1
  1146. package/dist/node_modules/recharts-scale/es6/util/utils.js +3 -4
  1147. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -1
  1148. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js +2 -3
  1149. package/dist/node_modules/rxjs/dist/esm5/internal/NotificationFactories.js.map +1 -1
  1150. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js +1 -2
  1151. package/dist/node_modules/rxjs/dist/esm5/internal/Scheduler.js.map +1 -1
  1152. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js +13 -14
  1153. package/dist/node_modules/rxjs/dist/esm5/internal/Subscriber.js.map +1 -1
  1154. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js +20 -17
  1155. package/dist/node_modules/rxjs/dist/esm5/internal/Subscription.js.map +1 -1
  1156. package/dist/node_modules/rxjs/dist/esm5/internal/config.js +1 -2
  1157. package/dist/node_modules/rxjs/dist/esm5/internal/config.js.map +1 -1
  1158. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js +3 -4
  1159. package/dist/node_modules/rxjs/dist/esm5/internal/operators/OperatorSubscriber.js.map +1 -1
  1160. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js +12 -13
  1161. package/dist/node_modules/rxjs/dist/esm5/internal/operators/observeOn.js.map +1 -1
  1162. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js +1 -2
  1163. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/Action.js.map +1 -1
  1164. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js +1 -2
  1165. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapAction.js.map +1 -1
  1166. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js +1 -2
  1167. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsapScheduler.js.map +1 -1
  1168. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js +17 -18
  1169. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncAction.js.map +1 -1
  1170. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js +12 -14
  1171. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/AsyncScheduler.js.map +1 -1
  1172. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js +1 -2
  1173. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/asap.js.map +1 -1
  1174. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js +1 -2
  1175. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/dateTimestampProvider.js.map +1 -1
  1176. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js +1 -2
  1177. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/immediateProvider.js.map +1 -1
  1178. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js +1 -2
  1179. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/intervalProvider.js.map +1 -1
  1180. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js +1 -2
  1181. package/dist/node_modules/rxjs/dist/esm5/internal/scheduler/timeoutProvider.js.map +1 -1
  1182. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js +2 -3
  1183. package/dist/node_modules/rxjs/dist/esm5/internal/util/Immediate.js.map +1 -1
  1184. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js +1 -2
  1185. package/dist/node_modules/rxjs/dist/esm5/internal/util/UnsubscriptionError.js.map +1 -1
  1186. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js +1 -2
  1187. package/dist/node_modules/rxjs/dist/esm5/internal/util/arrRemove.js.map +1 -1
  1188. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js +1 -2
  1189. package/dist/node_modules/rxjs/dist/esm5/internal/util/createErrorClass.js.map +1 -1
  1190. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js +3 -6
  1191. package/dist/node_modules/rxjs/dist/esm5/internal/util/errorContext.js.map +1 -1
  1192. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js +1 -2
  1193. package/dist/node_modules/rxjs/dist/esm5/internal/util/executeSchedule.js.map +1 -1
  1194. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js +1 -2
  1195. package/dist/node_modules/rxjs/dist/esm5/internal/util/isFunction.js.map +1 -1
  1196. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js +2 -3
  1197. package/dist/node_modules/rxjs/dist/esm5/internal/util/lift.js.map +1 -1
  1198. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js +1 -2
  1199. package/dist/node_modules/rxjs/dist/esm5/internal/util/noop.js.map +1 -1
  1200. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js +1 -2
  1201. package/dist/node_modules/rxjs/dist/esm5/internal/util/reportUnhandledError.js.map +1 -1
  1202. package/dist/node_modules/sonner/dist/index.js +75 -69
  1203. package/dist/node_modules/sonner/dist/index.js.map +1 -1
  1204. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +2 -3
  1205. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -1
  1206. package/dist/node_modules/tslib/tslib.es6.js +1 -2
  1207. package/dist/node_modules/tslib/tslib.es6.js.map +1 -1
  1208. package/dist/node_modules/victory-vendor/es/d3-scale.js +2 -3
  1209. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -1
  1210. package/dist/services/createSandboxAssistantTransport.js +1 -2
  1211. package/dist/services/createSandboxAssistantTransport.js.map +1 -1
  1212. package/dist/shared/hooks/useTr.js +1 -2
  1213. package/dist/shared/hooks/useTr.js.map +1 -1
  1214. package/dist/utils/pageContext.js +3 -4
  1215. package/dist/utils/pageContext.js.map +1 -1
  1216. package/package.json +29 -16
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/Pagination.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB,GAAG,mBAAmB,CA4BrF;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,WAAW,EACX,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAmB,EACnB,OAAiB,EACjB,UAAU,EACV,OAAe,EACf,SAAS,GACV,EAAE,eAAe,kDAiDjB"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/Pagination.tsx"],"names":[],"mappings":"AAgBA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,MAAM,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,wBAAgB,aAAa,CAAC,OAAO,GAAE,oBAAyB,GAAG,mBAAmB,CA4BrF;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,WAAW,EAAE,MAAM,CAAC;IACpB,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,OAAO,CAAC,EAAE,OAAO,GAAG,WAAW,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,KAAK,EACL,WAAW,EACX,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAmB,EACnB,OAAiB,EACjB,UAAU,EACV,OAAe,EACf,SAAS,GACV,EAAE,eAAe,sCAiDjB"}
@@ -2,7 +2,7 @@ import { useState as e } from "react";
2
2
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
3
  import { ChevronLeft as r, ChevronRight as i } from "lucide-react";
4
4
  import { Button as a } from "@burdenoff/fe-libs/ui";
5
- //#region src/eventfullymanaged/components/Pagination.tsx
5
+ // src/eventfullymanaged/components/Pagination.tsx
6
6
  var o = 20;
7
7
  function s(t = {}) {
8
8
  let { pageSize: n = o, resetKey: r } = t, [i, a] = e(n), [s, c] = e(0), [l, u] = e(r);
@@ -78,7 +78,6 @@ function c({ offset: e, limit: o, loadedCount: s, total: c, onPrev: l, onNext: u
78
78
  })]
79
79
  });
80
80
  }
81
- //#endregion
82
81
  export { c as Pagination, s as usePagination };
83
82
 
84
83
  //# sourceMappingURL=Pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","names":[],"sources":["../../../src/eventfullymanaged/components/Pagination.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { Button } from '@burdenoff/fe-libs/ui';\nimport { ChevronLeft, ChevronRight } from 'lucide-react';\n\n/**\n * Server-side offset/limit pagination shared by every EventfullyManaged list page.\n *\n * The backend list resolvers (`eventfullyManagedEvents`, `...Sponsors`, etc.) all\n * accept `{ limit, offset }` and return `{ total, items }`. `usePagination` owns\n * the `limit`/`offset` window; the page feeds them straight into its query, then\n * renders `<Pagination>` with the page's `total` and the number of rows actually\n * returned so Prev/Next gate correctly on `offset + loadedCount < total`.\n */\n\nconst DEFAULT_PAGE_SIZE = 20;\n\nexport interface UsePaginationOptions {\n pageSize?: number;\n /**\n * When this value changes (e.g. a search term or active-event filter) the\n * window resets to the first page so the user is never stranded on an offset\n * that no longer has rows.\n */\n resetKey?: unknown;\n}\n\nexport interface UsePaginationResult {\n /** Page size — pass as the query's `limit`. */\n limit: number;\n /** Row offset — pass as the query's `offset`. */\n offset: number;\n /** 1-based page index, derived from offset/limit. */\n page: number;\n nextPage: () => void;\n prevPage: () => void;\n setPageSize: (size: number) => void;\n reset: () => void;\n}\n\nexport function usePagination(options: UsePaginationOptions = {}): UsePaginationResult {\n const { pageSize: initialPageSize = DEFAULT_PAGE_SIZE, resetKey } = options;\n const [limit, setLimit] = useState(initialPageSize);\n const [offset, setOffset] = useState(0);\n\n // Reset to the first page whenever the resetKey changes. Storing the previous\n // key in state and adjusting during render is React's documented pattern for\n // deriving state from props — it avoids an extra effect + render pass.\n const [prevResetKey, setPrevResetKey] = useState(resetKey);\n if (prevResetKey !== resetKey) {\n setPrevResetKey(resetKey);\n if (offset !== 0) {\n setOffset(0);\n }\n }\n\n return {\n limit,\n offset,\n page: Math.floor(offset / Math.max(1, limit)) + 1,\n nextPage: () => setOffset((current) => current + limit),\n prevPage: () => setOffset((current) => Math.max(0, current - limit)),\n setPageSize: (size: number) => {\n setLimit(Math.max(1, size));\n setOffset(0);\n },\n reset: () => setOffset(0),\n };\n}\n\nexport interface PaginationProps {\n offset: number;\n limit: number;\n /** Number of rows returned for the current page (`items.length`). */\n loadedCount: number;\n /** Total rows available across all pages (list `total`). */\n total: number;\n onPrev: () => void;\n onNext: () => void;\n /** Plural noun for the range label, e.g. \"sponsors\". Defaults to \"items\". */\n itemLabel?: string;\n /** Render a single \"Load more\" button instead of Prev/Next. */\n variant?: 'pager' | 'load-more';\n onLoadMore?: () => void;\n loading?: boolean;\n className?: string;\n}\n\nexport function Pagination({\n offset,\n limit,\n loadedCount,\n total,\n onPrev,\n onNext,\n itemLabel = 'items',\n variant = 'pager',\n onLoadMore,\n loading = false,\n className,\n}: PaginationProps) {\n if (total === 0) {\n return null;\n }\n\n const rangeStart = offset + 1;\n const rangeEnd = offset + loadedCount;\n const canPrev = offset > 0;\n const canNext = offset + loadedCount < total;\n const page = Math.floor(offset / Math.max(1, limit)) + 1;\n const pageCount = Math.max(1, Math.ceil(total / Math.max(1, limit)));\n\n if (variant === 'load-more') {\n if (!canNext) {\n return null;\n }\n return (\n <div className={`flex justify-center pt-4 ${className ?? ''}`}>\n <Button size=\"sm\" variant=\"outline\" onClick={onLoadMore ?? onNext} disabled={loading}>\n {loading ? 'Loading…' : `Load more ${itemLabel}`}\n </Button>\n </div>\n );\n }\n\n return (\n <div\n className={`flex flex-wrap items-center justify-between gap-3 pt-4 ${className ?? ''}`}\n role=\"navigation\"\n aria-label=\"Pagination\"\n >\n <p className=\"text-xs tabular-nums text-text-secondary\">\n Showing {rangeStart}–{rangeEnd} of {total} {itemLabel}\n </p>\n <div className=\"flex items-center gap-2\">\n <span className=\"text-xs tabular-nums text-text-secondary\">\n Page {page} of {pageCount}\n </span>\n <Button size=\"sm\" variant=\"outline\" onClick={onPrev} disabled={!canPrev || loading} aria-label=\"Previous page\">\n <ChevronLeft className=\"h-4 w-4\" />\n Prev\n </Button>\n <Button size=\"sm\" variant=\"outline\" onClick={onNext} disabled={!canNext || loading} aria-label=\"Next page\">\n Next\n <ChevronRight className=\"h-4 w-4\" />\n </Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;AAcA,IAAM,IAAoB;AAyB1B,SAAgB,EAAc,IAAgC,EAAE,EAAuB;CACrF,IAAM,EAAE,UAAU,IAAkB,GAAmB,gBAAa,GAC9D,CAAC,GAAO,KAAY,EAAS,EAAgB,EAC7C,CAAC,GAAQ,KAAa,EAAS,EAAE,EAKjC,CAAC,GAAc,KAAmB,EAAS,EAAS;AAQ1D,QAPI,MAAiB,MACnB,EAAgB,EAAS,EACrB,MAAW,KACb,EAAU,EAAE,GAIT;EACL;EACA;EACA,MAAM,KAAK,MAAM,IAAS,KAAK,IAAI,GAAG,EAAM,CAAC,GAAG;EAChD,gBAAgB,GAAW,MAAY,IAAU,EAAM;EACvD,gBAAgB,GAAW,MAAY,KAAK,IAAI,GAAG,IAAU,EAAM,CAAC;EACpE,cAAc,MAAiB;AAE7B,GADA,EAAS,KAAK,IAAI,GAAG,EAAK,CAAC,EAC3B,EAAU,EAAE;;EAEd,aAAa,EAAU,EAAE;EAC1B;;AAqBH,SAAgB,EAAW,EACzB,WACA,UACA,gBACA,UACA,WACA,WACA,eAAY,SACZ,aAAU,SACV,eACA,aAAU,IACV,gBACkB;AAClB,KAAI,MAAU,EACZ,QAAO;CAGT,IAAM,IAAa,IAAS,GACtB,IAAW,IAAS,GACpB,IAAU,IAAS,GACnB,IAAU,IAAS,IAAc,GACjC,IAAO,KAAK,MAAM,IAAS,KAAK,IAAI,GAAG,EAAM,CAAC,GAAG,GACjD,IAAY,KAAK,IAAI,GAAG,KAAK,KAAK,IAAQ,KAAK,IAAI,GAAG,EAAM,CAAC,CAAC;AAepE,QAbI,MAAY,cACT,IAIH,kBAAC,OAAD;EAAK,WAAW,4BAA4B,KAAa;YACvD,kBAAC,GAAD;GAAQ,MAAK;GAAK,SAAQ;GAAU,SAAS,KAAc;GAAQ,UAAU;aAC1E,IAAU,aAAa,aAAa;GAC9B,CAAA;EACL,CAAA,GAPC,OAYT,kBAAC,OAAD;EACE,WAAW,0DAA0D,KAAa;EAClF,MAAK;EACL,cAAW;YAHb,CAKE,kBAAC,KAAD;GAAG,WAAU;aAAb;IAAwD;IAC7C;IAAW;IAAE;IAAS;IAAK;IAAM;IAAE;IAC1C;MACJ,kBAAC,OAAD;GAAK,WAAU;aAAf;IACE,kBAAC,QAAD;KAAM,WAAU;eAAhB;MAA2D;MACnD;MAAK;MAAK;MACX;;IACP,kBAAC,GAAD;KAAQ,MAAK;KAAK,SAAQ;KAAU,SAAS;KAAQ,UAAU,CAAC,KAAW;KAAS,cAAW;eAA/F,CACE,kBAAC,GAAD,EAAa,WAAU,WAAY,CAAA,EAAA,OAE5B;;IACT,kBAAC,GAAD;KAAQ,MAAK;KAAK,SAAQ;KAAU,SAAS;KAAQ,UAAU,CAAC,KAAW;KAAS,cAAW;eAA/F,CAA2G,QAEzG,kBAAC,GAAD,EAAc,WAAU,WAAY,CAAA,CAC7B;;IACL;KACF"}
1
+ {"version":3,"file":"Pagination.js","names":["DEFAULT_PAGE_SIZE","usePagination","initialPageSize","options","limit","setLimit","useState","offset","setOffset","prevResetKey","setPrevResetKey","resetKey","current","size","Pagination","total","rangeStart","rangeEnd","loadedCount","canPrev","canNext","page","pageCount","variant","className","Button","onLoadMore","onNext","loading","itemLabel","onPrev","ChevronLeft","ChevronRight"],"sources":["../../../src/eventfullymanaged/components/Pagination.tsx"],"sourcesContent":["import { useState } from 'react';\nimport { Button } from '@burdenoff/fe-libs/ui';\nimport { ChevronLeft, ChevronRight } from 'lucide-react';\n\n/**\n * Server-side offset/limit pagination shared by every EventfullyManaged list page.\n *\n * The backend list resolvers (`eventfullyManagedEvents`, `...Sponsors`, etc.) all\n * accept `{ limit, offset }` and return `{ total, items }`. `usePagination` owns\n * the `limit`/`offset` window; the page feeds them straight into its query, then\n * renders `<Pagination>` with the page's `total` and the number of rows actually\n * returned so Prev/Next gate correctly on `offset + loadedCount < total`.\n */\n\nconst DEFAULT_PAGE_SIZE = 20;\n\nexport interface UsePaginationOptions {\n pageSize?: number;\n /**\n * When this value changes (e.g. a search term or active-event filter) the\n * window resets to the first page so the user is never stranded on an offset\n * that no longer has rows.\n */\n resetKey?: unknown;\n}\n\nexport interface UsePaginationResult {\n /** Page size — pass as the query's `limit`. */\n limit: number;\n /** Row offset — pass as the query's `offset`. */\n offset: number;\n /** 1-based page index, derived from offset/limit. */\n page: number;\n nextPage: () => void;\n prevPage: () => void;\n setPageSize: (size: number) => void;\n reset: () => void;\n}\n\nexport function usePagination(options: UsePaginationOptions = {}): UsePaginationResult {\n const { pageSize: initialPageSize = DEFAULT_PAGE_SIZE, resetKey } = options;\n const [limit, setLimit] = useState(initialPageSize);\n const [offset, setOffset] = useState(0);\n\n // Reset to the first page whenever the resetKey changes. Storing the previous\n // key in state and adjusting during render is React's documented pattern for\n // deriving state from props — it avoids an extra effect + render pass.\n const [prevResetKey, setPrevResetKey] = useState(resetKey);\n if (prevResetKey !== resetKey) {\n setPrevResetKey(resetKey);\n if (offset !== 0) {\n setOffset(0);\n }\n }\n\n return {\n limit,\n offset,\n page: Math.floor(offset / Math.max(1, limit)) + 1,\n nextPage: () => setOffset((current) => current + limit),\n prevPage: () => setOffset((current) => Math.max(0, current - limit)),\n setPageSize: (size: number) => {\n setLimit(Math.max(1, size));\n setOffset(0);\n },\n reset: () => setOffset(0),\n };\n}\n\nexport interface PaginationProps {\n offset: number;\n limit: number;\n /** Number of rows returned for the current page (`items.length`). */\n loadedCount: number;\n /** Total rows available across all pages (list `total`). */\n total: number;\n onPrev: () => void;\n onNext: () => void;\n /** Plural noun for the range label, e.g. \"sponsors\". Defaults to \"items\". */\n itemLabel?: string;\n /** Render a single \"Load more\" button instead of Prev/Next. */\n variant?: 'pager' | 'load-more';\n onLoadMore?: () => void;\n loading?: boolean;\n className?: string;\n}\n\nexport function Pagination({\n offset,\n limit,\n loadedCount,\n total,\n onPrev,\n onNext,\n itemLabel = 'items',\n variant = 'pager',\n onLoadMore,\n loading = false,\n className,\n}: PaginationProps) {\n if (total === 0) {\n return null;\n }\n\n const rangeStart = offset + 1;\n const rangeEnd = offset + loadedCount;\n const canPrev = offset > 0;\n const canNext = offset + loadedCount < total;\n const page = Math.floor(offset / Math.max(1, limit)) + 1;\n const pageCount = Math.max(1, Math.ceil(total / Math.max(1, limit)));\n\n if (variant === 'load-more') {\n if (!canNext) {\n return null;\n }\n return (\n <div className={`flex justify-center pt-4 ${className ?? ''}`}>\n <Button size=\"sm\" variant=\"outline\" onClick={onLoadMore ?? onNext} disabled={loading}>\n {loading ? 'Loading…' : `Load more ${itemLabel}`}\n </Button>\n </div>\n );\n }\n\n return (\n <div\n className={`flex flex-wrap items-center justify-between gap-3 pt-4 ${className ?? ''}`}\n role=\"navigation\"\n aria-label=\"Pagination\"\n >\n <p className=\"text-xs tabular-nums text-text-secondary\">\n Showing {rangeStart}–{rangeEnd} of {total} {itemLabel}\n </p>\n <div className=\"flex items-center gap-2\">\n <span className=\"text-xs tabular-nums text-text-secondary\">\n Page {page} of {pageCount}\n </span>\n <Button size=\"sm\" variant=\"outline\" onClick={onPrev} disabled={!canPrev || loading} aria-label=\"Previous page\">\n <ChevronLeft className=\"h-4 w-4\" />\n Prev\n </Button>\n <Button size=\"sm\" variant=\"outline\" onClick={onNext} disabled={!canNext || loading} aria-label=\"Next page\">\n Next\n <ChevronRight className=\"h-4 w-4\" />\n </Button>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;AAcA,IAAMA,IAAoB;AAyB1B,SAAgBC,EAAc,IAAgC,CAAC,GAAwB;CACrF,IAAM,EAAE,UAAUC,IAAkBF,GAAmB,gBAAaG,GAC9D,CAACC,GAAOC,KAAYC,EAASJ,CAAe,GAC5C,CAACK,GAAQC,KAAaF,EAAS,CAAC,GAKhC,CAACG,GAAcC,KAAmBJ,EAASK,CAAQ;CAQzD,OAPIF,MAAiBE,MACnBD,EAAgBC,CAAQ,GACpBJ,MAAW,KACbC,EAAU,CAAC,IAIR;EACL;EACA;EACA,MAAM,KAAK,MAAMD,IAAS,KAAK,IAAI,GAAGH,CAAK,CAAC,IAAI;EAChD,gBAAgBI,GAAW,MAAYI,IAAUR,CAAK;EACtD,gBAAgBI,GAAW,MAAY,KAAK,IAAI,GAAGI,IAAUR,CAAK,CAAC;EACnE,cAAc,MAAiB;GAE7B,AADAC,EAAS,KAAK,IAAI,GAAGQ,CAAI,CAAC,GAC1BL,EAAU,CAAC;EACb;EACA,aAAaA,EAAU,CAAC;CAC1B;AACF;AAoBA,SAAgBM,EAAW,EACzB,WACA,UACA,gBACA,UACA,WACA,WACA,eAAY,SACZ,aAAU,SACV,eACA,aAAU,IACV,gBACkB;CAClB,IAAIC,MAAU,GACZ,OAAO;CAGT,IAAMC,IAAaT,IAAS,GACtBU,IAAWV,IAASW,GACpBC,IAAUZ,IAAS,GACnBa,IAAUb,IAASW,IAAcH,GACjCM,IAAO,KAAK,MAAMd,IAAS,KAAK,IAAI,GAAGH,CAAK,CAAC,IAAI,GACjDkB,IAAY,KAAK,IAAI,GAAG,KAAK,KAAKP,IAAQ,KAAK,IAAI,GAAGX,CAAK,CAAC,CAAC;CAenE,OAbImB,MAAY,cACTH,IAIH,kBAAC,OAAD;EAAK,WAAW,4BAA4BI,KAAa;EACvD,UAAA,kBAACC,GAAD;GAAQ,MAAK;GAAK,SAAQ;GAAU,SAASC,KAAcC;GAAQ,UAAUC;GAC1E,UAAAA,IAAU,aAAa,aAAaC;EAC/B,CAAA;CACL,CAAA,IAPE,OAYT,kBAAC,OAAD;EACE,WAAW,0DAA0DL,KAAa;EAClF,MAAK;EACL,cAAW;EAHb,UAAA,CAKE,kBAAC,KAAD;GAAG,WAAU;GAAb,UAAA;IAAwD;IAC7CR;IAAW;IAAEC;IAAS;IAAKF;IAAM;IAAEc;GAC3C;EACH,CAAA,GAAA,kBAAC,OAAD;GAAK,WAAU;GAAf,UAAA;IACE,kBAAC,QAAD;KAAM,WAAU;KAAhB,UAAA;MAA2D;MACnDR;MAAK;MAAKC;KACZ;;IACN,kBAACG,GAAD;KAAQ,MAAK;KAAK,SAAQ;KAAU,SAASK;KAAQ,UAAU,CAACX,KAAWS;KAAS,cAAW;KAA/F,UAAA,CACE,kBAACG,GAAD,EAAa,WAAU,UAAW,CAAA,GAAC,MAE7B;;IACR,kBAACN,GAAD;KAAQ,MAAK;KAAK,SAAQ;KAAU,SAASE;KAAQ,UAAU,CAACP,KAAWQ;KAAS,cAAW;KAA/F,UAAA,CAA2G,QAEzG,kBAACI,GAAD,EAAc,WAAU,UAAW,CAAA,CAC7B;;GACL;EACF,CAAA,CAAA;;AAET"}
@@ -26,5 +26,5 @@ export interface SafeLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorEleme
26
26
  * can never be activated. Opens in a new tab with `noopener noreferrer` to
27
27
  * prevent reverse-tabnabbing.
28
28
  */
29
- export declare function SafeLink({ href, children, className, fallbackClassName, ...rest }: SafeLinkProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function SafeLink({ href, children, className, fallbackClassName, ...rest }: SafeLinkProps): import("react").JSX.Element;
30
30
  //# sourceMappingURL=SafeLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeLink.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/SafeLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAwBrE;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC1F,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6EAA6E;IAC7E,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,2CAYhG"}
1
+ {"version":3,"file":"SafeLink.d.ts","sourceRoot":"","sources":["../../../src/eventfullymanaged/components/SafeLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D;;;;;;;;;;;;GAYG;AACH,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAwBrE;AAED,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC1F,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,6EAA6E;IAC7E,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,GAAG,IAAI,EAAE,EAAE,aAAa,+BAYhG"}
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- //#region src/eventfullymanaged/components/SafeLink.tsx
2
+ // src/eventfullymanaged/components/SafeLink.tsx
3
3
  function t(e) {
4
4
  if (!e) return null;
5
5
  let t = e.trim();
@@ -26,7 +26,6 @@ function n({ href: n, children: r, className: i, fallbackClassName: a, ...o }) {
26
26
  children: r ?? n ?? ""
27
27
  });
28
28
  }
29
- //#endregion
30
29
  export { n as SafeLink, t as safeUrl };
31
30
 
32
31
  //# sourceMappingURL=SafeLink.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SafeLink.js","names":[],"sources":["../../../src/eventfullymanaged/components/SafeLink.tsx"],"sourcesContent":["import type { AnchorHTMLAttributes, ReactNode } from 'react';\n\n/**\n * Validate and normalise a user-supplied URL before it is ever placed in an\n * `href`. Sponsor/exhibitor websites are free-text fields persisted verbatim by\n * the backend, so rendering them directly into an anchor is a stored-XSS sink:\n * a value like `javascript:alert(1)` or `data:text/html,...` would execute on\n * click. This helper is the single choke point that neutralises that.\n *\n * Rules:\n * - empty / whitespace → `null` (caller renders plain text)\n * - bare domain → prefixed with `https://` (`acme.com` → `https://acme.com`)\n * - `http:` / `https:` → accepted, returned normalised\n * - anything else → `null` (rejects `javascript:`, `data:`, `file:`, `mailto:`…)\n */\nexport function safeUrl(raw: string | null | undefined): string | null {\n if (!raw) {\n return null;\n }\n const trimmed = raw.trim();\n if (!trimmed) {\n return null;\n }\n\n // A value carries an explicit scheme when it starts with `<scheme>:` per the\n // RFC-3986 scheme grammar (ALPHA followed by ALPHA/DIGIT/+/-/.). If it does\n // not, treat it as a bare domain/path and default it to https.\n const hasScheme = /^[a-zA-Z][a-zA-Z\\d+.-]*:/.test(trimmed);\n const candidate = hasScheme ? trimmed : `https://${trimmed}`;\n\n try {\n const url = new URL(candidate);\n if (url.protocol === 'http:' || url.protocol === 'https:') {\n return url.toString();\n }\n return null;\n } catch {\n return null;\n }\n}\n\nexport interface SafeLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {\n href: string | null | undefined;\n children?: ReactNode;\n /** Class applied to the rendered plain-text span when the href is unsafe. */\n fallbackClassName?: string;\n}\n\n/**\n * Anchor that only renders a clickable link when `href` passes `safeUrl`.\n * Unsafe/blank values fall back to inert text so a malicious `javascript:` URL\n * can never be activated. Opens in a new tab with `noopener noreferrer` to\n * prevent reverse-tabnabbing.\n */\nexport function SafeLink({ href, children, className, fallbackClassName, ...rest }: SafeLinkProps) {\n const safe = safeUrl(href);\n\n if (!safe) {\n return <span className={fallbackClassName ?? className}>{children ?? href ?? ''}</span>;\n }\n\n return (\n <a href={safe} target=\"_blank\" rel=\"noopener noreferrer nofollow\" className={className} {...rest}>\n {children ?? safe}\n </a>\n );\n}\n"],"mappings":";;AAeA,SAAgB,EAAQ,GAA+C;AACrE,KAAI,CAAC,EACH,QAAO;CAET,IAAM,IAAU,EAAI,MAAM;AAC1B,KAAI,CAAC,EACH,QAAO;CAOT,IAAM,IADY,2BAA2B,KAAK,EAAQ,GAC5B,IAAU,WAAW;AAEnD,KAAI;EACF,IAAM,IAAM,IAAI,IAAI,EAAU;AAI9B,SAHI,EAAI,aAAa,WAAW,EAAI,aAAa,WACxC,EAAI,UAAU,GAEhB;SACD;AACN,SAAO;;;AAiBX,SAAgB,EAAS,EAAE,SAAM,aAAU,cAAW,sBAAmB,GAAG,KAAuB;CACjG,IAAM,IAAO,EAAQ,EAAK;AAM1B,QAJK,IAKH,kBAAC,KAAD;EAAG,MAAM;EAAM,QAAO;EAAS,KAAI;EAA0C;EAAW,GAAI;YACzF,KAAY;EACX,CAAA,GANG,kBAAC,QAAD;EAAM,WAAW,KAAqB;YAAY,KAAY,KAAQ;EAAU,CAAA"}
1
+ {"version":3,"file":"SafeLink.js","names":["safeUrl","raw","trimmed","candidate","url","SafeLink","rest","safe","href","children","fallbackClassName","className"],"sources":["../../../src/eventfullymanaged/components/SafeLink.tsx"],"sourcesContent":["import type { AnchorHTMLAttributes, ReactNode } from 'react';\n\n/**\n * Validate and normalise a user-supplied URL before it is ever placed in an\n * `href`. Sponsor/exhibitor websites are free-text fields persisted verbatim by\n * the backend, so rendering them directly into an anchor is a stored-XSS sink:\n * a value like `javascript:alert(1)` or `data:text/html,...` would execute on\n * click. This helper is the single choke point that neutralises that.\n *\n * Rules:\n * - empty / whitespace → `null` (caller renders plain text)\n * - bare domain → prefixed with `https://` (`acme.com` → `https://acme.com`)\n * - `http:` / `https:` → accepted, returned normalised\n * - anything else → `null` (rejects `javascript:`, `data:`, `file:`, `mailto:`…)\n */\nexport function safeUrl(raw: string | null | undefined): string | null {\n if (!raw) {\n return null;\n }\n const trimmed = raw.trim();\n if (!trimmed) {\n return null;\n }\n\n // A value carries an explicit scheme when it starts with `<scheme>:` per the\n // RFC-3986 scheme grammar (ALPHA followed by ALPHA/DIGIT/+/-/.). If it does\n // not, treat it as a bare domain/path and default it to https.\n const hasScheme = /^[a-zA-Z][a-zA-Z\\d+.-]*:/.test(trimmed);\n const candidate = hasScheme ? trimmed : `https://${trimmed}`;\n\n try {\n const url = new URL(candidate);\n if (url.protocol === 'http:' || url.protocol === 'https:') {\n return url.toString();\n }\n return null;\n } catch {\n return null;\n }\n}\n\nexport interface SafeLinkProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {\n href: string | null | undefined;\n children?: ReactNode;\n /** Class applied to the rendered plain-text span when the href is unsafe. */\n fallbackClassName?: string;\n}\n\n/**\n * Anchor that only renders a clickable link when `href` passes `safeUrl`.\n * Unsafe/blank values fall back to inert text so a malicious `javascript:` URL\n * can never be activated. Opens in a new tab with `noopener noreferrer` to\n * prevent reverse-tabnabbing.\n */\nexport function SafeLink({ href, children, className, fallbackClassName, ...rest }: SafeLinkProps) {\n const safe = safeUrl(href);\n\n if (!safe) {\n return <span className={fallbackClassName ?? className}>{children ?? href ?? ''}</span>;\n }\n\n return (\n <a href={safe} target=\"_blank\" rel=\"noopener noreferrer nofollow\" className={className} {...rest}>\n {children ?? safe}\n </a>\n );\n}\n"],"mappings":";;AAeA,SAAgBA,EAAQ,GAA+C;CACrE,IAAI,CAACC,GACH,OAAO;CAET,IAAMC,IAAUD,EAAI,KAAK;CACzB,IAAI,CAACC,GACH,OAAO;CAOT,IAAMC,IADY,2BAA2B,KAAKD,CAChC,IAAYA,IAAU,WAAWA;CAEnD,IAAI;EACF,IAAME,IAAM,IAAI,IAAID,CAAS;EAI7B,OAHIC,EAAI,aAAa,WAAWA,EAAI,aAAa,WACxCA,EAAI,SAAS,IAEf;CACT,QAAQ;EACN,OAAO;CACT;AACF;AAeA,SAAgBC,EAAS,EAAE,SAAM,aAAU,cAAW,sBAAmB,GAAGC,KAAuB;CACjG,IAAMC,IAAOP,EAAQQ,CAAI;CAMzB,OAJKD,IAKH,kBAAC,KAAD;EAAG,MAAMA;EAAM,QAAO;EAAS,KAAI;EAA0C;EAAW,GAAID;EACzF,UAAAG,KAAYF;CACZ,CAAA,IANI,kBAAC,QAAD;EAAM,WAAWG,KAAqBC;EAAY,UAAAF,KAAYD,KAAQ;CAAS,CAAA;AAQ1F"}
@@ -0,0 +1,24 @@
1
+ import { Zone, ZoneRect } from '../../lib/floorPlanZones';
2
+ import { EditorMode } from './useZoneEditorState';
3
+
4
+ export type ZoneCanvasProps = {
5
+ planName: string;
6
+ imageUrl: string;
7
+ zones: Zone[];
8
+ selectedId: string | null;
9
+ mode: EditorMode;
10
+ /** While true (e.g. a save is in flight) the canvas ignores all input. */
11
+ disabled: boolean;
12
+ onSelect: (zoneId: string | null) => void;
13
+ onRectChange: (zoneId: string, rect: ZoneRect) => void;
14
+ onDrawn: (rect: ZoneRect) => void;
15
+ onRemove: (zoneId: string) => void;
16
+ };
17
+ /**
18
+ * The floor-plan image with its zone overlay. The overlay box hugs the rendered
19
+ * image, so percent-based zones line up at any size. Pointer input draws (in
20
+ * draw mode), moves and resizes zones; a focused zone also responds to the
21
+ * keyboard (arrows move, Alt+arrows resize, Shift for 5% steps, Delete removes).
22
+ */
23
+ export declare function ZoneCanvas({ planName, imageUrl, zones, selectedId, mode, disabled, onSelect, onRectChange, onDrawn, onRemove, }: ZoneCanvasProps): import("react").JSX.Element;
24
+ //# sourceMappingURL=ZoneCanvas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoneCanvas.d.ts","sourceRoot":"","sources":["../../../../src/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAiBvD,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE,UAAU,CAAC;IACjB,0EAA0E;IAC1E,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,YAAY,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvD,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAMF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,QAAQ,GACT,EAAE,eAAe,+BAoJjB"}
@@ -0,0 +1,162 @@
1
+ import { isUsableRect as e, moveRect as t, rectFromPoints as n, resizeRect as r } from "../../lib/floorPlanZones.js";
2
+ import { useRef as i, useState as a } from "react";
3
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
4
+ // src/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.tsx
5
+ var c = 1, l = 5, u = {
6
+ ArrowLeft: {
7
+ x: -1,
8
+ y: 0
9
+ },
10
+ ArrowRight: {
11
+ x: 1,
12
+ y: 0
13
+ },
14
+ ArrowUp: {
15
+ x: 0,
16
+ y: -1
17
+ },
18
+ ArrowDown: {
19
+ x: 0,
20
+ y: 1
21
+ }
22
+ };
23
+ function d(e) {
24
+ return `Zone ${e.label}${e.capacity === void 0 ? "" : `, capacity ${e.capacity}`}`;
25
+ }
26
+ function f({ planName: d, imageUrl: f, zones: m, selectedId: h, mode: g, disabled: _, onSelect: v, onRectChange: y, onDrawn: b, onRemove: x }) {
27
+ let S = i(null), C = i(null), [w, T] = a(null), E = (e) => {
28
+ let t = S.current?.getBoundingClientRect();
29
+ return !t || t.width === 0 || t.height === 0 ? null : {
30
+ x: (e.clientX - t.left) / t.width * 100,
31
+ y: (e.clientY - t.top) / t.height * 100
32
+ };
33
+ }, D = (e, t) => {
34
+ e.preventDefault(), C.current = t, S.current?.setPointerCapture?.(e.pointerId);
35
+ }, O = (e) => {
36
+ let t = e.button === 0 && !_ ? E(e) : null;
37
+ t && (g === "draw" ? (D(e, {
38
+ kind: "draw",
39
+ start: t
40
+ }), T(n(t, t))) : v(null));
41
+ }, k = (e, t, n) => {
42
+ let r = e.button === 0 && !_ && t.rect ? E(e) : null;
43
+ r && t.rect && (e.stopPropagation(), v(t.id), D(e, {
44
+ kind: n,
45
+ zoneId: t.id,
46
+ origin: r,
47
+ startRect: t.rect
48
+ }));
49
+ }, A = (e) => {
50
+ let i = C.current, a = i ? E(e) : null;
51
+ if (!i || !a) return;
52
+ if (i.kind === "draw") {
53
+ T(n(i.start, a));
54
+ return;
55
+ }
56
+ let o = a.x - i.origin.x, s = a.y - i.origin.y, c = i.kind === "move" ? t : r;
57
+ y(i.zoneId, c(i.startRect, o, s));
58
+ }, j = () => {
59
+ let t = C.current;
60
+ if (C.current = null, t?.kind !== "draw") return;
61
+ let n = w;
62
+ T(null), n && e(n) && b(n);
63
+ }, M = () => {
64
+ C.current = null, T(null);
65
+ }, N = (e, n) => {
66
+ if (_) return;
67
+ if (e.key === "Delete" || e.key === "Backspace") {
68
+ e.preventDefault(), x(n.id);
69
+ return;
70
+ }
71
+ if (e.key === "Escape") {
72
+ v(null);
73
+ return;
74
+ }
75
+ let i = u[e.key];
76
+ if (!i || !n.rect) return;
77
+ e.preventDefault();
78
+ let a = e.shiftKey ? l : c, o = e.altKey ? r : t;
79
+ v(n.id), y(n.id, o(n.rect, i.x * a, i.y * a));
80
+ };
81
+ return /* @__PURE__ */ o("div", {
82
+ className: "flex justify-center bg-bg-sunken p-3",
83
+ children: /* @__PURE__ */ s("div", {
84
+ className: "relative inline-block max-w-full select-none",
85
+ children: [/* @__PURE__ */ o("img", {
86
+ src: f,
87
+ alt: `${d} floor plan`,
88
+ className: "block h-auto max-h-[32rem] w-auto max-w-full",
89
+ draggable: !1
90
+ }), /* @__PURE__ */ s("div", {
91
+ ref: S,
92
+ "data-testid": "floor-plan-canvas",
93
+ role: "group",
94
+ "aria-label": `${d} zone canvas`,
95
+ "aria-disabled": _,
96
+ className: `absolute inset-0 touch-none ${g === "draw" && !_ ? "cursor-crosshair" : "cursor-default"}`,
97
+ onPointerDown: O,
98
+ onPointerMove: A,
99
+ onPointerUp: j,
100
+ onPointerCancel: M,
101
+ children: [m.map((e) => e.rect ? /* @__PURE__ */ o(p, {
102
+ zone: e,
103
+ rect: e.rect,
104
+ active: e.id === h,
105
+ mode: g,
106
+ disabled: _,
107
+ onPointerDown: (t, n) => k(t, e, n),
108
+ onKeyDown: (t) => N(t, e),
109
+ onFocus: () => v(e.id)
110
+ }, e.id) : null), w ? /* @__PURE__ */ o("div", {
111
+ "data-testid": "zone-draft",
112
+ className: "pointer-events-none absolute rounded-md border-2 border-dashed border-accent-primary bg-action-primary-bg/20",
113
+ style: {
114
+ left: `${w.x}%`,
115
+ top: `${w.y}%`,
116
+ width: `${w.w}%`,
117
+ height: `${w.h}%`
118
+ }
119
+ }) : null]
120
+ })]
121
+ })
122
+ });
123
+ }
124
+ function p({ zone: e, rect: t, active: n, mode: r, disabled: i, onPointerDown: a, onKeyDown: c, onFocus: l }) {
125
+ let u = r === "draw" || i;
126
+ return /* @__PURE__ */ s("button", {
127
+ type: "button",
128
+ "aria-pressed": n,
129
+ "aria-label": d(e),
130
+ "data-zone-id": e.id,
131
+ className: `absolute flex flex-col items-center justify-center overflow-hidden rounded-md border p-0 text-[10px] font-medium leading-tight focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-primary ${u ? "pointer-events-none" : "cursor-move"} ${n ? "z-10 border-2 border-accent-primary bg-action-primary-bg/30 text-text-primary" : "border-accent-primary/70 bg-action-primary-bg/15 text-accent-primary"}`,
132
+ style: {
133
+ left: `${t.x}%`,
134
+ top: `${t.y}%`,
135
+ width: `${t.w}%`,
136
+ height: `${t.h}%`
137
+ },
138
+ title: e.label,
139
+ onPointerDown: (e) => a(e, "move"),
140
+ onKeyDown: c,
141
+ onFocus: l,
142
+ children: [
143
+ /* @__PURE__ */ o("span", {
144
+ className: "max-w-full truncate px-1",
145
+ children: e.label
146
+ }),
147
+ e.capacity === void 0 ? null : /* @__PURE__ */ o("span", {
148
+ className: "max-w-full truncate px-1 text-text-muted",
149
+ children: e.capacity
150
+ }),
151
+ n && !u ? /* @__PURE__ */ o("span", {
152
+ "aria-hidden": "true",
153
+ "data-testid": "zone-resize-handle",
154
+ className: "absolute bottom-0 right-0 h-3 w-3 cursor-se-resize rounded-tl-sm bg-accent-primary",
155
+ onPointerDown: (e) => a(e, "resize")
156
+ }) : null
157
+ ]
158
+ });
159
+ }
160
+ export { f as ZoneCanvas };
161
+
162
+ //# sourceMappingURL=ZoneCanvas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZoneCanvas.js","names":["KEY_STEP","KEY_STEP_LARGE","ARROW_DELTAS","zoneAriaLabel","zone","ZoneCanvas","overlayRef","useRef","interactionRef","draft","setDraft","useState","toPercent","box","event","startInteraction","interaction","handleOverlayPointerDown","point","disabled","mode","rectFromPoints","onSelect","beginZoneInteraction","handlePointerMove","dx","dy","transform","moveRect","resizeRect","handlePointerUp","rect","isUsableRect","onDrawn","handlePointerCancel","handleZoneKeyDown","onRemove","direction","step","onRectChange","imageUrl","planName","zones","ZoneBox","selectedId","kind","passive","active","onPointerDown"],"sources":["../../../../src/eventfullymanaged/components/floorPlanEditor/ZoneCanvas.tsx"],"sourcesContent":["import { useRef, useState } from 'react';\nimport type { KeyboardEvent as ReactKeyboardEvent, PointerEvent as ReactPointerEvent } from 'react';\n\nimport { isUsableRect, moveRect, rectFromPoints, resizeRect } from '../../lib/floorPlanZones';\nimport type { Zone, ZoneRect } from '../../lib/floorPlanZones';\nimport type { EditorMode } from './useZoneEditorState';\n\ntype Point = { x: number; y: number };\n\ntype Interaction =\n { kind: 'draw'; start: Point } | { kind: 'move' | 'resize'; zoneId: string; origin: Point; startRect: ZoneRect };\n\nconst KEY_STEP = 1;\nconst KEY_STEP_LARGE = 5;\n\nconst ARROW_DELTAS: Record<string, Point> = {\n ArrowLeft: { x: -1, y: 0 },\n ArrowRight: { x: 1, y: 0 },\n ArrowUp: { x: 0, y: -1 },\n ArrowDown: { x: 0, y: 1 },\n};\n\nexport type ZoneCanvasProps = {\n planName: string;\n imageUrl: string;\n zones: Zone[];\n selectedId: string | null;\n mode: EditorMode;\n /** While true (e.g. a save is in flight) the canvas ignores all input. */\n disabled: boolean;\n onSelect: (zoneId: string | null) => void;\n onRectChange: (zoneId: string, rect: ZoneRect) => void;\n onDrawn: (rect: ZoneRect) => void;\n onRemove: (zoneId: string) => void;\n};\n\nfunction zoneAriaLabel(zone: Zone): string {\n return `Zone ${zone.label}${zone.capacity !== undefined ? `, capacity ${zone.capacity}` : ''}`;\n}\n\n/**\n * The floor-plan image with its zone overlay. The overlay box hugs the rendered\n * image, so percent-based zones line up at any size. Pointer input draws (in\n * draw mode), moves and resizes zones; a focused zone also responds to the\n * keyboard (arrows move, Alt+arrows resize, Shift for 5% steps, Delete removes).\n */\nexport function ZoneCanvas({\n planName,\n imageUrl,\n zones,\n selectedId,\n mode,\n disabled,\n onSelect,\n onRectChange,\n onDrawn,\n onRemove,\n}: ZoneCanvasProps) {\n const overlayRef = useRef<HTMLDivElement | null>(null);\n const interactionRef = useRef<Interaction | null>(null);\n const [draft, setDraft] = useState<ZoneRect | null>(null);\n\n const toPercent = (event: ReactPointerEvent): Point | null => {\n const box = overlayRef.current?.getBoundingClientRect();\n if (!box || box.width === 0 || box.height === 0) {\n return null;\n }\n return { x: ((event.clientX - box.left) / box.width) * 100, y: ((event.clientY - box.top) / box.height) * 100 };\n };\n\n const startInteraction = (event: ReactPointerEvent, interaction: Interaction) => {\n event.preventDefault();\n interactionRef.current = interaction;\n // jsdom (unit tests) has no pointer capture; real browsers always do.\n overlayRef.current?.setPointerCapture?.(event.pointerId);\n };\n\n const handleOverlayPointerDown = (event: ReactPointerEvent<HTMLDivElement>) => {\n const point = event.button === 0 && !disabled ? toPercent(event) : null;\n if (!point) {\n return;\n }\n if (mode !== 'draw') {\n onSelect(null);\n return;\n }\n startInteraction(event, { kind: 'draw', start: point });\n setDraft(rectFromPoints(point, point));\n };\n\n const beginZoneInteraction = (event: ReactPointerEvent, zone: Zone, kind: 'move' | 'resize') => {\n const point = event.button === 0 && !disabled && zone.rect ? toPercent(event) : null;\n if (!point || !zone.rect) {\n return;\n }\n event.stopPropagation();\n onSelect(zone.id);\n startInteraction(event, { kind, zoneId: zone.id, origin: point, startRect: zone.rect });\n };\n\n const handlePointerMove = (event: ReactPointerEvent<HTMLDivElement>) => {\n const interaction = interactionRef.current;\n const point = interaction ? toPercent(event) : null;\n if (!interaction || !point) {\n return;\n }\n if (interaction.kind === 'draw') {\n setDraft(rectFromPoints(interaction.start, point));\n return;\n }\n const dx = point.x - interaction.origin.x;\n const dy = point.y - interaction.origin.y;\n const transform = interaction.kind === 'move' ? moveRect : resizeRect;\n onRectChange(interaction.zoneId, transform(interaction.startRect, dx, dy));\n };\n\n const handlePointerUp = () => {\n const interaction = interactionRef.current;\n interactionRef.current = null;\n if (interaction?.kind !== 'draw') {\n return;\n }\n const rect = draft;\n setDraft(null);\n if (rect && isUsableRect(rect)) {\n onDrawn(rect);\n }\n };\n\n const handlePointerCancel = () => {\n interactionRef.current = null;\n setDraft(null);\n };\n\n const handleZoneKeyDown = (event: ReactKeyboardEvent, zone: Zone) => {\n if (disabled) {\n return;\n }\n if (event.key === 'Delete' || event.key === 'Backspace') {\n event.preventDefault();\n onRemove(zone.id);\n return;\n }\n if (event.key === 'Escape') {\n onSelect(null);\n return;\n }\n const direction = ARROW_DELTAS[event.key];\n if (!direction || !zone.rect) {\n return;\n }\n event.preventDefault();\n const step = event.shiftKey ? KEY_STEP_LARGE : KEY_STEP;\n const transform = event.altKey ? resizeRect : moveRect;\n onSelect(zone.id);\n onRectChange(zone.id, transform(zone.rect, direction.x * step, direction.y * step));\n };\n\n return (\n <div className=\"flex justify-center bg-bg-sunken p-3\">\n <div className=\"relative inline-block max-w-full select-none\">\n <img\n src={imageUrl}\n alt={`${planName} floor plan`}\n className=\"block h-auto max-h-[32rem] w-auto max-w-full\"\n draggable={false}\n />\n <div\n ref={overlayRef}\n data-testid=\"floor-plan-canvas\"\n role=\"group\"\n aria-label={`${planName} zone canvas`}\n aria-disabled={disabled}\n className={`absolute inset-0 touch-none ${mode === 'draw' && !disabled ? 'cursor-crosshair' : 'cursor-default'}`}\n onPointerDown={handleOverlayPointerDown}\n onPointerMove={handlePointerMove}\n onPointerUp={handlePointerUp}\n onPointerCancel={handlePointerCancel}\n >\n {zones.map((zone) =>\n zone.rect ? (\n <ZoneBox\n key={zone.id}\n zone={zone}\n rect={zone.rect}\n active={zone.id === selectedId}\n mode={mode}\n disabled={disabled}\n onPointerDown={(event, kind) => beginZoneInteraction(event, zone, kind)}\n onKeyDown={(event) => handleZoneKeyDown(event, zone)}\n onFocus={() => onSelect(zone.id)}\n />\n ) : null\n )}\n {draft ? (\n <div\n data-testid=\"zone-draft\"\n className=\"pointer-events-none absolute rounded-md border-2 border-dashed border-accent-primary bg-action-primary-bg/20\"\n style={{ left: `${draft.x}%`, top: `${draft.y}%`, width: `${draft.w}%`, height: `${draft.h}%` }}\n />\n ) : null}\n </div>\n </div>\n </div>\n );\n}\n\nfunction ZoneBox({\n zone,\n rect,\n active,\n mode,\n disabled,\n onPointerDown,\n onKeyDown,\n onFocus,\n}: {\n zone: Zone;\n rect: ZoneRect;\n active: boolean;\n mode: EditorMode;\n disabled: boolean;\n onPointerDown: (event: ReactPointerEvent, kind: 'move' | 'resize') => void;\n onKeyDown: (event: ReactKeyboardEvent) => void;\n onFocus: () => void;\n}) {\n const passive = mode === 'draw' || disabled;\n return (\n <button\n type=\"button\"\n aria-pressed={active}\n aria-label={zoneAriaLabel(zone)}\n data-zone-id={zone.id}\n className={`absolute flex flex-col items-center justify-center overflow-hidden rounded-md border p-0 text-[10px] font-medium leading-tight focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent-primary ${\n passive ? 'pointer-events-none' : 'cursor-move'\n } ${\n active\n ? 'z-10 border-2 border-accent-primary bg-action-primary-bg/30 text-text-primary'\n : 'border-accent-primary/70 bg-action-primary-bg/15 text-accent-primary'\n }`}\n style={{ left: `${rect.x}%`, top: `${rect.y}%`, width: `${rect.w}%`, height: `${rect.h}%` }}\n title={zone.label}\n onPointerDown={(event) => onPointerDown(event, 'move')}\n onKeyDown={onKeyDown}\n onFocus={onFocus}\n >\n <span className=\"max-w-full truncate px-1\">{zone.label}</span>\n {zone.capacity !== undefined ? (\n <span className=\"max-w-full truncate px-1 text-text-muted\">{zone.capacity}</span>\n ) : null}\n {active && !passive ? (\n <span\n aria-hidden=\"true\"\n data-testid=\"zone-resize-handle\"\n className=\"absolute bottom-0 right-0 h-3 w-3 cursor-se-resize rounded-tl-sm bg-accent-primary\"\n onPointerDown={(event) => onPointerDown(event, 'resize')}\n />\n ) : null}\n </button>\n );\n}\n"],"mappings":";;;;AAYA,IAAMA,IAAW,GACXC,IAAiB,GAEjBC,IAAsC;CAC1C,WAAW;EAAE,GAAG;EAAI,GAAG;CAAE;CACzB,YAAY;EAAE,GAAG;EAAG,GAAG;CAAE;CACzB,SAAS;EAAE,GAAG;EAAG,GAAG;CAAG;CACvB,WAAW;EAAE,GAAG;EAAG,GAAG;CAAE;AAC1B;AAgBA,SAASC,EAAc,GAAoB;CACzC,OAAO,QAAQC,EAAK,QAAQA,EAAK,aAAa,KAAA,IAA4C,KAAhC,cAAcA,EAAK;AAC/E;AAQA,SAAgBC,EAAW,EACzB,aACA,aACA,UACA,eACA,SACA,aACA,aACA,iBACA,YACA,eACkB;CAClB,IAAMC,IAAaC,EAA8B,IAAI,GAC/CC,IAAiBD,EAA2B,IAAI,GAChD,CAACE,GAAOC,KAAYC,EAA0B,IAAI,GAElDC,KAAa,MAA2C;EAC5D,IAAMC,IAAMP,EAAW,SAAS,sBAAsB;EAItD,OAHI,CAACO,KAAOA,EAAI,UAAU,KAAKA,EAAI,WAAW,IACrC,OAEF;GAAE,IAAKC,EAAM,UAAUD,EAAI,QAAQA,EAAI,QAAS;GAAK,IAAKC,EAAM,UAAUD,EAAI,OAAOA,EAAI,SAAU;EAAI;CAChH,GAEME,KAAoB,GAA0B,MAA6B;EAI/E,AAHAD,EAAM,eAAe,GACrB,EAAe,UAAUE,GAEzBV,EAAW,SAAS,oBAAoBQ,EAAM,SAAS;CACzD,GAEMG,KAA4B,MAA6C;EAC7E,IAAMC,IAAQJ,EAAM,WAAW,KAAK,CAACK,IAAWP,EAAUE,CAAK,IAAI;EACnE,AAAKI,MAGDE,MAAS,UAIbL,EAAiBD,GAAO;GAAE,MAAM;GAAQ,OAAOI;EAAM,CAAC,GACtDR,EAASW,EAAeH,GAAOA,CAAK,CAAC,KAJnCI,EAAS,IAAI;CAKjB,GAEMC,KAAwB,GAA0B,GAAY,MAA4B;EAC9F,IAAML,IAAQJ,EAAM,WAAW,KAAK,CAACK,KAAYf,EAAK,OAAOQ,EAAUE,CAAK,IAAI;EAChF,AAAKI,KAAUd,EAAK,SAGpBU,EAAM,gBAAgB,GACtBQ,EAASlB,EAAK,EAAE,GAChBW,EAAiBD,GAAO;GAAE;GAAM,QAAQV,EAAK;GAAI,QAAQc;GAAO,WAAWd,EAAK;EAAK,CAAC;CACxF,GAEMoB,KAAqB,MAA6C;EACtE,IAAMR,IAAcR,EAAe,SAC7BU,IAAQF,IAAcJ,EAAUE,CAAK,IAAI;EAC/C,IAAI,CAACE,KAAe,CAACE,GACnB;EAEF,IAAIF,EAAY,SAAS,QAAQ;GAC/B,EAASK,EAAeL,EAAY,OAAOE,CAAK,CAAC;GACjD;EACF;EACA,IAAMO,IAAKP,EAAM,IAAIF,EAAY,OAAO,GAClCU,IAAKR,EAAM,IAAIF,EAAY,OAAO,GAClCW,IAAYX,EAAY,SAAS,SAASY,IAAWC;EAC3D,EAAab,EAAY,QAAQW,EAAUX,EAAY,WAAWS,GAAIC,CAAE,CAAC;CAC3E,GAEMI,UAAwB;EAC5B,IAAMd,IAAcR,EAAe;EAEnC,IADA,EAAe,UAAU,MACrBQ,GAAa,SAAS,QACxB;EAEF,IAAMe,IAAOtB;EAEb,AADAC,EAAS,IAAI,GACTqB,KAAQC,EAAaD,CAAI,KAC3BE,EAAQF,CAAI;CAEhB,GAEMG,UAA4B;EAEhC,AADA,EAAe,UAAU,MACzBxB,EAAS,IAAI;CACf,GAEMyB,KAAqB,GAA2B,MAAe;EACnE,IAAIhB,GACF;EAEF,IAAIL,EAAM,QAAQ,YAAYA,EAAM,QAAQ,aAAa;GAEvD,AADAA,EAAM,eAAe,GACrBsB,EAAShC,EAAK,EAAE;GAChB;EACF;EACA,IAAIU,EAAM,QAAQ,UAAU;GAC1B,EAAS,IAAI;GACb;EACF;EACA,IAAMuB,IAAYnC,EAAaY,EAAM;EACrC,IAAI,CAACuB,KAAa,CAACjC,EAAK,MACtB;EAEF,EAAM,eAAe;EACrB,IAAMkC,IAAOxB,EAAM,WAAWb,IAAiBD,GACzC2B,IAAYb,EAAM,SAASe,IAAaD;EAE9C,AADAN,EAASlB,EAAK,EAAE,GAChBmC,EAAanC,EAAK,IAAIuB,EAAUvB,EAAK,MAAMiC,EAAU,IAAIC,GAAMD,EAAU,IAAIC,CAAI,CAAC;CACpF;CAEA,OACE,kBAAC,OAAD;EAAK,WAAU;EACb,UAAA,kBAAC,OAAD;GAAK,WAAU;GAAf,UAAA,CACE,kBAAC,OAAD;IACE,KAAKE;IACL,KAAK,GAAGC,EAAS;IACjB,WAAU;IACV,WAAW;GACZ,CAAA,GACD,kBAAC,OAAD;IACE,KAAKnC;IACL,eAAY;IACZ,MAAK;IACL,cAAY,GAAGmC,EAAS;IACxB,iBAAetB;IACf,WAAW,+BAA+BC,MAAS,UAAU,CAACD,IAAW,qBAAqB;IAC9F,eAAeF;IACf,eAAeO;IACf,aAAaM;IACb,iBAAiBI;IAVnB,UAAA,CAYGQ,EAAM,KAAK,MACVtC,EAAK,OACH,kBAACuC,GAAD;KAEQ;KACN,MAAMvC,EAAK;KACX,QAAQA,EAAK,OAAOwC;KACd;KACI;KACV,gBAAgB,GAAO,MAASrB,EAAqBT,GAAOV,GAAMyC,CAAI;KACtE,YAAY,MAAUV,EAAkBrB,GAAOV,CAAI;KACnD,eAAekB,EAASlB,EAAK,EAAE;IAChC,GATMA,EAAK,EASX,IACC,IACN,GACCK,IACC,kBAAC,OAAD;KACE,eAAY;KACZ,WAAU;KACV,OAAO;MAAE,MAAM,GAAGA,EAAM,EAAE;MAAI,KAAK,GAAGA,EAAM,EAAE;MAAI,OAAO,GAAGA,EAAM,EAAE;MAAI,QAAQ,GAAGA,EAAM,EAAE;KAAG;IAC/F,CAAA,IACC,IACD;GACF,CAAA,CAAA;;CACF,CAAA;AAET;AAEA,SAASkC,EAAQ,EACf,SACA,SACA,WACA,SACA,aACA,kBACA,cACA,cAUC;CACD,IAAMG,IAAU1B,MAAS,UAAUD;CACnC,OACE,kBAAC,UAAD;EACE,MAAK;EACL,gBAAc4B;EACd,cAAY5C,EAAcC,CAAI;EAC9B,gBAAcA,EAAK;EACnB,WAAW,oNACT0C,IAAU,wBAAwB,cACnC,GACCC,IACI,kFACA;EAEN,OAAO;GAAE,MAAM,GAAGhB,EAAK,EAAE;GAAI,KAAK,GAAGA,EAAK,EAAE;GAAI,OAAO,GAAGA,EAAK,EAAE;GAAI,QAAQ,GAAGA,EAAK,EAAE;EAAG;EAC1F,OAAO3B,EAAK;EACZ,gBAAgB,MAAU4C,EAAclC,GAAO,MAAM;EAC1C;EACF;EAhBX,UAAA;GAkBE,kBAAC,QAAD;IAAM,WAAU;IAA4B,UAAAV,EAAK;GAAY,CAAA;GAC5DA,EAAK,aAAa,KAAA,IAEf,OADF,kBAAC,QAAD;IAAM,WAAU;IAA4C,UAAAA,EAAK;GAAe,CAAA;GAEjF2C,KAAU,CAACD,IACV,kBAAC,QAAD;IACE,eAAY;IACZ,eAAY;IACZ,WAAU;IACV,gBAAgB,MAAUE,EAAclC,GAAO,QAAQ;GACxD,CAAA,IACC;EACE;;AAEZ"}
@@ -0,0 +1,33 @@
1
+ import { Zone, ZoneSummary } from '../../lib/floorPlanZones';
2
+ import { EditorMode } from './useZoneEditorState';
3
+
4
+ export declare function ZoneEditorToolbar({ mode, dirty, saving, onModeChange, onAddZone, onCancel, onSave, }: {
5
+ mode: EditorMode;
6
+ dirty: boolean;
7
+ saving: boolean;
8
+ onModeChange: (mode: EditorMode) => void;
9
+ onAddZone: () => void;
10
+ onCancel: () => void;
11
+ onSave: () => void;
12
+ }): import("react").JSX.Element;
13
+ export declare function ZoneDetailsPanel({ selected, hasZones, capacityText, capacityInvalid, errors, disabled, onChange, onCapacityChange, onRemove, }: {
14
+ selected: Zone | null;
15
+ hasZones: boolean;
16
+ capacityText: string;
17
+ capacityInvalid: boolean;
18
+ errors: string[];
19
+ disabled: boolean;
20
+ onChange: (zoneId: string, patch: Partial<Zone>) => void;
21
+ onCapacityChange: (zoneId: string, text: string) => void;
22
+ onRemove: (zoneId: string) => void;
23
+ }): import("react").JSX.Element;
24
+ export declare function ZoneListPanel({ zones, selectedId, summary, unplacedCount, disabled, onSelect, onAddZone, }: {
25
+ zones: Zone[];
26
+ selectedId: string | null;
27
+ summary: ZoneSummary;
28
+ unplacedCount: number;
29
+ disabled: boolean;
30
+ onSelect: (zoneId: string) => void;
31
+ onAddZone: () => void;
32
+ }): import("react").JSX.Element;
33
+ //# sourceMappingURL=ZonePanels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ZonePanels.d.ts","sourceRoot":"","sources":["../../../../src/eventfullymanaged/components/floorPlanEditor/ZonePanels.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,KAAK,EACL,MAAM,EACN,YAAY,EACZ,SAAS,EACT,QAAQ,EACR,MAAM,GACP,EAAE;IACD,IAAI,EAAE,UAAU,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;CACpB,+BAgDA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IACzD,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,+BAuFA;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,UAAU,EACV,OAAO,EACP,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,SAAS,GACV,EAAE;IACD,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,+BAgCA"}
@@ -0,0 +1,247 @@
1
+ import { ZONE_TYPES as e, defaultPlacedRect as t, zoneTypeLabel as n } from "../../lib/floorPlanZones.js";
2
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ import { Crosshair as a, MousePointer2 as o, Plus as s, Save as c, SquareDashed as l, SquarePlus as u, Trash2 as d, X as f } from "lucide-react";
4
+ import { Badge as p, Button as m, Input as h, Select as g, SelectContent as _, SelectItem as v, SelectTrigger as y, SelectValue as b } from "@burdenoff/fe-libs/ui";
5
+ // src/eventfullymanaged/components/floorPlanEditor/ZonePanels.tsx
6
+ function x({ mode: e, dirty: t, saving: n, onModeChange: a, onAddZone: s, onCancel: d, onSave: p }) {
7
+ return /* @__PURE__ */ i("div", {
8
+ className: "flex flex-wrap items-center gap-2 border-b border-border-seam px-5 py-3",
9
+ children: [
10
+ /* @__PURE__ */ i("div", {
11
+ role: "group",
12
+ "aria-label": "Editor tool",
13
+ className: "flex items-center gap-1",
14
+ children: [
15
+ /* @__PURE__ */ i(m, {
16
+ type: "button",
17
+ size: "sm",
18
+ variant: e === "select" ? "secondary" : "ghost",
19
+ "aria-pressed": e === "select",
20
+ disabled: n,
21
+ onClick: () => a("select"),
22
+ children: [/* @__PURE__ */ r(o, { className: "h-4 w-4" }), "Select"]
23
+ }),
24
+ /* @__PURE__ */ i(m, {
25
+ type: "button",
26
+ size: "sm",
27
+ variant: e === "draw" ? "secondary" : "ghost",
28
+ "aria-pressed": e === "draw",
29
+ disabled: n,
30
+ onClick: () => a("draw"),
31
+ children: [/* @__PURE__ */ r(l, { className: "h-4 w-4" }), "Draw zone"]
32
+ }),
33
+ /* @__PURE__ */ i(m, {
34
+ type: "button",
35
+ size: "sm",
36
+ variant: "ghost",
37
+ disabled: n,
38
+ onClick: s,
39
+ children: [/* @__PURE__ */ r(u, { className: "h-4 w-4" }), "Add zone"]
40
+ })
41
+ ]
42
+ }),
43
+ /* @__PURE__ */ r("span", {
44
+ className: "text-xs text-text-muted",
45
+ children: e === "draw" ? "Drag on the map to draw a zone." : "Drag a zone to move it, or its corner to resize. Arrow keys nudge the focused zone; Alt+arrows resize it."
46
+ }),
47
+ /* @__PURE__ */ i("div", {
48
+ className: "ml-auto flex items-center gap-2",
49
+ children: [/* @__PURE__ */ i(m, {
50
+ type: "button",
51
+ size: "sm",
52
+ variant: "ghost",
53
+ onClick: d,
54
+ disabled: n,
55
+ children: [/* @__PURE__ */ r(f, { className: "h-4 w-4" }), t ? "Discard changes" : "Close editor"]
56
+ }), /* @__PURE__ */ i(m, {
57
+ type: "button",
58
+ size: "sm",
59
+ onClick: p,
60
+ disabled: n || !t,
61
+ children: [/* @__PURE__ */ r(c, { className: "h-4 w-4" }), n ? "Saving…" : "Save zones"]
62
+ })]
63
+ })
64
+ ]
65
+ });
66
+ }
67
+ function S({ selected: n, hasZones: o, capacityText: s, capacityInvalid: c, errors: l, disabled: u, onChange: f, onCapacityChange: p, onRemove: x }) {
68
+ let S = n?.type && !e.some((e) => e.value === n.type) ? n.type : null;
69
+ return /* @__PURE__ */ i("section", {
70
+ "aria-label": "Selected zone",
71
+ className: "space-y-3",
72
+ children: [
73
+ /* @__PURE__ */ r("h3", {
74
+ className: "text-sm font-semibold text-text-primary",
75
+ children: "Zone details"
76
+ }),
77
+ n ? /* @__PURE__ */ i("fieldset", {
78
+ disabled: u,
79
+ className: "space-y-3",
80
+ children: [
81
+ /* @__PURE__ */ i("label", {
82
+ className: "block space-y-1 text-sm",
83
+ children: [/* @__PURE__ */ r("span", {
84
+ className: "font-medium text-text-primary",
85
+ children: "Label"
86
+ }), /* @__PURE__ */ r(h, {
87
+ value: n.label,
88
+ maxLength: 60,
89
+ onChange: (e) => f(n.id, { label: e.target.value }),
90
+ "aria-label": "Zone label"
91
+ })]
92
+ }),
93
+ /* @__PURE__ */ i("div", {
94
+ className: "grid grid-cols-2 gap-3",
95
+ children: [/* @__PURE__ */ i("label", {
96
+ className: "block space-y-1 text-sm",
97
+ children: [/* @__PURE__ */ r("span", {
98
+ className: "font-medium text-text-primary",
99
+ children: "Type"
100
+ }), /* @__PURE__ */ i(g, {
101
+ value: n.type ?? "other",
102
+ disabled: u,
103
+ onValueChange: (e) => f(n.id, { type: e }),
104
+ children: [/* @__PURE__ */ r(y, {
105
+ "aria-label": "Zone type",
106
+ children: /* @__PURE__ */ r(b, {})
107
+ }), /* @__PURE__ */ i(_, { children: [e.map((e) => /* @__PURE__ */ r(v, {
108
+ value: e.value,
109
+ children: e.label
110
+ }, e.value)), S ? /* @__PURE__ */ r(v, {
111
+ value: S,
112
+ children: S
113
+ }) : null] })]
114
+ })]
115
+ }), /* @__PURE__ */ i("label", {
116
+ className: "block space-y-1 text-sm",
117
+ children: [
118
+ /* @__PURE__ */ r("span", {
119
+ className: "font-medium text-text-primary",
120
+ children: "Capacity"
121
+ }),
122
+ /* @__PURE__ */ r(h, {
123
+ inputMode: "numeric",
124
+ value: s,
125
+ onChange: (e) => p(n.id, e.target.value),
126
+ placeholder: "e.g. 40",
127
+ "aria-label": "Zone capacity",
128
+ "aria-invalid": c
129
+ }),
130
+ c ? /* @__PURE__ */ r("span", {
131
+ className: "text-xs text-status-error-text",
132
+ children: "Use a whole number, or leave it empty."
133
+ }) : null
134
+ ]
135
+ })]
136
+ }),
137
+ /* @__PURE__ */ i("div", {
138
+ className: "flex flex-wrap gap-2",
139
+ children: [n.rect ? null : /* @__PURE__ */ i(m, {
140
+ type: "button",
141
+ size: "sm",
142
+ variant: "outline",
143
+ onClick: () => f(n.id, { rect: t() }),
144
+ children: [/* @__PURE__ */ r(a, { className: "h-4 w-4" }), "Place on map"]
145
+ }), /* @__PURE__ */ i(m, {
146
+ type: "button",
147
+ size: "sm",
148
+ variant: "destructive",
149
+ onClick: () => x(n.id),
150
+ children: [/* @__PURE__ */ r(d, { className: "h-4 w-4" }), "Delete zone"]
151
+ })]
152
+ })
153
+ ]
154
+ }) : /* @__PURE__ */ r("p", {
155
+ className: "text-sm text-text-secondary",
156
+ children: o ? "Select a zone on the map or in the list to edit its label, type and capacity." : "Choose \"Draw zone\" and drag across the map, or use \"Add zone\", to add your first booth, stage or entrance."
157
+ }),
158
+ l.length > 0 ? /* @__PURE__ */ r("ul", {
159
+ role: "alert",
160
+ className: "space-y-1 text-xs text-status-error-text",
161
+ children: l.map((e) => /* @__PURE__ */ r("li", { children: e }, e))
162
+ }) : null
163
+ ]
164
+ });
165
+ }
166
+ function C({ zones: e, selectedId: t, summary: n, unplacedCount: a, disabled: o, onSelect: c, onAddZone: l }) {
167
+ return /* @__PURE__ */ i("section", {
168
+ "aria-label": "All zones",
169
+ className: "space-y-3",
170
+ children: [
171
+ /* @__PURE__ */ i("div", {
172
+ className: "flex items-center justify-between gap-2",
173
+ children: [/* @__PURE__ */ r("h3", {
174
+ className: "text-sm font-semibold text-text-primary",
175
+ children: "Zones"
176
+ }), /* @__PURE__ */ i("span", {
177
+ className: "text-xs text-text-muted",
178
+ children: [
179
+ n.zones,
180
+ " ",
181
+ n.zones === 1 ? "zone" : "zones",
182
+ n.capacity > 0 ? ` · ${n.capacity.toLocaleString()} capacity` : ""
183
+ ]
184
+ })]
185
+ }),
186
+ e.length === 0 ? /* @__PURE__ */ i(m, {
187
+ type: "button",
188
+ size: "sm",
189
+ variant: "outline",
190
+ disabled: o,
191
+ onClick: l,
192
+ children: [/* @__PURE__ */ r(s, { className: "h-4 w-4" }), "Add your first zone"]
193
+ }) : /* @__PURE__ */ r("ul", {
194
+ className: "max-h-60 space-y-1 overflow-y-auto",
195
+ role: "list",
196
+ children: e.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(w, {
197
+ zone: e,
198
+ active: e.id === t,
199
+ disabled: o,
200
+ onSelect: c
201
+ }) }, e.id))
202
+ }),
203
+ a > 0 ? /* @__PURE__ */ i("p", {
204
+ className: "text-xs text-text-muted",
205
+ children: [
206
+ a,
207
+ " ",
208
+ a === 1 ? "zone has" : "zones have",
209
+ " no position yet — select one and use “Place on map”."
210
+ ]
211
+ }) : null
212
+ ]
213
+ });
214
+ }
215
+ function w({ zone: e, active: t, disabled: a, onSelect: o }) {
216
+ let s = n(e.type);
217
+ return /* @__PURE__ */ i("button", {
218
+ type: "button",
219
+ onClick: () => o(e.id),
220
+ "aria-pressed": t,
221
+ disabled: a,
222
+ className: `flex w-full items-center justify-between gap-2 rounded-md border px-3 py-1.5 text-left text-sm transition-colors ${t ? "border-accent-primary bg-action-primary-bg/10" : "border-border-seam hover:border-border-strong"}`,
223
+ children: [/* @__PURE__ */ r("span", {
224
+ className: "min-w-0 truncate text-text-primary",
225
+ children: e.label || "Untitled zone"
226
+ }), /* @__PURE__ */ i("span", {
227
+ className: "flex shrink-0 items-center gap-1.5",
228
+ children: [
229
+ s ? /* @__PURE__ */ r(p, {
230
+ variant: "outline",
231
+ children: s
232
+ }) : null,
233
+ e.capacity === void 0 ? null : /* @__PURE__ */ r("span", {
234
+ className: "text-xs tabular-nums text-text-muted",
235
+ children: e.capacity
236
+ }),
237
+ e.rect ? null : /* @__PURE__ */ r(p, {
238
+ variant: "secondary",
239
+ children: "Unplaced"
240
+ })
241
+ ]
242
+ })]
243
+ });
244
+ }
245
+ export { S as ZoneDetailsPanel, x as ZoneEditorToolbar, C as ZoneListPanel };
246
+
247
+ //# sourceMappingURL=ZonePanels.js.map