@calcom/atoms 1.3.0 → 1.3.1

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 (85) hide show
  1. package/dist/{AddressInput-sMG4Ayqp.js → AddressInput-PV7ej7Dh.js} +1 -1
  2. package/dist/{AlbyPriceComponent-1rbVIc_T.js → AlbyPriceComponent-yWDmVyID.js} +1 -1
  3. package/dist/{AppCard-Zx_xfVt_.js → AppCard-4lsFofOP.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-qcAFCAXX.js → AppListCardPlatformWrapper-mavIjLoX.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-3Pbmp6y8.js → AppListCardWebWrapper-E4rFeVUL.js} +1 -1
  6. package/dist/{AppSettingsInterface-YsrrXooV.js → AppSettingsInterface-1ECb-eGL.js} +1 -1
  7. package/dist/{AppSettingsInterface-4XMEEbcJ.js → AppSettingsInterface-SMx0rhrP.js} +1 -1
  8. package/dist/{AppSettingsInterface-odT8kPt-.js → AppSettingsInterface-vkAV3Jq-.js} +1 -1
  9. package/dist/{DateRangePicker-DJBZW9da.js → DateRangePicker-FF6QrWWv.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-rvCvUanb.js → EventTypeAppCardInterface-2LX6RMKq.js} +3 -3
  11. package/dist/{EventTypeAppCardInterface-G_vO0W-q.js → EventTypeAppCardInterface-2bXQeyo2.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-omWnfJYA.js → EventTypeAppCardInterface-3_OzEh4S.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-0K5xbIex.js → EventTypeAppCardInterface-4WQGK5d3.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-xWjmxDRE.js → EventTypeAppCardInterface-D1OE6jGL.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-HLMEZBRF.js → EventTypeAppCardInterface-Dbx02Qtp.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-obLysXQC.js → EventTypeAppCardInterface-ECQy5_jF.js} +3 -3
  17. package/dist/{EventTypeAppCardInterface-se55G0wm.js → EventTypeAppCardInterface-EJ7vSpn7.js} +3 -3
  18. package/dist/{EventTypeAppCardInterface-FHw_ihqn.js → EventTypeAppCardInterface-Ej5y5wB2.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-31dw8z6g.js → EventTypeAppCardInterface-HAuMr26j.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-3DQk93Oh.js → EventTypeAppCardInterface-HH9e5NM3.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-A4ukS96V.js → EventTypeAppCardInterface-P6ANaRXE.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-t4XO8_QR.js → EventTypeAppCardInterface-SLLlwhTF.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-0OvYJLmR.js → EventTypeAppCardInterface-YsyyQucw.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-wk4GzNE9.js → EventTypeAppCardInterface-aNw-rctk.js} +2 -2
  25. package/dist/{EventTypeAppCardInterface-tDBXaZGm.js → EventTypeAppCardInterface-aof5TfU5.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-0kqrhpLm.js → EventTypeAppCardInterface-eWtAVevk.js} +4 -4
  27. package/dist/{EventTypeAppCardInterface-utbpEdvv.js → EventTypeAppCardInterface-jA0StO-p.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-pSepgnI-.js → EventTypeAppCardInterface-juIgeyaW.js} +4 -4
  29. package/dist/{EventTypeAppCardInterface-WkoM7u6A.js → EventTypeAppCardInterface-n5XUB5zh.js} +4 -4
  30. package/dist/EventTypeAppCardInterface-nHnp-f_B.js +24 -0
  31. package/dist/{EventTypeAppCardInterface-iQlInguK.js → EventTypeAppCardInterface-sCnBi-mW.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-h4Pze3Gg.js → EventTypeAppCardInterface-tW0Vnzy2.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-mK2_N-dB.js → EventTypeAppCardInterface-uvXLgnEb.js} +4 -4
  34. package/dist/{EventTypeAppCardInterface-lYTrL5Bl.js → EventTypeAppCardInterface-voyuklxT.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-OmcE4mB3.js → EventTypeAppCardInterface-xscYaAxr.js} +3 -3
  36. package/dist/{EventTypeAppCardInterface-9awj9ikp.js → EventTypeAppCardInterface-y_jea2qd.js} +2 -2
  37. package/dist/{EventTypeAppSettingsInterface-eqtUnnNt.js → EventTypeAppSettingsInterface-2SBSbFCU.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-uSZXgZw6.js → EventTypeAppSettingsInterface-9LmBTR_4.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-7bn1HSLI.js → EventTypeAppSettingsInterface-B5891wx6.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-VPwlxALu.js → EventTypeAppSettingsInterface-CN46bj0_.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-v7Pzk2Bm.js → EventTypeAppSettingsInterface-HvDJO9aW.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-KY9K2A4a.js → EventTypeAppSettingsInterface-LDtd3pKw.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-SyFwT8fy.js → EventTypeAppSettingsInterface-Lsx2he2j.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-2x-2dNXv.js → EventTypeAppSettingsInterface-M-phIaYV.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-qI5dfOri.js → EventTypeAppSettingsInterface-Pryhal8P.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-sgrrOkbn.js → EventTypeAppSettingsInterface-YLFWXdQz.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-WxLx9nXX.js → EventTypeAppSettingsInterface-_REB8BRg.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-W5ejZRBB.js → EventTypeAppSettingsInterface-eMmPRmMH.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-N3GZOEOV.js → EventTypeAppSettingsInterface-pMt1ppeg.js} +1 -1
  50. package/dist/{InstallAppButton-bTw6dwGS.js → InstallAppButton-NOXXlDQb.js} +1 -1
  51. package/dist/{InstallAppButton-Tmmia5nu.js → InstallAppButton-f_95VpK3.js} +1 -1
  52. package/dist/{InstallAppButton-JS_mFJ2c.js → InstallAppButton-fwJeBDlx.js} +1 -1
  53. package/dist/{PhoneInput-cqTlU9G5.js → PhoneInput-3kNrcLmH.js} +1 -1
  54. package/dist/{StripePaymentForm-sHV_1oj6.js → StripePaymentForm-LAfd5yhD.js} +1 -1
  55. package/dist/cal-atoms.js +1 -1
  56. package/dist/{index-oB7xnM_T.js → index-YoOZkYTB.js} +1 -1
  57. package/dist/{index-uQDDhsO6.js → index-YthdNsV6.js} +1 -1
  58. package/dist/{index-MLgFWWYi.js → index-dC9oWaTb.js} +72588 -72422
  59. package/dist/{index-SRsTKyeM.js → index-i9Hko2MN.js} +1 -1
  60. package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
  61. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts +11 -0
  62. package/dist/packages/features/bookings/Booker/BookerStoreProvider.d.ts.map +1 -0
  63. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts +10 -0
  64. package/dist/packages/features/bookings/Booker/__tests__/test-utils.d.ts.map +1 -0
  65. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts +2 -1
  66. package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
  67. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts +2 -1
  68. package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
  69. package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +2 -1
  71. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/Booker/components/Header.d.ts.map +1 -1
  73. package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +1 -1
  74. package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
  75. package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
  76. package/dist/packages/features/bookings/Booker/store.d.ts +6 -6
  77. package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
  78. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  79. package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
  80. package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
  81. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts +4 -0
  82. package/dist/packages/platform/types/event-types/inputs/private-link.input.d.ts.map +1 -1
  83. package/dist/{useIsAppEnabled-GIoK8AkC.js → useIsAppEnabled-qoop3Fxe.js} +1 -1
  84. package/package.json +1 -1
  85. package/dist/EventTypeAppCardInterface-z0_lwBiz.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-MLgFWWYi.js";
