mediacube-ui-v2 0.0.129 → 0.0.130
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/mediacube-ui-v2.js
CHANGED
|
@@ -19682,18 +19682,22 @@ const Rv = ["dir"], Iv = ["for"], Yv = ["for"], Nv = { class: "mc-field-text__ma
|
|
|
19682
19682
|
}), Wa(() => {
|
|
19683
19683
|
window.removeEventListener("resize", O), window.removeEventListener("transitionrun", O);
|
|
19684
19684
|
});
|
|
19685
|
-
const v = (x
|
|
19686
|
-
|
|
19687
|
-
const
|
|
19685
|
+
const v = (x) => {
|
|
19686
|
+
E(!o.value);
|
|
19687
|
+
const S = new MouseEvent("click", {
|
|
19688
19688
|
bubbles: !0,
|
|
19689
19689
|
cancelable: !0,
|
|
19690
|
-
view: window
|
|
19690
|
+
view: window,
|
|
19691
|
+
clientX: x.clientX,
|
|
19692
|
+
clientY: x.clientY
|
|
19691
19693
|
});
|
|
19692
|
-
Object.defineProperty(
|
|
19693
|
-
value:
|
|
19694
|
+
Object.defineProperty(S, "originalTarget", {
|
|
19695
|
+
value: x.target,
|
|
19694
19696
|
enumerable: !1
|
|
19695
|
-
}), window.dispatchEvent(
|
|
19697
|
+
}), window.dispatchEvent(S);
|
|
19696
19698
|
}, y = (x) => {
|
|
19699
|
+
var C;
|
|
19700
|
+
if (x.originalTarget && ((C = x.originalTarget) == null ? void 0 : C.closest(`#${n}`)) === n) return;
|
|
19697
19701
|
const S = x.originalTarget || x.target;
|
|
19698
19702
|
o.value && !S.closest(`#${n}`) && A();
|
|
19699
19703
|
}, A = () => {
|
|
@@ -19729,7 +19733,7 @@ const Rv = ["dir"], Iv = ["for"], Yv = ["for"], Nv = { class: "mc-field-text__ma
|
|
|
19729
19733
|
ref: i,
|
|
19730
19734
|
tabindex: "0",
|
|
19731
19735
|
onKeyup: Ht(A, ["esc"]),
|
|
19732
|
-
onClick:
|
|
19736
|
+
onClick: Le(v, ["stop", "prevent"])
|
|
19733
19737
|
}, [
|
|
19734
19738
|
I(x.$slots, "activator")
|
|
19735
19739
|
], 544),
|