@calcom/atoms 1.0.70 → 1.0.71
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-XJAS2DNY.js → AddressInput-oW1jYLbW.js} +1 -1
- package/dist/{AlbyPriceComponent-9T6LyZw3.js → AlbyPriceComponent-4Tfuuhj0.js} +1 -1
- package/dist/{AppCard-2thNjmI6.js → AppCard--EOFyaO8.js} +1 -1
- package/dist/{AppSettingsInterface-_qtXXihc.js → AppSettingsInterface-_yOzvufk.js} +1 -1
- package/dist/{AppSettingsInterface-ubSdyxWU.js → AppSettingsInterface-dqVEnQ6I.js} +1 -1
- package/dist/{AppSettingsInterface-HoRLpGhB.js → AppSettingsInterface-qSduJv1b.js} +1 -1
- package/dist/{Card-hmB3imiF.js → Card-efUk3GNO.js} +1 -1
- package/dist/{DateRangePicker-TyAM3Fj4.js → DateRangePicker-tkR2_S7I.js} +1 -1
- package/dist/{EventTypeAppCardInterface-vEpjIjxN.js → EventTypeAppCardInterface-0Nx9FYGL.js} +4 -4
- package/dist/{EventTypeAppCardInterface-wtzSJHmW.js → EventTypeAppCardInterface-2qDTLaLK.js} +4 -4
- package/dist/{EventTypeAppCardInterface-x-fSMfBz.js → EventTypeAppCardInterface-4guqFA_P.js} +3 -3
- package/dist/{EventTypeAppCardInterface-H6uT4Bf9.js → EventTypeAppCardInterface-6v-TNkAa.js} +3 -3
- package/dist/{EventTypeAppCardInterface-fkcvo7es.js → EventTypeAppCardInterface-7R_oLI5n.js} +2 -2
- package/dist/{EventTypeAppCardInterface-0XEixOGa.js → EventTypeAppCardInterface-AsaLLeLm.js} +3 -3
- package/dist/{EventTypeAppCardInterface-YsNMOiPa.js → EventTypeAppCardInterface-CrsE0C1m.js} +3 -3
- package/dist/{EventTypeAppCardInterface-AYuNm8Ly.js → EventTypeAppCardInterface-DQxNxQ6q.js} +4 -4
- package/dist/{EventTypeAppCardInterface-aUDxdhR0.js → EventTypeAppCardInterface-ENYuJp-q.js} +4 -4
- package/dist/{EventTypeAppCardInterface-4NAfRWWz.js → EventTypeAppCardInterface-JvOifRnW.js} +4 -4
- package/dist/{EventTypeAppCardInterface-O_qP9C75.js → EventTypeAppCardInterface-KaecmIYD.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DupT1Ncu.js → EventTypeAppCardInterface-MgmPQeHW.js} +4 -4
- package/dist/{EventTypeAppCardInterface-TkLLfvjD.js → EventTypeAppCardInterface-PqNK02Xl.js} +3 -3
- package/dist/{EventTypeAppCardInterface-hPkDq_ng.js → EventTypeAppCardInterface-SK5vlRQq.js} +3 -3
- package/dist/{EventTypeAppCardInterface-zIFe0-hm.js → EventTypeAppCardInterface-T3RAKWd4.js} +3 -3
- package/dist/{EventTypeAppCardInterface-veEZhe-h.js → EventTypeAppCardInterface-VVekAt4E.js} +4 -4
- package/dist/{EventTypeAppCardInterface-NhYc-GUj.js → EventTypeAppCardInterface-Z4I5pK7s.js} +3 -3
- package/dist/{EventTypeAppCardInterface-8o3Z5GmJ.js → EventTypeAppCardInterface-d5KqEvnt.js} +2 -2
- package/dist/{EventTypeAppCardInterface-MUGUQBtR.js → EventTypeAppCardInterface-ejsl3FEm.js} +3 -3
- package/dist/{EventTypeAppCardInterface-f0qwHQ-a.js → EventTypeAppCardInterface-jeOexhMt.js} +3 -3
- package/dist/{EventTypeAppCardInterface-oaRLUYYZ.js → EventTypeAppCardInterface-m8qyCE4X.js} +3 -3
- package/dist/{EventTypeAppCardInterface-sQT7lRKl.js → EventTypeAppCardInterface-qVs7SsGQ.js} +4 -4
- package/dist/{EventTypeAppCardInterface-vi4Skv-I.js → EventTypeAppCardInterface-wIbogzGM.js} +3 -3
- package/dist/EventTypeAppCardInterface-x2oFHd3Y.js +23 -0
- package/dist/{EventTypeAppSettingsInterface-jstUfjZY.js → EventTypeAppSettingsInterface-1CVby8zj.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-MN30Xzgs.js → EventTypeAppSettingsInterface-3i2pjW_0.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DNtqZInk.js → EventTypeAppSettingsInterface-4HUFCqvb.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-ZTxPg24Z.js → EventTypeAppSettingsInterface-JQSEDgUX.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-KtuR6p19.js → EventTypeAppSettingsInterface-UpIhvGKP.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-IlXLAc46.js → EventTypeAppSettingsInterface-WV4IS06h.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-aEXsfoTw.js → EventTypeAppSettingsInterface-XEIl75NM.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-k8BA2Xqz.js → EventTypeAppSettingsInterface-_WJogMeF.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-G_MI1RQZ.js → EventTypeAppSettingsInterface-bwK9InWS.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-9-Lqd7Xb.js → EventTypeAppSettingsInterface-oWlc3srG.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-e5gwCJRA.js → EventTypeAppSettingsInterface-xyETGKCQ.js} +1 -1
- package/dist/{InstallAppButton-teVZNR1L.js → InstallAppButton-3yN6MK2U.js} +1 -1
- package/dist/{InstallAppButton-sDFOQUeE.js → InstallAppButton-BQyl9hge.js} +1 -1
- package/dist/{InstallAppButton-jJVQ_kF0.js → InstallAppButton-a_HOFKtt.js} +1 -1
- package/dist/{InstallAppButton-bJYuR1aL.js → InstallAppButton-cub8aavs.js} +1 -1
- package/dist/{PhoneInput-AyEJUBpY.js → PhoneInput-68Gve8nD.js} +1 -1
- package/dist/{StripePaymentForm-OD3Z5HOV.js → StripePaymentForm-2z2L7K26.js} +20 -18
- package/dist/cal-atoms.js +1 -1
- package/dist/cal-atoms.umd.cjs +345 -289
- package/dist/{framer-features-k8W15jzM.js → framer-features-ZUEIy9az.js} +1 -1
- package/dist/{index-7rBx6ute.js → index-Oh9i2m7B.js} +1 -1
- package/dist/{index-SQ0_AlAd.js → index-cxDrvoq9.js} +1 -1
- package/dist/{index-TfSEr6Ej.js → index-iPxcpUfi.js} +61074 -59042
- package/dist/{index-L39f9yBC.js → index-rHR8IK-w.js} +15 -15
- package/dist/{index-YR6r2vCt.js → index-x-vO53Qr.js} +4 -4
- package/dist/packages/app-store/_pages/setup/index.d.ts +0 -1
- package/dist/packages/app-store/_pages/setup/index.d.ts.map +1 -1
- package/dist/packages/app-store/_utils/paid-apps.d.ts.map +1 -1
- package/dist/packages/app-store/apps.keys-schemas.generated.d.ts +10 -1
- package/dist/packages/app-store/apps.keys-schemas.generated.d.ts.map +1 -1
- package/dist/packages/app-store/apps.metadata.generated.d.ts +1 -0
- package/dist/packages/app-store/apps.metadata.generated.d.ts.map +1 -1
- package/dist/packages/app-store/closecom/api/_getAdd.d.ts +2 -1
- package/dist/packages/app-store/closecom/api/_getAdd.d.ts.map +1 -1
- package/dist/packages/app-store/closecom/api/add.d.ts.map +1 -1
- package/dist/packages/app-store/closecom/api/{_postAdd.d.ts → callback.d.ts} +1 -2
- package/dist/packages/app-store/closecom/api/callback.d.ts.map +1 -0
- package/dist/packages/app-store/closecom/api/index.d.ts +1 -1
- package/dist/packages/app-store/closecom/api/index.d.ts.map +1 -1
- package/dist/packages/app-store/closecom/config.json.d.ts +2 -1
- package/dist/packages/app-store/closecom/lib/CrmService.d.ts +1 -4
- package/dist/packages/app-store/closecom/lib/CrmService.d.ts.map +1 -1
- package/dist/packages/app-store/closecom/zod.d.ts +10 -1
- package/dist/packages/app-store/closecom/zod.d.ts.map +1 -1
- package/dist/packages/app-store/stripepayment/api/subscription.d.ts.map +1 -1
- package/dist/packages/app-store/stripepayment/lib/PaymentService.d.ts.map +1 -1
- package/dist/packages/features/auth/signup/handlers/calcomHandler.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/components/event-meta/Members.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/components/Payment.d.ts +1 -2
- package/dist/packages/features/ee/payments/components/Payment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/insights/components/RoutingFormResponsesTable.d.ts.map +1 -1
- package/dist/packages/features/settings/appDir/SettingsLayoutAppDirClient.d.ts.map +1 -1
- package/dist/packages/lib/CloseCom.d.ts +15 -3
- package/dist/packages/lib/CloseCom.d.ts.map +1 -1
- package/dist/packages/lib/server/repository/booking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts +1 -0
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +10 -1
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/markdownToSafeHTML.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +2 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/prisma/seed-app-store.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/loggedInViewer/outOfOffice.handler.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-1cXtacgA.js → useIsAppEnabled-FnJj-kXT.js} +1 -1
- package/package.json +3 -1
- package/dist/EventTypeAppCardInterface-tFS8CBdX.js +0 -23
- package/dist/packages/app-store/closecom/api/_postAdd.d.ts.map +0 -1
- package/dist/packages/app-store/closecom/api/_postCheck.d.ts +0 -5
- package/dist/packages/app-store/closecom/api/_postCheck.d.ts.map +0 -1
- package/dist/packages/app-store/closecom/api/check.d.ts +0 -3
- package/dist/packages/app-store/closecom/api/check.d.ts.map +0 -1
- package/dist/packages/app-store/closecom/pages/setup/index.d.ts +0 -2
- package/dist/packages/app-store/closecom/pages/setup/index.d.ts.map +0 -1
- package/dist/packages/features/settings/layouts/SettingsLayout.d.ts +0 -12
- package/dist/packages/features/settings/layouts/SettingsLayout.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as s, aH as m, m as n, a_ as c } from "./index-
|
|
1
|
+
import { aK as s, aH as m, m as n, a_ as c } from "./index-iPxcpUfi.js";
|
|
2
2
|
function p({ value: e, onChange: t, ...a }) {
|
|
3
3
|
return /* @__PURE__ */ s.jsxs("div", { className: "relative flex items-center", children: [
|
|
4
4
|
/* @__PURE__ */ s.jsx(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bi as ee, bj as F, bk as re, aK as D, ac as ne, b2 as te } from "./index-
|
|
1
|
+
import { bi as ee, bj as F, bk as re, aK as D, ac as ne, b2 as te } from "./index-iPxcpUfi.js";
|
|
2
2
|
import J from "react";
|
|
3
3
|
const oe = {}, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4
4
|
__proto__: null,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b4 as I, aW as j, aL as _, aJ as S, aK as s, b5 as B, a_ as i, e as v, aq as g, b6 as O, b7 as P, aN as k, b8 as C, a$ as u, B as $, A as E, K as L, aH as R } from "./index-
|
|
1
|
+
import { b4 as I, aW as j, aL as _, aJ as S, aK as s, b5 as B, a_ as i, e as v, aq as g, b6 as O, b7 as P, aN as k, b8 as C, a$ as u, B as $, A as E, K as L, aH as R } from "./index-iPxcpUfi.js";
|
|
2
2
|
function q(e) {
|
|
3
3
|
const { status: r } = I.useSession();
|
|
4
4
|
return j.viewer.appById.useQuery(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as e, e as t, aL as l } from "./index-
|
|
1
|
+
import { aK as e, e as t, aL as l } from "./index-iPxcpUfi.js";
|
|
2
2
|
function r({ template: s }) {
|
|
3
3
|
return /* @__PURE__ */ e.jsxs("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
|
|
4
4
|
/* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-start", children: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a$ as u, aK as s, a_ as t, e as C, b0 as N } from "./index-
|
|
1
|
+
import { a$ as u, aK as s, a_ as t, e as C, b0 as N } from "./index-iPxcpUfi.js";
|
|
2
2
|
const i = N("", {
|
|
3
3
|
// Variants won't have any style by default. Style will only be applied if the variants are combined.
|
|
4
4
|
// So, style is defined in compoundVariants.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aK as l, a_ as $, h as Se, bx as We, aH as Ye, by as wt, bz as pt, e as xt, bA as Dt } from "./index-
|
|
1
|
+
import { aK as l, a_ as $, h as Se, bx as We, aH as Ye, by as wt, bz as pt, e as xt, bA as Dt } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { createContext as H, forwardRef as Mt, useContext as A, useState as K, useEffect as re, useLayoutEffect as _t, useRef as kt } from "react";
|
|
3
3
|
function D(e) {
|
|
4
4
|
const t = Object.prototype.toString.call(e);
|
package/dist/{EventTypeAppCardInterface-vEpjIjxN.js → EventTypeAppCardInterface-0Nx9FYGL.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as c, aK as a } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
4
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as c, aK as a } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import l from "./EventTypeAppSettingsInterface-WV4IS06h.js";
|
|
5
5
|
const E = function({ app: t, eventType: e }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
|
package/dist/{EventTypeAppCardInterface-wtzSJHmW.js → EventTypeAppCardInterface-2qDTLaLK.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as c, aK as a } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
4
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as c, aK as a } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import l from "./EventTypeAppSettingsInterface-xyETGKCQ.js";
|
|
5
5
|
const E = function({ app: t, eventType: e }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
|
package/dist/{EventTypeAppCardInterface-x-fSMfBz.js → EventTypeAppCardInterface-4guqFA_P.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aN as m, aK as a, s as r } from "./index-
|
|
2
|
-
import { A as h } from "./AppCard
|
|
3
|
-
import { u as x } from "./useIsAppEnabled-
|
|
1
|
+
import { aN as m, aK as a, s as r } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as h } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u as x } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const T = function({ app: t, eventType: i }) {
|
|
5
5
|
var d;
|
|
6
6
|
const { getAppData: s, setAppData: o, disabled: n } = m(), l = s("MATOMO_URL"), p = s("SITE_ID"), { enabled: c, updateEnabled: u } = x(t);
|
package/dist/{EventTypeAppCardInterface-H6uT4Bf9.js → EventTypeAppCardInterface-6v-TNkAa.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aM as o, aK as d, aP as i } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
1
|
+
import { aM as o, aK as d, aP as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const E = function({ app: a, eventType: e }) {
|
|
5
5
|
var t;
|
|
6
6
|
const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
|
package/dist/{EventTypeAppCardInterface-fkcvo7es.js → EventTypeAppCardInterface-7R_oLI5n.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aN as c, aK as s, s as l } from "./index-
|
|
1
|
+
import { aN as c, aK as s, s as l } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as m } from "react";
|
|
3
|
-
import { A as u } from "./AppCard
|
|
3
|
+
import { A as u } from "./AppCard--EOFyaO8.js";
|
|
4
4
|
const A = function({ app: r, eventType: p }) {
|
|
5
5
|
var n;
|
|
6
6
|
const { getAppData: t, setAppData: i } = c(), d = t("trackingId"), [o, a] = m(t("enabled"));
|
package/dist/{EventTypeAppCardInterface-0XEixOGa.js → EventTypeAppCardInterface-AsaLLeLm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aM as i, aL as y, aN as g, aO as b, aK as t, aP as f } from "./index-
|
|
1
|
+
import { aM as i, aL as y, aN as g, aO as b, aK as t, aP as f } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useMemo as x, useState as S } from "react";
|
|
3
|
-
import { A as v } from "./AppCard
|
|
4
|
-
import C from "./EventTypeAppSettingsInterface-
|
|
3
|
+
import { A as v } from "./AppCard--EOFyaO8.js";
|
|
4
|
+
import C from "./EventTypeAppSettingsInterface-_WJogMeF.js";
|
|
5
5
|
const k = function({
|
|
6
6
|
app: a,
|
|
7
7
|
eventType: p,
|
package/dist/{EventTypeAppCardInterface-YsNMOiPa.js → EventTypeAppCardInterface-CrsE0C1m.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aM as o, aK as d, aP as i } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
1
|
+
import { aM as o, aK as d, aP as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const E = function({ app: a, eventType: e }) {
|
|
5
5
|
var t;
|
|
6
6
|
const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
|
package/dist/{EventTypeAppCardInterface-AYuNm8Ly.js → EventTypeAppCardInterface-DQxNxQ6q.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as d, aK as a } from "./index-
|
|
2
|
-
import { A as c } from "./AppCard
|
|
3
|
-
import { u as m } from "./useIsAppEnabled-
|
|
4
|
-
import u from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as d, aK as a } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as c } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u as m } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import u from "./EventTypeAppSettingsInterface-UpIhvGKP.js";
|
|
5
5
|
const C = function({ app: t, eventType: e }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: p, setAppData: n, disabled: r } = d(), { enabled: i, updateEnabled: o } = m(t);
|
package/dist/{EventTypeAppCardInterface-aUDxdhR0.js → EventTypeAppCardInterface-ENYuJp-q.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aL as b, aM as f, aN as E, aO as P, aK as p, aP as y } from "./index-
|
|
1
|
+
import { aL as b, aM as f, aN as E, aO as P, aK as p, aP as y } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as x } from "react";
|
|
3
|
-
import { A as C } from "./AppCard
|
|
4
|
-
import { u as g } from "./useIsAppEnabled-
|
|
5
|
-
import v from "./EventTypeAppSettingsInterface-
|
|
3
|
+
import { A as C } from "./AppCard--EOFyaO8.js";
|
|
4
|
+
import { u as g } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
5
|
+
import v from "./EventTypeAppSettingsInterface-1CVby8zj.js";
|
|
6
6
|
const I = function({
|
|
7
7
|
app: e,
|
|
8
8
|
eventType: t,
|
package/dist/{EventTypeAppCardInterface-4NAfRWWz.js → EventTypeAppCardInterface-JvOifRnW.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as m, aK as s } from "./index-
|
|
2
|
-
import { A as c } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
4
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as m, aK as s } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as c } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import l from "./EventTypeAppSettingsInterface-oWlc3srG.js";
|
|
5
5
|
const E = function({ eventType: e, app: t }) {
|
|
6
6
|
var a;
|
|
7
7
|
const { enabled: p, updateEnabled: n } = u(t), { disabled: r, getAppData: o, setAppData: d } = m();
|
package/dist/{EventTypeAppCardInterface-O_qP9C75.js → EventTypeAppCardInterface-KaecmIYD.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as c, aK as a } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
4
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as c, aK as a } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import l from "./EventTypeAppSettingsInterface-3i2pjW_0.js";
|
|
5
5
|
const E = function({ app: t, eventType: e }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
|
package/dist/{EventTypeAppCardInterface-DupT1Ncu.js → EventTypeAppCardInterface-MgmPQeHW.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as d, aK as e } from "./index-
|
|
2
|
-
import { A as c } from "./AppCard
|
|
3
|
-
import { u as m } from "./useIsAppEnabled-
|
|
4
|
-
import u from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as d, aK as e } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as c } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u as m } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import u from "./EventTypeAppSettingsInterface-XEIl75NM.js";
|
|
5
5
|
const C = function({ app: t, eventType: p }) {
|
|
6
6
|
const { getAppData: s, setAppData: a, disabled: n } = d(), { enabled: r, updateEnabled: o } = m(t);
|
|
7
7
|
return /* @__PURE__ */ e.jsx(
|
package/dist/{EventTypeAppCardInterface-TkLLfvjD.js → EventTypeAppCardInterface-PqNK02Xl.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aN as m, aK as t, s as i } from "./index-
|
|
2
|
-
import { A as h } from "./AppCard
|
|
3
|
-
import { u as I } from "./useIsAppEnabled-
|
|
1
|
+
import { aN as m, aK as t, s as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as h } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u as I } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const R = function({ app: s, eventType: c }) {
|
|
5
5
|
var n;
|
|
6
6
|
const { getAppData: p, setAppData: r, disabled: a } = m(), d = p("SITE_ID"), o = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = I(s);
|
package/dist/{EventTypeAppCardInterface-hPkDq_ng.js → EventTypeAppCardInterface-SK5vlRQq.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aM as le, aN as oe, aR as s, aL as se, aS as g, aT as b, aU as I, aK as e, aP as ie, S as h, K as d, n as r, e as C, aq as P, aV as ce, V as de } from "./index-
|
|
1
|
+
import { aM as le, aN as oe, aR as s, aL as se, aS as g, aT as b, aU as I, aK as e, aP as ie, S as h, K as d, n as r, e as C, aq as P, aV as ce, V as de } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as v } from "react";
|
|
3
|
-
import { A as re } from "./AppCard
|
|
4
|
-
import { u as ue } from "./useIsAppEnabled-
|
|
3
|
+
import { A as re } from "./AppCard--EOFyaO8.js";
|
|
4
|
+
import { u as ue } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
5
5
|
const pe = function({ app: w, eventType: E }) {
|
|
6
6
|
var y;
|
|
7
7
|
const U = le.usePathname(), { getAppData: l, setAppData: t, disabled: ve } = oe(), { enabled: M, updateEnabled: G } = ue(w), A = l("roundRobinLeadSkip"), V = l("roundRobinSkipCheckRecordOn") ?? s.CONTACT, K = l("skipContactCreation"), Y = l("createLeadIfAccountNull"), z = l("createNewContactUnderAccount"), R = l("createEventOn") ?? s.CONTACT, W = l("onBookingWriteToEventObject") ?? !1, j = l("onBookingWriteToEventObjectMap") ?? {}, $ = l("createEventOnLeadCheckForContact") ?? !1, S = l("onBookingChangeRecordOwner") ?? !1, q = l("onBookingChangeRecordOwnerName") ?? [], B = l("sendNoShowAttendeeData") ?? !1, H = l("sendNoShowAttendeeDataField") ?? "", F = l("onBookingWriteToRecord") ?? !1, i = l("onBookingWriteToRecordFields") ?? {}, X = l("ignoreGuests") ?? !1, { t: a } = se(), O = [
|
package/dist/{EventTypeAppCardInterface-zIFe0-hm.js → EventTypeAppCardInterface-T3RAKWd4.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aN as d, aK as s, aH as m } from "./index-
|
|
2
|
-
import { A as o } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
1
|
+
import { aN as d, aK as s, aH as m } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as o } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const j = function({ eventType: t, app: e }) {
|
|
5
5
|
var n;
|
|
6
6
|
const { getAppData: r, setAppData: a } = d(), l = r("isSunrise"), { enabled: p, updateEnabled: i } = u(e);
|
package/dist/{EventTypeAppCardInterface-veEZhe-h.js → EventTypeAppCardInterface-VVekAt4E.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as c, aK as a } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
4
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as c, aK as a } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import l from "./EventTypeAppSettingsInterface-bwK9InWS.js";
|
|
5
5
|
const E = function({ app: t, eventType: e }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: p, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
|
package/dist/{EventTypeAppCardInterface-NhYc-GUj.js → EventTypeAppCardInterface-Z4I5pK7s.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aM as p, aN as y, aO as g, aL as x, aK as e, aP as f } from "./index-
|
|
1
|
+
import { aM as p, aN as y, aO as g, aL as x, aK as e, aP as f } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useMemo as S, useState as b } from "react";
|
|
3
|
-
import { A as v } from "./AppCard
|
|
4
|
-
import C from "./EventTypeAppSettingsInterface-
|
|
3
|
+
import { A as v } from "./AppCard--EOFyaO8.js";
|
|
4
|
+
import C from "./EventTypeAppSettingsInterface-JQSEDgUX.js";
|
|
5
5
|
const k = function({
|
|
6
6
|
app: a,
|
|
7
7
|
eventType: i,
|
package/dist/{EventTypeAppCardInterface-8o3Z5GmJ.js → EventTypeAppCardInterface-d5KqEvnt.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aM as x, aL as E, aN as F, aQ as t, aK as a, aP as D, V as L, s as T, S as h } from "./index-
|
|
1
|
+
import { aM as x, aL as E, aN as F, aQ as t, aK as a, aP as D, V as L, s as T, S as h } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useMemo as V, useState as o } from "react";
|
|
3
|
-
import { A as _ } from "./AppCard
|
|
3
|
+
import { A as _ } from "./AppCard--EOFyaO8.js";
|
|
4
4
|
import { c as f, i as q, a as v } from "./currencyOptions-kannG2hu.js";
|
|
5
5
|
const K = function({ app: g, eventType: j }) {
|
|
6
6
|
var y, b;
|
package/dist/{EventTypeAppCardInterface-MUGUQBtR.js → EventTypeAppCardInterface-ejsl3FEm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aM as o, aK as d, aP as i } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
1
|
+
import { aM as o, aK as d, aP as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const E = function({ app: a, eventType: e }) {
|
|
5
5
|
var t;
|
|
6
6
|
const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
|
package/dist/{EventTypeAppCardInterface-f0qwHQ-a.js → EventTypeAppCardInterface-jeOexhMt.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aN as l, aK as s, s as m } from "./index-
|
|
2
|
-
import { A as u } from "./AppCard
|
|
3
|
-
import { u as I } from "./useIsAppEnabled-
|
|
1
|
+
import { aN as l, aK as s, s as m } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as u } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u as I } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const C = function({ app: t, eventType: p }) {
|
|
5
5
|
var a;
|
|
6
6
|
const { getAppData: n, setAppData: d, disabled: o } = l(), r = n("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
|
package/dist/{EventTypeAppCardInterface-oaRLUYYZ.js → EventTypeAppCardInterface-m8qyCE4X.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aM as o, aK as d, aP as i } from "./index-
|
|
2
|
-
import { A as m } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
1
|
+
import { aM as o, aK as d, aP as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const E = function({ app: a, eventType: e }) {
|
|
5
5
|
var t;
|
|
6
6
|
const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
|
package/dist/{EventTypeAppCardInterface-sQT7lRKl.js → EventTypeAppCardInterface-qVs7SsGQ.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { aN as m, aL as l, aK as a } from "./index-
|
|
2
|
-
import { A as f } from "./AppCard
|
|
3
|
-
import { u } from "./useIsAppEnabled-
|
|
4
|
-
import A from "./EventTypeAppSettingsInterface-
|
|
1
|
+
import { aN as m, aL as l, aK as a } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as f } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
import A from "./EventTypeAppSettingsInterface-4HUFCqvb.js";
|
|
5
5
|
const S = function({ app: t, eventType: e }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: o, setAppData: i, disabled: n } = m(), { enabled: p, updateEnabled: r } = u(t), { t: c } = l();
|
package/dist/{EventTypeAppCardInterface-vi4Skv-I.js → EventTypeAppCardInterface-wIbogzGM.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { aN as h, aK as t, s as i } from "./index-
|
|
2
|
-
import { A } from "./AppCard
|
|
3
|
-
import { u as m } from "./useIsAppEnabled-
|
|
1
|
+
import { aN as h, aK as t, s as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u as m } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
4
|
const T = function({ app: a, eventType: p }) {
|
|
5
5
|
var o;
|
|
6
6
|
const { getAppData: r, setAppData: s, disabled: n } = h(), d = r("TRACKING_ID"), l = r("API_HOST"), { enabled: c, updateEnabled: u } = m(a);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { aM as o, aK as d, aP as i } from "./index-iPxcpUfi.js";
|
|
2
|
+
import { A as m } from "./AppCard--EOFyaO8.js";
|
|
3
|
+
import { u } from "./useIsAppEnabled-FnJj-kXT.js";
|
|
4
|
+
const E = function({ app: a, eventType: e }) {
|
|
5
|
+
var t;
|
|
6
|
+
const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(a);
|
|
7
|
+
return /* @__PURE__ */ d.jsx(
|
|
8
|
+
m,
|
|
9
|
+
{
|
|
10
|
+
returnTo: `${i}${p}?tabName=apps`,
|
|
11
|
+
app: a,
|
|
12
|
+
teamId: ((t = e.team) == null ? void 0 : t.id) || void 0,
|
|
13
|
+
switchOnClick: (r) => {
|
|
14
|
+
s(r);
|
|
15
|
+
},
|
|
16
|
+
switchChecked: n,
|
|
17
|
+
hideAppCardOptions: !0
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
E as default
|
|
23
|
+
};
|
package/dist/{EventTypeAppSettingsInterface-jstUfjZY.js → EventTypeAppSettingsInterface-1CVby8zj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b3 as i, aL as C, aK as l, V as h, s as P, aY as x, aZ as B, S as f } from "./index-
|
|
1
|
+
import { b3 as i, aL as C, aK as l, V as h, s as P, aY as x, aZ as B, S as f } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as D, useEffect as M } from "react";
|
|
3
3
|
const u = [
|
|
4
4
|
{ label: "United States dollar (USD)", value: "usd" },
|
package/dist/{EventTypeAppSettingsInterface-DNtqZInk.js → EventTypeAppSettingsInterface-4HUFCqvb.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as C, aK as e, af as G, ah as P, m as M, e as f, a_ as w, V as E, ai as T, ag as A, aH as R } from "./index-
|
|
1
|
+
import { aL as C, aK as e, af as G, ah as P, m as M, e as f, a_ as w, V as E, ai as T, ag as A, aH as R } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
const u = "search", S = "url", V = (t) => {
|
|
4
4
|
const { t: a } = C(), [i, l] = c(""), [x, d] = c(0), [o, b] = c(""), { isOpenDialog: k, setIsOpenDialog: I } = t, [g, y] = c(!1), [j, m] = c(""), [p, D] = c(u), v = async (n, h) => {
|
package/dist/{EventTypeAppSettingsInterface-ZTxPg24Z.js → EventTypeAppSettingsInterface-JQSEDgUX.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aX as a, aL as P, aK as l, V as p, s as g, aY as w, aZ as _, S as h } from "./index-
|
|
1
|
+
import { aX as a, aL as P, aK as l, V as p, s as g, aY as w, aZ as _, S as h } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as m, useEffect as E } from "react";
|
|
3
3
|
import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
|
|
4
4
|
const q = ({
|
package/dist/{EventTypeAppSettingsInterface-aEXsfoTw.js → EventTypeAppSettingsInterface-XEIl75NM.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aW as l, aK as s, S as f } from "./index-
|
|
1
|
+
import { aW as l, aK as s, S as f } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as m, useEffect as d } from "react";
|
|
3
3
|
const h = ({}) => {
|
|
4
4
|
const [a, p] = m(), [u, n] = m(), { data: e } = l.viewer.appBasecamp3.projects.useQuery(), j = l.viewer.appBasecamp3.projectMutation.useMutation();
|
package/dist/{EventTypeAppSettingsInterface-k8BA2Xqz.js → EventTypeAppSettingsInterface-_WJogMeF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as p, b1 as t, aK as l, V as v, s as S, b2 as O, S as h } from "./index-
|
|
1
|
+
import { aL as p, b1 as t, aK as l, V as v, s as S, b2 as O, S as h } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as j, useEffect as w } from "react";
|
|
3
3
|
const o = [{ label: "BTC", value: "BTC", unit: "sats" }], P = ({
|
|
4
4
|
eventType: d,
|
package/dist/{EventTypeAppSettingsInterface-9-Lqd7Xb.js → EventTypeAppSettingsInterface-oWlc3srG.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aL as x, aK as e, s as u, ac as f, a_ as p } from "./index-
|
|
1
|
+
import { aL as x, aK as e, s as u, ac as f, a_ as p } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as h } from "react";
|
|
3
3
|
const g = ({ eventType: n, disabled: o }) => {
|
|
4
4
|
const { t: d } = x(), [t, i] = h(""), c = t !== "" ? `?${t}` : "", s = n.URL + c;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aJ as f, aK as o, af as d, ah as m, ai as g, ag as C, e as h, aP as p } from "./index-
|
|
1
|
+
import { aJ as f, aK as o, af as d, ah as m, ai as g, ag as C, e as h, aP as p } from "./index-iPxcpUfi.js";
|
|
2
2
|
import { useState as y } from "react";
|
|
3
3
|
var i = function(n) {
|
|
4
4
|
switch (typeof n) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ba as g, aL as Q, aK as v, k as Ce, e as H } from "./index-
|
|
1
|
+
import { ba as g, aL as Q, aK as v, k as Ce, e as H } from "./index-iPxcpUfi.js";
|
|
2
2
|
import l, { useState as R, useEffect as Z } from "react";
|
|
3
3
|
var B = {};
|
|
4
4
|
Object.defineProperty(B, "__esModule", { value: !0 });
|
|
@@ -30,8 +30,8 @@ var ee = "https://js.stripe.com/v3", Oe = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
|
|
|
30
30
|
version: "1.35.0",
|
|
31
31
|
startTime: t
|
|
32
32
|
});
|
|
33
|
-
},
|
|
34
|
-
return
|
|
33
|
+
}, x = null, _e = function(e) {
|
|
34
|
+
return x !== null || (x = new Promise(function(t, r) {
|
|
35
35
|
if (typeof window > "u") {
|
|
36
36
|
t(null);
|
|
37
37
|
return;
|
|
@@ -51,8 +51,8 @@ var ee = "https://js.stripe.com/v3", Oe = /^https:\/\/js\.stripe\.com\/v3\/?(\?.
|
|
|
51
51
|
r(a);
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
})),
|
|
55
|
-
},
|
|
54
|
+
})), x;
|
|
55
|
+
}, xe = function(e, t, r) {
|
|
56
56
|
if (e === null)
|
|
57
57
|
return null;
|
|
58
58
|
var i = e.apply(void 0, t);
|
|
@@ -76,8 +76,8 @@ but received
|
|
|
76
76
|
t[r] = arguments[r];
|
|
77
77
|
ne = !0;
|
|
78
78
|
var i = Date.now();
|
|
79
|
-
return
|
|
80
|
-
return
|
|
79
|
+
return _e(te).then(function(a) {
|
|
80
|
+
return xe(a, t, i);
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
83
|
re.setLoadParameters = function(n) {
|
|
@@ -212,8 +212,8 @@ var T = function(e) {
|
|
|
212
212
|
var c = Object.keys(s);
|
|
213
213
|
if (c.length !== u.length)
|
|
214
214
|
return !1;
|
|
215
|
-
var
|
|
216
|
-
return n(
|
|
215
|
+
var b = e, C = t, O = function(_) {
|
|
216
|
+
return n(b[_], C[_]);
|
|
217
217
|
};
|
|
218
218
|
return c.every(O);
|
|
219
219
|
}, oe = function(e, t, r) {
|
|
@@ -254,7 +254,7 @@ var Ke = function(e, t) {
|
|
|
254
254
|
};
|
|
255
255
|
}), u = Ne(f, 2), o = u[0], s = u[1];
|
|
256
256
|
l.useEffect(function() {
|
|
257
|
-
var c = !0,
|
|
257
|
+
var c = !0, b = function(O) {
|
|
258
258
|
s(function(j) {
|
|
259
259
|
return j.stripe ? j : {
|
|
260
260
|
stripe: O,
|
|
@@ -263,8 +263,8 @@ var Ke = function(e, t) {
|
|
|
263
263
|
});
|
|
264
264
|
};
|
|
265
265
|
return a.tag === "async" && !o.stripe ? a.stripePromise.then(function(C) {
|
|
266
|
-
C && c &&
|
|
267
|
-
}) : a.tag === "sync" && !o.stripe &&
|
|
266
|
+
C && c && b(C);
|
|
267
|
+
}) : a.tag === "sync" && !o.stripe && b(a.stripe), function() {
|
|
268
268
|
c = !1;
|
|
269
269
|
};
|
|
270
270
|
}, [a, o, r]);
|
|
@@ -307,19 +307,19 @@ var I = function(e) {
|
|
|
307
307
|
return t;
|
|
308
308
|
};
|
|
309
309
|
g.func.isRequired;
|
|
310
|
-
var
|
|
310
|
+
var h = function(e) {
|
|
311
311
|
var t = l.useRef(e);
|
|
312
312
|
return l.useEffect(function() {
|
|
313
313
|
t.current = e;
|
|
314
314
|
}, [e]), function() {
|
|
315
315
|
t.current && t.current.apply(t, arguments);
|
|
316
316
|
};
|
|
317
|
-
},
|
|
317
|
+
}, E = function() {
|
|
318
318
|
}, Ye = function(e) {
|
|
319
319
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
320
320
|
}, p = function(e, t) {
|
|
321
321
|
var r = "".concat(Ye(e), "Element"), i = function(o) {
|
|
322
|
-
var s = o.id, d = o.className, S = o.options, c = S === void 0 ? {} : S,
|
|
322
|
+
var s = o.id, d = o.className, S = o.options, c = S === void 0 ? {} : S, b = o.onBlur, C = b === void 0 ? E : b, O = o.onFocus, j = O === void 0 ? E : O, _ = o.onReady, se = _ === void 0 ? E : _, U = o.onChange, ce = U === void 0 ? E : U, F = o.onEscape, ue = F === void 0 ? E : F, W = o.onClick, le = W === void 0 ? E : W, D = o.onLoadError, fe = D === void 0 ? E : D, q = o.onLoaderStart, de = q === void 0 ? E : q, pe = I("mounts <".concat(r, ">")), M = pe.elements, w = l.useRef(null), k = l.useRef(null), me = h(se), ve = h(C), ye = h(j), ge = h(le), Se = h(ce), be = h(ue), he = h(fe), Ee = h(de);
|
|
323
323
|
l.useLayoutEffect(function() {
|
|
324
324
|
if (w.current == null && M && k.current != null) {
|
|
325
325
|
var y = M.create(e, c);
|
|
@@ -381,11 +381,13 @@ p("shippingAddress", m);
|
|
|
381
381
|
p("affirmMessage", m);
|
|
382
382
|
p("afterpayClearpayMessage", m);
|
|
383
383
|
const Xe = (n) => {
|
|
384
|
-
const { t: e, i18n: t } = Q(), { paymentOption: r, elements: i, state: a, onPaymentElementChange: f } = n, [u, o] = R(!1), [s, d] = R(r !== "HOLD"), S = u || !s || ["processing", "error"].includes(a.status)
|
|
384
|
+
const { t: e, i18n: t } = Q(), { paymentOption: r, elements: i, state: a, onPaymentElementChange: f } = n, [u, o] = R(!1), [s, d] = R(r !== "HOLD"), S = u || !s || ["processing", "error"].includes(a.status), c = {
|
|
385
|
+
layout: "accordion"
|
|
386
|
+
};
|
|
385
387
|
return Z(() => {
|
|
386
388
|
i == null || i.update({ locale: t.language });
|
|
387
389
|
}, [i, t.language]), /* @__PURE__ */ v.jsxs("form", { id: "payment-form", className: "bg-subtle mt-4 rounded-md p-6", onSubmit: n.onSubmit, children: [
|
|
388
|
-
/* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(Ve, { onChange: () => f() }) }),
|
|
390
|
+
/* @__PURE__ */ v.jsx("div", { children: /* @__PURE__ */ v.jsx(Ve, { options: c, onChange: (b) => f() }) }),
|
|
389
391
|
r === "HOLD" && /* @__PURE__ */ v.jsx("div", { className: "bg-info mb-5 mt-2 rounded-md p-3", children: /* @__PURE__ */ v.jsx(
|
|
390
392
|
Ce,
|
|
391
393
|
{
|
|
@@ -393,7 +395,7 @@ const Xe = (n) => {
|
|
|
393
395
|
amount: n.payment.amount / 100,
|
|
394
396
|
formatParams: { amount: { currency: n.payment.currency } }
|
|
395
397
|
}),
|
|
396
|
-
onChange: (
|
|
398
|
+
onChange: (b) => d(b.target.checked),
|
|
397
399
|
descriptionClassName: "text-info font-semibold"
|
|
398
400
|
}
|
|
399
401
|
) }),
|
package/dist/cal-atoms.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bD as a, bE as n, bR as t, bB as b, bY as o, b_ as l, bQ as r, c0 as C, bX as i, bZ as d, bC as u, bP as c, c1 as S, bW as g, b$ as m, bT as p, bF as v, bM as y, bN as E, bL as T, bG as B, bS as k, bJ as A, bK as P, bH as f, b8 as D, bO as I, bU as x, bI as F, bV as G } from "./index-
|
|
1
|
+
import { bD as a, bE as n, bR as t, bB as b, bY as o, b_ as l, bQ as r, c0 as C, bX as i, bZ as d, bC as u, bP as c, c1 as S, bW as g, b$ as m, bT as p, bF as v, bM as y, bN as E, bL as T, bG as B, bS as k, bJ as A, bK as P, bH as f, b8 as D, bO as I, bU as x, bI as F, bV as G } from "./index-iPxcpUfi.js";
|
|
2
2
|
export {
|
|
3
3
|
a as AvailabilitySettings,
|
|
4
4
|
n as Booker,
|