@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.
Files changed (53) hide show
  1. package/BillingStep-ByiYjJ0S.js +251 -0
  2. package/BookingCard-DdwLHVGw.js +816 -0
  3. package/CollectionLabel-CmUFfc_7.js +35 -0
  4. package/DateTimeWidget-Bk2tk_CT.js +254 -0
  5. package/{KBChatWidget-BMuZ-VI3.js → KBChatWidget-BXRRgelS.js} +1 -1
  6. package/{PhoneWidget-DPECohGT.js → PhoneWidget-FWE3jD_L.js} +3 -5
  7. package/{Popover-Cr0-X_ch.js → Popover-MSrVDAzg.js} +7 -7
  8. package/PopupBody-DWM55Zh5-B3ysApDM.js +158 -0
  9. package/PopupDialog-DwAAJ8JS-DkxjZaJL.js +260 -0
  10. package/PopupRenderer-BVtV4b9I-Dot4Syse.js +207 -0
  11. package/{RichTextWidget-C1QECDcg.js → RichTextWidget-KnIKESAD.js} +134 -135
  12. package/{RteThemeProvider-CMbSaFRQ.js → RteThemeProvider-DtTXGcCT.js} +2 -3
  13. package/Sonner-BsE4Y_t4.js +21 -0
  14. package/blog-content.js +8 -9
  15. package/dist-BVFCdirT.js +4471 -0
  16. package/dist-DEXGyFeH.js +376 -0
  17. package/index.js +12 -13
  18. package/{themeVars.cssm-ByhhC2Jm.js → inlineBaseTheme-DcNdMEYp.js} +35 -5
  19. package/{inlineCollectionTheme-CWcMCUti.js → inlineCollectionTheme-DjXuH3bK.js} +1 -1
  20. package/{inlineRteTheme-CRPtkNXy.js → inlineRteTheme-BYGIJM7P.js} +1 -1
  21. package/{kbChat-DtZ4vuCZ.js → kbChat-eFsau7hG.js} +2 -2
  22. package/package.json +23 -23
  23. package/{pillChrome-CEpWGNZB.js → pillChrome-Dy3ApFI5.js} +5 -5
  24. package/popups.js +1 -1
  25. package/{react-Cj_U6VZQ.js → react-CENbCy5d.js} +6 -5
  26. package/script.esm-uVCZU25S.js +62 -0
  27. package/start.js +1 -1
  28. package/styles.css +1 -1
  29. package/theme.cssm-iXnQwMCp.js +238 -0
  30. package/CollectionField-DCAXOmBN.js +0 -270
  31. package/CollectionInput-BJ__qcbk.js +0 -147
  32. package/DateTimeWidget-I0LvR-tO.js +0 -255
  33. package/Dialog-D-vRkU9N.js +0 -130
  34. package/LevoProvider-BkbKrvrI.js +0 -20
  35. package/PopupBody-BI-MJqmd-a-l3CaKZ.js +0 -159
  36. package/PopupRenderer-D66Gx63H-DpcNpbtU.js +0 -388
  37. package/ThemeProvider-DlFehjh1.js +0 -116
  38. package/Tooltip-BKQ5rIDh.js +0 -67
  39. package/VerifyButton-D0cj9Z5Q.js +0 -192
  40. package/createThemeExtension-4AUn51iJ.js +0 -15
  41. package/dist-IxiGbP-3.js +0 -3783
  42. package/dist-_lwl0kZw.js +0 -79
  43. package/inlineBaseTheme-BB9e6h5f.js +0 -9
  44. package/popupState-JmpeKzgM-D_77LiAa.js +0 -229
  45. package/react-B9yvlbH0.js +0 -74
  46. package/theme.cssm-DUzmx76l.js +0 -4
  47. package/usePopupRedirect-CAAdcpaW-BDa44PXN.js +0 -82
  48. /package/{content.cssm-XdMsTGIB.js → content.cssm-D_LSloGW.js} +0 -0
  49. /package/{es-CGQflL9T.js → es-CK20DkgT.js} +0 -0
  50. /package/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
  51. /package/{routes-CyKmkoRM.js → routes-DO1BLfh9.js} +0 -0
  52. /package/{rteTheme.cssm-W4gTOijw.js → rteTheme.cssm-BRxusHY4.js} +0 -0
  53. /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
- let e = Array.isArray(n?.previousNode?.content) ? n.previousNode.content : [];
2395
- return n?.previousNode?.type === "paragraph" && e.length === 0 ? F : "";
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.0_@tiptap+core@3.30.0_@tiptap+pm@3.30.0__@tiptap+pm@3.30.0_happy-dom@20.9.0/node_modules/@tiptap/html/dist/index.js
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.0_@tiptap+core@3.30.0_@tiptap+pm@3.30.0__@tiptap+pm@3.30.0_32db194579d7d1b9da503a9162bec3c3/node_modules/@tiptap/static-renderer/dist/pm/react/index.js
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(/* @__PURE__ */ Object.create(null), {
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
@@ -1,4 +1,4 @@
1
- import { a as e, i as t, r as n } from "./routes-CyKmkoRM.js";
1
+ import { a as e, i as t, r as n } from "./routes-DO1BLfh9.js";
2
2
  import { createMiddleware as r } from "@tanstack/react-start";
3
3
  //#region src/start/index.ts
4
4
  var i = (i, a) => {