@calcom/atoms 1.5.0 → 1.6.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 (106) hide show
  1. package/dist/{AddressInput-4kKVWWz5.js → AddressInput-1brkjhFt.js} +1 -1
  2. package/dist/{AlbyPriceComponent-bn8U8cDo.js → AlbyPriceComponent-2LB43zoM.js} +1 -1
  3. package/dist/{AppCard-GCLu89Fy.js → AppCard-yIBrfFj9.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-xoj67n-W.js → AppListCardPlatformWrapper-CV7QpdyY.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-WeWRq3jT.js → AppListCardWebWrapper-vxXZpyol.js} +1 -1
  6. package/dist/{AppSettingsInterface-hwNy4smR.js → AppSettingsInterface-0H1wCBzq.js} +1 -1
  7. package/dist/{AppSettingsInterface-7V1sdak-.js → AppSettingsInterface-Aix0Ye7x.js} +1 -1
  8. package/dist/{AppSettingsInterface-epep0Hef.js → AppSettingsInterface-KGD5cNTj.js} +1 -1
  9. package/dist/{DateRangePicker-rVOB5iyD.js → DateRangePicker-4CKKpdyt.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-9J59kV6N.js → EventTypeAppCardInterface-1E9MTUzY.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface-f4nVufr9.js → EventTypeAppCardInterface-2lsdiZIS.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-Cae8xXmh.js → EventTypeAppCardInterface-44x8c0hT.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface--qDLESRC.js → EventTypeAppCardInterface-5-Y0-uRC.js} +4 -4
  14. package/dist/{EventTypeAppCardInterface-gOgNLdMu.js → EventTypeAppCardInterface-A7d6UF4_.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-eHwmJDeu.js → EventTypeAppCardInterface-Abb5QaiE.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-U0hTHrS1.js → EventTypeAppCardInterface-DKIBRWYj.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-ymHPloyx.js → EventTypeAppCardInterface-GykSLC0F.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-51N6r2zk.js → EventTypeAppCardInterface-InrUBwTg.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-L0p2BvJk.js → EventTypeAppCardInterface-JWnT8L9g.js} +4 -4
  20. package/dist/{EventTypeAppCardInterface-XqWAEhR4.js → EventTypeAppCardInterface-LnM8nYr7.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-2NeW9Ehx.js → EventTypeAppCardInterface-Njtagnpn.js} +4 -4
  22. package/dist/{EventTypeAppCardInterface-uXOacbvz.js → EventTypeAppCardInterface-UcelDWVh.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-oP7Y-D71.js → EventTypeAppCardInterface-WNZPsRIv.js} +2 -2
  24. package/dist/{EventTypeAppCardInterface-_NhDp6G9.js → EventTypeAppCardInterface-ZqUqSS1O.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-7GN6j8AM.js → EventTypeAppCardInterface-ZrWf66ce.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-dQVYLBqQ.js → EventTypeAppCardInterface-_3lalola.js} +2 -2
  27. package/dist/{EventTypeAppCardInterface-qgHbgrYd.js → EventTypeAppCardInterface-ao45jPH0.js} +3 -3
  28. package/dist/{EventTypeAppCardInterface-M9baAJLq.js → EventTypeAppCardInterface-brFr18mE.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-Uh2DIKQd.js → EventTypeAppCardInterface-c-xaajVH.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-CMnMtLfY.js → EventTypeAppCardInterface-hLJgdsLI.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-kJanA4A-.js → EventTypeAppCardInterface-iYj3cTdZ.js} +3 -3
  32. package/dist/EventTypeAppCardInterface-kxvIXOul.js +24 -0
  33. package/dist/{EventTypeAppCardInterface-0sd8Cdxd.js → EventTypeAppCardInterface-lX82Q5Jh.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-WVhSzlqC.js → EventTypeAppCardInterface-pi-nYyg1.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-g05IOUKd.js → EventTypeAppCardInterface-quqFvTVd.js} +4 -4
  36. package/dist/{EventTypeAppCardInterface-MntY9hI-.js → EventTypeAppCardInterface-zhD3uO1f.js} +3 -3
  37. package/dist/{EventTypeAppSettingsInterface-RRK1q-Lp.js → EventTypeAppSettingsInterface-1whHDae4.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-gcEZSOHf.js → EventTypeAppSettingsInterface-2sj2WJjh.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-hLI4D19p.js → EventTypeAppSettingsInterface-2vq_64FN.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-PxtTX1Kf.js → EventTypeAppSettingsInterface-AGLMWsEO.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-mj_uQ-3_.js → EventTypeAppSettingsInterface-AK7ShZFj.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-Sp6U8s_q.js → EventTypeAppSettingsInterface-Ai9j7-W4.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-aSqOIhBb.js → EventTypeAppSettingsInterface-IscefcbA.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-KMW86cEL.js → EventTypeAppSettingsInterface-PxXmeEq4.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-1v4hdk6g.js → EventTypeAppSettingsInterface-WSA9a0P9.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-3zs3t9bm.js → EventTypeAppSettingsInterface-Y48ol2nr.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-tm_-7KjA.js → EventTypeAppSettingsInterface-eZuVPoW0.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-HuZa50Y3.js → EventTypeAppSettingsInterface-q6mbdTiY.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-801GyYY1.js → EventTypeAppSettingsInterface-xpqBaj8M.js} +1 -1
  50. package/dist/{InstallAppButton-Y8LCstbB.js → InstallAppButton-T3U8jRFO.js} +1 -1
  51. package/dist/{InstallAppButton-H_SgtFIs.js → InstallAppButton-TS33CjnZ.js} +1 -1
  52. package/dist/{InstallAppButton-9yCGIfEB.js → InstallAppButton-Ywa4sUQJ.js} +1 -1
  53. package/dist/{PhoneInput-gKigredr.js → PhoneInput-roQxbVj0.js} +1 -1
  54. package/dist/{StripePaymentForm-1tATXYWd.js → StripePaymentForm-SCkdCvRB.js} +1 -1
  55. package/dist/cal-atoms.js +1 -1
  56. package/dist/{index-Frbhba-v.js → index-6QpphfoK.js} +1 -1
  57. package/dist/{index-LqaUD-Q9.js → index-Uy0rGDYS.js} +1 -1
  58. package/dist/{index-YITA4g0Y.js → index-xIgyKeg1.js} +51917 -51843
  59. package/dist/{index-XUQwctrQ.js → index-xJlkgRPp.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts +2 -1
  62. package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
  63. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +2 -0
  64. package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +3 -0
  67. package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +2 -0
  69. package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +2 -0
  71. package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
  72. package/dist/packages/features/data-table/DataTableProvider.d.ts +8 -7
  73. package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
  74. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts +2 -2
  75. package/dist/packages/features/data-table/components/segment/DuplicateSegmentDialog.d.ts.map +1 -1
  76. package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
  77. package/dist/packages/features/data-table/components/segment/RenameSegmentDialog.d.ts.map +1 -1
  78. package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
  79. package/dist/packages/features/data-table/hooks/useSegments.d.ts.map +1 -1
  80. package/dist/packages/features/data-table/lib/parsers.d.ts +3 -3
  81. package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -1
  82. package/dist/packages/features/data-table/lib/serializers.d.ts +2 -2
  83. package/dist/packages/features/data-table/lib/types.d.ts +36 -26
  84. package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
  85. package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
  86. package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
  87. package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
  88. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  89. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  90. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  91. package/dist/packages/platform/atoms/hooks/useMe.d.ts.map +1 -1
  92. package/dist/packages/platform/atoms/hooks/useVerifyCode.d.ts +18 -0
  93. package/dist/packages/platform/atoms/hooks/useVerifyCode.d.ts.map +1 -0
  94. package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts +19 -0
  95. package/dist/packages/platform/atoms/hooks/useVerifyEmail.d.ts.map +1 -0
  96. package/dist/packages/platform/libraries/index.d.ts +4 -0
  97. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  98. package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
  99. package/dist/packages/prisma/zod/userfiltersegmentpreference.d.ts +7 -4
  100. package/dist/packages/prisma/zod/userfiltersegmentpreference.d.ts.map +1 -1
  101. package/dist/packages/prisma-client/index.d.ts +88 -30
  102. package/dist/packages/trpc/react/shared.d.ts +1 -1
  103. package/dist/packages/trpc/react/shared.d.ts.map +1 -1
  104. package/dist/{useIsAppEnabled-K8IoHoem.js → useIsAppEnabled-ABSa6601.js} +1 -1
  105. package/package.json +1 -1
  106. package/dist/EventTypeAppCardInterface-o8PiUI-_.js +0 -24
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { X as n, e as o, s as c } from "./index-YITA4g0Y.js";
2
+ import { X as n, e as o, s as c } from "./index-xIgyKeg1.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 z, jsxs as er } from "react/jsx-runtime";
2
2
  import J from "react";
3
- import { V as tr, Y as nr } from "./index-YITA4g0Y.js";
3
+ import { V as tr, Y as nr } from "./index-xIgyKeg1.js";
4
4
  const K = 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 D, jsxs as a } from "react/jsx-runtime";
