@levo-so/studio 0.1.114 → 0.2.1
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-DjNmSVkY.js → BillingStep-D4P_J_PJ.js} +1 -1
- package/Button-CmwbMGFV.js +505 -0
- package/{CollectionField-DrJuHNsg.js → CollectionField-D25BVweU.js} +29 -77
- package/{DateTimeWidget-CzBq92zC.js → DateTimeWidget-CG9ylSgA.js} +8 -8
- package/{EntryCard-C2KA5HMX.js → EntryCard-FxB1uCis.js} +4 -4
- package/{KBChatWidget-CPrg_etS.js → KBChatWidget-_kcueoxi.js} +388 -360
- package/{LoginCard-S_2jls6v.js → LoginCard-D8ZVZjbR.js} +3 -3
- package/{LoginForm-DeYsk4kd.js → LoginForm-Cg5F4guy.js} +2 -2
- package/{LoginModal-BbDfB4S9.js → LoginModal-Cn6Nsuz3.js} +4 -4
- package/{MessageCard-x6jPClGi.js → MessageCard-Bx6pC8wW.js} +2 -2
- package/{MessageFooter-CHuPnL_D.js → MessageFooter-CsY4uBIJ.js} +2 -2
- package/{ModalManager-DQVNPEuG.js → ModalManager-BIKunQ8D.js} +1 -1
- package/{PendingApprovalCard-C06B_Tg-.js → PendingApprovalCard-0ORO4y9v.js} +3 -3
- package/{PhoneWidget-DdX8_-2v.js → PhoneWidget-CZr1PZ4G.js} +3 -3
- package/{PopupRenderer-Bncp54gB-DysCmUdR.js → PopupRenderer-Bncp54gB-BOJj-taW.js} +15 -16
- package/{ProfileCard-DGanb4BY.js → ProfileCard-C2lXYYkC.js} +9 -8
- package/RichTextWidget-Dcq-NsEi.js +748 -0
- package/{RteThemeProvider-LFGzAYi1.js → RteThemeProvider-DxYOzcck.js} +1 -1
- package/Spinner-wdUA5kVe.js +7 -0
- package/{StripePaymentModal-BsYNQ4MB.js → StripePaymentModal-DfFlmYsp.js} +17 -17
- package/{bookingCard-CUv7WgqT.js → bookingCard-CZ3Jj9sL.js} +218 -217
- package/{dialog-LRLdr3kq.js → dialog-CznAfWcE.js} +32 -32
- package/{dist-D-y51gmU.js → dist-B91ZHPA-.js} +1103 -1261
- package/index.d.ts +0 -2
- package/index.js +2719 -2269
- package/kbChat-BpJkUcpv.js +163 -0
- package/{nodeAlignment-BC_Uferw.js → nodeAlignment-DS9_DLGB.js} +31 -23
- package/package.json +10 -10
- package/pillChrome-B4uuWJhY.js +16 -0
- package/studio.css +1 -1
- package/{useLogin-B2HHZxTi.js → useLogin-mEuzGlb2.js} +1 -1
- package/Button-Uwxgkriw.js +0 -1657
- package/RichTextWidget-BfZ3sCcx.js +0 -113
- package/Toolbar-6IXR9qAh.js +0 -645
- package/collection.d.ts +0 -500
- package/collection.js +0 -30
- package/inlineRteTheme-abXxag3B.js +0 -9
- package/kbChat-DCrdcXir.js +0 -166
- package/pillChrome-CQoJfFk3.js +0 -16
- package/utils-NDllPDUz.js +0 -5
- /package/{AuthProvider-C6bvedwF.js → AuthProvider-CFQqiIf1.js} +0 -0
- /package/{Beams-DboMUgCv.js → Beams-CDt4Mt3M.js} +0 -0
- /package/{Dots-a8xSboDv.js → Dots-DadBreAs.js} +0 -0
- /package/{Gradient-NacpoDCM.js → Gradient-CPoU73FR.js} +0 -0
- /package/{Grid-BJQvxnks.js → Grid-CAXyHMvM.js} +0 -0
- /package/{Popover-C_IQMM8H.js → Popover-Dt4--ulK.js} +0 -0
- /package/{Waves-DUuT_IFr.js → Waves-DPbfUhRX.js} +0 -0
- /package/{authentication-TdyaDNTn.js → authentication-BSNkm1-l.js} +0 -0
- /package/{card-D5fPArfa.js → card-DFSlAwCq.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./LoginForm-
|
|
3
|
-
import { t } from "./card-
|
|
2
|
+
import { t as e } from "./LoginForm-Cg5F4guy.js";
|
|
3
|
+
import { t } from "./card-DFSlAwCq.js";
|
|
4
4
|
import { Suspense as n, lazy as r, useState as i } from "react";
|
|
5
5
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
6
|
var s = {
|
|
@@ -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-0ORO4y9v.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,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./useLogin-
|
|
3
|
-
import { c as t, t as n } from "./authentication-
|
|
2
|
+
import { t as e } from "./useLogin-mEuzGlb2.js";
|
|
3
|
+
import { c as t, t as n } from "./authentication-BSNkm1-l.js";
|
|
4
4
|
import { LevoOAuth as r, errorHandler as i, successToast as a, useLevo as o } from "@levo-so/react";
|
|
5
5
|
import { useEffect as s, useMemo as c, useRef as l, useState as u } from "react";
|
|
6
6
|
import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as e } from "./AuthProvider-
|
|
3
|
-
import { n as t } from "./ModalManager-
|
|
4
|
-
import { a as n, n as r, o as i, r as a, t as o } from "./dialog-
|
|
5
|
-
import { t as s } from "./LoginForm-
|
|
2
|
+
import { n as e } from "./AuthProvider-CFQqiIf1.js";
|
|
3
|
+
import { n as t } from "./ModalManager-BIKunQ8D.js";
|
|
4
|
+
import { a as n, n as r, o as i, r as a, t as o } from "./dialog-CznAfWcE.js";
|
|
5
|
+
import { t as s } from "./LoginForm-Cg5F4guy.js";
|
|
6
6
|
import { useEffect as c } from "react";
|
|
7
7
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
8
8
|
var d = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./card-
|
|
3
|
-
import { t } from "./MessageFooter-
|
|
2
|
+
import { t as e } from "./card-DFSlAwCq.js";
|
|
3
|
+
import { t } from "./MessageFooter-CsY4uBIJ.js";
|
|
4
4
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/accessCard/MessageCard.tsx
|
|
6
6
|
var i = ({ logo: i, siteName: a, options: o, message: s }) => /* @__PURE__ */ r(e, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as e } from "./AuthProvider-
|
|
3
|
-
import { t } from "./useLogin-
|
|
2
|
+
import { n as e } from "./AuthProvider-CFQqiIf1.js";
|
|
3
|
+
import { t } from "./useLogin-mEuzGlb2.js";
|
|
4
4
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
5
|
import i from "libphonenumber-js";
|
|
6
6
|
var a = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Suspense as e, createContext as t, lazy as n, useCallback as r, useContext as i, useState as a } from "react";
|
|
3
3
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
4
4
|
//#region src/context/ModalManager.tsx
|
|
5
|
-
var c = n(() => import("./LoginModal-
|
|
5
|
+
var c = n(() => import("./LoginModal-Cn6Nsuz3.js")), l = t({
|
|
6
6
|
availableModals: ["login"],
|
|
7
7
|
openModals: { key: null },
|
|
8
8
|
openModal: () => ({}),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t } from "./card-
|
|
4
|
-
import { t as n } from "./MessageFooter-
|
|
2
|
+
import { n as e } from "./dist-B91ZHPA-.js";
|
|
3
|
+
import { t } from "./card-DFSlAwCq.js";
|
|
4
|
+
import { t as n } from "./MessageFooter-CsY4uBIJ.js";
|
|
5
5
|
import { useState as r } from "react";
|
|
6
6
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
var s = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { r as e, t } from "./CollectionField-D25BVweU.js";
|
|
3
3
|
import { t as n } from "./VerifyButton-6BIXAEGp.js";
|
|
4
4
|
import { t as r } from "./CollectionInput-CG-Pu_51.js";
|
|
5
5
|
import { c as ee } from "react/compiler-runtime";
|
|
@@ -13,7 +13,7 @@ var ae = "_89f1hw0", s = "_89f1hw1", c = "_89f1hw2", oe = "_89f1hw4", l = (l) =>
|
|
|
13
13
|
let u = ee(51), { field: d, settings: se } = l, { key: f, label: p, helper_text: m, readonly: h, options: g } = d, _ = f === void 0 ? "" : f, v = p === void 0 ? "" : p, y = m === void 0 ? "" : m, b = h === void 0 ? !1 : h, x = _, S = !!g?.verification && !!se?.enableVerification, [C, w] = i(null), [T, E] = i(!1), D;
|
|
14
14
|
u[0] !== T || u[1] !== S || u[2] !== C ? (D = (e) => T ? !0 : S && (!C || C !== e) ? "Phone verification required" : !0, u[0] = T, u[1] = S, u[2] = C, u[3] = D) : D = u[3];
|
|
15
15
|
let O;
|
|
16
|
-
u[4] !== d || u[5] !== D ? (O =
|
|
16
|
+
u[4] !== d || u[5] !== D ? (O = e(d, D), u[4] = d, u[5] = D, u[6] = O) : O = u[6];
|
|
17
17
|
let k = O, A;
|
|
18
18
|
u[7] !== x || u[8] !== k ? (A = {
|
|
19
19
|
name: x,
|
|
@@ -85,7 +85,7 @@ var ae = "_89f1hw0", s = "_89f1hw1", c = "_89f1hw2", oe = "_89f1hw4", l = (l) =>
|
|
|
85
85
|
children: [X, Z]
|
|
86
86
|
}), u[40] = X, u[41] = Z, u[42] = Q) : Q = u[42];
|
|
87
87
|
let $;
|
|
88
|
-
return u[43] !== R || u[44] !== y || u[45] !== L || u[46] !== v || u[47] !== x || u[48] !== b || u[49] !== Q ? ($ = /* @__PURE__ */ a(
|
|
88
|
+
return u[43] !== R || u[44] !== y || u[45] !== L || u[46] !== v || u[47] !== x || u[48] !== b || u[49] !== Q ? ($ = /* @__PURE__ */ a(t, {
|
|
89
89
|
error: R,
|
|
90
90
|
helperText: y,
|
|
91
91
|
readOnly: b,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
|
|
2
2
|
import { a as t, c as n, i as r, l as i, o as a, r as o, s, t as c, u as l } from "./Dialog-IrII0ugb.js";
|
|
3
3
|
import { i as u, t as d } from "./Button-lUfKisu8.js";
|
|
4
|
-
import {
|
|
5
|
-
import { i as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as b } from "./nodeAlignment-BC_Uferw.js";
|
|
4
|
+
import { a as f, i as p, o as m, t as h } from "./nodeAlignment-DS9_DLGB.js";
|
|
5
|
+
import { i as g, r as _, t as v } from "./inlineCollectionTheme-D2w17LHX.js";
|
|
6
|
+
import { n as y, t as b } from "./theme.cssm-2YTdd8Yh.js";
|
|
8
7
|
import { c as x } from "react/compiler-runtime";
|
|
9
8
|
import { $activity as S, $isIdentityContextReady as C, $pageLifecycle as w, $scrollBehavior as T, $session as E, getTabCount as D } from "@levo-so/insights/stores";
|
|
10
9
|
import { useLevo as ee, useLevoInsights as O } from "@levo-so/react";
|
|
@@ -74,9 +73,9 @@ function Je(e) {
|
|
|
74
73
|
}
|
|
75
74
|
//#endregion
|
|
76
75
|
//#region ../../libraries/levocn/dist/styles/inlineBaseTheme.js
|
|
77
|
-
var Ye =
|
|
76
|
+
var Ye = y(g), Xe = (e) => e ? e.radius && !e.radiusScale ? Ye({
|
|
78
77
|
...e,
|
|
79
|
-
radiusScale:
|
|
78
|
+
radiusScale: _(e.radius)
|
|
80
79
|
}) : Ye(e) : {}, Ze = {
|
|
81
80
|
100: "1f4af",
|
|
82
81
|
1234: "1f522",
|
|
@@ -2263,7 +2262,7 @@ var lt = se([R, L], (e, t) => ({
|
|
|
2263
2262
|
ve,
|
|
2264
2263
|
Se.configure({ multicolor: !0 }),
|
|
2265
2264
|
et,
|
|
2266
|
-
|
|
2265
|
+
h,
|
|
2267
2266
|
Fe.configure({ types: [
|
|
2268
2267
|
"paragraph",
|
|
2269
2268
|
"heading",
|
|
@@ -2277,11 +2276,11 @@ var lt = se([R, L], (e, t) => ({
|
|
|
2277
2276
|
}) : null, [i]);
|
|
2278
2277
|
return a ? /* @__PURE__ */ N("div", {
|
|
2279
2278
|
ref: n,
|
|
2280
|
-
className: F(
|
|
2279
|
+
className: F(m, t),
|
|
2281
2280
|
...r,
|
|
2282
2281
|
children: a
|
|
2283
2282
|
}) : null;
|
|
2284
|
-
}, Pt = A(() => import("./dist-
|
|
2283
|
+
}, Pt = A(() => import("./dist-B91ZHPA-.js").then((e) => e.t).then((e) => ({ default: e.CollectionFormBuilder }))), Ft = {
|
|
2285
2284
|
left: Ot,
|
|
2286
2285
|
center: kt,
|
|
2287
2286
|
right: At
|
|
@@ -2452,26 +2451,26 @@ var lt = se([R, L], (e, t) => ({
|
|
|
2452
2451
|
let c = s;
|
|
2453
2452
|
Ge(c?.fonts?.heading, c?.fonts?.body);
|
|
2454
2453
|
let l;
|
|
2455
|
-
t[9] === Symbol.for("react.memo_cache_sentinel") ? (l = F(
|
|
2456
|
-
let d,
|
|
2457
|
-
t[10] === Symbol.for("react.memo_cache_sentinel") ? (d =
|
|
2454
|
+
t[9] === Symbol.for("react.memo_cache_sentinel") ? (l = F(b, f), t[9] = l) : l = t[9];
|
|
2455
|
+
let d, m;
|
|
2456
|
+
t[10] === Symbol.for("react.memo_cache_sentinel") ? (d = p({ baseSpacing: ".625rem" }), m = v({ form: { gap: "1rem" } }), t[10] = d, t[11] = m) : (d = t[10], m = t[11]);
|
|
2458
2457
|
let h;
|
|
2459
2458
|
t[12] === c ? h = t[13] : (h = Vt(c), t[12] = c, t[13] = h);
|
|
2460
2459
|
let g;
|
|
2461
2460
|
t[14] !== o || t[15] !== h ? (g = {
|
|
2462
2461
|
...d,
|
|
2463
|
-
...
|
|
2462
|
+
...m,
|
|
2464
2463
|
...h,
|
|
2465
2464
|
...o
|
|
2466
2465
|
}, t[14] = o, t[15] = h, t[16] = g) : g = t[16];
|
|
2467
|
-
let
|
|
2468
|
-
return t[17] !== n || t[18] !== i || t[19] !== g ? (
|
|
2466
|
+
let _;
|
|
2467
|
+
return t[17] !== n || t[18] !== i || t[19] !== g ? (_ = /* @__PURE__ */ N(u, {
|
|
2469
2468
|
className: l,
|
|
2470
2469
|
cssReset: !0,
|
|
2471
2470
|
style: g,
|
|
2472
2471
|
...i,
|
|
2473
2472
|
children: n
|
|
2474
|
-
}), t[17] = n, t[18] = i, t[19] = g, t[20] =
|
|
2473
|
+
}), t[17] = n, t[18] = i, t[19] = g, t[20] = _) : _ = t[20], _;
|
|
2475
2474
|
}, Ut = (e) => e.content.position || "top-right", Wt = (e) => {
|
|
2476
2475
|
switch (e) {
|
|
2477
2476
|
case "close-press": return "close_button";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { n as t } from "./AuthProvider-
|
|
4
|
-
import { t as n } from "./
|
|
5
|
-
import { t as r } from "./
|
|
6
|
-
import {
|
|
2
|
+
import { r as e } from "./dist-B91ZHPA-.js";
|
|
3
|
+
import { n as t } from "./AuthProvider-CFQqiIf1.js";
|
|
4
|
+
import { t as n } from "./Spinner-wdUA5kVe.js";
|
|
5
|
+
import { t as r } from "./card-DFSlAwCq.js";
|
|
6
|
+
import { t as i } from "./MessageFooter-CsY4uBIJ.js";
|
|
7
|
+
import { useLevo as a } from "@levo-so/react";
|
|
7
8
|
import { useEffect as o, useState as s } from "react";
|
|
8
9
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
10
|
import { getLevoError as u } from "@levo-so/core";
|
|
@@ -45,7 +46,7 @@ var d = {
|
|
|
45
46
|
}).finally(() => {
|
|
46
47
|
w(!1);
|
|
47
48
|
});
|
|
48
|
-
}, []), /* @__PURE__ */ l(
|
|
49
|
+
}, []), /* @__PURE__ */ l(r, {
|
|
49
50
|
logo: p,
|
|
50
51
|
siteName: g,
|
|
51
52
|
maxWidth: "md",
|
|
@@ -60,7 +61,7 @@ var d = {
|
|
|
60
61
|
dangerouslySetInnerHTML: { __html: _?.content?.entryNotFound ?? `Please complete your profile to access content on <strong>${g}</strong>` }
|
|
61
62
|
})]
|
|
62
63
|
}),
|
|
63
|
-
/* @__PURE__ */ c(
|
|
64
|
+
/* @__PURE__ */ c(i, {}),
|
|
64
65
|
/* @__PURE__ */ l("div", {
|
|
65
66
|
className: d.formContainer,
|
|
66
67
|
children: [D && /* @__PURE__ */ c("p", {
|
|
@@ -68,7 +69,7 @@ var d = {
|
|
|
68
69
|
children: D
|
|
69
70
|
}), C ? /* @__PURE__ */ c("div", {
|
|
70
71
|
className: d.loading,
|
|
71
|
-
children: /* @__PURE__ */ c(
|
|
72
|
+
children: /* @__PURE__ */ c(n, {})
|
|
72
73
|
}) : x ? /* @__PURE__ */ c(e, {
|
|
73
74
|
schema: x,
|
|
74
75
|
initialValues: b ?? {},
|