@idmwx/idmui-gl4 3.7.1 → 3.7.2

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-f9e390a1.js";
1
+ import { l as b } from "./index-d48114b4.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-e3555aee.js";
1
+ import { W as a } from "./chunk-3VYIPD3A-8b7fb7e1.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-e3555aee.js";
1
+ import { W as m } from "./chunk-3VYIPD3A-8b7fb7e1.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-5c460cbc.js";
2
- import { W as f } from "./chunk-3VYIPD3A-e3555aee.js";
3
- import "./index-f9e390a1.js";
1
+ import { m as d } from "./chunk-T4JIPPZO-935ef1d2.js";
2
+ import { W as f } from "./chunk-3VYIPD3A-8b7fb7e1.js";
3
+ import "./index-d48114b4.js";
4
4
  import "axios";
5
5
  import "vuetify";
6
6
  import "vue";
@@ -7021,13 +7021,13 @@ const Sm = {
7021
7021
  weatherLayers: {},
7022
7022
  activeWeatherLayers: [],
7023
7023
  cache: {
7024
- v: "0.0.1",
7024
+ v: "0.0.2",
7025
7025
  versionKey: "weatherLayerCacheVersionGL4",
7026
7026
  autoActiveKey: "autoActiveCacheGL4",
7027
7027
  checkListKey: "weatherCheckListCacheGL4"
7028
7028
  },
7029
7029
  models: {},
7030
- currentModel: localStorage.getItem("forecastModelCacheGL4") === "undefined" || localStorage.getItem("forecastModelCacheGL4") === "null" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4"),
7030
+ currentModel: localStorage.getItem("forecastModelCacheGL4") === "GFS" ? "GFS" : "ECMWF",
7031
7031
  zoom: 6,
7032
7032
  viewport: void 0,
7033
7033
  particleFactor: void 0,
@@ -17753,52 +17753,52 @@ Te.capture = async (t, e, a) => {
17753
17753
  if (a !== tl)
17754
17754
  throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
17755
17755
  let i = await el(t, e), o = { img: async (u, h) => {
17756
- let { toImg: f } = await import("./toImg-f6d66d2f.js");
17756
+ let { toImg: f } = await import("./toImg-0d8625a2.js");
17757
17757
  return f(i, { ...u, ...h || {} });
17758
17758
  }, svg: async (u, h) => {
17759
- let { toSvg: f } = await import("./toImg-f6d66d2f.js");
17759
+ let { toSvg: f } = await import("./toImg-0d8625a2.js");
17760
17760
  return f(i, { ...u, ...h || {} });
17761
17761
  }, canvas: async (u, h) => {
17762
- let { toCanvas: f } = await import("./toCanvas-478d43a7.js");
17762
+ let { toCanvas: f } = await import("./toCanvas-ca3e959a.js");
17763
17763
  return f(i, { ...u, ...h || {} });
17764
17764
  }, blob: async (u, h) => {
17765
- let { toBlob: f } = await import("./toBlob-d097975f.js");
17765
+ let { toBlob: f } = await import("./toBlob-c597e114.js");
17766
17766
  return f(i, { ...u, ...h || {} });
17767
17767
  }, png: async (u, h) => {
17768
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17768
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17769
17769
  return f(i, { ...u, ...h || {}, format: "png" });
17770
17770
  }, jpeg: async (u, h) => {
17771
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17771
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17772
17772
  return f(i, { ...u, ...h || {}, format: "jpeg" });
17773
17773
  }, webp: async (u, h) => {
17774
- let { rasterize: f } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17774
+ let { rasterize: f } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17775
17775
  return f(i, { ...u, ...h || {}, format: "webp" });
17776
17776
  }, download: async (u, h) => {
17777
- let { download: f } = await import("./download-ff4e8187.js");
17777
+ let { download: f } = await import("./download-2a15d785.js");
17778
17778
  return f(i, { ...u, ...h || {} });
17779
17779
  } }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
17780
- let { toSvg: h } = await import("./toImg-f6d66d2f.js");
17780
+ let { toSvg: h } = await import("./toImg-0d8625a2.js");
17781
17781
  return h(i, { ...e, ...u || {}, [da]: !0 });
17782
17782
  }, canvas: async (u) => {
17783
- let { toCanvas: h } = await import("./toCanvas-478d43a7.js");
17783
+ let { toCanvas: h } = await import("./toCanvas-ca3e959a.js");
17784
17784
  return h(i, { ...e, ...u || {}, [da]: !0 });
17785
17785
  }, png: async (u) => {
17786
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17786
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17787
17787
  return h(i, { ...e, ...u || {}, format: "png", [da]: !0 });
17788
17788
  }, jpeg: async (u) => {
17789
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17789
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17790
17790
  return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
17791
17791
  }, jpg: async (u) => {
17792
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17792
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17793
17793
  return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
17794
17794
  }, webp: async (u) => {
17795
- let { rasterize: h } = await import("./rasterize-JS5G2XHH-8d8a30fa.js");
17795
+ let { rasterize: h } = await import("./rasterize-JS5G2XHH-3fc453b5.js");
17796
17796
  return h(i, { ...e, ...u || {}, format: "webp", [da]: !0 });
17797
17797
  }, blob: async (u) => {
17798
- let { toBlob: h } = await import("./toBlob-d097975f.js");
17798
+ let { toBlob: h } = await import("./toBlob-c597e114.js");
17799
17799
  return h(i, { ...e, ...u || {}, [da]: !0 });
17800
17800
  }, img: async (u) => {
17801
- let { toImg: h } = await import("./toImg-f6d66d2f.js");
17801
+ let { toImg: h } = await import("./toImg-0d8625a2.js");
17802
17802
  return h(i, { ...e, ...u || {}, [da]: !0 });
17803
17803
  } } }, l = await qf("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...o, ...c };
17804
17804
  s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
@@ -18506,7 +18506,7 @@ const Ny = {
18506
18506
  showTimezone: !1,
18507
18507
  timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : T().utcOffset() / 60,
18508
18508
  offsets: [-12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
18509
- source: localStorage.getItem("forecastModelCacheGL4") === "undefined" || localStorage.getItem("forecastModelCacheGL4") === "null" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4"),
18509
+ source: localStorage.getItem("forecastModelCacheGL4") === "GFS" ? "GFS" : "ECMWF",
18510
18510
  gifEnabled: !1,
18511
18511
  frameCount: 0
18512
18512
  };
@@ -19267,7 +19267,7 @@ const t1 = {
19267
19267
  showTimezone: !1,
19268
19268
  timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : T().utcOffset() / 60,
19269
19269
  offsets: [-12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
19270
- source: localStorage.getItem("forecastModelCacheGL4") === "undefined" || localStorage.getItem("forecastModelCacheGL4") === "null" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4"),
19270
+ source: localStorage.getItem("forecastModelCacheGL4") === "GFS" ? "GFS" : "ECMWF",
19271
19271
  gifEnabled: !1,
19272
19272
  frameCount: 0,
19273
19273
  isDragging: !1,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as g, c as n, D as x, L as D, a as T, b as W, M as h, f, e as k, P as y, S as B, T as V, V as d, W as u, d as v } from "./index-f9e390a1.js";
1
+ import { B as g, c as n, D as x, L as D, a as T, b as W, M as h, f, e as k, P as y, S as B, T as V, V as d, W as u, d as v } from "./index-d48114b4.js";
2
2
  import "axios";
3
3
  import "vuetify";
4
4
  import "vue";