@calcom/atoms 1.2.0 → 1.3.0-booker

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 (215) hide show
  1. package/README.md +17 -1
  2. package/dist/{AddressInput-UbZjE-tI.js → AddressInput-WXZaR4AM.js} +3 -3
  3. package/dist/{AlbyPriceComponent-FDWNfR07.js → AlbyPriceComponent-HWQCTeD1.js} +19 -19
  4. package/dist/{PhoneInput-thLHoHkm.js → PhoneInput-6J6htPeB.js} +1 -1
  5. package/dist/cal-atoms.js +5 -36
  6. package/dist/index-7pq3HQ5u.js +1957 -0
  7. package/dist/index-SbGDY58y.js +83444 -0
  8. package/dist/{index-VHCLgyWQ.js → index-aGnAhRxt.js} +1 -1
  9. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  10. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +2 -1
  11. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  12. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +2 -1
  13. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  14. package/dist/packages/features/bookings/Booker/types.d.ts +3 -0
  15. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  16. package/dist/packages/features/bookings/Booker/utils/event.d.ts +4 -0
  17. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  18. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  19. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +6 -0
  20. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  21. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +8 -0
  22. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  23. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +6 -0
  24. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  25. package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
  26. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  27. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +3 -0
  28. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  29. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/round-robin.test.d.ts +2 -0
  30. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/round-robin.test.d.ts.map +1 -0
  31. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +1 -0
  32. package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
  33. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  34. package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
  35. package/dist/packages/features/ee/payments/pages/payment.d.ts +1 -0
  36. package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
  37. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  38. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  39. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +8 -0
  40. package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
  41. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts +2 -0
  42. package/dist/packages/features/ee/workflows/components/WorkflowListPage.d.ts.map +1 -1
  43. package/dist/packages/features/ee/workflows/lib/constants.d.ts +1 -1
  44. package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
  45. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
  46. package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
  47. package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
  48. package/dist/packages/features/ee/workflows/lib/schema.d.ts +5 -4
  49. package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
  50. package/dist/packages/features/ee/workflows/pages/index.d.ts.map +1 -1
  51. package/dist/packages/features/ee/workflows/pages/workflow.d.ts +1 -5
  52. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  53. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts +2 -1
  54. package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
  55. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts +5 -2
  56. package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
  57. package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
  58. package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
  59. package/dist/packages/features/eventtypes/components/EventType.d.ts +1 -0
  60. package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
  61. package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
  62. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts +2 -0
  63. package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +1 -1
  64. package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
  65. package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
  66. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +6 -0
  67. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  68. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +1 -0
  69. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  70. package/dist/packages/features/eventtypes/lib/types.d.ts +9 -1
  71. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  72. package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
  73. package/dist/packages/features/schedules/components/Schedule.d.ts +8 -1
  74. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  75. package/dist/packages/features/shell/Shell.d.ts.map +1 -1
  76. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +6 -0
  77. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  78. package/dist/packages/platform/atoms/availability/types.d.ts +12 -1
  79. package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
  80. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
  81. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  82. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  83. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  84. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  85. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -1
  86. package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
  87. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts +4 -1
  88. package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
  89. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts +11 -0
  90. package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
  91. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts +3 -1
  92. package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
  93. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +6 -0
  94. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  95. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +1 -0
  96. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
  97. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +6 -0
  98. package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
  99. package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
  100. package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
  101. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +4 -0
  102. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  103. package/dist/packages/platform/atoms/hooks/useMe.d.ts +1 -1
  104. package/dist/packages/platform/atoms/hooks/useMe.d.ts.map +1 -1
  105. package/dist/packages/platform/atoms/index.d.ts +0 -36
  106. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  107. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts +26 -1
  108. package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
  109. package/dist/packages/platform/libraries/private-links.d.ts +3 -0
  110. package/dist/packages/platform/libraries/private-links.d.ts.map +1 -0
  111. package/dist/packages/platform/libraries/schedules.d.ts +1 -0
  112. package/dist/packages/platform/libraries/schedules.d.ts.map +1 -1
  113. package/dist/packages/platform/libraries/slots.d.ts +6 -0
  114. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  115. package/dist/packages/platform/types/event-types/index.d.ts +2 -0
  116. package/dist/packages/platform/types/event-types/index.d.ts.map +1 -1
  117. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts +10 -0
  118. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts.map +1 -0
  119. package/dist/packages/platform/types/event-types/outputs/private-link.output.d.ts +35 -0
  120. package/dist/packages/platform/types/event-types/outputs/private-link.output.d.ts.map +1 -0
  121. package/dist/packages/platform/types/index.d.ts +1 -0
  122. package/dist/packages/platform/types/index.d.ts.map +1 -1
  123. package/dist/packages/prisma/zod/agent.d.ts +44 -0
  124. package/dist/packages/prisma/zod/agent.d.ts.map +1 -0
  125. package/dist/packages/prisma/zod/calaiphonenumber.d.ts +66 -0
  126. package/dist/packages/prisma/zod/calaiphonenumber.d.ts.map +1 -0
  127. package/dist/packages/prisma/zod/custom/eventtype.d.ts +10 -0
  128. package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
  129. package/dist/packages/prisma/zod/eventtype.d.ts +10 -1
  130. package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
  131. package/dist/packages/prisma/zod/host.d.ts +9 -1
  132. package/dist/packages/prisma/zod/host.d.ts.map +1 -1
  133. package/dist/packages/prisma/zod/hostgroup.d.ts +32 -0
  134. package/dist/packages/prisma/zod/hostgroup.d.ts.map +1 -0
  135. package/dist/packages/prisma/zod/index.d.ts +3 -0
  136. package/dist/packages/prisma/zod/index.d.ts.map +1 -1
  137. package/dist/packages/prisma/zod/membership.d.ts +2 -1
  138. package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
  139. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  140. package/dist/packages/prisma/zod/team.d.ts +3 -1
  141. package/dist/packages/prisma/zod/team.d.ts.map +1 -1
  142. package/dist/packages/prisma/zod/user.d.ts +3 -1
  143. package/dist/packages/prisma/zod/user.d.ts.map +1 -1
  144. package/dist/packages/prisma/zod/workflowreminder.d.ts +3 -2
  145. package/dist/packages/prisma/zod/workflowreminder.d.ts.map +1 -1
  146. package/dist/packages/prisma/zod/workflowstep.d.ts +8 -3
  147. package/dist/packages/prisma/zod/workflowstep.d.ts.map +1 -1
  148. package/dist/packages/prisma/zod-utils.d.ts +24 -0
  149. package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
  150. package/dist/packages/prisma-client/index.d.ts +12634 -3343
  151. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +155 -7
  152. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  153. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +12 -2
  154. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  155. package/dist/style.css +1 -1
  156. package/package.json +1 -1
  157. package/dist/AppCard-wE044EKu.js +0 -281
  158. package/dist/AppListCardPlatformWrapper-S2MLpR9q.js +0 -9
  159. package/dist/AppListCardWebWrapper-Ekd6d78j.js +0 -74
  160. package/dist/AppSettingsInterface-9HiSjvfg.js +0 -23
  161. package/dist/AppSettingsInterface-LmBoyPF3.js +0 -75
  162. package/dist/AppSettingsInterface-Q3voYj2J.js +0 -29
  163. package/dist/DateRangePicker-IpphZRIX.js +0 -74
  164. package/dist/EventTypeAppCardInterface-0tvjBecr.js +0 -39
  165. package/dist/EventTypeAppCardInterface-2KJr-V7Z.js +0 -33
  166. package/dist/EventTypeAppCardInterface-3x27P7ps.js +0 -34
  167. package/dist/EventTypeAppCardInterface-6XEXNBzn.js +0 -34
  168. package/dist/EventTypeAppCardInterface-7NR3doEG.js +0 -31
  169. package/dist/EventTypeAppCardInterface-EPMIwLGd.js +0 -39
  170. package/dist/EventTypeAppCardInterface-F93MhSNn.js +0 -24
  171. package/dist/EventTypeAppCardInterface-KjL7y7bt.js +0 -51
  172. package/dist/EventTypeAppCardInterface-P_G5YRV_.js +0 -858
  173. package/dist/EventTypeAppCardInterface-PktZC6Qe.js +0 -32
  174. package/dist/EventTypeAppCardInterface-Q7g0PqbK.js +0 -51
  175. package/dist/EventTypeAppCardInterface-RcBmmIx9.js +0 -34
  176. package/dist/EventTypeAppCardInterface-Rw_76E5Z.js +0 -41
  177. package/dist/EventTypeAppCardInterface-S6U1w7fe.js +0 -86
  178. package/dist/EventTypeAppCardInterface-YAGz7OSs.js +0 -24
  179. package/dist/EventTypeAppCardInterface-_JOQuDhH.js +0 -24
  180. package/dist/EventTypeAppCardInterface-jdO2h65F.js +0 -32
  181. package/dist/EventTypeAppCardInterface-kEPAtIQk.js +0 -24
  182. package/dist/EventTypeAppCardInterface-n8P51zUO.js +0 -34
  183. package/dist/EventTypeAppCardInterface-n_WO_Y6m.js +0 -41
  184. package/dist/EventTypeAppCardInterface-s_ShyWJo.js +0 -24
  185. package/dist/EventTypeAppCardInterface-sh5yauFY.js +0 -34
  186. package/dist/EventTypeAppCardInterface-uYCixWBP.js +0 -42
  187. package/dist/EventTypeAppCardInterface-uojE8EEU.js +0 -34
  188. package/dist/EventTypeAppCardInterface-votpw9E3.js +0 -34
  189. package/dist/EventTypeAppCardInterface-yyUk_C2L.js +0 -42
  190. package/dist/EventTypeAppCardInterface-zrl4AOk6.js +0 -49
  191. package/dist/EventTypeAppSettingsInterface-33K40mC3.js +0 -24
  192. package/dist/EventTypeAppSettingsInterface-BUDKuf38.js +0 -43
  193. package/dist/EventTypeAppSettingsInterface-FLyAowkl.js +0 -120
  194. package/dist/EventTypeAppSettingsInterface-MsLfMf4b.js +0 -78
  195. package/dist/EventTypeAppSettingsInterface-Ry7PH-5o.js +0 -23
  196. package/dist/EventTypeAppSettingsInterface-UzAwMrFq.js +0 -72
  197. package/dist/EventTypeAppSettingsInterface-aKWy9X9P.js +0 -25
  198. package/dist/EventTypeAppSettingsInterface-ekHTxFa0.js +0 -298
  199. package/dist/EventTypeAppSettingsInterface-fZOlGEqt.js +0 -221
  200. package/dist/EventTypeAppSettingsInterface-g29q2wWG.js +0 -42
  201. package/dist/EventTypeAppSettingsInterface-i-u_40BM.js +0 -48
  202. package/dist/EventTypeAppSettingsInterface-qgNiXkW7.js +0 -23
  203. package/dist/EventTypeAppSettingsInterface-zsCeg754.js +0 -79
  204. package/dist/InstallAppButton-4JTgmaHV.js +0 -14
  205. package/dist/InstallAppButton-HNUH1HbW.js +0 -14
  206. package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
  207. package/dist/InstallAppButton-XwVQ7QR9.js +0 -58
  208. package/dist/StripePaymentForm-9JaoVglP.js +0 -493
  209. package/dist/currencyOptions-kannG2hu.js +0 -61
  210. package/dist/index-08sEbTLI.js +0 -518
  211. package/dist/index-NNpE702d.js +0 -30
  212. package/dist/index-hbI4lcmF.js +0 -160852
  213. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts +0 -2
  214. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts.map +0 -1
  215. package/dist/useIsAppEnabled-d30ejzXt.js +0 -18
