@zenuml/core 3.50.0 → 3.50.1

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.
@@ -78,7 +78,7 @@ function g7(e) {
78
78
  }
79
79
  return t.child = (n) => g7(["%c" + (n.name || ""), "color: #00f"]), t;
80
80
  }
81
- const Je = g7(), sr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_APP_GIT_BRANCH: "main", VITE_APP_GIT_HASH: "44667b07" };
81
+ const Je = g7(), sr = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1, VITE_APP_GIT_BRANCH: "main", VITE_APP_GIT_HASH: "38404ccc" };
82
82
  function p7(e) {
83
83
  return "init" in e;
84
84
  }
@@ -35682,7 +35682,7 @@ const BC = (e) => /* @__PURE__ */ w.createElement("svg", { xmlns: "http://www.w3
35682
35682
  /* @__PURE__ */ E.jsxs("span", { className: "inline-block px-2", children: [
35683
35683
  "main",
35684
35684
  ":",
35685
- "44667b07"
35685
+ "38404ccc"
35686
35686
  ] })
35687
35687
  ] }) : null;
35688
35688
  }, rS = "_tooltip_5kyas_1", aS = "_bottom_5kyas_29", Jg = {
@@ -45239,24 +45239,17 @@ const tO = (e) => {
45239
45239
  pt(F0);
45240
45240
  const t = pt(ps), n = w.useMemo(() => t.getWidth(), [t]), s = hs(t, e.origin), a = e.context.divider().Note(), o = w.useMemo(() => {
45241
45241
  if (a.trim().indexOf("[") === 0 && a.indexOf("]") !== -1) {
45242
- const h = a.indexOf("["), m = a.indexOf("]"), p = a.slice(h + 1, m), y = a.slice(m + 1), L = s3(p), b = L.emojis.map((S) => to(S)).join("") + (L.emojis.length > 0 ? " " : ""), C = L.classNames.filter((S) => !L.emojis.includes(S));
45242
+ const d = a.indexOf("["), h = a.indexOf("]"), m = a.slice(d + 1, h), p = a.slice(h + 1), y = s3(m), L = y.emojis.map((C) => to(C)).join("") + (y.emojis.length > 0 ? " " : ""), b = y.classNames.filter((C) => !y.emojis.includes(C));
45243
45243
  return {
45244
- style: Zl(C),
45245
- note: b + y
45244
+ style: Zl(b),
45245
+ note: L + p
45246
45246
  };
45247
45247
  }
45248
45248
  return { style: Zl([]), note: a };
45249
- }, [a]), u = o.note.replace(/^=+\s*|\s*=+$/g, "").trim(), d = w.useCallback((h) => {
45250
- if (!h) return;
45251
- const p = h.parentElement?.parentElement;
45252
- if (!p) return;
45253
- const y = parseFloat(getComputedStyle(p).paddingLeft) || 0;
45254
- h.style.transform = `translateX(-${y}px)`;
45255
- }, []);
45249
+ }, [a]), u = o.note.replace(/^=+\s*|\s*=+$/g, "").trim();
45256
45250
  return /* @__PURE__ */ E.jsxs(
45257
45251
  "div",
45258
45252
  {
45259
- ref: d,
45260
45253
  className: Ht("divider", e.className),
45261
45254
  "data-origin": e.origin,
45262
45255
  style: {
@@ -47222,7 +47215,7 @@ class cM extends w.Component {
47222
47215
  ] }) : this.props.children;
47223
47216
  }
47224
47217
  }
47225
- const uM = "3.50.0";
47218
+ const uM = "3.50.1";
47226
47219
  function dM(e) {
47227
47220
  const t = Math.floor(e / 1e3), n = Math.floor(e % 1e3), s = Math.floor((e % 1e3 - n) * 1e3);
47228
47221
  return t + "s " + n + "ms " + s + "μs";