@levo-so/site-runtime 0.3.8 → 0.3.10

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 (33) hide show
  1. package/{DateTimeWidget-hFjcn3o6.js → DateTimeWidget-U3lD0q1q.js} +1 -1
  2. package/{KBChatWidget-ClHFDgJ5.js → KBChatWidget-ByOwQQNg.js} +404 -397
  3. package/PopupBody-BI-MJqmd-DW3qWKam.js +159 -0
  4. package/PopupRenderer-D66Gx63H-BnOmWsyj.js +388 -0
  5. package/RichTextWidget-DfakML79.js +749 -0
  6. package/RteThemeProvider-BQmfSXSl.js +20 -0
  7. package/{nodeAlignment-BnJljFlw.js → content.cssm-XdMsTGIB.js} +24 -32
  8. package/{dist-CRDgdAkQ.js → dist-BdNHqoWi.js} +498 -466
  9. package/{dist-DPmVG7VB.js → dist-Cl_sKk9y.js} +3 -3
  10. package/index.d.ts +539 -9
  11. package/index.js +998 -798
  12. package/inlineRteTheme-CRPtkNXy.js +10 -0
  13. package/{kbChat-C00LVlxP.js → kbChat-GBcfFoss.js} +15 -15
  14. package/package.json +41 -27
  15. package/pillChrome-_hpGdrBS.js +50 -0
  16. package/popups.js +1 -1
  17. package/{PopupBody-DZVwDLkg-Cfy3lWGs.js → react-Cj_U6VZQ.js} +816 -850
  18. package/rich-text.d.ts +25 -0
  19. package/rich-text.js +1644 -0
  20. package/routes-CyKmkoRM.js +316 -0
  21. package/start.d.ts +38 -0
  22. package/start.js +19 -0
  23. package/styles.css +1 -1
  24. package/{usePopupRedirect-BThP_YPW-COUseDik.js → usePopupRedirect-CAAdcpaW-Ddjyf4KK.js} +15 -13
  25. package/PopupRenderer-BjW1jg70-W2y-PEPH.js +0 -387
  26. package/RichTextWidget-DkKHEq4j.js +0 -759
  27. package/pillChrome-BAu5AfCT.js +0 -30
  28. /package/{PhoneWidget-BmBO-kvA.js → PhoneWidget-DQQa4bL6.js} +0 -0
  29. /package/{Popover-3N88sRp4.js → Popover-C29yJ7rz.js} +0 -0
  30. /package/{es-CztjLuNy.js → es-ByBbirnH.js} +0 -0
  31. /package/{popupState-JmpeKzgM-qhNTV79U.js → popupState-JmpeKzgM-D_77LiAa.js} +0 -0
  32. /package/{react-CV3jf2mc.js → react-B9yvlbH0.js} +0 -0
  33. /package/{rteTheme.cssm-xg0gJ28J.js → rteTheme.cssm-W4gTOijw.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
2
  import { t } from "./LevoProvider-Bsjkcwc8.js";
3
- import { a as n, c as r, i, l as a, o, t as s, u as c } from "./popupState-JmpeKzgM-qhNTV79U.js";
4
- import { t as l } from "./react-CV3jf2mc.js";
3
+ import { a as n, c as r, i, l as a, o, t as s, u as c } from "./popupState-JmpeKzgM-D_77LiAa.js";
4
+ import { t as l } from "./react-B9yvlbH0.js";
5
5
  import { c as u } from "react/compiler-runtime";
6
6
  import { jsx as d } from "react/jsx-runtime";
7
7
  import { Suspense as f, lazy as p, useEffect as m, useRef as h, useState as g } from "react";
@@ -14,7 +14,7 @@ var v = /* @__PURE__ */ e({
14
14
  }), y = async (e, t) => {
15
15
  let n = {};
16
16
  return t?.site_id && (n.site_id = t.site_id), t?.locale && (n.locale = t.locale), t?.country && (n.country = t.country), (await e.url("/v1/studio/popup/list-active").query(n).get().json())?.content?.data ?? [];
17
- }, b = p(() => import("./PopupRenderer-BjW1jg70-W2y-PEPH.js").then((e) => e.t).then((e) => ({ default: e.PopupRenderer }))), x = (e) => {
17
+ }, b = p(() => import("./PopupRenderer-D66Gx63H-BnOmWsyj.js").then((e) => e.t).then((e) => ({ default: e.PopupRenderer }))), x = (e) => {
18
18
  let n = u(9), { siteId: r, pageId: i } = e, { fetch: a, logger: s } = t(), [c, l] = g(null), p = h(!1), v, x;
19
19
  if (n[0] !== a || n[1] !== s || n[2] !== r ? (v = () => {
20
20
  if (p.current) return;