@idmwx/idmui-gl4 3.8.3 → 3.8.4
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-fa905f95.js} +1 -1
- package/dist/{chunk-ANSXOGKI-72f37f60.js → chunk-ANSXOGKI-b00702e8.js} +1 -1
- package/dist/{chunk-T4JIPPZO-bfa83c91.js → chunk-T4JIPPZO-6e95a046.js} +1 -1
- package/dist/{download-f1f9b65a.js → download-b8de6399.js} +3 -3
- package/dist/{index-0f297b00.js → index-c5a4c55d.js} +25 -27
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/mapbox/src/components/map/index.vue.d.ts +3 -3
- package/dist/mapbox/src/components/other/index.vue.d.ts +1 -1
- package/dist/{rasterize-JS5G2XHH-6f31de44.js → rasterize-JS5G2XHH-a6fae19b.js} +3 -3
- package/dist/{toBlob-fed1c14a.js → toBlob-5b17355f.js} +3 -3
- package/dist/{toCanvas-017719bc.js → toCanvas-2d35d06f.js} +2 -2
- package/dist/{toImg-1ebb6a86.js → toImg-d1960399.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-fa905f95.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-6e95a046.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-fa905f95.js";
|
|
3
|
+
import "./index-c5a4c55d.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -3330,19 +3330,17 @@ 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
|
-
localStorage.setItem(this.cache.mapFeatherKey, this.mapboxFeather), this.$emit("mapFeather", this.mapboxFeather), this.$emit("theme", ["light", "nautical"].includes(this.mapboxFeather) ? "light" : "dark");
|
|
3342
|
+
console.log(33333, this.mapboxFeather), localStorage.setItem(this.cache.mapFeatherKey, this.mapboxFeather), this.$emit("mapFeather", this.mapboxFeather), this.$emit("theme", ["light", "nautical"].includes(this.mapboxFeather) ? "light" : "dark");
|
|
3344
3343
|
}
|
|
3345
|
-
// immediate: true
|
|
3346
3344
|
},
|
|
3347
3345
|
checkList: {
|
|
3348
3346
|
handler(t, e) {
|
|
@@ -17803,52 +17801,52 @@ Te.capture = async (t, e, a) => {
|
|
|
17803
17801
|
if (a !== tl)
|
|
17804
17802
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17805
17803
|
let i = await el(t, e), o = { img: async (u, h) => {
|
|
17806
|
-
let { toImg: y } = await import("./toImg-
|
|
17804
|
+
let { toImg: y } = await import("./toImg-d1960399.js");
|
|
17807
17805
|
return y(i, { ...u, ...h || {} });
|
|
17808
17806
|
}, svg: async (u, h) => {
|
|
17809
|
-
let { toSvg: y } = await import("./toImg-
|
|
17807
|
+
let { toSvg: y } = await import("./toImg-d1960399.js");
|
|
17810
17808
|
return y(i, { ...u, ...h || {} });
|
|
17811
17809
|
}, canvas: async (u, h) => {
|
|
17812
|
-
let { toCanvas: y } = await import("./toCanvas-
|
|
17810
|
+
let { toCanvas: y } = await import("./toCanvas-2d35d06f.js");
|
|
17813
17811
|
return y(i, { ...u, ...h || {} });
|
|
17814
17812
|
}, blob: async (u, h) => {
|
|
17815
|
-
let { toBlob: y } = await import("./toBlob-
|
|
17813
|
+
let { toBlob: y } = await import("./toBlob-5b17355f.js");
|
|
17816
17814
|
return y(i, { ...u, ...h || {} });
|
|
17817
17815
|
}, png: async (u, h) => {
|
|
17818
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17816
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17819
17817
|
return y(i, { ...u, ...h || {}, format: "png" });
|
|
17820
17818
|
}, jpeg: async (u, h) => {
|
|
17821
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17819
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17822
17820
|
return y(i, { ...u, ...h || {}, format: "jpeg" });
|
|
17823
17821
|
}, webp: async (u, h) => {
|
|
17824
|
-
let { rasterize: y } = await import("./rasterize-JS5G2XHH-
|
|
17822
|
+
let { rasterize: y } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17825
17823
|
return y(i, { ...u, ...h || {}, format: "webp" });
|
|
17826
17824
|
}, download: async (u, h) => {
|
|
17827
|
-
let { download: y } = await import("./download-
|
|
17825
|
+
let { download: y } = await import("./download-b8de6399.js");
|
|
17828
17826
|
return y(i, { ...u, ...h || {} });
|
|
17829
17827
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
17830
|
-
let { toSvg: h } = await import("./toImg-
|
|
17828
|
+
let { toSvg: h } = await import("./toImg-d1960399.js");
|
|
17831
17829
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17832
17830
|
}, canvas: async (u) => {
|
|
17833
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17831
|
+
let { toCanvas: h } = await import("./toCanvas-2d35d06f.js");
|
|
17834
17832
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17835
17833
|
}, png: async (u) => {
|
|
17836
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17834
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17837
17835
|
return h(i, { ...e, ...u || {}, format: "png", [da]: !0 });
|
|
17838
17836
|
}, jpeg: async (u) => {
|
|
17839
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17837
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17840
17838
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17841
17839
|
}, jpg: async (u) => {
|
|
17842
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17840
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17843
17841
|
return h(i, { ...e, ...u || {}, format: "jpeg", [da]: !0 });
|
|
17844
17842
|
}, webp: async (u) => {
|
|
17845
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17843
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-a6fae19b.js");
|
|
17846
17844
|
return h(i, { ...e, ...u || {}, format: "webp", [da]: !0 });
|
|
17847
17845
|
}, blob: async (u) => {
|
|
17848
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17846
|
+
let { toBlob: h } = await import("./toBlob-5b17355f.js");
|
|
17849
17847
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17850
17848
|
}, img: async (u) => {
|
|
17851
|
-
let { toImg: h } = await import("./toImg-
|
|
17849
|
+
let { toImg: h } = await import("./toImg-d1960399.js");
|
|
17852
17850
|
return h(i, { ...e, ...u || {}, [da]: !0 });
|
|
17853
17851
|
} } }, l = await qf("defineExports", r), s = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), c = { ...o, ...s };
|
|
17854
17852
|
c.jpeg && !c.jpg && (c.jpg = (u, h) => c.jpeg(u, h));
|
|
@@ -39347,7 +39345,7 @@ const M1 = {
|
|
|
39347
39345
|
},
|
|
39348
39346
|
mapFeather: {
|
|
39349
39347
|
handler() {
|
|
39350
|
-
this.platform !== "ops" && (this.mapFeather === "nautical" ? this.vendor = "i4" : this.vendor = ""), this.
|
|
39348
|
+
this.platform !== "ops" && (this.mapFeather === "nautical" ? this.vendor = "i4" : this.vendor = ""), this.map = void 0, this.mapFeather && this.$nextTick(() => {
|
|
39351
39349
|
this.initOnlineMap();
|
|
39352
39350
|
});
|
|
39353
39351
|
},
|
|
@@ -39359,15 +39357,15 @@ const M1 = {
|
|
|
39359
39357
|
},
|
|
39360
39358
|
immediate: !0
|
|
39361
39359
|
},
|
|
39362
|
-
|
|
39363
|
-
handler(t) {
|
|
39364
|
-
this
|
|
39360
|
+
nautical: {
|
|
39361
|
+
handler(t, e) {
|
|
39362
|
+
this.vendor = t;
|
|
39365
39363
|
},
|
|
39366
39364
|
immediate: !0
|
|
39367
39365
|
},
|
|
39368
|
-
|
|
39366
|
+
vendor: {
|
|
39369
39367
|
handler(t, e) {
|
|
39370
|
-
|
|
39368
|
+
this.handleNauticalToggle(t, e), this.$emit("nautical", t);
|
|
39371
39369
|
}
|
|
39372
39370
|
}
|
|
39373
39371
|
},
|
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-c5a4c55d.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|