2
+ import { X as n, e as o, s as c } from "./index-dC9oWaTb.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-MLgFWWYi.js";
3
+ import { V as tr, Y as nr } from "./index-dC9oWaTb.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-MLgFWWYi.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-dC9oWaTb.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-MLgFWWYi.js";
2
+ import { A as p } from "./index-dC9oWaTb.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-MLgFWWYi.js";
2
+ import { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-dC9oWaTb.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,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-MLgFWWYi.js";
3
+ import { y as i, f as l, u as m } from "./index-dC9oWaTb.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 { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { u as i, y as o } from "./index-MLgFWWYi.js";
2
+ import { u as i, y as o } from "./index-dC9oWaTb.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-MLgFWWYi.js";
3
+ import { y as r, f as u, u as i } from "./index-dC9oWaTb.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 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-MLgFWWYi.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-dC9oWaTb.js";
3
3
  function w({
4
4
  className: s,
5
5
  dates: 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-MLgFWWYi.js";
3
- import { A as m } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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, jsxs as u } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-MLgFWWYi.js";
3
- import { A } from "./AppCard-Zx_xfVt_.js";
4
- import { u as I } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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 { G as m } from "./index-MLgFWWYi.js";
3
- import { A as c } from "./AppCard-Zx_xfVt_.js";
4
- import { u as l } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import u from "./EventTypeAppSettingsInterface-7bn1HSLI.js";
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";
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 a, jsxs as m } from "react/jsx-runtime";
2
- import { G as h, f as n } from "./index-MLgFWWYi.js";
3
- import { A as I } from "./AppCard-Zx_xfVt_.js";
4
- import { u as C } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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 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-MLgFWWYi.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-dC9oWaTb.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-Zx_xfVt_.js";
5
- import { u as he } from "./useIsAppEnabled-GIoK8AkC.js";
4
+ import { S as c, A as ue } from "./AppCard-4lsFofOP.js";
5
+ import { u as he } from "./useIsAppEnabled-qoop3Fxe.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,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-MLgFWWYi.js";
3
- import { A as u } from "./AppCard-Zx_xfVt_.js";
4
- import { u as h } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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 { z as d, W as i } from "./index-MLgFWWYi.js";
3
- import { A as m } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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-MLgFWWYi.js";
3
- import { A as m } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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-MLgFWWYi.js";
3
- import { A as c } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import l from "./EventTypeAppSettingsInterface-2x-2dNXv.js";
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";
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 p } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-MLgFWWYi.js";
3
- import { A as u } from "./AppCard-Zx_xfVt_.js";
4
- import { u as I } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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 i } from "react/jsx-runtime";
2
- import { G as m, y as f } from "./index-MLgFWWYi.js";
3
- import { A as l } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import A from "./EventTypeAppSettingsInterface-WxLx9nXX.js";
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";
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 t, jsxs as h } from "react/jsx-runtime";
2
- import { G as m, f as p } from "./index-MLgFWWYi.js";
3
- import { A } from "./AppCard-Zx_xfVt_.js";
4
- import { u as I } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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,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-MLgFWWYi.js";
2
+ import { y as b, z as f, G as y, J as E, W as P } from "./index-dC9oWaTb.js";
3
3
  import { useState as C } from "react";
