@idmwx/idmui-gl3 4.5.8 → 4.6.0

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
@@ -5108,7 +5108,6 @@ const Va = {
5108
5108
  handleClick(a) {
5109
5109
  a.originalEvent.stopPropagation();
5110
5110
  const e = a.originalEvent.target.className;
5111
- debugger;
5112
5111
  if (e.indexOf("close") > -1)
5113
5112
  this.showMeteo = !1;
5114
5113
  else if (e === "more")
@@ -5455,7 +5454,7 @@ function zi(a, e, t, r, i, o) {
5455
5454
  ])
5456
5455
  ]);
5457
5456
  }
5458
- const Ti = /* @__PURE__ */ I(Va, [["render", zi], ["__scopeId", "data-v-9eac667c"]]), Ii = {
5457
+ const Ti = /* @__PURE__ */ I(Va, [["render", zi], ["__scopeId", "data-v-1f6333db"]]), Ii = {
5459
5458
  name: "IdmWarZone",
5460
5459
  props: {
5461
5460
  map: {
@@ -7124,7 +7123,7 @@ const Cr = {
7124
7123
  type: Number
7125
7124
  }
7126
7125
  },
7127
- emits: ["toggleVersion", "activeWeatherLayers"],
7126
+ emits: ["toggleVersion", "activeWeatherLayers", "showMeteoPoint"],
7128
7127
  data() {
7129
7128
  return {
7130
7129
  weatherLayers: {},
@@ -7183,6 +7182,11 @@ const Cr = {
7183
7182
  this.activeWeatherLayers.length > 0 ? ((e = (a = this.map) == null ? void 0 : a.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (t = this.map) == null ? void 0 : t.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((n = this.map) != null && n.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((h = this.map) == null || h.moveLayer((l = this.viewport) == null ? void 0 : l.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (c = this.map) != null && c.getLayer((p = this.viewport) == null ? void 0 : p.particleLayer) && ((d = this.map) != null && d.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((m = this.map) == null || m.moveLayer((y = this.viewport) == null ? void 0 : y.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((f = (w = this.map) == null ? void 0 : w.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (L = (u = this.map) == null ? void 0 : u.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || L.setLayoutProperty("visibility", "none")), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
7184
7183
  },
7185
7184
  immediate: !0
7185
+ },
7186
+ showPoint: {
7187
+ handler() {
7188
+ this.$emit("showMeteoPoint", this.showPoint);
7189
+ }
7186
7190
  }
7187
7191
  /** for offline map**/
7188
7192
  // activeWeatherLayers: {
@@ -7666,7 +7670,6 @@ const Cr = {
7666
7670
  }
7667
7671
  },
7668
7672
  async handlePointChange(a) {
7669
- console.log(this.ts);
7670
7673
  const e = this.ts ? j(this.ts).utc().add(-1, "d").format() : j().add(-1, "d").utc().format(), t = {
7671
7674
  lat: a.lat,
7672
7675
  lng: a.lng,