@idmwx/idmui-gl4 3.1.7 → 3.1.9
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-c3f2a279.js → chunk-3VYIPD3A-26e78477.js} +1 -1
- package/dist/{chunk-ANSXOGKI-fafedfce.js → chunk-ANSXOGKI-f9aeae46.js} +1 -1
- package/dist/{chunk-T4JIPPZO-d3551934.js → chunk-T4JIPPZO-d39493e3.js} +1 -1
- package/dist/{download-d2ace138.js → download-762df4b4.js} +3 -3
- package/dist/{index-24eb91d3.js → index-e28e9635.js} +22 -22
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +2 -2
- package/dist/{rasterize-JS5G2XHH-89cfe273.js → rasterize-JS5G2XHH-fa0e728a.js} +3 -3
- package/dist/{toBlob-0271f0b1.js → toBlob-a9177235.js} +3 -3
- package/dist/{toCanvas-32be45c3.js → toCanvas-3a2f6066.js} +2 -2
- package/dist/{toImg-f7528e1e.js → toImg-f1ce59b0.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-26e78477.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-d39493e3.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-26e78477.js";
|
|
3
|
+
import "./index-e28e9635.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -11144,9 +11144,9 @@ const bp = {
|
|
|
11144
11144
|
filter: ["==", "$type", "LineString"],
|
|
11145
11145
|
layout: {
|
|
11146
11146
|
"symbol-placement": "line-center",
|
|
11147
|
-
"text-field": "{dist}
|
|
11147
|
+
"text-field": "{dist}nm / {bearing}°",
|
|
11148
11148
|
"text-rotation-alignment": "map",
|
|
11149
|
-
"text-size":
|
|
11149
|
+
"text-size": 11,
|
|
11150
11150
|
"text-offset": [0, -1]
|
|
11151
11151
|
},
|
|
11152
11152
|
paint: {
|
|
@@ -11214,9 +11214,9 @@ const bp = {
|
|
|
11214
11214
|
filter: ["==", "$type", "LineString"],
|
|
11215
11215
|
layout: {
|
|
11216
11216
|
"symbol-placement": "line-center",
|
|
11217
|
-
"text-field": "{dist}
|
|
11217
|
+
"text-field": "{dist}nm / {bearing}°",
|
|
11218
11218
|
"text-rotation-alignment": "map",
|
|
11219
|
-
"text-size":
|
|
11219
|
+
"text-size": 11,
|
|
11220
11220
|
"text-offset": [0, -1]
|
|
11221
11221
|
},
|
|
11222
11222
|
paint: {
|
|
@@ -17052,52 +17052,52 @@ Se.capture = async (t, e, a) => {
|
|
|
17052
17052
|
if (a !== br)
|
|
17053
17053
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17054
17054
|
let i = await yr(t, e), o = { img: async (g, h) => {
|
|
17055
|
-
let { toImg: f } = await import("./toImg-
|
|
17055
|
+
let { toImg: f } = await import("./toImg-f1ce59b0.js");
|
|
17056
17056
|
return f(i, { ...g, ...h || {} });
|
|
17057
17057
|
}, svg: async (g, h) => {
|
|
17058
|
-
let { toSvg: f } = await import("./toImg-
|
|
17058
|
+
let { toSvg: f } = await import("./toImg-f1ce59b0.js");
|
|
17059
17059
|
return f(i, { ...g, ...h || {} });
|
|
17060
17060
|
}, canvas: async (g, h) => {
|
|
17061
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17061
|
+
let { toCanvas: f } = await import("./toCanvas-3a2f6066.js");
|
|
17062
17062
|
return f(i, { ...g, ...h || {} });
|
|
17063
17063
|
}, blob: async (g, h) => {
|
|
17064
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17064
|
+
let { toBlob: f } = await import("./toBlob-a9177235.js");
|
|
17065
17065
|
return f(i, { ...g, ...h || {} });
|
|
17066
17066
|
}, png: async (g, h) => {
|
|
17067
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17067
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17068
17068
|
return f(i, { ...g, ...h || {}, format: "png" });
|
|
17069
17069
|
}, jpeg: async (g, h) => {
|
|
17070
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17070
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17071
17071
|
return f(i, { ...g, ...h || {}, format: "jpeg" });
|
|
17072
17072
|
}, webp: async (g, h) => {
|
|
17073
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17073
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17074
17074
|
return f(i, { ...g, ...h || {}, format: "webp" });
|
|
17075
17075
|
}, download: async (g, h) => {
|
|
17076
|
-
let { download: f } = await import("./download-
|
|
17076
|
+
let { download: f } = await import("./download-762df4b4.js");
|
|
17077
17077
|
return f(i, { ...g, ...h || {} });
|
|
17078
17078
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (g) => {
|
|
17079
|
-
let { toSvg: h } = await import("./toImg-
|
|
17079
|
+
let { toSvg: h } = await import("./toImg-f1ce59b0.js");
|
|
17080
17080
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17081
17081
|
}, canvas: async (g) => {
|
|
17082
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17082
|
+
let { toCanvas: h } = await import("./toCanvas-3a2f6066.js");
|
|
17083
17083
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17084
17084
|
}, png: async (g) => {
|
|
17085
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17085
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17086
17086
|
return h(i, { ...e, ...g || {}, format: "png", [qe]: !0 });
|
|
17087
17087
|
}, jpeg: async (g) => {
|
|
17088
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17088
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17089
17089
|
return h(i, { ...e, ...g || {}, format: "jpeg", [qe]: !0 });
|
|
17090
17090
|
}, jpg: async (g) => {
|
|
17091
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17091
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17092
17092
|
return h(i, { ...e, ...g || {}, format: "jpeg", [qe]: !0 });
|
|
17093
17093
|
}, webp: async (g) => {
|
|
17094
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17094
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-fa0e728a.js");
|
|
17095
17095
|
return h(i, { ...e, ...g || {}, format: "webp", [qe]: !0 });
|
|
17096
17096
|
}, blob: async (g) => {
|
|
17097
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17097
|
+
let { toBlob: h } = await import("./toBlob-a9177235.js");
|
|
17098
17098
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17099
17099
|
}, img: async (g) => {
|
|
17100
|
-
let { toImg: h } = await import("./toImg-
|
|
17100
|
+
let { toImg: h } = await import("./toImg-f1ce59b0.js");
|
|
17101
17101
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17102
17102
|
} } }, l = await Fg("defineExports", r), c = Object.assign({}, ...l.filter((g) => g && typeof g == "object")), s = { ...o, ...c };
|
|
17103
17103
|
s.jpeg && !s.jpg && (s.jpg = (g, h) => s.jpeg(g, h));
|
|
@@ -18396,9 +18396,9 @@ const wr = /* @__PURE__ */ ie(Vf, [["render", Bf]]), Zf = {
|
|
|
18396
18396
|
handler() {
|
|
18397
18397
|
if (this.map) {
|
|
18398
18398
|
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;
|
|
18399
|
-
this.mapFeather === "nautical" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), 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("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), 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"), t
|
|
18399
|
+
this.mapFeather === "nautical" ? t ? (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "visible"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "none"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "none"), 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("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("i4") && this.map.setLayoutProperty("i4", "visibility", "visible"), this.map.getLayer("hi") && this.map.setLayoutProperty("hi", "visibility", "visible"), 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"), 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(() => {
|
|
18400
18400
|
this.map.getLayer("sig-wave-height-label-layer") && this.map.moveLayer("sig-wave-height-label-layer", "empty-layer-0"), this.map.getLayer("sig-wave-height-layer") && this.map.moveLayer("sig-wave-height-layer", "empty-layer-0");
|
|
18401
|
-
}, 1e3))) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none"));
|
|
18401
|
+
}, 1e3)) : this.map.getLayer("ramp-color-layer") && this.map.moveLayer("ramp-color-layer", "empty-layer-2")) : (this.map.getLayer("country-boundaries") && this.map.setLayoutProperty("country-boundaries", "visibility", "none"), this.map.getLayer("water-outline2") && this.map.setLayoutProperty("water-outline2", "visibility", "none"));
|
|
18402
18402
|
}
|
|
18403
18403
|
},
|
|
18404
18404
|
immediate: !0
|
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-e28e9635.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|