@abi-software/simulationvuer 3.2.2 → 3.2.3

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.
@@ -43368,7 +43368,7 @@ const Bd = () => {
43368
43368
  ]), 1024);
43369
43369
  };
43370
43370
  }
43371
- }), ree = "0.20260612.3", nee = {
43371
+ }), ree = "0.20260612.4", nee = {
43372
43372
  version: ree
43373
43373
  }, { version: gh } = nee, gc = ve.ref(!1), tl = ve.ref(""), xw = async () => {
43374
43374
  try {
@@ -48500,26 +48500,34 @@ const mpe = /* @__PURE__ */ rS(() => ve.ref(null)), oS = /* @__PURE__ */ rS(() =
48500
48500
  );
48501
48501
  return a;
48502
48502
  }, Cu = () => {
48503
- const e = ve.shallowRef(void 0), t = "opencor-overlay-container";
48504
- return ve.onMounted(() => {
48505
- var a, o;
48506
- const r = (o = (a = ve.getCurrentInstance()) == null ? void 0 : a.vnode) == null ? void 0 : o.el, n = r instanceof Element ? r.closest(".opencor") : document.querySelector(".opencor");
48507
- if (n) {
48508
- let i = n.querySelector(`.${t}`);
48509
- if (!i) {
48510
- i = document.createElement("div"), i.className = t, i.style.cssText = "position: fixed; top: 0; left: 0; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: 99999;", i.appendChild(
48511
- Object.assign(document.createElement("style"), {
48512
- textContent: `.${t} > * { pointer-events: auto; }`
48513
- })
48514
- ), n.appendChild(i);
48515
- const l = i, u = () => {
48516
- const s = l.getBoundingClientRect(), c = parseFloat(l.style.top) || 0, d = parseFloat(l.style.left) || 0, f = c - s.top - window.scrollY, p = d - s.left - window.scrollX;
48517
- (Math.abs(f - c) >= 0.5 || Math.abs(p - d) >= 0.5) && (l.style.top = `${f}px`, l.style.left = `${p}px`);
48518
- };
48519
- u(), window.addEventListener("scroll", u, { passive: !0 });
48520
- }
48521
- e.value = i;
48503
+ const e = ve.shallowRef(void 0), t = "opencor-overlay-container", r = (a) => {
48504
+ var u;
48505
+ const o = (u = a == null ? void 0 : a.vnode) == null ? void 0 : u.el, i = o instanceof Element ? o.closest(".opencor") : document.querySelector(".opencor");
48506
+ if (!i)
48507
+ return;
48508
+ let l = i.querySelector(`.${t}`);
48509
+ if (!l) {
48510
+ l = document.createElement("div"), l.className = t, l.style.cssText = "position: fixed; top: 0; left: 0; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: 99999;", l.appendChild(
48511
+ Object.assign(document.createElement("style"), {
48512
+ textContent: `.${t} > * { pointer-events: auto; }`
48513
+ })
48514
+ ), i.appendChild(l);
48515
+ const s = l, c = () => {
48516
+ const d = s.getBoundingClientRect(), f = parseFloat(s.style.top) || 0, p = parseFloat(s.style.left) || 0, m = f - d.top - window.scrollY, h = p - d.left - window.scrollX;
48517
+ (Math.abs(m - f) >= 0.5 || Math.abs(h - p) >= 0.5) && (s.style.top = `${m}px`, s.style.left = `${h}px`);
48518
+ };
48519
+ c(), window.addEventListener("scroll", c, { passive: !0 });
48522
48520
  }
48521
+ return l;
48522
+ }, n = (a) => {
48523
+ const o = document.fullscreenElement;
48524
+ return o && !o.contains(document.body) ? r(a) ?? document.body : document.body;
48525
+ };
48526
+ return ve.onMounted(() => {
48527
+ const a = ve.getCurrentInstance();
48528
+ e.value = n(a), document.addEventListener("fullscreenchange", () => {
48529
+ e.value = n(a);
48530
+ });
48523
48531
  }), e;
48524
48532
  };
48525
48533
  var gpe = function(e) {
@@ -50577,7 +50585,7 @@ const Mme = ["innerHTML"], Nme = /* @__PURE__ */ tt({
50577
50585
  }, 8, ["appendTo"])
50578
50586
  ], 544));
50579
50587
  }
50580
- }), dS = /* @__PURE__ */ Eo(Nme, [["__scopeId", "data-v-816f47c5"]]);
50588
+ }), dS = /* @__PURE__ */ Eo(Nme, [["__scopeId", "data-v-40eb0714"]]);
50581
50589
  var fS = {
50582
50590
  name: "BlankIcon",
50583
50591
  extends: rr
@@ -68249,7 +68257,7 @@ const Gwe = { class: "flex flex-row h-full" }, Kwe = {
68249
68257
  }, null, 8, ["model", "appendTo"])
68250
68258
  ]));
68251
68259
  }
68252
- }), $s = (e) => (vi("data-v-8e9d78f4"), e = e(), bi(), e), Jwe = { class: "h-full" }, Ywe = {
68260
+ }), $s = (e) => (vi("data-v-3607ca5a"), e = e(), bi(), e), Jwe = { class: "h-full" }, Ywe = {
68253
68261
  key: 1,
68254
68262
  class: "w-full h-full flex flex-col"
68255
68263
  }, Xwe = {
@@ -69016,8 +69024,8 @@ const Gwe = { class: "flex flex-row h-full" }, Kwe = {
69016
69024
  );
69017
69025
  st != null && st.name ? Pe = st.name.charAt(0).toLowerCase() + st.name.slice(1) : Pe = _e[he.id];
69018
69026
  }
69019
- me.push(`<tr>
69020
- <td style="vertical-align: top; font-weight: bold;">
69027
+ me.push(`<tr style="vertical-align: top;">
69028
+ <td style="font-weight: bold;">
69021
69029
  ${he.name}:
69022
69030
  </td>
69023
69031
  <td style="padding-left: 8px;">
@@ -69461,7 +69469,7 @@ const Gwe = { class: "flex flex-row h-full" }, Kwe = {
69461
69469
  ]);
69462
69470
  };
69463
69471
  }
69464
- }), y2 = /* @__PURE__ */ Eo(M2e, [["__scopeId", "data-v-8e9d78f4"]]), N2e = {
69472
+ }), y2 = /* @__PURE__ */ Eo(M2e, [["__scopeId", "data-v-3607ca5a"]]), N2e = {
69465
69473
  key: 0,
69466
69474
  class: "h-full"
69467
69475
  }, D2e = ["value"], E2e = {