@opencor/opencor 0.20260612.0 → 0.20260612.2

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.
@@ -4747,7 +4747,7 @@ const ei = () => {
4747
4747
  ]), 1024);
4748
4748
  };
4749
4749
  }
4750
- }), Zp = "0.20260612.0", Yp = {
4750
+ }), Zp = "0.20260612.2", Yp = {
4751
4751
  version: Zp
4752
4752
  }, { version: va } = Yp, zr = C.ref(!1), Bo = C.ref(""), yl = async () => {
4753
4753
  try {
@@ -9871,14 +9871,21 @@ const c4 = /* @__PURE__ */ ac(() => C.ref(null)), sc = /* @__PURE__ */ ac(() =>
9871
9871
  }, Sr = () => {
9872
9872
  const n = C.shallowRef(void 0), e = "opencor-overlay-container";
9873
9873
  return C.onMounted(() => {
9874
- const t = document.querySelector(".opencor");
9875
- if (t) {
9876
- let o = t.querySelector(`.${e}`);
9877
- o || (o = document.createElement("div"), o.className = e, o.style.cssText = "position: fixed; top: 0; left: 0; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: 99999;", o.appendChild(
9878
- Object.assign(document.createElement("style"), {
9879
- textContent: `.${e} > * { pointer-events: auto; }`
9880
- })
9881
- ), t.appendChild(o)), n.value = o;
9874
+ const o = C.getCurrentInstance()?.vnode?.el, i = o instanceof Element ? o.closest(".opencor") : document.querySelector(".opencor");
9875
+ if (i) {
9876
+ let r = i.querySelector(`.${e}`);
9877
+ if (!r) {
9878
+ r = document.createElement("div"), r.className = e, r.style.cssText = "position: fixed; width: 0; height: 0; overflow: visible; pointer-events: none; z-index: 99999;", r.appendChild(
9879
+ Object.assign(document.createElement("style"), {
9880
+ textContent: `.${e} > * { pointer-events: auto; }`
9881
+ })
9882
+ );
9883
+ const a = r, l = () => {
9884
+ a.style.top = `-${window.scrollY}px`, a.style.left = `-${window.scrollX}px`;
9885
+ };
9886
+ l(), window.addEventListener("scroll", l, { passive: !0 }), i.appendChild(r);
9887
+ }
9888
+ n.value = r;
9882
9889
  }
9883
9890
  }), n;
9884
9891
  };
@@ -11935,7 +11942,7 @@ const y6 = ["innerHTML"], w6 = /* @__PURE__ */ gt({
11935
11942
  }, 8, ["appendTo"])
11936
11943
  ], 544));
11937
11944
  }
11938
- }), hc = /* @__PURE__ */ rn(w6, [["__scopeId", "data-v-3cc2696e"]]);
11945
+ }), hc = /* @__PURE__ */ rn(w6, [["__scopeId", "data-v-f2cdf017"]]);
11939
11946
  var gc = {
11940
11947
  name: "BlankIcon",
11941
11948
  extends: Je
@@ -29573,7 +29580,7 @@ const _I = { class: "flex flex-row h-full" }, WI = {
29573
29580
  }, null, 8, ["model", "appendTo"])
29574
29581
  ]));
29575
29582
  }
29576
- }), yo = (n) => ($n("data-v-25bfcad7"), n = n(), Qn(), n), KI = { class: "h-full" }, HI = {
29583
+ }), yo = (n) => ($n("data-v-8e9d78f4"), n = n(), Qn(), n), KI = { class: "h-full" }, HI = {
29577
29584
  key: 1,
29578
29585
  class: "w-full h-full flex flex-col"
29579
29586
  }, GI = {
@@ -30334,8 +30341,8 @@ const _I = { class: "flex flex-row h-full" }, WI = {
30334
30341
  it?.name ? Se = it.name.charAt(0).toLowerCase() + it.name.slice(1) : Se = v[de.id];
30335
30342
  }
30336
30343
  L.push(`<tr>
30337
- <td>
30338
- <strong>${de.name}:</strong>
30344
+ <td style="vertical-align: top; font-weight: bold;">
30345
+ ${de.name}:
30339
30346
  </td>
30340
30347
  <td style="padding-left: 8px;">
30341
30348
  ${Se}
@@ -30776,7 +30783,7 @@ const _I = { class: "flex flex-row h-full" }, WI = {
30776
30783
  ]);
30777
30784
  };
30778
30785
  }
30779
- }), bs = /* @__PURE__ */ rn(yM, [["__scopeId", "data-v-25bfcad7"]]), wM = {
30786
+ }), bs = /* @__PURE__ */ rn(yM, [["__scopeId", "data-v-8e9d78f4"]]), wM = {
30780
30787
  key: 0,
30781
30788
  class: "h-full"
30782
30789
  }, CM = ["value"], kM = {
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  },
43
43
  "./style.css": "./dist/opencor.css"
44
44
  },
45
- "version": "0.20260612.0",
45
+ "version": "0.20260612.2",
46
46
  "libopencorVersion": "0.20260604.0",
47
47
  "scripts": {
48
48
  "build": "vite build && bun scripts/generate.version.js",
@@ -84,7 +84,7 @@
84
84
  "@vitejs/plugin-vue": "^6.0.7",
85
85
  "@vue/tsconfig": "^0.9.1",
86
86
  "autoprefixer": "^10.5.0",
87
- "esbuild": "^0.28.0",
87
+ "esbuild": "^0.28.1",
88
88
  "postcss": "^8.5.15",
89
89
  "rollup-plugin-visualizer": "^7.0.1",
90
90
  "stylelint": "^17.13.0",