@idmwx/idmui-gl4 3.2.3 → 3.2.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-2d3467e4.js → chunk-3VYIPD3A-2b92b482.js} +1 -1
- package/dist/{chunk-ANSXOGKI-52182d0c.js → chunk-ANSXOGKI-8ebce650.js} +1 -1
- package/dist/{chunk-T4JIPPZO-356da320.js → chunk-T4JIPPZO-c754a9d9.js} +1 -1
- package/dist/{download-05b01c41.js → download-d759d3b0.js} +3 -3
- package/dist/{index-c50b7144.js → index-47f8bc2d.js} +22 -22
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/{rasterize-JS5G2XHH-d84515a5.js → rasterize-JS5G2XHH-6014c47d.js} +3 -3
- package/dist/{toBlob-db1727da.js → toBlob-9a70bea8.js} +3 -3
- package/dist/{toCanvas-a6a63a6c.js → toCanvas-c11aefd9.js} +2 -2
- package/dist/{toImg-26ce65b6.js → toImg-3f2bd80c.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-2b92b482.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-c754a9d9.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-2b92b482.js";
|
|
3
|
+
import "./index-47f8bc2d.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -17058,52 +17058,52 @@ Se.capture = async (t, e, a) => {
|
|
|
17058
17058
|
if (a !== wr)
|
|
17059
17059
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17060
17060
|
let i = await br(t, e), o = { img: async (f, h) => {
|
|
17061
|
-
let { toImg: g } = await import("./toImg-
|
|
17061
|
+
let { toImg: g } = await import("./toImg-3f2bd80c.js");
|
|
17062
17062
|
return g(i, { ...f, ...h || {} });
|
|
17063
17063
|
}, svg: async (f, h) => {
|
|
17064
|
-
let { toSvg: g } = await import("./toImg-
|
|
17064
|
+
let { toSvg: g } = await import("./toImg-3f2bd80c.js");
|
|
17065
17065
|
return g(i, { ...f, ...h || {} });
|
|
17066
17066
|
}, canvas: async (f, h) => {
|
|
17067
|
-
let { toCanvas: g } = await import("./toCanvas-
|
|
17067
|
+
let { toCanvas: g } = await import("./toCanvas-c11aefd9.js");
|
|
17068
17068
|
return g(i, { ...f, ...h || {} });
|
|
17069
17069
|
}, blob: async (f, h) => {
|
|
17070
|
-
let { toBlob: g } = await import("./toBlob-
|
|
17070
|
+
let { toBlob: g } = await import("./toBlob-9a70bea8.js");
|
|
17071
17071
|
return g(i, { ...f, ...h || {} });
|
|
17072
17072
|
}, png: async (f, h) => {
|
|
17073
|
-
let { rasterize: g } = await import("./rasterize-JS5G2XHH-
|
|
17073
|
+
let { rasterize: g } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17074
17074
|
return g(i, { ...f, ...h || {}, format: "png" });
|
|
17075
17075
|
}, jpeg: async (f, h) => {
|
|
17076
|
-
let { rasterize: g } = await import("./rasterize-JS5G2XHH-
|
|
17076
|
+
let { rasterize: g } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17077
17077
|
return g(i, { ...f, ...h || {}, format: "jpeg" });
|
|
17078
17078
|
}, webp: async (f, h) => {
|
|
17079
|
-
let { rasterize: g } = await import("./rasterize-JS5G2XHH-
|
|
17079
|
+
let { rasterize: g } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17080
17080
|
return g(i, { ...f, ...h || {}, format: "webp" });
|
|
17081
17081
|
}, download: async (f, h) => {
|
|
17082
|
-
let { download: g } = await import("./download-
|
|
17082
|
+
let { download: g } = await import("./download-d759d3b0.js");
|
|
17083
17083
|
return g(i, { ...f, ...h || {} });
|
|
17084
17084
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (f) => {
|
|
17085
|
-
let { toSvg: h } = await import("./toImg-
|
|
17085
|
+
let { toSvg: h } = await import("./toImg-3f2bd80c.js");
|
|
17086
17086
|
return h(i, { ...e, ...f || {}, [qe]: !0 });
|
|
17087
17087
|
}, canvas: async (f) => {
|
|
17088
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17088
|
+
let { toCanvas: h } = await import("./toCanvas-c11aefd9.js");
|
|
17089
17089
|
return h(i, { ...e, ...f || {}, [qe]: !0 });
|
|
17090
17090
|
}, png: async (f) => {
|
|
17091
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17091
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17092
17092
|
return h(i, { ...e, ...f || {}, format: "png", [qe]: !0 });
|
|
17093
17093
|
}, jpeg: async (f) => {
|
|
17094
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17094
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17095
17095
|
return h(i, { ...e, ...f || {}, format: "jpeg", [qe]: !0 });
|
|
17096
17096
|
}, jpg: async (f) => {
|
|
17097
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17097
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17098
17098
|
return h(i, { ...e, ...f || {}, format: "jpeg", [qe]: !0 });
|
|
17099
17099
|
}, webp: async (f) => {
|
|
17100
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17100
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-6014c47d.js");
|
|
17101
17101
|
return h(i, { ...e, ...f || {}, format: "webp", [qe]: !0 });
|
|
17102
17102
|
}, blob: async (f) => {
|
|
17103
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17103
|
+
let { toBlob: h } = await import("./toBlob-9a70bea8.js");
|
|
17104
17104
|
return h(i, { ...e, ...f || {}, [qe]: !0 });
|
|
17105
17105
|
}, img: async (f) => {
|
|
17106
|
-
let { toImg: h } = await import("./toImg-
|
|
17106
|
+
let { toImg: h } = await import("./toImg-3f2bd80c.js");
|
|
17107
17107
|
return h(i, { ...e, ...f || {}, [qe]: !0 });
|
|
17108
17108
|
} } }, l = await Wg("defineExports", r), c = Object.assign({}, ...l.filter((f) => f && typeof f == "object")), s = { ...o, ...c };
|
|
17109
17109
|
s.jpeg && !s.jpg && (s.jpg = (f, h) => s.jpeg(f, h));
|
|
@@ -18402,9 +18402,9 @@ const xr = /* @__PURE__ */ ie(Ef, [["render", Zf]]), Of = {
|
|
|
18402
18402
|
handler() {
|
|
18403
18403
|
if (this.map) {
|
|
18404
18404
|
const t = this.autoActive && this.weatherCheckList.some((i) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp", "sig-wave-height"].some((o) => o === i)), e = this.otherCheckList.some((i) => ["navareas", "eca-zones", "load-lines", "voluntary-reporting-area", "war-zones", "special-area", "ice-areas"].some((o) => o === i)), a = t || e;
|
|
18405
|
-
this.mapFeather === "nautical" ? t ? (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible")) : (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none")) : this.mapFeather === "satellite"
|
|
18405
|
+
this.mapFeather === "nautical" ? t ? (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "visible"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "visible"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "visible"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "visible"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "visible")) : (this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("admin-0-boundary-bg") && this.map.setLayoutProperty("admin-0-boundary-bg", "visibility", "none"), this.map.getLayer("admin-0-boundary") && this.map.setLayoutProperty("admin-0-boundary", "visibility", "none"), this.map.getLayer("admin-0-boundary-disputed") && this.map.setLayoutProperty("admin-0-boundary-disputed", "visibility", "none"), this.map.getLayer("country-label") && this.map.setLayoutProperty("country-label", "visibility", "none"), this.map.getLayer("continent-label") && this.map.setLayoutProperty("continent-label", "visibility", "none")) : this.mapFeather === "satellite" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "visible"), this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "country-boundaries"), this.map.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "country-boundaries")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline") && this.map.setLayoutProperty("water-outline", "visibility", "none")) : a ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "visible")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none")), t ? (this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-0"), this.map.getLayer("particle-layer") && this.map.moveLayer("particle-layer", "empty-layer-0"), setTimeout(() => {
|
|
18406
18406
|
this.map.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0"), this.map.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0");
|
|
18407
|
-
}, 1e3)) : this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2")
|
|
18407
|
+
}, 1e3)) : this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2");
|
|
18408
18408
|
}
|
|
18409
18409
|
},
|
|
18410
18410
|
immediate: !0
|
|
@@ -37238,10 +37238,10 @@ class Yf {
|
|
|
37238
37238
|
(Bo = (Eo = this.originStyle) == null ? void 0 : Eo.light.layers) == null ? void 0 : Bo.find((z) => z.id === "ice-area-line"),
|
|
37239
37239
|
(Oo = (Zo = this.originStyle) == null ? void 0 : Zo.light.layers) == null ? void 0 : Oo.find((z) => z.id === "empty-layer-0"),
|
|
37240
37240
|
(Xo = (jo = this.originStyle) == null ? void 0 : jo.light.layers) == null ? void 0 : Xo.find((z) => z.id === "empty-layer-1"),
|
|
37241
|
-
(Yo = (Ho = this.originStyle) == null ? void 0 : Ho.light.layers) == null ? void 0 : Yo.find((z) => z.id === "
|
|
37242
|
-
($o = (Uo = this.originStyle) == null ? void 0 : Uo.light.layers) == null ? void 0 : $o.find((z) => z.id === "
|
|
37243
|
-
(Ko = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : Ko.find((z) => z.id === "water-
|
|
37244
|
-
(Qo = (qo = this.originStyle) == null ? void 0 : qo.light.layers) == null ? void 0 : Qo.find((z) => z.id === "
|
|
37241
|
+
(Yo = (Ho = this.originStyle) == null ? void 0 : Ho.light.layers) == null ? void 0 : Yo.find((z) => z.id === "empty-layer-2"),
|
|
37242
|
+
($o = (Uo = this.originStyle) == null ? void 0 : Uo.light.layers) == null ? void 0 : $o.find((z) => z.id === "country-boundaries"),
|
|
37243
|
+
(Ko = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : Ko.find((z) => z.id === "water-outline"),
|
|
37244
|
+
(Qo = (qo = this.originStyle) == null ? void 0 : qo.light.layers) == null ? void 0 : Qo.find((z) => z.id === "water-outline2"),
|
|
37245
37245
|
(ti = (ei = this.originStyle) == null ? void 0 : ei.light.layers) == null ? void 0 : ti.find((z) => z.id === "loadlines-label"),
|
|
37246
37246
|
(oi = (ai = this.originStyle) == null ? void 0 : ai.light.layers) == null ? void 0 : oi.find((z) => z.id === "loadlines-fill"),
|
|
37247
37247
|
(ri = (ii = this.originStyle) == null ? void 0 : ii.light.layers) == null ? void 0 : ri.find((z) => z.id === "world-12nm-v4-20231025"),
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as n, D as x, L as D, a as T, b as S, M as W, g as f, f as h, P as k, d as y, T as V, V as d, W as u, e as w } from "./index-
|
|
1
|
+
import { c as n, D as x, L as D, a as T, b as S, M as W, g as f, f as h, P as k, d as y, T as V, V as d, W as u, e as w } from "./index-47f8bc2d.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|