@calcom/atoms 1.0.114 → 1.1.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 (157) hide show
  1. package/README.md +21 -0
  2. package/dist/{AddressInput-VF2BcYWB.js → AddressInput-jTYf2K_0.js} +1 -1
  3. package/dist/{AlbyPriceComponent-I4VGjeFQ.js → AlbyPriceComponent-vi6Ne8ce.js} +1 -1
  4. package/dist/{AppCard-pDC8U-yB.js → AppCard-SvYOF2dh.js} +1 -1
  5. package/dist/{AppListCardPlatformWrapper-loLunYWd.js → AppListCardPlatformWrapper-G7wktrfn.js} +1 -1
  6. package/dist/{AppListCardWebWrapper-D4Jf6GP2.js → AppListCardWebWrapper-Os9E52Qt.js} +1 -1
  7. package/dist/{AppSettingsInterface-lziyfc4I.js → AppSettingsInterface-J6nXm3G7.js} +1 -1
  8. package/dist/{AppSettingsInterface-ojk6jWF7.js → AppSettingsInterface-OgnUWNfw.js} +1 -1
  9. package/dist/{AppSettingsInterface-IXKzuu1x.js → AppSettingsInterface-nFGHPlha.js} +1 -1
  10. package/dist/{DateRangePicker-IYx0MUpg.js → DateRangePicker-ZSaMXGkj.js} +1 -1
  11. package/dist/{EventTypeAppCardInterface-9XBZQdMQ.js → EventTypeAppCardInterface-4G13EhiE.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-AZo1pqDp.js → EventTypeAppCardInterface-6HNnD2Bu.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-Qw1evpmE.js → EventTypeAppCardInterface-8pTLdfYq.js} +2 -2
  14. package/dist/{EventTypeAppCardInterface--kWvVigG.js → EventTypeAppCardInterface-9kHPQKWa.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-rDg3IChY.js → EventTypeAppCardInterface-9zIX7otF.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-FZryR-1y.js → EventTypeAppCardInterface-AnaS7tFx.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-EBFdClZD.js → EventTypeAppCardInterface-BnBwvEU5.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-xHb-ACiF.js → EventTypeAppCardInterface-CoXBhsKa.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-O9SdGwyA.js → EventTypeAppCardInterface-JDOi9pPA.js} +2 -2
  20. package/dist/{EventTypeAppCardInterface-a64s2iWs.js → EventTypeAppCardInterface-KdwTnKeS.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-N3dSZHui.js → EventTypeAppCardInterface-OkRLs1Nj.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-pHUkN5bu.js → EventTypeAppCardInterface-TWKoaryN.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-k3Xp04ki.js → EventTypeAppCardInterface-WxOkgyZF.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-uzfRpOdc.js → EventTypeAppCardInterface-dyk1jvlB.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-v8qGKcOE.js → EventTypeAppCardInterface-el7K76t7.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-b8raVgeq.js → EventTypeAppCardInterface-igBUwXmB.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-pOYWJtzY.js → EventTypeAppCardInterface-kdDXsn2t.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-mfDCf5dr.js → EventTypeAppCardInterface-lpZE36iz.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-KDF7jyPv.js → EventTypeAppCardInterface-mbYcAdrt.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-1KTHO3G7.js → EventTypeAppCardInterface-n7y-m30w.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-zHnc4Mbg.js → EventTypeAppCardInterface-nst2-YAf.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-DZ4D9D3W.js → EventTypeAppCardInterface-pltIAywu.js} +3 -3
  33. package/dist/{EventTypeAppCardInterface-Z5nEUe-1.js → EventTypeAppCardInterface-pqxyLL_V.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-eaJodJji.js → EventTypeAppCardInterface-xLjLweLU.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-7lVRi0Xk.js → EventTypeAppCardInterface-yvjBhZwh.js} +3 -3
  36. package/dist/EventTypeAppCardInterface-zgnRuKOw.js +24 -0
  37. package/dist/{EventTypeAppSettingsInterface-om-CMCRh.js → EventTypeAppSettingsInterface-1CqEVysa.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-98MZ7He7.js → EventTypeAppSettingsInterface-7ZRCgBs3.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-g8GmoGC1.js → EventTypeAppSettingsInterface-EPl9fNhQ.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-faJm9V_Q.js → EventTypeAppSettingsInterface-G-ffPMtY.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-bUpznL_v.js → EventTypeAppSettingsInterface-WxHcdhgY.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-VEHCbWtC.js → EventTypeAppSettingsInterface-gR0LgG7E.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-9GodkYYn.js → EventTypeAppSettingsInterface-iHoes_Or.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-tcEkCwRz.js → EventTypeAppSettingsInterface-knPVdM4-.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-3-SZIQ-K.js → EventTypeAppSettingsInterface-qI7bRcfD.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-bOoXGu5X.js → EventTypeAppSettingsInterface-qk25Po5H.js} +7 -7
  47. package/dist/{EventTypeAppSettingsInterface-969looOL.js → EventTypeAppSettingsInterface-sac7BArb.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-CWav7rpk.js → EventTypeAppSettingsInterface-te3ObLjt.js} +1 -1
  49. package/dist/{InstallAppButton-NUfFF7w2.js → InstallAppButton-8xTHcT01.js} +1 -1
  50. package/dist/{InstallAppButton-mOs3Tny1.js → InstallAppButton-FikQLmny.js} +1 -1
  51. package/dist/{InstallAppButton-kqm9kHNr.js → InstallAppButton-mDDERZ-X.js} +1 -1
  52. package/dist/{PhoneInput-fAGB7rRq.js → PhoneInput-cpjR8Fol.js} +1 -1
  53. package/dist/{StripePaymentForm-zcleIq7N.js → StripePaymentForm-2cx_Laf0.js} +1 -1
  54. package/dist/cal-atoms.js +1 -1
  55. package/dist/{index-3rF5prT9.js → index-6FFviCy8.js} +1 -1
  56. package/dist/{index-Swazt2OL.js → index-AlZM6_XN.js} +47772 -46830
  57. package/dist/{index-RiT9rcSU.js → index-KxI44_NW.js} +1 -1
  58. package/dist/{index-oT1fC7Ad.js → index-WlGYx3On.js} +1 -1
  59. package/dist/packages/dayjs/locales.d.ts +1 -0
  60. package/dist/packages/dayjs/locales.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts +2 -8
  63. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +2 -1
  65. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +4 -0
  67. package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/Booker/types.d.ts +9 -8
  69. package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts +2 -1
  71. package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +5 -0
  73. package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +18 -0
  76. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  77. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +22 -0
  78. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  79. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +18 -0
  80. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  81. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +14 -0
  82. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  83. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +4 -0
  84. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  85. package/dist/packages/features/bookings/lib/handleNewBooking/test/round-robin-no-hosts.test.d.ts +2 -0
  86. package/dist/packages/features/bookings/lib/handleNewBooking/test/round-robin-no-hosts.test.d.ts.map +1 -0
  87. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-reschedule-destination-calendar.test.d.ts +5 -0
  88. package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/collective-reschedule-destination-calendar.test.d.ts.map +1 -0
  89. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  90. package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
  91. package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
  92. package/dist/packages/features/ee/billing/teams/team-billing.repository.interface.d.ts +1 -1
  93. package/dist/packages/features/ee/billing/teams/team-billing.repository.interface.d.ts.map +1 -1
  94. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +4 -0
  95. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  96. package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
  97. package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
  98. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +1 -2
  99. package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
  100. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts +0 -1
  101. package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
  102. package/dist/packages/features/eventtypes/components/Locations.d.ts.map +1 -1
  103. package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
  104. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts +9 -1
  105. package/dist/packages/features/eventtypes/components/tabs/limits/MaxActiveBookingsPerBookerController.d.ts.map +1 -1
  106. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +1 -1
  107. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  108. package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
  109. package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
  110. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +14 -13
  111. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  112. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -2
  113. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  114. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  115. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +4 -0
  116. package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
  117. package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts +1 -1
  118. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts +2 -1
  119. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  120. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +1 -0
  121. package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts.map +1 -1
  122. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +6 -0
  123. package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
  124. package/dist/packages/platform/atoms/index.d.ts +2 -0
  125. package/dist/packages/platform/atoms/index.d.ts.map +1 -1
  126. package/dist/packages/platform/libraries/repositories.d.ts +9 -0
  127. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -0
  128. package/dist/packages/platform/libraries/slots.d.ts +2 -2
  129. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  130. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +11 -2
  131. package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
  132. package/dist/packages/platform/types/bookings/2024-08-13/inputs/language.d.ts +2 -1
  133. package/dist/packages/platform/types/bookings/2024-08-13/inputs/language.d.ts.map +1 -1
  134. package/dist/packages/platform/types/bookings/2024-08-13/inputs/mark-absent.input.d.ts +2 -2
  135. package/dist/packages/platform/types/bookings/2024-08-13/inputs/mark-absent.input.d.ts.map +1 -1
  136. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts +4 -3
  137. package/dist/packages/platform/types/bookings/2024-08-13/outputs/booking.output.d.ts.map +1 -1
  138. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts +4 -0
  139. package/dist/packages/platform/types/slots/slots-2024-09-04/inputs/get-slots.input.d.ts.map +1 -1
  140. package/dist/packages/prisma/zod/deployment.d.ts +3 -0
  141. package/dist/packages/prisma/zod/deployment.d.ts.map +1 -1
  142. package/dist/packages/prisma/zod/destinationcalendar.d.ts +6 -0
  143. package/dist/packages/prisma/zod/destinationcalendar.d.ts.map +1 -1
  144. package/dist/packages/prisma/zod/role.d.ts +3 -0
  145. package/dist/packages/prisma/zod/role.d.ts.map +1 -1
  146. package/dist/packages/prisma/zod/selectedcalendar.d.ts +6 -0
  147. package/dist/packages/prisma/zod/selectedcalendar.d.ts.map +1 -1
  148. package/dist/packages/prisma-client/index.d.ts +316 -3
  149. package/dist/packages/trpc/react/shared.d.ts +1 -1
  150. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  151. package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts.map +1 -1
  152. package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +1 -1
  153. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +50 -2027
  154. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  155. package/dist/{useIsAppEnabled-Hz7V9bEN.js → useIsAppEnabled-WwvH0IPG.js} +1 -1
  156. package/package.json +4 -2
  157. package/dist/EventTypeAppCardInterface-rgWOAhB8.js +0 -24
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  Customizable UI components to integrate scheduling into your services.
2
2
 
