@everchron/ec-shards 14.4.7 → 14.4.8

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 CHANGED
@@ -17122,9 +17122,13 @@ const t0 = /* @__PURE__ */ b(e_, [["render", s_], ["__scopeId", "data-v-ce84fcb3
17122
17122
  };
17123
17123
  },
17124
17124
  mounted() {
17125
- document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("mouseup", this.handleMouseUp), this.updateBounds(), window.addEventListener("resize", this.updateBounds), this.resizeObserver = new ResizeObserver(() => {
17126
- this.autoHeight && this.adjustPosition();
17127
- }), this.resizeObserver.observe(this.$el);
17125
+ if (document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("mouseup", this.handleMouseUp), this.updateBounds(), window.addEventListener("resize", this.updateBounds), this.$el) {
17126
+ this.resizeObserver = new ResizeObserver(() => {
17127
+ this.autoHeight && this.adjustPosition();
17128
+ });
17129
+ const e = this.$el.querySelector(".ecs-window-content");
17130
+ e && this.resizeObserver.observe(e);
17131
+ }
17128
17132
  },
17129
17133
  beforeUnmount() {
17130
17134
  document.removeEventListener("mousemove", this.handleMouseMove), document.removeEventListener("mouseup", this.handleMouseUp), window.removeEventListener("resize", this.updateBounds), this.resizeObserver && this.resizeObserver.disconnect();
@@ -17264,7 +17268,7 @@ function o_(e, s, t, a, n, i) {
17264
17268
  ], 64)) : u("", !0)
17265
17269
  ], 38)) : u("", !0);
17266
17270
  }
17267
- const s0 = /* @__PURE__ */ b(i_, [["render", o_], ["__scopeId", "data-v-cbe508e8"]]);
17271
+ const s0 = /* @__PURE__ */ b(i_, [["render", o_], ["__scopeId", "data-v-1c653eb3"]]);
17268
17272
  export {
17269
17273
  an as EcsActionToolbar,
17270
17274
  ii as EcsAlert,