@calcom/atoms 1.0.98 → 1.0.100

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 (271) hide show
  1. package/dist/{AddressInput-IC5bCyoy.js → AddressInput-VvdGgcFY.js} +1 -1
  2. package/dist/{AlbyPriceComponent-RbsIVvlh.js → AlbyPriceComponent-qwBpyj1u.js} +10 -10
  3. package/dist/{AppCard-FF41DY1a.js → AppCard-IYwXZB0q.js} +11 -11
  4. package/dist/{AppListCardPlatformWrapper-qAgUYfWp.js → AppListCardPlatformWrapper-pjMdLapD.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-FacP6t6u.js → AppListCardWebWrapper-rJLH8pLc.js} +18 -18
  6. package/dist/{AppSettingsInterface-X8HiYPXB.js → AppSettingsInterface-TZgHhVIG.js} +4 -4
  7. package/dist/{AppSettingsInterface-5aVK9oxc.js → AppSettingsInterface-XSfKeLus.js} +1 -1
  8. package/dist/{AppSettingsInterface-cgBxDPwm.js → AppSettingsInterface-aWE1OufI.js} +1 -1
  9. package/dist/{DateRangePicker-tS970hSY.js → DateRangePicker-Dz4TzJmd.js} +389 -372
  10. package/dist/{EventTypeAppCardInterface-ZMkMx3UO.js → EventTypeAppCardInterface-0Uf1T3ux.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-jbPxMcQe.js → EventTypeAppCardInterface-0XhzgCDg.js} +10 -10
  12. package/dist/{EventTypeAppCardInterface-arvxbglS.js → EventTypeAppCardInterface-1Bx9eMoL.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-XN7zHp-t.js → EventTypeAppCardInterface-1ztuB1hs.js} +8 -8
  14. package/dist/{EventTypeAppCardInterface-OxpGqa5x.js → EventTypeAppCardInterface-5dEv3OKA.js} +207 -167
  15. package/dist/{EventTypeAppCardInterface-PH8OfCXX.js → EventTypeAppCardInterface-BvImub0B.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-3rUyu9zT.js → EventTypeAppCardInterface-CNUqWmI2.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-nh4Bw0XN.js → EventTypeAppCardInterface-F9JXRTyf.js} +27 -27
  18. package/dist/{EventTypeAppCardInterface-a_b-apjm.js → EventTypeAppCardInterface-Gmbb6Gvh.js} +8 -8
  19. package/dist/{EventTypeAppCardInterface-DUuqWQYh.js → EventTypeAppCardInterface-QBKgH_Ff.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-1Rjwvfkf.js → EventTypeAppCardInterface-UT_z5U7K.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-lxH6VsWo.js → EventTypeAppCardInterface-WNKjUBra.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-aZlmShf_.js → EventTypeAppCardInterface-Y4mQsFNS.js} +3 -3
  23. package/dist/{EventTypeAppCardInterface-vr_kZwo4.js → EventTypeAppCardInterface-c5Lw9vSU.js} +15 -15
  24. package/dist/{EventTypeAppCardInterface-13tt-HVm.js → EventTypeAppCardInterface-dh6jC1kN.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-rnq5hibD.js → EventTypeAppCardInterface-dickhpVC.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-WjzwonkP.js → EventTypeAppCardInterface-dlnTOnM2.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-vk4Emhb7.js → EventTypeAppCardInterface-fBFQbEI7.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-SCUf-dWb.js → EventTypeAppCardInterface-fxKGCkHe.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-4uF6y_wC.js → EventTypeAppCardInterface-gXs2V4Se.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-pBJf4bSH.js → EventTypeAppCardInterface-mHtz6mF4.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-dQDcGngh.js → EventTypeAppCardInterface-obJvlSlU.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-BK11_uAd.js → EventTypeAppCardInterface-tJFzj8Ah.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-iL6lzKeX.js → EventTypeAppCardInterface-uXK8QTdD.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-NE-0Qnr2.js → EventTypeAppCardInterface-y1aVej25.js} +3 -3
  35. package/dist/EventTypeAppCardInterface-y3kh9WVm.js +24 -0
  36. package/dist/{EventTypeAppSettingsInterface-X2-1vNz-.js → EventTypeAppSettingsInterface-6il0n6Cq.js} +6 -6
  37. package/dist/{EventTypeAppSettingsInterface-0IuJod38.js → EventTypeAppSettingsInterface-8PKo71W5.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-e4Md8clU.js → EventTypeAppSettingsInterface-AkBUmJ5l.js} +5 -5
  39. package/dist/{EventTypeAppSettingsInterface-vpVd_4XZ.js → EventTypeAppSettingsInterface-LZtyw2oV.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-pGANbCQo.js → EventTypeAppSettingsInterface-LzU69UgA.js} +5 -5
  41. package/dist/{EventTypeAppSettingsInterface-m9wri89q.js → EventTypeAppSettingsInterface-MuzTABXE.js} +8 -8
  42. package/dist/{EventTypeAppSettingsInterface-jwj_jmtd.js → EventTypeAppSettingsInterface-Q07jpG4C.js} +14 -14
  43. package/dist/{EventTypeAppSettingsInterface-29o016tq.js → EventTypeAppSettingsInterface-TbY0pgk8.js} +9 -9
  44. package/dist/{EventTypeAppSettingsInterface-hxj3Cm8J.js → EventTypeAppSettingsInterface-YqwIpsZk.js} +3 -3
  45. package/dist/{EventTypeAppSettingsInterface-zDnztP59.js → EventTypeAppSettingsInterface-dWVs0uNV.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-euX-AtKi.js → EventTypeAppSettingsInterface-fcDBa586.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-afqqqXjx.js → EventTypeAppSettingsInterface-lj3UxPsg.js} +1 -1
  48. package/dist/{InstallAppButton-8Okj1YKt.js → InstallAppButton-769wpv3L.js} +3 -3
  49. package/dist/{InstallAppButton-dU9hGCdN.js → InstallAppButton-TUQ7pKWK.js} +3 -3
  50. package/dist/{InstallAppButton-dy7BXSFA.js → InstallAppButton-jc8Moe67.js} +1 -1
  51. package/dist/{PhoneInput-nBgqJnp5.js → PhoneInput-FqfbsWsL.js} +77 -75
  52. package/dist/{StripePaymentForm-DOZXe-LC.js → StripePaymentForm-kZNZ2LFh.js} +18 -18
  53. package/dist/cal-atoms.js +18 -18
  54. package/dist/{framer-features-WaArUztg.js → framer-features-2CLxmdz8.js} +57 -57
  55. package/dist/index-0IEhbSFy.js +28 -0
  56. package/dist/{index-nDUrmoDr.js → index-5NHOyCIB.js} +1 -1
  57. package/dist/{index-f0-Ex6JM.js → index-Op-zWGFz.js} +15 -15
  58. package/dist/{index-XX0jWi_4.js → index-kaGA8-X2.js} +71101 -69856
  59. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts +3 -3
  60. package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/utils/event.d.ts +30 -2
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -0
  64. package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +2 -0
  67. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts +16 -2
  69. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +2 -3
  71. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +3 -0
  73. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +4 -3
  75. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +12 -3
  77. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  78. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +4 -5
  79. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  80. package/dist/packages/features/bookings/lib/handleNewBooking/test/complex-schedules.test.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/lib/handleNewBooking/test/date-overrides.test.d.ts.map +1 -1
  82. package/dist/packages/features/bookings/lib/handleNewBooking/test/dynamic-group-booking.test.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  84. package/dist/packages/features/bookings/lib/handleNewBooking/test/handleNewRecurringBooking.test.d.ts +2 -0
  85. package/dist/packages/features/bookings/lib/handleNewBooking/test/handleNewRecurringBooking.test.d.ts.map +1 -0
  86. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-scheduling.test.d.ts.map +1 -1
  87. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +14 -5
  88. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  89. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +10 -5
  90. package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
  91. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts +5 -2
  92. package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
  93. package/dist/packages/features/bookings/types.d.ts +1 -1
  94. package/dist/packages/features/bookings/types.d.ts.map +1 -1
  95. package/dist/packages/features/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
  96. package/dist/packages/features/data-table/DataTableProvider.d.ts +18 -164
  97. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  98. package/dist/packages/features/data-table/components/DataTable.d.ts +2 -2
  99. package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
  100. package/dist/packages/features/data-table/components/DataTablePagination.d.ts.map +1 -1
  101. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts +2 -2
  102. package/dist/packages/features/data-table/components/DataTableSelectionBar.d.ts.map +1 -1
  103. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts +5 -7
  104. package/dist/packages/features/data-table/components/DataTableToolbar.d.ts.map +1 -1
  105. package/dist/packages/features/data-table/components/filters/AddFilterButton.d.ts.map +1 -1
  106. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts +1 -1
  107. package/dist/packages/features/data-table/components/filters/ColumnVisibilityButton.d.ts.map +1 -1
  108. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts +7 -0
  109. package/dist/packages/features/data-table/components/filters/FilterBar.d.ts.map +1 -0
  110. package/dist/packages/features/data-table/components/filters/TextFilterOptions.d.ts.map +1 -1
  111. package/dist/packages/features/data-table/components/filters/index.d.ts +2 -0
  112. package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
  113. package/dist/packages/features/data-table/components/index.d.ts +1 -0
  114. package/dist/packages/features/data-table/components/index.d.ts.map +1 -1
  115. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts +6 -0
  116. package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -0
  117. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts +6 -0
  118. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts.map +1 -0
  119. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts +2 -0
  120. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -0
  121. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts +6 -0
  122. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts.map +1 -0
  123. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts +2 -0
  124. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -0
  125. package/dist/packages/features/data-table/components/segment/index.d.ts +7 -0
  126. package/dist/packages/features/data-table/components/segment/index.d.ts.map +1 -0
  127. package/dist/packages/features/data-table/lib/resizing.d.ts +1 -2
  128. package/dist/packages/features/data-table/lib/resizing.d.ts.map +1 -1
  129. package/dist/packages/features/data-table/lib/segments.d.ts +27 -0
  130. package/dist/packages/features/data-table/lib/segments.d.ts.map +1 -0
  131. package/dist/packages/features/data-table/lib/types.d.ts +357 -0
  132. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  133. package/dist/packages/features/ee/billing/billing-service.d.ts +22 -0
  134. package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
  135. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +5 -0
  136. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  137. package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -1
  138. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  139. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  140. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  141. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  142. package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
  143. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +6 -0
  144. package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts.map +1 -1
  145. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts +6 -0
  146. package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts.map +1 -0
  147. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts +1 -0
  148. package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
  149. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +1 -0
  150. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  151. package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
  152. package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
  153. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +1 -0
  154. package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
  155. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts +1 -0
  156. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
  157. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +16 -1
  158. package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
  159. package/dist/packages/features/ee/workflows/lib/reminders/templates/plainTextTemplates.d.ts +17 -0
  160. package/dist/packages/features/ee/workflows/lib/reminders/templates/plainTextTemplates.d.ts.map +1 -0
  161. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts +1 -0
  162. package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts.map +1 -1
  163. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts +4 -4
  164. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/index.d.ts.map +1 -1
  165. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts +1 -0
  166. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts.map +1 -1
  167. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts +1 -0
  168. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts.map +1 -1
  169. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts +1 -0
  170. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts.map +1 -1
  171. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts +1 -0
  172. package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts.map +1 -1
  173. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  174. package/dist/packages/features/ee/workflows/lib/test/compareReminderBodyToTemplate.test.d.ts +2 -0
  175. package/dist/packages/features/ee/workflows/lib/test/compareReminderBodyToTemplate.test.d.ts.map +1 -0
  176. package/dist/packages/features/ee/workflows/lib/types.d.ts +1 -0
  177. package/dist/packages/features/ee/workflows/lib/types.d.ts.map +1 -1
  178. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  179. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts +1 -1
  180. package/dist/packages/features/eventtypes/components/CreateEventTypeDialog.d.ts.map +1 -1
  181. package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -1
  182. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  183. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +29 -2
  184. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  185. package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
  186. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  187. package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
  188. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts +2 -1
  189. package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
  190. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -1
  191. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
  192. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts +1 -1
  193. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts.map +1 -1
  194. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts +59 -1
  195. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
  196. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +6 -4
  197. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
  198. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts +2 -1
  199. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts.map +1 -1
  200. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts +1 -1
  201. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts.map +1 -1
  202. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts +2 -1
  203. package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts.map +1 -1
  204. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +8 -0
  205. package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
  206. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +7 -1
  207. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  208. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +4 -3
  209. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  210. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
  211. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  212. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts +2 -2
  213. package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts.map +1 -1
  214. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts +2 -2
  215. package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts.map +1 -1
  216. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -0
  217. package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
  218. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -0
  219. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
  220. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +2 -0
  221. package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
  222. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +2 -0
  223. package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
  224. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +29 -2
  225. package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
  226. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +2 -4
  227. package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
  228. package/dist/packages/platform/constants/api.d.ts +1 -0
  229. package/dist/packages/platform/constants/api.d.ts.map +1 -1
  230. package/dist/packages/platform/libraries/event-types.d.ts +3 -4
  231. package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
  232. package/dist/packages/platform/libraries/index.d.ts +2 -1
  233. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  234. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +4 -1
  235. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  236. package/dist/packages/platform/types/bookings/2024-08-13/inputs/get-bookings.input.d.ts.map +1 -1
  237. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +1 -0
  238. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  239. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -1
  240. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  241. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/seats.input.d.ts.map +1 -1
  242. package/dist/packages/prisma/zod/custom/eventtype.d.ts +20 -0
  243. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  244. package/dist/packages/prisma/zod/eventtype.d.ts +22 -0
  245. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  246. package/dist/packages/prisma/zod/filtersegment.d.ts +64 -0
  247. package/dist/packages/prisma/zod/filtersegment.d.ts.map +1 -0
  248. package/dist/packages/prisma/zod/index.d.ts +1 -0
  249. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  250. package/dist/packages/prisma/zod/team.d.ts +28 -1
  251. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  252. package/dist/packages/prisma/zod/user.d.ts +2 -1
  253. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  254. package/dist/packages/prisma/zod/workflowstep.d.ts +3 -0
  255. package/dist/packages/prisma/zod/workflowstep.d.ts.map +1 -1
  256. package/dist/packages/prisma/zod-utils.d.ts +106 -23
  257. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  258. package/dist/packages/prisma-client/index.d.ts +3462 -278
  259. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +8 -0
  260. package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
  261. package/dist/packages/trpc/react/shared.d.ts +1 -1
  262. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  263. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +10 -1
  264. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  265. package/dist/{useIsAppEnabled-QIw4ydUi.js → useIsAppEnabled-Z2j-XkyQ.js} +1 -1
  266. package/globals.min.css +1 -22
  267. package/package.json +1 -1
  268. package/dist/EventTypeAppCardInterface-p9huPol5.js +0 -24
  269. package/dist/index-Q1IEXczf.js +0 -28
  270. package/dist/index-iCQToj2C.js +0 -13
  271. package/dist/isSupportedCountry-aHJbkpx4.js +0 -7
