@calcom/atoms 1.3.1 → 1.4.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 (84) hide show
  1. package/dist/{AddressInput-PV7ej7Dh.js → AddressInput-oBqEc36p.js} +1 -1
  2. package/dist/{AlbyPriceComponent-yWDmVyID.js → AlbyPriceComponent-mtspbv1Z.js} +1 -1
  3. package/dist/{AppCard-4lsFofOP.js → AppCard-HKcGH7KI.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-mavIjLoX.js → AppListCardPlatformWrapper-r8Hitr0l.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-E4rFeVUL.js → AppListCardWebWrapper-vejVG2AV.js} +1 -1
  6. package/dist/{AppSettingsInterface-SMx0rhrP.js → AppSettingsInterface-nEGM5s84.js} +1 -1
  7. package/dist/{AppSettingsInterface-vkAV3Jq-.js → AppSettingsInterface-qxGtpTiN.js} +1 -1
  8. package/dist/{AppSettingsInterface-1ECb-eGL.js → AppSettingsInterface-sZRl3Mr6.js} +1 -1
  9. package/dist/{DateRangePicker-FF6QrWWv.js → DateRangePicker-35rSj6si.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-juIgeyaW.js → EventTypeAppCardInterface-3FT5nxjW.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-ECQy5_jF.js → EventTypeAppCardInterface-3G3-8wgP.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-aNw-rctk.js → EventTypeAppCardInterface-4BC7MtM9.js} +2 -2
  13. package/dist/{EventTypeAppCardInterface-xscYaAxr.js → EventTypeAppCardInterface-5dgM-Uqy.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-SLLlwhTF.js → EventTypeAppCardInterface-6nH3STHb.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-4WQGK5d3.js → EventTypeAppCardInterface-7Fa6yG1D.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-voyuklxT.js → EventTypeAppCardInterface-7RirPSFI.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-uvXLgnEb.js → EventTypeAppCardInterface-AGvK3dWC.js} +4 -4
  18. package/dist/{EventTypeAppCardInterface-YsyyQucw.js → EventTypeAppCardInterface-B0TNZbec.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-EJ7vSpn7.js → EventTypeAppCardInterface-BsVjKokG.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-P6ANaRXE.js → EventTypeAppCardInterface-HCOkEHH_.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-D1OE6jGL.js → EventTypeAppCardInterface-NPVbq3L2.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-jA0StO-p.js → EventTypeAppCardInterface-OuKoklDG.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-HH9e5NM3.js → EventTypeAppCardInterface-W0eXvwJ6.js} +4 -4
  24. package/dist/{EventTypeAppCardInterface-2LX6RMKq.js → EventTypeAppCardInterface-YCW2vw93.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-Ej5y5wB2.js → EventTypeAppCardInterface-asX2AyDB.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-sCnBi-mW.js → EventTypeAppCardInterface-d4eBiO7E.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-2bXQeyo2.js → EventTypeAppCardInterface-fXkSopxu.js} +3 -3
  28. package/dist/EventTypeAppCardInterface-g7tp7Yhd.js +24 -0
  29. package/dist/{EventTypeAppCardInterface-tW0Vnzy2.js → EventTypeAppCardInterface-gHA1xrj1.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-aof5TfU5.js → EventTypeAppCardInterface-gPp6kDAS.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-3_OzEh4S.js → EventTypeAppCardInterface-gjVYt_ZD.js} +4 -4
  32. package/dist/{EventTypeAppCardInterface-y_jea2qd.js → EventTypeAppCardInterface-kmftUrCV.js} +2 -2
  33. package/dist/{EventTypeAppCardInterface-Dbx02Qtp.js → EventTypeAppCardInterface-sG1mFyzN.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-n5XUB5zh.js → EventTypeAppCardInterface-sRqedemb.js} +4 -4
  35. package/dist/{EventTypeAppCardInterface-HAuMr26j.js → EventTypeAppCardInterface-sZ8b3QC1.js} +3 -3
  36. package/dist/{EventTypeAppCardInterface-eWtAVevk.js → EventTypeAppCardInterface-t_YQeAVV.js} +4 -4
  37. package/dist/{EventTypeAppSettingsInterface-Lsx2he2j.js → EventTypeAppSettingsInterface-4yNMo4Q9.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-eMmPRmMH.js → EventTypeAppSettingsInterface-BfRfPQNh.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-2SBSbFCU.js → EventTypeAppSettingsInterface-D72l4G-t.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-CN46bj0_.js → EventTypeAppSettingsInterface-J1v2pIJ6.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-9LmBTR_4.js → EventTypeAppSettingsInterface-TNrelj_x.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-_REB8BRg.js → EventTypeAppSettingsInterface-hfofyLH8.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-pMt1ppeg.js → EventTypeAppSettingsInterface-iPaHKtIn.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-HvDJO9aW.js → EventTypeAppSettingsInterface-iscD_8j0.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-B5891wx6.js → EventTypeAppSettingsInterface-lCQQSWge.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-YLFWXdQz.js → EventTypeAppSettingsInterface-pqAHbpj-.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-M-phIaYV.js → EventTypeAppSettingsInterface-r12RWRqC.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-Pryhal8P.js → EventTypeAppSettingsInterface-rUiI0j3i.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-LDtd3pKw.js → EventTypeAppSettingsInterface-xrBzd-pp.js} +1 -1
  50. package/dist/{InstallAppButton-NOXXlDQb.js → InstallAppButton-N6EWQ7cN.js} +1 -1
  51. package/dist/{InstallAppButton-fwJeBDlx.js → InstallAppButton-bRxGl3Ky.js} +1 -1
  52. package/dist/{InstallAppButton-f_95VpK3.js → InstallAppButton-fNl0KaRA.js} +1 -1
  53. package/dist/{PhoneInput-3kNrcLmH.js → PhoneInput-uwxWFpdD.js} +1 -1
  54. package/dist/{StripePaymentForm-LAfd5yhD.js → StripePaymentForm-Iym6ImTI.js} +1 -1
  55. package/dist/cal-atoms.js +1 -1
  56. package/dist/{index-YoOZkYTB.js → index-0N1b0J1c.js} +1 -1
  57. package/dist/{index-YthdNsV6.js → index-7HDflSvQ.js} +1 -1
  58. package/dist/{index-dC9oWaTb.js → index-ZlYpjCCS.js} +12740 -12738
  59. package/dist/{index-i9Hko2MN.js → index-ju7GeYL2.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts +39 -0
  61. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  63. package/dist/packages/features/ee/round-robin/roundRobinDeleteEvents.test.d.ts +2 -0
  64. package/dist/packages/features/ee/round-robin/roundRobinDeleteEvents.test.d.ts.map +1 -0
  65. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  66. package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
  67. package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
  68. package/dist/packages/platform/libraries/repositories.d.ts +1 -0
  69. package/dist/packages/platform/libraries/repositories.d.ts.map +1 -1
  70. package/dist/packages/platform/libraries/slots.d.ts +2 -0
  71. package/dist/packages/platform/libraries/slots.d.ts.map +1 -1
  72. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +1 -0
  73. package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
  74. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +1 -0
  75. package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
  76. package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts +19 -7
  77. package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +1 -1
  78. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +21 -0
  79. package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
  80. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +2 -0
  81. package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
  82. package/dist/{useIsAppEnabled-qoop3Fxe.js → useIsAppEnabled-BJ4EJ4jB.js} +1 -1
  83. package/package.json +1 -1
  84. package/dist/EventTypeAppCardInterface-nHnp-f_B.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-dC9oWaTb.js";
2
+ import { X as n, e as o, s as c } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
3
+ import { V as tr, Y as nr } from "./index-ZlYpjCCS.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-dC9oWaTb.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-ZlYpjCCS.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-dC9oWaTb.js";
2
+ import { A as p } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
2
+ import { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
2
+ import { u as i, y as o } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
3
+ import { y as r, f as u, u as i } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
3
+ import { y as i, f as l, u as m } from "./index-ZlYpjCCS.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-dC9oWaTb.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-ZlYpjCCS.js";
3
3
  function w({
4
4
  className: s,
5
5
  dates: t,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-dC9oWaTb.js";
3
- import { A as c } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import l from "./EventTypeAppSettingsInterface-M-phIaYV.js";
2
+ import { G as m } from "./index-ZlYpjCCS.js";
3
+ import { A as c } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import l from "./EventTypeAppSettingsInterface-r12RWRqC.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 s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-dC9oWaTb.js";
3
- import { A as m } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { z as d, W as i } from "./index-ZlYpjCCS.js";
3
+ import { A as m } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.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-dC9oWaTb.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-ZlYpjCCS.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-4lsFofOP.js";
4
+ import { A as $ } from "./AppCard-HKcGH7KI.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,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-dC9oWaTb.js";
2
+ import { z as i, G as f, J as g, y as S, W as b } from "./index-ZlYpjCCS.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-4lsFofOP.js";
5
- import E from "./EventTypeAppSettingsInterface-CN46bj0_.js";
4
+ import { A as w } from "./AppCard-HKcGH7KI.js";
5
+ import E from "./EventTypeAppSettingsInterface-J1v2pIJ6.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -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-dC9oWaTb.js";
2
+ import { y as b, z as f, G as y, J as E, W as P } from "./index-ZlYpjCCS.js";
3
3
  import { useState as C } from "react";
4
- import { A as g } from "./AppCard-4lsFofOP.js";
5
- import { u as v } from "./useIsAppEnabled-qoop3Fxe.js";
6
- import w from "./EventTypeAppSettingsInterface-Lsx2he2j.js";
4
+ import { A as g } from "./AppCard-HKcGH7KI.js";
5
+ import { u as v } from "./useIsAppEnabled-BJ4EJ4jB.js";
6
+ import w from "./EventTypeAppSettingsInterface-4yNMo4Q9.js";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: 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-dC9oWaTb.js";
3
- import { A as I } from "./AppCard-4lsFofOP.js";
4
- import { u as C } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { G as h, f as n } from "./index-ZlYpjCCS.js";
3
+ import { A as I } from "./AppCard-HKcGH7KI.js";
4
+ import { u as C } from "./useIsAppEnabled-BJ4EJ4jB.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, y as g, G as f, J as b, W as S } from "./index-dC9oWaTb.js";
2
+ import { z as i, y as g, G as f, J as b, W as S } from "./index-ZlYpjCCS.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-4lsFofOP.js";
5
- import E from "./EventTypeAppSettingsInterface-YLFWXdQz.js";
4
+ import { A as w } from "./AppCard-HKcGH7KI.js";
5
+ import E from "./EventTypeAppSettingsInterface-pqAHbpj-.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-dC9oWaTb.js";
3
- import { A as c } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import l from "./EventTypeAppSettingsInterface-Pryhal8P.js";
2
+ import { G as m } from "./index-ZlYpjCCS.js";
3
+ import { A as c } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import l from "./EventTypeAppSettingsInterface-xrBzd-pp.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 s } from "react/jsx-runtime";
2
- import { z as d, W as i } from "./index-dC9oWaTb.js";
3
- import { A as m } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { z as d, W as i } from "./index-ZlYpjCCS.js";
3
+ import { A as m } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.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 { z as d, W as i } from "./index-dC9oWaTb.js";
3
- import { A as m } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { z as d, W as i } from "./index-ZlYpjCCS.js";
3
+ import { A as m } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.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 t, jsxs as h } from "react/jsx-runtime";
2
- import { G as m, f as p } from "./index-dC9oWaTb.js";
3
- import { A } from "./AppCard-4lsFofOP.js";
4
- import { u as I } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { G as m, f as p } from "./index-ZlYpjCCS.js";
3
+ import { A } from "./AppCard-HKcGH7KI.js";
4
+ import { u as I } from "./useIsAppEnabled-BJ4EJ4jB.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 { 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-dC9oWaTb.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-ZlYpjCCS.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-4lsFofOP.js";
5
- import { u as he } from "./useIsAppEnabled-qoop3Fxe.js";
4
+ import { S as c, A as ue } from "./AppCard-HKcGH7KI.js";
5
+ import { u as he } from "./useIsAppEnabled-BJ4EJ4jB.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,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { G as d } from "./index-dC9oWaTb.js";
3
- import { A as c } from "./AppCard-4lsFofOP.js";
4
- import { u as m } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import l from "./EventTypeAppSettingsInterface-2SBSbFCU.js";
2
+ import { G as d } from "./index-ZlYpjCCS.js";
3
+ import { A as c } from "./AppCard-HKcGH7KI.js";
4
+ import { u as m } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import l from "./EventTypeAppSettingsInterface-D72l4G-t.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 i } from "react/jsx-runtime";
2
- import { G as m, y as f } from "./index-dC9oWaTb.js";
3
- import { A as l } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import A from "./EventTypeAppSettingsInterface-_REB8BRg.js";
2
+ import { G as m, y as f } from "./index-ZlYpjCCS.js";
3
+ import { A as l } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import A from "./EventTypeAppSettingsInterface-hfofyLH8.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-dC9oWaTb.js";
3
- import { A as m } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { z as d, W as i } from "./index-ZlYpjCCS.js";
3
+ import { A as m } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.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-dC9oWaTb.js";
3
- import { A as c } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import l from "./EventTypeAppSettingsInterface-LDtd3pKw.js";
2
+ import { G as m } from "./index-ZlYpjCCS.js";
3
+ import { A as c } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import l from "./EventTypeAppSettingsInterface-TNrelj_x.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-dC9oWaTb.js";
3
- import { A as u } from "./AppCard-4lsFofOP.js";
4
- import { u as h } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { G as l, f as m } from "./index-ZlYpjCCS.js";
3
+ import { A as u } from "./AppCard-HKcGH7KI.js";
4
+ import { u as h } from "./useIsAppEnabled-BJ4EJ4jB.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,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-dC9oWaTb.js";
3
- import { A } from "./AppCard-4lsFofOP.js";
4
- import { u as I } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { G as h, f as n } from "./index-ZlYpjCCS.js";
3
+ import { A } from "./AppCard-HKcGH7KI.js";
4
+ import { u as I } from "./useIsAppEnabled-BJ4EJ4jB.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);
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { z as d, W as i } from "./index-ZlYpjCCS.js";
3
+ import { A as m } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.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,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as d } from "./index-dC9oWaTb.js";
3
- import { A as m } from "./AppCard-4lsFofOP.js";
4
- import { u as c } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import u from "./EventTypeAppSettingsInterface-pMt1ppeg.js";
2
+ import { G as d } from "./index-ZlYpjCCS.js";
3
+ import { A as m } from "./AppCard-HKcGH7KI.js";
4
+ import { u as c } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import u from "./EventTypeAppSettingsInterface-iPaHKtIn.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 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-dC9oWaTb.js";
2
+ import { y as A, z as y, G as g, J as b, W as f } from "./index-ZlYpjCCS.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard-4lsFofOP.js";
5
- import C from "./EventTypeAppSettingsInterface-HvDJO9aW.js";
4
+ import { A as v } from "./AppCard-HKcGH7KI.js";
5
+ import C from "./EventTypeAppSettingsInterface-iscD_8j0.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-dC9oWaTb.js";
3
- import { A as c } from "./AppCard-4lsFofOP.js";
4
- import { u as l } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import u from "./EventTypeAppSettingsInterface-B5891wx6.js";
2
+ import { G as m } from "./index-ZlYpjCCS.js";
3
+ import { A as c } from "./AppCard-HKcGH7KI.js";
4
+ import { u as l } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import u from "./EventTypeAppSettingsInterface-lCQQSWge.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-dC9oWaTb.js";
4
- import { A as f } from "./AppCard-4lsFofOP.js";
3
+ import { G as m, f as l } from "./index-ZlYpjCCS.js";
4
+ import { A as f } from "./AppCard-HKcGH7KI.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 e } from "react/jsx-runtime";
2
- import { G as m, X as o } from "./index-dC9oWaTb.js";
3
- import { A as u } from "./AppCard-4lsFofOP.js";
4
- import { u as h } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { G as m, X as o } from "./index-ZlYpjCCS.js";
3
+ import { A as u } from "./AppCard-HKcGH7KI.js";
4
+ import { u as h } from "./useIsAppEnabled-BJ4EJ4jB.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-dC9oWaTb.js";
2
+ import { y as b, z as f, G as y, J as E, W as C } from "./index-ZlYpjCCS.js";
3
3
  import { useState as P } from "react";
4
- import { A as g } from "./AppCard-4lsFofOP.js";
5
- import { u as v } from "./useIsAppEnabled-qoop3Fxe.js";
6
- import w from "./EventTypeAppSettingsInterface-eMmPRmMH.js";
4
+ import { A as g } from "./AppCard-HKcGH7KI.js";
5
+ import { u as v } from "./useIsAppEnabled-BJ4EJ4jB.js";
6
+ import w from "./EventTypeAppSettingsInterface-BfRfPQNh.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-dC9oWaTb.js";
3
- import { A as u } from "./AppCard-4lsFofOP.js";
4
- import { u as I } from "./useIsAppEnabled-qoop3Fxe.js";
2
+ import { G as l, f as m } from "./index-ZlYpjCCS.js";
3
+ import { A as u } from "./AppCard-HKcGH7KI.js";
4
+ import { u as I } from "./useIsAppEnabled-BJ4EJ4jB.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,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as m } from "./index-dC9oWaTb.js";
3
- import { A as c } from "./AppCard-4lsFofOP.js";
4
- import { u } from "./useIsAppEnabled-qoop3Fxe.js";
5
- import l from "./EventTypeAppSettingsInterface-9LmBTR_4.js";
2
+ import { G as m } from "./index-ZlYpjCCS.js";
3
+ import { A as c } from "./AppCard-HKcGH7KI.js";
4
+ import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
5
+ import l from "./EventTypeAppSettingsInterface-rUiI0j3i.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,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-dC9oWaTb.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-ZlYpjCCS.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,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-dC9oWaTb.js";
3
+ import { y as x, M as p, f as w, S as K } from "./index-ZlYpjCCS.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -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-dC9oWaTb.js";
3
+ import { O as p, S as h } from "./index-ZlYpjCCS.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,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-dC9oWaTb.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-ZlYpjCCS.js";
5
5
  const H = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-dC9oWaTb.js";
2
+ import { f as c } from "./index-ZlYpjCCS.js";
3
3
  const s = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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-dC9oWaTb.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-ZlYpjCCS.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,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-dC9oWaTb.js";
2
+ import { f as o } from "./index-ZlYpjCCS.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -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-dC9oWaTb.js";
3
+ import { y as R, a2 as t, M as y, f as w, S as P } from "./index-ZlYpjCCS.js";
4
4
  const i = [
5
5
  { label: "SATS", value: "BTC", unit: "SATS" },
6
6
  { label: "USD- US Dollar", value: "USD", unit: "USD" },
@@ -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-dC9oWaTb.js";
3
+ import { y as p, f as h, V as v, s as x } from "./index-ZlYpjCCS.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,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-dC9oWaTb.js";
3
+ import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-ZlYpjCCS.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-dC9oWaTb.js";
2
+ import { f as s } from "./index-ZlYpjCCS.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-dC9oWaTb.js";
2
+ import { f as o } from "./index-ZlYpjCCS.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as g } from "./index-dC9oWaTb.js";
2
+ import { f as g } from "./index-ZlYpjCCS.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -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-dC9oWaTb.js";
3
+ import { x as d, an as E, W as g } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
2
+ import { x as o } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
2
+ import { x as o } from "./index-ZlYpjCCS.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-dC9oWaTb.js";
3
+ import { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-ZlYpjCCS.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }