@idmwx/idmui-gl4 3.8.4 → 3.8.6
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/{chunk-3VYIPD3A-fa905f95.js → chunk-3VYIPD3A-e192d457.js} +1 -1
- package/dist/{chunk-ANSXOGKI-b00702e8.js → chunk-ANSXOGKI-a76a3f02.js} +1 -1
- package/dist/{chunk-T4JIPPZO-6e95a046.js → chunk-T4JIPPZO-0b73b969.js} +1 -1
- package/dist/{download-b8de6399.js → download-c7a18a85.js} +3 -3
- package/dist/{index-c5a4c55d.js → index-e7529e25.js} +22 -21
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/mapbox/src/components/other/index.vue.d.ts +1 -0
- package/dist/{rasterize-JS5G2XHH-a6fae19b.js → rasterize-JS5G2XHH-da473b0a.js} +3 -3
- package/dist/{toBlob-5b17355f.js → toBlob-dc926ecc.js} +3 -3
- package/dist/{toCanvas-2d35d06f.js → toCanvas-a95b8c58.js} +2 -2
- package/dist/{toImg-d1960399.js → toImg-d5f9467d.js} +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { W as a } from "./chunk-3VYIPD3A-
|
|
1
|
+
import { W as a } from "./chunk-3VYIPD3A-e192d457.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,6 +1,6 @@
|
|
|
1
|
-
import { m as d } from "./chunk-T4JIPPZO-
|
|
2
|
-
import { W as f } from "./chunk-3VYIPD3A-
|
|
3
|
-
import "./index-
|
|
1
|
+
import { m as d } from "./chunk-T4JIPPZO-0b73b969.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-e192d457.js";
|
|
3
|
+
import "./index-e7529e25.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -3290,7 +3290,7 @@ const dc = {
|
|
|
3290
3290
|
otherLayers: {},
|
|
3291
3291
|
activeOtherLayers: [],
|
|
3292
3292
|
cache: {
|
|
3293
|
-
v: "0.0.
|
|
3293
|
+
v: "0.0.4",
|
|
3294
3294
|
versionKey: "otherLayerCacheVersionGL4",
|
|
3295
3295
|
checkListKey: "otherChecklistCacheGL4",
|
|
3296
3296
|
followListKey: "otherFollowListCacheGL4",
|
|
@@ -3339,8 +3339,9 @@ const dc = {
|
|
|
3339
3339
|
},
|
|
3340
3340
|
mapboxFeather: {
|
|
3341
3341
|
handler() {
|
|
3342
|
-
|
|
3343
|
-
}
|
|
3342
|
+
localStorage.setItem(this.cache.mapFeatherKey, this.mapboxFeather), this.$emit("mapFeather", this.mapboxFeather), this.$emit("theme", ["light", "nautical"].includes(this.mapboxFeather) ? "light" : "dark");
|
|
3343
|
+
},
|
|
3344
|
+
immediate: !0
|
|
3344
3345
|
},
|
|
3345
3346
|
checkList: {
|
|
3346
3347
|
handler(t, e) {
|
|
@@ -3366,7 +3367,7 @@ const dc = {
|
|
|
3366
3367
|
this.cache.v !== t && (localStorage.removeItem(this.cache.checkListKey), localStorage.removeItem(this.cache.followListKey), localStorage.removeItem(this.cache.mapFeatherKey), localStorage.removeItem(this.cache.nauticalKey), localStorage.setItem(this.cache.versionKey, this.cache.v));
|
|
3367
3368
|
let e = localStorage.getItem(this.cache.checkListKey);
|
|
3368
3369
|
this.checkList = JSON.parse(e || '["eca-zones"]'), localStorage.setItem(this.cache.checkListKey, JSON.stringify(this.checkList)), e = localStorage.getItem(this.cache.mapFeatherKey);
|
|
3369
|
-
const a = this.featherOptions.some((o) => o.value === e && !o.hide) ? e : ((i = this.featherOptions.find((o) => o.value === e)) == null ? void 0 : i.replace) || "dark";
|
|
3370
|
+
const a = this.featherOptions.some((o) => o.value === e && !o.hide) ? e : ((i = this.featherOptions.find((o) => o.value === e)) == null ? void 0 : i.replace) || this.mapFeather || "dark";
|
|
3370
3371
|
this.$emit("mapFeather", a), localStorage.setItem(this.cache.mapFeatherKey, a);
|
|
3371
3372
|
},
|
|
3372
3373
|
handleMenuToggle() {
|
|
@@ -7069,7 +7070,7 @@ const Sm = {
|
|
|
7069
7070
|
weatherLayers: {},
|
|
7070
7071
|
activeWeatherLayers: [],
|
|
7071
7072
|
cache: {
|
|
7072
|
-
v: "0.0.
|
|
7073
|
+
v: "0.0.4",
|
|
7073
7074
|
versionKey: "weatherLayerCacheVersionGL4",
|
|
7074
7075
|
autoActiveKey: "autoActiveCacheGL4",
|
|
7075
7076
|
checkListKey: "weatherCheckListCacheGL4"
|
|
@@ -17801,52 +17802,52 @@ Te.capture = async (t, e, a) => {
|
|
|
17801
17802
|
if (a !== tl)
|
|
17802
17803
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17803
17804
|
let i = await el(t, e), o = { img: async (u, h) => {
|
|
17804
|
-
let { toImg: y } = await import("./toImg-
|
|
17805
|
+
let { toImg: y } = await import("./toImg-d5f9467d.js");
|
|
17805
17806
|
return y(i, { ...u, ...h || {} });
|
|
17806
17807
|
}, svg: async (u, h) => {
|
|
17807
|
-
let { toSvg: y } = await import("./toImg-
|
|
17808
|
+
let { toSvg: y } = await import("./toImg-d5f9467d.js");
|
|
17808
17809
|
return y(i, { ...u, ...h || {} });
|
|
17809
17810
|
}, canvas: async (u, h) => {
|
|
17810
|
-
let { toCanvas: y } = await import("./toCanvas-
|
|
17811
|
+
let { toCanvas: y } = await import("./toCanvas-a95b8c58.js");
|
|
17811
17812
|
return y(i, { ...u, ...h || {} });
|
|
17812
17813
|
}, blob: async (u, h) => {
|
|
17813
|
-
let { toBlob: y } = await import("./toBlob-
|
|
17814
|
+
let { toBlob: y } = await import("./toBlob-dc926ecc.js");
|
|
17814
17815
|
return y(i, { ...u, ...h || {} });
|
|
17815
17816
|
}, png: async (u, h) => {
|
|
17816
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17817
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17817
17818
|
return y(i, { ...u, ...h || {}, format: "png" });
|
|
17818
17819
|
}, jpeg: async (u, h) => {
|
|
17819
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17820
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17820
17821
|
return y(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17821
17822
|
}, webp: async (u, h) => {
|
|
17822
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17823
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17823
17824
|
return y(i, { ...u, ...h || {}, format: "webp" });
|
|
17824
17825
|
}, download: async (u, h) => {
|
|
17825
|
-
let { download: y } = await import("./download-
|
|
17826
|
+
let { download: y } = await import("./download-c7a18a85.js");
|
|
17826
17827
|
return y(i, { ...u, ...h || {} });
|
|
17827
17828
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17828
|
-
let { toSvg: h } = await import("./toImg-
|
|
17829
|
+
let { toSvg: h } = await import("./toImg-d5f9467d.js");
|
|
17829
17830
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17830
17831
|
}, canvas: async (u) => {
|
|
17831
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17832
|
+
let { toCanvas: h } = await import("./toCanvas-a95b8c58.js");
|
|
17832
17833
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17833
17834
|
}, png: async (u) => {
|
|
17834
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17835
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17835
17836
|
return h(i, { ...e, ...u || {}, format: "png", [da]: !0 });
|
|
17836
17837
|
}, jpeg: async (u) => {
|
|
17837
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17838
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17838
17839
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17839
17840
|
}, jpg: async (u) => {
|
|
17840
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17841
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17841
17842
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17842
17843
|
}, webp: async (u) => {
|
|
17843
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17844
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-da473b0a.js");
|
|
17844
17845
|
return h(i, { ...e, ...u || {}, format: "webp", [da]: !0 });
|
|
17845
17846
|
}, blob: async (u) => {
|
|
17846
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17847
|
+
let { toBlob: h } = await import("./toBlob-dc926ecc.js");
|
|
17847
17848
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17848
17849
|
}, img: async (u) => {
|
|
17849
|
-
let { toImg: h } = await import("./toImg-
|
|
17850
|
+
let { toImg: h } = await import("./toImg-d5f9467d.js");
|
|
17850
17851
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17851
17852
|
} } }, l = await qf("defineExports", r), s = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), c = { ...o, ...s };
|
|
17852
17853
|
c.jpeg && !c.jpg && (c.jpg = (u, h) => c.jpeg(u, h));
|
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-
|
|
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-e7529e25.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|