@abi-software/simulationvuer 3.2.1 → 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.
- package/dist/simulationvuer.js +34 -25
- package/dist/simulationvuer.umd.cjs +7 -7
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/simulationvuer.js
CHANGED
|
@@ -43368,7 +43368,7 @@ const Bd = () => {
|
|
|
43368
43368
|
]), 1024);
|
|
43369
43369
|
};
|
|
43370
43370
|
}
|
|
43371
|
-
}), ree = "0.20260612.
|
|
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,25 +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
|
-
|
|
48505
|
-
|
|
48506
|
-
|
|
48507
|
-
|
|
48508
|
-
|
|
48509
|
-
|
|
48510
|
-
|
|
48511
|
-
|
|
48512
|
-
|
|
48513
|
-
|
|
48514
|
-
|
|
48515
|
-
|
|
48516
|
-
|
|
48517
|
-
};
|
|
48518
|
-
|
|
48519
|
-
}
|
|
48520
|
-
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 });
|
|
48521
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
|
+
});
|
|
48522
48531
|
}), e;
|
|
48523
48532
|
};
|
|
48524
48533
|
var gpe = function(e) {
|
|
@@ -50568,7 +50577,7 @@ const Mme = ["innerHTML"], Nme = /* @__PURE__ */ tt({
|
|
|
50568
50577
|
}, {
|
|
50569
50578
|
default: pe(() => [
|
|
50570
50579
|
R("div", {
|
|
50571
|
-
class: "tooltip",
|
|
50580
|
+
class: "tooltip-content",
|
|
50572
50581
|
innerHTML: l.content
|
|
50573
50582
|
}, null, 8, Mme)
|
|
50574
50583
|
]),
|
|
@@ -50576,7 +50585,7 @@ const Mme = ["innerHTML"], Nme = /* @__PURE__ */ tt({
|
|
|
50576
50585
|
}, 8, ["appendTo"])
|
|
50577
50586
|
], 544));
|
|
50578
50587
|
}
|
|
50579
|
-
}), dS = /* @__PURE__ */ Eo(Nme, [["__scopeId", "data-v-
|
|
50588
|
+
}), dS = /* @__PURE__ */ Eo(Nme, [["__scopeId", "data-v-40eb0714"]]);
|
|
50580
50589
|
var fS = {
|
|
50581
50590
|
name: "BlankIcon",
|
|
50582
50591
|
extends: rr
|
|
@@ -68248,7 +68257,7 @@ const Gwe = { class: "flex flex-row h-full" }, Kwe = {
|
|
|
68248
68257
|
}, null, 8, ["model", "appendTo"])
|
|
68249
68258
|
]));
|
|
68250
68259
|
}
|
|
68251
|
-
}), $s = (e) => (vi("data-v-
|
|
68260
|
+
}), $s = (e) => (vi("data-v-3607ca5a"), e = e(), bi(), e), Jwe = { class: "h-full" }, Ywe = {
|
|
68252
68261
|
key: 1,
|
|
68253
68262
|
class: "w-full h-full flex flex-col"
|
|
68254
68263
|
}, Xwe = {
|
|
@@ -69015,8 +69024,8 @@ const Gwe = { class: "flex flex-row h-full" }, Kwe = {
|
|
|
69015
69024
|
);
|
|
69016
69025
|
st != null && st.name ? Pe = st.name.charAt(0).toLowerCase() + st.name.slice(1) : Pe = _e[he.id];
|
|
69017
69026
|
}
|
|
69018
|
-
me.push(`<tr>
|
|
69019
|
-
<td style="
|
|
69027
|
+
me.push(`<tr style="vertical-align: top;">
|
|
69028
|
+
<td style="font-weight: bold;">
|
|
69020
69029
|
${he.name}:
|
|
69021
69030
|
</td>
|
|
69022
69031
|
<td style="padding-left: 8px;">
|
|
@@ -69460,7 +69469,7 @@ const Gwe = { class: "flex flex-row h-full" }, Kwe = {
|
|
|
69460
69469
|
]);
|
|
69461
69470
|
};
|
|
69462
69471
|
}
|
|
69463
|
-
}), y2 = /* @__PURE__ */ Eo(M2e, [["__scopeId", "data-v-
|
|
69472
|
+
}), y2 = /* @__PURE__ */ Eo(M2e, [["__scopeId", "data-v-3607ca5a"]]), N2e = {
|
|
69464
69473
|
key: 0,
|
|
69465
69474
|
class: "h-full"
|
|
69466
69475
|
}, D2e = ["value"], E2e = {
|