@levo-so/site-runtime 0.3.14 → 0.3.16
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/CollectionField-DCAXOmBN.js +270 -0
- package/DateTimeWidget-Cr66rni6.js +255 -0
- package/{KBChatWidget-DCj3mo3P.js → KBChatWidget-GRi6sLpp.js} +22 -18
- package/{PhoneWidget-DQQa4bL6.js → PhoneWidget-CFRaMNwc.js} +8 -8
- package/{PopupBody-BI-MJqmd-DgTQEzda.js → PopupBody-BI-MJqmd-DdFDtjOo.js} +1 -1
- package/{PopupRenderer-D66Gx63H-Cd9xJv33.js → PopupRenderer-D66Gx63H-IgqQ0Z7U.js} +1 -1
- package/{RichTextWidget-DfakML79.js → RichTextWidget-LpzXJZXc.js} +29 -29
- package/blog-content.js +412 -272
- package/{dist-6AIgW_iB.js → dist-B1BSD6Np.js} +1 -1
- package/{dist-CEdznbFW.js → dist-Y-Rc8Xqh.js} +742 -666
- package/index.js +7 -4
- package/{kbChat-BIzoQwEC.js → kbChat-a2dXSeRc.js} +1 -1
- package/package.json +9 -9
- package/popups.js +1 -1
- package/styles.css +1 -1
- package/CollectionField-C-6a1ud4.js +0 -270
- package/DateTimeWidget-U3lD0q1q.js +0 -255
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as e, n as t } from "./dist-
|
|
2
|
+
import { i as e, n as t } from "./dist-Y-Rc8Xqh.js";
|
|
3
3
|
import { i as n, n as r, r as i } from "./LevoProvider-Bsjkcwc8.js";
|
|
4
4
|
import { t as a } from "./inlineCollectionTheme-CWcMCUti.js";
|
|
5
5
|
import { t as o } from "./inlineBaseTheme-BB9e6h5f.js";
|
|
@@ -700,7 +700,7 @@ var Y = ["levo-auth", "session"], He = () => {
|
|
|
700
700
|
},
|
|
701
701
|
clear: O(() => f("", 0), [f])
|
|
702
702
|
};
|
|
703
|
-
}, _t = D(() => import("./kbChat-
|
|
703
|
+
}, _t = D(() => import("./kbChat-a2dXSeRc.js")), vt = ({ site: e, path: t }) => {
|
|
704
704
|
let n = J(), r = e.workspace_id || void 0;
|
|
705
705
|
return !n || !r ? null : /* @__PURE__ */ S(T, {
|
|
706
706
|
fallback: null,
|
|
@@ -1817,7 +1817,7 @@ var Ln = "levo-made-with", Rn = `.${Ln}{opacity:.2;transition:opacity 150ms,tran
|
|
|
1817
1817
|
if (typeof document > "u") return null;
|
|
1818
1818
|
let e = document.querySelectorAll(`meta[name="${Bn}"]`);
|
|
1819
1819
|
return e[e.length - 1]?.getAttribute("content")?.trim() || null;
|
|
1820
|
-
}, Hn = D(() => import("./dist-
|
|
1820
|
+
}, Hn = D(() => import("./dist-B1BSD6Np.js").then((e) => e.n).then((e) => ({ default: e.PopupLoader }))), Un = ({ siteId: e, pageId: t }) => {
|
|
1821
1821
|
let n = J(), r = i();
|
|
1822
1822
|
return !n || !r ? null : /* @__PURE__ */ S(T, {
|
|
1823
1823
|
fallback: null,
|
|
@@ -1875,7 +1875,10 @@ var Ln = "levo-made-with", Rn = `.${Ln}{opacity:.2;transition:opacity 150ms,tran
|
|
|
1875
1875
|
cookie: typeof document > "u" ? null : document.cookie,
|
|
1876
1876
|
hasRoute: n
|
|
1877
1877
|
});
|
|
1878
|
-
if (r.kind === "redirect" && r.path !== t.pathname) throw ee({
|
|
1878
|
+
if (r.kind === "redirect" && r.path !== t.pathname) throw ee({
|
|
1879
|
+
search: !0,
|
|
1880
|
+
to: r.path
|
|
1881
|
+
});
|
|
1879
1882
|
};
|
|
1880
1883
|
}, Zn = (e) => {
|
|
1881
1884
|
let t = e.locales ?? [], n = e.domain?.trim().replace(/^https?:\/\//, "").replace(/\/+$/, "");
|
|
@@ -64,7 +64,7 @@ var x = (t) => e("active_agent", t), S = (e) => {
|
|
|
64
64
|
e,
|
|
65
65
|
r
|
|
66
66
|
]), i;
|
|
67
|
-
}, T = (...e) => e.filter(Boolean).join(" "), E = () => import("./KBChatWidget-
|
|
67
|
+
}, T = (...e) => e.filter(Boolean).join(" "), E = () => import("./KBChatWidget-GRi6sLpp.js"), D = (e) => {
|
|
68
68
|
let [t, n] = v(null), [r, i] = v(!1), [a, o] = v("");
|
|
69
69
|
return t ? /* @__PURE__ */ m(t, {
|
|
70
70
|
initialOpen: !0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levo-so/site-runtime",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"description": "Runtime for Levo Studio v3 sites — the editor preview inspector, page head metadata, and the Levo data client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -75,15 +75,15 @@
|
|
|
75
75
|
"lowlight": "3.1.0",
|
|
76
76
|
"@vanilla-extract/dynamic": "2.1.5",
|
|
77
77
|
"sonner": "2.0.7",
|
|
78
|
-
"@assistant-ui/react": "0.15.
|
|
79
|
-
"@assistant-ui/react-ai-sdk": "1.4.
|
|
80
|
-
"@assistant-ui/react-markdown": "0.14.
|
|
81
|
-
"@assistant-ui/core": "0.3.
|
|
82
|
-
"@assistant-ui/store": "0.3.
|
|
83
|
-
"@assistant-ui/tap": "0.9.
|
|
78
|
+
"@assistant-ui/react": "0.15.19",
|
|
79
|
+
"@assistant-ui/react-ai-sdk": "1.4.10",
|
|
80
|
+
"@assistant-ui/react-markdown": "0.14.15",
|
|
81
|
+
"@assistant-ui/core": "0.3.18",
|
|
82
|
+
"@assistant-ui/store": "0.3.13",
|
|
83
|
+
"@assistant-ui/tap": "0.9.17",
|
|
84
84
|
"remark-gfm": "4.0.1",
|
|
85
|
-
"@levo-so/core": "0.3.
|
|
86
|
-
"@levo-so/insights": "0.3.
|
|
85
|
+
"@levo-so/core": "0.3.16",
|
|
86
|
+
"@levo-so/insights": "0.3.16",
|
|
87
87
|
"@stripe/react-stripe-js": "3.1.1",
|
|
88
88
|
"@stripe/stripe-js": "5.5.0",
|
|
89
89
|
"react-razorpay": "3.0.1"
|
package/popups.js
CHANGED