@calcom/atoms 1.4.0 → 1.5.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 (98) hide show
  1. package/dist/{AddressInput-oBqEc36p.js → AddressInput-4kKVWWz5.js} +1 -1
  2. package/dist/{AlbyPriceComponent-mtspbv1Z.js → AlbyPriceComponent-bn8U8cDo.js} +1 -1
  3. package/dist/{AppCard-HKcGH7KI.js → AppCard-GCLu89Fy.js} +1 -1
  4. package/dist/{AppListCardPlatformWrapper-r8Hitr0l.js → AppListCardPlatformWrapper-xoj67n-W.js} +1 -1
  5. package/dist/{AppListCardWebWrapper-vejVG2AV.js → AppListCardWebWrapper-WeWRq3jT.js} +1 -1
  6. package/dist/{AppSettingsInterface-qxGtpTiN.js → AppSettingsInterface-7V1sdak-.js} +1 -1
  7. package/dist/{AppSettingsInterface-sZRl3Mr6.js → AppSettingsInterface-epep0Hef.js} +1 -1
  8. package/dist/{AppSettingsInterface-nEGM5s84.js → AppSettingsInterface-hwNy4smR.js} +1 -1
  9. package/dist/{DateRangePicker-35rSj6si.js → DateRangePicker-rVOB5iyD.js} +1 -1
  10. package/dist/{EventTypeAppCardInterface-gHA1xrj1.js → EventTypeAppCardInterface--qDLESRC.js} +4 -4
  11. package/dist/{EventTypeAppCardInterface-HCOkEHH_.js → EventTypeAppCardInterface-0sd8Cdxd.js} +3 -3
  12. package/dist/{EventTypeAppCardInterface-6nH3STHb.js → EventTypeAppCardInterface-2NeW9Ehx.js} +4 -4
  13. package/dist/{EventTypeAppCardInterface-BsVjKokG.js → EventTypeAppCardInterface-51N6r2zk.js} +3 -3
  14. package/dist/{EventTypeAppCardInterface-B0TNZbec.js → EventTypeAppCardInterface-7GN6j8AM.js} +3 -3
  15. package/dist/{EventTypeAppCardInterface-sZ8b3QC1.js → EventTypeAppCardInterface-9J59kV6N.js} +3 -3
  16. package/dist/{EventTypeAppCardInterface-W0eXvwJ6.js → EventTypeAppCardInterface-CMnMtLfY.js} +4 -4
  17. package/dist/{EventTypeAppCardInterface-sRqedemb.js → EventTypeAppCardInterface-Cae8xXmh.js} +4 -4
  18. package/dist/{EventTypeAppCardInterface-AGvK3dWC.js → EventTypeAppCardInterface-L0p2BvJk.js} +4 -4
  19. package/dist/{EventTypeAppCardInterface-3G3-8wgP.js → EventTypeAppCardInterface-M9baAJLq.js} +3 -3
  20. package/dist/{EventTypeAppCardInterface-d4eBiO7E.js → EventTypeAppCardInterface-MntY9hI-.js} +3 -3
  21. package/dist/{EventTypeAppCardInterface-7Fa6yG1D.js → EventTypeAppCardInterface-U0hTHrS1.js} +3 -3
  22. package/dist/{EventTypeAppCardInterface-t_YQeAVV.js → EventTypeAppCardInterface-Uh2DIKQd.js} +4 -4
  23. package/dist/{EventTypeAppCardInterface-gPp6kDAS.js → EventTypeAppCardInterface-WVhSzlqC.js} +3 -3
  24. package/dist/{EventTypeAppCardInterface-NPVbq3L2.js → EventTypeAppCardInterface-XqWAEhR4.js} +3 -3
  25. package/dist/{EventTypeAppCardInterface-OuKoklDG.js → EventTypeAppCardInterface-_NhDp6G9.js} +4 -4
  26. package/dist/{EventTypeAppCardInterface-4BC7MtM9.js → EventTypeAppCardInterface-dQVYLBqQ.js} +2 -2
  27. package/dist/{EventTypeAppCardInterface-asX2AyDB.js → EventTypeAppCardInterface-eHwmJDeu.js} +4 -4
  28. package/dist/{EventTypeAppCardInterface-sG1mFyzN.js → EventTypeAppCardInterface-f4nVufr9.js} +3 -3
  29. package/dist/{EventTypeAppCardInterface-3FT5nxjW.js → EventTypeAppCardInterface-g05IOUKd.js} +4 -4
  30. package/dist/{EventTypeAppCardInterface-7RirPSFI.js → EventTypeAppCardInterface-gOgNLdMu.js} +3 -3
  31. package/dist/{EventTypeAppCardInterface-YCW2vw93.js → EventTypeAppCardInterface-kJanA4A-.js} +3 -3
  32. package/dist/EventTypeAppCardInterface-o8PiUI-_.js +24 -0
  33. package/dist/{EventTypeAppCardInterface-kmftUrCV.js → EventTypeAppCardInterface-oP7Y-D71.js} +2 -2
  34. package/dist/{EventTypeAppCardInterface-fXkSopxu.js → EventTypeAppCardInterface-qgHbgrYd.js} +3 -3
  35. package/dist/{EventTypeAppCardInterface-gjVYt_ZD.js → EventTypeAppCardInterface-uXOacbvz.js} +4 -4
  36. package/dist/{EventTypeAppCardInterface-5dgM-Uqy.js → EventTypeAppCardInterface-ymHPloyx.js} +3 -3
  37. package/dist/{EventTypeAppSettingsInterface-pqAHbpj-.js → EventTypeAppSettingsInterface-1v4hdk6g.js} +1 -1
  38. package/dist/{EventTypeAppSettingsInterface-iscD_8j0.js → EventTypeAppSettingsInterface-3zs3t9bm.js} +1 -1
  39. package/dist/{EventTypeAppSettingsInterface-rUiI0j3i.js → EventTypeAppSettingsInterface-801GyYY1.js} +1 -1
  40. package/dist/{EventTypeAppSettingsInterface-D72l4G-t.js → EventTypeAppSettingsInterface-HuZa50Y3.js} +1 -1
  41. package/dist/{EventTypeAppSettingsInterface-iPaHKtIn.js → EventTypeAppSettingsInterface-KMW86cEL.js} +1 -1
  42. package/dist/{EventTypeAppSettingsInterface-xrBzd-pp.js → EventTypeAppSettingsInterface-PxtTX1Kf.js} +1 -1
  43. package/dist/{EventTypeAppSettingsInterface-BfRfPQNh.js → EventTypeAppSettingsInterface-RRK1q-Lp.js} +1 -1
  44. package/dist/{EventTypeAppSettingsInterface-r12RWRqC.js → EventTypeAppSettingsInterface-Sp6U8s_q.js} +1 -1
  45. package/dist/{EventTypeAppSettingsInterface-lCQQSWge.js → EventTypeAppSettingsInterface-aSqOIhBb.js} +1 -1
  46. package/dist/{EventTypeAppSettingsInterface-hfofyLH8.js → EventTypeAppSettingsInterface-gcEZSOHf.js} +1 -1
  47. package/dist/{EventTypeAppSettingsInterface-J1v2pIJ6.js → EventTypeAppSettingsInterface-hLI4D19p.js} +1 -1
  48. package/dist/{EventTypeAppSettingsInterface-4yNMo4Q9.js → EventTypeAppSettingsInterface-mj_uQ-3_.js} +1 -1
  49. package/dist/{EventTypeAppSettingsInterface-TNrelj_x.js → EventTypeAppSettingsInterface-tm_-7KjA.js} +1 -1
  50. package/dist/{InstallAppButton-fNl0KaRA.js → InstallAppButton-9yCGIfEB.js} +1 -1
  51. package/dist/{InstallAppButton-bRxGl3Ky.js → InstallAppButton-H_SgtFIs.js} +1 -1
  52. package/dist/{InstallAppButton-N6EWQ7cN.js → InstallAppButton-Y8LCstbB.js} +1 -1
  53. package/dist/{PhoneInput-uwxWFpdD.js → PhoneInput-gKigredr.js} +1 -1
  54. package/dist/{StripePaymentForm-Iym6ImTI.js → StripePaymentForm-1tATXYWd.js} +1 -1
  55. package/dist/cal-atoms.js +1 -1
  56. package/dist/{index-0N1b0J1c.js → index-Frbhba-v.js} +1 -1
  57. package/dist/{index-7HDflSvQ.js → index-LqaUD-Q9.js} +1 -1
  58. package/dist/{index-ju7GeYL2.js → index-XUQwctrQ.js} +1 -1
  59. package/dist/{index-ZlYpjCCS.js → index-YITA4g0Y.js} +44913 -44870
  60. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +1 -1
  61. package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
  62. package/dist/packages/features/bookings/Booker/utils/event.d.ts +7 -0
  63. package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
  64. package/dist/packages/features/bookings/lib/handleNewBooking/test/fresh-booking.test.d.ts.map +1 -1
  65. package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
  66. package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
  67. package/dist/packages/features/eventtypes/components/locations/CalVideoSettings.d.ts +6 -0
  68. package/dist/packages/features/eventtypes/components/locations/CalVideoSettings.d.ts.map +1 -0
  69. package/dist/packages/features/eventtypes/components/locations/LocationSettingsContainer.d.ts +5 -0
  70. package/dist/packages/features/eventtypes/components/locations/LocationSettingsContainer.d.ts.map +1 -0
  71. package/dist/packages/features/eventtypes/components/{Locations.d.ts → locations/Locations.d.ts} +2 -2
  72. package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +1 -0
  73. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
  74. package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
  75. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +36 -0
  76. package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
  77. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +7 -0
  78. package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
  79. package/dist/packages/features/eventtypes/lib/types.d.ts +10 -9
  80. package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
  81. package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
  82. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +4 -0
  83. package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
  84. package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
  85. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +7 -0
  86. package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
  87. package/dist/packages/platform/libraries/index.d.ts +1 -0
  88. package/dist/packages/platform/libraries/index.d.ts.map +1 -1
  89. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
  90. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
  91. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
  92. package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
  93. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
  94. package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
  95. package/dist/{useIsAppEnabled-BJ4EJ4jB.js → useIsAppEnabled-K8IoHoem.js} +1 -1
  96. package/package.json +1 -1
  97. package/dist/EventTypeAppCardInterface-g7tp7Yhd.js +0 -24
  98. package/dist/packages/features/eventtypes/components/Locations.d.ts.map +0 -1
