mixdashboards 1.1.124 → 1.1.125

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.
@@ -74081,6 +74081,12 @@ function cme(n, e) {
74081
74081
  } catch (a) {
74082
74082
  return console.error("[BasePreview] script 解析失败:", a), { sheets: [], type: "" };
74083
74083
  }
74084
+ if (n && typeof n == "object")
74085
+ try {
74086
+ n = JSON.parse(JSON.stringify(n));
74087
+ } catch (a) {
74088
+ console.warn("[BasePreview] failed to clone script; using original object:", a);
74089
+ }
74084
74090
  if (n && n.dashboard && Array.isArray(n.dashboard) && n.dashboard.length > 0 && (n = n.dashboard[0]), !n || !n.sheets)
74085
74091
  return { sheets: [], type: "" };
74086
74092
  const t = (a) => Array.isArray(a == null ? void 0 : a.slots) ? a.slots.map((r) => r == null ? void 0 : r.component).filter((r) => r && typeof r == "object") : [], i = (a) => {
@@ -191579,7 +191585,7 @@ NA([8, 32946], () => import("./deflate-DZSox_Tz.js").then((n) => n.default));
191579
191585
  NA(32773, () => import("./packbits-AaardaO4.js").then((n) => n.default));
191580
191586
  NA(
191581
191587
  34887,
191582
- () => import("./lerc-C3ChcUkm.js").then((n) => Be(null, null, function* () {
191588
+ () => import("./lerc-j6s_GV3y.js").then((n) => Be(null, null, function* () {
191583
191589
  return yield n.zstd.init(), n;
191584
191590
  })).then((n) => n.default)
191585
191591
  );
@@ -272581,7 +272587,7 @@ const PQn = ["data-theme"], NQn = ["title", "aria-label"], QQn = ["id", "data-th
272581
272587
  } : void 0
272582
272588
  ]), 1032, ["script", "uid", "mixiot-dashboard-uid", "enableWebSocket", "follow-host-theme", "is-product", "agent", "release-embed-agent-on-unmount", "show-fullscreen-control"]));
272583
272589
  }
272584
- }), HQn = "1.1.124";
272590
+ }), HQn = "1.1.125";
272585
272591
  typeof console != "undefined" && console.info && console.info("[MixDashboards] 版本:", HQn);
272586
272592
  const jQn = [cT, ky, Tg], GQn = function(n) {
272587
272593
  jQn.forEach((e) => {
@@ -1,5 +1,5 @@
1
1
  import { i as sA } from "./pako.esm-BYYgjZjq.js";
2
- import { g as DA, L as nA, a as gA } from "./index-pOqiaQ9L.js";
2
+ import { g as DA, L as nA, a as gA } from "./index-D-XCkXtF.js";
3
3
  import { B as fA } from "./basedecoder-Brwqz2SL.js";
4
4
  var BA = { exports: {} }, iA;
5
5
  function tA() {
@@ -1,4 +1,4 @@
1
- import { _ as a, b as g, c as o, d as t, i, e as n, f as r } from "./index-pOqiaQ9L.js";
1
+ import { _ as a, b as g, c as o, d as t, i, e as n, f as r } from "./index-D-XCkXtF.js";
2
2
  export {
3
3
  a as DesignApp,
4
4
  g as DesignPro,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mixdashboards",
3
- "version": "1.1.124",
3
+ "version": "1.1.125",
4
4
  "description": "MixDashboards Display Components - Show, Pro, App",
5
5
  "type": "module",
6
6
  "main": "./dist/mixdashboards.js",