@idmwx/idmui-gl3 3.6.4 → 3.6.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
@@ -4117,7 +4117,7 @@ const Ua = {
4117
4117
  return C.lineToPolygon(i, { properties: a });
4118
4118
  }
4119
4119
  }
4120
- }, Ne = (t) => (G("data-v-26b44fd1"), t = t(), H(), t), Ga = {
4120
+ }, Ne = (t) => (G("data-v-6751acd3"), t = t(), H(), t), Ga = {
4121
4121
  id: "active-tropical",
4122
4122
  class: "active-tropical"
4123
4123
  }, Ha = { class: "header-box" }, Za = { class: "main" }, Xa = { key: 0 }, Ja = { class: "sub" }, qa = {
@@ -4135,7 +4135,7 @@ const Ua = {
4135
4135
  }, oi = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)), si = { class: "forecast-models" }, ni = ["onClick"], li = { class: "row" }, ci = {
4136
4136
  class: "col col-24",
4137
4137
  style: { "justify-content": "flex-start" }
4138
- }, hi = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "showCircles : ", -1)), di = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-26b44fd1></div><div class="row" style="padding:2px 10px;" data-v-26b44fd1><div class="legend" data-v-26b44fd1><div class="icon td" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>TD</div></div><div class="legend" data-v-26b44fd1><div class="icon ts" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>TS</div></div><div class="legend" data-v-26b44fd1><div class="icon sts" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>STS</div></div><div class="legend" data-v-26b44fd1><div class="icon ty" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>TY</div></div><div class="legend" data-v-26b44fd1><div class="icon sty" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>STY</div></div><div class="legend" data-v-26b44fd1><div class="icon supper-ty" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-26b44fd1><div class="legend" data-v-26b44fd1><div class="icon history" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>History</div></div><div class="legend" data-v-26b44fd1><div class="icon r7" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>35kts Radii</div></div><div class="legend" data-v-26b44fd1><div class="icon r10" data-v-26b44fd1></div><div class="label" data-v-26b44fd1>50kts Radii</div></div></div>', 3), pi = { class: "more" };
4138
+ }, hi = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", { style: { width: "max-content" } }, "showCircles : ", -1)), di = /* @__PURE__ */ lt('<div class="row" style="padding:0;height:1px;margin:10px 0;background:var(--idm-black-1);" data-v-6751acd3></div><div class="row" style="padding:2px 10px;" data-v-6751acd3><div class="legend" data-v-6751acd3><div class="icon td" data-v-6751acd3></div><div class="label" data-v-6751acd3>TD</div></div><div class="legend" data-v-6751acd3><div class="icon ts" data-v-6751acd3></div><div class="label" data-v-6751acd3>TS</div></div><div class="legend" data-v-6751acd3><div class="icon sts" data-v-6751acd3></div><div class="label" data-v-6751acd3>STS</div></div><div class="legend" data-v-6751acd3><div class="icon ty" data-v-6751acd3></div><div class="label" data-v-6751acd3>TY</div></div><div class="legend" data-v-6751acd3><div class="icon sty" data-v-6751acd3></div><div class="label" data-v-6751acd3>STY</div></div><div class="legend" data-v-6751acd3><div class="icon supper-ty" data-v-6751acd3></div><div class="label" data-v-6751acd3>Super TY</div></div></div><div class="row" style="padding:2px 10px;" data-v-6751acd3><div class="legend" data-v-6751acd3><div class="icon history" data-v-6751acd3></div><div class="label" data-v-6751acd3>History</div></div><div class="legend" data-v-6751acd3><div class="icon r7" data-v-6751acd3></div><div class="label" data-v-6751acd3>35kts Radii</div></div><div class="legend" data-v-6751acd3><div class="icon r10" data-v-6751acd3></div><div class="label" data-v-6751acd3>50kts Radii</div></div></div>', 3), pi = { class: "more" };
4139
4139
  function mi(t, e, a, r, i, o) {
4140
4140
  var n, s, c, h, d, p, y, m, g, f, u, v, b, w, k, _;
4141
4141
  return $e((L(), x("div", Ga, [
@@ -4212,7 +4212,7 @@ function mi(t, e, a, r, i, o) {
4212
4212
  [Be, i.showTropicals && !t.$attrs.hideTropicalsLegend]
4213
4213
  ]);
4214
4214
  }
4215
- const tt = /* @__PURE__ */ T(Ua, [["render", mi], ["__scopeId", "data-v-26b44fd1"]]);
4215
+ const tt = /* @__PURE__ */ T(Ua, [["render", mi], ["__scopeId", "data-v-6751acd3"]]);
4216
4216
  const ui = {
4217
4217
  name: "IdmPrecip3h",
4218
4218
  props: {
@@ -6577,7 +6577,8 @@ const es = {
6577
6577
  },
6578
6578
  props: {
6579
6579
  map: {
6580
- type: Object
6580
+ type: Object,
6581
+ default: void 0
6581
6582
  },
6582
6583
  token: {
6583
6584
  type: String
@@ -6630,7 +6631,7 @@ const es = {
6630
6631
  map: {
6631
6632
  handler() {
6632
6633
  var t, e, a, r, i, o, n, s, c, h, d, p, y, m, g;
6633
- this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Ge(this.map), this.handleRampColorInitial(), this.activeWeatherLayers.length > 0 ? ((e = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (a = this.map) == null ? void 0 : a.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (i = this.map) != null && i.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((n = this.map) == null || n.moveLayer((o = this.viewport) == null ? void 0 : o.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (c = this.map) != null && c.getLayer((s = this.viewport) == null ? void 0 : s.particleLayer) && ((d = this.map) == null || d.moveLayer((h = this.viewport) == null ? void 0 : h.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((y = (p = this.map) == null ? void 0 : p.getLayer(this.enc)) == null || y.setLayoutProperty("visibility", "visible"), (g = (m = this.map) == null ? void 0 : m.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || g.setLayoutProperty("visibility", "none")));
6634
+ this.map && (this.map.on("zoomend", this.handleDragEndWithZoom4Json), this.map.on("dragend", this.handleDragEndWithZoom4Json), this.map.on("move", this.handleDragEndWithZoom4Image), this.viewport = new Ge(this.map), this.handleRampColorInitial(), this.activeWeatherLayers.length > 0 ? (console.log(1111, this.activeWeatherLayers.length), (e = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (a = this.map) == null ? void 0 : a.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (i = this.map) != null && i.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((n = this.map) == null || n.moveLayer((o = this.viewport) == null ? void 0 : o.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (c = this.map) != null && c.getLayer((s = this.viewport) == null ? void 0 : s.particleLayer) && ((d = this.map) == null || d.moveLayer((h = this.viewport) == null ? void 0 : h.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (console.log(2222, this.activeWeatherLayers.length), (y = (p = this.map) == null ? void 0 : p.getLayer(this.enc)) == null || y.setLayoutProperty("visibility", "visible"), (g = (m = this.map) == null ? void 0 : m.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || g.setLayoutProperty("visibility", "none")));
6634
6635
  },
6635
6636
  immediate: !0
6636
6637
  },
@@ -6645,7 +6646,7 @@ const es = {
6645
6646
  var t, e, a, r, i, o, n, s, c, h, d, p, y, m, g;
6646
6647
  if (!this.map)
6647
6648
  return !1;
6648
- this.activeWeatherLayers.length > 0 ? ((e = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (a = this.map) == null ? void 0 : a.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (i = this.map) != null && i.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((n = this.map) == null || n.moveLayer((o = this.viewport) == null ? void 0 : o.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (c = this.map) != null && c.getLayer((s = this.viewport) == null ? void 0 : s.particleLayer) && ((d = this.map) == null || d.moveLayer((h = this.viewport) == null ? void 0 : h.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((y = (p = this.map) == null ? void 0 : p.getLayer(this.enc)) == null || y.setLayoutProperty("visibility", "visible"), (g = (m = this.map) == null ? void 0 : m.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || g.setLayoutProperty("visibility", "none"));
6649
+ this.activeWeatherLayers.length > 0 ? (console.log(3333, this.activeWeatherLayers.length), (e = (t = this.map) == null ? void 0 : t.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (a = this.map) == null ? void 0 : a.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (i = this.map) != null && i.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id) && ((n = this.map) == null || n.moveLayer((o = this.viewport) == null ? void 0 : o.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (c = this.map) != null && c.getLayer((s = this.viewport) == null ? void 0 : s.particleLayer) && ((d = this.map) == null || d.moveLayer((h = this.viewport) == null ? void 0 : h.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : (console.log(444, this.activeWeatherLayers.length), (y = (p = this.map) == null ? void 0 : p.getLayer(this.enc)) == null || y.setLayoutProperty("visibility", "visible"), (g = (m = this.map) == null ? void 0 : m.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || g.setLayoutProperty("visibility", "none"));
6649
6650
  },
6650
6651
  immediate: !0
6651
6652
  }