@idmwx/idmui-gl3 4.4.5 → 4.4.7
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/index.js +82 -78
- package/dist/index.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var at = Object.defineProperty;
|
|
2
2
|
var it = (a, e, t) => e in a ? at(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
3
|
var R = (a, e, t) => (it(a, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { resolveComponent as z, openBlock as x, createElementBlock as C, createElementVNode as l, normalizeStyle as U, createVNode as k, withCtx as Y, normalizeClass as
|
|
4
|
+
import { resolveComponent as z, openBlock as x, createElementBlock as C, createElementVNode as l, normalizeStyle as U, createVNode as k, withCtx as Y, normalizeClass as W, Fragment as Ae, renderList as $e, toDisplayString as S, createCommentVNode as j, createTextVNode as Fe, pushScopeId as H, popScopeId as G, withDirectives as je, vShow as We, createStaticVNode as rt, mergeProps as E } from "vue";
|
|
5
5
|
import * as L from "@turf/turf";
|
|
6
6
|
import ot from "@mapbox/sphericalmercator";
|
|
7
7
|
import Z from "moment";
|
|
@@ -641,7 +641,7 @@ const T = (a, e) => {
|
|
|
641
641
|
style: { "align-self": "flex-start", padding: "5px 5px 0 0" }
|
|
642
642
|
}, ""),
|
|
643
643
|
/* @__PURE__ */ l("div", null, "Bookmark your favorite layer to homepage(Max 6)")
|
|
644
|
-
], -1), Mt = { class: "other-layers card-bg" }, $t = /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1), jt = { class: "layers-body" },
|
|
644
|
+
], -1), Mt = { class: "other-layers card-bg" }, $t = /* @__PURE__ */ l("div", { class: "layers-title" }, "Other Layers", -1), jt = { class: "layers-body" }, Wt = ["onClick"], Nt = { class: "flex-start" }, Bt = /* @__PURE__ */ l("div", { class: "switch flex-center" }, [
|
|
645
645
|
/* @__PURE__ */ l("i", { class: "iconfont open" }, ""),
|
|
646
646
|
/* @__PURE__ */ l("i", { class: "iconfont close" }, "")
|
|
647
647
|
], -1), Ot = { class: "source-layers card-bg" }, Ft = /* @__PURE__ */ l("span", { class: "layers-title" }, "Forecast Model", -1), Vt = { class: "layers-body" };
|
|
@@ -662,7 +662,7 @@ function Ut(a, e, t, r, i, o) {
|
|
|
662
662
|
}, {
|
|
663
663
|
default: Y(() => [
|
|
664
664
|
l("div", {
|
|
665
|
-
class:
|
|
665
|
+
class: W(t.layerToggle ? "menu-icon active" : "menu-icon"),
|
|
666
666
|
onClick: e[0] || (e[0] = (...h) => o.handleMenuToggle && o.handleMenuToggle(...h))
|
|
667
667
|
}, pt, 2)
|
|
668
668
|
]),
|
|
@@ -678,11 +678,12 @@ function Ut(a, e, t, r, i, o) {
|
|
|
678
678
|
k(s, {
|
|
679
679
|
placement: "left",
|
|
680
680
|
effect: "light",
|
|
681
|
-
content: "Measure"
|
|
681
|
+
content: "Measure",
|
|
682
|
+
"show-after": 2e3
|
|
682
683
|
}, {
|
|
683
684
|
default: Y(() => [
|
|
684
685
|
l("div", {
|
|
685
|
-
class:
|
|
686
|
+
class: W(i.showMeasure ? "menu-icon active" : "menu-icon"),
|
|
686
687
|
onClick: e[1] || (e[1] = (...h) => o.handleMeasureToggle && o.handleMeasureToggle(...h))
|
|
687
688
|
}, yt, 2)
|
|
688
689
|
]),
|
|
@@ -691,11 +692,12 @@ function Ut(a, e, t, r, i, o) {
|
|
|
691
692
|
k(s, {
|
|
692
693
|
placement: "left",
|
|
693
694
|
effect: "light",
|
|
694
|
-
content: "Point Meteo"
|
|
695
|
+
content: "Point Meteo",
|
|
696
|
+
"show-after": 2e3
|
|
695
697
|
}, {
|
|
696
698
|
default: Y(() => [
|
|
697
699
|
l("div", {
|
|
698
|
-
class:
|
|
700
|
+
class: W(i.showPoint ? "menu-icon active" : "menu-icon"),
|
|
699
701
|
onClick: e[2] || (e[2] = (...h) => o.handlePointToggle && o.handlePointToggle(...h))
|
|
700
702
|
}, gt, 2)
|
|
701
703
|
]),
|
|
@@ -704,11 +706,12 @@ function Ut(a, e, t, r, i, o) {
|
|
|
704
706
|
k(s, {
|
|
705
707
|
placement: "left",
|
|
706
708
|
effect: "light",
|
|
707
|
-
content: "Grid"
|
|
709
|
+
content: "Grid",
|
|
710
|
+
"show-after": 2e3
|
|
708
711
|
}, {
|
|
709
712
|
default: Y(() => [
|
|
710
713
|
l("div", {
|
|
711
|
-
class:
|
|
714
|
+
class: W(i.showCoord ? "menu-icon active" : "menu-icon"),
|
|
712
715
|
onClick: e[3] || (e[3] = (...h) => o.handleCoordToggle && o.handleCoordToggle(...h))
|
|
713
716
|
}, vt, 2)
|
|
714
717
|
]),
|
|
@@ -717,11 +720,12 @@ function Ut(a, e, t, r, i, o) {
|
|
|
717
720
|
k(s, {
|
|
718
721
|
placement: "left",
|
|
719
722
|
effect: "light",
|
|
720
|
-
content: "3D"
|
|
723
|
+
content: "3D",
|
|
724
|
+
"show-after": 2e3
|
|
721
725
|
}, {
|
|
722
726
|
default: Y(() => [
|
|
723
727
|
l("div", {
|
|
724
|
-
class:
|
|
728
|
+
class: W(i.show3d ? "menu-icon active" : "menu-icon"),
|
|
725
729
|
onClick: e[4] || (e[4] = (...h) => o.handle3DToggle && o.handle3DToggle(...h))
|
|
726
730
|
}, _t, 2)
|
|
727
731
|
]),
|
|
@@ -736,7 +740,7 @@ function Ut(a, e, t, r, i, o) {
|
|
|
736
740
|
}, [
|
|
737
741
|
(x(!0), C(Ae, null, $e(i.layers.weather.filter((h) => h.collected), (h) => (x(), C("div", {
|
|
738
742
|
key: h.key,
|
|
739
|
-
class:
|
|
743
|
+
class: W(o.computeLayerClass(h, i.activeWeatherLayers)),
|
|
740
744
|
onClick: (g) => o.handleActiveWeatherLayerPick(h)
|
|
741
745
|
}, [
|
|
742
746
|
xt,
|
|
@@ -748,7 +752,7 @@ function Ut(a, e, t, r, i, o) {
|
|
|
748
752
|
style: U({ top: t.top + "px", right: t.layerToggle ? "0px" : "-240px" })
|
|
749
753
|
}, [
|
|
750
754
|
l("div", {
|
|
751
|
-
class:
|
|
755
|
+
class: W(["list-box", t.layerToggle ? "right-bar" : ""])
|
|
752
756
|
}, [
|
|
753
757
|
l("div", Ct, [
|
|
754
758
|
kt,
|
|
@@ -767,7 +771,7 @@ function Ut(a, e, t, r, i, o) {
|
|
|
767
771
|
}, [
|
|
768
772
|
h.hide ? j("", !0) : (x(), C("div", {
|
|
769
773
|
key: 0,
|
|
770
|
-
class:
|
|
774
|
+
class: W(o.computeLayerClass(h, i.weatherLayers))
|
|
771
775
|
}, [
|
|
772
776
|
l("div", {
|
|
773
777
|
class: "flex-start",
|
|
@@ -791,14 +795,14 @@ function Ut(a, e, t, r, i, o) {
|
|
|
791
795
|
l("div", jt, [
|
|
792
796
|
(x(!0), C(Ae, null, $e(i.layers.other, (h) => (x(), C("div", {
|
|
793
797
|
key: h.key,
|
|
794
|
-
class:
|
|
798
|
+
class: W(o.computeLayerClass(h, i.otherLayers)),
|
|
795
799
|
onClick: (g) => o.handleOtherLayerPick(h)
|
|
796
800
|
}, [
|
|
797
|
-
l("div",
|
|
798
|
-
|
|
801
|
+
l("div", Nt, [
|
|
802
|
+
Bt,
|
|
799
803
|
l("span", null, S(h.name), 1)
|
|
800
804
|
])
|
|
801
|
-
], 10,
|
|
805
|
+
], 10, Wt))), 128))
|
|
802
806
|
])
|
|
803
807
|
]),
|
|
804
808
|
l("div", Ot, [
|
|
@@ -993,11 +997,11 @@ function ea(a, e, t, r, i, o) {
|
|
|
993
997
|
}, [
|
|
994
998
|
t.mapProjection === "mercator" ? (x(), C("div", {
|
|
995
999
|
key: 0,
|
|
996
|
-
class:
|
|
1000
|
+
class: W(["item-bar flex-start", t.showParticle ? "active" : "inactive"]),
|
|
997
1001
|
onClick: e[0] || (e[0] = (...n) => o.handleParticle && o.handleParticle(...n))
|
|
998
1002
|
}, Yt, 2)) : j("", !0),
|
|
999
1003
|
l("div", {
|
|
1000
|
-
class:
|
|
1004
|
+
class: W(["item-bar flex-start", i.showFeather ? "active" : "inactive"]),
|
|
1001
1005
|
onClick: e[1] || (e[1] = (n) => i.showFeather = !i.showFeather)
|
|
1002
1006
|
}, Kt, 2)
|
|
1003
1007
|
], 4)
|
|
@@ -1277,10 +1281,10 @@ class Le {
|
|
|
1277
1281
|
});
|
|
1278
1282
|
}
|
|
1279
1283
|
}
|
|
1280
|
-
class
|
|
1284
|
+
class N {
|
|
1281
1285
|
}
|
|
1282
1286
|
// 顶点渲染
|
|
1283
|
-
R(
|
|
1287
|
+
R(N, "vertexSchema", `
|
|
1284
1288
|
//canvas 坐标系上的坐标 (x, y)
|
|
1285
1289
|
attribute vec2 a_position; //像素坐标
|
|
1286
1290
|
attribute vec2 a_texCoord; //纹理坐标
|
|
@@ -1295,7 +1299,7 @@ R(B, "vertexSchema", `
|
|
|
1295
1299
|
gl_Position = vec4(position * vec2(1, -1), 0.0, 1.0);
|
|
1296
1300
|
v_texCoord = a_texCoord;
|
|
1297
1301
|
}`), // 类如风、流等u v双变量片元渲染
|
|
1298
|
-
R(
|
|
1302
|
+
R(N, "uvFragmentSchema", `
|
|
1299
1303
|
precision mediump float;
|
|
1300
1304
|
uniform sampler2D u_image;
|
|
1301
1305
|
uniform vec2 u_range_u_v;
|
|
@@ -1314,7 +1318,7 @@ R(B, "uvFragmentSchema", `
|
|
|
1314
1318
|
|
|
1315
1319
|
gl_FragColor = color;
|
|
1316
1320
|
}`), // 类如浪、气压等单变量片元渲染
|
|
1317
|
-
R(
|
|
1321
|
+
R(N, "fragmentSchema", `
|
|
1318
1322
|
precision mediump float;
|
|
1319
1323
|
uniform sampler2D u_image; // 灰度
|
|
1320
1324
|
uniform sampler2D u_color; // 色值映射
|
|
@@ -3192,7 +3196,7 @@ const ia = {
|
|
|
3192
3196
|
[1, "rgb(91, 136, 161)"]
|
|
3193
3197
|
];
|
|
3194
3198
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
3195
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
3199
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.uvFragmentSchema);
|
|
3196
3200
|
this.program = e, this.aPositionBuffer = t;
|
|
3197
3201
|
}
|
|
3198
3202
|
this.handleParticleSetup();
|
|
@@ -3426,11 +3430,11 @@ function Ca(a, e, t, r, i, o) {
|
|
|
3426
3430
|
}, [
|
|
3427
3431
|
t.mapProjection === "mercator" ? (x(), C("div", {
|
|
3428
3432
|
key: 0,
|
|
3429
|
-
class:
|
|
3433
|
+
class: W(["flex-start item-bar", t.showParticle ? "active" : "inactive"]),
|
|
3430
3434
|
onClick: e[0] || (e[0] = (n) => o.handleParticle(!t.showParticle))
|
|
3431
3435
|
}, wa, 2)) : j("", !0),
|
|
3432
3436
|
l("div", {
|
|
3433
|
-
class:
|
|
3437
|
+
class: W(["flex-start item-bar", i.showJson ? "active" : "inactive"]),
|
|
3434
3438
|
onClick: e[1] || (e[1] = (n) => i.showJson = !i.showJson)
|
|
3435
3439
|
}, xa, 2)
|
|
3436
3440
|
], 4)
|
|
@@ -3542,7 +3546,7 @@ const Sa = {
|
|
|
3542
3546
|
[1, "rgb(195,194,194)"]
|
|
3543
3547
|
];
|
|
3544
3548
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
3545
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
3549
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.uvFragmentSchema);
|
|
3546
3550
|
this.program = e, this.aPositionBuffer = t;
|
|
3547
3551
|
}
|
|
3548
3552
|
this.handleParticleSetup();
|
|
@@ -3612,7 +3616,7 @@ function $a(a, e, t, r, i, o) {
|
|
|
3612
3616
|
}, Ma, 4)
|
|
3613
3617
|
])) : j("", !0);
|
|
3614
3618
|
}
|
|
3615
|
-
const ja = /* @__PURE__ */ T(Sa, [["render", $a], ["__scopeId", "data-v-6d4fd206"]]),
|
|
3619
|
+
const ja = /* @__PURE__ */ T(Sa, [["render", $a], ["__scopeId", "data-v-6d4fd206"]]), Wa = {
|
|
3616
3620
|
name: "IdmSigWave",
|
|
3617
3621
|
props: {
|
|
3618
3622
|
map: {
|
|
@@ -3723,10 +3727,10 @@ const ja = /* @__PURE__ */ T(Sa, [["render", $a], ["__scopeId", "data-v-6d4fd206
|
|
|
3723
3727
|
}
|
|
3724
3728
|
}
|
|
3725
3729
|
};
|
|
3726
|
-
function
|
|
3730
|
+
function Na(a, e, t, r, i, o) {
|
|
3727
3731
|
return x(), C("div");
|
|
3728
3732
|
}
|
|
3729
|
-
const
|
|
3733
|
+
const Ba = /* @__PURE__ */ T(Wa, [["render", Na]]), Oa = {
|
|
3730
3734
|
name: "IdmSwell",
|
|
3731
3735
|
props: {
|
|
3732
3736
|
map: {
|
|
@@ -4437,7 +4441,7 @@ const Ya = {
|
|
|
4437
4441
|
this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (a = this.interpolateMarkers) == null || a.forEach((e) => e == null ? void 0 : e.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource), this.map.getLayer(this.circleLayer) && this.map.removeLayer(this.circleLayer), this.map.getSource(this.circleSource) && this.map.removeSource(this.circleSource));
|
|
4438
4442
|
},
|
|
4439
4443
|
handleDateChange() {
|
|
4440
|
-
var a, e, t, r, i, o, s, n, c, d, p, h, g, u, y, f, m, v, b, _, P, w, A, M, $,
|
|
4444
|
+
var a, e, t, r, i, o, s, n, c, d, p, h, g, u, y, f, m, v, b, _, P, w, A, M, $, B, O, J, de, pe, me, ue, ye, fe, ge, ie;
|
|
4441
4445
|
if ((a = this.interpolateMarkers) == null || a.forEach((X) => X == null ? void 0 : X.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
4442
4446
|
const X = Z(this.date).utc().set({ minute: 0, second: 0, millisecond: 0 }), q = this.interpolateData.filter((I) => I.properties.date === X.format() && !I.properties.disabled), be = this.handleComputePolygons(q), Q = L.featureCollection([...q]);
|
|
4443
4447
|
be.forEach((I) => {
|
|
@@ -4459,7 +4463,7 @@ const Ya = {
|
|
|
4459
4463
|
for (const I of q)
|
|
4460
4464
|
if (!I.properties.disabled) {
|
|
4461
4465
|
let F = "#f44336";
|
|
4462
|
-
((n = (s = I.properties) == null ? void 0 : s.wind) == null ? void 0 : n.spd) < 17.2 || !((d = (c = I.properties) == null ? void 0 : c.wind) != null && d.spd) ? F = "#03f869" : ((h = (p = I.properties) == null ? void 0 : p.wind) == null ? void 0 : h.spd) >= 17.2 && ((u = (g = I.properties) == null ? void 0 : g.wind) == null ? void 0 : u.spd) < 24.5 ? F = "#f2f202" : ((f = (y = I.properties) == null ? void 0 : y.wind) == null ? void 0 : f.spd) >= 24.5 && ((v = (m = I.properties) == null ? void 0 : m.wind) == null ? void 0 : v.spd) < 32.7 ? F = "#ff9100" : ((_ = (b = I.properties) == null ? void 0 : b.wind) == null ? void 0 : _.spd) >= 32.7 && ((w = (P = I.properties) == null ? void 0 : P.wind) == null ? void 0 : w.spd) < 41.5 ? F = "#f44336" : ((M = (A = I.properties) == null ? void 0 : A.wind) == null ? void 0 : M.spd) >= 41.5 && ((
|
|
4466
|
+
((n = (s = I.properties) == null ? void 0 : s.wind) == null ? void 0 : n.spd) < 17.2 || !((d = (c = I.properties) == null ? void 0 : c.wind) != null && d.spd) ? F = "#03f869" : ((h = (p = I.properties) == null ? void 0 : p.wind) == null ? void 0 : h.spd) >= 17.2 && ((u = (g = I.properties) == null ? void 0 : g.wind) == null ? void 0 : u.spd) < 24.5 ? F = "#f2f202" : ((f = (y = I.properties) == null ? void 0 : y.wind) == null ? void 0 : f.spd) >= 24.5 && ((v = (m = I.properties) == null ? void 0 : m.wind) == null ? void 0 : v.spd) < 32.7 ? F = "#ff9100" : ((_ = (b = I.properties) == null ? void 0 : b.wind) == null ? void 0 : _.spd) >= 32.7 && ((w = (P = I.properties) == null ? void 0 : P.wind) == null ? void 0 : w.spd) < 41.5 ? F = "#f44336" : ((M = (A = I.properties) == null ? void 0 : A.wind) == null ? void 0 : M.spd) >= 41.5 && ((B = ($ = I.properties) == null ? void 0 : $.wind) == null ? void 0 : B.spd) < 51 ? F = "#f903d0" : ((J = (O = I.properties) == null ? void 0 : O.wind) == null ? void 0 : J.spd) >= 51 ? F = "#8702f9" : F = "#f44336";
|
|
4463
4467
|
const ve = `<svg t="1719918955501"
|
|
4464
4468
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
4465
4469
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -4649,18 +4653,18 @@ function fi(a, e, t, r, i, o) {
|
|
|
4649
4653
|
di,
|
|
4650
4654
|
l("div", pi, [
|
|
4651
4655
|
(x(!0), C(Ae, null, $e((P = i.activeTropicals) == null ? void 0 : P.forecasts, (w, A) => {
|
|
4652
|
-
var M, $,
|
|
4656
|
+
var M, $, B, O;
|
|
4653
4657
|
return x(), C("div", {
|
|
4654
4658
|
key: A,
|
|
4655
|
-
class:
|
|
4659
|
+
class: W([
|
|
4656
4660
|
"model",
|
|
4657
4661
|
w.disabled ? "" : "active",
|
|
4658
|
-
A > 0 && A < (($ = (M = i.activeTropicals) == null ? void 0 : M.forecasts) == null ? void 0 : $.length) - 1 && ((O = (
|
|
4662
|
+
A > 0 && A < (($ = (M = i.activeTropicals) == null ? void 0 : M.forecasts) == null ? void 0 : $.length) - 1 && ((O = (B = i.activeTropicals) == null ? void 0 : B.forecasts) == null ? void 0 : O.length) > 2 ? "center-child" : ""
|
|
4659
4663
|
]),
|
|
4660
4664
|
onClick: (J) => o.handleForecastToggle(w)
|
|
4661
4665
|
}, [
|
|
4662
4666
|
l("span", {
|
|
4663
|
-
class:
|
|
4667
|
+
class: W(w.model)
|
|
4664
4668
|
}, S(w.model), 3)
|
|
4665
4669
|
], 10, mi);
|
|
4666
4670
|
}), 128))
|
|
@@ -4677,7 +4681,7 @@ function fi(a, e, t, r, i, o) {
|
|
|
4677
4681
|
])
|
|
4678
4682
|
])
|
|
4679
4683
|
], 512)), [
|
|
4680
|
-
[
|
|
4684
|
+
[We, i.showTropicals && !a.$attrs.hideTropicalsLegend]
|
|
4681
4685
|
]);
|
|
4682
4686
|
}
|
|
4683
4687
|
const Ke = /* @__PURE__ */ T(Ya, [["render", fi], ["__scopeId", "data-v-f0e05b29"]]);
|
|
@@ -4769,7 +4773,7 @@ const gi = {
|
|
|
4769
4773
|
[1, "rgba(197,5,58,0.8)"]
|
|
4770
4774
|
];
|
|
4771
4775
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
4772
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
4776
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.fragmentSchema);
|
|
4773
4777
|
this.program = e, this.aPositionBuffer = t;
|
|
4774
4778
|
}
|
|
4775
4779
|
},
|
|
@@ -4883,7 +4887,7 @@ const Ii = {
|
|
|
4883
4887
|
[1, "rgba(144,144,144,0)"]
|
|
4884
4888
|
];
|
|
4885
4889
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
4886
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
4890
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.fragmentSchema);
|
|
4887
4891
|
this.program = e, this.aPositionBuffer = t;
|
|
4888
4892
|
}
|
|
4889
4893
|
},
|
|
@@ -4896,7 +4900,7 @@ const Ii = {
|
|
|
4896
4900
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4897
4901
|
}
|
|
4898
4902
|
}
|
|
4899
|
-
}, ke = (a) => (H("data-v-f7b2fb08"), a = a(), G(), a), Ei = { key: 0 }, Ri = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "nm", -1)), Ai = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0", -1)), Di = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Mi = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "1.5", -1)), $i = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "3", -1)), ji = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "9", -1)),
|
|
4903
|
+
}, ke = (a) => (H("data-v-f7b2fb08"), a = a(), G(), a), Ei = { key: 0 }, Ri = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "nm", -1)), Ai = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0", -1)), Di = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "0.5", -1)), Mi = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "1.5", -1)), $i = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "3", -1)), ji = /* @__PURE__ */ ke(() => /* @__PURE__ */ l("span", null, "9", -1)), Wi = [
|
|
4900
4904
|
Ri,
|
|
4901
4905
|
Ai,
|
|
4902
4906
|
Di,
|
|
@@ -4904,16 +4908,16 @@ const Ii = {
|
|
|
4904
4908
|
$i,
|
|
4905
4909
|
ji
|
|
4906
4910
|
];
|
|
4907
|
-
function
|
|
4911
|
+
function Ni(a, e, t, r, i, o) {
|
|
4908
4912
|
var s;
|
|
4909
4913
|
return (s = t.factor) != null && s.active ? (x(), C("div", Ei, [
|
|
4910
4914
|
l("div", {
|
|
4911
4915
|
class: "legend-bars flex-center",
|
|
4912
4916
|
style: U([{ position: "absolute" }, { right: a.right + "px", bottom: t.bottom }])
|
|
4913
|
-
},
|
|
4917
|
+
}, Wi, 4)
|
|
4914
4918
|
])) : j("", !0);
|
|
4915
4919
|
}
|
|
4916
|
-
const
|
|
4920
|
+
const Bi = /* @__PURE__ */ T(Ii, [["render", Ni], ["__scopeId", "data-v-f7b2fb08"]]);
|
|
4917
4921
|
const Oi = {
|
|
4918
4922
|
name: "IdmWaterTemp",
|
|
4919
4923
|
props: {
|
|
@@ -5003,7 +5007,7 @@ const Oi = {
|
|
|
5003
5007
|
//
|
|
5004
5008
|
];
|
|
5005
5009
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
5006
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
5010
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.fragmentSchema);
|
|
5007
5011
|
this.program = e, this.aPositionBuffer = t;
|
|
5008
5012
|
}
|
|
5009
5013
|
},
|
|
@@ -5126,7 +5130,7 @@ const Qi = {
|
|
|
5126
5130
|
[1, "rgb(138, 43, 10)"]
|
|
5127
5131
|
];
|
|
5128
5132
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
5129
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
5133
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.fragmentSchema);
|
|
5130
5134
|
this.program = e, this.aPositionBuffer = t;
|
|
5131
5135
|
}
|
|
5132
5136
|
},
|
|
@@ -5242,7 +5246,7 @@ const dr = {
|
|
|
5242
5246
|
// 2m
|
|
5243
5247
|
];
|
|
5244
5248
|
this.rampColor = this.webgl.setup(this.context, a);
|
|
5245
|
-
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context,
|
|
5249
|
+
const { program: e, aPositionBuffer: t } = this.webgl.bind(this.context, N.vertexSchema, N.fragmentSchema);
|
|
5246
5250
|
this.program = e, this.aPositionBuffer = t;
|
|
5247
5251
|
}
|
|
5248
5252
|
},
|
|
@@ -5363,15 +5367,15 @@ const Lr = {
|
|
|
5363
5367
|
}, ae = (a) => (H("data-v-efcf572f"), a = a(), G(), a), xr = {
|
|
5364
5368
|
id: "point-meteo",
|
|
5365
5369
|
class: "point-meteo"
|
|
5366
|
-
}, Cr = { class: "meteo-box" }, kr = { class: "header-box" }, Sr = { class: "main" }, zr = { class: "sub" }, Pr = { class: "main-box" }, Tr = { class: "flex-space" }, Ir = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Er = { class: "flex-space" }, Rr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), Ar = { class: "flex-space" }, Dr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Mr = { class: "flex-space" }, $r = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), jr = { class: "flex-space" },
|
|
5370
|
+
}, Cr = { class: "meteo-box" }, kr = { class: "header-box" }, Sr = { class: "main" }, zr = { class: "sub" }, Pr = { class: "main-box" }, Tr = { class: "flex-space" }, Ir = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Wind", -1)), Er = { class: "flex-space" }, Rr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Wind.Wave", -1)), Ar = { class: "flex-space" }, Dr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Swell", -1)), Mr = { class: "flex-space" }, $r = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Sig.Wave", -1)), jr = { class: "flex-space" }, Wr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Current", -1)), Nr = { class: "flex-space" }, Br = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Precip", -1)), Or = { class: "flex-space" }, Fr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Visibility", -1)), Vr = { class: "flex-space" }, Ur = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Temp", -1)), Zr = { class: "flex-space" }, Hr = /* @__PURE__ */ ae(() => /* @__PURE__ */ l("label", null, "Water Temp", -1));
|
|
5367
5371
|
function Gr(a, e, t, r, i, o) {
|
|
5368
|
-
var s, n, c, d, p, h, g, u, y, f, m, v, b, _, P, w, A, M, $,
|
|
5372
|
+
var s, n, c, d, p, h, g, u, y, f, m, v, b, _, P, w, A, M, $, B, O, J, de, pe, me, ue, ye, fe, ge, ie, X, q, be, Q, I, F, ve, K, we, re, oe, se, Pe, Te, Ie, Ee, Re;
|
|
5369
5373
|
return je((x(), C("div", xr, [
|
|
5370
5374
|
l("div", Cr, [
|
|
5371
5375
|
l("div", kr, [
|
|
5372
5376
|
l("div", {
|
|
5373
5377
|
class: "iconfont close",
|
|
5374
|
-
onClick: e[0] || (e[0] = (
|
|
5378
|
+
onClick: e[0] || (e[0] = (Be) => i.showMeteo = !1)
|
|
5375
5379
|
}, ""),
|
|
5376
5380
|
l("div", Sr, S(o.computeLat((s = t.meteo) == null ? void 0 : s.lat)) + "," + S(o.computeLng((n = t.meteo) == null ? void 0 : n.lng)), 1),
|
|
5377
5381
|
l("div", zr, S(o.computeTime((c = t.meteo) == null ? void 0 : c.utc)), 1)
|
|
@@ -5383,7 +5387,7 @@ function Gr(a, e, t, r, i, o) {
|
|
|
5383
5387
|
]),
|
|
5384
5388
|
l("div", Er, [
|
|
5385
5389
|
Rr,
|
|
5386
|
-
l("span", null, S(((_ = (b = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : b.wd) == null ? void 0 : _.direction) || "-") + "/" + S(o.roundPrecision((A = (w = (P = t.meteo) == null ? void 0 : P.wave) == null ? void 0 : w.wd) == null ? void 0 : A.height, 1)) + "[m]/" + S(o.roundPrecision((
|
|
5390
|
+
l("span", null, S(((_ = (b = (v = t.meteo) == null ? void 0 : v.wave) == null ? void 0 : b.wd) == null ? void 0 : _.direction) || "-") + "/" + S(o.roundPrecision((A = (w = (P = t.meteo) == null ? void 0 : P.wave) == null ? void 0 : w.wd) == null ? void 0 : A.height, 1)) + "[m]/" + S(o.roundPrecision((B = ($ = (M = t.meteo) == null ? void 0 : M.wave) == null ? void 0 : $.wd) == null ? void 0 : B.period, 1)) + "[s]", 1)
|
|
5387
5391
|
]),
|
|
5388
5392
|
l("div", Ar, [
|
|
5389
5393
|
Dr,
|
|
@@ -5394,11 +5398,11 @@ function Gr(a, e, t, r, i, o) {
|
|
|
5394
5398
|
l("span", null, S(((q = (X = (ie = t.meteo) == null ? void 0 : ie.wave) == null ? void 0 : X.sig) == null ? void 0 : q.direction) || "-") + "/" + S(o.roundPrecision((I = (Q = (be = t.meteo) == null ? void 0 : be.wave) == null ? void 0 : Q.sig) == null ? void 0 : I.height, 1)) + "[m]/" + S(o.roundPrecision((K = (ve = (F = t.meteo) == null ? void 0 : F.wave) == null ? void 0 : ve.sig) == null ? void 0 : K.period, 1)) + "[s]", 1)
|
|
5395
5399
|
]),
|
|
5396
5400
|
l("div", jr, [
|
|
5397
|
-
|
|
5401
|
+
Wr,
|
|
5398
5402
|
l("span", null, S(((re = (we = t.meteo) == null ? void 0 : we.current) == null ? void 0 : re.direction) || "-") + "/" + S(o.roundPrecision((se = (oe = t.meteo) == null ? void 0 : oe.current) == null ? void 0 : se.kts, 2)) + "[kts]", 1)
|
|
5399
5403
|
]),
|
|
5400
|
-
l("div",
|
|
5401
|
-
|
|
5404
|
+
l("div", Nr, [
|
|
5405
|
+
Br,
|
|
5402
5406
|
l("span", null, S(o.roundPrecision((Te = (Pe = t.meteo) == null ? void 0 : Pe.precip) == null ? void 0 : Te.inter6h, 2)) + "[mm]", 1)
|
|
5403
5407
|
]),
|
|
5404
5408
|
l("div", Or, [
|
|
@@ -5417,7 +5421,7 @@ function Gr(a, e, t, r, i, o) {
|
|
|
5417
5421
|
j("", !0)
|
|
5418
5422
|
])
|
|
5419
5423
|
], 512)), [
|
|
5420
|
-
[
|
|
5424
|
+
[We, i.showMeteo]
|
|
5421
5425
|
]);
|
|
5422
5426
|
}
|
|
5423
5427
|
const Jr = /* @__PURE__ */ T(Lr, [["render", Gr], ["__scopeId", "data-v-efcf572f"]]), Xr = {
|
|
@@ -5871,7 +5875,7 @@ function no(a, e, t, r, i, o) {
|
|
|
5871
5875
|
innerHTML: (s = i.form) == null ? void 0 : s.name
|
|
5872
5876
|
}, null, 8, so)
|
|
5873
5877
|
], 512)), [
|
|
5874
|
-
[
|
|
5878
|
+
[We, i.showZone]
|
|
5875
5879
|
]);
|
|
5876
5880
|
}
|
|
5877
5881
|
const lo = /* @__PURE__ */ T(ro, [["render", no]]);
|
|
@@ -5967,10 +5971,10 @@ const co = {
|
|
|
5967
5971
|
this.showPort = !1, this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
5968
5972
|
}
|
|
5969
5973
|
}
|
|
5970
|
-
},
|
|
5974
|
+
}, Ne = (a) => (H("data-v-c07e4c45"), a = a(), G(), a), ho = { id: "port-info" }, po = { class: "port-box" }, mo = { class: "flex-start" }, uo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Name : ", -1)), yo = { class: "flex-start" }, fo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Position : ", -1)), go = { class: "flex-start" }, bo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "LoCode : ", -1)), vo = {
|
|
5971
5975
|
class: "flex-start",
|
|
5972
5976
|
style: { "align-items": "flex-start" }
|
|
5973
|
-
}, wo = /* @__PURE__ */
|
|
5977
|
+
}, wo = /* @__PURE__ */ Ne(() => /* @__PURE__ */ l("label", null, "Region : ", -1));
|
|
5974
5978
|
function _o(a, e, t, r, i, o) {
|
|
5975
5979
|
return je((x(), C("div", ho, [
|
|
5976
5980
|
l("div", {
|
|
@@ -5998,7 +6002,7 @@ function _o(a, e, t, r, i, o) {
|
|
|
5998
6002
|
])
|
|
5999
6003
|
])
|
|
6000
6004
|
], 512)), [
|
|
6001
|
-
[
|
|
6005
|
+
[We, i.showPort]
|
|
6002
6006
|
]);
|
|
6003
6007
|
}
|
|
6004
6008
|
const Lo = /* @__PURE__ */ T(co, [["render", _o], ["__scopeId", "data-v-c07e4c45"]]), xo = {
|
|
@@ -6479,7 +6483,7 @@ function $o(a, e, t, r, i, o) {
|
|
|
6479
6483
|
return x(), C("div");
|
|
6480
6484
|
}
|
|
6481
6485
|
const jo = /* @__PURE__ */ T(Mo, [["render", $o]]);
|
|
6482
|
-
const
|
|
6486
|
+
const Wo = {
|
|
6483
6487
|
name: "IdmLatLng",
|
|
6484
6488
|
props: {
|
|
6485
6489
|
map: {
|
|
@@ -6634,7 +6638,7 @@ const No = {
|
|
|
6634
6638
|
(a = this.map) != null && a.getLayer(this.layer) && ((e = this.map) == null || e.removeLayer(this.layer)), (t = this.map) != null && t.getLayer(this.labelLayer) && ((r = this.map) == null || r.removeLayer(this.labelLayer)), (i = this.map) != null && i.getSource(this.source) && ((o = this.map) == null || o.removeSource(this.source));
|
|
6635
6639
|
}
|
|
6636
6640
|
}
|
|
6637
|
-
},
|
|
6641
|
+
}, No = (a) => (H("data-v-73241fe7"), a = a(), G(), a), Bo = /* @__PURE__ */ No(() => /* @__PURE__ */ l("span", null, ", ", -1));
|
|
6638
6642
|
function Oo(a, e, t, r, i, o) {
|
|
6639
6643
|
return i.lngLat ? (x(), C("div", {
|
|
6640
6644
|
key: 0,
|
|
@@ -6642,11 +6646,11 @@ function Oo(a, e, t, r, i, o) {
|
|
|
6642
6646
|
style: U({ right: i.right + "px", bottom: t.bottom })
|
|
6643
6647
|
}, [
|
|
6644
6648
|
l("span", null, S(i.lngLat.lat.pretty), 1),
|
|
6645
|
-
|
|
6649
|
+
Bo,
|
|
6646
6650
|
l("span", null, S(i.lngLat.lng.pretty), 1)
|
|
6647
6651
|
], 4)) : j("", !0);
|
|
6648
6652
|
}
|
|
6649
|
-
const et = /* @__PURE__ */ T(
|
|
6653
|
+
const et = /* @__PURE__ */ T(Wo, [["render", Oo], ["__scopeId", "data-v-73241fe7"]]), Fo = {
|
|
6650
6654
|
name: "IdmMeasure",
|
|
6651
6655
|
props: {
|
|
6652
6656
|
map: {
|
|
@@ -7011,7 +7015,7 @@ function Qo(a, e, t, r, i, o) {
|
|
|
7011
7015
|
}, {
|
|
7012
7016
|
default: Y(() => [
|
|
7013
7017
|
l("div", {
|
|
7014
|
-
class:
|
|
7018
|
+
class: W(i.vendor === "hi" ? "menu-icon active" : "menu-icon"),
|
|
7015
7019
|
onClick: e[0] || (e[0] = (n) => i.vendor = "hi")
|
|
7016
7020
|
}, Xo, 2)
|
|
7017
7021
|
]),
|
|
@@ -7025,7 +7029,7 @@ function Qo(a, e, t, r, i, o) {
|
|
|
7025
7029
|
}, {
|
|
7026
7030
|
default: Y(() => [
|
|
7027
7031
|
l("div", {
|
|
7028
|
-
class:
|
|
7032
|
+
class: W(i.vendor === "i4" ? "menu-icon active" : "menu-icon"),
|
|
7029
7033
|
onClick: e[1] || (e[1] = (n) => i.vendor = "i4")
|
|
7030
7034
|
}, qo, 2)
|
|
7031
7035
|
]),
|
|
@@ -7044,14 +7048,14 @@ const es = {
|
|
|
7044
7048
|
IdmWindParticle: ya,
|
|
7045
7049
|
IdmCurrents: ka,
|
|
7046
7050
|
IdmCurrentParticle: ja,
|
|
7047
|
-
IdmSigWave:
|
|
7051
|
+
IdmSigWave: Ba,
|
|
7048
7052
|
IdmSwell: Va,
|
|
7049
7053
|
IdmPrmsl: Ha,
|
|
7050
7054
|
// IdmIceEdge,
|
|
7051
7055
|
IdmIceberg: Xa,
|
|
7052
7056
|
IdmTropicals: Ke,
|
|
7053
7057
|
IdmPrecip3h: Ti,
|
|
7054
|
-
IdmVisibility:
|
|
7058
|
+
IdmVisibility: Bi,
|
|
7055
7059
|
IdmWaterTemp: qi,
|
|
7056
7060
|
IdmTemp: hr,
|
|
7057
7061
|
IdmArctic: _r,
|
|
@@ -7089,7 +7093,7 @@ const es = {
|
|
|
7089
7093
|
type: Number
|
|
7090
7094
|
}
|
|
7091
7095
|
},
|
|
7092
|
-
emits: ["toggleVersion"],
|
|
7096
|
+
emits: ["toggleVersion", "activeWeatherLayers"],
|
|
7093
7097
|
data() {
|
|
7094
7098
|
return {
|
|
7095
7099
|
weatherLayers: {},
|
|
@@ -7144,7 +7148,7 @@ const es = {
|
|
|
7144
7148
|
var a, e, t, r, i, o, s, n, c, d, p, h, g, u, y, f, m, v;
|
|
7145
7149
|
if (!this.map)
|
|
7146
7150
|
return !1;
|
|
7147
|
-
this.activeWeatherLayers.length > 0 ? ((e = (a = this.map) == null ? void 0 : a.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (t = this.map) == null ? void 0 : t.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((s = this.map) != null && s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((c = this.map) == null || c.moveLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (p = this.map) != null && p.getLayer((d = this.viewport) == null ? void 0 : d.particleLayer) && ((h = this.map) != null && h.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((u = this.map) == null || u.moveLayer((g = this.viewport) == null ? void 0 : g.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((f = (y = this.map) == null ? void 0 : y.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (v = (m = this.map) == null ? void 0 : m.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || v.setLayoutProperty("visibility", "none"));
|
|
7151
|
+
this.activeWeatherLayers.length > 0 ? ((e = (a = this.map) == null ? void 0 : a.getLayer(this.enc)) == null || e.setLayoutProperty("visibility", "none"), (r = (t = this.map) == null ? void 0 : t.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || r.setLayoutProperty("visibility", "visible"), (o = this.map) != null && o.getLayer((i = this.viewport) == null ? void 0 : i.rampColorLayer) && ((s = this.map) != null && s.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((c = this.map) == null || c.moveLayer((n = this.viewport) == null ? void 0 : n.rampColorLayer, this.helper.mapboxCustomer.layers.countryBoundary.id)), (p = this.map) != null && p.getLayer((d = this.viewport) == null ? void 0 : d.particleLayer) && ((h = this.map) != null && h.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) && this.mapProjection === "mercator" && ((u = this.map) == null || u.moveLayer((g = this.viewport) == null ? void 0 : g.particleLayer, this.helper.mapboxCustomer.layers.countryBoundary.id))) : ((f = (y = this.map) == null ? void 0 : y.getLayer(this.enc)) == null || f.setLayoutProperty("visibility", "visible"), (v = (m = this.map) == null ? void 0 : m.getLayer(this.helper.mapboxCustomer.layers.countryBoundary.id)) == null || v.setLayoutProperty("visibility", "none")), this.$emit("activeWeatherLayers", this.activeWeatherLayers);
|
|
7148
7152
|
},
|
|
7149
7153
|
immediate: !0
|
|
7150
7154
|
}
|
|
@@ -7227,8 +7231,8 @@ const es = {
|
|
|
7227
7231
|
);
|
|
7228
7232
|
const P = await Promise.all(_);
|
|
7229
7233
|
this.weatherLayers = {}, P.map((w) => {
|
|
7230
|
-
var $,
|
|
7231
|
-
const A = (($ = w == null ? void 0 : w.data) == null ? void 0 : $.data) || (w == null ? void 0 : w.data), M = (O = (
|
|
7234
|
+
var $, B, O, J;
|
|
7235
|
+
const A = (($ = w == null ? void 0 : w.data) == null ? void 0 : $.data) || (w == null ? void 0 : w.data), M = (O = (B = w == null ? void 0 : w.config) == null ? void 0 : B.headers) == null ? void 0 : O.key;
|
|
7232
7236
|
M && A && (this.weatherLayers[M] = {
|
|
7233
7237
|
raw: A,
|
|
7234
7238
|
type: ((J = w == null ? void 0 : w.config) == null ? void 0 : J.responseType) === "blob" ? "image" : "json",
|
|
@@ -7240,8 +7244,8 @@ const es = {
|
|
|
7240
7244
|
key: "tropicals"
|
|
7241
7245
|
}
|
|
7242
7246
|
}).then((w) => {
|
|
7243
|
-
var $,
|
|
7244
|
-
const A = Qe.convert2Geojson((($ = w == null ? void 0 : w.data) == null ? void 0 : $.data) || (w == null ? void 0 : w.data)), M = (O = (
|
|
7247
|
+
var $, B, O;
|
|
7248
|
+
const A = Qe.convert2Geojson((($ = w == null ? void 0 : w.data) == null ? void 0 : $.data) || (w == null ? void 0 : w.data)), M = (O = (B = w == null ? void 0 : w.config) == null ? void 0 : B.headers) == null ? void 0 : O.key;
|
|
7245
7249
|
this.weatherLayers[M] = {
|
|
7246
7250
|
data: A,
|
|
7247
7251
|
active: !0,
|
|
@@ -7672,8 +7676,8 @@ const es = {
|
|
|
7672
7676
|
className: "map-gl-home"
|
|
7673
7677
|
};
|
|
7674
7678
|
function as(a, e, t, r, i, o) {
|
|
7675
|
-
var ie, X, q, be, Q, I, F, ve, K, we, re, oe, se, Pe, Te, Ie, Ee, Re,
|
|
7676
|
-
const s = z("IdmGlLayer"), n = z("IdmENC"), c = z("IdmSigWave"), d = z("IdmSwell"), p = z("IdmPrmsl"), h = z("IdmIceberg"), g = z("IdmTropicals"), u = z("IdmCurrents"), y = z("IdmCurrentParticle"), f = z("IdmWindBarb"), m = z("IdmWindParticle"), v = z("IdmPrecip3h"), b = z("IdmVisibility"), _ = z("IdmWaterTemp"), P = z("IdmTemp"), w = z("IdmArctic"), A = z("IdmWarZone"), M = z("IdmGmdssArea"), $ = z("IdmEcaZone"),
|
|
7679
|
+
var ie, X, q, be, Q, I, F, ve, K, we, re, oe, se, Pe, Te, Ie, Ee, Re, Be, Ze, He, Ge, Je, Xe, Ye, qe;
|
|
7680
|
+
const s = z("IdmGlLayer"), n = z("IdmENC"), c = z("IdmSigWave"), d = z("IdmSwell"), p = z("IdmPrmsl"), h = z("IdmIceberg"), g = z("IdmTropicals"), u = z("IdmCurrents"), y = z("IdmCurrentParticle"), f = z("IdmWindBarb"), m = z("IdmWindParticle"), v = z("IdmPrecip3h"), b = z("IdmVisibility"), _ = z("IdmWaterTemp"), P = z("IdmTemp"), w = z("IdmArctic"), A = z("IdmWarZone"), M = z("IdmGmdssArea"), $ = z("IdmEcaZone"), B = z("IdmAlertZone"), O = z("IdmPort"), J = z("IdmLoadLine"), de = z("IdmTimezone"), pe = z("IdmVRA"), me = z("IdmSpecialArea"), ue = z("IdmTerminator"), ye = z("IdmLatLng"), fe = z("IdmMeasure"), ge = z("IdmPoint");
|
|
7677
7681
|
return t.map ? (x(), C("div", ts, [
|
|
7678
7682
|
k(s, E({
|
|
7679
7683
|
ref: "layer",
|
|
@@ -7805,10 +7809,10 @@ function as(a, e, t, r, i, o) {
|
|
|
7805
7809
|
}, a.$attrs), null, 16, ["map", "area", "before-layer"]),
|
|
7806
7810
|
k($, E({
|
|
7807
7811
|
map: t.map,
|
|
7808
|
-
zone: (
|
|
7812
|
+
zone: (Be = i.otherLayers) == null ? void 0 : Be["eca-zones"],
|
|
7809
7813
|
"before-layer": t.beforeLayer
|
|
7810
7814
|
}, a.$attrs), null, 16, ["map", "zone", "before-layer"]),
|
|
7811
|
-
k(
|
|
7815
|
+
k(B, E({
|
|
7812
7816
|
map: t.map,
|
|
7813
7817
|
zone: (Ze = i.otherLayers) == null ? void 0 : Ze["alert-zones"],
|
|
7814
7818
|
"before-layer": t.beforeLayer
|
|
@@ -7872,5 +7876,5 @@ export {
|
|
|
7872
7876
|
Ke as TropicalGL,
|
|
7873
7877
|
Ve as Viewport,
|
|
7874
7878
|
Le as WebGL,
|
|
7875
|
-
|
|
7879
|
+
N as WebGLSchema
|
|
7876
7880
|
};
|