3
+ ## Users guide
4
+
3
5
  ### Support
4
6
  Currently supports React 18, React 19, Next 14 and Next 15.
5
7
 
@@ -16,3 +18,22 @@ want to use version without any suffix e.g. `1.0.103`.
16
18
  ### Documentation
17
19
  Documentation on how to get started with platform solution is [here](https://cal.com/docs/platform/quickstart) and list of atoms can be viewed
18
20
  [here](https://cal.com/docs/platform/atoms/cal-provider)
21
+
22
+ ## Contributors guide
23
+
24
+ ### Versioning
25
+ We use a tool called changesets that helps documenting changes related to your development branch and then manages
26
+ atoms versioning and publishing to [npm](https://www.npmjs.com/package/@calcom/atoms). We need to add a log documenting changes and then letting changesets to gather the changes, update Changelog and update version in `package.json`.
27
+
28
+ 1. Let's say you are on a development branch and just finished adding a new feature to atoms. While on the development branch, you have to add a log documenting this feature so that it later ends up in the atoms [CHANGELOG.md](https://github.com/calcom/cal.com/blob/main/packages/platform/atoms/CHANGELOG.md).
29
+ - Run `yarn changesets-add` from monorepo root and then select `@calcom/atoms` using space bar and press enter to go to the next step.
30
+ - Then, you have to select whether this is a major, minor or patch update following semantic versioning. Since it is a feature skip major by pressing enter and then select minor by pressing space bar and press enter to go to the next step.
31
+ - Then, you have to write a description of the change and press enter. This will generate a log file in the `.changeset` directory e.g. `.changeset/hungry-donuts-cross.md`.
32
+ - Commit this log file to your development branch and push it.
33
+ Notably, you do not have to change `"version"` in the atoms `package.json` file because changesets will do it in the next step.
34
+ 2. After the development branch is merged changesets will open a pull request titled `chore: version packages` containing next release changes. This pull request will contain the new log file, it being added to the atoms `CHANGELOG.md` file and changesets will update the atoms `package.json` file based whether or not is is major, minor or patch update. When we want to release atoms we simply have to merge this pull request and changesets will publish the new atoms version to npm. Notably,
35
+ changesets will publish atoms to npm only if the `"version"` in the atoms `package.json` of changeset's PR is higher than in the npm.
36
+
37
+ The following 2 articles teach how to write good change summaries for each PR when it deserves to end up in CHANGELOG.md
38
+ - https://keepachangelog.com/en/1.0.0/
39
+ - https://docs.gitlab.com/development/changelog/
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { N as n, e as o, M as c } from "./index-Swazt2OL.js";
2
+ import { N as n, e as o, M as c } from "./index-AlZM6_XN.js";
3
3
  function r({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
@@ -1,6 +1,6 @@
1
1
  import { jsx as K, jsxs as er } from "react/jsx-runtime";
2
2
  import z from "react";
3
- import { K as tr, O as nr } from "./index-Swazt2OL.js";
3
+ import { K as tr, O as nr } from "./index-AlZM6_XN.js";
4
4
  const J = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, Fragment as O, jsxs as a } from "react/jsx-runtime";
2
- import { ag as V, ah as v, M as u, N as C, ai as W, y as A, q as H, u as T, aj as q, r as j, _ as N, ak as L, t as F, ae as M, al as g, p as U } from "./index-Swazt2OL.js";
2
+ import { ag as V, ah as v, M as u, N as C, ai as W, y as A, q as H, u as T, aj as q, r as j, _ as N, ak as L, t as F, ae as M, al as g, p as U } from "./index-AlZM6_XN.js";
3
3
  import * as c from "react";
4
4
  var y = c.forwardRef((e, r) => {
5
5
  const { children: t, ...n } = e, s = c.Children.toArray(t), i = s.find(Z);
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index-Swazt2OL.js";
2
+ import { A as p } from "./index-AlZM6_XN.js";
3
3
  function s(o) {
4
4
  const t = `https://app.cal.com${o.logo}`;
5
5
  return /* @__PURE__ */ r(p, { ...o, logo: t });
@@ -1,5 +1,5 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
- import { Q as i, s as y, R as A, U as R, A as Q } from "./index-Swazt2OL.js";
2
+ import { Q as i, s as y, R as A, U as R, A as Q } from "./index-AlZM6_XN.js";
3
3
  import { useMemo as $, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
4
4
  i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
5
5
  i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as s } from "react";
3
- import { q as i, f as l, r as m } from "./index-Swazt2OL.js";
3
+ import { q as i, f as l, r as m } from "./index-AlZM6_XN.js";
4
4
  function h() {
5
5
  const { t: a } = i(), n = "metric", [e, r] = s("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { r as i, q as o } from "./index-Swazt2OL.js";
2
+ import { r as i, q as o } from "./index-AlZM6_XN.js";
3
3
  function d({ template: t }) {
4
4
  return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
5
5
  /* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { q as r, f as u, r as i } from "./index-Swazt2OL.js";
3
+ import { q as r, f as u, r as i } from "./index-AlZM6_XN.js";
4
4
  function d() {
5
5
  const { t: e } = r(), [s, n] = p("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as d, jsxs as O, Fragment as T } from "react/jsx-runtime";
2
- import { M as J, aw as Ye, ax as Fe, N as Le, ay as Dt, az as Mt, r as _t, aA as kt } from "./index-Swazt2OL.js";
2
+ import { M as J, aw as Ye, ax as Fe, N as Le, ay as Dt, az as Mt, r as _t, aA as kt } from "./index-AlZM6_XN.js";
3
3
  import { createContext as q, forwardRef as Nt, useContext as Q, useState as K, useEffect as ie, useLayoutEffect as xt, useRef as Pt } from "react";
4
4
  function M(e) {
5
5
  const t = Object.prototype.toString.call(e);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-Swazt2OL.js";
3
- import { A as m } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { s as d, W as i } from "./index-AlZM6_XN.js";
3
+ import { A as m } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { q as b, s as f, t as y, v as E, W as P } from "./index-Swazt2OL.js";
2
+ import { q as b, s as f, t as y, v as E, W as P } from "./index-AlZM6_XN.js";
3
3
  import { useState as v } from "react";
4
- import { A as C } from "./AppCard-pDC8U-yB.js";
5
- import { u as g } from "./useIsAppEnabled-Hz7V9bEN.js";
6
- import w from "./EventTypeAppSettingsInterface-tcEkCwRz.js";
4
+ import { A as C } from "./AppCard-SvYOF2dh.js";
5
+ import { u as g } from "./useIsAppEnabled-WwvH0IPG.js";
6
+ import w from "./EventTypeAppSettingsInterface-knPVdM4-.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { t as m, f as l } from "./index-Swazt2OL.js";
4
- import { A as f } from "./AppCard-pDC8U-yB.js";
3
+ import { t as m, f as l } from "./index-AlZM6_XN.js";
4
+ import { A as f } from "./AppCard-SvYOF2dh.js";
5
5
  const k = function({ app: p, eventType: i }) {
6
6
  var n;
7
7
  const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
- import { t as m, f as p } from "./index-Swazt2OL.js";
3
- import { A } from "./AppCard-pDC8U-yB.js";
4
- import { u as I } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { t as m, f as p } from "./index-AlZM6_XN.js";
3
+ import { A } from "./AppCard-SvYOF2dh.js";
4
+ import { u as I } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const x = function({ app: a, eventType: s }) {
6
6
  var i;
7
7
  const { getAppData: r, setAppData: n, disabled: o } = m(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = I(a);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-Swazt2OL.js";
3
- import { A as c } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import l from "./EventTypeAppSettingsInterface-faJm9V_Q.js";
2
+ import { t as m } from "./index-AlZM6_XN.js";
3
+ import { A as c } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import l from "./EventTypeAppSettingsInterface-qI7bRcfD.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { t as h, f as n } from "./index-Swazt2OL.js";
3
- import { A as I } from "./AppCard-pDC8U-yB.js";
4
- import { u as C } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { t as h, f as n } from "./index-AlZM6_XN.js";
3
+ import { A as I } from "./AppCard-SvYOF2dh.js";
4
+ import { u as C } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const R = function({ app: s, eventType: o }) {
6
6
  var i;
7
7
  const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, Fragment as N, jsx as e } from "react/jsx-runtime";
2
- import { q as $, X as r, Y as K, Z as U, p as h, I as f, S as v, r as z, _ as q, s as ie, t as ce, $ as u, W as se, L as G, a0 as de, x as re } from "./index-Swazt2OL.js";
2
+ import { q as $, X as r, Y as K, Z as U, p as h, I as f, S as v, r as z, _ as q, s as ie, t as ce, $ as u, W as se, L as G, a0 as de, x as re } from "./index-AlZM6_XN.js";
3
3
  import { useState as S } from "react";
4
- import { S as a, A as ue } from "./AppCard-pDC8U-yB.js";
5
- import { u as he } from "./useIsAppEnabled-Hz7V9bEN.js";
4
+ import { S as a, A as ue } from "./AppCard-SvYOF2dh.js";
5
+ import { u as he } from "./useIsAppEnabled-WwvH0IPG.js";
6
6
  var M = /* @__PURE__ */ ((_) => (_.ON_BOOKING = "on_booking", _.ON_CANCEL = "on_cancel", _))(M || {});
7
7
  const Y = ({
8
8
  bookingAction: _,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { s as i, t as f, v as g, q as v, W as S } from "./index-Swazt2OL.js";
2
+ import { s as i, t as f, v as g, q as v, W as S } from "./index-AlZM6_XN.js";
3
3
  import { useMemo as b, useState as C } from "react";
4
- import { A as w } from "./AppCard-pDC8U-yB.js";
5
- import E from "./EventTypeAppSettingsInterface-g8GmoGC1.js";
4
+ import { A as w } from "./AppCard-SvYOF2dh.js";
5
+ import E from "./EventTypeAppSettingsInterface-EPl9fNhQ.js";
6
6
  const W = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-Swazt2OL.js";
2
+ import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-AlZM6_XN.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-pDC8U-yB.js";
4
+ import { A as $ } from "./AppCard-SvYOF2dh.js";
5
5
  import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
6
  const H = function({ app: S, eventType: A }) {
7
7
  var f, h;
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { t as l, f as m } from "./index-Swazt2OL.js";
3
- import { A as u } from "./AppCard-pDC8U-yB.js";
4
- import { u as I } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { t as l, f as m } from "./index-AlZM6_XN.js";
3
+ import { A as u } from "./AppCard-SvYOF2dh.js";
4
+ import { u as I } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const D = function({ app: t, eventType: n }) {
6
6
  var a;
7
7
  const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-Swazt2OL.js";
3
- import { A as m } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { s as d, W as i } from "./index-AlZM6_XN.js";
3
+ import { A as m } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { q as b, s as f, t as E, v, W as y } from "./index-Swazt2OL.js";
2
+ import { q as b, s as f, t as E, v, W as y } from "./index-AlZM6_XN.js";
3
3
  import { useState as C } from "react";
4
- import { A as P } from "./AppCard-pDC8U-yB.js";
5
- import { u as g } from "./useIsAppEnabled-Hz7V9bEN.js";
6
- import w from "./EventTypeAppSettingsInterface-98MZ7He7.js";
4
+ import { A as P } from "./AppCard-SvYOF2dh.js";
5
+ import { u as g } from "./useIsAppEnabled-WwvH0IPG.js";
6
+ import w from "./EventTypeAppSettingsInterface-7ZRCgBs3.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-Swazt2OL.js";
3
- import { A as c } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import l from "./EventTypeAppSettingsInterface-9GodkYYn.js";
2
+ import { t as m } from "./index-AlZM6_XN.js";
3
+ import { A as c } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import l from "./EventTypeAppSettingsInterface-G-ffPMtY.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as d } from "./index-Swazt2OL.js";
3
- import { A as m } from "./AppCard-pDC8U-yB.js";
4
- import { u as c } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import u from "./EventTypeAppSettingsInterface-969looOL.js";
2
+ import { t as d } from "./index-AlZM6_XN.js";
3
+ import { A as m } from "./AppCard-SvYOF2dh.js";
4
+ import { u as c } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import u from "./EventTypeAppSettingsInterface-sac7BArb.js";
6
6
  const E = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { t as m, q as f } from "./index-Swazt2OL.js";
3
- import { A as l } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import A from "./EventTypeAppSettingsInterface-bOoXGu5X.js";
2
+ import { t as m, q as f } from "./index-AlZM6_XN.js";
3
+ import { A as l } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import A from "./EventTypeAppSettingsInterface-qk25Po5H.js";
6
6
  const w = function({ app: t, eventType: e }) {
7
7
  var o;
8
8
  const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { t as d } from "./index-Swazt2OL.js";
3
- import { A as c } from "./AppCard-pDC8U-yB.js";
4
- import { u as m } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import l from "./EventTypeAppSettingsInterface-bUpznL_v.js";
2
+ import { t as d } from "./index-AlZM6_XN.js";
3
+ import { A as c } from "./AppCard-SvYOF2dh.js";
4
+ import { u as m } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import l from "./EventTypeAppSettingsInterface-WxHcdhgY.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-Swazt2OL.js";
3
- import { A as c } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import l from "./EventTypeAppSettingsInterface-3-SZIQ-K.js";
2
+ import { t as m } from "./index-AlZM6_XN.js";
3
+ import { A as c } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import l from "./EventTypeAppSettingsInterface-gR0LgG7E.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-Swazt2OL.js";
3
- import { A as c } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import l from "./EventTypeAppSettingsInterface-VEHCbWtC.js";
2
+ import { t as m } from "./index-AlZM6_XN.js";
3
+ import { A as c } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import l from "./EventTypeAppSettingsInterface-iHoes_Or.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { t as h, f as n } from "./index-Swazt2OL.js";
3
- import { A } from "./AppCard-pDC8U-yB.js";
4
- import { u as I } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { t as h, f as n } from "./index-AlZM6_XN.js";
3
+ import { A } from "./AppCard-SvYOF2dh.js";
4
+ import { u as I } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const E = function({ app: t, eventType: i }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-Swazt2OL.js";
3
- import { A as c } from "./AppCard-pDC8U-yB.js";
4
- import { u as l } from "./useIsAppEnabled-Hz7V9bEN.js";
5
- import u from "./EventTypeAppSettingsInterface-CWav7rpk.js";
2
+ import { t as m } from "./index-AlZM6_XN.js";
3
+ import { A as c } from "./AppCard-SvYOF2dh.js";
4
+ import { u as l } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ import u from "./EventTypeAppSettingsInterface-te3ObLjt.js";
6
6
  const g = function({ eventType: e, app: t }) {
7
7
  var p;
8
8
  const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
- import { t as m, N as o } from "./index-Swazt2OL.js";
3
- import { A as u } from "./AppCard-pDC8U-yB.js";
4
- import { u as h } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { t as m, N as o } from "./index-AlZM6_XN.js";
3
+ import { A as u } from "./AppCard-SvYOF2dh.js";
4
+ import { u as h } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const E = function({ eventType: a, app: s }) {
6
6
  var n;
7
7
  const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-Swazt2OL.js";
3
- import { A as m } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { s as d, W as i } from "./index-AlZM6_XN.js";
3
+ import { A as m } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-Swazt2OL.js";
3
- import { A as m } from "./AppCard-pDC8U-yB.js";
4
- import { u } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { s as d, W as i } from "./index-AlZM6_XN.js";
3
+ import { A as m } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
- import { s as i, q as g, t as f, v as b, W as v } from "./index-Swazt2OL.js";
2
+ import { s as i, q as g, t as f, v as b, W as v } from "./index-AlZM6_XN.js";
3
3
  import { useMemo as S, useState as C } from "react";
4
- import { A as w } from "./AppCard-pDC8U-yB.js";
5
- import E from "./EventTypeAppSettingsInterface-om-CMCRh.js";
4
+ import { A as w } from "./AppCard-SvYOF2dh.js";
5
+ import E from "./EventTypeAppSettingsInterface-1CqEVysa.js";
6
6
  const W = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { t as l, f as m } from "./index-Swazt2OL.js";
3
- import { A as u } from "./AppCard-pDC8U-yB.js";
4
- import { u as h } from "./useIsAppEnabled-Hz7V9bEN.js";
2
+ import { t as l, f as m } from "./index-AlZM6_XN.js";
3
+ import { A as u } from "./AppCard-SvYOF2dh.js";
4
+ import { u as h } from "./useIsAppEnabled-WwvH0IPG.js";
5
5
  const D = function({ app: a, eventType: d }) {
6
6
  var s;
7
7
  const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { s as d, W as i } from "./index-AlZM6_XN.js";
3
+ import { A as m } from "./AppCard-SvYOF2dh.js";
4
+ import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
+ const l = function({ app: t, eventType: e }) {
6
+ var a;
7
+ const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
8
+ return /* @__PURE__ */ s(
9
+ m,
10
+ {
11
+ returnTo: `${i}${p}?tabName=apps`,
12
+ app: t,
13
+ teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
14
+ switchOnClick: (o) => {
15
+ r(o);
16
+ },
17
+ switchChecked: n,
18
+ hideAppCardOptions: !0
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ l as default
24
+ };
@@ -1,6 +1,6 @@
1
1
  import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as N, useEffect as w } from "react";
3
- import { q as _, V as t, x as g, f as C, O as P, S as p } from "./index-Swazt2OL.js";
3
+ import { q as _, V as t, x as g, f as C, O as P, S as p } from "./index-AlZM6_XN.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as P } from "react";
3
- import { q as k, x as p, f as w, S as K } from "./index-Swazt2OL.js";
3
+ import { q as k, x as p, f as w, S as K } from "./index-AlZM6_XN.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -1,7 +1,7 @@
1
1
  import { jsx as l, jsxs as m, Fragment as w } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as _ } from "react";
3
3
  import { c as i, i as k, a as x } from "./currencyOptions-kannG2hu.js";
4
- import { z as r, q as E, x as S, f as F, G as q, J as T, S as O } from "./index-Swazt2OL.js";
4
+ import { z as r, q as E, x as S, f as F, G as q, J as T, S as O } from "./index-AlZM6_XN.js";
5
5
  const G = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as g } from "./index-Swazt2OL.js";
2
+ import { f as g } from "./index-AlZM6_XN.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as v } from "react";
3
- import { y as p, S as h } from "./index-Swazt2OL.js";
3
+ import { y as p, S as h } from "./index-AlZM6_XN.js";
4
4
  const P = ({}) => {
5
5
  const [n, u] = m(), [f, r] = m(), { data: e } = p.viewer.appBasecamp3.projects.useQuery(), d = p.viewer.appBasecamp3.projectMutation.useMutation();
6
6
  return v(
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-Swazt2OL.js";
2
+ import { f as o } from "./index-AlZM6_XN.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-Swazt2OL.js";
2
+ import { f as s } from "./index-AlZM6_XN.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
2
- import { a1 as d, q as L, a2 as i, x as P, f as w, G as T, J as O, S as y, a3 as E, a4 as x, M as B, a5 as F, a6 as G } from "./index-Swazt2OL.js";
2
+ import { a1 as d, q as L, a2 as i, x as P, f as w, G as T, J as O, S as y, a3 as E, a4 as x, M as B, a5 as F, a6 as G } from "./index-AlZM6_XN.js";
3
3
  import { useState as K, useEffect as z } from "react";
4
4
  const s = [
5
5
  { label: "United States dollar (USD)", value: "usd" },
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-Swazt2OL.js";
2
+ import { f as c } from "./index-AlZM6_XN.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
- import { q as I, a7 as P, a8 as j, e as T, r as g, M as C, x as A, a9 as E, aa as R, N as z } from "./index-Swazt2OL.js";
4
- const y = "search", k = "url", B = (s) => {
3
+ import { q as I, a7 as P, a8 as j, e as T, r as g, M as k, x as A, a9 as E, aa as R, N as z } from "./index-AlZM6_XN.js";
4
+ const y = "search", C = "url", B = (s) => {
5
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(""), [x, _] = d(y), w = async (n, f) => {
6
6
  if (u)
7
7
  return;
@@ -35,7 +35,7 @@ const y = "search", k = "url", B = (s) => {
35
35
  }, S = (n, f, t) => /* @__PURE__ */ o(
36
36
  "div",
37
37
  {
38
- className: C(
38
+ className: k(
39
39
  "flex cursor-pointer items-center border-b-2 p-2 text-sm ",
40
40
  x === t ? "text-default border-emphasis" : "text-subtle border-transparent"
41
41
  ),
@@ -48,14 +48,14 @@ const y = "search", k = "url", B = (s) => {
48
48
  ]
49
49
  }
50
50
  ), M = async (n) => {
51
- n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === k && G(c);
51
+ n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === C && G(c);
52
52
  };
53
53
  return /* @__PURE__ */ e(P, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
54
54
  /* @__PURE__ */ e("h3", { className: "leading-16 font-cal text-emphasis text-xl", id: "modal-title", children: a("add_gif_to_confirmation") }),
55
55
  /* @__PURE__ */ e("p", { className: "text-subtle mb-3 text-sm font-light", children: a("find_gif_spice_confirmation") }),
56
56
  /* @__PURE__ */ o("div", { className: "border-emphasis flex items-center border-b border-solid", children: [
57
57
  S("search", a("search_giphy"), y),
58
- S("link", a("add_link_from_giphy"), k)
58
+ S("link", a("add_link_from_giphy"), C)
59
59
  ] }),
60
60
  /* @__PURE__ */ o(
61
61
  "form",
@@ -81,7 +81,7 @@ const y = "search", k = "url", B = (s) => {
81
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
82
  "svg",
83
83
  {
84
- className: C("mx-4 h-5 w-5 animate-spin", "text-inverted dark:text-emphasis"),
84
+ className: k("mx-4 h-5 w-5 animate-spin", "text-inverted dark:text-emphasis"),
85
85
  xmlns: "http://www.w3.org/2000/svg",
86
86
  fill: "none",
87
87
  viewBox: "0 0 24 24",
@@ -123,7 +123,7 @@ const y = "search", k = "url", B = (s) => {
123
123
  }
124
124
  )
125
125
  ] }),
126
- /* @__PURE__ */ o(E, { children: [
126
+ /* @__PURE__ */ o(E, { noSticky: !0, children: [
127
127
  /* @__PURE__ */ e(
128
128
  R,
129
129
  {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-Swazt2OL.js";
2
+ import { f as o } from "./index-AlZM6_XN.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,