@levo-so/studio 0.3.17 → 0.3.18

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.
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as e } from "./Button-D7XP602F.js";
2
+ import { t as e } from "./Button-DXLWW3dp.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-D66Gx63H-DDb2kf_-.js").then((e) => e.t).then((e) => ({ default: e.PopupRenderer }))), A = (e) => {
23
+ }, k = _(() => import("./PopupRenderer-D66Gx63H-ChI4WBer.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;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as e } from "./dist-E86OopnH.js";
2
+ import { r as e } from "./dist-Dijjo-5m.js";
3
3
  import { n as t } from "./AuthProvider-B5NfFwbG.js";
4
4
  import { t as n } from "./card-5ooLmYSr.js";
5
5
  import { t as r } from "./MessageFooter-K4Zd_eFO.js";
@@ -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-ms57AZba.js")), l = ({ logo: r, siteName: l, page: u }) => {
11
+ }, c = r(() => import("./PendingApprovalCard-CzoBgYNy.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", {}),
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as e } from "./dist-E86OopnH.js";
2
+ import { r as e } from "./dist-Dijjo-5m.js";
3
3
  import { t } from "./card-5ooLmYSr.js";
4
4
  import { t as n } from "./MessageFooter-K4Zd_eFO.js";
5
5
  import { useState as r } from "react";
@@ -75,7 +75,7 @@ var Q = [
75
75
  ...i,
76
76
  children: o
77
77
  }) : null;
78
- }, te = /* @__PURE__ */ d({ PopupBody: () => oe }), ne = b(() => import("./dist-E86OopnH.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormBuilder }))), re = a({ baseSpacing: ".625rem" }), ie = { style: l({ form: { gap: "1rem" } }) }, ae = {
78
+ }, te = /* @__PURE__ */ d({ PopupBody: () => oe }), ne = b(() => import("./dist-Dijjo-5m.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormBuilder }))), re = a({ baseSpacing: ".625rem" }), ie = { style: l({ form: { gap: "1rem" } }) }, ae = {
79
79
  left: u,
80
80
  center: h,
81
81
  right: p
@@ -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
- }, ue = F(() => import("./PopupBody-BI-MJqmd-Ctaw71BK.js").then((e) => e.n).then((e) => ({ default: e.PopupBody }))), de = (e) => {
107
+ }, ue = F(() => import("./PopupBody-BI-MJqmd-B3ltSYMP.js").then((e) => e.n).then((e) => ({ default: e.PopupBody }))), de = (e) => {
108
108
  let t = D(7), { size: n } = e, r = n ?? "medium", i;
109
109
  t[0] === r ? i = t[1] : (i = E({ size: r }), t[0] = r, t[1] = i);
110
110
  let a, o, s;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as e } from "./dist-E86OopnH.js";
2
+ import { c as e } from "./dist-Dijjo-5m.js";
3
3
  import { n as t } from "./AuthProvider-B5NfFwbG.js";
4
4
  import { t as n } from "./Spinner-D5spB_Mv.js";
5
5
  import { t as r } from "./card-5ooLmYSr.js";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as e } from "./Button-D7XP602F.js";
2
+ import { t as e } from "./Button-DXLWW3dp.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-C3bQ0jQi.js";
6
- import { BillingStep as a } from "./BillingStep-CG2IunE8.js";
6
+ import { BillingStep as a } from "./BillingStep-BTDOMFHV.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-E86OopnH.js";
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-Dijjo-5m.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 };