@levo-so/studio 0.3.7 → 0.3.8
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/{BillingStep-B80goip6.js → BillingStep-vBBLXLzk.js} +1 -1
- package/{Button-B1Qi1fm7.js → Button-BZDul09m.js} +1 -1
- package/{EntryCard-C4vDZv_F.js → EntryCard-DLPs2PaP.js} +1 -1
- package/{LoginCard-ChhvGFp2.js → LoginCard-EtzpuqYB.js} +1 -1
- package/{PendingApprovalCard-R_AHT42r.js → PendingApprovalCard-CCbhY8p3.js} +1 -1
- package/{PopupBody-DZVwDLkg-DmA1NH8D.js → PopupBody-DZVwDLkg-PiECxgmc.js} +1 -1
- package/{PopupRenderer-BjW1jg70-DTDWpyNa.js → PopupRenderer-BjW1jg70-C1UDgSfJ.js} +1 -1
- package/{ProfileCard-4LQEbe-3.js → ProfileCard-DzEBPrax.js} +1 -1
- package/{bookingCard-u639dmlO.js → bookingCard-kEYdGZJ-.js} +2 -2
- package/collection.js +1 -1
- package/{dist-DLSqcZ3k.js → dist-2bXx8eVI.js} +148 -143
- package/index.js +5 -5
- package/package.json +4 -4
- package/studio.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./Button-
|
|
2
|
+
import { t as e } from "./Button-BZDul09m.js";
|
|
3
3
|
import { useState as t } from "react";
|
|
4
4
|
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/bookingCard/BillingStep.tsx
|
|
@@ -20,7 +20,7 @@ import oe from "isomorphic-dompurify";
|
|
|
20
20
|
var O = async (e, t) => {
|
|
21
21
|
let n = {};
|
|
22
22
|
return t?.site_id && (n.site_id = t.site_id), t?.locale && (n.locale = t.locale), t?.country && (n.country = t.country), (await e.url("/v1/studio/popup/list-active").query(n).get().json())?.content?.data ?? [];
|
|
23
|
-
}, k = _(() => import("./PopupRenderer-BjW1jg70-
|
|
23
|
+
}, k = _(() => import("./PopupRenderer-BjW1jg70-C1UDgSfJ.js").then((e) => e.t).then((e) => ({ default: e.PopupRenderer }))), A = (e) => {
|
|
24
24
|
let t = u(9), { siteId: n, pageId: r } = e, { fetch: a, logger: o } = f(), [s, c] = S(null), l = x(!1), p, h;
|
|
25
25
|
if (t[0] !== a || t[1] !== o || t[2] !== n ? (p = () => {
|
|
26
26
|
if (l.current) return;
|
|
@@ -8,7 +8,7 @@ var s = {
|
|
|
8
8
|
title: "_title_s7k8g_7",
|
|
9
9
|
subtitle: "_subtitle_s7k8g_14",
|
|
10
10
|
formWrapper: "_formWrapper_s7k8g_20"
|
|
11
|
-
}, c = r(() => import("./PendingApprovalCard-
|
|
11
|
+
}, c = r(() => import("./PendingApprovalCard-CCbhY8p3.js")), l = ({ logo: r, siteName: l, page: u }) => {
|
|
12
12
|
let [d, f] = i(!1), [p, m] = i(!1), h = u.access?.find((e) => e.kind === "gating" && e.enabled)?.options;
|
|
13
13
|
return p ? /* @__PURE__ */ a(n, {
|
|
14
14
|
fallback: /* @__PURE__ */ a("div", {}),
|
|
@@ -75,7 +75,7 @@ var Q = [
|
|
|
75
75
|
...i,
|
|
76
76
|
children: o
|
|
77
77
|
}) : null;
|
|
78
|
-
}, te = /* @__PURE__ */ u({ PopupBody: () => oe }), ne = b(() => import("./dist-
|
|
78
|
+
}, te = /* @__PURE__ */ u({ PopupBody: () => oe }), ne = b(() => import("./dist-2bXx8eVI.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormBuilder }))), re = a({ baseSpacing: ".625rem" }), ie = { style: l({ form: { gap: "1rem" } }) }, ae = {
|
|
79
79
|
left: h,
|
|
80
80
|
center: g,
|
|
81
81
|
right: m
|
|
@@ -104,7 +104,7 @@ var oe = (e) => (e ?? "16:9").replace(":", " / "), se = (e) => {
|
|
|
104
104
|
...i,
|
|
105
105
|
children: n
|
|
106
106
|
}), t[15] = n, t[16] = i, t[17] = g, t[18] = _) : _ = t[18], _;
|
|
107
|
-
}, X = ie(() => import("./PopupBody-DZVwDLkg-
|
|
107
|
+
}, X = ie(() => import("./PopupBody-DZVwDLkg-PiECxgmc.js").then((e) => e.n).then((e) => ({ default: e.PopupBody }))), ue = (e) => {
|
|
108
108
|
let t = k(7), { size: n } = e, r = n ?? "medium", i;
|
|
109
109
|
t[0] === r ? i = t[1] : (i = v({ size: r }), t[0] = r, t[1] = i);
|
|
110
110
|
let a, o, s;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./Button-
|
|
2
|
+
import { t as e } from "./Button-BZDul09m.js";
|
|
3
3
|
import { n as t } from "./AuthProvider-B5NfFwbG.js";
|
|
4
4
|
import { t as n } from "./cn-B6c1DjO_.js";
|
|
5
5
|
import { n as r, t as i } from "./StripePaymentModal-CiKqmQwK.js";
|
|
6
|
-
import { BillingStep as a } from "./BillingStep-
|
|
6
|
+
import { BillingStep as a } from "./BillingStep-vBBLXLzk.js";
|
|
7
7
|
import { errorHandler as o, useLevo as s } from "@levo-so/react";
|
|
8
8
|
import { useEffect as c, useRef as l, useState as u } from "react";
|
|
9
9
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
package/collection.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o } from "./dist-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o } from "./dist-2bXx8eVI.js";
|
|
2
2
|
export { t as CollectionForm, a as CollectionFormBuilder, r as CollectionFormRenderer, n as FormBuilder, i as LevoFormProvider, e as useLevoForm, o as useLevoFormContext };
|