@idmwx/idmui-gl3 5.7.2 → 5.7.5

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 CHANGED
@@ -3608,29 +3608,27 @@ const ga = /* @__PURE__ */ S(pa, [["render", ma], ["__scopeId", "data-v-02a8206f
3608
3608
  "fill-color": [
3609
3609
  "step",
3610
3610
  ["get", "val"],
3611
- "rgba(186,247,199,0.4)",
3611
+ "rgba(101,252,149,0.4)",
3612
3612
  3,
3613
- "rgba(186,247,199,0.7)",
3613
+ "rgba(255,255,0,0.7)",
3614
3614
  4,
3615
- "rgba(101,252,149,0.9)",
3615
+ "#ffff00",
3616
3616
  5,
3617
- "#b3ff6b",
3617
+ "#ff8400",
3618
3618
  6,
3619
- "#fee600",
3619
+ "#e23304",
3620
3620
  7,
3621
- "#ffa200",
3621
+ "#f50545",
3622
3622
  8,
3623
- "#ff6600",
3623
+ "#ff0b85",
3624
3624
  9,
3625
- "#e23304",
3625
+ "#af0349",
3626
3626
  10,
3627
- "#f80078",
3627
+ "#87004a",
3628
3628
  11,
3629
- "#dc03d2",
3629
+ "#490439",
3630
3630
  12,
3631
- "#a603f8",
3632
- 13,
3633
- "#7102ab"
3631
+ "#490439"
3634
3632
  ]
3635
3633
  }
3636
3634
  },
@@ -3649,9 +3647,13 @@ const ga = /* @__PURE__ */ S(pa, [["render", ma], ["__scopeId", "data-v-02a8206f
3649
3647
  "text-size": 12
3650
3648
  },
3651
3649
  paint: {
3652
- "text-opacity": 0.7
3653
- // 'text-halo-color': 'rgba(255, 255, 255, 0.8)',
3654
- // 'text-halo-width': 0.2,
3650
+ "text-color": [
3651
+ "step",
3652
+ ["get", "val"],
3653
+ "rgba(0, 0, 0, 0.8)",
3654
+ 7,
3655
+ "rgba(255,255,255,0.8)"
3656
+ ]
3655
3657
  }
3656
3658
  },
3657
3659
  this.beforeLayer
@@ -4291,8 +4293,8 @@ const Ta = {
4291
4293
  var d;
4292
4294
  let l = 0, c;
4293
4295
  const h = t.filter((n) => {
4294
- var p, w;
4295
- return ((w = (p = n.properties) == null ? void 0 : p.category) == null ? void 0 : w.split("-")[0]) === o;
4296
+ var p;
4297
+ return ((p = n.properties) == null ? void 0 : p.name) === o;
4296
4298
  });
4297
4299
  (d = h.filter((n) => {
4298
4300
  var p, w;
@@ -4302,10 +4304,10 @@ const Ta = {
4302
4304
  ((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
4305
  }), h.map((n, p) => {
4304
4306
  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") {
4307
+ 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
4308
  n.properties.format = U(n.properties.date).utcOffset(this.timeZone).format(`MMM-DD,HHmm [(utc ${this.computeTimezone})]`);
4307
4309
  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.showNameLabel = p === l, n.properties.name = o;
4310
+ n.properties.showHistoryLabel = C || p === l, n.properties.name = o;
4309
4311
  }
4310
4312
  return n;
4311
4313
  });
@@ -4551,7 +4553,7 @@ const Ta = {
4551
4553
  id: this.forecastNameLayer,
4552
4554
  type: "symbol",
4553
4555
  source: this.clusterSource,
4554
- filter: ["all", ["==", "$type", "Point"], ["==", "type", "history"], ["==", "showNameLabel", !0]],
4556
+ filter: ["all", ["==", "$type", "Point"], ["==", "showNameLabel", !0]],
4555
4557
  layout: {
4556
4558
  "text-field": ["get", "name"],
4557
4559
  "text-offset": [0, 1.5],
@@ -4807,7 +4809,7 @@ function Ja(t, e, a, r, i, o) {
4807
4809
  ])
4808
4810
  ])
4809
4811
  ]),
4810
- e[5] || (e[5] = ut('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-44cf5c0c></div><div class="row" style="padding:2px 10px;" data-v-44cf5c0c><div class="legend" data-v-44cf5c0c><div class="icon td" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>TD</div></div><div class="legend" data-v-44cf5c0c><div class="icon ts" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>TS</div></div><div class="legend" data-v-44cf5c0c><div class="icon sts" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>STS</div></div><div class="legend" data-v-44cf5c0c><div class="icon ty" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>TY</div></div><div class="legend" data-v-44cf5c0c><div class="icon sty" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>STY</div></div><div class="legend" data-v-44cf5c0c><div class="icon supper-ty" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-44cf5c0c><div class="legend" data-v-44cf5c0c><div class="icon history" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>History</div></div><div class="legend" data-v-44cf5c0c><div class="icon r7" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>35kts Radii</div></div><div class="legend" data-v-44cf5c0c><div class="icon r10" data-v-44cf5c0c></div><div class="label" data-v-44cf5c0c>50kts Radii</div></div></div>', 3))
4812
+ 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
4813
  ]),
4812
4814
  s("div", Xa, [
4813
4815
  s("div", {
@@ -4820,7 +4822,7 @@ function Ja(t, e, a, r, i, o) {
4820
4822
  [we, i.showTropicals && !t.$attrs.hideTropicalsLegend]
4821
4823
  ]);
4822
4824
  }
4823
- const lt = /* @__PURE__ */ S(Ta, [["render", Ja], ["__scopeId", "data-v-44cf5c0c"]]);
4825
+ const lt = /* @__PURE__ */ S(Ta, [["render", Ja], ["__scopeId", "data-v-5947a418"]]);
4824
4826
  const qa = {
4825
4827
  name: "IdmPrecip3h",
4826
4828
  props: {