@everchron/ec-shards 14.4.7 → 14.5.0
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.css +1 -1
- package/dist/ec-shards.js +10 -6
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -2303,7 +2303,7 @@ const gi = /* @__PURE__ */ b(Za, [["render", Qa], ["__scopeId", "data-v-df08e6d4
|
|
|
2303
2303
|
/** Determines the font weight. */
|
|
2304
2304
|
weight: {
|
|
2305
2305
|
type: String,
|
|
2306
|
-
validator: (e) => ["normal", "medium", "semibold", "bold", null].includes(e)
|
|
2306
|
+
validator: (e) => ["light", "normal", "medium", "semibold", "bold", null].includes(e)
|
|
2307
2307
|
},
|
|
2308
2308
|
/** Allows to overwrite the text color. Accepts predefined theme names: `positive`, `negative`, `warning`, as well as any color HEX or variable. */
|
|
2309
2309
|
color: {
|
|
@@ -2452,7 +2452,7 @@ function to(e, s, t, a, n, i) {
|
|
|
2452
2452
|
_: 3
|
|
2453
2453
|
}, 8, ["class", "style"]));
|
|
2454
2454
|
}
|
|
2455
|
-
const Re = /* @__PURE__ */ b(eo, [["render", to], ["__scopeId", "data-v-
|
|
2455
|
+
const Re = /* @__PURE__ */ b(eo, [["render", to], ["__scopeId", "data-v-5ddb2227"]]), he = {
|
|
2456
2456
|
data() {
|
|
2457
2457
|
return {
|
|
2458
2458
|
uniqueId: ""
|
|
@@ -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
|
|
17126
|
-
this.
|
|
17127
|
-
|
|
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-
|
|
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,
|