@idmwx/idmui-gl4 3.1.4 → 3.1.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-c56c728b.js → chunk-3VYIPD3A-c3f2a279.js} +1 -1
- package/dist/{chunk-ANSXOGKI-0d5ae748.js → chunk-ANSXOGKI-fafedfce.js} +1 -1
- package/dist/{chunk-T4JIPPZO-2f425c37.js → chunk-T4JIPPZO-d3551934.js} +1 -1
- package/dist/{download-ca6a4c50.js → download-d2ace138.js} +3 -3
- package/dist/{index-c5e72586.js → index-24eb91d3.js} +23 -20
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +3 -3
- package/dist/{rasterize-JS5G2XHH-feecccc9.js → rasterize-JS5G2XHH-89cfe273.js} +3 -3
- package/dist/{toBlob-d9c696fc.js → toBlob-0271f0b1.js} +3 -3
- package/dist/{toCanvas-f0a63989.js → toCanvas-32be45c3.js} +2 -2
- package/dist/{toImg-2c966261.js → toImg-f7528e1e.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-c3f2a279.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-d3551934.js";
|
|
2
|
+
import { W as f } from "./chunk-3VYIPD3A-c3f2a279.js";
|
|
3
|
+
import "./index-24eb91d3.js";
|
|
4
4
|
import "axios";
|
|
5
5
|
import "vuetify";
|
|
6
6
|
import "vue";
|
|
@@ -6537,7 +6537,7 @@ const Ec = {
|
|
|
6537
6537
|
},
|
|
6538
6538
|
handleFastWeatherToggle(t) {
|
|
6539
6539
|
let e = [];
|
|
6540
|
-
this.checkList.includes(t) ? e = this.checkList.filter((a) => a !== t) : e = [...this.checkList, t], this.handleCheckListChange(e, this.checkList);
|
|
6540
|
+
this.checkList.includes(t) ? e = this.checkList.filter((a) => a !== t) : (e = [...this.checkList, t], this.checkList = e), this.handleCheckListChange(e, this.checkList);
|
|
6541
6541
|
},
|
|
6542
6542
|
handleCheckListChange(t, e) {
|
|
6543
6543
|
if (this.arraysEqual(t, e))
|
|
@@ -13542,7 +13542,8 @@ const Lu = {
|
|
|
13542
13542
|
this.drawDialog = !1, this.currentLayer = null, this.autoActive && this.handleDrawAllLayers(), this.currentGroup = void 0;
|
|
13543
13543
|
},
|
|
13544
13544
|
handleEditLayer(t, e) {
|
|
13545
|
-
|
|
13545
|
+
var a;
|
|
13546
|
+
this.importDialog = !1, this.drawDialog && ((a = this.currentLayer) != null && a.id) && this.currentLayer.id !== e.id && this.autoActive && this.handleDrawAllLayers(), this.currentGroup = t, this.currentLayer = e, this.drawDialog = !0;
|
|
13546
13547
|
},
|
|
13547
13548
|
async fetchAllLayers() {
|
|
13548
13549
|
this.loading = !0, this.layerGroup = [], await Ie.get(`${this.gateway}/api/arc/lygroups/my`, {
|
|
@@ -17051,52 +17052,52 @@ Se.capture = async (t, e, a) => {
|
|
|
17051
17052
|
if (a !== br)
|
|
17052
17053
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
17053
17054
|
let i = await yr(t, e), o = { img: async (g, h) => {
|
|
17054
|
-
let { toImg: f } = await import("./toImg-
|
|
17055
|
+
let { toImg: f } = await import("./toImg-f7528e1e.js");
|
|
17055
17056
|
return f(i, { ...g, ...h || {} });
|
|
17056
17057
|
}, svg: async (g, h) => {
|
|
17057
|
-
let { toSvg: f } = await import("./toImg-
|
|
17058
|
+
let { toSvg: f } = await import("./toImg-f7528e1e.js");
|
|
17058
17059
|
return f(i, { ...g, ...h || {} });
|
|
17059
17060
|
}, canvas: async (g, h) => {
|
|
17060
|
-
let { toCanvas: f } = await import("./toCanvas-
|
|
17061
|
+
let { toCanvas: f } = await import("./toCanvas-32be45c3.js");
|
|
17061
17062
|
return f(i, { ...g, ...h || {} });
|
|
17062
17063
|
}, blob: async (g, h) => {
|
|
17063
|
-
let { toBlob: f } = await import("./toBlob-
|
|
17064
|
+
let { toBlob: f } = await import("./toBlob-0271f0b1.js");
|
|
17064
17065
|
return f(i, { ...g, ...h || {} });
|
|
17065
17066
|
}, png: async (g, h) => {
|
|
17066
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17067
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17067
17068
|
return f(i, { ...g, ...h || {}, format: "png" });
|
|
17068
17069
|
}, jpeg: async (g, h) => {
|
|
17069
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17070
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17070
17071
|
return f(i, { ...g, ...h || {}, format: "jpeg" });
|
|
17071
17072
|
}, webp: async (g, h) => {
|
|
17072
|
-
let { rasterize: f } = await import("./rasterize-JS5G2XHH-
|
|
17073
|
+
let { rasterize: f } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17073
17074
|
return f(i, { ...g, ...h || {}, format: "webp" });
|
|
17074
17075
|
}, download: async (g, h) => {
|
|
17075
|
-
let { download: f } = await import("./download-
|
|
17076
|
+
let { download: f } = await import("./download-d2ace138.js");
|
|
17076
17077
|
return f(i, { ...g, ...h || {} });
|
|
17077
17078
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (g) => {
|
|
17078
|
-
let { toSvg: h } = await import("./toImg-
|
|
17079
|
+
let { toSvg: h } = await import("./toImg-f7528e1e.js");
|
|
17079
17080
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17080
17081
|
}, canvas: async (g) => {
|
|
17081
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
17082
|
+
let { toCanvas: h } = await import("./toCanvas-32be45c3.js");
|
|
17082
17083
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17083
17084
|
}, png: async (g) => {
|
|
17084
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17085
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17085
17086
|
return h(i, { ...e, ...g || {}, format: "png", [qe]: !0 });
|
|
17086
17087
|
}, jpeg: async (g) => {
|
|
17087
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17088
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17088
17089
|
return h(i, { ...e, ...g || {}, format: "jpeg", [qe]: !0 });
|
|
17089
17090
|
}, jpg: async (g) => {
|
|
17090
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17091
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17091
17092
|
return h(i, { ...e, ...g || {}, format: "jpeg", [qe]: !0 });
|
|
17092
17093
|
}, webp: async (g) => {
|
|
17093
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
17094
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-89cfe273.js");
|
|
17094
17095
|
return h(i, { ...e, ...g || {}, format: "webp", [qe]: !0 });
|
|
17095
17096
|
}, blob: async (g) => {
|
|
17096
|
-
let { toBlob: h } = await import("./toBlob-
|
|
17097
|
+
let { toBlob: h } = await import("./toBlob-0271f0b1.js");
|
|
17097
17098
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17098
17099
|
}, img: async (g) => {
|
|
17099
|
-
let { toImg: h } = await import("./toImg-
|
|
17100
|
+
let { toImg: h } = await import("./toImg-f7528e1e.js");
|
|
17100
17101
|
return h(i, { ...e, ...g || {}, [qe]: !0 });
|
|
17101
17102
|
} } }, l = await Fg("defineExports", r), c = Object.assign({}, ...l.filter((g) => g && typeof g == "object")), s = { ...o, ...c };
|
|
17102
17103
|
s.jpeg && !s.jpg && (s.jpg = (g, h) => s.jpeg(g, h));
|
|
@@ -18394,8 +18395,10 @@ const wr = /* @__PURE__ */ ie(Vf, [["render", Bf]]), Zf = {
|
|
|
18394
18395
|
layerVersion: {
|
|
18395
18396
|
handler() {
|
|
18396
18397
|
if (this.map) {
|
|
18397
|
-
const t = this.autoActive && this.weatherCheckList.some((i) => ["wind-particle", "sig-wave", "swell", "current-particle", "water-temp", "temp"].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;
|
|
18398
|
-
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")
|
|
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 && (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
|
+
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"));
|
|
18399
18402
|
}
|
|
18400
18403
|
},
|
|
18401
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-24eb91d3.js";
|
|
2
2
|
import "axios";
|
|
3
3
|
import "vuetify";
|
|
4
4
|
import "vue";
|