@levo-so/site-runtime 0.3.20 → 0.3.21
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-ByiYjJ0S.js +251 -0
- package/BookingCard-DdwLHVGw.js +816 -0
- package/CollectionLabel-CmUFfc_7.js +35 -0
- package/DateTimeWidget-Bk2tk_CT.js +254 -0
- package/{KBChatWidget-BMuZ-VI3.js → KBChatWidget-BXRRgelS.js} +1 -1
- package/{PhoneWidget-DPECohGT.js → PhoneWidget-FWE3jD_L.js} +3 -5
- package/{Popover-Cr0-X_ch.js → Popover-MSrVDAzg.js} +7 -7
- package/PopupBody-DWM55Zh5-B3ysApDM.js +158 -0
- package/PopupDialog-DwAAJ8JS-DkxjZaJL.js +260 -0
- package/PopupRenderer-BVtV4b9I-Dot4Syse.js +207 -0
- package/{RichTextWidget-C1QECDcg.js → RichTextWidget-KnIKESAD.js} +134 -135
- package/{RteThemeProvider-CMbSaFRQ.js → RteThemeProvider-DtTXGcCT.js} +2 -3
- package/Sonner-BsE4Y_t4.js +21 -0
- package/blog-content.js +8 -9
- package/dist-BVFCdirT.js +4471 -0
- package/dist-DEXGyFeH.js +376 -0
- package/index.js +12 -13
- package/{themeVars.cssm-ByhhC2Jm.js → inlineBaseTheme-DcNdMEYp.js} +35 -5
- package/{inlineCollectionTheme-CWcMCUti.js → inlineCollectionTheme-DjXuH3bK.js} +1 -1
- package/{inlineRteTheme-CRPtkNXy.js → inlineRteTheme-BYGIJM7P.js} +1 -1
- package/{kbChat-DtZ4vuCZ.js → kbChat-eFsau7hG.js} +2 -2
- package/package.json +23 -23
- package/{pillChrome-CEpWGNZB.js → pillChrome-Dy3ApFI5.js} +5 -5
- package/popups.js +1 -1
- package/{react-Cj_U6VZQ.js → react-CENbCy5d.js} +6 -5
- package/script.esm-uVCZU25S.js +62 -0
- package/start.js +1 -1
- package/styles.css +1 -1
- package/theme.cssm-iXnQwMCp.js +238 -0
- package/CollectionField-DCAXOmBN.js +0 -270
- package/CollectionInput-BJ__qcbk.js +0 -147
- package/DateTimeWidget-I0LvR-tO.js +0 -255
- package/Dialog-D-vRkU9N.js +0 -130
- package/LevoProvider-BkbKrvrI.js +0 -20
- package/PopupBody-BI-MJqmd-a-l3CaKZ.js +0 -159
- package/PopupRenderer-D66Gx63H-DpcNpbtU.js +0 -388
- package/ThemeProvider-DlFehjh1.js +0 -116
- package/Tooltip-BKQ5rIDh.js +0 -67
- package/VerifyButton-D0cj9Z5Q.js +0 -192
- package/createThemeExtension-4AUn51iJ.js +0 -15
- package/dist-IxiGbP-3.js +0 -3783
- package/dist-_lwl0kZw.js +0 -79
- package/inlineBaseTheme-BB9e6h5f.js +0 -9
- package/popupState-JmpeKzgM-D_77LiAa.js +0 -229
- package/react-B9yvlbH0.js +0 -74
- package/theme.cssm-DUzmx76l.js +0 -4
- package/usePopupRedirect-CAAdcpaW-BDa44PXN.js +0 -82
- /package/{content.cssm-XdMsTGIB.js → content.cssm-D_LSloGW.js} +0 -0
- /package/{es-CGQflL9T.js → es-CK20DkgT.js} +0 -0
- /package/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/{routes-CyKmkoRM.js → routes-DO1BLfh9.js} +0 -0
- /package/{rteTheme.cssm-W4gTOijw.js → rteTheme.cssm-BRxusHY4.js} +0 -0
- /package/{script.esm-wR2d7rrv.js → script.esm-D4nvz3-k.js} +0 -0
|
@@ -2391,8 +2391,9 @@ var oe = {
|
|
|
2391
2391
|
if (!e) return "";
|
|
2392
2392
|
let r = Array.isArray(e.content) ? e.content : [];
|
|
2393
2393
|
if (r.length === 0) {
|
|
2394
|
-
|
|
2395
|
-
|
|
2394
|
+
var i, a;
|
|
2395
|
+
let e = Array.isArray(n == null || (i = n.previousNode) == null ? void 0 : i.content) ? n.previousNode.content : [];
|
|
2396
|
+
return (n == null || (a = n.previousNode) == null ? void 0 : a.type) === "paragraph" && e.length === 0 ? F : "";
|
|
2396
2397
|
}
|
|
2397
2398
|
return t.renderChildren(r);
|
|
2398
2399
|
},
|
|
@@ -2517,7 +2518,7 @@ var oe = {
|
|
|
2517
2518
|
}
|
|
2518
2519
|
});
|
|
2519
2520
|
//#endregion
|
|
2520
|
-
//#region ../../node_modules/.pnpm/@tiptap+html@3.30.
|
|
2521
|
+
//#region ../../node_modules/.pnpm/@tiptap+html@3.30.6_@tiptap+core@3.30.6_@tiptap+pm@3.30.6__@tiptap+pm@3.30.6_happy-dom@20.9.0/node_modules/@tiptap/html/dist/index.js
|
|
2521
2522
|
function pe(e, t, n) {
|
|
2522
2523
|
if (typeof window > "u") throw Error("generateJSON can only be used in a browser environment\nIf you want to use this in a Node environment, use the `@tiptap/html/server` import instead.");
|
|
2523
2524
|
let r = s(t), i = new window.DOMParser().parseFromString(e, "text/html");
|
|
@@ -2525,7 +2526,7 @@ function pe(e, t, n) {
|
|
|
2525
2526
|
return ie.fromSchema(r).parse(i.body, n).toJSON();
|
|
2526
2527
|
}
|
|
2527
2528
|
//#endregion
|
|
2528
|
-
//#region ../../node_modules/.pnpm/@tiptap+static-renderer@3.30.
|
|
2529
|
+
//#region ../../node_modules/.pnpm/@tiptap+static-renderer@3.30.6_@tiptap+core@3.30.6_@tiptap+pm@3.30.6__@tiptap+pm@3.30.6_cbb94780370b8be64a55ef8138214007/node_modules/@tiptap/static-renderer/dist/pm/react/index.js
|
|
2529
2530
|
function me(e, t, n) {
|
|
2530
2531
|
let r = e.attrs;
|
|
2531
2532
|
return r ? t.filter((t) => t.type === (typeof e.type == "string" ? e.type : e.type.name) ? n ? t.attribute.rendered : !0 : !1).map((e) => e.attribute.renderHTML && e.attribute.renderHTML(r) || { [e.name]: e.name in r ? r[e.name] : e.attribute.default }).reduce((e, t) => f(e, t), {}) : {};
|
|
@@ -2641,7 +2642,7 @@ function Y(e) {
|
|
|
2641
2642
|
};
|
|
2642
2643
|
}
|
|
2643
2644
|
function X(e) {
|
|
2644
|
-
let t = Object.assign(
|
|
2645
|
+
let t = Object.assign(Object.create(null), {
|
|
2645
2646
|
type: { name: e.attrs[G] },
|
|
2646
2647
|
attrs: e.attrs[K],
|
|
2647
2648
|
toJSON: () => Y(e.toJSON())
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
//#region ../../libraries/react-collection/dist/node_modules/.pnpm/@cashfreepayments_cashfree-js@1.0.7/node_modules/@cashfreepayments/cashfree-js/dist/script.esm.js
|
|
2
|
+
var e = "https://sdk.cashfree.com/js/v3/cashfree.js", t = /^https:\/\/sdk\.cashfree\.com\/js\/v3\/.*$/, n = "load was called but an existing Cashfree.js script already exists in the document; existing script parameters will be used", r = function() {
|
|
3
|
+
for (var n = document.querySelectorAll(`script[src^="${e}"]`), r = 0; r < n.length; r++) {
|
|
4
|
+
var i = n[r];
|
|
5
|
+
if (t.test(i.src)) return i;
|
|
6
|
+
}
|
|
7
|
+
return null;
|
|
8
|
+
}, i = function(t) {
|
|
9
|
+
var n = "", r = document.createElement("script");
|
|
10
|
+
r.src = `${e}${n}`;
|
|
11
|
+
var i = document.head || document.body;
|
|
12
|
+
if (!i) throw Error("Expected document.body not to be null. Cashfree.js requires a <body> element.");
|
|
13
|
+
return i.appendChild(r), r;
|
|
14
|
+
}, a = null, o = function(e) {
|
|
15
|
+
return a === null && (a = new Promise(function(t, o) {
|
|
16
|
+
if (typeof window > "u" || typeof document > "u") {
|
|
17
|
+
t(null);
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
if (window.Cashfree && e && console.warn(n), window.Cashfree) {
|
|
21
|
+
t(window.Cashfree);
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
var s = 3, c = 0, l = !1;
|
|
25
|
+
function u(n) {
|
|
26
|
+
n.addEventListener("load", function() {
|
|
27
|
+
window.Cashfree ? t(window.Cashfree) : o(/* @__PURE__ */ Error("Cashfree.js not available"));
|
|
28
|
+
}), n.addEventListener("error", function() {
|
|
29
|
+
l || (c < s ? (l = !0, c++, n.parentNode && n.parentNode.removeChild(n), setTimeout(function() {
|
|
30
|
+
l = !1;
|
|
31
|
+
try {
|
|
32
|
+
u(r() || i(e));
|
|
33
|
+
} catch (e) {
|
|
34
|
+
o(e);
|
|
35
|
+
}
|
|
36
|
+
}, 100)) : (a = null, o(/* @__PURE__ */ Error("Failed to load Cashfree.js"))));
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
try {
|
|
40
|
+
var d = r();
|
|
41
|
+
d && e ? console.warn(n) : d ||= i(e), u(d);
|
|
42
|
+
} catch (e) {
|
|
43
|
+
o(e);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
})), a;
|
|
47
|
+
}, s = function(e, t, n) {
|
|
48
|
+
return e === null ? null : e.apply(void 0, t);
|
|
49
|
+
}, c = Promise.resolve().then(function() {
|
|
50
|
+
return o(null);
|
|
51
|
+
}), l = !1;
|
|
52
|
+
c.catch(function(e) {
|
|
53
|
+
l || console.warn(e);
|
|
54
|
+
});
|
|
55
|
+
var u = async function() {
|
|
56
|
+
var e = [...arguments];
|
|
57
|
+
l = !0;
|
|
58
|
+
var t = Date.now();
|
|
59
|
+
return s(await c, e, t);
|
|
60
|
+
};
|
|
61
|
+
//#endregion
|
|
62
|
+
export { u as load };
|
package/start.js
CHANGED