@@ -1,298 +0,0 @@
1
- import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
2
- import { a9 as d, y as L, aa as i, M as P, f as w, R as T, U as O, S as y, ab as E, ac as x, s as B, ad as F, ae as K } from "./index-hbI4lcmF.js";
3
- import { useState as z, useEffect as G } from "react";
4
- const s = [
5
- { label: "United States dollar (USD)", value: "usd" },
6
- { label: "United Arab Emirates dirham (AED)", value: "aed" },
7
- { label: "Afghan afghani (AFN)", value: "afn" },
8
- { label: "Albanian lek (ALL)", value: "all" },
9
- { label: "Armenian dram (AMD)", value: "amd" },
10
- { label: "Netherlands Antillean guilder (ANG)", value: "ang" },
11
- { label: "Angolan kwanza (AOA)", value: "aoa" },
12
- { label: "Argentine peso (ARS)", value: "ars" },
13
- { label: "Australian dollar (AUD)", value: "aud" },
14
- { label: "Aruban florin (AWG)", value: "awg" },
15
- { label: "Azerbaijani manat (AZN)", value: "azn" },
16
- { label: "Bosnia and Herzegovina convertible mark (BAM)", value: "bam" },
17
- { label: "Barbadian dollar (BBD)", value: "bbd" },
18
- { label: "Bangladeshi taka (BDT)", value: "bdt" },
19
- { label: "Bulgarian lev (BGN)", value: "bgn" },
20
- { label: "Burundian franc (BIF)", value: "bif" },
21
- { label: "Bermudian dollar (BMD)", value: "bmd" },
22
- { label: "Brunei dollar (BND)", value: "bnd" },
23
- { label: "Bolivian boliviano (BOB)", value: "bob" },
24
- { label: "Brazilian real (BRL)", value: "brl" },
25
- { label: "Bahamian dollar (BSD)", value: "bsd" },
26
- { label: "Botswana pula (BWP)", value: "bwp" },
27
- { label: "Belarusian ruble (BYN)", value: "byn" },
28
- { label: "Belize dollar (BZD)", value: "bzd" },
29
- { label: "Canadian dollar (CAD)", value: "cad" },
30
- { label: "Congolese franc (CDF)", value: "cdf" },
31
- { label: "Swiss franc (CHF)", value: "chf" },
32
- { label: "Chilean peso (CLP)", value: "clp" },
33
- { label: "Chinese yuan (CNY)", value: "cny" },
34
- { label: "Colombian peso (COP)", value: "cop" },
35
- { label: "Costa Rican colón (CRC)", value: "crc" },
36
- { label: "Cape Verdean escudo (CVE)", value: "cve" },
37
- { label: "Czech koruna (CZK)", value: "czk" },
38
- { label: "Djiboutian franc (DJF)", value: "djf" },
39
- { label: "Danish krone (DKK)", value: "dkk" },
40
- { label: "Dominican peso (DOP)", value: "dop" },
41
- { label: "Algerian dinar (DZD)", value: "dzd" },
42
- { label: "Egyptian pound (EGP)", value: "egp" },
43
- { label: "Ethiopian birr (ETB)", value: "etb" },
44
- { label: "Euro (EUR)", value: "eur" },
45
- { label: "Fijian dollar (FJD)", value: "fjd" },
46
- { label: "Falkland Islands pound (FKP)", value: "fkp" },
47
- { label: "British pound sterling (GBP)", value: "gbp" },
48
- { label: "Georgian lari (GEL)", value: "gel" },
49
- { label: "Gibraltar pound (GIP)", value: "gip" },
50
- { label: "Gambian dalasi (GMD)", value: "gmd" },
51
- { label: "Guinean franc (GNF)", value: "gnf" },
52
- { label: "Guatemalan quetzal (GTQ)", value: "gtq" },
53
- { label: "Guyanese dollar (GYD)", value: "gyd" },
54
- { label: "Hong Kong dollar (HKD)", value: "hkd" },
55
- { label: "Honduran lempira (HNL)", value: "hnl" },
56
- { label: "Haitian gourde (HTG)", value: "htg" },
57
- { label: "Hungarian forint (HUF)", value: "huf" },
58
- { label: "Indonesian rupiah (IDR)", value: "idr" },
59
- { label: "Israeli new shekel (ILS)", value: "ils" },
60
- { label: "Indian rupee (INR)", value: "inr" },
61
- { label: "Icelandic króna (ISK)", value: "isk" },
62
- { label: "Jamaican dollar (JMD)", value: "jmd" },
63
- { label: "Japanese yen (JPY)", value: "jpy" },
64
- { label: "Kenyan shilling (KES)", value: "kes" },
65
- { label: "Kyrgyzstani som (KGS)", value: "kgs" },
66
- { label: "Cambodian riel (KHR)", value: "khr" },
67
- { label: "Comorian franc (KMF)", value: "kmf" },
68
- { label: "South Korean won (KRW)", value: "krw" },
69
- { label: "Cayman Islands dollar (KYD)", value: "kyd" },
70
- { label: "Kazakhstani tenge (KZT)", value: "kzt" },
71
- { label: "Laotian kip (LAK)", value: "lak" },
72
- { label: "Lebanese pound (LBP)", value: "lbp" },
73
- { label: "Sri Lankan rupee (LKR)", value: "lkr" },
74
- { label: "Liberian dollar (LRD)", value: "lrd" },
75
- { label: "Lesotho loti (LSL)", value: "lsl" },
76
- { label: "Moroccan dirham (MAD)", value: "mad" },
77
- { label: "Moldovan leu (MDL)", value: "mdl" },
78
- { label: "Malagasy ariary (MGA)", value: "mga" },
79
- { label: "Macedonian denar (MKD)", value: "mkd" },
80
- { label: "Myanmar kyat (MMK)", value: "mmk" },
81
- { label: "Mongolian tögrög (MNT)", value: "mnt" },
82
- { label: "Macanese pataca (MOP)", value: "mop" },
83
- { label: "Mauritian rupee (MUR)", value: "mur" },
84
- { label: "Maldivian rufiyaa (MVR)", value: "mvr" },
85
- { label: "Malawian kwacha (MWK)", value: "mwk" },
86
- { label: "Mexican peso (MXN)", value: "mxn" },
87
- { label: "Malaysian ringgit (MYR)", value: "myr" },
88
- { label: "Mozambican metical (MZN)", value: "mzn" },
89
- { label: "Namibian dollar (NAD)", value: "nad" },
90
- { label: "Nigerian naira (NGN)", value: "ngn" },
91
- { label: "Nicaraguan córdoba (NIO)", value: "nio" },
92
- { label: "Norwegian krone (NOK)", value: "nok" },
93
- { label: "Nepalese rupee (NPR)", value: "npr" },
94
- { label: "New Zealand dollar (NZD)", value: "nzd" },
95
- { label: "Panamanian balboa (PAB)", value: "pab" },
96
- { label: "Peruvian sol (PEN)", value: "pen" },
97
- { label: "Papua New Guinean kina (PGK)", value: "pgk" },
98
- { label: "Philippine peso (PHP)", value: "php" },
99
- { label: "Pakistani rupee (PKR)", value: "pkr" },
100
- { label: "Polish złoty (PLN)", value: "pln" },
101
- { label: "Paraguayan guaraní (PYG)", value: "pyg" },
102
- { label: "Qatari riyal (QAR)", value: "qar" },
103
- { label: "Romanian leu (RON)", value: "ron" },
104
- { label: "Serbian dinar (RSD)", value: "rsd" },
105
- { label: "Russian ruble (RUB)", value: "rub" },
106
- { label: "Rwandan franc (RWF)", value: "rwf" },
107
- { label: "Saudi riyal (SAR)", value: "sar" },
108
- { label: "Solomon Islands dollar (SBD)", value: "sbd" },
109
- { label: "Seychellois rupee (SCR)", value: "scr" },
110
- { label: "Swedish krona (SEK)", value: "sek" },
111
- { label: "Singapore dollar (SGD)", value: "sgd" },
112
- { label: "Saint Helena pound (SHP)", value: "shp" },
113
- { label: "Sierra Leonean leone (SLE)", value: "sle" },
114
- { label: "Somali shilling (SOS)", value: "sos" },
115
- { label: "Surinamese dollar (SRD)", value: "srd" },
116
- { label: "São Tomé and Príncipe dobra (STD)", value: "std" },
117
- { label: "Swazi lilangeni (SZL)", value: "szl" },
118
- { label: "Thai baht (THB)", value: "thb" },
119
- { label: "Tajikistani somoni (TJS)", value: "tjs" },
120
- { label: "Tongan paʻanga (TOP)", value: "top" },
121
- { label: "Turkish lira (TRY)", value: "try" },
122
- { label: "Trinidad and Tobago dollar (TTD)", value: "ttd" },
123
- { label: "New Taiwan dollar (TWD)", value: "twd" },
124
- { label: "Tanzanian shilling (TZS)", value: "tzs" },
125
- { label: "Ukrainian hryvnia (UAH)", value: "uah" },
126
- { label: "Ugandan shilling (UGX)", value: "ugx" },
127
- { label: "Uruguayan peso (UYU)", value: "uyu" },
128
- { label: "Uzbekistan som (UZS)", value: "uzs" },
129
- { label: "Vietnamese đồng (VND)", value: "vnd" },
130
- { label: "Vanuatu vatu (VUV)", value: "vuv" },
131
- { label: "Samoan tala (WST)", value: "wst" },
132
- { label: "Central African CFA franc (XAF)", value: "xaf" },
133
- { label: "East Caribbean dollar (XCD)", value: "xcd" },
134
- { label: "West African CFA franc (XOF)", value: "xof" },
135
- { label: "CFP franc (XPF)", value: "xpf" },
136
- { label: "Yemeni rial (YER)", value: "yer" },
137
- { label: "South African rand (ZAR)", value: "zar" },
138
- { label: "Zambian kwacha (ZMW)", value: "zmw" }
139
- ], V = ({
140
- getAppData: r,
141
- setAppData: e,
142
- disabled: b,
143
- eventType: h
144
- }) => {
145
- var k;
146
- const g = r("price"), o = r("currency") || s[0].value, [t, D] = z(
147
- s.find((a) => a.value === o) || {
148
- label: s[0].label,
149
- value: s[0].value
150
- }
151
- ), v = r("paymentOption"), c = d.find((a) => v === a.value), m = r("enabled"), p = () => C.find((a) => a.value === (r("refundCountCalendarDays") === !0 ? 1 : 0)), { t: n } = L(), N = ((k = h.recurringEvent) == null ? void 0 : k.count) !== void 0, S = !!h.seatsPerTimeSlot, R = (a, M) => 0 .toLocaleString(a, {
152
- style: "currency",
153
- currency: M,
154
- minimumFractionDigits: 0,
155
- maximumFractionDigits: 0
156
- }).replace(/\d/g, "").trim();
157
- G(() => {
158
- m && (r("currency") || e("currency", s[0].value), r("paymentOption") || e("paymentOption", d[0].value)), r("refundPolicy") || e("refundPolicy", i.NEVER);
159
- }, [m, r, e]);
160
- const C = [
161
- { value: 0, label: n("business_days") },
162
- { value: 1, label: n("calendar_days") }
163
- ];
164
- return /* @__PURE__ */ u(f, { children: [
165
- N && /* @__PURE__ */ l(P, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }),
166
- !N && m && /* @__PURE__ */ u(f, { children: [
167
- /* @__PURE__ */ l("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ l(
168
- w,
169
- {
170
- "data-testid": "stripe-price-input",
171
- label: n("price"),
172
- className: "h-[38px]",
173
- addOnLeading: /* @__PURE__ */ l(f, { children: t.value ? R("en", t.value) : "" }),
174
- addOnSuffix: o.toUpperCase(),
175
- addOnClassname: "h-[38px]",
176
- step: "0.01",
177
- min: "0.5",
178
- type: "number",
179
- required: !0,
180
- placeholder: "Price",
181
- disabled: b,
182
- onChange: (a) => {
183
- e("price", T(Number(a.target.value), o));
184
- },
185
- value: g > 0 ? O(g, o) : void 0
186
- }
187
- ) }),
188
- /* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
189
- /* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
190
- /* @__PURE__ */ l(
191
- y,
192
- {
193
- "data-testid": "stripe-currency-select",
194
- variant: "default",
195
- options: s,
196
- innerClassNames: {
197
- input: "stripe-currency-input"
198
- },
199
- value: t,
200
- className: "text-black",
201
- defaultValue: t,
202
- onChange: (a) => {
203
- a && (D(a), e("currency", a.value));
204
- }
205
- }
206
- )
207
- ] }),
208
- /* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
209
- /* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("payment_option") }),
210
- /* @__PURE__ */ l(
211
- y,
212
- {
213
- "data-testid": "stripe-payment-option-select",
214
- defaultValue: c ? { ...c, label: n(c.label) } : { ...d[0], label: n(d[0].label) },
215
- options: d.map((a) => ({ ...a, label: n(a.label) || a.label })),
216
- onChange: (a) => {
217
- a && (e("paymentOption", a.value), a.value === "HOLD" && (e("refundPolicy", i.NEVER), e("refundDaysCount", void 0), e("refundCountCalendarDays", void 0)));
218
- },
219
- className: "mb-1 h-[38px] w-full",
220
- isDisabled: S || b
221
- }
222
- )
223
- ] }),
224
- S && v === "HOLD" && /* @__PURE__ */ l(P, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") }),
225
- v !== "HOLD" && /* @__PURE__ */ u("div", { className: "mt-4 w-full", children: [
226
- /* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", children: n("refund_policy") }),
227
- /* @__PURE__ */ u(
228
- E,
229
- {
230
- disabled: b || v === "HOLD",
231
- defaultValue: "never",
232
- className: "flex flex-col space-y-2",
233
- value: r("refundPolicy"),
234
- onValueChange: (a) => {
235
- e("refundPolicy", a), a !== i.DAYS && (e("refundDaysCount", void 0), e("refundCountCalendarDays", void 0));
236
- },
237
- children: [
238
- /* @__PURE__ */ l(x, { className: "w-fit", value: i.ALWAYS, label: n("always"), id: "always" }),
239
- /* @__PURE__ */ l(x, { className: "w-fit", value: i.NEVER, label: n("never"), id: "never" }),
240
- /* @__PURE__ */ u("div", { className: B("text-default mb-2 flex flex-wrap items-center text-sm"), children: [
241
- /* @__PURE__ */ l(
242
- F,
243
- {
244
- className: "min-w-4 bg-default border-default flex h-4 w-4 cursor-pointer items-center rounded-full border focus:border-2 focus:outline-none ltr:mr-2 rtl:ml-2",
245
- value: "days",
246
- id: "days",
247
- children: /* @__PURE__ */ l(K, { className: "after:bg-inverted relative flex h-4 w-4 items-center justify-center after:block after:h-2 after:w-2 after:rounded-full" })
248
- }
249
- ),
250
- /* @__PURE__ */ u("div", { className: "flex items-center", children: [
251
- /* @__PURE__ */ u("span", { className: "me-2 ms-2", children: [
252
- " ",
253
- n("if_cancelled")
254
- ] }),
255
- /* @__PURE__ */ l(
256
- w,
257
- {
258
- labelSrOnly: !0,
259
- type: "number",
260
- className: B(
261
- "border-default my-0 block w-16 text-sm [appearance:textfield] ltr:mr-2 rtl:ml-2"
262
- ),
263
- placeholder: "2",
264
- disabled: b,
265
- min: 0,
266
- defaultValue: r("refundDaysCount"),
267
- required: r("refundPolicy") === i.DAYS,
268
- value: r("refundDaysCount") ?? "",
269
- onChange: (a) => e("refundDaysCount", parseInt(a.currentTarget.value))
270
- }
271
- ),
272
- /* @__PURE__ */ l(
273
- y,
274
- {
275
- options: C,
276
- isSearchable: !1,
277
- isDisabled: b,
278
- onChange: (a) => e("refundCountCalendarDays", (a == null ? void 0 : a.value) === 1),
279
- value: p(),
280
- defaultValue: p()
281
- }
282
- ),
283
- /* @__PURE__ */ u("span", { className: "me-2 ms-2", children: [
284
- " ",
285
- n("before")
286
- ] })
287
- ] })
288
- ] })
289
- ]
290
- }
291
- )
292
- ] })
293
- ] })
294
- ] });
295
- };
296
- export {
297
- V as default
298
- };
@@ -1,221 +0,0 @@
1
- import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
- import { useState as d } from "react";
3
- import { y as I, af as P, ag as j, e as T, u as g, s as k, M as A, ah as E, ai as R, X as z } from "./index-hbI4lcmF.js";
4
- const x = "search", C = "url", B = (s) => {
5
- const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [y, _] = d(x), w = async (n, f) => {
6
- if (u)
7
- return;
8
- b(!0), h("");
9
- const t = await fetch("/api/integrations/giphy/search", {
10
- method: "POST",
11
- headers: {
12
- "Content-Type": "application/json"
13
- },
14
- body: JSON.stringify({
15
- keyword: n,
16
- offset: f
17
- })
18
- }), r = await t.json();
19
- return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || h("No Result found")) : h((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
20
- }, G = async (n) => {
21
- var r;
22
- if (u)
23
- return;
24
- b(!0), h("");
25
- const f = await fetch("/api/integrations/giphy/get", {
26
- method: "POST",
27
- headers: {
28
- "Content-Type": "application/json"
29
- },
30
- body: JSON.stringify({
31
- url: n
32
- })
33
- }), t = await f.json();
34
- return f.ok ? (l(t.image || ""), t.image || h("No Result found")) : h((t == null ? void 0 : t.message) || ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
35
- }, S = (n, f, t) => /* @__PURE__ */ o(
36
- "div",
37
- {
38
- className: k(
39
- "flex cursor-pointer items-center border-b-2 p-2 text-sm ",
40
- y === t ? "text-default border-emphasis" : "text-subtle border-transparent"
41
- ),
42
- onClick: () => {
43
- v(""), l(""), _(t);
44
- },
45
- children: [
46
- /* @__PURE__ */ e(z, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
47
- f
48
- ]
49
- }
50
- ), M = async (n) => {
51
- n.stopPropagation(), n.preventDefault(), y === x ? w(c, 0) : y === C && G(c);
52
- };
53
- return /* @__PURE__ */ e(P, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
54
- /* @__PURE__ */ e("h3", { className: "leading-16 font-cal text-emphasis text-xl", id: "modal-title", children: a("add_gif_to_confirmation") }),
55
- /* @__PURE__ */ e("p", { className: "text-subtle mb-3 text-sm font-light", children: a("find_gif_spice_confirmation") }),
56
- /* @__PURE__ */ o("div", { className: "border-emphasis flex items-center border-b border-solid", children: [
57
- S("search", a("search_giphy"), x),
58
- S("link", a("add_link_from_giphy"), C)
59
- ] }),
60
- /* @__PURE__ */ o(
61
- "form",
62
- {
63
- className: "flex w-full justify-center space-x-2 space-y-2 rtl:space-x-reverse",
64
- onSubmit: M,
65
- children: [
66
- /* @__PURE__ */ e("div", { className: "relative block w-full pt-2", children: /* @__PURE__ */ e(
67
- T,
68
- {
69
- type: "text",
70
- placeholder: y === x ? a("search_giphy") : "https://media.giphy.com/media/some-id/giphy.gif",
71
- value: c,
72
- onChange: (n) => {
73
- v(n.target.value);
74
- }
75
- }
76
- ) }),
77
- /* @__PURE__ */ e(g, { type: "submit", tabIndex: -1, color: "secondary", loading: u, children: a("search") })
78
- ]
79
- }
80
- ),
81
- i && /* @__PURE__ */ e("div", { className: "flex flex-col items-center space-x-2 space-y-2 pt-3 rtl:space-x-reverse", children: /* @__PURE__ */ e("div", { className: "bg-subtle flex w-full items-center justify-center", children: u ? /* @__PURE__ */ e("div", { className: "flex h-[200px] w-full items-center justify-center bg-gray-400 pb-3 pt-3", children: /* @__PURE__ */ o(
82
- "svg",
83
- {
84
- className: k("mx-4 h-5 w-5 animate-spin", "text-inverted dark:text-emphasis"),
85
- xmlns: "http://www.w3.org/2000/svg",
86
- fill: "none",
87
- viewBox: "0 0 24 24",
88
- children: [
89
- /* @__PURE__ */ e(
90
- "circle",
91
- {
92
- className: "opacity-25",
93
- cx: "12",
94
- cy: "12",
95
- r: "10",
96
- stroke: "currentColor",
97
- strokeWidth: "4"
98
- }
99
- ),
100
- /* @__PURE__ */ e(
101
- "path",
102
- {
103
- className: "opacity-75",
104
- fill: "currentColor",
105
- d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
106
- }
107
- )
108
- ]
109
- }
110
- ) }) : /* @__PURE__ */ e("img", { className: "h-[200px] pb-3 pt-3", src: i, alt: `Gif from Giphy for ${c}` }) }) }),
111
- N && /* @__PURE__ */ e(A, { severity: "error", title: N, className: "my-4" }),
112
- i && y === x && /* @__PURE__ */ o("div", { className: "mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse", children: [
113
- /* @__PURE__ */ e("div", { className: "text-subtle text-sm font-light", children: "Not the perfect GIF?" }),
114
- /* @__PURE__ */ e(
115
- g,
116
- {
117
- size: "sm",
118
- color: "secondary",
119
- type: "button",
120
- loading: u,
121
- onClick: () => w(c, p),
122
- children: "Shuffle"
123
- }
124
- )
125
- ] }),
126
- /* @__PURE__ */ o(E, { noSticky: !0, children: [
127
- /* @__PURE__ */ e(
128
- R,
129
- {
130
- color: "minimal",
131
- tabIndex: -1,
132
- onClick: () => {
133
- s.setIsOpenDialog(!1);
134
- },
135
- children: a("cancel")
136
- }
137
- ),
138
- /* @__PURE__ */ e(
139
- g,
140
- {
141
- type: "button",
142
- disabled: !i,
143
- onClick: () => (s.setIsOpenDialog(!1), s.onSave(i), m(0), l(""), v(""), !1),
144
- children: a("add_gif")
145
- }
146
- )
147
- ] })
148
- ] }) });
149
- };
150
- function F(s) {
151
- const { t: a } = I(), [i, l] = d(s.defaultValue), [p, m] = d(!1);
152
- return /* @__PURE__ */ o("div", { className: "flex flex-col items-start space-x-2 space-y-2 rtl:space-x-reverse", children: [
153
- i && /* @__PURE__ */ e("div", { className: "min-h-[200px]", children: /* @__PURE__ */ e("img", { alt: "Selected Gif Image", src: i }) }),
154
- /* @__PURE__ */ o("div", { className: "flex", children: [
155
- i ? /* @__PURE__ */ e(
156
- g,
157
- {
158
- color: "minimal",
159
- type: "button",
160
- StartIcon: "pencil",
161
- onClick: () => m(!0),
162
- disabled: s.disabled,
163
- children: "Change"
164
- }
165
- ) : /* @__PURE__ */ e(
166
- g,
167
- {
168
- color: "minimal",
169
- type: "button",
170
- StartIcon: "plus",
171
- onClick: () => m(!0),
172
- disabled: s.disabled,
173
- children: "Add from Giphy"
174
- }
175
- ),
176
- i && /* @__PURE__ */ e(
177
- g,
178
- {
179
- color: "destructive",
180
- type: "button",
181
- StartIcon: "x",
182
- onClick: () => {
183
- l(""), s.onChange("");
184
- },
185
- disabled: s.disabled,
186
- children: a("remove")
187
- }
188
- )
189
- ] }),
190
- /* @__PURE__ */ e(
191
- B,
192
- {
193
- isOpenDialog: p,
194
- setIsOpenDialog: m,
195
- onSave: (c) => {
196
- l(c), s.onChange(c);
197
- }
198
- }
199
- )
200
- ] });
201
- }
202
- const J = ({
203
- getAppData: s,
204
- setAppData: a,
205
- disabled: i
206
- }) => {
207
- const l = s("thankYouPage");
208
- return /* @__PURE__ */ e(
209
- F,
210
- {
211
- defaultValue: l,
212
- disabled: i,
213
- onChange: (p) => {
214
- a("thankYouPage", p);
215
- }
216
- }
217
- );
218
- };
219
- export {
220
- J as default
221
- };
@@ -1,42 +0,0 @@
1
- import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-hbI4lcmF.js";
3
- const p = ({
4
- getAppData: a,
5
- setAppData: t,
6
- disabled: l,
7
- slug: r
8
- }) => {
9
- const n = a("PLAUSIBLE_URL"), o = a("trackingId");
10
- return /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
11
- /* @__PURE__ */ i(
12
- s,
13
- {
14
- dataTestid: `${r}-url`,
15
- name: "Plausible URL",
16
- defaultValue: "https://plausible.io/js/script.js",
17
- placeholder: "https://plausible.io/js/script.js",
18
- value: n,
19
- disabled: l,
20
- onChange: (e) => {
21
- t("PLAUSIBLE_URL", e.target.value);
22
- }
23
- }
24
- ),
25
- /* @__PURE__ */ i(
26
- s,
27
- {
28
- dataTestid: `${r}-tracking-id`,
29
- disabled: l,
30
- name: "Tracked Domain",
31
- placeholder: "yourdomain.com",
32
- value: o,
33
- onChange: (e) => {
34
- t("trackingId", e.target.value);
35
- }
36
- }
37
- )
38
- ] });
39
- };
40
- export {
41
- p as default
42
- };
@@ -1,48 +0,0 @@
1
- import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
- import { useState as m, useEffect as v } from "react";
3
- import { O as p, S as h } from "./index-hbI4lcmF.js";
4
- const S = ({}) => {
5
- const [n, u] = m(), [f, r] = m(), { data: e } = p.viewer.appBasecamp3.projects.useQuery(), d = p.viewer.appBasecamp3.projectMutation.useMutation();
6
- return v(
7
- function() {
8
- var a, i, l;
9
- r({
10
- value: e == null ? void 0 : e.projects.currentProject,
11
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
12
- label: (i = (a = e == null ? void 0 : e.projects) == null ? void 0 : a.find((s) => s.id === (e == null ? void 0 : e.currentProject))) == null ? void 0 : i.name
13
- }), u(
14
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
15
- (l = e == null ? void 0 : e.projects) == null ? void 0 : l.map((s) => ({
16
- value: s.id,
17
- label: s.name
18
- }))
19
- );
20
- },
21
- [e]
22
- ), /* @__PURE__ */ o("div", { className: "mt-2 text-sm", children: [
23
- /* @__PURE__ */ o("div", { className: "flex gap-3", children: [
24
- /* @__PURE__ */ c("div", { className: "items-center", children: /* @__PURE__ */ c("p", { className: "py-2", children: "Link a Basecamp project to this event:" }) }),
25
- /* @__PURE__ */ c(
26
- h,
27
- {
28
- placeholder: "Select project",
29
- options: n,
30
- isLoading: !n,
31
- className: "md:min-w-[120px]",
32
- onChange: (t) => {
33
- t && (d.mutate({ projectId: t == null ? void 0 : t.value.toString() }), r(t));
34
- },
35
- value: f
36
- }
37
- )
38
- ] }),
39
- /* @__PURE__ */ o("div", { className: "mt-2", children: [
40
- "Please note that as of now you can only link ",
41
- /* @__PURE__ */ c("span", { className: "italic", children: "one" }),
42
- " of your projects to cal.com"
43
- ] })
44
- ] });
45
- };
46
- export {
47
- S as default
48
- };
@@ -1,23 +0,0 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-hbI4lcmF.js";
3
- const p = ({
4
- getAppData: t,
5
- setAppData: e,
6
- disabled: a
7
- }) => {
8
- const n = t("trackingId");
9
- return /* @__PURE__ */ i(
10
- o,
11
- {
12
- name: "Pixel ID",
13
- value: n,
14
- disabled: a,
15
- onChange: (r) => {
16
- e("trackingId", r.target.value);
17
- }
18
- }
19
- );
20
- };
21
- export {
22
- p as default
23
- };