@@ -1,180 +1,186 @@
1
- import { jsx as n, jsxs as l, Fragment as S } from "react/jsx-runtime";
2
- import { G as ce, J as de, _ as c, y as re, $ as v, a0 as _, a1 as U, W as se, S as m, w as d, I as h, z as f, a2 as M, a3 as he, N as ue } from "./index-XX0jWi_4.js";
3
- import { useState as g } from "react";
4
- import { A as ve } from "./AppCard-FF41DY1a.js";
5
- import { u as me } from "./useIsAppEnabled-QIw4ydUi.js";
6
- const ke = function({ app: W, eventType: R }) {
7
- var P;
8
- const G = ce.usePathname(), { getAppData: o, setAppData: t, disabled: pe } = de(), { enabled: K, updateEnabled: V } = me(W), D = o("roundRobinLeadSkip"), Y = o("roundRobinSkipCheckRecordOn") ?? c.CONTACT, z = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, $ = o("skipContactCreation"), H = o("createLeadIfAccountNull"), J = o("createNewContactUnderAccount"), F = o("createEventOn") ?? c.CONTACT, B = o("onBookingWriteToEventObject") ?? !1, p = o("onBookingWriteToEventObjectMap") ?? {}, X = o("createEventOnLeadCheckForContact") ?? !1, L = o("onBookingChangeRecordOwner") ?? !1, q = o("onBookingChangeRecordOwnerName") ?? [], y = o("sendNoShowAttendeeData") ?? !1, Q = o("sendNoShowAttendeeDataField") ?? "", j = o("onBookingWriteToRecord") ?? !1, r = o("onBookingWriteToRecordFields") ?? {}, Z = o("ignoreGuests") ?? !1, { t: a } = re(), k = [
9
- { label: a("contact"), value: c.CONTACT },
10
- { label: a("salesforce_lead"), value: c.LEAD },
11
- { label: a("salesforce_contact_under_account"), value: c.ACCOUNT }
12
- ], [b, ee] = g(
13
- k.find((e) => e.value === F) ?? k[0]
14
- ), T = [
15
- { label: a("text"), value: v.TEXT },
16
- { label: a("date"), value: v.DATE },
17
- { label: a("phone").charAt(0).toUpperCase() + a("phone").slice(1), value: v.PHONE },
18
- { label: a("custom"), value: v.CUSTOM },
19
- { label: a("picklist"), value: v.PICKLIST }
20
- ], [O, ne] = g(T[0]), N = [
21
- { label: a("on_every_booking"), value: _.EVERY_BOOKING },
22
- { label: a("only_if_field_is_empty"), value: _.FIELD_EMPTY }
23
- ], [ae, le] = g(N[0]), w = [
24
- { label: a("booking_start_date"), value: U.BOOKING_START_DATE },
25
- { label: a("booking_created_date"), value: U.BOOKING_CREATED_DATE }
26
- ], [I, te] = g(w[0]), [i, C] = g({
1
+ import { jsx as n, jsxs as l, Fragment as F } from "react/jsx-runtime";
2
+ import { s as ue, t as he, N as d, q as ve, O as r, Q as O, R as V, W as me, S as v, p as s, I as m, r as _, U as G, V as be, x as ge } from "./index-kaGA8-X2.js";
3
+ import { useState as b } from "react";
4
+ import { A as Ce } from "./AppCard-IYwXZB0q.js";
5
+ import { u as pe } from "./useIsAppEnabled-Z2j-XkyQ.js";
6
+ const Ee = function({ app: R, eventType: W }) {
7
+ var K;
8
+ const H = ue.usePathname(), { getAppData: t, setAppData: o, disabled: ke } = he(), { enabled: X, updateEnabled: Y } = pe(R), B = t("roundRobinLeadSkip"), z = t("roundRobinSkipCheckRecordOn") ?? d.CONTACT, $ = t("ifFreeEmailDomainSkipOwnerCheck") ?? !1, q = t("skipContactCreation"), Q = t("createLeadIfAccountNull"), J = t("createNewContactUnderAccount"), D = t("createEventOn") ?? d.CONTACT, L = t("onBookingWriteToEventObject") ?? !1, C = t("onBookingWriteToEventObjectMap") ?? {}, Z = t("createEventOnLeadCheckForContact") ?? !1, y = t("onBookingChangeRecordOwner") ?? !1, ee = t("onBookingChangeRecordOwnerName") ?? [], j = t("sendNoShowAttendeeData") ?? !1, ne = t("sendNoShowAttendeeDataField") ?? "", x = t("onBookingWriteToRecord") ?? !1, c = t("onBookingWriteToRecordFields") ?? {}, ae = t("ignoreGuests") ?? !1, le = t("roundRobinSkipFallbackToLeadOwner") ?? !1, { t: a } = ve(), T = [
9
+ { label: a("contact"), value: d.CONTACT },
10
+ { label: a("salesforce_lead"), value: d.LEAD },
11
+ { label: a("salesforce_contact_under_account"), value: d.ACCOUNT }
12
+ ], [k, oe] = b(
13
+ T.find((e) => e.value === D) ?? T[0]
14
+ ), N = [
15
+ { label: a("text"), value: r.TEXT },
16
+ { label: a("date"), value: r.DATE },
17
+ { label: a("phone").charAt(0).toUpperCase() + a("phone").slice(1), value: r.PHONE },
18
+ { label: a("checkbox"), value: r.CHECKBOX },
19
+ { label: a("picklist"), value: r.PICKLIST },
20
+ { label: a("custom"), value: r.CUSTOM }
21
+ ], [p, te] = b(N[0]), f = [
22
+ { label: a("on_every_booking"), value: O.EVERY_BOOKING },
23
+ { label: a("only_if_field_is_empty"), value: O.FIELD_EMPTY }
24
+ ], [ie, ce] = b(
25
+ f.find((e) => e.value === O.FIELD_EMPTY) ?? f[0]
26
+ ), w = [
27
+ { label: a("booking_start_date"), value: V.BOOKING_START_DATE },
28
+ { label: a("booking_created_date"), value: V.BOOKING_CREATED_DATE }
29
+ ], E = [
30
+ { label: a("true"), value: !0 },
31
+ { label: a("false"), value: !1 }
32
+ ], [I, de] = b(w[0]), [P, re] = b(E[0]), [i, g] = b({
27
33
  field: "",
28
- fieldType: O.value,
34
+ fieldType: p.value,
29
35
  value: "",
30
- whenToWrite: _.FIELD_EMPTY
31
- }), E = [
32
- { label: a("contact"), value: c.CONTACT },
33
- { label: a("salesforce_lead"), value: c.LEAD },
34
- { label: a("account"), value: c.ACCOUNT }
35
- ], [oe, ie] = g(
36
- E.find((e) => e.value === Y) ?? E[0]
37
- ), [s, A] = g({
36
+ whenToWrite: O.FIELD_EMPTY
37
+ }), A = [
38
+ { label: a("contact"), value: d.CONTACT },
39
+ { label: a("salesforce_lead"), value: d.LEAD },
40
+ { label: a("account"), value: d.ACCOUNT }
41
+ ], [U, se] = b(
42
+ A.find((e) => e.value === z) ?? A[0]
43
+ ), [h, S] = b({
38
44
  field: "",
39
45
  value: ""
40
- }), x = () => /* @__PURE__ */ n(
41
- d,
46
+ }), M = () => /* @__PURE__ */ n(
47
+ s,
42
48
  {
43
49
  label: a("salesforce_create_new_contact_under_account"),
44
50
  labelOnLeading: !0,
45
51
  checked: J,
46
52
  onCheckedChange: (e) => {
47
- t("createNewContactUnderAccount", e);
53
+ o("createNewContactUnderAccount", e);
48
54
  }
49
55
  }
50
56
  );
51
57
  return /* @__PURE__ */ n(
52
- ve,
58
+ Ce,
53
59
  {
54
- returnTo: `${se}${G}?tabName=apps`,
55
- app: W,
56
- teamId: ((P = R.team) == null ? void 0 : P.id) || void 0,
60
+ returnTo: `${me}${H}?tabName=apps`,
61
+ app: R,
62
+ teamId: ((K = W.team) == null ? void 0 : K.id) || void 0,
57
63
  switchOnClick: (e) => {
58
- V(e);
64
+ Y(e);
59
65
  },
60
- switchChecked: K,
66
+ switchChecked: X,
61
67
  hideSettingsIcon: !0,
62
- children: /* @__PURE__ */ l(S, { children: [
68
+ children: /* @__PURE__ */ l(F, { children: [
63
69
  /* @__PURE__ */ l("div", { className: "mb-4 ml-2", children: [
64
70
  /* @__PURE__ */ n("label", { className: "text-emphasis mb-2 align-text-top text-sm font-medium", children: a("salesforce_create_record_as") }),
65
71
  /* @__PURE__ */ n(
66
- m,
72
+ v,
67
73
  {
68
74
  className: "mt-2 w-60",
69
- options: k,
70
- value: b,
75
+ options: T,
76
+ value: k,
71
77
  onChange: (e) => {
72
- e && (ee(e), t("createEventOn", e.value));
78
+ e && (oe(e), o("createEventOn", e.value));
73
79
  }
74
80
  }
75
81
  )
76
82
  ] }),
77
83
  /* @__PURE__ */ n("div", { className: "mb-4", children: /* @__PURE__ */ n(
78
- d,
84
+ s,
79
85
  {
80
86
  label: a("salesforce_ignore_guests"),
81
87
  labelOnLeading: !0,
82
- checked: Z,
88
+ checked: ae,
83
89
  onCheckedChange: (e) => {
84
- t("ignoreGuests", e);
90
+ o("ignoreGuests", e);
85
91
  }
86
92
  }
87
93
  ) }),
88
- b.value === c.CONTACT ? /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
89
- d,
94
+ k.value === d.CONTACT ? /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
95
+ s,
90
96
  {
91
97
  label: a("skip_contact_creation", { appName: "Salesforce" }),
92
98
  labelOnLeading: !0,
93
- checked: $,
99
+ checked: q,
94
100
  onCheckedChange: (e) => {
95
- t("skipContactCreation", e);
101
+ o("skipContactCreation", e);
96
102
  }
97
103
  }
98
104
  ) }) : null,
99
- b.value === c.LEAD ? /* @__PURE__ */ l("div", { children: [
105
+ k.value === d.LEAD ? /* @__PURE__ */ l("div", { children: [
100
106
  /* @__PURE__ */ n(
101
- d,
107
+ s,
102
108
  {
103
109
  label: a("salesforce_create_event_on_contact"),
104
110
  labelOnLeading: !0,
105
- checked: X,
111
+ checked: Z,
106
112
  onCheckedChange: (e) => {
107
- t("createEventOnLeadCheckForContact", e);
113
+ o("createEventOnLeadCheckForContact", e);
108
114
  }
109
115
  }
110
116
  ),
111
- /* @__PURE__ */ n("div", { className: "mt-4", children: /* @__PURE__ */ n(x, {}) })
117
+ /* @__PURE__ */ n("div", { className: "mt-4", children: /* @__PURE__ */ n(M, {}) })
112
118
  ] }) : null,
113
- b.value === c.ACCOUNT ? /* @__PURE__ */ l(S, { children: [
114
- /* @__PURE__ */ n("div", { className: "mb-4", children: /* @__PURE__ */ n(x, {}) }),
119
+ k.value === d.ACCOUNT ? /* @__PURE__ */ l(F, { children: [
120
+ /* @__PURE__ */ n("div", { className: "mb-4", children: /* @__PURE__ */ n(M, {}) }),
115
121
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
116
- d,
122
+ s,
117
123
  {
118
124
  label: a("salesforce_if_account_does_not_exist"),
119
125
  labelOnLeading: !0,
120
- checked: H,
126
+ checked: Q,
121
127
  onCheckedChange: (e) => {
122
- t("createLeadIfAccountNull", e);
128
+ o("createLeadIfAccountNull", e);
123
129
  }
124
130
  }
125
131
  ) })
126
132
  ] }) : null,
127
133
  /* @__PURE__ */ l("div", { className: "mt-4", children: [
128
134
  /* @__PURE__ */ n(
129
- d,
135
+ s,
130
136
  {
131
137
  label: a("on_booking_write_to_event_object"),
132
138
  labelOnLeading: !0,
133
- checked: B,
139
+ checked: L,
134
140
  onCheckedChange: (e) => {
135
- t("onBookingWriteToEventObject", e);
141
+ o("onBookingWriteToEventObject", e);
136
142
  }
137
143
  }
138
144
  ),
139
- B ? /* @__PURE__ */ l("div", { className: "ml-2 mt-2", children: [
145
+ L ? /* @__PURE__ */ l("div", { className: "ml-2 mt-2", children: [
140
146
  /* @__PURE__ */ l("div", { className: "grid grid-cols-3 gap-4", children: [
141
147
  /* @__PURE__ */ n("div", { children: a("field_name") }),
142
148
  /* @__PURE__ */ n("div", { children: a("value") })
143
149
  ] }),
144
150
  /* @__PURE__ */ l("div", { children: [
145
- Object.keys(p).map((e) => /* @__PURE__ */ l("div", { className: "mt-2 grid grid-cols-3 gap-4", children: [
146
- /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(h, { value: e, readOnly: !0 }) }),
147
- /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(h, { value: p[e], readOnly: !0 }) }),
151
+ Object.keys(C).map((e) => /* @__PURE__ */ l("div", { className: "mt-2 grid grid-cols-3 gap-4", children: [
152
+ /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(m, { value: e, readOnly: !0 }) }),
153
+ /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(m, { value: C[e], readOnly: !0 }) }),
148
154
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
149
- f,
155
+ _,
150
156
  {
151
157
  StartIcon: "trash",
152
158
  variant: "icon",
153
159
  color: "destructive",
154
160
  onClick: () => {
155
- const u = p;
156
- delete p[e], t("onBookingWriteToEventObjectMap", u);
161
+ const u = C;
162
+ delete C[e], o("onBookingWriteToEventObjectMap", u);
157
163
  }
158
164
  }
159
165
  ) })
160
166
  ] }, e)),
161
167
  /* @__PURE__ */ l("div", { className: "mt-2 grid grid-cols-3 gap-4", children: [
162
168
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
163
- h,
169
+ m,
164
170
  {
165
- value: s.field,
166
- onChange: (e) => A({
167
- ...s,
171
+ value: h.field,
172
+ onChange: (e) => S({
173
+ ...h,
168
174
  field: e.target.value
169
175
  })
170
176
  }
171
177
  ) }),
172
178
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
173
- h,
179
+ m,
174
180
  {
175
- value: s.value,
176
- onChange: (e) => A({
177
- ...s,
181
+ value: h.value,
182
+ onChange: (e) => S({
183
+ ...h,
178
184
  value: e.target.value
179
185
  })
180
186
  }
@@ -182,22 +188,22 @@ const ke = function({ app: W, eventType: R }) {
182
188
  ] })
183
189
  ] }),
184
190
  /* @__PURE__ */ n(
185
- f,
191
+ _,
186
192
  {
187
193
  className: "mt-2",
188
194
  size: "sm",
189
- disabled: !(s.field && s.value),
195
+ disabled: !(h.field && h.value),
190
196
  onClick: () => {
191
- if (Object.keys(p).includes(
192
- s.field.trim()
197
+ if (Object.keys(C).includes(
198
+ h.field.trim()
193
199
  )) {
194
- M("Field already exists", "error");
200
+ G("Field already exists", "error");
195
201
  return;
196
202
  }
197
- t("onBookingWriteToEventObjectMap", {
198
- ...p,
199
- [s.field.trim()]: s.value.trim()
200
- }), A({ field: "", value: "" });
203
+ o("onBookingWriteToEventObjectMap", {
204
+ ...C,
205
+ [h.field.trim()]: h.value.trim()
206
+ }), S({ field: "", value: "" });
201
207
  },
202
208
  children: a("add_new_field")
203
209
  }
@@ -206,17 +212,17 @@ const ke = function({ app: W, eventType: R }) {
206
212
  ] }),
207
213
  /* @__PURE__ */ l("div", { className: "mt-4", children: [
208
214
  /* @__PURE__ */ n(
209
- d,
215
+ s,
210
216
  {
211
- label: a("salesforce_on_booking_write_to_record", { record: F }),
217
+ label: a("salesforce_on_booking_write_to_record", { record: D }),
212
218
  labelOnLeading: !0,
213
- checked: j,
219
+ checked: x,
214
220
  onCheckedChange: (e) => {
215
- t("onBookingWriteToRecord", e);
221
+ o("onBookingWriteToRecord", e);
216
222
  }
217
223
  }
218
224
  ),
219
- j ? /* @__PURE__ */ l("div", { className: "ml-2 mt-2", children: [
225
+ x ? /* @__PURE__ */ l("div", { className: "ml-2 mt-2", children: [
220
226
  /* @__PURE__ */ l("div", { className: "grid grid-cols-5 gap-4", children: [
221
227
  /* @__PURE__ */ n("div", { children: a("field_name") }),
222
228
  /* @__PURE__ */ n("div", { children: a("field_type") }),
@@ -224,102 +230,125 @@ const ke = function({ app: W, eventType: R }) {
224
230
  /* @__PURE__ */ n("div", { children: a("when_to_write") })
225
231
  ] }),
226
232
  /* @__PURE__ */ l("div", { children: [
227
- Object.keys(r).map((e) => /* @__PURE__ */ l("div", { className: "mt-2 grid grid-cols-5 gap-4", children: [
228
- /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(h, { value: e, readOnly: !0 }) }),
233
+ Object.keys(c).map((e) => /* @__PURE__ */ l("div", { className: "mt-2 grid grid-cols-5 gap-4", children: [
234
+ /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(m, { value: e, readOnly: !0 }) }),
229
235
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
230
- m,
236
+ v,
231
237
  {
232
- value: T.find(
233
- (u) => u.value === r[e].fieldType
238
+ value: N.find(
239
+ (u) => u.value === c[e].fieldType
234
240
  ),
235
241
  isDisabled: !0
236
242
  }
237
243
  ) }),
238
- /* @__PURE__ */ n("div", { children: r[e].fieldType === v.DATE ? /* @__PURE__ */ n(
239
- m,
244
+ /* @__PURE__ */ n("div", { children: c[e].fieldType === r.DATE ? /* @__PURE__ */ n(
245
+ v,
240
246
  {
241
247
  value: w.find(
242
- (u) => u.value === r[e].value
248
+ (u) => u.value === c[e].value
249
+ ),
250
+ isDisabled: !0
251
+ }
252
+ ) : c[e].fieldType === r.CHECKBOX ? /* @__PURE__ */ n(
253
+ v,
254
+ {
255
+ value: E.find(
256
+ (u) => u.value === c[e].value
243
257
  ),
244
258
  isDisabled: !0
245
259
  }
246
- ) : /* @__PURE__ */ n(h, { value: r[e].value, readOnly: !0 }) }),
260
+ ) : /* @__PURE__ */ n(m, { value: c[e].value, readOnly: !0 }) }),
247
261
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
248
- m,
262
+ v,
249
263
  {
250
- value: N.find(
251
- (u) => u.value === r[e].whenToWrite
264
+ value: f.find(
265
+ (u) => u.value === c[e].whenToWrite
252
266
  ),
253
267
  isDisabled: !0
254
268
  }
255
269
  ) }),
256
270
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
257
- f,
271
+ _,
258
272
  {
259
273
  StartIcon: "trash",
260
274
  variant: "icon",
261
275
  color: "destructive",
262
276
  onClick: () => {
263
- const u = r;
264
- delete r[e], t("onBookingWriteToRecordFields", u);
277
+ const u = c;
278
+ delete c[e], o("onBookingWriteToRecordFields", u);
265
279
  }
266
280
  }
267
281
  ) })
268
282
  ] }, e)),
269
283
  /* @__PURE__ */ l("div", { className: "mt-2 grid grid-cols-5 gap-4", children: [
270
284
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
271
- h,
285
+ m,
272
286
  {
273
287
  value: i.field,
274
- onChange: (e) => C({
288
+ onChange: (e) => g({
275
289
  ...i,
276
290
  field: e.target.value
277
291
  })
278
292
  }
279
293
  ) }),
280
294
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
281
- m,
295
+ v,
282
296
  {
283
- options: T,
284
- value: O,
297
+ options: N,
298
+ value: p,
285
299
  onChange: (e) => {
286
- e && (ne(e), C({
300
+ e && (te(e), g({
287
301
  ...i,
288
302
  fieldType: e.value,
289
- ...e.value === v.DATE && { value: I.value }
303
+ ...e.value === r.DATE && { value: I.value },
304
+ ...e.value === r.CHECKBOX && {
305
+ value: P.value
306
+ }
290
307
  }));
291
308
  }
292
309
  }
293
310
  ) }),
294
- /* @__PURE__ */ n("div", { children: O.value === v.DATE ? /* @__PURE__ */ n(
295
- m,
311
+ /* @__PURE__ */ n("div", { children: p.value === r.DATE ? /* @__PURE__ */ n(
312
+ v,
296
313
  {
297
314
  options: w,
298
315
  value: I,
299
316
  onChange: (e) => {
300
- e && (te(e), C({
317
+ e && (de(e), g({
318
+ ...i,
319
+ value: e.value
320
+ }));
321
+ }
322
+ }
323
+ ) : p.value === r.CHECKBOX ? /* @__PURE__ */ n(
324
+ v,
325
+ {
326
+ options: E,
327
+ value: P,
328
+ onChange: (e) => {
329
+ e && (re(e), g({
301
330
  ...i,
302
331
  value: e.value
303
332
  }));
304
333
  }
305
334
  }
306
335
  ) : /* @__PURE__ */ n(
307
- h,
336
+ m,
308
337
  {
309
338
  value: i.value,
310
- onChange: (e) => C({
339
+ onChange: (e) => g({
311
340
  ...i,
312
341
  value: e.target.value
313
342
  })
314
343
  }
315
344
  ) }),
316
345
  /* @__PURE__ */ n("div", { children: /* @__PURE__ */ n(
317
- m,
346
+ v,
318
347
  {
319
- options: N,
320
- value: ae,
348
+ options: f,
349
+ value: ie,
321
350
  onChange: (e) => {
322
- e && (le(e), C({
351
+ e && (ce(e), g({
323
352
  ...i,
324
353
  whenToWrite: e.value
325
354
  }));
@@ -329,30 +358,30 @@ const ke = function({ app: W, eventType: R }) {
329
358
  ] })
330
359
  ] }),
331
360
  /* @__PURE__ */ n(
332
- f,
361
+ _,
333
362
  {
334
363
  className: "mt-2",
335
364
  size: "sm",
336
- disabled: !(i.field && i.fieldType && i.value && i.whenToWrite),
365
+ disabled: !(i.field && i.fieldType && i.value !== "" && i.whenToWrite),
337
366
  onClick: () => {
338
- if (Object.keys(r).includes(
339
- s.field.trim()
367
+ if (Object.keys(c).includes(
368
+ h.field.trim()
340
369
  )) {
341
- M("Field already exists", "error");
370
+ G("Field already exists", "error");
342
371
  return;
343
372
  }
344
- t("onBookingWriteToRecordFields", {
345
- ...r,
373
+ o("onBookingWriteToRecordFields", {
374
+ ...c,
346
375
  [i.field.trim()]: {
347
376
  fieldType: i.fieldType,
348
377
  value: i.value,
349
378
  whenToWrite: i.whenToWrite
350
379
  }
351
- }), C({
380
+ }), g({
352
381
  field: "",
353
- fieldType: O.value,
382
+ fieldType: p.value,
354
383
  value: "",
355
- whenToWrite: _.FIELD_EMPTY
384
+ whenToWrite: O.FIELD_EMPTY
356
385
  });
357
386
  },
358
387
  children: a("add_new_field")
@@ -361,85 +390,96 @@ const ke = function({ app: W, eventType: R }) {
361
390
  ] }) : null
362
391
  ] }),
363
392
  /* @__PURE__ */ n("div", { className: "mt-4", children: /* @__PURE__ */ n(
364
- d,
393
+ s,
365
394
  {
366
395
  label: "Change record owner on booking",
367
396
  labelOnLeading: !0,
368
- checked: L,
397
+ checked: y,
369
398
  onCheckedChange: (e) => {
370
- t("onBookingChangeRecordOwner", e);
399
+ o("onBookingChangeRecordOwner", e);
371
400
  }
372
401
  }
373
402
  ) }),
374
- L ? /* @__PURE__ */ l("div", { className: "ml-2 mt-2", children: [
403
+ y ? /* @__PURE__ */ l("div", { className: "ml-2 mt-2", children: [
375
404
  /* @__PURE__ */ n("p", { className: "mb-2", children: a("salesforce_owner_name_to_change") }),
376
405
  /* @__PURE__ */ n(
377
- h,
406
+ m,
378
407
  {
379
- value: q,
380
- onChange: (e) => t("onBookingChangeRecordOwnerName", e.target.value)
408
+ value: ee,
409
+ onChange: (e) => o("onBookingChangeRecordOwnerName", e.target.value)
381
410
  }
382
411
  )
383
412
  ] }) : null,
384
- R.schedulingType === he.ROUND_ROBIN ? /* @__PURE__ */ l("div", { className: "mt-4", children: [
413
+ W.schedulingType === be.ROUND_ROBIN ? /* @__PURE__ */ l("div", { className: "mt-4", children: [
385
414
  /* @__PURE__ */ n(
386
- d,
415
+ s,
387
416
  {
388
417
  label: a("salesforce_book_directly_with_attendee_owner"),
389
418
  labelOnLeading: !0,
390
- checked: D,
419
+ checked: B,
391
420
  onCheckedChange: (e) => {
392
- t("roundRobinLeadSkip", e), e && t("enabled", e);
421
+ o("roundRobinLeadSkip", e), e && o("enabled", e);
393
422
  }
394
423
  }
395
424
  ),
396
- D ? /* @__PURE__ */ l(S, { children: [
425
+ B ? /* @__PURE__ */ l(F, { children: [
397
426
  /* @__PURE__ */ l("div", { className: "my-4 ml-2", children: [
398
427
  /* @__PURE__ */ n("label", { className: "text-emphasis mb-2 align-text-top text-sm font-medium", children: a("salesforce_check_owner_of") }),
399
428
  /* @__PURE__ */ n(
400
- m,
429
+ v,
401
430
  {
402
431
  className: "mt-2 w-60",
403
- options: E,
404
- value: oe,
432
+ options: A,
433
+ value: U,
405
434
  onChange: (e) => {
406
- e && (ie(e), t("roundRobinSkipCheckRecordOn", e.value));
435
+ e && (se(e), o("roundRobinSkipCheckRecordOn", e.value));
407
436
  }
408
437
  }
409
438
  )
410
439
  ] }),
440
+ U.value === d.CONTACT ? /* @__PURE__ */ n("div", { className: "my-4", children: /* @__PURE__ */ n(
441
+ s,
442
+ {
443
+ label: a("salesforce_round_robin_skip_fallback_to_lead_owner"),
444
+ labelOnLeading: !0,
445
+ checked: le,
446
+ onCheckedChange: (e) => {
447
+ o("roundRobinSkipFallbackToLeadOwner", e);
448
+ }
449
+ }
450
+ ) }) : null,
411
451
  /* @__PURE__ */ n("div", { className: "my-4", children: /* @__PURE__ */ n(
412
- d,
452
+ s,
413
453
  {
414
454
  label: a("salesforce_if_free_email_domain_skip_owner_check"),
415
455
  labelOnLeading: !0,
416
- checked: z,
456
+ checked: $,
417
457
  onCheckedChange: (e) => {
418
- t("ifFreeEmailDomainSkipOwnerCheck", e);
458
+ o("ifFreeEmailDomainSkipOwnerCheck", e);
419
459
  }
420
460
  }
421
461
  ) })
422
462
  ] }) : null,
423
- /* @__PURE__ */ n(ue, { className: "mt-2", severity: "neutral", title: a("skip_rr_description") })
463
+ /* @__PURE__ */ n(ge, { className: "mt-2", severity: "neutral", title: a("skip_rr_description") })
424
464
  ] }) : null,
425
465
  /* @__PURE__ */ l("div", { className: "ml-2 mt-4", children: [
426
466
  /* @__PURE__ */ n(
427
- d,
467
+ s,
428
468
  {
429
469
  label: "Send no show attendee data to event object",
430
- checked: y,
470
+ checked: j,
431
471
  onCheckedChange: (e) => {
432
- t("sendNoShowAttendeeData", e);
472
+ o("sendNoShowAttendeeData", e);
433
473
  }
434
474
  }
435
475
  ),
436
- y ? /* @__PURE__ */ l("div", { className: "mt-2", children: [
476
+ j ? /* @__PURE__ */ l("div", { className: "mt-2", children: [
437
477
  /* @__PURE__ */ n("p", { className: "mb-2", children: "Field name to check (must be checkbox data type)" }),
438
478
  /* @__PURE__ */ n(
439
- h,
479
+ m,
440
480
  {
441
- value: Q,
442
- onChange: (e) => t("sendNoShowAttendeeDataField", e.target.value)
481
+ value: ne,
482
+ onChange: (e) => o("sendNoShowAttendeeDataField", e.target.value)
443
483
  }
444
484
  )
445
485
  ] }) : null
@@ -449,5 +489,5 @@ const ke = function({ app: W, eventType: R }) {
449
489
  );
450
490
  };
451
491
  export {
452
- ke as default
492
+ Ee as default
453
493
  };