@@ -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-ZlYpjCCS.js";
2
+ import { X as n, e as o, s as c } from "./index-YITA4g0Y.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-ZlYpjCCS.js";
3
+ import { V as tr, Y as nr } from "./index-YITA4g0Y.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-ZlYpjCCS.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-YITA4g0Y.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-ZlYpjCCS.js";
2
+ import { A as p } from "./index-YITA4g0Y.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-ZlYpjCCS.js";
2
+ import { Z as i, z as y, _ as A, a0 as R, A as $ } from "./index-YITA4g0Y.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 p } from "react";
3
- import { y as r, f as u, u as i } from "./index-ZlYpjCCS.js";
3
+ import { y as r, f as u, u as i } from "./index-YITA4g0Y.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-ZlYpjCCS.js";
3
+ import { y as i, f as l, u as m } from "./index-YITA4g0Y.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-ZlYpjCCS.js";
2
+ import { u as i, y as o } from "./index-YITA4g0Y.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 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-ZlYpjCCS.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-YITA4g0Y.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 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";
2
+ import { G as d } from "./index-YITA4g0Y.js";
3
+ import { A as m } from "./AppCard-GCLu89Fy.js";
4
+ import { u as c } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import u from "./EventTypeAppSettingsInterface-KMW86cEL.js";
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 t, jsxs as h } from "react/jsx-runtime";
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";
2
+ import { G as m, f as p } from "./index-YITA4g0Y.js";
3
+ import { A } from "./AppCard-GCLu89Fy.js";
4
+ import { u as I } from "./useIsAppEnabled-K8IoHoem.js";
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-ZlYpjCCS.js";
2
+ import { y as b, z as f, G as y, J as E, W as P } from "./index-YITA4g0Y.js";
3
3
  import { useState as C } from "react";
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";
4
+ import { A as g } from "./AppCard-GCLu89Fy.js";
5
+ import { u as v } from "./useIsAppEnabled-K8IoHoem.js";
6
+ import w from "./EventTypeAppSettingsInterface-mj_uQ-3_.js";
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-ZlYpjCCS.js";
3
- import { A as m } from "./AppCard-HKcGH7KI.js";
4
- import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
2
+ import { z as d, W as i } from "./index-YITA4g0Y.js";
3
+ import { A as m } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
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-ZlYpjCCS.js";
3
- import { A as m } from "./AppCard-HKcGH7KI.js";
4
- import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
2
+ import { z as d, W as i } from "./index-YITA4g0Y.js";
3
+ import { A as m } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
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 p } from "react/jsx-runtime";
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";
2
+ import { G as l, f as m } from "./index-YITA4g0Y.js";
3
+ import { A as u } from "./AppCard-GCLu89Fy.js";
4
+ import { u as I } from "./useIsAppEnabled-K8IoHoem.js";
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-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";
2
+ import { G as m, y as f } from "./index-YITA4g0Y.js";
3
+ import { A as l } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import A from "./EventTypeAppSettingsInterface-gcEZSOHf.js";
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,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-ZlYpjCCS.js";
2
+ import { y as b, z as f, G as y, J as E, W as C } from "./index-YITA4g0Y.js";
3
3
  import { useState as P } from "react";
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";
4
+ import { A as g } from "./AppCard-GCLu89Fy.js";
5
+ import { u as v } from "./useIsAppEnabled-K8IoHoem.js";
6
+ import w from "./EventTypeAppSettingsInterface-RRK1q-Lp.js";
7
7
  const W = function({
8
8
  app: t,
9
9
  eventType: e,
@@ -1,8 +1,8 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { G as 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";
2
+ import { G as m } from "./index-YITA4g0Y.js";
3
+ import { A as c } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import l from "./EventTypeAppSettingsInterface-Sp6U8s_q.js";
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-ZlYpjCCS.js";
3
- import { A as m } from "./AppCard-HKcGH7KI.js";
4
- import { u } from "./useIsAppEnabled-BJ4EJ4jB.js";
2
+ import { z as d, W as i } from "./index-YITA4g0Y.js";
3
+ import { A as m } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
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 } from "react/jsx-runtime";
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";
2
+ import { G as l, f as m } from "./index-YITA4g0Y.js";
3
+ import { A as u } from "./AppCard-GCLu89Fy.js";
4
+ import { u as h } from "./useIsAppEnabled-K8IoHoem.js";
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 m } from "react/jsx-runtime";
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";
2
+ import { G as h, f as n } from "./index-YITA4g0Y.js";
3
+ import { A as I } from "./AppCard-GCLu89Fy.js";
4
+ import { u as C } from "./useIsAppEnabled-K8IoHoem.js";
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 a } from "react/jsx-runtime";
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";
2
+ import { G as m } from "./index-YITA4g0Y.js";
3
+ import { A as c } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import l from "./EventTypeAppSettingsInterface-PxtTX1Kf.js";
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 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-ZlYpjCCS.js";
2
+ import { y as A, z as y, G as g, J as b, W as f } from "./index-YITA4g0Y.js";
3
3
  import { useState as P } from "react";
