@idmwx/idmui-gl3 5.7.0 → 5.7.3
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 +7 -7
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4291,8 +4291,8 @@ const Ta = {
|
|
|
4291
4291
|
var d;
|
|
4292
4292
|
let l = 0, c;
|
|
4293
4293
|
const h = t.filter((n) => {
|
|
4294
|
-
var p
|
|
4295
|
-
return ((
|
|
4294
|
+
var p;
|
|
4295
|
+
return ((p = n.properties) == null ? void 0 : p.name) === o;
|
|
4296
4296
|
});
|
|
4297
4297
|
(d = h.filter((n) => {
|
|
4298
4298
|
var p, w;
|
|
@@ -4302,10 +4302,10 @@ const Ta = {
|
|
|
4302
4302
|
((w = n.geometry) == null ? void 0 : w.type) === "Point" && ((b = n.properties) == null ? void 0 : b.type) === "history" && (l = p, c = c === void 0 ? p : c), ((A = n.geometry) == null ? void 0 : A.type) === "Point" && ((E = n.properties) == null ? void 0 : E.type) === "forecast" && c === void 0 && (c = p), ((v = n.geometry) == null ? void 0 : v.type) === "LineString" && ((f = n.properties) == null || f.type);
|
|
4303
4303
|
}), h.map((n, p) => {
|
|
4304
4304
|
var w, b, A, E, v, f, u;
|
|
4305
|
-
if (((w = n.geometry) == null ? void 0 : w.type) === "LineString" && ((b = n.properties) == null || b.type), ((A = n.geometry) == null ? void 0 : A.type) === "Point" && ((E = n.properties) == null ? void 0 : E.type) === "forecast" && (n.properties.name = o, n.properties.format = U(n.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((v = n.geometry) == null ? void 0 : v.type) === "Point" && ((f = n.properties) == null ? void 0 : f.type) === "history") {
|
|
4305
|
+
if (((w = n.geometry) == null ? void 0 : w.type) === "LineString" && ((b = n.properties) == null || b.type), ((A = n.geometry) == null ? void 0 : A.type) === "Point" && ((E = n.properties) == null ? void 0 : E.type) === "forecast" && (n.properties.name = o, n.properties.showNameLabel = p === 0, n.properties.format = U(n.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`)), ((v = n.geometry) == null ? void 0 : v.type) === "Point" && ((f = n.properties) == null ? void 0 : f.type) === "history") {
|
|
4306
4306
|
n.properties.format = U(n.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
|
|
4307
4307
|
const C = U((u = n.properties) == null ? void 0 : u.date).utc().format("HHmm") === U().utc().hour(Math.floor(e / 6) * 6).minute("00").format("HHmm");
|
|
4308
|
-
n.properties.showHistoryLabel = C || p === l, n.properties.
|
|
4308
|
+
n.properties.showHistoryLabel = C || p === l, n.properties.name = o;
|
|
4309
4309
|
}
|
|
4310
4310
|
return n;
|
|
4311
4311
|
});
|
|
@@ -4551,7 +4551,7 @@ const Ta = {
|
|
|
4551
4551
|
id: this.forecastNameLayer,
|
|
4552
4552
|
type: "symbol",
|
|
4553
4553
|
source: this.clusterSource,
|
|
4554
|
-
filter: ["all", ["==", "$type", "Point"], ["==", "
|
|
4554
|
+
filter: ["all", ["==", "$type", "Point"], ["==", "showNameLabel", !0]],
|
|
4555
4555
|
layout: {
|
|
4556
4556
|
"text-field": ["get", "name"],
|
|
4557
4557
|
"text-offset": [0, 1.5],
|
|
@@ -4807,7 +4807,7 @@ function Ja(t, e, a, r, i, o) {
|
|
|
4807
4807
|
])
|
|
4808
4808
|
])
|
|
4809
4809
|
]),
|
|
4810
|
-
e[5] || (e[5] = ut('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-
|
|
4810
|
+
e[5] || (e[5] = ut('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-5947a418></div><div class="row" style="padding:2px 10px;" data-v-5947a418><div class="legend" data-v-5947a418><div class="icon td" data-v-5947a418></div><div class="label" data-v-5947a418>TD</div></div><div class="legend" data-v-5947a418><div class="icon ts" data-v-5947a418></div><div class="label" data-v-5947a418>TS</div></div><div class="legend" data-v-5947a418><div class="icon sts" data-v-5947a418></div><div class="label" data-v-5947a418>STS</div></div><div class="legend" data-v-5947a418><div class="icon ty" data-v-5947a418></div><div class="label" data-v-5947a418>TY</div></div><div class="legend" data-v-5947a418><div class="icon sty" data-v-5947a418></div><div class="label" data-v-5947a418>STY</div></div><div class="legend" data-v-5947a418><div class="icon supper-ty" data-v-5947a418></div><div class="label" data-v-5947a418>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-5947a418><div class="legend" data-v-5947a418><div class="icon history" data-v-5947a418></div><div class="label" data-v-5947a418>History</div></div><div class="legend" data-v-5947a418><div class="icon r7" data-v-5947a418></div><div class="label" data-v-5947a418>35kts Radii</div></div><div class="legend" data-v-5947a418><div class="icon r10" data-v-5947a418></div><div class="label" data-v-5947a418>50kts Radii</div></div></div>', 3))
|
|
4811
4811
|
]),
|
|
4812
4812
|
s("div", Xa, [
|
|
4813
4813
|
s("div", {
|
|
@@ -4820,7 +4820,7 @@ function Ja(t, e, a, r, i, o) {
|
|
|
4820
4820
|
[we, i.showTropicals && !t.$attrs.hideTropicalsLegend]
|
|
4821
4821
|
]);
|
|
4822
4822
|
}
|
|
4823
|
-
const lt = /* @__PURE__ */ S(Ta, [["render", Ja], ["__scopeId", "data-v-
|
|
4823
|
+
const lt = /* @__PURE__ */ S(Ta, [["render", Ja], ["__scopeId", "data-v-5947a418"]]);
|
|
4824
4824
|
const qa = {
|
|
4825
4825
|
name: "IdmPrecip3h",
|
|
4826
4826
|
props: {
|