@calcom/atoms 2.4.0 → 2.5.0

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 (255) hide show
  1. package/dist/{AddressInput-D1GVr1DO.js → AddressInput-SzlQAlC_.js} +1 -1
  2. package/dist/{AlbyPriceComponent-B-wbESgj.js → AlbyPriceComponent-C1NgEImf.js} +1 -1
  3. package/dist/{AppCard-D-kSjEGA.js → AppCard-BWKYRAGD.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-CtfMFKLj.js → AppListCardPlatformWrapper-BeErum54.js} +1 -1
  5. package/dist/AppListCardWebWrapper-CUxj2uOV.js +97 -0
  6. package/dist/{AppSettingsInterface-CrW3wxR7.js → AppSettingsInterface-CQ0w0tHu.js} +1 -1
  7. package/dist/{AppSettingsInterface-CFotsMaY.js → AppSettingsInterface-CeIgTiQ1.js} +1 -1
  8. package/dist/{AppSettingsInterface-4eRi58Pn.js → AppSettingsInterface-CvA2IPl2.js} +1 -1
  9. package/dist/{DateRangePicker-XmWLaFM0.js → DateRangePicker-07dsMk8U.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-C6X2h6ER.js → EventTypeAppCardInterface-3Kwg6TEe.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-DtGUGVYW.js → EventTypeAppCardInterface-B5ja1_Vg.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-DhGMBirk.js → EventTypeAppCardInterface-BE9bv-RR.js} +3 -3
  13. package/dist/{EventTypeAppCardInterface-CyNHO4Sc.js → EventTypeAppCardInterface-BeRFdmfK.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-CktuX3wJ.js → EventTypeAppCardInterface-BkbsbnCt.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-BirSXlmM.js → EventTypeAppCardInterface-C48fsqfF.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-Dl9fzQiI.js → EventTypeAppCardInterface-CSO8LyTO.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-DII9vKjZ.js → EventTypeAppCardInterface-C_KgiSgu.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-DUMRhvMt.js → EventTypeAppCardInterface-Cv38EzOq.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-z3AKnmGs.js → EventTypeAppCardInterface-D-hCC4-t.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-CaYgiGUZ.js → EventTypeAppCardInterface-D5kt0uP7.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-DL7VnPRK.js → EventTypeAppCardInterface-D6pOcMLG.js} +2 -2
  22. package/dist/{EventTypeAppCardInterface-6DLZO5NW.js → EventTypeAppCardInterface-D6vNtBPD.js} +4 -4
  23. package/dist/EventTypeAppCardInterface-D6xO3ww6.js +1139 -0
  24. package/dist/{EventTypeAppCardInterface-hPLiLzB5.js → EventTypeAppCardInterface-DZdzlcpQ.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-DYlGDde7.js → EventTypeAppCardInterface-Daj0r2ku.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-DGyf22GF.js → EventTypeAppCardInterface-DeC4kAir.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-DdTrRRx1.js → EventTypeAppCardInterface-DonbLPSE.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-DcLEZBoW.js → EventTypeAppCardInterface-DsKcwP-F.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-xABGgTYw.js → EventTypeAppCardInterface-DvGAyBhN.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-BikTDyfY.js → EventTypeAppCardInterface-FjY_JuGe.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-nx5WBzB1.js → EventTypeAppCardInterface-Gx6ePtKZ.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-BVOAdMSE.js → EventTypeAppCardInterface-Vabmi70A.js} +23 -23
  33. package/dist/{EventTypeAppCardInterface-Bk8a4fRO.js → EventTypeAppCardInterface-ZF3LnJsb.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-DbIKdJjd.js → EventTypeAppCardInterface-b3jzwNwv.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-DpzQdnJy.js → EventTypeAppCardInterface-d7vcgrD9.js} +4 -4
  36. package/dist/{EventTypeAppCardInterface-C2IyGqvw.js → EventTypeAppCardInterface-giaoJZoV.js} +4 -4
  37. package/dist/{EventTypeAppCardInterface-B_j7r80d.js → EventTypeAppCardInterface-kHv--Cpv.js} +2 -2
  38. package/dist/{EventTypeAppSettingsInterface-CgQfF6hU.js → EventTypeAppSettingsInterface-3zsxRl7y.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-CFdYoo7h.js → EventTypeAppSettingsInterface-4Hj3lMzG.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-DK-paoMT.js → EventTypeAppSettingsInterface-4d9Xebgk.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-CpbklJMh.js → EventTypeAppSettingsInterface-B2kvyWp2.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-DDzHlg7x.js → EventTypeAppSettingsInterface-B5Yf0xfo.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-D5kISd9x.js → EventTypeAppSettingsInterface-BDhPoDnq.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-p-i-OZco.js → EventTypeAppSettingsInterface-CRXqHbN6.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-DBknBQyn.js → EventTypeAppSettingsInterface-Ckkgk7Q7.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-C8nDmh7G.js → EventTypeAppSettingsInterface-CoYcsvnV.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-CAiOTU8i.js → EventTypeAppSettingsInterface-D5NT9ODg.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-BuDUgb5_.js → EventTypeAppSettingsInterface-DCoA8H5X.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-DckxGY96.js → EventTypeAppSettingsInterface-DQsdtp-n.js} +1 -1
  50. package/dist/{EventTypeAppSettingsInterface-xozZX49q.js → EventTypeAppSettingsInterface-DWkk8IKD.js} +1 -1
  51. package/dist/{EventTypeAppSettingsInterface-VkvCySRT.js → EventTypeAppSettingsInterface-VCy8eKJk.js} +1 -1
  52. package/dist/{InstallAppButton-B9I6WP_P.js → InstallAppButton--g7q2vS4.js} +1 -1
  53. package/dist/{InstallAppButton-BftZd2sh.js → InstallAppButton-D-eJ9IoT.js} +1 -1
  54. package/dist/{InstallAppButton-DphdibIQ.js → InstallAppButton-DRVYiUad.js} +4 -4
  55. package/dist/{PhoneInput-CwJrDjpT.js → PhoneInput-uLF7Y3ez.js} +1 -1
  56. package/dist/{StripePaymentForm-CqxHoAlR.js → StripePaymentForm-DlIVTm9l.js} +60 -60
  57. package/dist/cal-atoms.js +9 -9
  58. package/dist/{index-BsEjsNhy.js → index-BKVtYsaK.js} +2 -2
  59. package/dist/{index-BYBZ-zEd.js → index-D6p17Vap.js} +75512 -74343
  60. package/dist/packages/dayjs/plugins/business-days-plugin.test.d.ts +2 -0
  61. package/dist/packages/dayjs/plugins/business-days-plugin.test.d.ts.map +1 -0
  62. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts +1 -1
  63. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/Booker/store.d.ts +3 -1
  65. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
  67. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/EventManager.d.ts +1 -0
  69. package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts +15 -6
  71. package/dist/packages/features/bookings/lib/bookingCreateBodySchema.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts +3 -2
  73. package/dist/packages/features/bookings/lib/checkDurationLimits.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
  75. package/dist/packages/features/bookings/lib/client/booking-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/create-booking.d.ts +11 -8
  77. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +11 -8
  79. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/get-booking.d.ts +3 -3
  81. package/dist/packages/features/bookings/lib/get-location-options-for-select.test.d.ts +2 -0
  82. package/dist/packages/features/bookings/lib/get-location-options-for-select.test.d.ts.map +1 -0
  83. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +21 -9
  84. package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +5 -2
  86. package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +9 -4
  88. package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +2 -2
  90. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +7 -7
  91. package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts.map +1 -1
  92. package/dist/packages/features/bookings/lib/getUserBooking.d.ts +1 -1
  93. package/dist/packages/features/bookings/lib/handleCancelBooking.integration-test.d.ts +2 -0
  94. package/dist/packages/features/bookings/lib/handleCancelBooking.integration-test.d.ts.map +1 -0
  95. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
  96. package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
  97. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +3 -2
  98. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  99. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +5 -5
  100. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +8 -4
  101. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  102. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +21 -9
  103. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  104. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +5 -5
  105. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +8 -8
  106. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +14 -12
  107. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  108. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  109. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts +11 -8
  110. package/dist/packages/features/bookings/lib/handleNewBooking/test/getNewBookingHandler.d.ts.map +1 -1
  111. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.test.d.ts +2 -0
  112. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.test.d.ts.map +1 -0
  113. package/dist/packages/features/bookings/lib/handlePayment.integration-test.d.ts +2 -0
  114. package/dist/packages/features/bookings/lib/handlePayment.integration-test.d.ts.map +1 -0
  115. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +4 -3
  116. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  117. package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
  118. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +3 -2
  119. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  120. package/dist/packages/features/bookings/lib/payment/getBooking.d.ts +6 -6
  121. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +5 -4
  122. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  123. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.d.ts.map +1 -1
  124. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.integration-test.d.ts +2 -0
  125. package/dist/packages/features/bookings/lib/service/InstantBookingCreateService.integration-test.d.ts.map +1 -0
  126. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +114 -68
  127. package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
  128. package/dist/packages/features/bookings/lib/unified-phone-fields/manage-phone-fields.test.d.ts +2 -0
  129. package/dist/packages/features/bookings/lib/unified-phone-fields/manage-phone-fields.test.d.ts.map +1 -0
  130. package/dist/packages/features/data-table/lib/dateRange.d.ts +1 -1
  131. package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
  132. package/dist/packages/features/data-table/lib/utils.test.d.ts +2 -0
  133. package/dist/packages/features/data-table/lib/utils.test.d.ts.map +1 -0
  134. package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +1 -1
  135. package/dist/packages/features/ee/billing/repository/teamBillingData/PrismaTeamBillingRepository.d.ts +3 -3
  136. package/dist/packages/features/ee/billing/service/dunning/dunning-state.test.d.ts +2 -0
  137. package/dist/packages/features/ee/billing/service/dunning/dunning-state.test.d.ts.map +1 -0
  138. package/dist/packages/features/ee/billing/service/proration/MonthlyProrationService.d.ts +2 -2
  139. package/dist/packages/features/ee/billing/service/proration/tasker/trigger/processMonthlyProrationBatch.d.ts +1 -1
  140. package/dist/packages/features/ee/billing/service/seatTracking/SeatChangeTrackingService.d.ts +1 -1
  141. package/dist/packages/features/ee/billing/service/webhookEvent/__tests__/WebhookEventService.idempotency.integration-test.d.ts +2 -0
  142. package/dist/packages/features/ee/billing/service/webhookEvent/__tests__/WebhookEventService.idempotency.integration-test.d.ts.map +1 -0
  143. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +2 -2
  144. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  145. package/dist/packages/features/ee/workflows/lib/action-helper-functions.test.d.ts +2 -0
  146. package/dist/packages/features/ee/workflows/lib/action-helper-functions.test.d.ts.map +1 -0
  147. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilio-provider.test.d.ts +2 -0
  148. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilio-provider.test.d.ts.map +1 -0
  149. package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
  150. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.integration-test.d.ts +2 -0
  151. package/dist/packages/features/ee/workflows/lib/scheduleWorkflowNotifications.integration-test.d.ts.map +1 -0
  152. package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
  153. package/dist/packages/features/ee/workflows/lib/url-scanner.test.d.ts +2 -0
  154. package/dist/packages/features/ee/workflows/lib/url-scanner.test.d.ts.map +1 -0
  155. package/dist/packages/features/ee/workflows/repositories/WorkflowStepRepository.d.ts +3 -3
  156. package/dist/packages/features/ee/workflows/repositories/workflow-reminder-repository.d.ts +1 -1
  157. package/dist/packages/features/ee/workflows/repositories/workflow-repository.d.ts +13 -13
  158. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  159. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
  160. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
  161. package/dist/packages/features/eventtypes/lib/apply-pending-host-changes.d.ts +12 -0
  162. package/dist/packages/features/eventtypes/lib/apply-pending-host-changes.d.ts.map +1 -0
  163. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +48 -12
  164. package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
  165. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +27 -13
  166. package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
  167. package/dist/packages/features/eventtypes/lib/getEventTypesByViewer.d.ts +1 -1
  168. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +66 -308
  169. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  170. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +4 -4
  171. package/dist/packages/features/eventtypes/lib/types.d.ts +36 -0
  172. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  173. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +47 -301
  174. package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
  175. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +59 -31
  176. package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
  177. package/dist/packages/features/eventtypes/service/EventTypeService.d.ts +15 -0
  178. package/dist/packages/features/eventtypes/service/EventTypeService.d.ts.map +1 -1
  179. package/dist/packages/features/eventtypes/store/__tests__/hosts-store.test.d.ts +2 -0
  180. package/dist/packages/features/eventtypes/store/__tests__/hosts-store.test.d.ts.map +1 -0
  181. package/dist/packages/features/eventtypes/store/hosts-store-provider.d.ts +7 -0
  182. package/dist/packages/features/eventtypes/store/hosts-store-provider.d.ts.map +1 -0
  183. package/dist/packages/features/eventtypes/store/hosts-store.d.ts +25 -0
  184. package/dist/packages/features/eventtypes/store/hosts-store.d.ts.map +1 -0
  185. package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
  186. package/dist/packages/features/schedules/repositories/ScheduleRepository.d.ts +2 -2
  187. package/dist/packages/kysely/types.d.ts +55 -0
  188. package/dist/packages/kysely/types.d.ts.map +1 -1
  189. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +1 -1
  190. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +22 -9
  191. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  192. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +1 -1
  193. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  194. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts +26 -3
  195. package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
  196. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +11 -8
  197. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  198. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +13 -9
  199. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +11 -8
  201. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  202. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +1 -1
  203. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  204. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +1 -1
  205. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +1 -1
  206. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +1 -1
  207. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +47 -301
  208. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  209. package/dist/packages/platform/atoms/hooks/use-atoms-locale.d.ts +3 -0
  210. package/dist/packages/platform/atoms/hooks/use-atoms-locale.d.ts.map +1 -0
  211. package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
  212. package/dist/packages/platform/atoms/hooks/useUpdateUserTimezone.d.ts +1 -1
  213. package/dist/packages/platform/atoms/onboarding/onboarding-embed.d.ts.map +1 -1
  214. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
  215. package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
  216. package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
  217. package/dist/packages/platform/libraries/oauth.d.ts +1 -1
  218. package/dist/packages/platform/libraries/oauth.d.ts.map +1 -1
  219. package/dist/packages/platform/types/me/outputs/me.d.ts +2 -2
  220. package/dist/packages/platform/types/me.d.ts +2 -2
  221. package/dist/packages/prisma/zod/inputTypeSchemas/AccessScopeSchema.d.ts +1 -1
  222. package/dist/packages/prisma/zod/inputTypeSchemas/AccessScopeSchema.d.ts.map +1 -1
  223. package/dist/packages/prisma/zod/inputTypeSchemas/BookingScalarFieldEnumSchema.d.ts +1 -1
  224. package/dist/packages/prisma/zod/inputTypeSchemas/BookingScalarFieldEnumSchema.d.ts.map +1 -1
  225. package/dist/packages/prisma/zod/inputTypeSchemas/BookingWindowScalarFieldEnumSchema.d.ts +4 -0
  226. package/dist/packages/prisma/zod/inputTypeSchemas/BookingWindowScalarFieldEnumSchema.d.ts.map +1 -0
  227. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +1 -0
  228. package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
  229. package/dist/packages/prisma/zod/modelSchema/AbuseRuleGroupSchema.d.ts +2 -2
  230. package/dist/packages/prisma/zod/modelSchema/AccessCodeSchema.d.ts +3 -3
  231. package/dist/packages/prisma/zod/modelSchema/AppSchema.d.ts +2 -2
  232. package/dist/packages/prisma/zod/modelSchema/AttendeeSchema.d.ts +2 -2
  233. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts +8 -2
  234. package/dist/packages/prisma/zod/modelSchema/BookingSchema.d.ts.map +1 -1
  235. package/dist/packages/prisma/zod/modelSchema/BookingSeatSchema.d.ts +2 -2
  236. package/dist/packages/prisma/zod/modelSchema/BookingWindowSchema.d.ts +75 -0
  237. package/dist/packages/prisma/zod/modelSchema/BookingWindowSchema.d.ts.map +1 -0
  238. package/dist/packages/prisma/zod/modelSchema/CalendarCacheEventSchema.d.ts +2 -2
  239. package/dist/packages/prisma/zod/modelSchema/EventTypeSchema.d.ts +2 -2
  240. package/dist/packages/prisma/zod/modelSchema/MonthlyProrationSchema.d.ts +2 -2
  241. package/dist/packages/prisma/zod/modelSchema/OAuthAuthorizationSchema.d.ts +3 -3
  242. package/dist/packages/prisma/zod/modelSchema/OAuthClientSchema.d.ts +3 -3
  243. package/dist/packages/prisma/zod/modelSchema/SeatChangeLogSchema.d.ts +2 -2
  244. package/dist/packages/prisma/zod/modelSchema/TeamSchema.d.ts +2 -2
  245. package/dist/packages/prisma/zod/modelSchema/UserSchema.d.ts +4 -4
  246. package/dist/packages/prisma/zod/modelSchema/WorkflowStepSchema.d.ts +2 -2
  247. package/dist/packages/prisma/zod/modelSchema/index.d.ts +1 -0
  248. package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
  249. package/dist/{server.browser-CDJE0vl2.js → server.browser-PDSe0hK-.js} +1 -1
  250. package/dist/{useIsAppEnabled-2m9tJsEA.js → useIsAppEnabled-BUlxW0Js.js} +1 -1
  251. package/package.json +2 -2
  252. package/dist/AppListCardWebWrapper-BdxlDHBL.js +0 -72
  253. package/dist/EventTypeAppCardInterface-DOrvvmIe.js +0 -1074
  254. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts +0 -2
  255. package/dist/packages/features/bookings/lib/handleNewBooking/test/spam-booking.integration-test.d.ts.map +0 -1