4
- import { A as v } from "./AppCard-HKcGH7KI.js";
5
- import C from "./EventTypeAppSettingsInterface-iscD_8j0.js";
4
+ import { A as v } from "./AppCard-GCLu89Fy.js";
5
+ import C from "./EventTypeAppSettingsInterface-3zs3t9bm.js";
6
6
  const x = function({
7
7
  eventType: o,
8
8
  app: e,
@@ -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-ZlYpjCCS.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-YITA4g0Y.js";
3
3
  import { useState as g } from "react";
4
- import { S as c, A as ue } from "./AppCard-HKcGH7KI.js";
5
- import { u as he } from "./useIsAppEnabled-BJ4EJ4jB.js";
4
+ import { S as c, A as ue } from "./AppCard-GCLu89Fy.js";
5
+ import { u as he } from "./useIsAppEnabled-K8IoHoem.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-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";
2
+ import { G as d } from "./index-YITA4g0Y.js";
3
+ import { A as c } from "./AppCard-GCLu89Fy.js";
4
+ import { u as m } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import l from "./EventTypeAppSettingsInterface-HuZa50Y3.js";
6
6
  const b = function({ app: t, eventType: p }) {
7
7
  const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
8
  return /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as 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-ZlYpjCCS.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-YITA4g0Y.js";
3
3
  import { useMemo as W, useState as p } from "react";
4
- import { A as $ } from "./AppCard-HKcGH7KI.js";
4
+ import { A as $ } from "./AppCard-GCLu89Fy.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 a } from "react/jsx-runtime";
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";
2
+ import { G as m } from "./index-YITA4g0Y.js";
3
+ import { A as c } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import l from "./EventTypeAppSettingsInterface-tm_-7KjA.js";
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, jsxs as e } from "react/jsx-runtime";
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";
2
+ import { G as m, X as o } from "./index-YITA4g0Y.js";
3
+ import { A as u } from "./AppCard-GCLu89Fy.js";
4
+ import { u as h } from "./useIsAppEnabled-K8IoHoem.js";
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 a } from "react/jsx-runtime";
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";
2
+ import { G as m } from "./index-YITA4g0Y.js";
3
+ import { A as c } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import l from "./EventTypeAppSettingsInterface-801GyYY1.js";
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-ZlYpjCCS.js";
2
+ import { z as i, y as g, G as f, J as b, W as S } from "./index-YITA4g0Y.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-HKcGH7KI.js";
5
- import E from "./EventTypeAppSettingsInterface-pqAHbpj-.js";
4
+ import { A as w } from "./AppCard-GCLu89Fy.js";
5
+ import E from "./EventTypeAppSettingsInterface-1v4hdk6g.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: p,
@@ -1,7 +1,7 @@
1
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";
2
+ import { z as d, W as i } from "./index-YITA4g0Y.js";
3
+ import { A as m } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.js";
5
5
  const l = function({ app: t, eventType: e }) {
6
6
  var a;
7
7
  const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { z as d, W as i } from "./index-YITA4g0Y.js";
3
+ import { A as m } from "./AppCard-GCLu89Fy.js";
4
+ import { u } from "./useIsAppEnabled-K8IoHoem.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 r } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import { G as m, f as l } from "./index-ZlYpjCCS.js";
4
- import { A as f } from "./AppCard-HKcGH7KI.js";
3
+ import { G as m, f as l } from "./index-YITA4g0Y.js";
4
+ import { A as f } from "./AppCard-GCLu89Fy.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 a, jsxs as u } from "react/jsx-runtime";
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";
2
+ import { G as h, f as n } from "./index-YITA4g0Y.js";
3
+ import { A } from "./AppCard-GCLu89Fy.js";
4
+ import { u as I } from "./useIsAppEnabled-K8IoHoem.js";
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-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";
2
+ import { G as m } from "./index-YITA4g0Y.js";
3
+ import { A as c } from "./AppCard-GCLu89Fy.js";
4
+ import { u as l } from "./useIsAppEnabled-K8IoHoem.js";
5
+ import u from "./EventTypeAppSettingsInterface-aSqOIhBb.js";
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,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-ZlYpjCCS.js";
2
+ import { z as i, G as f, J as g, y as S, W as b } from "./index-YITA4g0Y.js";
3
3
  import { useMemo as v, useState as C } from "react";
4
- import { A as w } from "./AppCard-HKcGH7KI.js";
5
- import E from "./EventTypeAppSettingsInterface-J1v2pIJ6.js";
4
+ import { A as w } from "./AppCard-GCLu89Fy.js";
5
+ import E from "./EventTypeAppSettingsInterface-hLI4D19p.js";
6
6
  const $ = function({
7
7
  app: a,
8
8
  eventType: c,
@@ -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-ZlYpjCCS.js";
3
+ import { y as _, a1 as t, M as g, f as C, Y as P, S as p } from "./index-YITA4g0Y.js";
4
4
  const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
5
5
  eventType: f,
6
6
  getAppData: s,
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, Fragment as D, jsxs as c } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as T } from "react";
3
- import { y as R, a2 as t, M as y, f as w, S as P } from "./index-ZlYpjCCS.js";
3
+ import { y as R, a2 as t, M as y, f as w, S as P } from "./index-YITA4g0Y.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 o } from "./index-ZlYpjCCS.js";
2
+ import { f as o } from "./index-YITA4g0Y.js";
3
3
  const p = ({
4
4
  getAppData: t,
5
5
  setAppData: e,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as c } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as v } from "react";
3
- import { O as p, S as h } from "./index-ZlYpjCCS.js";
3
+ import { O as p, S as h } from "./index-YITA4g0Y.js";
4
4
  const S = ({}) => {
5
5
  const [n, u] = m(), [f, r] = m(), { data: e } = p.viewer.appBasecamp3.projects.useQuery(), d = p.viewer.appBasecamp3.projectMutation.useMutation();
6
6
  return v(
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { f as o } from "./index-ZlYpjCCS.js";
2
+ import { f as o } from "./index-YITA4g0Y.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-ZlYpjCCS.js";
2
+ import { f as g } from "./index-YITA4g0Y.js";
3
3
  const o = ({
4
4
  getAppData: t,
5
5
  setAppData: a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
2
2
  import { useState as P, useEffect as k } from "react";
3
- import { y as x, M as p, f as w, S as K } from "./index-ZlYpjCCS.js";
3
+ import { y as x, M as p, f as w, S as K } from "./index-YITA4g0Y.js";
4
4
  const f = [
5
5
  "BIF",
6
6
  "CLP",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
- import { f as s } from "./index-ZlYpjCCS.js";
2
+ import { f as s } from "./index-YITA4g0Y.js";
3
3
  const p = ({
4
4
  getAppData: a,
5
5
  setAppData: t,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as u } from "react";
3
- import { y as p, f as h, V as v, s as x } from "./index-ZlYpjCCS.js";
3
+ import { y as p, f as h, V as v, s as x } from "./index-YITA4g0Y.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 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-ZlYpjCCS.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-YITA4g0Y.js";
4
4
  const x = "search", C = "url", B = (s) => {
5
5
  const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [y, _] = d(x), w = async (n, f) => {
6
6
  if (u)
@@ -1,7 +1,7 @@
1
1
  import { jsx as l, jsxs as m, Fragment as w } from "react/jsx-runtime";
2
2
  import { useState as o, useEffect as _ } from "react";
3
3
  import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
4
- import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-ZlYpjCCS.js";
4
+ import { Q as r, y as E, M as x, f as F, R as T, U as q, S as O } from "./index-YITA4g0Y.js";
5
5
  const H = ({
6
6
  getAppData: n,
7
7
  setAppData: 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-ZlYpjCCS.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-YITA4g0Y.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 { jsx as o } from "react/jsx-runtime";
2
- import { f as c } from "./index-ZlYpjCCS.js";
2
+ import { f as c } from "./index-YITA4g0Y.js";
3
3
  const s = ({
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 { x as o } from "./index-ZlYpjCCS.js";
2
+ import { x as o } from "./index-YITA4g0Y.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-ZlYpjCCS.js";
2
+ import { x as o } from "./index-YITA4g0Y.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 { 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-ZlYpjCCS.js";
3
+ import { x as d, an as E, W as g } from "./index-YITA4g0Y.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 { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-ZlYpjCCS.js";
3
+ import { aj as Vt, ak as qt, al as Kt, am as Ut, s as It, O as Wt } from "./index-YITA4g0Y.js";
4
4
  function Ht() {
5
5
  return Vt(qt, arguments);
6
6
  }