@wwtdev/bsds-components-vue3 3.0.19 → 3.0.20
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/lib/bsds-components.js
CHANGED
|
@@ -486,12 +486,12 @@ function No(e) {
|
|
|
486
486
|
n && Mt(n);
|
|
487
487
|
}
|
|
488
488
|
function Ro(e) {
|
|
489
|
-
var
|
|
489
|
+
var i;
|
|
490
490
|
if ((/* @__PURE__ */ new Date()).getTime() - zn.getTime() < 100 || xa()) return;
|
|
491
491
|
const n = pe.value.at(-1);
|
|
492
492
|
if (!n || !et.value.includes(n)) return;
|
|
493
|
-
const t = Qe.value[n] || ((
|
|
494
|
-
t &&
|
|
493
|
+
const t = Qe.value[n] || ((i = je.value[n]) == null ? void 0 : i.props.anchor), o = e.composedPath();
|
|
494
|
+
t && o.some((a) => a.id === t) || o.some((a) => a.id === n) || (Ln.value = !0, Mt(n));
|
|
495
495
|
}
|
|
496
496
|
function ts() {
|
|
497
497
|
Vo({ force: !0 }), Object.keys(je.value).forEach(zo), Dt = !1, zn = null, pe.value = [], Je.value = {}, Qe.value = {}, _e.value = [], et.value = [], tt.value = [], Lt.value = null, xt.value = null;
|