@@ -0,0 +1,1139 @@
1
+ import { jsxs as s, jsx as e, Fragment as F } from "react/jsx-runtime";
2
+ import { S as i, A as Ne } from "./AppCard-BWKYRAGD.js";
3
+ import { u as Oe } from "./useIsAppEnabled-BUlxW0Js.js";
4
+ import { n as de, ac as ie, d as O, e as C, B as R, ad as b, ae as D, af as re, h as z, s as J, ag as Ce, o as we, p as Ee, ah as w, ai as Te, W as ke, L as oe, aj as xe } from "./index-D6p17Vap.js";
5
+ import { useState as g, useMemo as ze } from "react";
6
+ const Re = ({
7
+ fieldRules: E,
8
+ updateFieldRules: L
9
+ }) => {
10
+ const { t: S } = de(), A = [
11
+ { label: S("salesforce_rr_skip_field_rule_ignore"), value: ie.IGNORE },
12
+ { label: S("salesforce_rr_skip_field_rule_must_include"), value: ie.MUST_INCLUDE }
13
+ ], [d, c] = g({
14
+ field: "",
15
+ value: "",
16
+ action: ie.IGNORE
17
+ }), [o, u] = g(null), [m, N] = g(null), T = (f) => {
18
+ const k = E[f];
19
+ u(f), N({ field: k.field, value: k.value, action: k.action });
20
+ }, x = () => {
21
+ u(null), N(null);
22
+ }, H = () => {
23
+ if (o === null || !m || !m.field.trim() || !m.value.trim()) return;
24
+ const f = [...E];
25
+ f[o] = {
26
+ field: m.field.trim(),
27
+ value: m.value.trim(),
28
+ action: m.action
29
+ }, L(f), x();
30
+ };
31
+ return /* @__PURE__ */ s(i.SubSection, { children: [
32
+ /* @__PURE__ */ e(
33
+ i.SubSectionHeader,
34
+ {
35
+ icon: "filter",
36
+ title: S("salesforce_rr_skip_field_rules"),
37
+ labelFor: "rr-skip-field-rules",
38
+ children: /* @__PURE__ */ e(F, {})
39
+ }
40
+ ),
41
+ /* @__PURE__ */ s(i.SubSectionContent, { children: [
42
+ /* @__PURE__ */ s("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
43
+ /* @__PURE__ */ e("div", { className: "flex-1", children: S("field_name") }),
44
+ /* @__PURE__ */ e("div", { className: "flex-1", children: S("value") }),
45
+ /* @__PURE__ */ e("div", { className: "w-32", children: S("action") }),
46
+ /* @__PURE__ */ e("div", { className: "w-20" })
47
+ ] }),
48
+ /* @__PURE__ */ s(i.SubSectionNested, { children: [
49
+ E.map((f, k) => {
50
+ const I = o === k;
51
+ return /* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
52
+ /* @__PURE__ */ e("div", { className: "flex-1", children: I ? /* @__PURE__ */ e(
53
+ O,
54
+ {
55
+ value: (m == null ? void 0 : m.field) || "",
56
+ onChange: (p) => N((_) => _ ? { ..._, field: p.target.value } : null),
57
+ size: "sm",
58
+ className: "w-full"
59
+ }
60
+ ) : /* @__PURE__ */ e(O, { value: f.field, readOnly: !0, size: "sm", className: "w-full" }) }),
61
+ /* @__PURE__ */ e("div", { className: "flex-1", children: I ? /* @__PURE__ */ e(
62
+ O,
63
+ {
64
+ value: (m == null ? void 0 : m.value) || "",
65
+ onChange: (p) => N((_) => _ ? { ..._, value: p.target.value } : null),
66
+ size: "sm",
67
+ className: "w-full"
68
+ }
69
+ ) : /* @__PURE__ */ e(O, { value: f.value, readOnly: !0, size: "sm", className: "w-full" }) }),
70
+ /* @__PURE__ */ e("div", { className: "w-32", children: I ? /* @__PURE__ */ e(
71
+ C,
72
+ {
73
+ size: "sm",
74
+ className: "w-full",
75
+ options: A,
76
+ value: A.find((p) => p.value === (m == null ? void 0 : m.action)),
77
+ onChange: (p) => {
78
+ p && N((_) => _ ? { ..._, action: p.value } : null);
79
+ }
80
+ }
81
+ ) : /* @__PURE__ */ e(
82
+ C,
83
+ {
84
+ size: "sm",
85
+ className: "w-full",
86
+ options: A,
87
+ value: A.find((p) => p.value === f.action),
88
+ isDisabled: !0
89
+ }
90
+ ) }),
91
+ /* @__PURE__ */ e("div", { className: "flex w-20 justify-center gap-1", children: I ? /* @__PURE__ */ s(F, { children: [
92
+ /* @__PURE__ */ e(
93
+ R,
94
+ {
95
+ size: "sm",
96
+ StartIcon: "check",
97
+ variant: "icon",
98
+ color: "primary",
99
+ onClick: () => H()
100
+ }
101
+ ),
102
+ /* @__PURE__ */ e(
103
+ R,
104
+ {
105
+ size: "sm",
106
+ StartIcon: "x",
107
+ variant: "icon",
108
+ color: "secondary",
109
+ onClick: () => x()
110
+ }
111
+ )
112
+ ] }) : /* @__PURE__ */ s(F, { children: [
113
+ /* @__PURE__ */ e(
114
+ R,
115
+ {
116
+ size: "sm",
117
+ StartIcon: "pencil",
118
+ variant: "icon",
119
+ color: "minimal",
120
+ onClick: () => T(k)
121
+ }
122
+ ),
123
+ /* @__PURE__ */ e(
124
+ R,
125
+ {
126
+ StartIcon: "x",
127
+ variant: "icon",
128
+ size: "sm",
129
+ color: "minimal",
130
+ onClick: () => {
131
+ L(E.filter((p, _) => _ !== k));
132
+ }
133
+ }
134
+ )
135
+ ] }) })
136
+ ] }, `${f.field}-${k}`);
137
+ }),
138
+ /* @__PURE__ */ s("div", { className: "mt-2 flex gap-2", children: [
139
+ /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
140
+ O,
141
+ {
142
+ size: "sm",
143
+ className: "w-full",
144
+ placeholder: S("salesforce_field_name_placeholder"),
145
+ value: d.field,
146
+ onChange: (f) => c({ ...d, field: f.target.value })
147
+ }
148
+ ) }),
149
+ /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
150
+ O,
151
+ {
152
+ size: "sm",
153
+ className: "w-full",
154
+ placeholder: S("value"),
155
+ value: d.value,
156
+ onChange: (f) => c({ ...d, value: f.target.value })
157
+ }
158
+ ) }),
159
+ /* @__PURE__ */ e("div", { className: "w-32", children: /* @__PURE__ */ e(
160
+ C,
161
+ {
162
+ size: "sm",
163
+ className: "w-full",
164
+ options: A,
165
+ value: A.find((f) => f.value === d.action),
166
+ onChange: (f) => {
167
+ f && c({ ...d, action: f.value });
168
+ }
169
+ }
170
+ ) }),
171
+ /* @__PURE__ */ e("div", { className: "w-20" })
172
+ ] })
173
+ ] }),
174
+ /* @__PURE__ */ e(
175
+ R,
176
+ {
177
+ className: "text-subtle mt-2 w-fit",
178
+ StartIcon: "plus",
179
+ color: "minimal",
180
+ size: "sm",
181
+ disabled: !(d.field && d.value),
182
+ onClick: () => {
183
+ L([
184
+ ...E,
185
+ {
186
+ field: d.field.trim(),
187
+ value: d.value.trim(),
188
+ action: d.action
189
+ }
190
+ ]), c({ field: "", value: "", action: ie.IGNORE });
191
+ },
192
+ children: S("add_new_rule")
193
+ }
194
+ )
195
+ ] })
196
+ ] });
197
+ };
198
+ var q = /* @__PURE__ */ ((E) => (E.ON_BOOKING = "on_booking", E.ON_CANCEL = "on_cancel", E))(q || {});
199
+ const te = ({
200
+ bookingAction: E,
201
+ optionLabel: L,
202
+ optionEnabled: S,
203
+ optionSwitchOnChange: A,
204
+ writeToObjectData: d,
205
+ updateWriteToObjectData: c,
206
+ hideWhenToWrite: o = !1
207
+ }) => {
208
+ const { t: u } = de(), m = [
209
+ { label: u("text"), value: b.TEXT },
210
+ { label: u("date"), value: b.DATE },
211
+ { label: u("phone").charAt(0).toUpperCase() + u("phone").slice(1), value: b.PHONE },
212
+ { label: u("checkbox"), value: b.CHECKBOX },
213
+ { label: u("picklist"), value: b.PICKLIST },
214
+ { label: u("custom"), value: b.CUSTOM }
215
+ ], N = [
216
+ { label: u("only_if_field_is_empty"), value: D.FIELD_EMPTY },
217
+ ...E === "on_cancel" ? [{ label: u("salesforce_on_every_cancellation"), value: D.EVERY_BOOKING }] : [{ label: u("on_every_booking"), value: D.EVERY_BOOKING }]
218
+ ], T = [
219
+ { label: u("true"), value: !0 },
220
+ { label: u("false"), value: !1 }
221
+ ], x = [
222
+ ...E === "on_cancel" ? [{ label: u("booking_cancel_date"), value: re.BOOKING_CANCEL_DATE }] : [],
223
+ { label: u("booking_start_date"), value: re.BOOKING_START_DATE },
224
+ { label: u("booking_created_date"), value: re.BOOKING_CREATED_DATE }
225
+ ], [H, f] = g(m[0]), [k, I] = g(x[0]), [p, _] = g(
226
+ T[0]
227
+ ), [M, Q] = g(N[0]), [j, Z] = g({}), [U, y] = g(
228
+ {}
229
+ ), [ee, G] = g(null), [ne, K] = g({}), [V, X] = g(!1), [v, W] = g({
230
+ field: "",
231
+ fieldType: H.value,
232
+ value: "",
233
+ whenToWrite: o ? D.EVERY_BOOKING : M.value
234
+ }), Y = () => {
235
+ W({
236
+ field: "",
237
+ fieldType: m[0].value,
238
+ value: "",
239
+ whenToWrite: o ? D.EVERY_BOOKING : N[0].value
240
+ }), f(m[0]), I(x[0]), _(T[0]), Q(N[0]), G(null);
241
+ }, ce = () => {
242
+ if (Object.keys(d).includes(v.field.trim())) {
243
+ G("Field already exists");
244
+ return;
245
+ }
246
+ const n = Ce(v);
247
+ if (n) {
248
+ G(n);
249
+ return;
250
+ }
251
+ G(null), c({
252
+ ...d,
253
+ [v.field.trim()]: {
254
+ fieldType: v.fieldType,
255
+ value: v.value,
256
+ whenToWrite: o ? D.EVERY_BOOKING : v.whenToWrite
257
+ }
258
+ }), Y(), X(!1);
259
+ }, le = () => {
260
+ Y(), X(!1);
261
+ }, ae = (n) => {
262
+ Object.keys(j).forEach((r) => {
263
+ j[r] && r !== n && B(r);
264
+ }), Z((r) => ({ ...r, [n]: !0 })), y((r) => ({
265
+ ...r,
266
+ [n]: {
267
+ field: n,
268
+ fieldType: d[n].fieldType,
269
+ value: d[n].value,
270
+ whenToWrite: d[n].whenToWrite
271
+ }
272
+ }));
273
+ }, B = (n) => {
274
+ Z((r) => ({ ...r, [n]: !1 })), y((r) => {
275
+ const t = { ...r };
276
+ return delete t[n], t;
277
+ });
278
+ }, se = (n) => {
279
+ const r = U[n];
280
+ if (!r) return;
281
+ if (!r.field.trim()) {
282
+ K((h) => ({ ...h, [n]: "Field name cannot be empty" }));
283
+ return;
284
+ }
285
+ if (r.field !== n && Object.keys(d).includes(r.field.trim())) {
286
+ K((h) => ({ ...h, [n]: "Field already exists" }));
287
+ return;
288
+ }
289
+ const t = Ce(r);
290
+ if (t) {
291
+ K((h) => ({ ...h, [n]: t }));
292
+ return;
293
+ }
294
+ K((h) => ({ ...h, [n]: null }));
295
+ const a = { ...d };
296
+ r.field !== n && delete a[n], a[r.field.trim()] = {
297
+ fieldType: r.fieldType,
298
+ value: r.value,
299
+ whenToWrite: o ? D.EVERY_BOOKING : r.whenToWrite
300
+ }, c(a), B(n);
301
+ };
302
+ return /* @__PURE__ */ s(F, { children: [
303
+ /* @__PURE__ */ e(i.SubSectionHeader, { icon: "star", labelFor: "write-to-object-settings", title: L, children: /* @__PURE__ */ e(
304
+ z,
305
+ {
306
+ checked: S,
307
+ onCheckedChange: A,
308
+ id: "write-to-object-settings",
309
+ size: "sm"
310
+ }
311
+ ) }),
312
+ S ? /* @__PURE__ */ s(i.SubSectionContent, { children: [
313
+ (Object.keys(d).length > 0 || V) && /* @__PURE__ */ s(F, { children: [
314
+ /* @__PURE__ */ s("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
315
+ /* @__PURE__ */ e("div", { className: "flex-1", children: u("field_name") }),
316
+ /* @__PURE__ */ e("div", { className: "flex-1", children: u("field_type") }),
317
+ /* @__PURE__ */ e("div", { className: "flex-1", children: u("value") }),
318
+ !o && /* @__PURE__ */ e("div", { className: "flex-1", children: u("when_to_write") }),
319
+ /* @__PURE__ */ e("div", { className: "w-20" })
320
+ ] }),
321
+ /* @__PURE__ */ s(i.SubSectionNested, { children: [
322
+ Object.keys(d).map((n) => {
323
+ const r = j[n], t = U[n];
324
+ return /* @__PURE__ */ s("div", { children: [
325
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
326
+ /* @__PURE__ */ e("div", { className: "flex-1", children: r ? /* @__PURE__ */ e(
327
+ O,
328
+ {
329
+ value: (t == null ? void 0 : t.field) || n,
330
+ onChange: (a) => y((h) => ({
331
+ ...h,
332
+ [n]: { ...t, field: a.target.value }
333
+ })),
334
+ size: "sm",
335
+ className: "w-full"
336
+ }
337
+ ) : /* @__PURE__ */ e(O, { value: n, readOnly: !0, size: "sm", className: "w-full" }) }),
338
+ /* @__PURE__ */ e("div", { className: "flex-1", children: r ? /* @__PURE__ */ e(
339
+ C,
340
+ {
341
+ size: "sm",
342
+ className: "w-full",
343
+ options: m,
344
+ value: m.find((a) => a.value === (t == null ? void 0 : t.fieldType)),
345
+ onChange: (a) => {
346
+ a && y((h) => ({
347
+ ...h,
348
+ [n]: {
349
+ ...t,
350
+ fieldType: a.value,
351
+ ...a.value === b.DATE && {
352
+ value: x[0].value
353
+ },
354
+ ...a.value === b.CHECKBOX && {
355
+ value: T[0].value
356
+ }
357
+ }
358
+ }));
359
+ }
360
+ }
361
+ ) : /* @__PURE__ */ e(
362
+ C,
363
+ {
364
+ size: "sm",
365
+ className: "w-full",
366
+ value: m.find(
367
+ (a) => a.value === d[n].fieldType
368
+ ),
369
+ isDisabled: !0
370
+ }
371
+ ) }),
372
+ /* @__PURE__ */ e("div", { className: "flex-1", children: r ? (t == null ? void 0 : t.fieldType) === b.DATE ? /* @__PURE__ */ e(
373
+ C,
374
+ {
375
+ size: "sm",
376
+ className: "w-full",
377
+ options: x,
378
+ value: x.find((a) => a.value === t.value),
379
+ onChange: (a) => {
380
+ a && y((h) => ({
381
+ ...h,
382
+ [n]: { ...t, value: a.value }
383
+ }));
384
+ }
385
+ }
386
+ ) : (t == null ? void 0 : t.fieldType) === b.CHECKBOX ? /* @__PURE__ */ e(
387
+ C,
388
+ {
389
+ size: "sm",
390
+ className: "w-full",
391
+ options: T,
392
+ value: T.find((a) => a.value === t.value),
393
+ onChange: (a) => {
394
+ a && y((h) => ({
395
+ ...h,
396
+ [n]: { ...t, value: a.value }
397
+ }));
398
+ }
399
+ }
400
+ ) : /* @__PURE__ */ e(
401
+ O,
402
+ {
403
+ value: (t == null ? void 0 : t.value) || "",
404
+ onChange: (a) => y((h) => ({
405
+ ...h,
406
+ [n]: { ...t, value: a.target.value }
407
+ })),
408
+ size: "sm",
409
+ className: "w-full"
410
+ }
411
+ ) : d[n].fieldType === b.DATE ? /* @__PURE__ */ e(
412
+ C,
413
+ {
414
+ size: "sm",
415
+ className: "w-full",
416
+ value: x.find(
417
+ (a) => a.value === d[n].value
418
+ ),
419
+ isDisabled: !0
420
+ }
421
+ ) : d[n].fieldType === b.CHECKBOX ? /* @__PURE__ */ e(
422
+ C,
423
+ {
424
+ size: "sm",
425
+ className: "w-full",
426
+ value: T.find(
427
+ (a) => a.value === d[n].value
428
+ ),
429
+ isDisabled: !0
430
+ }
431
+ ) : /* @__PURE__ */ e(
432
+ O,
433
+ {
434
+ value: d[n].value,
435
+ readOnly: !0,
436
+ size: "sm",
437
+ className: "w-full"
438
+ }
439
+ ) }),
440
+ !o && /* @__PURE__ */ e("div", { className: "flex-1", children: r ? /* @__PURE__ */ e(
441
+ C,
442
+ {
443
+ size: "sm",
444
+ className: "w-full",
445
+ options: N,
446
+ value: N.find(
447
+ (a) => a.value === (t == null ? void 0 : t.whenToWrite)
448
+ ),
449
+ onChange: (a) => {
450
+ a && y((h) => ({
451
+ ...h,
452
+ [n]: { ...t, whenToWrite: a.value }
453
+ }));
454
+ }
455
+ }
456
+ ) : /* @__PURE__ */ e(
457
+ C,
458
+ {
459
+ size: "sm",
460
+ className: "w-full",
461
+ value: N.find(
462
+ (a) => a.value === d[n].whenToWrite
463
+ ),
464
+ isDisabled: !0
465
+ }
466
+ ) }),
467
+ /* @__PURE__ */ e("div", { className: "flex w-20 justify-center gap-1", children: r ? /* @__PURE__ */ s(F, { children: [
468
+ /* @__PURE__ */ e(
469
+ R,
470
+ {
471
+ size: "sm",
472
+ StartIcon: "check",
473
+ variant: "icon",
474
+ color: "primary",
475
+ onClick: () => se(n)
476
+ }
477
+ ),
478
+ /* @__PURE__ */ e(
479
+ R,
480
+ {
481
+ size: "sm",
482
+ StartIcon: "x",
483
+ variant: "icon",
484
+ color: "secondary",
485
+ onClick: () => B(n)
486
+ }
487
+ )
488
+ ] }) : /* @__PURE__ */ s(F, { children: [
489
+ /* @__PURE__ */ e(
490
+ R,
491
+ {
492
+ size: "sm",
493
+ StartIcon: "pencil",
494
+ variant: "icon",
495
+ color: "minimal",
496
+ onClick: () => ae(n)
497
+ }
498
+ ),
499
+ /* @__PURE__ */ e(
500
+ R,
501
+ {
502
+ size: "sm",
503
+ StartIcon: "x",
504
+ variant: "icon",
505
+ color: "minimal",
506
+ onClick: () => {
507
+ const a = { ...d };
508
+ delete a[n], c(a);
509
+ }
510
+ }
511
+ )
512
+ ] }) })
513
+ ] }),
514
+ r && ne[n] && /* @__PURE__ */ e(J, { severity: "error", className: "mt-1", message: ne[n] })
515
+ ] }, n);
516
+ }),
517
+ V && /* @__PURE__ */ s("div", { children: [
518
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-2", children: [
519
+ /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
520
+ O,
521
+ {
522
+ size: "sm",
523
+ className: "w-full",
524
+ value: v.field,
525
+ placeholder: u("field_name"),
526
+ onChange: (n) => W({
527
+ ...v,
528
+ field: n.target.value
529
+ })
530
+ }
531
+ ) }),
532
+ /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
533
+ C,
534
+ {
535
+ size: "sm",
536
+ className: "w-full",
537
+ options: m,
538
+ value: H,
539
+ onChange: (n) => {
540
+ n && (f(n), W({
541
+ ...v,
542
+ fieldType: n.value,
543
+ ...n.value === b.DATE && {
544
+ value: k.value
545
+ },
546
+ ...n.value === b.CHECKBOX && {
547
+ value: p.value
548
+ }
549
+ }));
550
+ }
551
+ }
552
+ ) }),
553
+ /* @__PURE__ */ e("div", { className: "flex-1", children: v.fieldType === b.DATE ? /* @__PURE__ */ e(
554
+ C,
555
+ {
556
+ size: "sm",
557
+ className: "w-full",
558
+ options: x,
559
+ value: k,
560
+ onChange: (n) => {
561
+ n && (I(n), W({
562
+ ...v,
563
+ value: n.value
564
+ }));
565
+ }
566
+ }
567
+ ) : v.fieldType === b.CHECKBOX ? /* @__PURE__ */ e(
568
+ C,
569
+ {
570
+ size: "sm",
571
+ className: "w-full",
572
+ options: T,
573
+ value: p,
574
+ onChange: (n) => {
575
+ n && (_(n), W({
576
+ ...v,
577
+ value: n.value
578
+ }));
579
+ }
580
+ }
581
+ ) : /* @__PURE__ */ e(
582
+ O,
583
+ {
584
+ size: "sm",
585
+ className: "w-full",
586
+ value: v.value,
587
+ placeholder: u("value"),
588
+ onChange: (n) => W({
589
+ ...v,
590
+ value: n.target.value
591
+ })
592
+ }
593
+ ) }),
594
+ !o && /* @__PURE__ */ e("div", { className: "flex-1", children: /* @__PURE__ */ e(
595
+ C,
596
+ {
597
+ size: "sm",
598
+ className: "w-full",
599
+ options: N,
600
+ value: M,
601
+ onChange: (n) => {
602
+ n && (Q(n), W({
603
+ ...v,
604
+ whenToWrite: n.value
605
+ }));
606
+ }
607
+ }
608
+ ) }),
609
+ /* @__PURE__ */ s("div", { className: "flex w-20 justify-center gap-1", children: [
610
+ /* @__PURE__ */ e(
611
+ R,
612
+ {
613
+ size: "sm",
614
+ StartIcon: "check",
615
+ variant: "icon",
616
+ color: "primary",
617
+ disabled: !(v.field && v.fieldType && v.value !== "" && v.whenToWrite),
618
+ onClick: ce
619
+ }
620
+ ),
621
+ /* @__PURE__ */ e(
622
+ R,
623
+ {
624
+ size: "sm",
625
+ StartIcon: "x",
626
+ variant: "icon",
627
+ color: "secondary",
628
+ onClick: le
629
+ }
630
+ )
631
+ ] })
632
+ ] }),
633
+ ee && /* @__PURE__ */ e(J, { severity: "error", className: "mt-1", message: ee })
634
+ ] })
635
+ ] })
636
+ ] }),
637
+ !V && /* @__PURE__ */ e(
638
+ R,
639
+ {
640
+ className: "text-subtle mt-2 w-fit",
641
+ StartIcon: "plus",
642
+ color: "minimal",
643
+ size: "sm",
644
+ onClick: () => {
645
+ Y(), X(!0);
646
+ },
647
+ children: u("add_new_field")
648
+ }
649
+ )
650
+ ] }) : null
651
+ ] });
652
+ }, Fe = {}, Le = function({
653
+ app: L,
654
+ eventType: S,
655
+ onAppInstallSuccess: A
656
+ }) {
657
+ var fe, he;
658
+ const d = we.usePathname(), { getAppData: c, setAppData: o, disabled: u } = Ee(), { enabled: m, updateEnabled: N } = Oe(L), T = c("roundRobinLeadSkip"), x = c("roundRobinSkipCheckRecordOn") ?? w.CONTACT, H = c("ifFreeEmailDomainSkipOwnerCheck") ?? !1, f = c("skipContactCreation"), k = c("createLeadIfAccountNull"), I = c("createNewContactUnderAccount"), p = c("createEventOn") ?? w.CONTACT, _ = c("onBookingWriteToEventObject") ?? !1, M = c("onBookingWriteToEventObjectMap") ?? Fe, Q = c("createEventOnLeadCheckForContact") ?? !1, j = c("onBookingChangeRecordOwner") ?? !1, Z = c("onBookingChangeRecordOwnerName") ?? [], U = c("sendNoShowAttendeeData") ?? !1, y = c("sendNoShowAttendeeDataField") ?? "", ee = c("onBookingWriteToRecord") ?? !1, G = c("onBookingWriteToRecordFields") ?? {}, ne = c("ignoreGuests") ?? !1, K = c("roundRobinSkipFallbackToLeadOwner") ?? !1, V = c("onCancelWriteToEventRecord") ?? !1, X = c("onCancelWriteToEventRecordFields") ?? {}, v = c("onCancelWriteToRecord") ?? !1, W = c("onCancelWriteToRecordFields") ?? {}, Y = c("rrSkipFieldRules") ?? [], ce = c("excludeAccountRecordTypes") ?? [], [le, ae] = g(() => ce.join(", ")), B = c("lastSyncError"), se = c("enableFuzzyDomainMatching") ?? !1, { t: n } = de(), r = [
659
+ { label: n("contact"), value: w.CONTACT },
660
+ { label: n("salesforce_lead"), value: w.LEAD },
661
+ { label: n("salesforce_contact_under_account"), value: w.ACCOUNT }
662
+ ], [t, a] = g(
663
+ r.find((l) => l.value === p) ?? r[0]
664
+ ), h = [
665
+ { label: n("contact"), value: w.CONTACT },
666
+ { label: n("salesforce_lead"), value: w.LEAD },
667
+ { label: n("account"), value: w.ACCOUNT }
668
+ ], [ue, _e] = g(
669
+ h.find((l) => l.value === x) ?? h[0]
670
+ ), { normalizedEventObjectMap: ge, hasLegacyEventFields: Se } = ze(() => {
671
+ const l = M, $ = {};
672
+ let ve = !1;
673
+ for (const [pe, P] of Object.entries(l))
674
+ if (Te(P))
675
+ $[pe] = P;
676
+ else {
677
+ ve = !0;
678
+ const be = typeof P == "boolean";
679
+ $[pe] = {
680
+ value: be ? P : String(P ?? ""),
681
+ fieldType: be ? b.CHECKBOX : b.TEXT,
682
+ whenToWrite: D.EVERY_BOOKING
683
+ };
684
+ }
685
+ return { normalizedEventObjectMap: $, hasLegacyEventFields: ve };
686
+ }, [M]), me = () => /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
687
+ i.SubSectionHeader,
688
+ {
689
+ icon: "at-sign",
690
+ title: n("salesforce_create_new_contact_under_account"),
691
+ labelFor: "create-new-contact-under-account",
692
+ children: /* @__PURE__ */ e(
693
+ z,
694
+ {
695
+ size: "sm",
696
+ labelOnLeading: !0,
697
+ checked: I,
698
+ onCheckedChange: (l) => {
699
+ o("createNewContactUnderAccount", l);
700
+ }
701
+ }
702
+ )
703
+ }
704
+ ) });
705
+ return /* @__PURE__ */ e(
706
+ Ne,
707
+ {
708
+ onAppInstallSuccess: A,
709
+ returnTo: `${ke}${d}?tabName=apps`,
710
+ app: L,
711
+ teamId: ((fe = S.team) == null ? void 0 : fe.id) || void 0,
712
+ switchOnClick: (l) => {
713
+ N(l);
714
+ },
715
+ switchChecked: m,
716
+ hideSettingsIcon: !0,
717
+ children: /* @__PURE__ */ s(i.Content, { children: [
718
+ B && /* @__PURE__ */ e(
719
+ J,
720
+ {
721
+ severity: "error",
722
+ className: "mb-4",
723
+ title: n("salesforce_sync_failure", { errorCode: B.errorCode }),
724
+ message: `${B.errorMessage}${(he = B.droppedFields) != null && he.length ? ` (${n("salesforce_dropped_fields")}: ${B.droppedFields.join(", ")})` : ""} — ${new Date(B.timestamp).toLocaleString()}`,
725
+ actions: /* @__PURE__ */ e("div", { className: "mt-1", children: /* @__PURE__ */ e(
726
+ "button",
727
+ {
728
+ type: "button",
729
+ className: "text-sm font-medium underline",
730
+ onClick: () => o("lastSyncError", null),
731
+ children: n("dismiss")
732
+ }
733
+ ) })
734
+ }
735
+ ),
736
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
737
+ i.SubSectionHeader,
738
+ {
739
+ icon: "zap",
740
+ title: n("salesforce_add_attendees_as"),
741
+ justify: "start",
742
+ labelFor: "add-attendees-as",
743
+ children: /* @__PURE__ */ e(
744
+ C,
745
+ {
746
+ size: "sm",
747
+ id: "add-attendees-as",
748
+ className: "w-[200px]",
749
+ options: r,
750
+ value: t,
751
+ onChange: (l) => {
752
+ l && (a(l), o("createEventOn", l.value));
753
+ }
754
+ }
755
+ )
756
+ }
757
+ ) }),
758
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
759
+ i.SubSectionHeader,
760
+ {
761
+ icon: "user-plus",
762
+ title: n("salesforce_ignore_guests"),
763
+ labelFor: "ignore-guests",
764
+ children: /* @__PURE__ */ e(
765
+ z,
766
+ {
767
+ size: "sm",
768
+ labelOnLeading: !0,
769
+ checked: ne,
770
+ onCheckedChange: (l) => {
771
+ o("ignoreGuests", l);
772
+ }
773
+ }
774
+ )
775
+ }
776
+ ) }),
777
+ t.value === w.CONTACT ? /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
778
+ i.SubSectionHeader,
779
+ {
780
+ icon: "user-plus",
781
+ title: n("skip_contact_creation", { appName: "Salesforce" }),
782
+ labelFor: "skip-contact-creation",
783
+ children: /* @__PURE__ */ e(
784
+ z,
785
+ {
786
+ size: "sm",
787
+ labelOnLeading: !0,
788
+ checked: f,
789
+ onCheckedChange: (l) => {
790
+ o("skipContactCreation", l);
791
+ }
792
+ }
793
+ )
794
+ }
795
+ ) }) : null,
796
+ t.value === w.LEAD ? /* @__PURE__ */ s(F, { children: [
797
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
798
+ i.SubSectionHeader,
799
+ {
800
+ icon: "user-plus",
801
+ title: n("salesforce_create_event_on_contact"),
802
+ labelFor: "create-event-on-contact",
803
+ children: /* @__PURE__ */ e(
804
+ z,
805
+ {
806
+ size: "sm",
807
+ labelOnLeading: !0,
808
+ checked: Q,
809
+ onCheckedChange: (l) => {
810
+ o("createEventOnLeadCheckForContact", l);
811
+ }
812
+ }
813
+ )
814
+ }
815
+ ) }),
816
+ /* @__PURE__ */ e(me, {})
817
+ ] }) : null,
818
+ t.value === w.ACCOUNT ? /* @__PURE__ */ s(F, { children: [
819
+ /* @__PURE__ */ e(me, {}),
820
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
821
+ i.SubSectionHeader,
822
+ {
823
+ icon: "user-plus",
824
+ title: n("salesforce_if_account_does_not_exist"),
825
+ labelFor: "create-lead-if-account-null",
826
+ children: /* @__PURE__ */ e(
827
+ z,
828
+ {
829
+ size: "sm",
830
+ labelOnLeading: !0,
831
+ checked: k,
832
+ onCheckedChange: (l) => {
833
+ o("createLeadIfAccountNull", l);
834
+ }
835
+ }
836
+ )
837
+ }
838
+ ) })
839
+ ] }) : null,
840
+ (t.value === w.ACCOUNT || t.value === w.LEAD) && /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
841
+ i.SubSectionHeader,
842
+ {
843
+ icon: "search",
844
+ title: n("salesforce_enable_fuzzy_domain_matching"),
845
+ labelFor: "enable-fuzzy-domain-matching",
846
+ children: /* @__PURE__ */ e(
847
+ z,
848
+ {
849
+ size: "sm",
850
+ id: "enable-fuzzy-domain-matching",
851
+ labelOnLeading: !0,
852
+ checked: se,
853
+ onCheckedChange: (l) => {
854
+ o("enableFuzzyDomainMatching", l);
855
+ }
856
+ }
857
+ )
858
+ }
859
+ ) }),
860
+ /* @__PURE__ */ s(i.SubSection, { children: [
861
+ /* @__PURE__ */ e(
862
+ te,
863
+ {
864
+ bookingAction: q.ON_BOOKING,
865
+ optionLabel: n("on_booking_write_to_event_object"),
866
+ optionEnabled: _,
867
+ optionSwitchOnChange: (l) => {
868
+ o("onBookingWriteToEventObject", l);
869
+ },
870
+ writeToObjectData: ge,
871
+ updateWriteToObjectData: (l) => o("onBookingWriteToEventObjectMap", l),
872
+ hideWhenToWrite: !0
873
+ }
874
+ ),
875
+ _ && Se && /* @__PURE__ */ e(
876
+ J,
877
+ {
878
+ severity: "warning",
879
+ className: "mt-2",
880
+ message: n("salesforce_legacy_event_fields_warning")
881
+ }
882
+ )
883
+ ] }),
884
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
885
+ te,
886
+ {
887
+ bookingAction: q.ON_BOOKING,
888
+ optionLabel: n("salesforce_on_booking_write_to_record", { record: p }),
889
+ optionEnabled: ee,
890
+ writeToObjectData: G,
891
+ optionSwitchOnChange: (l) => {
892
+ o("onBookingWriteToRecord", l);
893
+ },
894
+ updateWriteToObjectData: (l) => o("onBookingWriteToRecordFields", l)
895
+ }
896
+ ) }),
897
+ /* @__PURE__ */ s(i.SubSection, { children: [
898
+ /* @__PURE__ */ e(
899
+ i.SubSectionHeader,
900
+ {
901
+ icon: "user-plus",
902
+ title: n("salesforce_change_record_owner_on_booking"),
903
+ labelFor: "change-record-owner-on-booking",
904
+ children: /* @__PURE__ */ e(
905
+ z,
906
+ {
907
+ size: "sm",
908
+ labelOnLeading: !0,
909
+ checked: j,
910
+ onCheckedChange: (l) => {
911
+ o("onBookingChangeRecordOwner", l);
912
+ }
913
+ }
914
+ )
915
+ }
916
+ ),
917
+ j ? /* @__PURE__ */ e(i.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ s("div", { children: [
918
+ /* @__PURE__ */ e(
919
+ oe,
920
+ {
921
+ htmlFor: "on-booking-change-record-owner-name",
922
+ className: "text-subtle text-sm font-medium",
923
+ children: n("salesforce_owner_name_to_change")
924
+ }
925
+ ),
926
+ /* @__PURE__ */ e(
927
+ O,
928
+ {
929
+ id: "on-booking-change-record-owner-name",
930
+ size: "sm",
931
+ value: Z,
932
+ onChange: (l) => o("onBookingChangeRecordOwnerName", l.target.value)
933
+ }
934
+ )
935
+ ] }) }) : null
936
+ ] }),
937
+ /* @__PURE__ */ s(i.SubSection, { children: [
938
+ /* @__PURE__ */ e(
939
+ i.SubSectionHeader,
940
+ {
941
+ icon: "filter",
942
+ title: n("salesforce_exclude_record_types"),
943
+ justify: "start",
944
+ children: null
945
+ }
946
+ ),
947
+ /* @__PURE__ */ e(i.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ s("div", { children: [
948
+ /* @__PURE__ */ e(
949
+ oe,
950
+ {
951
+ htmlFor: "exclude-account-record-types",
952
+ className: "text-subtle text-sm font-medium",
953
+ children: n("salesforce_exclude_record_types_description")
954
+ }
955
+ ),
956
+ /* @__PURE__ */ e(
957
+ O,
958
+ {
959
+ id: "exclude-account-record-types",
960
+ size: "sm",
961
+ placeholder: "Partner/Alliance, Vendor",
962
+ value: le,
963
+ onChange: (l) => ae(l.target.value),
964
+ onBlur: () => {
965
+ const l = le.split(",").map(($) => $.trim()).filter(Boolean);
966
+ o("excludeAccountRecordTypes", l), ae(l.join(", "));
967
+ }
968
+ }
969
+ )
970
+ ] }) })
971
+ ] }),
972
+ S.schedulingType === xe.ROUND_ROBIN ? /* @__PURE__ */ s(F, { children: [
973
+ /* @__PURE__ */ s(i.SubSection, { children: [
974
+ /* @__PURE__ */ e(
975
+ i.SubSectionHeader,
976
+ {
977
+ icon: "users",
978
+ title: n("salesforce_book_directly_with_attendee_owner"),
979
+ labelFor: "book-directly-with-attendee-owner",
980
+ children: /* @__PURE__ */ e(
981
+ z,
982
+ {
983
+ size: "sm",
984
+ id: "book-directly-witha-attendee-owner",
985
+ checked: T,
986
+ onCheckedChange: (l) => {
987
+ o("roundRobinLeadSkip", l), l && o("enabled", l);
988
+ }
989
+ }
990
+ )
991
+ }
992
+ ),
993
+ T ? /* @__PURE__ */ e(i.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ s("div", { children: [
994
+ /* @__PURE__ */ e(
995
+ oe,
996
+ {
997
+ htmlFor: "round-robin-skip-check-record-on",
998
+ className: "text-subtle text-sm font-medium",
999
+ children: n("salesforce_check_owner_of")
1000
+ }
1001
+ ),
1002
+ /* @__PURE__ */ e(
1003
+ C,
1004
+ {
1005
+ size: "sm",
1006
+ className: "w-60",
1007
+ options: h,
1008
+ value: ue,
1009
+ onChange: (l) => {
1010
+ l && (_e(l), o("roundRobinSkipCheckRecordOn", l.value));
1011
+ }
1012
+ }
1013
+ )
1014
+ ] }) }) : null
1015
+ ] }),
1016
+ /* @__PURE__ */ e(F, { children: T ? /* @__PURE__ */ s(F, { children: [
1017
+ ue.value === w.CONTACT ? /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
1018
+ i.SubSectionHeader,
1019
+ {
1020
+ icon: "users",
1021
+ title: n("salesforce_round_robin_skip_fallback_to_lead_owner"),
1022
+ labelFor: "round-robin-skip-fallback-to-lead-owner",
1023
+ children: /* @__PURE__ */ e(
1024
+ z,
1025
+ {
1026
+ id: "round-robin-skip-fallback-to-lead-owner",
1027
+ size: "sm",
1028
+ checked: K,
1029
+ onCheckedChange: (l) => {
1030
+ o("roundRobinSkipFallbackToLeadOwner", l);
1031
+ }
1032
+ }
1033
+ )
1034
+ }
1035
+ ) }) : null,
1036
+ /* @__PURE__ */ s(i.SubSection, { children: [
1037
+ /* @__PURE__ */ e(
1038
+ i.SubSectionHeader,
1039
+ {
1040
+ icon: "users",
1041
+ title: n("salesforce_if_free_email_domain_skip_owner_check"),
1042
+ labelFor: "if-free-email-domain-skip-owner-check",
1043
+ children: /* @__PURE__ */ e(
1044
+ z,
1045
+ {
1046
+ id: "if-free-email-domain-skip-owner-check",
1047
+ size: "sm",
1048
+ checked: H,
1049
+ onCheckedChange: (l) => {
1050
+ o("ifFreeEmailDomainSkipOwnerCheck", l);
1051
+ }
1052
+ }
1053
+ )
1054
+ }
1055
+ ),
1056
+ /* @__PURE__ */ e(J, { severity: "info", title: n("skip_rr_description") })
1057
+ ] }),
1058
+ /* @__PURE__ */ e(
1059
+ Re,
1060
+ {
1061
+ fieldRules: Y,
1062
+ updateFieldRules: (l) => o("rrSkipFieldRules", l)
1063
+ }
1064
+ )
1065
+ ] }) : null })
1066
+ ] }) : null,
1067
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
1068
+ te,
1069
+ {
1070
+ bookingAction: q.ON_CANCEL,
1071
+ optionLabel: n("salesforce_on_cancel_write_to_event"),
1072
+ optionEnabled: V,
1073
+ writeToObjectData: X,
1074
+ optionSwitchOnChange: (l) => {
1075
+ o("onCancelWriteToEventRecord", l);
1076
+ },
1077
+ updateWriteToObjectData: (l) => o("onCancelWriteToEventRecordFields", l)
1078
+ }
1079
+ ) }),
1080
+ /* @__PURE__ */ e(i.SubSection, { children: /* @__PURE__ */ e(
1081
+ te,
1082
+ {
1083
+ bookingAction: q.ON_CANCEL,
1084
+ optionLabel: n("salesforce_on_cancel_write_to_record", { record: p }),
1085
+ optionEnabled: v,
1086
+ writeToObjectData: W,
1087
+ optionSwitchOnChange: (l) => {
1088
+ o("onCancelWriteToRecord", l);
1089
+ },
1090
+ updateWriteToObjectData: (l) => o("onCancelWriteToRecordFields", l)
1091
+ }
1092
+ ) }),
1093
+ /* @__PURE__ */ s(i.SubSection, { children: [
1094
+ /* @__PURE__ */ e(
1095
+ i.SubSectionHeader,
1096
+ {
1097
+ icon: "calendar",
1098
+ title: "Send no show attendee data to event object",
1099
+ labelFor: "send-no-show-attendee-data",
1100
+ children: /* @__PURE__ */ e(
1101
+ z,
1102
+ {
1103
+ id: "send-no-show-attendee-data",
1104
+ size: "sm",
1105
+ checked: U,
1106
+ onCheckedChange: (l) => {
1107
+ o("sendNoShowAttendeeData", l);
1108
+ }
1109
+ }
1110
+ )
1111
+ }
1112
+ ),
1113
+ U ? /* @__PURE__ */ s(i.SubSectionContent, { classNames: { container: "p-3" }, children: [
1114
+ /* @__PURE__ */ e(
1115
+ oe,
1116
+ {
1117
+ htmlFor: "send-no-show-attendee-data-field-name",
1118
+ className: "text-subtle text-sm font-medium",
1119
+ children: "Field name to check (must be checkbox data type)"
1120
+ }
1121
+ ),
1122
+ /* @__PURE__ */ e(
1123
+ O,
1124
+ {
1125
+ id: "send-no-show-attendee-data-field-name",
1126
+ size: "sm",
1127
+ value: y,
1128
+ onChange: (l) => o("sendNoShowAttendeeDataField", l.target.value)
1129
+ }
1130
+ )
1131
+ ] }) : null
1132
+ ] })
1133
+ ] })
1134
+ }
1135
+ );
1136
+ };
1137
+ export {
1138
+ Le as default
1139
+ };