@calcom/atoms 1.0.97-beta-1 → 1.0.97-beta-2

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 (102) hide show
  1. package/dist/{AddressInput-MxFRI9cW.js → AddressInput-Vp5Ny4rZ.js} +9 -8
  2. package/dist/{AlbyPriceComponent-B7reGN3c.js → AlbyPriceComponent-i0xkINen.js} +53 -52
  3. package/dist/AppCard-9m9p6YSL.js +162 -0
  4. package/dist/AppListCardPlatformWrapper-6V24t85e.js +9 -0
  5. package/dist/{AppListCardWebWrapper-3ZmWWW_L.js → AppListCardWebWrapper-iB6tYray.js} +10 -9
  6. package/dist/AppSettingsInterface-9Bv_J1St.js +23 -0
  7. package/dist/AppSettingsInterface-HdXxgvUo.js +29 -0
  8. package/dist/AppSettingsInterface-Z5mD4vz9.js +75 -0
  9. package/dist/{DateRangePicker-GTmIREkF.js → DateRangePicker-ZPLEXLdF.js} +784 -783
  10. package/dist/EventTypeAppCardInterface-3A0BLKpG.js +34 -0
  11. package/dist/EventTypeAppCardInterface-5wb9HPk4.js +86 -0
  12. package/dist/EventTypeAppCardInterface-9_6R5KQl.js +24 -0
  13. package/dist/EventTypeAppCardInterface-E9mqlk3L.js +39 -0
  14. package/dist/EventTypeAppCardInterface-Ez8jijO4.js +42 -0
  15. package/dist/EventTypeAppCardInterface-HpWHgRBK.js +34 -0
  16. package/dist/EventTypeAppCardInterface-IN5BDME5.js +49 -0
  17. package/dist/EventTypeAppCardInterface-J-UrzGuv.js +51 -0
  18. package/dist/EventTypeAppCardInterface-KTeZawOA.js +34 -0
  19. package/dist/EventTypeAppCardInterface-NPXzuwrD.js +34 -0
  20. package/dist/EventTypeAppCardInterface-RWqrIPbF.js +34 -0
  21. package/dist/EventTypeAppCardInterface-SveyRKGJ.js +33 -0
  22. package/dist/EventTypeAppCardInterface-W9_JNxow.js +41 -0
  23. package/dist/{EventTypeAppCardInterface-h1_dvQG9.js → EventTypeAppCardInterface-WQmKWesQ.js} +17 -16
  24. package/dist/EventTypeAppCardInterface-XsjP04H8.js +32 -0
  25. package/dist/EventTypeAppCardInterface-ZoFvLu0T.js +41 -0
  26. package/dist/EventTypeAppCardInterface-_pC5hr_u.js +24 -0
  27. package/dist/EventTypeAppCardInterface-bScBMMgD.js +34 -0
  28. package/dist/EventTypeAppCardInterface-c4h7EQ2a.js +31 -0
  29. package/dist/EventTypeAppCardInterface-eXFFG8at.js +24 -0
  30. package/dist/EventTypeAppCardInterface-ec7t7O8E.js +42 -0
  31. package/dist/EventTypeAppCardInterface-fXPOexR7.js +24 -0
  32. package/dist/EventTypeAppCardInterface-o81innc9.js +34 -0
  33. package/dist/EventTypeAppCardInterface-rULr-Mfj.js +32 -0
  34. package/dist/EventTypeAppCardInterface-uHpKaOQS.js +453 -0
  35. package/dist/EventTypeAppCardInterface-wxpzyeqk.js +24 -0
  36. package/dist/EventTypeAppSettingsInterface-10UpznIO.js +78 -0
  37. package/dist/EventTypeAppSettingsInterface-3F_4vyUK.js +72 -0
  38. package/dist/{EventTypeAppSettingsInterface-9raltJka.js → EventTypeAppSettingsInterface-659frs2F.js} +39 -38
  39. package/dist/{EventTypeAppSettingsInterface-eKcoM9Xa.js → EventTypeAppSettingsInterface-NnKlcbB9.js} +6 -5
  40. package/dist/EventTypeAppSettingsInterface-P6VrsG5d.js +221 -0
  41. package/dist/{EventTypeAppSettingsInterface-2wY9yPcf.js → EventTypeAppSettingsInterface-SsbpYCOY.js} +6 -5
  42. package/dist/{EventTypeAppSettingsInterface-cXn8l171.js → EventTypeAppSettingsInterface-TYPdYPPl.js} +7 -6
  43. package/dist/EventTypeAppSettingsInterface-XXAdH79U.js +42 -0
  44. package/dist/{EventTypeAppSettingsInterface-Fn4VS9pl.js → EventTypeAppSettingsInterface-ZKoyhNO9.js} +72 -71
  45. package/dist/EventTypeAppSettingsInterface-g9gv0z2h.js +48 -0
  46. package/dist/{EventTypeAppSettingsInterface-Hre_gkKY.js → EventTypeAppSettingsInterface-jq-VsbFe.js} +6 -5
  47. package/dist/EventTypeAppSettingsInterface-ubeZQTeO.js +43 -0
  48. package/dist/InstallAppButton-6P2Fv_oM.js +58 -0
  49. package/dist/{InstallAppButton-Ho1cJkMm.js → InstallAppButton-JXhBVaYJ.js} +8 -8
  50. package/dist/InstallAppButton-Ym2oci2C.js +14 -0
  51. package/dist/InstallAppButton-_dz8RUxd.js +14 -0
  52. package/dist/{PhoneInput-DNq9V1s5.js → PhoneInput-Af_8DURS.js} +97 -96
  53. package/dist/{StripePaymentForm-lGjXjqLX.js → StripePaymentForm-B4nw6Pkd.js} +100 -99
  54. package/dist/cal-atoms.js +6 -6
  55. package/dist/{framer-features--8Hvyv45.js → framer-features-sahHu1Ou.js} +11 -11
  56. package/dist/{index-fsA0kHyy.js → index-DcCG9gCb.js} +1 -1
  57. package/dist/{index-cfay3a2W.js → index-GYjzMn-V.js} +1 -1
  58. package/dist/{index-Bj_kD41n.js → index-Xu6D4ii2.js} +108 -107
  59. package/dist/{index-M6WUZF2M.js → index-jTqJooNt.js} +67433 -68186
  60. package/dist/{index-OYPUcfnB.js → index-xyYlazhP.js} +2 -2
  61. package/dist/{isSupportedCountry-aizVo7Oo.js → isSupportedCountry-UcFlf7mS.js} +1 -1
  62. package/dist/{useIsAppEnabled-OmKRsE8Z.js → useIsAppEnabled-1m8rIQ8P.js} +1 -1
  63. package/package.json +1 -1
  64. package/dist/AppCard-ImfOuDL_.js +0 -161
  65. package/dist/AppListCardPlatformWrapper-Kgk0fNGU.js +0 -8
  66. package/dist/AppSettingsInterface-4JMt22o1.js +0 -22
  67. package/dist/AppSettingsInterface-8TqZVnNL.js +0 -74
  68. package/dist/AppSettingsInterface-MQ_fkHJx.js +0 -28
  69. package/dist/EventTypeAppCardInterface-0O_KGHxp.js +0 -40
  70. package/dist/EventTypeAppCardInterface-0Z1NiGs_.js +0 -23
  71. package/dist/EventTypeAppCardInterface-0bkDiimc.js +0 -33
  72. package/dist/EventTypeAppCardInterface-4bmGNjTO.js +0 -452
  73. package/dist/EventTypeAppCardInterface-6Hs2WiRN.js +0 -23
  74. package/dist/EventTypeAppCardInterface-6QhUsfck.js +0 -38
  75. package/dist/EventTypeAppCardInterface-CSZJxMAi.js +0 -48
  76. package/dist/EventTypeAppCardInterface-D5NE1JH-.js +0 -33
  77. package/dist/EventTypeAppCardInterface-GpzdxrTy.js +0 -41
  78. package/dist/EventTypeAppCardInterface-HDqpiB_E.js +0 -33
  79. package/dist/EventTypeAppCardInterface-IsJt3HGB.js +0 -30
  80. package/dist/EventTypeAppCardInterface-K_hBnKz2.js +0 -23
  81. package/dist/EventTypeAppCardInterface-QuKynjTF.js +0 -23
  82. package/dist/EventTypeAppCardInterface-Uk-367hU.js +0 -33
  83. package/dist/EventTypeAppCardInterface-UrOLCYHp.js +0 -31
  84. package/dist/EventTypeAppCardInterface-WhX3MQGL.js +0 -33
  85. package/dist/EventTypeAppCardInterface-_a5TsCGC.js +0 -41
  86. package/dist/EventTypeAppCardInterface-_e0oMnpF.js +0 -33
  87. package/dist/EventTypeAppCardInterface-bfOpI-Cg.js +0 -23
  88. package/dist/EventTypeAppCardInterface-dQBcQRe5.js +0 -85
  89. package/dist/EventTypeAppCardInterface-jDIOSF5p.js +0 -31
  90. package/dist/EventTypeAppCardInterface-pgZqPYuy.js +0 -40
  91. package/dist/EventTypeAppCardInterface-rJaUyBaK.js +0 -32
  92. package/dist/EventTypeAppCardInterface-sAMfJ4Zp.js +0 -50
  93. package/dist/EventTypeAppCardInterface-xkCoWuR1.js +0 -33
  94. package/dist/EventTypeAppSettingsInterface-0MtsVqm9.js +0 -71
  95. package/dist/EventTypeAppSettingsInterface-4AylQiBj.js +0 -47
  96. package/dist/EventTypeAppSettingsInterface-Br_BvYU4.js +0 -77
  97. package/dist/EventTypeAppSettingsInterface-CkbhDi5X.js +0 -42
  98. package/dist/EventTypeAppSettingsInterface-nwSw369C.js +0 -220
  99. package/dist/EventTypeAppSettingsInterface-x-GvtrwY.js +0 -41
  100. package/dist/InstallAppButton-7AfVFA1y.js +0 -13
  101. package/dist/InstallAppButton-PfrQUF7k.js +0 -13
  102. package/dist/InstallAppButton-R3hBMMGj.js +0 -57
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { G as d, W as i } from "./index-jTqJooNt.js";
3
+ import { A as m } from "./AppCard-9m9p6YSL.js";
4
+ import { u } from "./useIsAppEnabled-1m8rIQ8P.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
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { J as l, k as m } from "./index-jTqJooNt.js";
3
+ import { A as u } from "./AppCard-9m9p6YSL.js";
4
+ import { u as I } from "./useIsAppEnabled-1m8rIQ8P.js";
5
+ const D = function({ app: t, eventType: n }) {
6
+ var a;
7
+ const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
8
+ return /* @__PURE__ */ p(
9
+ u,
10
+ {
11
+ app: t,
12
+ switchOnClick: (e) => {
13
+ c(e);
14
+ },
15
+ switchChecked: i,
16
+ teamId: ((a = n.team) == null ? void 0 : a.id) || void 0,
17
+ children: /* @__PURE__ */ p(
18
+ m,
19
+ {
20
+ disabled: d,
21
+ name: "Site ID",
22
+ value: s,
23
+ placeholder: "Enter your Site ID",
24
+ onChange: (e) => {
25
+ r("SITE_ID", e.target.value);
26
+ }
27
+ }
28
+ )
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ D as default
34
+ };
@@ -0,0 +1,31 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { J as d } from "./index-jTqJooNt.js";
3
+ import { A as c } from "./AppCard-9m9p6YSL.js";
4
+ import { u as m } from "./useIsAppEnabled-1m8rIQ8P.js";
5
+ import l from "./EventTypeAppSettingsInterface-g9gv0z2h.js";
6
+ const b = function({ app: t, eventType: p }) {
7
+ const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
8
+ return /* @__PURE__ */ e(
9
+ c,
10
+ {
11
+ app: t,
12
+ switchOnClick: (i) => {
13
+ o(i);
14
+ },
15
+ switchChecked: n,
16
+ children: /* @__PURE__ */ e(
17
+ l,
18
+ {
19
+ slug: t.slug,
20
+ eventType: p,
21
+ disabled: a,
22
+ getAppData: r,
23
+ setAppData: s
24
+ }
25
+ )
26
+ }
27
+ );
28
+ };
29
+ export {
30
+ b as default
31
+ };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { G as d, W as i } from "./index-jTqJooNt.js";
3
+ import { A as m } from "./AppCard-9m9p6YSL.js";
4
+ import { u } from "./useIsAppEnabled-1m8rIQ8P.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
+ };
@@ -0,0 +1,42 @@
1
+ import { jsx as e, Fragment as P } from "react/jsx-runtime";
2
+ import { G as i, y as g, J as f, K as b, W as S } from "./index-jTqJooNt.js";
3
+ import { useMemo as v, useState as C } from "react";
4
+ import { A as w } from "./AppCard-9m9p6YSL.js";
5
+ import E from "./EventTypeAppSettingsInterface-3F_4vyUK.js";
6
+ const $ = function({
7
+ app: a,
8
+ eventType: p,
9
+ eventTypeFormMetadata: c
10
+ }) {
11
+ const t = i.useSearchParams(), { t: m } = g(), s = i.usePathname(), h = v(
12
+ () => `${s}${t ? `?${t.toString()}` : ""}`,
13
+ [s, t]
14
+ ), { getAppData: n, setAppData: d, disabled: l } = f(), [o, u] = C(n("enabled")), A = b(c), r = !o && A;
15
+ return /* @__PURE__ */ e(
16
+ w,
17
+ {
18
+ returnTo: S + h,
19
+ app: a,
20
+ switchChecked: o,
21
+ switchOnClick: (y) => {
22
+ u(y);
23
+ },
24
+ description: /* @__PURE__ */ e(P, { children: "Add bitcoin lightning payments to your events" }),
25
+ disableSwitch: r,
26
+ switchTooltip: r ? m("other_payment_app_enabled") : void 0,
27
+ children: /* @__PURE__ */ e(
28
+ E,
29
+ {
30
+ eventType: p,
31
+ slug: a.slug,
32
+ disabled: l,
33
+ getAppData: n,
34
+ setAppData: d
35
+ }
36
+ )
37
+ }
38
+ );
39
+ };
40
+ export {
41
+ $ as default
42
+ };
@@ -0,0 +1,24 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { G as d, W as i } from "./index-jTqJooNt.js";
3
+ import { A as m } from "./AppCard-9m9p6YSL.js";
4
+ import { u } from "./useIsAppEnabled-1m8rIQ8P.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
+ };
@@ -0,0 +1,34 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { J as l, k as m } from "./index-jTqJooNt.js";
3
+ import { A as u } from "./AppCard-9m9p6YSL.js";
4
+ import { u as h } from "./useIsAppEnabled-1m8rIQ8P.js";
5
+ const D = function({ app: a, eventType: d }) {
6
+ var s;
7
+ const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
8
+ return /* @__PURE__ */ t(
9
+ u,
10
+ {
11
+ app: a,
12
+ switchOnClick: (e) => {
13
+ c(e);
14
+ },
15
+ switchChecked: o,
16
+ teamId: ((s = d.team) == null ? void 0 : s.id) || void 0,
17
+ children: /* @__PURE__ */ t("fieldset", { className: "space-y-2", disabled: p, children: /* @__PURE__ */ t(
18
+ m,
19
+ {
20
+ disabled: p,
21
+ name: "Site ID",
22
+ value: i,
23
+ placeholder: "Enter your Site ID",
24
+ onChange: (e) => {
25
+ r("SITE_ID", e.target.value);
26
+ }
27
+ }
28
+ ) })
29
+ }
30
+ );
31
+ };
32
+ export {
33
+ D as default
34
+ };
@@ -0,0 +1,32 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { useState as c } from "react";
3
+ import { J as m, k as l } from "./index-jTqJooNt.js";
4
+ import { A as f } from "./AppCard-9m9p6YSL.js";
5
+ const C = function({ app: p, eventType: i }) {
6
+ var n;
7
+ const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
8
+ return /* @__PURE__ */ r(
9
+ f,
10
+ {
11
+ app: p,
12
+ switchOnClick: (e) => {
13
+ a(!!e);
14
+ },
15
+ switchChecked: d,
16
+ teamId: ((n = i.team) == null ? void 0 : n.id) || void 0,
17
+ children: /* @__PURE__ */ r(
18
+ l,
19
+ {
20
+ name: "Tracking ID",
21
+ value: s,
22
+ onChange: (e) => {
23
+ o("trackingId", e.target.value);
24
+ }
25
+ }
26
+ )
27
+ }
28
+ );
29
+ };
30
+ export {
31
+ C as default
32
+ };