@idmwx/idmui-gl3 4.8.3 → 4.8.4
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/index.js +4 -2
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6257,6 +6257,8 @@ const OM = {
|
|
|
6257
6257
|
this.clearTable(), this.currentHourData = ((M = k0.pickHourly(z, this.ts ? F(this.ts) : F())) == null ? void 0 : M[0]) || {}, this.positionGmt = (O = (b = z == null ? void 0 : z.weather) == null ? void 0 : b[0]) == null ? void 0 : O.timezone, this.positionOffset = (o = (p = z == null ? void 0 : z.weather) == null ? void 0 : p[0]) == null ? void 0 : o.offset, this.localDate = (t = (A = E0(this.ts)) == null ? void 0 : A.tz(this.positionGmt)) == null ? void 0 : t.format("MMM-DD/HHmm[LT]"), this.$nextTick(() => {
|
|
6258
6258
|
var n, a, r, L, d, h, u, s, m, R, y, T, N, H, K, V, $, g, E, n0, d0, i0, L0, O0, h0, m0, s0, r0, W0, B0, l0, P, z0, t0, I, p0, f0, u0, R0;
|
|
6259
6259
|
const q = document.getElementById("meteoMainBox");
|
|
6260
|
+
if (!q)
|
|
6261
|
+
return !1;
|
|
6260
6262
|
if (q.className = "main-box", q.style.backgroundImage = null, q.style.backgroundPosition = "top left", ((a = (n = this.currentHourData) == null ? void 0 : n.weather) == null ? void 0 : a.code) === 0 && ((L = (r = this.currentHourData) == null ? void 0 : r.weather) == null ? void 0 : L.isDay) === 0)
|
|
6261
6263
|
q.className = "main-box night-bg";
|
|
6262
6264
|
else {
|
|
@@ -6303,7 +6305,7 @@ const OM = {
|
|
|
6303
6305
|
},
|
|
6304
6306
|
handleBind() {
|
|
6305
6307
|
var z, M;
|
|
6306
|
-
this.show ? ((z = this.map) == null || z.on("click", this.handleClick), this.map.getCanvas().style.cursor = "pointer") : ((M = this.map) == null || M.off("click", this.handleClick), this.
|
|
6308
|
+
this.show ? ((z = this.map) == null || z.on("click", this.handleClick), this.map.getCanvas().style.cursor = "pointer") : ((M = this.map) == null || M.off("click", this.handleClick), this.showMeteo = !1);
|
|
6307
6309
|
},
|
|
6308
6310
|
handleClick(z) {
|
|
6309
6311
|
z.originalEvent.stopPropagation();
|
|
@@ -6838,7 +6840,7 @@ function $M(z, M, b, O, p, o) {
|
|
|
6838
6840
|
])
|
|
6839
6841
|
]);
|
|
6840
6842
|
}
|
|
6841
|
-
const Mb = /* @__PURE__ */ k(OM, [["render", $M], ["__scopeId", "data-v-
|
|
6843
|
+
const Mb = /* @__PURE__ */ k(OM, [["render", $M], ["__scopeId", "data-v-d1ba89f4"]]), bb = {
|
|
6842
6844
|
name: "IdmWarZone",
|
|
6843
6845
|
props: {
|
|
6844
6846
|
map: {
|