4
- import { A as g } from "./AppCard-Zx_xfVt_.js";
5
- import { u as v } from "./useIsAppEnabled-GIoK8AkC.js";
6
- import w from "./EventTypeAppSettingsInterface-SyFwT8fy.js";
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";
7
7
  const q = function({
8
8
  app: e,
9
9
  eventType: 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-MLgFWWYi.js";
3
- import { A as m } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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-MLgFWWYi.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-dC9oWaTb.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-Zx_xfVt_.js";
4
+ import { A as $ } from "./AppCard-4lsFofOP.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 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-MLgFWWYi.js";
2
+ import { y as A, z as y, G as g, J as b, W as f } from "./index-dC9oWaTb.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard-Zx_xfVt_.js";
5
- import C from "./EventTypeAppSettingsInterface-v7Pzk2Bm.js";
4
+ import { A as v } from "./AppCard-4lsFofOP.js";
5
+ import C from "./EventTypeAppSettingsInterface-HvDJO9aW.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-MLgFWWYi.js";
3
- import { A as c } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import l from "./EventTypeAppSettingsInterface-qI5dfOri.js";
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";
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 e } from "react/jsx-runtime";
2
- import { G as d } from "./index-MLgFWWYi.js";
3
- import { A as c } from "./AppCard-Zx_xfVt_.js";
4
- import { u as m } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import l from "./EventTypeAppSettingsInterface-eqtUnnNt.js";
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";
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 { G as m } from "./index-MLgFWWYi.js";
3
- import { A as c } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import l from "./EventTypeAppSettingsInterface-KY9K2A4a.js";
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";
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,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-MLgFWWYi.js";
2
+ import { y as b, z as f, G as y, J as E, W as C } from "./index-dC9oWaTb.js";
3
3
  import { useState as P } from "react";
4
- import { A as g } from "./AppCard-Zx_xfVt_.js";
5
- import { u as v } from "./useIsAppEnabled-GIoK8AkC.js";
6
- import w from "./EventTypeAppSettingsInterface-W5ejZRBB.js";
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";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -0,0 +1,24 @@
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";
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 } from "react/jsx-runtime";
2
- import { G as l, f as m } from "./index-MLgFWWYi.js";
3
- import { A as u } from "./AppCard-Zx_xfVt_.js";
4
- import { u as h } from "./useIsAppEnabled-GIoK8AkC.js";
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";
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,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as d } from "./index-MLgFWWYi.js";
3
- import { A as m } from "./AppCard-Zx_xfVt_.js";
4
- import { u as c } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import u from "./EventTypeAppSettingsInterface-N3GZOEOV.js";
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";
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 a } from "react/jsx-runtime";
2
- import { G as m } from "./index-MLgFWWYi.js";
3
- import { A as c } from "./AppCard-Zx_xfVt_.js";
4
- import { u } from "./useIsAppEnabled-GIoK8AkC.js";
5
- import l from "./EventTypeAppSettingsInterface-uSZXgZw6.js";
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";
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 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-MLgFWWYi.js";
2
+ import { z as i, y as g, G as f, J as b, W as S } from "./index-dC9oWaTb.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-Zx_xfVt_.js";
5
- import E from "./EventTypeAppSettingsInterface-sgrrOkbn.js";
4
+ import { A as w } from "./AppCard-4lsFofOP.js";
5
+ import E from "./EventTypeAppSettingsInterface-YLFWXdQz.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -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-MLgFWWYi.js";
2
+ import { z as i, G as f, J as g, y as S, W as b } from "./index-dC9oWaTb.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-Zx_xfVt_.js";
5
- import E from "./EventTypeAppSettingsInterface-VPwlxALu.js";
4
+ import { A as w } from "./AppCard-4lsFofOP.js";
5
+ import E from "./EventTypeAppSettingsInterface-CN46bj0_.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -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-MLgFWWYi.js";
4
- import { A as f } from "./AppCard-Zx_xfVt_.js";
3
+ import { G as m, f as l } from "./index-dC9oWaTb.js";
4
+ import { A as f } from "./AppCard-4lsFofOP.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,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-MLgFWWYi.js";
3
+ import { O as p, S as h } from "./index-dC9oWaTb.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 o } from "react/jsx-runtime";
2
- import { f as c } from "./index-MLgFWWYi.js";
2
+ import { f as c } from "./index-dC9oWaTb.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 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-MLgFWWYi.js";
3
+ import { y as p, f as h, V as v, s as x } from "./index-dC9oWaTb.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,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-MLgFWWYi.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";
5
5
  const H = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