2
- import { ao as V, ap as v, s as u, X as N, aq as W, O as A, y as H, x as T, ar as q, u as j, a6 as C, as as L, G as F, am as U, at as g, q as G } from "./index-YITA4g0Y.js";
2
+ import { ao as V, ap as v, s as u, X as N, aq as W, O as A, y as H, x as T, ar as q, u as j, a6 as C, as as L, G as F, am as U, at as g, q as G } from "./index-xIgyKeg1.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(Q);
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index-YITA4g0Y.js";
2
+ import { A as p } from "./index-xIgyKeg1.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 { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-YITA4g0Y.js";
2
+ import { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-xIgyKeg1.js";
3
3
  import { useMemo as Q, 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,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { u as i, y as o } from "./index-YITA4g0Y.js";
2
+ import { u as i, y as o } from "./index-xIgyKeg1.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 { y as r, f as u, u as i } from "./index-YITA4g0Y.js";
3
+ import { y as r, f as u, u as i } from "./index-xIgyKeg1.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,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 { y as i, f as l, u as m } from "./index-YITA4g0Y.js";
3
+ import { y as i, f as l, u as m } from "./index-xIgyKeg1.js";
4
4
  function h() {
5
5
  const { t: a } = i(), n = "metric", [e, c] = s("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as i, jsxs as c, Fragment as f } from "react/jsx-runtime";
2
- import { r as h, s as m, $ as y, t as d, u as g, v as n, w as k } from "./index-YITA4g0Y.js";
2
+ import { r as h, s as m, $ as y, t as d, u as g, v as n, w as k } from "./index-xIgyKeg1.js";
3
3
  function w({
4
4
  className: s,
5
5
  dates: t,
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-YITA4g0Y.js";
3
- import { A as u } from "./AppCard-GCLu89Fy.js";
4
- import { u as I } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { G as l, f as m } from "./index-xIgyKeg1.js";
3
+ import { A as u } from "./AppCard-yIBrfFj9.js";
4
+ import { u as I } from "./useIsAppEnabled-ABSa6601.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 t, jsxs as e } from "react/jsx-runtime";
2
- import { G as m, X as o } from "./index-YITA4g0Y.js";
3
- import { A as u } from "./AppCard-GCLu89Fy.js";
4
- import { u as h } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { G as m, X as o } from "./index-xIgyKeg1.js";
3
+ import { A as u } from "./AppCard-yIBrfFj9.js";
4
+ import { u as h } from "./useIsAppEnabled-ABSa6601.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,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { y as b, z as f, G as y, J as E, W as C } from "./index-YITA4g0Y.js";
2
+ import { y as b, z as f, G as y, J as E, W as C } from "./index-xIgyKeg1.js";
3
3
  import { useState as P } from "react";
4
- import { A as g } from "./AppCard-GCLu89Fy.js";
5
- import { u as v } from "./useIsAppEnabled-K8IoHoem.js";
6
- import w from "./EventTypeAppSettingsInterface-RRK1q-Lp.js";
4
+ import { A as g } from "./AppCard-yIBrfFj9.js";
5
+ import { u as v } from "./useIsAppEnabled-ABSa6601.js";
6
+ import w from "./EventTypeAppSettingsInterface-1whHDae4.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 { G as d } from "./index-YITA4g0Y.js";
3
- import { A as m } from "./AppCard-GCLu89Fy.js";
4
- import { u as c } from "./useIsAppEnabled-K8IoHoem.js";
5
- import u from "./EventTypeAppSettingsInterface-KMW86cEL.js";
2
+ import { G as d } from "./index-xIgyKeg1.js";
3
+ import { A as m } from "./AppCard-yIBrfFj9.js";
4
+ import { u as c } from "./useIsAppEnabled-ABSa6601.js";
5
+ import u from "./EventTypeAppSettingsInterface-PxXmeEq4.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 e, Fragment as P } from "react/jsx-runtime";
2
- import { z as i, y as g, G as f, J as b, W as S } from "./index-YITA4g0Y.js";
2
+ import { z as i, y as g, G as f, J as b, W as S } from "./index-xIgyKeg1.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-GCLu89Fy.js";
5
- import E from "./EventTypeAppSettingsInterface-1v4hdk6g.js";
4
+ import { A as w } from "./AppCard-yIBrfFj9.js";
5
+ import E from "./EventTypeAppSettingsInterface-WSA9a0P9.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-YITA4g0Y.js";
3
- import { A as c } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
- import l from "./EventTypeAppSettingsInterface-tm_-7KjA.js";
2
+ import { G as m } from "./index-xIgyKeg1.js";
3
+ import { A as c } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.js";
5
+ import l from "./EventTypeAppSettingsInterface-Ai9j7-W4.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 { G as h, f as n } from "./index-YITA4g0Y.js";
3
- import { A as I } from "./AppCard-GCLu89Fy.js";
4
- import { u as C } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { G as h, f as n } from "./index-xIgyKeg1.js";
3
+ import { A as I } from "./AppCard-yIBrfFj9.js";
4
+ import { u as C } from "./useIsAppEnabled-ABSa6601.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 { jsx as e, Fragment as p } from "react/jsx-runtime";
2
- import { z as i, G as f, J as g, y as S, W as b } from "./index-YITA4g0Y.js";
2
+ import { z as i, G as f, J as g, y as S, W as b } from "./index-xIgyKeg1.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-GCLu89Fy.js";
5
- import E from "./EventTypeAppSettingsInterface-hLI4D19p.js";
4
+ import { A as w } from "./AppCard-yIBrfFj9.js";
5
+ import E from "./EventTypeAppSettingsInterface-2vq_64FN.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-YITA4g0Y.js";
3
- import { A as m } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { z as d, W as i } from "./index-xIgyKeg1.js";
3
+ import { A as m } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.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 a } from "react/jsx-runtime";
2
- import { G as m } from "./index-YITA4g0Y.js";
3
- import { A as c } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
- import l from "./EventTypeAppSettingsInterface-Sp6U8s_q.js";
2
+ import { G as m } from "./index-xIgyKeg1.js";
3
+ import { A as c } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.js";
5
+ import l from "./EventTypeAppSettingsInterface-AGLMWsEO.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 { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
- import { y as ae, a3 as h, a4 as $, a5 as q, q as p, I as b, S as f, u as F, a6 as D, z as te, G as ce, a7 as m, W as se, L as J, a8 as re, M as de } from "./index-YITA4g0Y.js";
2
+ import { y as ae, a3 as h, a4 as $, a5 as q, q as p, I as b, S as f, u as F, a6 as D, z as te, G as ce, a7 as m, W as se, L as J, a8 as re, M as de } from "./index-xIgyKeg1.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-GCLu89Fy.js";
5
- import { u as he } from "./useIsAppEnabled-K8IoHoem.js";
4
+ import { S as c, A as ue } from "./AppCard-yIBrfFj9.js";
5
+ import { u as he } from "./useIsAppEnabled-ABSa6601.js";
6
6
  var Q = /* @__PURE__ */ ((x) => (x.ON_BOOKING = "on_booking", x.ON_CANCEL = "on_cancel", x))(Q || {});
7
7
  const le = ({
8
8
  bookingAction: x,
@@ -1,9 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { y as b, z as f, G as y, J as E, W as P } from "./index-YITA4g0Y.js";
2
+ import { y as b, z as f, G as y, J as E, W as P } from "./index-xIgyKeg1.js";
3
3
  import { useState as C } from "react";
4
- import { A as g } from "./AppCard-GCLu89Fy.js";
5
- import { u as v } from "./useIsAppEnabled-K8IoHoem.js";
6
- import w from "./EventTypeAppSettingsInterface-mj_uQ-3_.js";
4
+ import { A as g } from "./AppCard-yIBrfFj9.js";
5
+ import { u as v } from "./useIsAppEnabled-ABSa6601.js";
6
+ import w from "./EventTypeAppSettingsInterface-AK7ShZFj.js";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: t,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-YITA4g0Y.js";
3
- import { A as c } from "./AppCard-GCLu89Fy.js";
4
- import { u as l } from "./useIsAppEnabled-K8IoHoem.js";
5
- import u from "./EventTypeAppSettingsInterface-aSqOIhBb.js";
2
+ import { G as m } from "./index-xIgyKeg1.js";
3
+ import { A as c } from "./AppCard-yIBrfFj9.js";
4
+ import { u as l } from "./useIsAppEnabled-ABSa6601.js";
5
+ import u from "./EventTypeAppSettingsInterface-IscefcbA.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 r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { G as m, f as l } from "./index-YITA4g0Y.js";
4
- import { A as f } from "./AppCard-GCLu89Fy.js";
3
+ import { G as m, f as l } from "./index-xIgyKeg1.js";
4
+ import { A as f } from "./AppCard-yIBrfFj9.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,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { G as d } from "./index-YITA4g0Y.js";
3
- import { A as c } from "./AppCard-GCLu89Fy.js";
4
- import { u as m } from "./useIsAppEnabled-K8IoHoem.js";
5
- import l from "./EventTypeAppSettingsInterface-HuZa50Y3.js";
2
+ import { G as d } from "./index-xIgyKeg1.js";
3
+ import { A as c } from "./AppCard-yIBrfFj9.js";
4
+ import { u as m } from "./useIsAppEnabled-ABSa6601.js";
5
+ import l from "./EventTypeAppSettingsInterface-q6mbdTiY.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,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-YITA4g0Y.js";
3
- import { A as m } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { z as d, W as i } from "./index-xIgyKeg1.js";
3
+ import { A as m } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.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 a, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-YITA4g0Y.js";
2
+ import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-xIgyKeg1.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-GCLu89Fy.js";
4
+ import { A as $ } from "./AppCard-yIBrfFj9.js";
5
5
  import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
6
  const U = function({ app: S, eventType: A }) {
7
7
  var f, h;
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-YITA4g0Y.js";
3
- import { A } from "./AppCard-GCLu89Fy.js";
4
- import { u as I } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { G as h, f as n } from "./index-xIgyKeg1.js";
3
+ import { A } from "./AppCard-yIBrfFj9.js";
4
+ import { u as I } from "./useIsAppEnabled-ABSa6601.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,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-YITA4g0Y.js";
3
- import { A as m } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { z as d, W as i } from "./index-xIgyKeg1.js";
3
+ import { A as m } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.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 a } from "react/jsx-runtime";
2
- import { G as m } from "./index-YITA4g0Y.js";
3
- import { A as c } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
- import l from "./EventTypeAppSettingsInterface-PxtTX1Kf.js";
2
+ import { G as m } from "./index-xIgyKeg1.js";
3
+ import { A as c } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.js";
5
+ import l from "./EventTypeAppSettingsInterface-eZuVPoW0.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 i } from "react/jsx-runtime";
2
- import { G as m, y as f } from "./index-YITA4g0Y.js";
3
- import { A as l } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
- import A from "./EventTypeAppSettingsInterface-gcEZSOHf.js";
2
+ import { G as m, y as f } from "./index-xIgyKeg1.js";
3
+ import { A as l } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.js";
5
+ import A from "./EventTypeAppSettingsInterface-2sj2WJjh.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,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-YITA4g0Y.js";
3
- import { A as m } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { z as d, W as i } from "./index-xIgyKeg1.js";
3
+ import { A as m } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.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);
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { z as d, W as i } from "./index-xIgyKeg1.js";
3
+ import { A as m } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.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,7 +1,7 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
- import { G as m, f as p } from "./index-YITA4g0Y.js";
3
- import { A } from "./AppCard-GCLu89Fy.js";
4
- import { u as I } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { G as m, f as p } from "./index-xIgyKeg1.js";
3
+ import { A } from "./AppCard-yIBrfFj9.js";
4
+ import { u as I } from "./useIsAppEnabled-ABSa6601.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 t, Fragment as u } from "react/jsx-runtime";
2
- import { y as A, z as y, G as g, J as b, W as f } from "./index-YITA4g0Y.js";
2
+ import { y as A, z as y, G as g, J as b, W as f } from "./index-xIgyKeg1.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard-GCLu89Fy.js";
5
- import C from "./EventTypeAppSettingsInterface-3zs3t9bm.js";
4
+ import { A as v } from "./AppCard-yIBrfFj9.js";
5
+ import C from "./EventTypeAppSettingsInterface-Y48ol2nr.js";
6
6
  const x = function({
7
7
  eventType: o,
8
8
  app: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-YITA4g0Y.js";
3
- import { A as c } from "./AppCard-GCLu89Fy.js";
4
- import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
- import l from "./EventTypeAppSettingsInterface-801GyYY1.js";
2
+ import { G as m } from "./index-xIgyKeg1.js";
3
+ import { A as c } from "./AppCard-yIBrfFj9.js";
4
+ import { u } from "./useIsAppEnabled-ABSa6601.js";
5
+ import l from "./EventTypeAppSettingsInterface-xpqBaj8M.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 t } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-YITA4g0Y.js";
3
- import { A as u } from "./AppCard-GCLu89Fy.js";
4
- import { u as h } from "./useIsAppEnabled-K8IoHoem.js";
2
+ import { G as l, f as m } from "./index-xIgyKeg1.js";
3
+ import { A as u } from "./AppCard-yIBrfFj9.js";
4
+ import { u as h } from "./useIsAppEnabled-ABSa6601.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);
@@ -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 P, useEffect as k } from "react";
3
- import { y as x, M as p, f as w, S as K } from "./index-YITA4g0Y.js";
3
+ import { y as x, M as p, f as w, S as K } from "./index-xIgyKeg1.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as o } from "react/jsx-runtime";
2
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-YITA4g0Y.js";
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-xIgyKeg1.js";
4
4
  const x = "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(""), [y, _] = d(x), w = async (n, f) => {
6
6
  if (u)
@@ -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 S } from "./currencyOptions-kannG2hu.js";
4
- import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-YITA4g0Y.js";
4
+ import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-xIgyKeg1.js";
5
5
  const H = ({
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-YITA4g0Y.js";
2
+ import { f as g } from "./index-xIgyKeg1.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -1,5 +1,5 @@
1
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-YITA4g0Y.js";
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-xIgyKeg1.js";
3
3
  import { useState as z, useEffect as G } from "react";
4
4
  const s = [
5
5
  { label: "United States dollar (USD)", value: "usd" },
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-YITA4g0Y.js";
2
+ import { f as s } from "./index-xIgyKeg1.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u } from "react";
3
- import { y as p, f as h, V as v, s as x } from "./index-YITA4g0Y.js";
3
+ import { y as p, f as h, V as v, s as x } from "./index-xIgyKeg1.js";
4
4
  const N = ({ eventType: n, disabled: d }) => {
5
5
  const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
6
6
  function s({ size: a, data: f }) {
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-YITA4g0Y.js";
2
+ import { f as o } from "./index-xIgyKeg1.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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 { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-YITA4g0Y.js";
3
+ import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-xIgyKeg1.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 { jsx as n, Fragment as D, jsxs as c } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as T } from "react";
3
- import { y as R, a2 as t, M as y, f as w, S as P } from "./index-YITA4g0Y.js";
3
+ import { y as R, a2 as t, M as y, f as w, S as P } from "./index-xIgyKeg1.js";
4
4
  const i = [
5
5
  { label: "SATS", value: "BTC", unit: "SATS" },
6
6
  { label: "USD- US Dollar", value: "USD", unit: "USD" },
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-YITA4g0Y.js";
2
+ import { f as c } from "./index-xIgyKeg1.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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 { O as p, S as h } from "./index-YITA4g0Y.js";
3
+ import { O as p, S as h } from "./index-xIgyKeg1.js";
4
4
  const S = ({}) => {
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-YITA4g0Y.js";
2
+ import { f as o } from "./index-xIgyKeg1.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as f, Fragment as l, jsx as m } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { x as d, an as E, W as g } from "./index-YITA4g0Y.js";
3
+ import { x as d, an as E, W as g } from "./index-xIgyKeg1.js";
4
4
  var s = /* @__PURE__ */ ((n) => (n.ACCOUNTS_STEP = "accounts", n.EVENT_TYPES_STEP = "event-types", n.CONFIGURE_STEP = "configure", n))(s || {}), i = function(n) {
5
5
  switch (typeof n) {
6
6
  case "string":
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { x as o } from "./index-YITA4g0Y.js";
2
+ import { x as o } from "./index-xIgyKeg1.js";
3
3
  function d(t) {
4
4
  const n = o("exchange2013_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { x as o } from "./index-YITA4g0Y.js";
2
+ import { x as o } from "./index-xIgyKeg1.js";
3
3
  function d(t) {
4
4
  const n = o("exchange2016_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
@@ -1,6 +1,6 @@
1
1
  import { jsx as vt } from "react/jsx-runtime";
2
2
  import Bt, { useState as $t, useEffect as Gt } from "react";
3
- import { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-YITA4g0Y.js";
3
+ import { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-xIgyKeg1.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }