@calcom/atoms 1.1.0 → 1.1.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 (86) hide show
  1. package/dist/{AddressInput-jTYf2K_0.js → AddressInput-NzvfumUI.js} +1 -1
  2. package/dist/{AlbyPriceComponent-vi6Ne8ce.js → AlbyPriceComponent-1-urrKvw.js} +1 -1
  3. package/dist/{AppCard-SvYOF2dh.js → AppCard-hN4JJeXf.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-G7wktrfn.js → AppListCardPlatformWrapper-SELRmds-.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-Os9E52Qt.js → AppListCardWebWrapper-qtbixhdy.js} +1 -1
  6. package/dist/{AppSettingsInterface-nFGHPlha.js → AppSettingsInterface-OjtqSpP5.js} +1 -1
  7. package/dist/{AppSettingsInterface-J6nXm3G7.js → AppSettingsInterface-SAdoqRc6.js} +1 -1
  8. package/dist/{AppSettingsInterface-OgnUWNfw.js → AppSettingsInterface-z-BTopkU.js} +1 -1
  9. package/dist/{DateRangePicker-ZSaMXGkj.js → DateRangePicker-ZFK77aaF.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-dyk1jvlB.js → EventTypeAppCardInterface--mLJhYJz.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-OkRLs1Nj.js → EventTypeAppCardInterface-2Cc6ahQQ.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-8pTLdfYq.js → EventTypeAppCardInterface-51K1dlPD.js} +2 -2
  13. package/dist/{EventTypeAppCardInterface-KdwTnKeS.js → EventTypeAppCardInterface-95cvERUq.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-lpZE36iz.js → EventTypeAppCardInterface-9IGJ0PSa.js} +4 -4
  15. package/dist/{EventTypeAppCardInterface-kdDXsn2t.js → EventTypeAppCardInterface-AmIuaGxY.js} +4 -4
  16. package/dist/{EventTypeAppCardInterface-6HNnD2Bu.js → EventTypeAppCardInterface-GjUOq6hk.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-igBUwXmB.js → EventTypeAppCardInterface-H4K3MAjp.js} +4 -4
  18. package/dist/{EventTypeAppCardInterface-CoXBhsKa.js → EventTypeAppCardInterface-IBHBvzdh.js} +3 -3
  19. package/dist/{EventTypeAppCardInterface-mbYcAdrt.js → EventTypeAppCardInterface-K87MBo9I.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-9zIX7otF.js → EventTypeAppCardInterface-OYjSCuch.js} +4 -4
  21. package/dist/{EventTypeAppCardInterface-pqxyLL_V.js → EventTypeAppCardInterface-QQqZv8fE.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-JDOi9pPA.js → EventTypeAppCardInterface-U75u_cIJ.js} +2 -2
  23. package/dist/{EventTypeAppCardInterface-pltIAywu.js → EventTypeAppCardInterface-Xoik_E4N.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-TWKoaryN.js → EventTypeAppCardInterface-YDDBcspM.js} +4 -4
  25. package/dist/{EventTypeAppCardInterface-AnaS7tFx.js → EventTypeAppCardInterface-bFnvA6B_.js} +3 -3
  26. package/dist/{EventTypeAppCardInterface-BnBwvEU5.js → EventTypeAppCardInterface-d-hNtzhT.js} +3 -3
  27. package/dist/{EventTypeAppCardInterface-n7y-m30w.js → EventTypeAppCardInterface-dqDNZgqG.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-9kHPQKWa.js → EventTypeAppCardInterface-j0fTh3VO.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-nst2-YAf.js → EventTypeAppCardInterface-nqLtZdvT.js} +3 -3
  30. package/dist/{EventTypeAppCardInterface-el7K76t7.js → EventTypeAppCardInterface-q5C_2X2L.js} +4 -4
  31. package/dist/{EventTypeAppCardInterface-xLjLweLU.js → EventTypeAppCardInterface-qtTTM8pf.js} +3 -3
  32. package/dist/{EventTypeAppCardInterface-WxOkgyZF.js → EventTypeAppCardInterface-s9iRBeJU.js} +4 -4
  33. package/dist/{EventTypeAppCardInterface-yvjBhZwh.js → EventTypeAppCardInterface-tAOaIu7e.js} +3 -3
  34. package/dist/{EventTypeAppCardInterface-4G13EhiE.js → EventTypeAppCardInterface-vFmAxtJ_.js} +3 -3
  35. package/dist/EventTypeAppCardInterface-y8QjZ8hH.js +24 -0
  36. package/dist/{EventTypeAppSettingsInterface-knPVdM4-.js → EventTypeAppSettingsInterface-9IDAwqSZ.js} +1 -1
  37. package/dist/{EventTypeAppSettingsInterface-qk25Po5H.js → EventTypeAppSettingsInterface-CCyIJ5PA.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-EPl9fNhQ.js → EventTypeAppSettingsInterface-GlYSNMSh.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-iHoes_Or.js → EventTypeAppSettingsInterface-ININd3TP.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-te3ObLjt.js → EventTypeAppSettingsInterface-MZ6AuQlx.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-7ZRCgBs3.js → EventTypeAppSettingsInterface-bWUcZj4D.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-G-ffPMtY.js → EventTypeAppSettingsInterface-hcNF3TE1.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-WxHcdhgY.js → EventTypeAppSettingsInterface-iXuGB_YY.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-gR0LgG7E.js → EventTypeAppSettingsInterface-lsxcvaFv.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-qI7bRcfD.js → EventTypeAppSettingsInterface-n2bRxRf2.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-1CqEVysa.js → EventTypeAppSettingsInterface-osAZr0qh.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-sac7BArb.js → EventTypeAppSettingsInterface-z1Quk5hj.js} +1 -1
  48. package/dist/{InstallAppButton-8xTHcT01.js → InstallAppButton-3vFrgQZL.js} +1 -1
  49. package/dist/{InstallAppButton-FikQLmny.js → InstallAppButton-ZZMl6U2j.js} +1 -1
  50. package/dist/{InstallAppButton-mDDERZ-X.js → InstallAppButton-lv0Q-gWg.js} +1 -1
  51. package/dist/{PhoneInput-cpjR8Fol.js → PhoneInput-95NAC5-_.js} +1 -1
  52. package/dist/{StripePaymentForm-2cx_Laf0.js → StripePaymentForm-14dnyzc0.js} +1 -1
  53. package/dist/cal-atoms.js +1 -1
  54. package/dist/{index-WlGYx3On.js → index-H0BzYsH6.js} +1 -1
  55. package/dist/{index-KxI44_NW.js → index-UNLJJou7.js} +1 -1
  56. package/dist/{index-AlZM6_XN.js → index-WCahCkE1.js} +43504 -43484
  57. package/dist/{index-6FFviCy8.js → index-_7uRh17g.js} +15 -15
  58. package/dist/packages/features/bookings/lib/create-booking.d.ts +49 -46
  59. package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
  60. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +49 -46
  61. package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +1 -0
  63. package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -0
  65. package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts.map +1 -1
  66. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +49 -46
  67. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  68. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +1 -0
  69. package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
  70. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +1 -0
  71. package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
  72. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +1 -0
  73. package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -1
  74. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts +49 -46
  75. package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
  76. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +49 -46
  77. package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
  78. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +49 -46
  79. package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
  80. package/dist/packages/prisma/zod/booking.d.ts +3 -0
  81. package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
  82. package/dist/packages/prisma-client/index.d.ts +105 -7
  83. package/dist/{useIsAppEnabled-WwvH0IPG.js → useIsAppEnabled-C8lVT7D4.js} +1 -1
  84. package/globals.min.css +3 -16
  85. package/package.json +3 -2
  86. package/dist/EventTypeAppCardInterface-zgnRuKOw.js +0 -24
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
2
- import { N as n, e as o, M as c } from "./index-AlZM6_XN.js";
2
+ import { N as n, e as o, M as c } from "./index-WCahCkE1.js";
3
3
  function r({ value: s, onChange: t, ...a }) {
4
4
  return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
5
5
  /* @__PURE__ */ e(
@@ -1,6 +1,6 @@
1
1
  import { jsx as K, jsxs as er } from "react/jsx-runtime";
2
2
  import z from "react";
3
- import { K as tr, O as nr } from "./index-AlZM6_XN.js";
3
+ import { K as tr, O as nr } from "./index-WCahCkE1.js";
4
4
  const J = function(s, r = !0) {
5
5
  if (s.destroyed)
6
6
  throw new Error("Hash instance has been destroyed");
@@ -1,5 +1,5 @@
1
1
  import { jsx as l, Fragment as O, jsxs as a } from "react/jsx-runtime";
2
- import { ag as V, ah as v, M as u, N as C, ai as W, y as A, q as H, u as T, aj as q, r as j, _ as N, ak as L, t as F, ae as M, al as g, p as U } from "./index-AlZM6_XN.js";
2
+ import { ag as V, ah as v, M as u, N as C, ai as W, y as A, q as H, u as T, aj as q, r as j, _ as N, ak as L, t as F, ae as M, al as g, p as U } from "./index-WCahCkE1.js";
3
3
  import * as c from "react";
4
4
  var y = c.forwardRef((e, r) => {
5
5
  const { children: t, ...n } = e, s = c.Children.toArray(t), i = s.find(Z);
@@ -1,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { A as p } from "./index-AlZM6_XN.js";
2
+ import { A as p } from "./index-WCahCkE1.js";
3
3
  function s(o) {
4
4
  const t = `https://app.cal.com${o.logo}`;
5
5
  return /* @__PURE__ */ r(p, { ...o, logo: t });
@@ -1,5 +1,5 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
- import { Q as i, s as y, R as A, U as R, A as Q } from "./index-AlZM6_XN.js";
2
+ import { Q as i, s as y, R as A, U as R, A as Q } from "./index-WCahCkE1.js";
3
3
  import { useMemo as $, useEffect as d, useCallback as b, useState as L, useRef as w } from "react";
4
4
  i.string().or(i.number()).or(i.array(i.number())).transform((r) => typeof r == "string" ? r.split(",").map((o) => Number(o)) : Array.isArray(r) ? r : [r]);
5
5
  i.preprocess((r) => i.string().parse(r).split(","), i.string().array()).or(i.string().array());
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as p } from "react";
3
- import { q as r, f as u, r as i } from "./index-AlZM6_XN.js";
3
+ import { q as r, f as u, r as i } from "./index-WCahCkE1.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 { q as i, f as l, r as m } from "./index-AlZM6_XN.js";
3
+ import { q as i, f as l, r as m } from "./index-WCahCkE1.js";
4
4
  function h() {
5
5
  const { t: a } = i(), n = "metric", [e, r] = s("");
6
6
  return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
2
- import { r as i, q as o } from "./index-AlZM6_XN.js";
2
+ import { r as i, q as o } from "./index-WCahCkE1.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,5 +1,5 @@
1
1
  import { jsx as d, jsxs as O, Fragment as T } from "react/jsx-runtime";
2
- import { M as J, aw as Ye, ax as Fe, N as Le, ay as Dt, az as Mt, r as _t, aA as kt } from "./index-AlZM6_XN.js";
2
+ import { M as J, aw as Ye, ax as Fe, N as Le, ay as Dt, az as Mt, r as _t, aA as kt } from "./index-WCahCkE1.js";
3
3
  import { createContext as q, forwardRef as Nt, useContext as Q, useState as K, useEffect as ie, useLayoutEffect as xt, useRef as Pt } from "react";
4
4
  function M(e) {
5
5
  const t = Object.prototype.toString.call(e);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as d } from "./index-AlZM6_XN.js";
3
- import { A as m } from "./AppCard-SvYOF2dh.js";
4
- import { u as c } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import u from "./EventTypeAppSettingsInterface-sac7BArb.js";
2
+ import { t as d } from "./index-WCahCkE1.js";
3
+ import { A as m } from "./AppCard-hN4JJeXf.js";
4
+ import { u as c } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import u from "./EventTypeAppSettingsInterface-z1Quk5hj.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,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-AlZM6_XN.js";
3
- import { A as m } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { s as d, W as i } from "./index-WCahCkE1.js";
3
+ import { A as m } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.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 r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { t as m, f as l } from "./index-AlZM6_XN.js";
4
- import { A as f } from "./AppCard-SvYOF2dh.js";
3
+ import { t as m, f as l } from "./index-WCahCkE1.js";
4
+ import { A as f } from "./AppCard-hN4JJeXf.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 p } from "react/jsx-runtime";
2
- import { t as l, f as m } from "./index-AlZM6_XN.js";
3
- import { A as u } from "./AppCard-SvYOF2dh.js";
4
- import { u as I } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { t as l, f as m } from "./index-WCahCkE1.js";
3
+ import { A as u } from "./AppCard-hN4JJeXf.js";
4
+ import { u as I } from "./useIsAppEnabled-C8lVT7D4.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 { t as m } from "./index-AlZM6_XN.js";
3
- import { A as c } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import l from "./EventTypeAppSettingsInterface-iHoes_Or.js";
2
+ import { t as m } from "./index-WCahCkE1.js";
3
+ import { A as c } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import l from "./EventTypeAppSettingsInterface-lsxcvaFv.js";
6
6
  const b = function({ app: t, eventType: e }) {
7
7
  var p;
8
8
  const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-AlZM6_XN.js";
3
- import { A as c } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import l from "./EventTypeAppSettingsInterface-gR0LgG7E.js";
2
+ import { t as m } from "./index-WCahCkE1.js";
3
+ import { A as c } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import l from "./EventTypeAppSettingsInterface-n2bRxRf2.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 o } from "react/jsx-runtime";
2
- import { q as b, s as f, t as y, v as E, W as P } from "./index-AlZM6_XN.js";
2
+ import { q as b, s as f, t as y, v as E, W as P } from "./index-WCahCkE1.js";
3
3
  import { useState as v } from "react";
4
- import { A as C } from "./AppCard-SvYOF2dh.js";
5
- import { u as g } from "./useIsAppEnabled-WwvH0IPG.js";
6
- import w from "./EventTypeAppSettingsInterface-knPVdM4-.js";
4
+ import { A as C } from "./AppCard-hN4JJeXf.js";
5
+ import { u as g } from "./useIsAppEnabled-C8lVT7D4.js";
6
+ import w from "./EventTypeAppSettingsInterface-9IDAwqSZ.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { t as d } from "./index-AlZM6_XN.js";
3
- import { A as c } from "./AppCard-SvYOF2dh.js";
4
- import { u as m } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import l from "./EventTypeAppSettingsInterface-WxHcdhgY.js";
2
+ import { t as d } from "./index-WCahCkE1.js";
3
+ import { A as c } from "./AppCard-hN4JJeXf.js";
4
+ import { u as m } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import l from "./EventTypeAppSettingsInterface-iXuGB_YY.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 e, Fragment as p } from "react/jsx-runtime";
2
- import { s as i, t as f, v as g, q as v, W as S } from "./index-AlZM6_XN.js";
2
+ import { s as i, t as f, v as g, q as v, W as S } from "./index-WCahCkE1.js";
3
3
  import { useMemo as b, useState as C } from "react";
4
- import { A as w } from "./AppCard-SvYOF2dh.js";
5
- import E from "./EventTypeAppSettingsInterface-EPl9fNhQ.js";
4
+ import { A as w } from "./AppCard-hN4JJeXf.js";
5
+ import E from "./EventTypeAppSettingsInterface-GlYSNMSh.js";
6
6
  const W = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as u } from "react/jsx-runtime";
2
- import { t as h, f as n } from "./index-AlZM6_XN.js";
3
- import { A } from "./AppCard-SvYOF2dh.js";
4
- import { u as I } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { t as h, f as n } from "./index-WCahCkE1.js";
3
+ import { A } from "./AppCard-hN4JJeXf.js";
4
+ import { u as I } from "./useIsAppEnabled-C8lVT7D4.js";
5
5
  const E = function({ app: t, eventType: i }) {
6
6
  var d;
7
7
  const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-AlZM6_XN.js";
3
- import { A as c } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import l from "./EventTypeAppSettingsInterface-qI7bRcfD.js";
2
+ import { t as m } from "./index-WCahCkE1.js";
3
+ import { A as c } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import l from "./EventTypeAppSettingsInterface-hcNF3TE1.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 { s as d, W as i } from "./index-AlZM6_XN.js";
3
- import { A as m } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { s as d, W as i } from "./index-WCahCkE1.js";
3
+ import { A as m } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.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, Fragment as o, jsxs as u } from "react/jsx-runtime";
2
- import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-AlZM6_XN.js";
2
+ import { s as v, q as F, t as T, w as a, W as _, x as L, f as V, S as x } from "./index-WCahCkE1.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-SvYOF2dh.js";
4
+ import { A as $ } from "./AppCard-hN4JJeXf.js";
5
5
  import { c as g, i as j, a as C } from "./currencyOptions-kannG2hu.js";
6
6
  const H = function({ app: S, eventType: A }) {
7
7
  var f, h;
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-AlZM6_XN.js";
3
- import { A as m } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { s as d, W as i } from "./index-WCahCkE1.js";
3
+ import { A as m } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -1,9 +1,9 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { q as b, s as f, t as E, v, W as y } from "./index-AlZM6_XN.js";
2
+ import { q as b, s as f, t as E, v, W as y } from "./index-WCahCkE1.js";
3
3
  import { useState as C } from "react";
4
- import { A as P } from "./AppCard-SvYOF2dh.js";
5
- import { u as g } from "./useIsAppEnabled-WwvH0IPG.js";
6
- import w from "./EventTypeAppSettingsInterface-7ZRCgBs3.js";
4
+ import { A as P } from "./AppCard-hN4JJeXf.js";
5
+ import { u as g } from "./useIsAppEnabled-C8lVT7D4.js";
6
+ import w from "./EventTypeAppSettingsInterface-bWUcZj4D.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,7 +1,7 @@
1
1
  import { jsx as a, jsxs as m } from "react/jsx-runtime";
2
- import { t as h, f as n } from "./index-AlZM6_XN.js";
3
- import { A as I } from "./AppCard-SvYOF2dh.js";
4
- import { u as C } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { t as h, f as n } from "./index-WCahCkE1.js";
3
+ import { A as I } from "./AppCard-hN4JJeXf.js";
4
+ import { u as C } from "./useIsAppEnabled-C8lVT7D4.js";
5
5
  const R = function({ app: s, eventType: o }) {
6
6
  var i;
7
7
  const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
@@ -1,8 +1,8 @@
1
1
  import { jsxs as c, Fragment as N, jsx as e } from "react/jsx-runtime";
2
- import { q as $, X as r, Y as K, Z as U, p as h, I as f, S as v, r as z, _ as q, s as ie, t as ce, $ as u, W as se, L as G, a0 as de, x as re } from "./index-AlZM6_XN.js";
2
+ import { q as $, X as r, Y as K, Z as U, p as h, I as f, S as v, r as z, _ as q, s as ie, t as ce, $ as u, W as se, L as G, a0 as de, x as re } from "./index-WCahCkE1.js";
3
3
  import { useState as S } from "react";
4
- import { S as a, A as ue } from "./AppCard-SvYOF2dh.js";
5
- import { u as he } from "./useIsAppEnabled-WwvH0IPG.js";
4
+ import { S as a, A as ue } from "./AppCard-hN4JJeXf.js";
5
+ import { u as he } from "./useIsAppEnabled-C8lVT7D4.js";
6
6
  var M = /* @__PURE__ */ ((_) => (_.ON_BOOKING = "on_booking", _.ON_CANCEL = "on_cancel", _))(M || {});
7
7
  const Y = ({
8
8
  bookingAction: _,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { t as m } from "./index-AlZM6_XN.js";
3
- import { A as c } from "./AppCard-SvYOF2dh.js";
4
- import { u as l } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import u from "./EventTypeAppSettingsInterface-te3ObLjt.js";
2
+ import { t as m } from "./index-WCahCkE1.js";
3
+ import { A as c } from "./AppCard-hN4JJeXf.js";
4
+ import { u as l } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import u from "./EventTypeAppSettingsInterface-MZ6AuQlx.js";
6
6
  const g = function({ eventType: e, app: t }) {
7
7
  var p;
8
8
  const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
@@ -1,7 +1,7 @@
1
1
  import { jsx as t, jsxs as h } from "react/jsx-runtime";
2
- import { t as m, f as p } from "./index-AlZM6_XN.js";
3
- import { A } from "./AppCard-SvYOF2dh.js";
4
- import { u as I } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { t as m, f as p } from "./index-WCahCkE1.js";
3
+ import { A } from "./AppCard-hN4JJeXf.js";
4
+ import { u as I } from "./useIsAppEnabled-C8lVT7D4.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,7 +1,7 @@
1
1
  import { jsx as t, jsxs as e } from "react/jsx-runtime";
2
- import { t as m, N as o } from "./index-AlZM6_XN.js";
3
- import { A as u } from "./AppCard-SvYOF2dh.js";
4
- import { u as h } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { t as m, N as o } from "./index-WCahCkE1.js";
3
+ import { A as u } from "./AppCard-hN4JJeXf.js";
4
+ import { u as h } from "./useIsAppEnabled-C8lVT7D4.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,8 +1,8 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { t as m, q as f } from "./index-AlZM6_XN.js";
3
- import { A as l } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import A from "./EventTypeAppSettingsInterface-qk25Po5H.js";
2
+ import { t as m, q as f } from "./index-WCahCkE1.js";
3
+ import { A as l } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import A from "./EventTypeAppSettingsInterface-CCyIJ5PA.js";
6
6
  const w = function({ app: t, eventType: e }) {
7
7
  var o;
8
8
  const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
- import { s as i, q as g, t as f, v as b, W as v } from "./index-AlZM6_XN.js";
2
+ import { s as i, q as g, t as f, v as b, W as v } from "./index-WCahCkE1.js";
3
3
  import { useMemo as S, useState as C } from "react";
4
- import { A as w } from "./AppCard-SvYOF2dh.js";
5
- import E from "./EventTypeAppSettingsInterface-1CqEVysa.js";
4
+ import { A as w } from "./AppCard-hN4JJeXf.js";
5
+ import E from "./EventTypeAppSettingsInterface-osAZr0qh.js";
6
6
  const W = 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 { t as m } from "./index-AlZM6_XN.js";
3
- import { A as c } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
5
- import l from "./EventTypeAppSettingsInterface-G-ffPMtY.js";
2
+ import { t as m } from "./index-WCahCkE1.js";
3
+ import { A as c } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.js";
5
+ import l from "./EventTypeAppSettingsInterface-ININd3TP.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 { t as l, f as m } from "./index-AlZM6_XN.js";
3
- import { A as u } from "./AppCard-SvYOF2dh.js";
4
- import { u as h } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { t as l, f as m } from "./index-WCahCkE1.js";
3
+ import { A as u } from "./AppCard-hN4JJeXf.js";
4
+ import { u as h } from "./useIsAppEnabled-C8lVT7D4.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 s } from "react/jsx-runtime";
2
- import { s as d, W as i } from "./index-AlZM6_XN.js";
3
- import { A as m } from "./AppCard-SvYOF2dh.js";
4
- import { u } from "./useIsAppEnabled-WwvH0IPG.js";
2
+ import { s as d, W as i } from "./index-WCahCkE1.js";
3
+ import { A as m } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.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 { s as d, W as i } from "./index-WCahCkE1.js";
3
+ import { A as m } from "./AppCard-hN4JJeXf.js";
4
+ import { u } from "./useIsAppEnabled-C8lVT7D4.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,5 +1,5 @@
1
1
  import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
2
- import { a1 as d, q as L, a2 as i, x as P, f as w, G as T, J as O, S as y, a3 as E, a4 as x, M as B, a5 as F, a6 as G } from "./index-AlZM6_XN.js";
2
+ import { a1 as d, q as L, a2 as i, x as P, f as w, G as T, J as O, S as y, a3 as E, a4 as x, M as B, a5 as F, a6 as G } from "./index-WCahCkE1.js";
3
3
  import { useState as K, useEffect as z } from "react";
4
4
  const s = [
5
5
  { label: "United States dollar (USD)", value: "usd" },
@@ -1,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 { q as I, a7 as P, a8 as j, e as T, r as g, M as k, x as A, a9 as E, aa as R, N as z } from "./index-AlZM6_XN.js";
3
+ import { q as I, a7 as P, a8 as j, e as T, r as g, M as k, x as A, a9 as E, aa as R, N as z } from "./index-WCahCkE1.js";
4
4
  const y = "search", C = "url", B = (s) => {
5
5
  const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [x, _] = d(y), w = async (n, f) => {
6
6
  if (u)
@@ -1,7 +1,7 @@
1
1
  import { jsx as l, jsxs as m, Fragment as w } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as _ } from "react";
3
3
  import { c as i, i as k, a as x } from "./currencyOptions-kannG2hu.js";
4
- import { z as r, q as E, x as S, f as F, G as q, J as T, S as O } from "./index-AlZM6_XN.js";
4
+ import { z as r, q as E, x as S, f as F, G as q, J as T, S as O } from "./index-WCahCkE1.js";
5
5
  const G = ({
6
6
  getAppData: n,
7
7
  setAppData: t,
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-AlZM6_XN.js";
2
+ import { f as s } from "./index-WCahCkE1.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 { q as p, f as h, K as v, M as x } from "./index-AlZM6_XN.js";
3
+ import { q as p, f as h, K as v, M as x } from "./index-WCahCkE1.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 { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as P } from "react";
3
- import { q as k, x as p, f as w, S as K } from "./index-AlZM6_XN.js";
3
+ import { q as k, x as p, f as w, S as K } from "./index-WCahCkE1.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 g } from "./index-AlZM6_XN.js";
2
+ import { f as g } from "./index-WCahCkE1.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as v } from "react";
3
- import { y as p, S as h } from "./index-AlZM6_XN.js";
3
+ import { y as p, S as h } from "./index-WCahCkE1.js";
4
4
  const P = ({}) => {
5
5
  const [n, u] = m(), [f, r] = m(), { data: e } = p.viewer.appBasecamp3.projects.useQuery(), d = p.viewer.appBasecamp3.projectMutation.useMutation();
6
6
  return v(
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-AlZM6_XN.js";
2
+ import { f as o } from "./index-WCahCkE1.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-AlZM6_XN.js";
2
+ import { f as c } from "./index-WCahCkE1.js";
3
3
  const s = ({
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 { q as _, V as t, x as g, f as C, O as P, S as p } from "./index-AlZM6_XN.js";
3
+ import { q as _, V as t, x as g, f as C, O as P, S as p } from "./index-WCahCkE1.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 { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-AlZM6_XN.js";
2
+ import { f as o } from "./index-WCahCkE1.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,5 +1,5 @@
1
1
  import { jsx as e, Fragment as a } from "react/jsx-runtime";
2
- import { u as o } from "./index-AlZM6_XN.js";
2
+ import { u as o } from "./index-WCahCkE1.js";
3
3
  function u(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 { u as o } from "./index-AlZM6_XN.js";
2
+ import { u as o } from "./index-WCahCkE1.js";
3
3
  function u(t) {
4
4
  const n = o("exchange2013_calendar");
5
5
  return /* @__PURE__ */ e(a, { children: t.render({
@@ -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 { u as d, af as E, W as g } from "./index-AlZM6_XN.js";
3
+ import { u as d, af as E, W as g } from "./index-WCahCkE1.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,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 { ab as Vt, ac as qt, ad as Kt, ae as Ut, M as It, y as Wt } from "./index-AlZM6_XN.js";
3
+ import { ab as Vt, ac as qt, ad as Kt, ae as Ut, M as It, y as Wt } from "./index-WCahCkE1.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }
@@ -1,6 +1,6 @@
1
1
  import { jsxs as H, jsx as g } from "react/jsx-runtime";
2
2
  import f, { useState as R, useEffect as Z } from "react";
3
- import { am as S, q as ee, b as Ce, r as G, W as Oe } from "./index-AlZM6_XN.js";
3
+ import { am as S, q as ee, b as Ce, r as G, W as Oe } from "./index-WCahCkE1.js";
4
4
  function Y(n, e) {
5
5
  var t = Object.keys(n);
6
6
  if (Object.getOwnPropertySymbols) {
package/dist/cal-atoms.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aD as s, aE as n, aR as t, aB as o, aZ as r, a$ as i, aQ as u, b1 as C, aY as l, a_ as d, aC as g, aP as c, b2 as p, aS as v, aX as S, b0 as T, aU as m, aF as y, aM as E, aN as b, aL as B, aG as k, b3 as A, b4 as O, aT as P, aJ as f, aK as D, aH as I, ae as R, aO as x, b5 as z, b6 as F, aV as G, aI as M, aW as U } from "./index-AlZM6_XN.js";
1
+ import { aD as s, aE as n, aR as t, aB as o, aZ as r, a$ as i, aQ as u, b1 as C, aY as l, a_ as d, aC as g, aP as c, b2 as p, aS as v, aX as S, b0 as T, aU as m, aF as y, aM as E, aN as b, aL as B, aG as k, b3 as A, b4 as O, aT as P, aJ as f, aK as D, aH as I, ae as R, aO as x, b5 as z, b6 as F, aV as G, aI as M, aW as U } from "./index-WCahCkE1.js";
2
2
  export {
3
3
  s as AvailabilitySettings,
4
4
  n as Booker,
@@ -1,4 +1,4 @@
1
- import { T as m, a as n } from "./index-AlZM6_XN.js";
1
+ import { T as m, a as n } from "./index-WCahCkE1.js";
2
2
  export {
3
3
  m as TimezoneSelect,
4
4
  n as TimezoneSelectComponent