@everchron/ec-shards 8.11.0 → 8.11.1
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/ec-shards.js +2 -2
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -4206,7 +4206,7 @@ const lr = {
|
|
|
4206
4206
|
showMenu(e, s) {
|
|
4207
4207
|
this.item = s;
|
|
4208
4208
|
let t = document.getElementById(this.elementId);
|
|
4209
|
-
t && ((!this.menuWidth || !this.menuHeight) && (t.style.visibility = "hidden", t.style.display = "block", this.menuWidth = t.offsetWidth, this.menuHeight = t.offsetHeight, t.removeAttribute("style")), this.menuWidth + e.pageX >= window.innerWidth ? this.left = e.pageX - this.menuWidth + 2 : this.left = e.pageX - 2, this.menuHeight + e.pageY >= window.innerHeight ? this.top = e.pageY - this.menuHeight + 2 : this.top = e.pageY - 2, this.opened = !0, this.$nextTick(() => {
|
|
4209
|
+
t && ((!this.menuWidth || !this.menuHeight) && (t.style.visibility = "hidden", t.style.display = "block", this.menuWidth = t.offsetWidth, this.menuHeight = t.offsetHeight, t.removeAttribute("style")), this.menuWidth + e.pageX >= window.innerWidth ? this.left = e.pageX - this.menuWidth + 2 : this.left = e.pageX - 2, this.menuHeight + e.pageY >= window.innerHeight ? this.top = e.pageY - this.menuHeight + 2 : this.top = e.pageY - 2, this.opened = !0, this.$emit("menu-opened", this.item), this.$nextTick(() => {
|
|
4210
4210
|
this.$refs.menu.focus();
|
|
4211
4211
|
}));
|
|
4212
4212
|
},
|
|
@@ -4321,7 +4321,7 @@ function fr(e, s, t, a, n, i) {
|
|
|
4321
4321
|
[g, i.onClickOutside]
|
|
4322
4322
|
]);
|
|
4323
4323
|
}
|
|
4324
|
-
const Cy = /* @__PURE__ */ _(lr, [["render", fr], ["__scopeId", "data-v-
|
|
4324
|
+
const Cy = /* @__PURE__ */ _(lr, [["render", fr], ["__scopeId", "data-v-7a99d0e5"]]);
|
|
4325
4325
|
const pr = {
|
|
4326
4326
|
name: "ecs-collapse",
|
|
4327
4327
|
emits: ["toggled", "remove"],
|