@idmwx/idmui-gl4 4.0.7 → 4.0.8

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.
@@ -1,4 +1,4 @@
1
- import { l as b } from "./index-f51e741e.js";
1
+ import { l as b } from "./index-8dea0f89.js";
2
2
  function M(e) {
3
3
  return typeof e == "string" && /^data:image\/svg\+xml/i.test(e);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { W as a } from "./chunk-3VYIPD3A-eca3080a.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-47803d8a.js";
2
2
  async function o(r, t) {
3
3
  let i = await a(r, t), e = new Image();
4
4
  return e.src = i.toDataURL(`image/${t.format}`, t.quality), await e.decode(), e.style.width = `${i.width / t.dpr}px`, e.style.height = `${i.height / t.dpr}px`, e;
@@ -1,4 +1,4 @@
1
- import { W as m } from "./chunk-3VYIPD3A-eca3080a.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-47803d8a.js";
2
2
  async function a(n, e) {
3
3
  let o = e.type;
4
4
  if (o === "svg") {
@@ -1,6 +1,6 @@
1
- import { m as d } from "./chunk-T4JIPPZO-c66ffb26.js";
2
- import { W as f } from "./chunk-3VYIPD3A-eca3080a.js";
3
- import "./index-f51e741e.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-6a680020.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-47803d8a.js";
3
+ import "./index-8dea0f89.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -7669,10 +7669,6 @@ const au = {
7669
7669
  gateway: {
7670
7670
  type: String
7671
7671
  },
7672
- assistGateway: {
7673
- type: Array,
7674
- default: []
7675
- },
7676
7672
  defaultMeteoToken: {
7677
7673
  type: String
7678
7674
  },
@@ -8009,7 +8005,8 @@ const au = {
8009
8005
  let g = (h = (y = m == null ? void 0 : m.config) == null ? void 0 : y.headers) == null ? void 0 : h.key;
8010
8006
  g === "sig-wave" && (g = "sig-wave-particle"), g === "swell" && (g = "swell-particle"), g && d && (this.weatherLayers[g] = {
8011
8007
  raw: d,
8012
- type: ((u = m == null ? void 0 : m.config) == null ? void 0 : u.responseType) === "blob" ? "image" : "json"
8008
+ type: ((u = m == null ? void 0 : m.config) == null ? void 0 : u.responseType) === "blob" ? "image" : "json",
8009
+ etime: this.realTime
8013
8010
  });
8014
8011
  });
8015
8012
  }
@@ -8018,7 +8015,8 @@ const au = {
8018
8015
  delete this.weatherLayers["current-direction"], delete this.weatherLayers["current-speed"], this.weatherLayers.current = {
8019
8016
  type: "json",
8020
8017
  direction: l,
8021
- speed: { raw: n }
8018
+ speed: { raw: n },
8019
+ etime: this.realTime
8022
8020
  };
8023
8021
  }
8024
8022
  if (this.weatherLayers["swell-direction"] || this.weatherLayers["swell-height"]) {
@@ -8026,7 +8024,8 @@ const au = {
8026
8024
  delete this.weatherLayers["swell-direction"], delete this.weatherLayers["swell-height"], this.weatherLayers["swell-direction-contour"] = {
8027
8025
  type: "json",
8028
8026
  direction: l,
8029
- height: { raw: n }
8027
+ height: { raw: n },
8028
+ etime: this.realTime
8030
8029
  };
8031
8030
  }
8032
8031
  }
@@ -18820,52 +18819,52 @@ Te.capture = async (t, e, o) => {
18820
18819
  if (o !== rs)
18821
18820
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
18822
18821
  let i = await is(t, e), a = { img: async (h, u) => {
18823
- let { toImg: f } = await import("./toImg-4f8999c6.js");
18822
+ let { toImg: f } = await import("./toImg-737a638f.js");
18824
18823
  return f(i, { ...h, ...u || {} });
18825
18824
  }, svg: async (h, u) => {
18826
- let { toSvg: f } = await import("./toImg-4f8999c6.js");
18825
+ let { toSvg: f } = await import("./toImg-737a638f.js");
18827
18826
  return f(i, { ...h, ...u || {} });
18828
18827
  }, canvas: async (h, u) => {
18829
- let { toCanvas: f } = await import("./toCanvas-0dc583ab.js");
18828
+ let { toCanvas: f } = await import("./toCanvas-47234157.js");
18830
18829
  return f(i, { ...h, ...u || {} });
18831
18830
  }, blob: async (h, u) => {
18832
- let { toBlob: f } = await import("./toBlob-7185fb98.js");
18831
+ let { toBlob: f } = await import("./toBlob-4864d039.js");
18833
18832
  return f(i, { ...h, ...u || {} });
18834
18833
  }, png: async (h, u) => {
18835
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18834
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18836
18835
  return f(i, { ...h, ...u || {}, format: "png" });
18837
18836
  }, jpeg: async (h, u) => {
18838
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18837
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18839
18838
  return f(i, { ...h, ...u || {}, format: "jpeg" });
18840
18839
  }, webp: async (h, u) => {
18841
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18840
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18842
18841
  return f(i, { ...h, ...u || {}, format: "webp" });
18843
18842
  }, download: async (h, u) => {
18844
- let { download: f } = await import("./download-7dc31778.js");
18843
+ let { download: f } = await import("./download-2f92e1f6.js");
18845
18844
  return f(i, { ...h, ...u || {} });
18846
18845
  } }, r = { ...e, export: { url: i }, exports: { svg: async (h) => {
18847
- let { toSvg: u } = await import("./toImg-4f8999c6.js");
18846
+ let { toSvg: u } = await import("./toImg-737a638f.js");
18848
18847
  return u(i, { ...e, ...h || {}, [po]: !0 });
18849
18848
  }, canvas: async (h) => {
18850
- let { toCanvas: u } = await import("./toCanvas-0dc583ab.js");
18849
+ let { toCanvas: u } = await import("./toCanvas-47234157.js");
18851
18850
  return u(i, { ...e, ...h || {}, [po]: !0 });
18852
18851
  }, png: async (h) => {
18853
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18852
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18854
18853
  return u(i, { ...e, ...h || {}, format: "png", [po]: !0 });
18855
18854
  }, jpeg: async (h) => {
18856
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18855
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18857
18856
  return u(i, { ...e, ...h || {}, format: "jpeg", [po]: !0 });
18858
18857
  }, jpg: async (h) => {
18859
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18858
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18860
18859
  return u(i, { ...e, ...h || {}, format: "jpeg", [po]: !0 });
18861
18860
  }, webp: async (h) => {
18862
- let { rasterize: u } = await import("./rasterize-JS5G2XHH-bb4ded20.js");
18861
+ let { rasterize: u } = await import("./rasterize-JS5G2XHH-44b90b9e.js");
18863
18862
  return u(i, { ...e, ...h || {}, format: "webp", [po]: !0 });
18864
18863
  }, blob: async (h) => {
18865
- let { toBlob: u } = await import("./toBlob-7185fb98.js");
18864
+ let { toBlob: u } = await import("./toBlob-4864d039.js");
18866
18865
  return u(i, { ...e, ...h || {}, [po]: !0 });
18867
18866
  }, img: async (h) => {
18868
- let { toImg: u } = await import("./toImg-4f8999c6.js");
18867
+ let { toImg: u } = await import("./toImg-737a638f.js");
18869
18868
  return u(i, { ...e, ...h || {}, [po]: !0 });
18870
18869
  } } }, l = await E1("defineExports", r), n = Object.assign({}, ...l.filter((h) => h && typeof h == "object")), s = { ...a, ...n };
18871
18870
  s.jpeg && !s.jpg && (s.jpg = (h, u) => s.jpeg(h, u));
@@ -21521,7 +21520,6 @@ function mw(t, e, o, i, a, r) {
21521
21520
  token: o.token,
21522
21521
  "default-meteo-token": a.defaultMeteoToken,
21523
21522
  gateway: a.gateway,
21524
- "assist-gateway": a.assistGateway,
21525
21523
  "forecast-model": o.forecastModel,
21526
21524
  "map-feather": o.mapFeather,
21527
21525
  "has-ramp-layer": r.hasRampLayer,
@@ -21530,7 +21528,7 @@ function mw(t, e, o, i, a, r) {
21530
21528
  onAutoActive: r.handleChangeAutoActive,
21531
21529
  onWeatherCheckList: r.handleChangeWeatherChecklist,
21532
21530
  onRampLayersReady: e[0] || (e[0] = (u) => a.layerVersion += 1)
21533
- }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "assist-gateway", "forecast-model", "map-feather", "has-ramp-layer", "nautical", "onAutoActive", "onWeatherCheckList"]),
21531
+ }), null, 16, ["simple", "map", "token", "default-meteo-token", "gateway", "forecast-model", "map-feather", "has-ramp-layer", "nautical", "onAutoActive", "onWeatherCheckList"]),
21534
21532
  x(s, O({
21535
21533
  ref: "idmTropicals",
21536
21534
  simple: o.simple,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-f51e741e.js";
1
+ import { B as D, c as M, D as n, L as x, a as T, b as W, M as h, g as V, e as f, P as k, S as w, T as y, V as B, f as d, W as u, d as v } from "./index-8dea0f89.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";