@zenuml/core 3.45.4 → 3.46.0
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/dist/stats.html +1 -1
- package/dist/zenuml.esm.mjs +6 -6
- package/dist/zenuml.js +5 -5
- package/package.json +1 -1
package/dist/zenuml.esm.mjs
CHANGED
|
@@ -436,7 +436,7 @@ function Hb(i) {
|
|
|
436
436
|
), r;
|
|
437
437
|
}, i;
|
|
438
438
|
}
|
|
439
|
-
const H4 = Hb(Db), Xr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_APP_GIT_BRANCH: "main", VITE_APP_GIT_HASH: "
|
|
439
|
+
const H4 = Hb(Db), Xr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_APP_GIT_BRANCH: "main", VITE_APP_GIT_HASH: "e661bd42" };
|
|
440
440
|
function B4(i) {
|
|
441
441
|
return "init" in i;
|
|
442
442
|
}
|
|
@@ -32649,7 +32649,7 @@ const uw = (i) => /* @__PURE__ */ S.createElement("svg", { xmlns: "http://www.w3
|
|
|
32649
32649
|
/* @__PURE__ */ E.jsxs("span", { className: "inline-block px-2", children: [
|
|
32650
32650
|
"main",
|
|
32651
32651
|
":",
|
|
32652
|
-
"
|
|
32652
|
+
"e661bd42"
|
|
32653
32653
|
] })
|
|
32654
32654
|
] }) : null;
|
|
32655
32655
|
}, Ow = "_tooltip_5kyas_1", Mw = "_bottom_5kyas_29", Y5 = {
|
|
@@ -37123,10 +37123,10 @@ const pc = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, jl = (i) => {
|
|
|
37123
37123
|
).sort((z, j) => j[0] - z[0]), v = () => {
|
|
37124
37124
|
const z = i.offsetTop2 || 0;
|
|
37125
37125
|
let j = d + p;
|
|
37126
|
-
d > FL && c && (j += c);
|
|
37126
|
+
d > FL && c !== !1 && (j += c);
|
|
37127
37127
|
const H = (a == null ? void 0 : a.clientHeight) || 0, J = a ? UL(a) : 0;
|
|
37128
37128
|
return j < z + J ? 0 : Math.min(j - J, H - tT - 50) - z;
|
|
37129
|
-
}, _ = t === $i.Static ? 0 : v(), w = i.entity.color ? BL(i.entity.color) : void 0, k = S.useMemo(() => {
|
|
37129
|
+
}, _ = t === $i.Static || c === !1 ? 0 : v(), w = i.entity.color ? BL(i.entity.color) : void 0, k = S.useMemo(() => {
|
|
37130
37130
|
if (!i.entity.color)
|
|
37131
37131
|
return;
|
|
37132
37132
|
const z = e.current && window.getComputedStyle(e.current).getPropertyValue("background-color");
|
|
@@ -41343,7 +41343,7 @@ const nk = (i, e) => {
|
|
|
41343
41343
|
]
|
|
41344
41344
|
}
|
|
41345
41345
|
);
|
|
41346
|
-
}, ak = "3.
|
|
41346
|
+
}, ak = "3.46.0";
|
|
41347
41347
|
function lk(i) {
|
|
41348
41348
|
const e = Math.floor(i / 1e3), t = Math.floor(i % 1e3), r = Math.floor((i % 1e3 - t) * 1e3);
|
|
41349
41349
|
return e + "s " + t + "ms " + r + "μs";
|
|
@@ -51412,7 +51412,7 @@ const mk = H4.child({ name: "core" }), oc = class oc {
|
|
|
51412
51412
|
e.id = "headlessui-portal-root", e.className = "zenuml", e.append(document.createElement("div")), document.body.append(e);
|
|
51413
51413
|
}
|
|
51414
51414
|
async render(e, t) {
|
|
51415
|
-
return this._currentTimeout && (console.debug("rendering clearTimeout"), clearTimeout(this._currentTimeout)), mk.debug("rendering", e, t), this._code = e === void 0 ? this._code : e, this._theme = (t == null ? void 0 : t.theme) || this._theme, this.store.set(_x, (t == null ? void 0 : t.stickyOffset)
|
|
51415
|
+
return this._currentTimeout && (console.debug("rendering clearTimeout"), clearTimeout(this._currentTimeout)), mk.debug("rendering", e, t), this._code = e === void 0 ? this._code : e, this._theme = (t == null ? void 0 : t.theme) || this._theme, this.store.set(_x, (t == null ? void 0 : t.stickyOffset) ?? 0), this.store.set(Sl, this._theme || "default"), this.store.set(
|
|
51416
51416
|
W1,
|
|
51417
51417
|
(t == null ? void 0 : t.enableScopedTheming) || !1
|
|
51418
51418
|
), this.store.set(wr, (t == null ? void 0 : t.mode) || $i.Dynamic), this.initialRender ? (this.initialRender = !1, await this.doRender(t)) : this._currentTimeout = setTimeout(
|