@idmwx/idmui-gl4 3.8.3 → 3.8.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/{chunk-3VYIPD3A-03109a46.js → chunk-3VYIPD3A-98ecbb08.js} +1 -1
- package/dist/{chunk-ANSXOGKI-72f37f60.js → chunk-ANSXOGKI-a836df13.js} +1 -1
- package/dist/{chunk-T4JIPPZO-bfa83c91.js → chunk-T4JIPPZO-4866a352.js} +1 -1
- package/dist/{download-f1f9b65a.js → download-2643c063.js} +3 -3
- package/dist/{index-0f297b00.js → index-1f8cfea5.js} +28 -29
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +3 -3
- package/dist/mapbox/src/components/map/index.vue.d.ts +3 -3
- package/dist/mapbox/src/components/other/index.vue.d.ts +2 -1
- package/dist/{rasterize-JS5G2XHH-6f31de44.js → rasterize-JS5G2XHH-1ac6547f.js} +3 -3
- package/dist/{toBlob-fed1c14a.js → toBlob-b60b55dd.js} +3 -3
- package/dist/{toCanvas-017719bc.js → toCanvas-295e8484.js} +2 -2
- package/dist/{toImg-1ebb6a86.js → toImg-77e68994.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-98ecbb08.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-4866a352.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-98ecbb08.js";
|
|
3
|
+
import "./index-1f8cfea5.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",
|
|
@@ -3330,19 +3330,18 @@ const dc = {
|
|
|
3330
3330
|
handler() {
|
|
3331
3331
|
this.theme === "light" ? this.mapboxFeather = ["light", "nautical"].includes(this.mapboxFeather) ? this.mapboxFeather : "light" : this.theme === "dark" && (this.mapboxFeather = ["dark", "satellite"].includes(this.mapboxFeather) ? this.mapboxFeather : "dark");
|
|
3332
3332
|
}
|
|
3333
|
-
// immediate: true,
|
|
3334
3333
|
},
|
|
3335
3334
|
mapFeather: {
|
|
3336
|
-
handler() {
|
|
3337
|
-
|
|
3335
|
+
handler(t, e) {
|
|
3336
|
+
t !== e && (this.mapboxFeather = this.mapFeather);
|
|
3338
3337
|
},
|
|
3339
3338
|
immediate: !0
|
|
3340
3339
|
},
|
|
3341
3340
|
mapboxFeather: {
|
|
3342
3341
|
handler() {
|
|
3343
3342
|
localStorage.setItem(this.cache.mapFeatherKey, this.mapboxFeather), this.$emit("mapFeather", this.mapboxFeather), this.$emit("theme", ["light", "nautical"].includes(this.mapboxFeather) ? "light" : "dark");
|
|
3344
|
-
}
|
|
3345
|
-
|
|
3343
|
+
},
|
|
3344
|
+
immediate: !0
|
|
3346
3345
|
},
|
|
3347
3346
|
checkList: {
|
|
3348
3347
|
handler(t, e) {
|
|
@@ -7071,7 +7070,7 @@ const Sm = {
|
|
|
7071
7070
|
weatherLayers: {},
|
|
7072
7071
|
activeWeatherLayers: [],
|
|
7073
7072
|
cache: {
|
|
7074
|
-
v: "0.0.
|
|
7073
|
+
v: "0.0.4",
|
|
7075
7074
|
versionKey: "weatherLayerCacheVersionGL4",
|
|
7076
7075
|
autoActiveKey: "autoActiveCacheGL4",
|
|
7077
7076
|
checkListKey: "weatherCheckListCacheGL4"
|
|
@@ -17803,52 +17802,52 @@ Te.capture = async (t, e, a) => {
|
|
|
17803
17802
|
if (a !== tl)
|
|
17804
17803
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17805
17804
|
let i = await el(t, e), o = { img: async (u, h) => {
|
|
17806
|
-
let { toImg: y } = await import("./toImg-
|
|
17805
|
+
let { toImg: y } = await import("./toImg-77e68994.js");
|
|
17807
17806
|
return y(i, { ...u, ...h || {} });
|
|
17808
17807
|
}, svg: async (u, h) => {
|
|
17809
|
-
let { toSvg: y } = await import("./toImg-
|
|
17808
|
+
let { toSvg: y } = await import("./toImg-77e68994.js");
|
|
17810
17809
|
return y(i, { ...u, ...h || {} });
|
|
17811
17810
|
}, canvas: async (u, h) => {
|
|
17812
|
-
let { toCanvas: y } = await import("./toCanvas-
|
|
17811
|
+
let { toCanvas: y } = await import("./toCanvas-295e8484.js");
|
|
17813
17812
|
return y(i, { ...u, ...h || {} });
|
|
17814
17813
|
}, blob: async (u, h) => {
|
|
17815
|
-
let { toBlob: y } = await import("./toBlob-
|
|
17814
|
+
let { toBlob: y } = await import("./toBlob-b60b55dd.js");
|
|
17816
17815
|
return y(i, { ...u, ...h || {} });
|
|
17817
17816
|
}, png: async (u, h) => {
|
|
17818
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17817
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17819
17818
|
return y(i, { ...u, ...h || {}, format: "png" });
|
|
17820
17819
|
}, jpeg: async (u, h) => {
|
|
17821
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17820
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17822
17821
|
return y(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17823
17822
|
}, webp: async (u, h) => {
|
|
17824
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17823
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17825
17824
|
return y(i, { ...u, ...h || {}, format: "webp" });
|
|
17826
17825
|
}, download: async (u, h) => {
|
|
17827
|
-
let { download: y } = await import("./download-
|
|
17826
|
+
let { download: y } = await import("./download-2643c063.js");
|
|
17828
17827
|
return y(i, { ...u, ...h || {} });
|
|
17829
17828
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17830
|
-
let { toSvg: h } = await import("./toImg-
|
|
17829
|
+
let { toSvg: h } = await import("./toImg-77e68994.js");
|
|
17831
17830
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17832
17831
|
}, canvas: async (u) => {
|
|
17833
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17832
|
+
let { toCanvas: h } = await import("./toCanvas-295e8484.js");
|
|
17834
17833
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17835
17834
|
}, png: async (u) => {
|
|
17836
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17835
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17837
17836
|
return h(i, { ...e, ...u || {}, format: "png", [da]: !0 });
|
|
17838
17837
|
}, jpeg: async (u) => {
|
|
17839
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17838
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17840
17839
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17841
17840
|
}, jpg: async (u) => {
|
|
17842
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17841
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17843
17842
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17844
17843
|
}, webp: async (u) => {
|
|
17845
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17844
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-1ac6547f.js");
|
|
17846
17845
|
return h(i, { ...e, ...u || {}, format: "webp", [da]: !0 });
|
|
17847
17846
|
}, blob: async (u) => {
|
|
17848
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17847
|
+
let { toBlob: h } = await import("./toBlob-b60b55dd.js");
|
|
17849
17848
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17850
17849
|
}, img: async (u) => {
|
|
17851
|
-
let { toImg: h } = await import("./toImg-
|
|
17850
|
+
let { toImg: h } = await import("./toImg-77e68994.js");
|
|
17852
17851
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17853
17852
|
} } }, l = await qf("defineExports", r), s = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), c = { ...o, ...s };
|
|
17854
17853
|
c.jpeg && !c.jpg && (c.jpg = (u, h) => c.jpeg(u, h));
|
|
@@ -39347,7 +39346,7 @@ const M1 = {
|
|
|
39347
39346
|
},
|
|
39348
39347
|
mapFeather: {
|
|
39349
39348
|
handler() {
|
|
39350
|
-
this.platform !== "ops" && (this.mapFeather === "nautical" ? this.vendor = "i4" : this.vendor = ""), this.
|
|
39349
|
+
this.platform !== "ops" && (this.mapFeather === "nautical" ? this.vendor = "i4" : this.vendor = ""), this.map = void 0, this.mapFeather && this.$nextTick(() => {
|
|
39351
39350
|
this.initOnlineMap();
|
|
39352
39351
|
});
|
|
39353
39352
|
},
|
|
@@ -39359,15 +39358,15 @@ const M1 = {
|
|
|
39359
39358
|
},
|
|
39360
39359
|
immediate: !0
|
|
39361
39360
|
},
|
|
39362
|
-
|
|
39363
|
-
handler(t) {
|
|
39364
|
-
this
|
|
39361
|
+
nautical: {
|
|
39362
|
+
handler(t, e) {
|
|
39363
|
+
this.vendor = t;
|
|
39365
39364
|
},
|
|
39366
39365
|
immediate: !0
|
|
39367
39366
|
},
|
|
39368
|
-
|
|
39367
|
+
vendor: {
|
|
39369
39368
|
handler(t, e) {
|
|
39370
|
-
|
|
39369
|
+
this.handleNauticalToggle(t, e), this.$emit("nautical", t);
|
|
39371
39370
|
}
|
|
39372
39371
|
}
|
|
39373
39372
|
},
|
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-1f8cfea5.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|