@idmwx/idmui-gl3 5.1.4 → 5.1.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
@@ -1300,7 +1300,7 @@ const k = (b, M) => {
1300
1300
  { weight: 4096, name: "Pressure", key: "prmsl", enabled: !0, type: "json" },
1301
1301
  { weight: 256, name: "Tropicals", key: "tropicals", enabled: !0, type: "json" }
1302
1302
  ]
1303
- )), M = localStorage.getItem(this.activeWeatherLayersCache), z = JSON.parse(M), this.autoActive && (this.activeWeatherLayers = [...z]), z.some((O) => O.key === "wind" && O.particle) && this.$emit("toggleWindParticle", !0), localStorage.getItem(this.windFeatherCache) === "true" && this.$emit("toggleWindFeather", !0), z.some((O) => O.key === "current" && O.particle) && this.$emit("toggleCurrentParticle", !0), localStorage.getItem(this.currentIsobandCache) === "true" && this.$emit("toggleCurrentIsoband", !0), M = localStorage.getItem(this.activeOtherLayersCache), z = JSON.parse(M || '[{"weight":4,"name":"ECA Zones","key":"eca-zones","enabled":true,"type":"json"}, {"weight": 2048,"name": "ENC","key": "enc","h5": true,"enabled": true,"type": "origin"}]'), this.activeOtherLayers = z, M = localStorage.getItem(this.sourceCache), this.source = M ? M === "CMEMS" ? "ECMWF" : M : this.source;
1303
+ )), M = localStorage.getItem(this.activeWeatherLayersCache), z = JSON.parse(M), this.autoActive && (this.activeWeatherLayers = [...z]), z.some((O) => O.key === "wind" && O.particle) && this.$emit("toggleWindParticle", !0), localStorage.getItem(this.windFeatherCache) === "true" && this.$emit("toggleWindFeather", !0), z.some((O) => O.key === "current" && O.particle) && this.$emit("toggleCurrentParticle", !0), localStorage.getItem(this.currentIsobandCache) === "true" && this.$emit("toggleCurrentIsoband", !0), M = localStorage.getItem(this.activeOtherLayersCache), z = JSON.parse(M || '[{"weight":4,"name":"ECA Zones","key":"eca-zones","enabled":true,"type":"json"}, {"weight": 2048,"name": "ENC","key": "enc","h5": true,"enabled": true,"type": "origin"}]'), this.activeOtherLayers = z, M = localStorage.getItem(this.sourceCache), this.source = M ? M === "CMEMS" ? "ECMWF" : M : this.source, this.$emit("forecastModel", this.source);
1304
1304
  },
1305
1305
  handleConfirm() {
1306
1306
  var M;