@idmwx/idmui-gl3 4.6.8 → 4.7.2
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 +15 -15
- package/dist/index.umd.cjs +5 -5
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -138,13 +138,13 @@ const I = (z, M) => {
|
|
|
138
138
|
handleWeatherLayerPick(z) {
|
|
139
139
|
if (this.activeWeatherLayers = JSON.parse(localStorage.getItem(this.activeWeatherLayersCache)), this.rampColorLayers.includes(z.key) && this.mapProjection === "globe" || !this.autoActive)
|
|
140
140
|
return !1;
|
|
141
|
-
(z.key === "wind" && !this.showWindFeather || z.key === "current" && !this.showCurrentIsoband) && (z.particle = !0), this.activeWeatherLayers.some((M) => M.key === z.key) ? this.activeWeatherLayers = this.activeWeatherLayers.filter((M) => M.key !== z.key) : this.activeWeatherLayers.length < 6 && z.enabled && (["png", "jpg"].includes(z.type) ? this.activeWeatherLayers.forEach((M) => {
|
|
141
|
+
(z.key === "wind" && !this.showWindFeather || z.key === "current" && !this.showCurrentIsoband) && (z.particle = !0), this.activeWeatherLayers.some((M) => M.key === z.key) ? this.activeWeatherLayers = this.activeWeatherLayers.filter((M) => M.key !== z.key) : this.activeWeatherLayers.length < 6 && z.enabled && (["png", "jpg"].includes(z.type) ? (this.activeWeatherLayers.forEach((M) => {
|
|
142
142
|
(M.key === "wind" && this.showWindFeather || z.key === "current" && this.showCurrentIsoband) && (M.particle = !1);
|
|
143
|
-
}) : z.key === "wind" ? this.activeWeatherLayers.forEach((M) => {
|
|
143
|
+
}), this.activeWeatherLayers = this.activeWeatherLayers.filter((M) => M.type === "json" && !(["wind", "current"].includes(M.key) && M.particle))) : z.key === "wind" ? (this.activeWeatherLayers.forEach((M) => {
|
|
144
144
|
M.key === "current" && this.showCurrentIsoband && (M.particle = !1);
|
|
145
|
-
}) : z.key === "current" && this.activeWeatherLayers.forEach((M) => {
|
|
145
|
+
}), this.activeWeatherLayers = this.activeWeatherLayers.filter((M) => M.type === "json" && !(["wind", "current"].includes(M.key) && M.particle))) : z.key === "current" && (this.activeWeatherLayers.forEach((M) => {
|
|
146
146
|
M.key === "wind" && this.showWindFeather && (M.particle = !1);
|
|
147
|
-
}), this.activeWeatherLayers = this.activeWeatherLayers.filter((M) => M.type === "json" && !(["wind", "current"].includes(M.key) && M.particle)), this.activeWeatherLayers.push(z)), this.$emit("weather", this.activeWeatherLayers, this.source), localStorage.setItem(this.activeWeatherLayersCache, JSON.stringify(this.activeWeatherLayers));
|
|
147
|
+
}), this.activeWeatherLayers = this.activeWeatherLayers.filter((M) => M.type === "json" && !(["wind", "current"].includes(M.key) && M.particle))), this.activeWeatherLayers.push(z)), this.$emit("weather", this.activeWeatherLayers, this.source), localStorage.setItem(this.activeWeatherLayersCache, JSON.stringify(this.activeWeatherLayers));
|
|
148
148
|
},
|
|
149
149
|
handleWeatherLayerCollect(z) {
|
|
150
150
|
var M;
|
|
@@ -2910,7 +2910,7 @@ function D1(z, M, b, O, p, o) {
|
|
|
2910
2910
|
]), 4)
|
|
2911
2911
|
])) : U("", !0);
|
|
2912
2912
|
}
|
|
2913
|
-
const I1 = /* @__PURE__ */ I(P1, [["render", D1], ["__scopeId", "data-v-
|
|
2913
|
+
const I1 = /* @__PURE__ */ I(P1, [["render", D1], ["__scopeId", "data-v-14070127"]]);
|
|
2914
2914
|
const j1 = {
|
|
2915
2915
|
name: "IdmCurrent",
|
|
2916
2916
|
props: {
|
|
@@ -3245,7 +3245,7 @@ function K1(z, M, b, O, p, o) {
|
|
|
3245
3245
|
]), 4)
|
|
3246
3246
|
])) : U("", !0);
|
|
3247
3247
|
}
|
|
3248
|
-
const J1 = /* @__PURE__ */ I(G1, [["render", K1], ["__scopeId", "data-v-
|
|
3248
|
+
const J1 = /* @__PURE__ */ I(G1, [["render", K1], ["__scopeId", "data-v-163d1f9a"]]), Q1 = {
|
|
3249
3249
|
name: "IdmSigWave",
|
|
3250
3250
|
props: {
|
|
3251
3251
|
map: {
|
|
@@ -4335,7 +4335,7 @@ function m2(z, M, b, O, p, o) {
|
|
|
4335
4335
|
])
|
|
4336
4336
|
])
|
|
4337
4337
|
]),
|
|
4338
|
-
M[5] || (M[5] = K0('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-
|
|
4338
|
+
M[5] || (M[5] = K0('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-44a4e671></div><div class="row" style="padding:2px 10px;" data-v-44a4e671><div class="legend" data-v-44a4e671><div class="icon td" data-v-44a4e671></div><div class="label" data-v-44a4e671>TD</div></div><div class="legend" data-v-44a4e671><div class="icon ts" data-v-44a4e671></div><div class="label" data-v-44a4e671>TS</div></div><div class="legend" data-v-44a4e671><div class="icon sts" data-v-44a4e671></div><div class="label" data-v-44a4e671>STS</div></div><div class="legend" data-v-44a4e671><div class="icon ty" data-v-44a4e671></div><div class="label" data-v-44a4e671>TY</div></div><div class="legend" data-v-44a4e671><div class="icon sty" data-v-44a4e671></div><div class="label" data-v-44a4e671>STY</div></div><div class="legend" data-v-44a4e671><div class="icon supper-ty" data-v-44a4e671></div><div class="label" data-v-44a4e671>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-44a4e671><div class="legend" data-v-44a4e671><div class="icon history" data-v-44a4e671></div><div class="label" data-v-44a4e671>History</div></div><div class="legend" data-v-44a4e671><div class="icon r7" data-v-44a4e671></div><div class="label" data-v-44a4e671>35kts Radii</div></div><div class="legend" data-v-44a4e671><div class="icon r10" data-v-44a4e671></div><div class="label" data-v-44a4e671>50kts Radii</div></div></div>', 3))
|
|
4339
4339
|
]),
|
|
4340
4340
|
c("div", h2, [
|
|
4341
4341
|
c("div", {
|
|
@@ -4348,7 +4348,7 @@ function m2(z, M, b, O, p, o) {
|
|
|
4348
4348
|
[v0, p.showTropicals && !z.$attrs.hideTropicalsLegend]
|
|
4349
4349
|
]);
|
|
4350
4350
|
}
|
|
4351
|
-
const j0 = /* @__PURE__ */ I(A2, [["render", m2], ["__scopeId", "data-v-
|
|
4351
|
+
const j0 = /* @__PURE__ */ I(A2, [["render", m2], ["__scopeId", "data-v-44a4e671"]]);
|
|
4352
4352
|
const N2 = {
|
|
4353
4353
|
name: "IdmPrecip3h",
|
|
4354
4354
|
props: {
|
|
@@ -4469,7 +4469,7 @@ function y2(z, M, b, O, p, o) {
|
|
|
4469
4469
|
]), 4)
|
|
4470
4470
|
])) : U("", !0);
|
|
4471
4471
|
}
|
|
4472
|
-
const g2 = /* @__PURE__ */ I(N2, [["render", y2], ["__scopeId", "data-v-
|
|
4472
|
+
const g2 = /* @__PURE__ */ I(N2, [["render", y2], ["__scopeId", "data-v-e83717bd"]]);
|
|
4473
4473
|
const X2 = {
|
|
4474
4474
|
name: "IdmVisibility",
|
|
4475
4475
|
props: {
|
|
@@ -4581,7 +4581,7 @@ function T2(z, M, b, O, p, o) {
|
|
|
4581
4581
|
]), 4)
|
|
4582
4582
|
])) : U("", !0);
|
|
4583
4583
|
}
|
|
4584
|
-
const w2 = /* @__PURE__ */ I(X2, [["render", T2], ["__scopeId", "data-v-
|
|
4584
|
+
const w2 = /* @__PURE__ */ I(X2, [["render", T2], ["__scopeId", "data-v-1c8a9237"]]);
|
|
4585
4585
|
const C2 = {
|
|
4586
4586
|
name: "IdmWaterTemp",
|
|
4587
4587
|
props: {
|
|
@@ -4701,7 +4701,7 @@ function x2(z, M, b, O, p, o) {
|
|
|
4701
4701
|
]), 4)
|
|
4702
4702
|
])) : U("", !0);
|
|
4703
4703
|
}
|
|
4704
|
-
const S2 = /* @__PURE__ */ I(C2, [["render", x2], ["__scopeId", "data-v-
|
|
4704
|
+
const S2 = /* @__PURE__ */ I(C2, [["render", x2], ["__scopeId", "data-v-8974924d"]]);
|
|
4705
4705
|
const E2 = {
|
|
4706
4706
|
name: "IdmTemp",
|
|
4707
4707
|
props: {
|
|
@@ -4826,7 +4826,7 @@ function k2(z, M, b, O, p, o) {
|
|
|
4826
4826
|
]), 4)
|
|
4827
4827
|
])) : U("", !0);
|
|
4828
4828
|
}
|
|
4829
|
-
const D2 = /* @__PURE__ */ I(E2, [["render", k2], ["__scopeId", "data-v-
|
|
4829
|
+
const D2 = /* @__PURE__ */ I(E2, [["render", k2], ["__scopeId", "data-v-d709ba86"]]);
|
|
4830
4830
|
const I2 = {
|
|
4831
4831
|
name: "IdmArctic",
|
|
4832
4832
|
props: {
|
|
@@ -6787,7 +6787,7 @@ function JM(z, M, b, O, p, o) {
|
|
|
6787
6787
|
])
|
|
6788
6788
|
]);
|
|
6789
6789
|
}
|
|
6790
|
-
const QM = /* @__PURE__ */ I(pM, [["render", JM], ["__scopeId", "data-v-
|
|
6790
|
+
const QM = /* @__PURE__ */ I(pM, [["render", JM], ["__scopeId", "data-v-a65b3f88"]]), $M = {
|
|
6791
6791
|
name: "IdmWarZone",
|
|
6792
6792
|
props: {
|
|
6793
6793
|
map: {
|
|
@@ -8013,7 +8013,7 @@ function Sb(z, M, b, O, p, o) {
|
|
|
8013
8013
|
c("span", null, C(p.lngLat.lng.pretty), 1)
|
|
8014
8014
|
], 4)) : U("", !0);
|
|
8015
8015
|
}
|
|
8016
|
-
const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-
|
|
8016
|
+
const H0 = /* @__PURE__ */ I(xb, [["render", Sb], ["__scopeId", "data-v-ad66a24c"]]), Eb = {
|
|
8017
8017
|
name: "IdmMeasure",
|
|
8018
8018
|
props: {
|
|
8019
8019
|
map: {
|
|
@@ -8402,7 +8402,7 @@ function Fb(z, M, b, O, p, o) {
|
|
|
8402
8402
|
], 4)
|
|
8403
8403
|
])) : U("", !0);
|
|
8404
8404
|
}
|
|
8405
|
-
const Ub = /* @__PURE__ */ I(Db, [["render", Fb], ["__scopeId", "data-v-
|
|
8405
|
+
const Ub = /* @__PURE__ */ I(Db, [["render", Fb], ["__scopeId", "data-v-7301123d"]]);
|
|
8406
8406
|
const Hb = {
|
|
8407
8407
|
name: "IdmGLV2",
|
|
8408
8408
|
components: {
|