@@ -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-MLgFWWYi.js";
3
+ import { y as R, a2 as t, M as y, f as w, S as P } from "./index-dC9oWaTb.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 i } from "react/jsx-runtime";
2
- import { f as g } from "./index-MLgFWWYi.js";
2
+ import { f as g } from "./index-dC9oWaTb.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-MLgFWWYi.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-dC9oWaTb.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-MLgFWWYi.js";
2
+ import { f as s } from "./index-dC9oWaTb.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-MLgFWWYi.js";
2
+ import { f as o } from "./index-dC9oWaTb.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-MLgFWWYi.js";
3
+ import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-dC9oWaTb.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 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-MLgFWWYi.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-dC9oWaTb.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,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-MLgFWWYi.js";
3
+ import { y as x, M as p, f as w, S as K } from "./index-dC9oWaTb.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-MLgFWWYi.js";
2
+ import { f as o } from "./index-dC9oWaTb.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-MLgFWWYi.js";
3
+ import { x as d, an as E, W as g } from "./index-dC9oWaTb.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-MLgFWWYi.js";
2
+ import { x as o } from "./index-dC9oWaTb.js";
3
3
  function d(t) {
4
4
  const n = o("exchange2016_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-MLgFWWYi.js";
2
+ import { x as o } from "./index-dC9oWaTb.js";
3
3
  function d(t) {
4
4
  const n = o("exchange2013_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-MLgFWWYi.js";
3
+ import { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-dC9oWaTb.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }