@calcom/atoms 1.0.96-beta-2 → 1.0.97-booker
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.
- package/dist/{AddressInput-BwaFtJdW.js → AddressInput-qOwBw82l.js} +3 -3
- package/dist/{AlbyPriceComponent-5_IY8XI4.js → AlbyPriceComponent-14WMMqki.js} +19 -19
- package/dist/{PhoneInput-EZYUI6dU.js → PhoneInput-KTVGO9ZB.js} +2 -2
- package/dist/cal-atoms.js +3 -34
- package/dist/cal-atoms.umd.cjs +311 -589
- package/dist/{framer-features-pqh7SjMd.js → framer-features-wa04YMAt.js} +21 -21
- package/dist/index-mBOxto7x.js +1258 -0
- package/dist/index-ufJK1qLx.js +79422 -0
- package/dist/index-uq2VH8T8.js +1957 -0
- package/dist/{index-_1xRkNP6.js → index-yezu2nAJ.js} +1 -1
- package/dist/isSupportedCountry-xN7Xshgi.js +487 -0
- package/dist/packages/lib/invertLogoOnDark.d.ts +1 -1
- package/dist/packages/platform/atoms/index.d.ts +0 -32
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/AppCard-vvom7JzI.js +0 -162
- package/dist/AppListCardPlatformWrapper-BMbohX9G.js +0 -9
- package/dist/AppListCardWebWrapper-jgSaE2tc.js +0 -74
- package/dist/AppSettingsInterface-GvEAHqgC.js +0 -23
- package/dist/AppSettingsInterface-hahnFvsF.js +0 -29
- package/dist/AppSettingsInterface-rwvU2JZ1.js +0 -75
- package/dist/DateRangePicker-H2MDflCi.js +0 -2401
- package/dist/EventTypeAppCardInterface-12lncOdf.js +0 -34
- package/dist/EventTypeAppCardInterface-27TiN1LB.js +0 -34
- package/dist/EventTypeAppCardInterface-4REsm-ax.js +0 -24
- package/dist/EventTypeAppCardInterface-BIBLDaQW.js +0 -41
- package/dist/EventTypeAppCardInterface-Bxn2VRDe.js +0 -42
- package/dist/EventTypeAppCardInterface-Ia4uQvA6.js +0 -24
- package/dist/EventTypeAppCardInterface-IsxbWtC-.js +0 -86
- package/dist/EventTypeAppCardInterface-MYYfLsWy.js +0 -31
- package/dist/EventTypeAppCardInterface-TvEkNxDI.js +0 -34
- package/dist/EventTypeAppCardInterface-W-C-Vuq4.js +0 -32
- package/dist/EventTypeAppCardInterface-YC7gXugR.js +0 -41
- package/dist/EventTypeAppCardInterface-ZN2mBt9v.js +0 -34
- package/dist/EventTypeAppCardInterface-Ze5KpMAZ.js +0 -24
- package/dist/EventTypeAppCardInterface-ZshqKbPT.js +0 -34
- package/dist/EventTypeAppCardInterface-_8D8Qs9P.js +0 -51
- package/dist/EventTypeAppCardInterface-cXUeW2Wg.js +0 -24
- package/dist/EventTypeAppCardInterface-f4ubwOzR.js +0 -42
- package/dist/EventTypeAppCardInterface-g5WwbLf6.js +0 -39
- package/dist/EventTypeAppCardInterface-iMFMTR_Q.js +0 -24
- package/dist/EventTypeAppCardInterface-kh27UiaS.js +0 -34
- package/dist/EventTypeAppCardInterface-loGF0ZWc.js +0 -452
- package/dist/EventTypeAppCardInterface-mpaqmq1C.js +0 -32
- package/dist/EventTypeAppCardInterface-n2hGNKAo.js +0 -34
- package/dist/EventTypeAppCardInterface-nYtaHSPH.js +0 -49
- package/dist/EventTypeAppCardInterface-qIAbqcW-.js +0 -51
- package/dist/EventTypeAppCardInterface-zTg1f5hR.js +0 -33
- package/dist/EventTypeAppSettingsInterface-2iQLRc2L.js +0 -23
- package/dist/EventTypeAppSettingsInterface-4j95fNdX.js +0 -298
- package/dist/EventTypeAppSettingsInterface-7r6Eayog.js +0 -221
- package/dist/EventTypeAppSettingsInterface-8XJ_he7F.js +0 -25
- package/dist/EventTypeAppSettingsInterface-PHF7Vsmi.js +0 -43
- package/dist/EventTypeAppSettingsInterface-ThYijWt9.js +0 -42
- package/dist/EventTypeAppSettingsInterface-WrZ3-X7V.js +0 -48
- package/dist/EventTypeAppSettingsInterface-eJdqCSck.js +0 -120
- package/dist/EventTypeAppSettingsInterface-hI24Lgxv.js +0 -24
- package/dist/EventTypeAppSettingsInterface-rDoWsnFN.js +0 -23
- package/dist/EventTypeAppSettingsInterface-vOTw0emu.js +0 -72
- package/dist/EventTypeAppSettingsInterface-wRHYYE7a.js +0 -78
- package/dist/InstallAppButton-9T0Dl0KY.js +0 -14
- package/dist/InstallAppButton-J-143AmA.js +0 -14
- package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
- package/dist/InstallAppButton-qpMMTpVW.js +0 -58
- package/dist/StripePaymentForm-N2YTyBqm.js +0 -1157
- package/dist/currencyOptions-kannG2hu.js +0 -61
- package/dist/index-D4njVTQA.js +0 -13
- package/dist/index-KPOdbfnz.js +0 -28
- package/dist/index-_1f6rhg6.js +0 -130141
- package/dist/index-v9tzGygd.js +0 -626
- package/dist/isSupportedCountry--S1ZKbg0.js +0 -7
- package/dist/useIsAppEnabled-EWMW2qIQ.js +0 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ai as L, aj as V, ak as D, al as M, am as X, an as Y, ao as _, ap as Q, aq as re, ar as ie, as as oe, at as ae } from "./index-ufJK1qLx.js";
|
|
2
2
|
function b(t, e, n, s = { passive: !0 }) {
|
|
3
3
|
return t.addEventListener(e, n, s), () => t.removeEventListener(e, n);
|
|
4
4
|
}
|
|
@@ -24,15 +24,15 @@ function $(t) {
|
|
|
24
24
|
return e === null ? (e = t, n) : !1;
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
const
|
|
27
|
+
const j = $("dragHorizontal"), q = $("dragVertical");
|
|
28
28
|
function le(t) {
|
|
29
29
|
let e = !1;
|
|
30
30
|
if (t === "y")
|
|
31
|
-
e =
|
|
31
|
+
e = q();
|
|
32
32
|
else if (t === "x")
|
|
33
|
-
e =
|
|
33
|
+
e = j();
|
|
34
34
|
else {
|
|
35
|
-
const n =
|
|
35
|
+
const n = j(), s = q();
|
|
36
36
|
n && s ? e = () => {
|
|
37
37
|
n(), s();
|
|
38
38
|
} : (n && n(), s && s());
|
|
@@ -50,7 +50,7 @@ class w {
|
|
|
50
50
|
update() {
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function J(t, e) {
|
|
54
54
|
const n = "pointer" + (e ? "enter" : "leave"), s = "onHover" + (e ? "Start" : "End"), o = (a, l) => {
|
|
55
55
|
if (a.type === "touch" || ee())
|
|
56
56
|
return;
|
|
@@ -63,7 +63,7 @@ function Y(t, e) {
|
|
|
63
63
|
}
|
|
64
64
|
class he extends w {
|
|
65
65
|
mount() {
|
|
66
|
-
this.unmount = L(
|
|
66
|
+
this.unmount = L(J(this.node, !0), J(this.node, !1));
|
|
67
67
|
}
|
|
68
68
|
unmount() {
|
|
69
69
|
}
|
|
@@ -234,11 +234,11 @@ function ne(t, e) {
|
|
|
234
234
|
return !1;
|
|
235
235
|
return !0;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
238
|
-
const s =
|
|
237
|
+
function G(t, e, n = {}) {
|
|
238
|
+
const s = M(t, e, n.custom);
|
|
239
239
|
let { transition: o = t.getDefaultTransition() || {} } = s || {};
|
|
240
240
|
n.transitionOverride && (o = n.transitionOverride);
|
|
241
|
-
const a = s ? () => Promise.all(
|
|
241
|
+
const a = s ? () => Promise.all(X(t, s, n)) : () => Promise.resolve(), l = t.variantChildren && t.variantChildren.size ? (i = 0) => {
|
|
242
242
|
const { delayChildren: r = 0, staggerChildren: u, staggerDirection: p } = o;
|
|
243
243
|
return we(t, e, r + i, u, p, n);
|
|
244
244
|
} : () => Promise.resolve(), { when: c } = o;
|
|
@@ -251,7 +251,7 @@ function z(t, e, n = {}) {
|
|
|
251
251
|
function we(t, e, n = 0, s = 0, o = 1, a) {
|
|
252
252
|
const l = [], c = (t.variantChildren.size - 1) * s, i = o === 1 ? (r = 0) => r * s : (r = 0) => c - r * s;
|
|
253
253
|
return Array.from(t.variantChildren).sort(Se).forEach((r, u) => {
|
|
254
|
-
r.notify("AnimationStart", e), l.push(
|
|
254
|
+
r.notify("AnimationStart", e), l.push(G(r, e, {
|
|
255
255
|
...a,
|
|
256
256
|
delay: n + i(u)
|
|
257
257
|
}).then(() => r.notify("AnimationComplete", e)));
|
|
@@ -264,13 +264,13 @@ function Ce(t, e, n = {}) {
|
|
|
264
264
|
t.notify("AnimationStart", e);
|
|
265
265
|
let s;
|
|
266
266
|
if (Array.isArray(e)) {
|
|
267
|
-
const o = e.map((a) =>
|
|
267
|
+
const o = e.map((a) => G(t, a, n));
|
|
268
268
|
s = Promise.all(o);
|
|
269
269
|
} else if (typeof e == "string")
|
|
270
|
-
s =
|
|
270
|
+
s = G(t, e, n);
|
|
271
271
|
else {
|
|
272
|
-
const o = typeof e == "function" ?
|
|
273
|
-
s = Promise.all(
|
|
272
|
+
const o = typeof e == "function" ? M(t, e, n.custom) : e;
|
|
273
|
+
s = Promise.all(X(t, o, n));
|
|
274
274
|
}
|
|
275
275
|
return s.then(() => t.notify("AnimationComplete", e));
|
|
276
276
|
}
|
|
@@ -283,7 +283,7 @@ function Te(t) {
|
|
|
283
283
|
const n = xe();
|
|
284
284
|
let s = !0;
|
|
285
285
|
const o = (i, r) => {
|
|
286
|
-
const u =
|
|
286
|
+
const u = M(t, r);
|
|
287
287
|
if (u) {
|
|
288
288
|
const { transition: p, transitionEnd: m, ...v } = u;
|
|
289
289
|
i = { ...i, ...v, ...m };
|
|
@@ -295,20 +295,20 @@ function Te(t) {
|
|
|
295
295
|
}
|
|
296
296
|
function l(i, r) {
|
|
297
297
|
const u = t.getProps(), p = t.getVariantContext(!0) || {}, m = [], v = /* @__PURE__ */ new Set();
|
|
298
|
-
let g = {},
|
|
298
|
+
let g = {}, z = 1 / 0;
|
|
299
299
|
for (let A = 0; A < Le; A++) {
|
|
300
300
|
const f = Ve[A], h = n[f], P = u[f] !== void 0 ? u[f] : p[f], O = re(P), x = f === r ? h.isActive : null;
|
|
301
|
-
x === !1 && (
|
|
301
|
+
x === !1 && (z = A);
|
|
302
302
|
let k = P === p[f] && P !== u[f] && O;
|
|
303
303
|
if (k && s && t.manuallyAnimateOnMount && (k = !1), h.protectedKeys = { ...g }, // If it isn't active and hasn't *just* been set as inactive
|
|
304
304
|
!h.isActive && x === null || // If we didn't and don't have any defined prop for this animation type
|
|
305
305
|
!P && !h.prevProp || // Or if the prop doesn't define an animation
|
|
306
|
-
|
|
306
|
+
Y(P) || typeof P == "boolean")
|
|
307
307
|
continue;
|
|
308
308
|
const N = Oe(h.prevProp, P);
|
|
309
309
|
let I = N || // If we're making this variant active, we want to always make it active
|
|
310
310
|
f === r && h.isActive && !k && O || // If we removed a higher-priority variant (i is in reverse order)
|
|
311
|
-
A >
|
|
311
|
+
A > z && O;
|
|
312
312
|
const U = Array.isArray(P) ? P : [P];
|
|
313
313
|
let S = U.reduce(o, {});
|
|
314
314
|
x === !1 && (S = {});
|
|
@@ -390,7 +390,7 @@ class Ie extends w {
|
|
|
390
390
|
}
|
|
391
391
|
updateAnimationControlsSubscription() {
|
|
392
392
|
const { animate: e } = this.node.getProps();
|
|
393
|
-
this.unmount(),
|
|
393
|
+
this.unmount(), Y(e) && (this.unmount = e.subscribe(this.node));
|
|
394
394
|
}
|
|
395
395
|
/**
|
|
396
396
|
* Subscribe any provided AnimationControls to the component's VisualElement
|