@levo-so/studio 0.3.16 → 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.
- package/{BillingStep-CF4WmMy-.js → BillingStep-BTDOMFHV.js} +1 -1
- package/{Button-CMauKkZy.js → Button-DXLWW3dp.js} +1 -1
- package/{EntryCard-B7-xczol.js → EntryCard-9yv0KJTB.js} +1 -1
- package/{LoginCard-e65CC9-H.js → LoginCard-D9vEC_g0.js} +1 -1
- package/{PendingApprovalCard-BF6O2-qq.js → PendingApprovalCard-CzoBgYNy.js} +1 -1
- package/{PopupBody-BI-MJqmd-DxjS3iTT.js → PopupBody-BI-MJqmd-B3ltSYMP.js} +1 -1
- package/{PopupRenderer-D66Gx63H-BMiAwwVA.js → PopupRenderer-D66Gx63H-ChI4WBer.js} +1 -1
- package/{ProfileCard-BOWVeBAk.js → ProfileCard-Chg20HBa.js} +1 -1
- package/{bookingCard-B71nDko3.js → bookingCard-DoxoilG3.js} +2 -2
- package/collection.js +1 -1
- package/{dist-t-Nm_OLw.js → dist-Dijjo-5m.js} +1079 -1040
- package/index.js +9 -15
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { l as e, r as t } from "./dist-
|
|
2
|
+
import { l as e, r as t } from "./dist-Dijjo-5m.js";
|
|
3
3
|
import { r as n } from "./themeMapping-Bi9Rcr5G-C7UXWE6o.js";
|
|
4
|
-
import { _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, y as S } from "./Button-
|
|
4
|
+
import { _ as r, a as i, b as a, c as o, d as s, f as c, g as l, h as u, i as d, l as f, m as p, n as m, o as h, p as g, r as _, s as v, t as y, u as b, v as x, y as S } from "./Button-DXLWW3dp.js";
|
|
5
5
|
import { n as C, t as w } from "./AuthProvider-B5NfFwbG.js";
|
|
6
6
|
import { n as T, t as E } from "./ModalManager-CzH36UIk.js";
|
|
7
7
|
import { t as D } from "./cn-B6c1DjO_.js";
|
|
@@ -4042,7 +4042,7 @@ var Eo = ({ site: e }) => {
|
|
|
4042
4042
|
siteSlug: e?.slug,
|
|
4043
4043
|
siteName: e?.name
|
|
4044
4044
|
})] });
|
|
4045
|
-
}, Do = { loadingContainer: "_loadingContainer_1d4on_1" }, Oo = F(() => import("./LoginCard-
|
|
4045
|
+
}, Do = { loadingContainer: "_loadingContainer_1d4on_1" }, Oo = F(() => import("./LoginCard-D9vEC_g0.js")), ko = F(() => import("./EntryCard-9yv0KJTB.js")), Ao = F(() => import("./MessageCard-Nsxr98n6.js")), jo = F(() => import("./ProfileCard-Chg20HBa.js")), Mo = {
|
|
4046
4046
|
"authentication.NOT_LOGGED_IN": ({ logo: e, siteName: t, page: n }) => /* @__PURE__ */ H(Ae, {
|
|
4047
4047
|
fallback: /* @__PURE__ */ H("div", {}),
|
|
4048
4048
|
children: /* @__PURE__ */ H(Oo, {
|
|
@@ -6248,7 +6248,7 @@ var pl = d(ol), ml = Me(({ children: e, className: t, elementKey: n, generatedCl
|
|
|
6248
6248
|
children: [/* @__PURE__ */ H(el, { backgroundVideo: a?.backgroundVideo }), e]
|
|
6249
6249
|
}));
|
|
6250
6250
|
ml.displayName = "BaseContainer";
|
|
6251
|
-
var hl = d(ml), gl = F(() => import("./dist-
|
|
6251
|
+
var hl = d(ml), gl = F(() => import("./dist-Dijjo-5m.js").then((e) => e.t).then((e) => ({ default: e.CollectionForm }))), _l = d(({ elementKey: e, generatedClassName: t, config: n, className: r, initialValues: i, theme: a, onSubmit: o, isLoading: s }) => /* @__PURE__ */ H("div", {
|
|
6252
6252
|
"data-levo_element_key": e,
|
|
6253
6253
|
className: D(r, t),
|
|
6254
6254
|
children: /* @__PURE__ */ H(Ae, {
|
|
@@ -6270,7 +6270,7 @@ var hl = d(ml), gl = F(() => import("./dist-t-Nm_OLw.js").then((e) => e.t).then(
|
|
|
6270
6270
|
isLoading: s
|
|
6271
6271
|
})
|
|
6272
6272
|
})
|
|
6273
|
-
})), vl = F(() => import("./dist-
|
|
6273
|
+
})), vl = F(() => import("./dist-Dijjo-5m.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormRenderer }))), yl = F(() => import("./bookingCard-DoxoilG3.js").then((e) => ({ default: e.BookingCard }))), bl = F(() => import("./BillingStep-BTDOMFHV.js").then((e) => ({ default: e.BillingStep }))), xl = d(({ elementKey: e, generatedClassName: t, config: r, className: i, initialValues: a, theme: o }) => {
|
|
6274
6274
|
let s = N(), { workspace: c, isLoggedIn: l, isAuthLoaded: u } = C(), d = R(() => {
|
|
6275
6275
|
if (!r?.theme && !o) return;
|
|
6276
6276
|
let e = r?.theme;
|
|
@@ -6303,12 +6303,6 @@ var hl = d(ml), gl = F(() => import("./dist-t-Nm_OLw.js").then((e) => e.t).then(
|
|
|
6303
6303
|
pendingCollectionKey: null,
|
|
6304
6304
|
formData: null
|
|
6305
6305
|
}), [g, _] = B(null), v = R(() => {
|
|
6306
|
-
let e = r?.form?.schema, t = [], n = (e) => {
|
|
6307
|
-
if (e) for (let r of e) (r.allow_public_submit === !1 || r.allow_public_view === !1) && t.push(r.key), n(r.fields);
|
|
6308
|
-
};
|
|
6309
|
-
if (e?.sections) for (let t of e.sections) n(t.fields);
|
|
6310
|
-
return [...r?.form?.hidden_fields ?? [], ...t];
|
|
6311
|
-
}, [r?.form?.schema, r?.form?.hidden_fields]), y = R(() => {
|
|
6312
6306
|
let e = r?.form?.success, t = r?.form?.redirect_url;
|
|
6313
6307
|
if (e) {
|
|
6314
6308
|
let n = e.action ?? (t ? {
|
|
@@ -6325,7 +6319,7 @@ var hl = d(ml), gl = F(() => import("./dist-t-Nm_OLw.js").then((e) => e.t).then(
|
|
|
6325
6319
|
type: "redirect",
|
|
6326
6320
|
value: t
|
|
6327
6321
|
} };
|
|
6328
|
-
}, [r?.form?.success, r?.form?.redirect_url]),
|
|
6322
|
+
}, [r?.form?.success, r?.form?.redirect_url]), y = async (e, t) => {
|
|
6329
6323
|
try {
|
|
6330
6324
|
p((e) => ({
|
|
6331
6325
|
...e,
|
|
@@ -6367,7 +6361,7 @@ var hl = d(ml), gl = F(() => import("./dist-t-Nm_OLw.js").then((e) => e.t).then(
|
|
|
6367
6361
|
h((e) => ({
|
|
6368
6362
|
...e,
|
|
6369
6363
|
active: !1
|
|
6370
|
-
})), t && n && await
|
|
6364
|
+
})), t && n && await y(t, n);
|
|
6371
6365
|
},
|
|
6372
6366
|
prefillName: m.formData?.name
|
|
6373
6367
|
})
|
|
@@ -6405,7 +6399,7 @@ var hl = d(ml), gl = F(() => import("./dist-t-Nm_OLw.js").then((e) => e.t).then(
|
|
|
6405
6399
|
text: r?.form?.submit_button_label ?? "Submit"
|
|
6406
6400
|
},
|
|
6407
6401
|
fetchedSchema: r?.form?.schema,
|
|
6408
|
-
hiddenFields:
|
|
6402
|
+
hiddenFields: r?.form?.hidden_fields,
|
|
6409
6403
|
isLoggedIn: l,
|
|
6410
6404
|
isLoading: !u,
|
|
6411
6405
|
externalInitialValues: a,
|
|
@@ -6423,7 +6417,7 @@ var hl = d(ml), gl = F(() => import("./dist-t-Nm_OLw.js").then((e) => e.t).then(
|
|
|
6423
6417
|
return;
|
|
6424
6418
|
}
|
|
6425
6419
|
},
|
|
6426
|
-
successConfig:
|
|
6420
|
+
successConfig: v
|
|
6427
6421
|
})
|
|
6428
6422
|
})
|
|
6429
6423
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levo-so/studio",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.18",
|
|
4
4
|
"author": "Levo Engineering <devs@theinternetfolks.com>",
|
|
5
5
|
"description": "Levo Studio components and utilities for building block-based pages",
|
|
6
6
|
"type": "module",
|
|
@@ -120,9 +120,9 @@
|
|
|
120
120
|
"yup": "1.7.1"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
|
-
"@levo-so/insights": "0.3.
|
|
124
|
-
"@levo-so/core": "0.3.
|
|
125
|
-
"@levo-so/react": "0.3.
|
|
123
|
+
"@levo-so/insights": "0.3.18",
|
|
124
|
+
"@levo-so/core": "0.3.18",
|
|
125
|
+
"@levo-so/react": "0.3.18",
|
|
126
126
|
"react": ">=19",
|
|
127
127
|
"next": ">=14",
|
|
128
128
|
"react-dom": ">=19"
|