@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,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { I as n, b as c, c as o } from "./index-ufJK1qLx.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(
|
|
@@ -11,14 +11,14 @@ function r({ value: s, onChange: t, ...a }) {
|
|
|
11
11
|
}
|
|
12
12
|
),
|
|
13
13
|
/* @__PURE__ */ e(
|
|
14
|
-
|
|
14
|
+
c,
|
|
15
15
|
{
|
|
16
16
|
...a,
|
|
17
17
|
value: s,
|
|
18
18
|
onChange: (l) => {
|
|
19
19
|
t(l.target.value);
|
|
20
20
|
},
|
|
21
|
-
className:
|
|
21
|
+
className: o("pl-10", a == null ? void 0 : a.className)
|
|
22
22
|
}
|
|
23
23
|
)
|
|
24
24
|
] });
|
|
@@ -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 {
|
|
3
|
+
import { d as tr, S as nr } from "./index-ufJK1qLx.js";
|
|
4
4
|
const K = function(s, r = !0) {
|
|
5
5
|
if (s.destroyed)
|
|
6
6
|
throw new Error("Hash instance has been destroyed");
|
|
@@ -67,8 +67,8 @@ class ir extends sr {
|
|
|
67
67
|
(function(b, y, E, x) {
|
|
68
68
|
if (typeof b.setBigUint64 == "function")
|
|
69
69
|
return b.setBigUint64(y, E, x);
|
|
70
|
-
const B = BigInt(32), k = BigInt(4294967295), _ = Number(E >> B & k),
|
|
71
|
-
b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + j,
|
|
70
|
+
const B = BigInt(32), k = BigInt(4294967295), _ = Number(E >> B & k), S = Number(E & k), j = x ? 0 : 4;
|
|
71
|
+
b.setUint32(y + (x ? 4 : 0), _, x), b.setUint32(y + j, S, x);
|
|
72
72
|
})(c, f - 8, BigInt(8 * this.length), u), this.process(c, 0);
|
|
73
73
|
const g = N(r), m = this.outputLen;
|
|
74
74
|
if (m % 4)
|
|
@@ -347,8 +347,8 @@ Q = function(s, r) {
|
|
|
347
347
|
}
|
|
348
348
|
return Uint8Array.from(t);
|
|
349
349
|
} }, r.base58check = (e) => c(B(4, (t) => e(e(t))), r.base58);
|
|
350
|
-
const
|
|
351
|
-
function
|
|
350
|
+
const S = c(f("qpzry9x8gf2tvdw0s3jn54khce6mua7l"), u("")), j = [996825010, 642813549, 513874426, 1027748829, 705979059];
|
|
351
|
+
function C(e) {
|
|
352
352
|
const t = e >> 25;
|
|
353
353
|
let n = (33554431 & e) << 5;
|
|
354
354
|
for (let o = 0; o < j.length; o++)
|
|
@@ -362,16 +362,16 @@ Q = function(s, r) {
|
|
|
362
362
|
const d = e.charCodeAt(h);
|
|
363
363
|
if (d < 33 || d > 126)
|
|
364
364
|
throw new Error(`Invalid prefix (${e})`);
|
|
365
|
-
a =
|
|
365
|
+
a = C(a) ^ d >> 5;
|
|
366
366
|
}
|
|
367
|
-
a =
|
|
367
|
+
a = C(a);
|
|
368
368
|
for (let h = 0; h < o; h++)
|
|
369
|
-
a =
|
|
369
|
+
a = C(a) ^ 31 & e.charCodeAt(h);
|
|
370
370
|
for (let h of t)
|
|
371
|
-
a =
|
|
371
|
+
a = C(a) ^ h;
|
|
372
372
|
for (let h = 0; h < 6; h++)
|
|
373
|
-
a =
|
|
374
|
-
return a ^= n,
|
|
373
|
+
a = C(a);
|
|
374
|
+
return a ^= n, S.encode(b([a % 2 ** 30], 30, 5, !1));
|
|
375
375
|
}
|
|
376
376
|
function O(e) {
|
|
377
377
|
const t = e === "bech32" ? 1 : 734539939, n = E(5), o = n.decode, a = n.encode, h = x(o);
|
|
@@ -389,7 +389,7 @@ Q = function(s, r) {
|
|
|
389
389
|
const G = w.slice(0, v), D = w.slice(v + 1);
|
|
390
390
|
if (D.length < 6)
|
|
391
391
|
throw new Error("Data must be at least 6 characters long");
|
|
392
|
-
const M =
|
|
392
|
+
const M = S.decode(D).slice(0, -6), P = H(G, M, t);
|
|
393
393
|
if (!D.endsWith(P))
|
|
394
394
|
throw new Error(`Invalid checksum in ${w}: expected "${P}"`);
|
|
395
395
|
return { prefix: G, words: M };
|
|
@@ -402,7 +402,7 @@ Q = function(s, r) {
|
|
|
402
402
|
const v = w.length + 7 + p.length;
|
|
403
403
|
if ($ !== !1 && v > $)
|
|
404
404
|
throw new TypeError(`Length ${v} exceeds limit ${$}`);
|
|
405
|
-
return `${w = w.toLowerCase()}1${
|
|
405
|
+
return `${w = w.toLowerCase()}1${S.encode(p)}${H(w, p, t)}`;
|
|
406
406
|
}, decode: d, decodeToBytes: function(w) {
|
|
407
407
|
const { prefix: p, words: $ } = d(w, !1);
|
|
408
408
|
return { prefix: p, words: $, bytes: o($) };
|
|
@@ -431,20 +431,20 @@ Q = function(s, r) {
|
|
|
431
431
|
BigInt(1e3), BigInt(1e6), BigInt(1e9), BigInt(1e12);
|
|
432
432
|
BigInt("2100000000000000000");
|
|
433
433
|
BigInt(1e11);
|
|
434
|
-
const
|
|
435
|
-
for (let s = 0, r = Object.keys(
|
|
436
|
-
r[s],
|
|
434
|
+
const X = { payment_hash: 1, payment_secret: 16, description: 13, payee: 19, description_hash: 23, expiry: 6, min_final_cltv_expiry: 24, fallback_address: 9, route_hint: 3, feature_bits: 5, metadata: 27 };
|
|
435
|
+
for (let s = 0, r = Object.keys(X); s < r.length; s++)
|
|
436
|
+
r[s], X[r[s]].toString();
|
|
437
437
|
const V = async (s) => {
|
|
438
438
|
const r = "https://getalby.com/api/rates/" + s.toLowerCase() + ".json";
|
|
439
439
|
return (await (await fetch(r)).json()).rate_float / 1e8;
|
|
440
|
-
},
|
|
440
|
+
}, Y = async ({ satoshi: s, currency: r }) => {
|
|
441
441
|
const i = await V(r);
|
|
442
442
|
return Number(s) * i;
|
|
443
443
|
};
|
|
444
|
-
var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue:
|
|
444
|
+
var fr = { __proto__: null, getFiatBtcRate: V, getFiatValue: Y, getSatoshiValue: async ({ amount: s, currency: r }) => {
|
|
445
445
|
const i = await V(r);
|
|
446
446
|
return Math.floor(Number(s) / i);
|
|
447
|
-
}, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await
|
|
447
|
+
}, getFormattedFiatValue: async ({ satoshi: s, currency: r, locale: i }) => (i || (i = "en"), (await Y({ satoshi: s, currency: r })).toLocaleString(i, { style: "currency", currency: r })) };
|
|
448
448
|
function wr({ displaySymbol: s, price: r, formattedPrice: i }) {
|
|
449
449
|
const [c, f] = J.useState("loading...");
|
|
450
450
|
return J.useEffect(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as vt } from "react/jsx-runtime";
|
|
2
2
|
import Bt, { useState as Gt, useEffect as $t } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import { i as Ut } from "./isSupportedCountry
|
|
3
|
+
import { g as Vt, u as qt, c as It, t as Kt } from "./index-ufJK1qLx.js";
|
|
4
|
+
import { i as Ut } from "./isSupportedCountry-xN7Xshgi.js";
|
|
5
5
|
var Wt = function(U) {
|
|
6
6
|
var J = {};
|
|
7
7
|
function s(u) {
|
package/dist/cal-atoms.js
CHANGED
|
@@ -1,36 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { av as r, au as e } from "./index-ufJK1qLx.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
n as BookerEmbed,
|
|
6
|
-
o as CalProvider,
|
|
7
|
-
b as CalendarSettings,
|
|
8
|
-
r as ConferencingAppsSettings,
|
|
9
|
-
l as Connect,
|
|
10
|
-
C as CreateEventType,
|
|
11
|
-
i as DestinationCalendarSettings,
|
|
12
|
-
u as EventTypeSettings,
|
|
13
|
-
d as GcalConnect,
|
|
14
|
-
c as OutlookConnect,
|
|
15
|
-
g as PaymentForm,
|
|
16
|
-
m as Router,
|
|
17
|
-
p as SelectedCalendarsSettings,
|
|
18
|
-
v as StripeConnect,
|
|
19
|
-
y as useAddSelectedCalendar,
|
|
20
|
-
S as useAtomsContext,
|
|
21
|
-
T as useBooking,
|
|
22
|
-
E as useBookings,
|
|
23
|
-
k as useCancelBooking,
|
|
24
|
-
B as useConnectedCalendars,
|
|
25
|
-
f as useCreateEventType,
|
|
26
|
-
A as useCreateTeamEventType,
|
|
27
|
-
P as useDeleteCalendarCredentials,
|
|
28
|
-
x as useEvent,
|
|
29
|
-
D as useEventTypeById,
|
|
30
|
-
I as useEventTypes,
|
|
31
|
-
R as useIsPlatform,
|
|
32
|
-
h as useMe,
|
|
33
|
-
j as useRemoveSelectedCalendar,
|
|
34
|
-
F as useTeamEventTypes,
|
|
35
|
-
G as useTeams
|
|
3
|
+
r as Booker,
|
|
4
|
+
e as CalProvider
|
|
36
5
|
};
|