@idmwx/idmui-gl4 0.4.6 → 0.4.8
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 +400 -352
- package/dist/index.umd.cjs +5 -5
- package/dist/mapbox/src/components/spot/index.vue.d.ts +25 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var Vo = Object.defineProperty;
|
|
|
2
2
|
var Yo = (o, e, t) => e in o ? Vo(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
|
|
3
3
|
var le = (o, e, t) => (Yo(o, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import Ie from "axios";
|
|
5
|
-
import { openBlock as y, createElementBlock as
|
|
5
|
+
import { openBlock as y, createElementBlock as M, withDirectives as He, createElementVNode as l, vShow as Ge, toDisplayString as C, normalizeStyle as Q, createCommentVNode as O, resolveComponent as w, createVNode as h, withCtx as g, mergeProps as j, normalizeClass as je, createTextVNode as U, Fragment as fe, renderList as _e, createBlock as V, withModifiers as Zo } from "vue";
|
|
6
6
|
import Pe from "mapbox-gl";
|
|
7
7
|
import { LngLatHelper as ae, TropicalHelper as Ho, LaneHelper as Be } from "@idm-plugin/geo";
|
|
8
8
|
import * as F from "@turf/turf";
|
|
@@ -109,7 +109,7 @@ const X = (o, e) => {
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
function $o(o, e, t, i, a, r) {
|
|
112
|
-
return y(),
|
|
112
|
+
return y(), M("div");
|
|
113
113
|
}
|
|
114
114
|
const ea = /* @__PURE__ */ X(Qo, [["render", $o]]), ta = {
|
|
115
115
|
name: "IdmGmdssArea",
|
|
@@ -233,7 +233,7 @@ const ea = /* @__PURE__ */ X(Qo, [["render", $o]]), ta = {
|
|
|
233
233
|
}
|
|
234
234
|
};
|
|
235
235
|
function oa(o, e, t, i, a, r) {
|
|
236
|
-
return y(),
|
|
236
|
+
return y(), M("div");
|
|
237
237
|
}
|
|
238
238
|
const aa = /* @__PURE__ */ X(ta, [["render", oa]]), ia = {
|
|
239
239
|
name: "IdmEcaZone",
|
|
@@ -328,7 +328,7 @@ const aa = /* @__PURE__ */ X(ta, [["render", oa]]), ia = {
|
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
function ra(o, e, t, i, a, r) {
|
|
331
|
-
return y(),
|
|
331
|
+
return y(), M("div");
|
|
332
332
|
}
|
|
333
333
|
const la = /* @__PURE__ */ X(ia, [["render", ra]]);
|
|
334
334
|
const sa = {
|
|
@@ -465,7 +465,7 @@ const sa = {
|
|
|
465
465
|
}, na = { id: "idm-gl4-zone-info" }, ca = ["innerHTML"];
|
|
466
466
|
function ma(o, e, t, i, a, r) {
|
|
467
467
|
var s;
|
|
468
|
-
return He((y(),
|
|
468
|
+
return He((y(), M("div", na, [
|
|
469
469
|
l("div", {
|
|
470
470
|
class: "iconfont close",
|
|
471
471
|
onClick: e[0] || (e[0] = (c) => a.showZone = !1)
|
|
@@ -583,7 +583,7 @@ const da = {
|
|
|
583
583
|
style: { "align-items": "flex-start" }
|
|
584
584
|
}, wa = { class: "meteo-forecast flex-end" };
|
|
585
585
|
function xa(o, e, t, i, a, r) {
|
|
586
|
-
return He((y(),
|
|
586
|
+
return He((y(), M("div", pa, [
|
|
587
587
|
l("div", {
|
|
588
588
|
class: "close iconfont",
|
|
589
589
|
onClick: e[0] || (e[0] = (s) => a.showPort = !1)
|
|
@@ -687,7 +687,7 @@ const va = /* @__PURE__ */ X(da, [["render", xa], ["__scopeId", "data-v-62f79fef
|
|
|
687
687
|
}
|
|
688
688
|
};
|
|
689
689
|
function ka(o, e, t, i, a, r) {
|
|
690
|
-
return y(),
|
|
690
|
+
return y(), M("div");
|
|
691
691
|
}
|
|
692
692
|
const za = /* @__PURE__ */ X(_a, [["render", ka]]), La = {
|
|
693
693
|
name: "IdmTimezone",
|
|
@@ -856,7 +856,7 @@ const za = /* @__PURE__ */ X(_a, [["render", ka]]), La = {
|
|
|
856
856
|
}
|
|
857
857
|
};
|
|
858
858
|
function Pa(o, e, t, i, a, r) {
|
|
859
|
-
return y(),
|
|
859
|
+
return y(), M("div");
|
|
860
860
|
}
|
|
861
861
|
const Ca = /* @__PURE__ */ X(La, [["render", Pa]]), Sa = {
|
|
862
862
|
name: "IdmVoluntaryReportingArea",
|
|
@@ -948,7 +948,7 @@ const Ca = /* @__PURE__ */ X(La, [["render", Pa]]), Sa = {
|
|
|
948
948
|
}
|
|
949
949
|
};
|
|
950
950
|
function Ma(o, e, t, i, a, r) {
|
|
951
|
-
return y(),
|
|
951
|
+
return y(), M("div");
|
|
952
952
|
}
|
|
953
953
|
const Ta = /* @__PURE__ */ X(Sa, [["render", Ma]]), Ra = {
|
|
954
954
|
name: "IdmSpecialArea",
|
|
@@ -1042,7 +1042,7 @@ const Ta = /* @__PURE__ */ X(Sa, [["render", Ma]]), Ra = {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
};
|
|
1044
1044
|
function Ia(o, e, t, i, a, r) {
|
|
1045
|
-
return y(),
|
|
1045
|
+
return y(), M("div");
|
|
1046
1046
|
}
|
|
1047
1047
|
const Aa = /* @__PURE__ */ X(Ra, [["render", Ia]]), Da = {
|
|
1048
1048
|
name: "IdmTerminator",
|
|
@@ -1065,7 +1065,7 @@ const Aa = /* @__PURE__ */ X(Ra, [["render", Ia]]), Da = {
|
|
|
1065
1065
|
},
|
|
1066
1066
|
computed: {
|
|
1067
1067
|
layerColor() {
|
|
1068
|
-
return ["satellite", "dark"].includes(this.mapFeather)
|
|
1068
|
+
return ["satellite", "dark"].includes(this.mapFeather), "rgba(0, 0, 0, 0.2)";
|
|
1069
1069
|
}
|
|
1070
1070
|
},
|
|
1071
1071
|
watch: {
|
|
@@ -1104,7 +1104,7 @@ const Aa = /* @__PURE__ */ X(Ra, [["render", Ia]]), Da = {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
};
|
|
1106
1106
|
function Oa(o, e, t, i, a, r) {
|
|
1107
|
-
return y(),
|
|
1107
|
+
return y(), M("div");
|
|
1108
1108
|
}
|
|
1109
1109
|
const Ba = /* @__PURE__ */ X(Da, [["render", Oa]]), ja = {
|
|
1110
1110
|
name: "IdmWorld12nm",
|
|
@@ -1408,7 +1408,7 @@ const Ya = {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
};
|
|
1410
1410
|
function Za(o, e, t, i, a, r) {
|
|
1411
|
-
return a.lngLat ? (y(),
|
|
1411
|
+
return a.lngLat ? (y(), M("div", {
|
|
1412
1412
|
key: 0,
|
|
1413
1413
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
1414
1414
|
style: Q({ right: a.right + "px" })
|
|
@@ -1619,27 +1619,27 @@ const Xa = {
|
|
|
1619
1619
|
this.layerWeight !== o && (this.layerWeight = o, this.fetchOtherLayers({ all: !0 }));
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
|
-
}, qa = { class: "idm-gl4-other-layer" }, Ka = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Ja = { class: "text-h5" }, Qa = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, $a = { class: "layers-body
|
|
1622
|
+
}, qa = { class: "idm-gl4-other-layer" }, Ka = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Ja = { class: "text-h5" }, Qa = { class: "list-box scroll pl-4 pr-2 overflow-y-auto" }, $a = { class: "layers-body mt-4 d-flex justify-start align-center flex-wrap" }, ei = ["onClick"], ti = {
|
|
1623
1623
|
key: 0,
|
|
1624
1624
|
src: "https://osshz.idmwx.com/asset/dark-map.png",
|
|
1625
1625
|
class: "border rounded-sm"
|
|
1626
|
-
},
|
|
1626
|
+
}, oi = {
|
|
1627
1627
|
key: 1,
|
|
1628
1628
|
src: "https://osshz.idmwx.com/asset/nautical-map.png",
|
|
1629
1629
|
class: "border rounded-sm"
|
|
1630
|
-
},
|
|
1630
|
+
}, ai = {
|
|
1631
1631
|
key: 2,
|
|
1632
1632
|
src: "https://osshz.idmwx.com/asset/satellite-map.png",
|
|
1633
1633
|
class: "border rounded-sm"
|
|
1634
|
-
},
|
|
1634
|
+
}, ii = {
|
|
1635
1635
|
key: 3,
|
|
1636
1636
|
src: "https://osshz.idmwx.com/asset/light-map.png",
|
|
1637
1637
|
class: "border rounded-sm"
|
|
1638
|
-
},
|
|
1639
|
-
function
|
|
1638
|
+
}, ri = { class: "text-body-2 text-center pt-1" }, li = { class: "layers-body" }, si = { class: "layers-body" }, ni = { class: "layers-body" }, ci = { class: "layers-body" };
|
|
1639
|
+
function mi(o, e, t, i, a, r) {
|
|
1640
1640
|
var G, W, $, ee, K, se, me, pe, he, q;
|
|
1641
|
-
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), d = w("VCheckbox"), m = w("VCardText"), b = w("VCard"), f = w("IdmWorld12nm"), L = w("IdmWorldMarine"), S = w("IdmChinaRoute"), P = w("IdmWarZone"), E = w("IdmGmdssArea"),
|
|
1642
|
-
return y(),
|
|
1641
|
+
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VCardItem"), d = w("VCheckbox"), m = w("VCardText"), b = w("VCard"), f = w("IdmWorld12nm"), L = w("IdmWorldMarine"), S = w("IdmChinaRoute"), P = w("IdmWarZone"), E = w("IdmGmdssArea"), T = w("IdmEcaZone"), k = w("IdmAlertZone"), v = w("IdmPort"), _ = w("IdmLoadLine"), z = w("IdmTimezone"), x = w("IdmVRA"), R = w("IdmSpecialArea"), H = w("IdmTerminator"), Y = w("IdmLatLng");
|
|
1642
|
+
return y(), M("div", qa, [
|
|
1643
1643
|
l("div", {
|
|
1644
1644
|
class: "menu-bar-box transition px-1 rounded",
|
|
1645
1645
|
style: Q({ top: t.top + 10 + "px", right: a.right + "px" })
|
|
@@ -1669,7 +1669,7 @@ function hi(o, e, t, i, a, r) {
|
|
|
1669
1669
|
}, 8, ["text"])
|
|
1670
1670
|
], 4),
|
|
1671
1671
|
l("div", {
|
|
1672
|
-
class:
|
|
1672
|
+
class: je(["available-layers transition", a.toggle ? "right-bar" : ""]),
|
|
1673
1673
|
style: Q({ top: t.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
1674
1674
|
}, [
|
|
1675
1675
|
l("div", Ka, [
|
|
@@ -1714,23 +1714,21 @@ function hi(o, e, t, i, a, r) {
|
|
|
1714
1714
|
h(m, null, {
|
|
1715
1715
|
default: g(() => [
|
|
1716
1716
|
l("div", $a, [
|
|
1717
|
-
(y(!0),
|
|
1717
|
+
(y(!0), M(fe, null, _e(a.mapFeathers, (I) => (y(), M("div", {
|
|
1718
1718
|
key: I.value,
|
|
1719
|
-
class: "mb-
|
|
1719
|
+
class: "mb-2 feather-item",
|
|
1720
1720
|
onClick: (ne) => r.handleToggleMapFeather(I)
|
|
1721
1721
|
}, [
|
|
1722
1722
|
l("div", {
|
|
1723
|
-
class:
|
|
1723
|
+
class: je([a.mapFeather === I.value ? "active" : "", "img-box"])
|
|
1724
1724
|
}, [
|
|
1725
|
-
|
|
1726
|
-
I.value === "dark" ? (y(), T("img", oi)) : I.value === "nautical" ? (y(), T("img", ai)) : I.value === "satellite" ? (y(), T("img", ii)) : (y(), T("img", ri))
|
|
1727
|
-
])
|
|
1725
|
+
I.value === "dark" ? (y(), M("img", ti)) : I.value === "nautical" ? (y(), M("img", oi)) : I.value === "satellite" ? (y(), M("img", ai)) : (y(), M("img", ii))
|
|
1728
1726
|
], 2),
|
|
1729
|
-
l("div",
|
|
1727
|
+
l("div", ri, C(o.$t(`layer.${I.locale}`)), 1)
|
|
1730
1728
|
], 8, ei))), 128))
|
|
1731
1729
|
]),
|
|
1732
|
-
l("div",
|
|
1733
|
-
(y(!0),
|
|
1730
|
+
l("div", li, [
|
|
1731
|
+
(y(!0), M(fe, null, _e(a.tagLayers.filter((I) => ["graticule", "day-night", "time-zones"].includes(I.key)), (I) => (y(), V(d, {
|
|
1734
1732
|
key: I.key,
|
|
1735
1733
|
modelValue: a.checkList,
|
|
1736
1734
|
"onUpdate:modelValue": e[0] || (e[0] = (ne) => a.checkList = ne),
|
|
@@ -1770,8 +1768,8 @@ function hi(o, e, t, i, a, r) {
|
|
|
1770
1768
|
}),
|
|
1771
1769
|
h(m, null, {
|
|
1772
1770
|
default: g(() => [
|
|
1773
|
-
l("div",
|
|
1774
|
-
(y(!0),
|
|
1771
|
+
l("div", si, [
|
|
1772
|
+
(y(!0), M(fe, null, _e(a.tagLayers.filter((I) => ["ports", "nav-warnings", "tidal-stations"].includes(I.key)), (I) => (y(), V(d, {
|
|
1775
1773
|
key: I.key,
|
|
1776
1774
|
modelValue: a.checkList,
|
|
1777
1775
|
"onUpdate:modelValue": e[1] || (e[1] = (ne) => a.checkList = ne),
|
|
@@ -1811,8 +1809,8 @@ function hi(o, e, t, i, a, r) {
|
|
|
1811
1809
|
}),
|
|
1812
1810
|
h(m, null, {
|
|
1813
1811
|
default: g(() => [
|
|
1814
|
-
l("div",
|
|
1815
|
-
(y(!0),
|
|
1812
|
+
l("div", ni, [
|
|
1813
|
+
(y(!0), M(fe, null, _e(a.tagLayers.filter((I) => !["graticule", "day-night", "time-zones", "ports", "nav-warnings", "tidal-stations"].includes(I.key)), (I) => (y(), V(d, {
|
|
1816
1814
|
key: I.key,
|
|
1817
1815
|
modelValue: a.checkList,
|
|
1818
1816
|
"onUpdate:modelValue": e[2] || (e[2] = (ne) => a.checkList = ne),
|
|
@@ -1852,7 +1850,7 @@ function hi(o, e, t, i, a, r) {
|
|
|
1852
1850
|
}),
|
|
1853
1851
|
h(m, null, {
|
|
1854
1852
|
default: g(() => [
|
|
1855
|
-
l("div",
|
|
1853
|
+
l("div", ci, [
|
|
1856
1854
|
h(d, {
|
|
1857
1855
|
modelValue: a.followList,
|
|
1858
1856
|
"onUpdate:modelValue": e[3] || (e[3] = (I) => a.followList = I),
|
|
@@ -1912,7 +1910,7 @@ function hi(o, e, t, i, a, r) {
|
|
|
1912
1910
|
map: t.map,
|
|
1913
1911
|
area: (W = a.otherLayers) == null ? void 0 : W["gmdss-areas"]
|
|
1914
1912
|
}, o.$attrs), null, 16, ["map", "area"])) : O("", !0),
|
|
1915
|
-
t.map ? (y(), V(
|
|
1913
|
+
t.map ? (y(), V(T, j({
|
|
1916
1914
|
key: 5,
|
|
1917
1915
|
map: t.map,
|
|
1918
1916
|
zone: ($ = a.otherLayers) == null ? void 0 : $["eca-zones"]
|
|
@@ -1962,7 +1960,7 @@ function hi(o, e, t, i, a, r) {
|
|
|
1962
1960
|
}, o.$attrs), null, 16, ["map", "menu-toggle", "show"])) : O("", !0)
|
|
1963
1961
|
]);
|
|
1964
1962
|
}
|
|
1965
|
-
const
|
|
1963
|
+
const hi = /* @__PURE__ */ X(Xa, [["render", mi]]);
|
|
1966
1964
|
class Ke {
|
|
1967
1965
|
constructor(e) {
|
|
1968
1966
|
le(this, "map");
|
|
@@ -2199,7 +2197,7 @@ class De {
|
|
|
2199
2197
|
d.resolution && t.uniform2f(d.resolution, t.canvas.width * e.ratio, t.canvas.height * e.ratio), t.activeTexture(t.TEXTURE0), t.bindTexture(t.TEXTURE_2D, a), d.image && t.uniform1i(d.image, 0), t.activeTexture(t.TEXTURE1), t.bindTexture(t.TEXTURE_2D, r), d.color && t.uniform1i(d.color, 1), c != null && c.uvRange && (c != null && c.sRange) && (d.uvRange && t.uniform2f(d.uvRange, c.uvRange[0], c.uvRange[1]), d.sRange && t.uniform2f(d.sRange, c.sRange[0], c.sRange[1])), d.scale && t.uniform1f(d.scale, (c == null ? void 0 : c.scale) || 1);
|
|
2200
2198
|
const m = e.getBoundPixel(), b = e.map.getZoom() + 1, f = e.getWorldCopy(m, b);
|
|
2201
2199
|
for (const L of f) {
|
|
2202
|
-
const S = (L[0] - m[0]) * e.ratio, P = (L[1] - m[3]) * e.ratio, E = L[2] * e.ratio, [
|
|
2200
|
+
const S = (L[0] - m[0]) * e.ratio, P = (L[1] - m[3]) * e.ratio, E = L[2] * e.ratio, [T, k, v, _] = [S, E + S, P, E + P], z = new Float32Array([T, v, k, v, T, _, T, _, k, v, k, _]);
|
|
2203
2201
|
t.bindBuffer(t.ARRAY_BUFFER, s), t.bufferData(t.ARRAY_BUFFER, z, t.STATIC_DRAW), t.drawArrays(t.TRIANGLES, 0, 6);
|
|
2204
2202
|
}
|
|
2205
2203
|
} catch (d) {
|
|
@@ -2446,7 +2444,7 @@ le(ve, "vertexSchema", `
|
|
|
2446
2444
|
fract(pos * 255.0),
|
|
2447
2445
|
floor(pos * 255.0) / 255.0);
|
|
2448
2446
|
}`);
|
|
2449
|
-
const
|
|
2447
|
+
const di = {
|
|
2450
2448
|
name: "IdmWindBarb",
|
|
2451
2449
|
props: {
|
|
2452
2450
|
map: {
|
|
@@ -2594,14 +2592,14 @@ const pi = {
|
|
|
2594
2592
|
this.map.getSource(this.source) && this.map.removeSource(this.source), this.windBarbLoaded = !1;
|
|
2595
2593
|
}
|
|
2596
2594
|
}
|
|
2597
|
-
},
|
|
2595
|
+
}, pi = {
|
|
2598
2596
|
key: 0,
|
|
2599
2597
|
class: "legend-tip-btn-gl4"
|
|
2600
|
-
},
|
|
2601
|
-
function
|
|
2598
|
+
}, ui = { class: "d-flex flex-row justify-center align-center" }, gi = { class: "text-caption" };
|
|
2599
|
+
function fi(o, e, t, i, a, r) {
|
|
2602
2600
|
var m;
|
|
2603
2601
|
const s = w("v-btn"), c = w("v-col"), n = w("v-row"), u = w("v-card-text"), d = w("v-card");
|
|
2604
|
-
return (m = t.wind) != null && m.active ? (y(),
|
|
2602
|
+
return (m = t.wind) != null && m.active ? (y(), M("div", pi, [
|
|
2605
2603
|
l("div", {
|
|
2606
2604
|
class: "menu-bar-box pa-1 rounded",
|
|
2607
2605
|
style: Q({ right: a.right + "px" })
|
|
@@ -2633,18 +2631,18 @@ function bi(o, e, t, i, a, r) {
|
|
|
2633
2631
|
e[1] || (e[1] = l("div", { class: "text-body-2 ma-1" }, "Wind Level", -1)),
|
|
2634
2632
|
h(n, { class: "ma-0" }, {
|
|
2635
2633
|
default: g(() => [
|
|
2636
|
-
(y(!0),
|
|
2634
|
+
(y(!0), M(fe, null, _e(a.barbs, (b, f) => (y(), V(c, {
|
|
2637
2635
|
cols: "6",
|
|
2638
2636
|
key: b,
|
|
2639
2637
|
class: "d-flex flex-row justify-center align-center pa-1"
|
|
2640
2638
|
}, {
|
|
2641
2639
|
default: g(() => [
|
|
2642
|
-
l("div",
|
|
2640
|
+
l("div", ui, [
|
|
2643
2641
|
l("i", {
|
|
2644
|
-
class:
|
|
2645
|
-
style: Q({ color: t.theme === "
|
|
2642
|
+
class: je(["iconfont", r.barbsIconName[f]]),
|
|
2643
|
+
style: Q({ color: t.theme === "dark" ? "#fff" : "#000" })
|
|
2646
2644
|
}, null, 6),
|
|
2647
|
-
l("span",
|
|
2645
|
+
l("span", gi, C(Number(b) < 10 ? `00${b}kts` : Number(b) < 100 ? `0${b}kts` : `${b}kts`), 1)
|
|
2648
2646
|
])
|
|
2649
2647
|
]),
|
|
2650
2648
|
_: 2
|
|
@@ -2663,8 +2661,8 @@ function bi(o, e, t, i, a, r) {
|
|
|
2663
2661
|
])
|
|
2664
2662
|
])) : O("", !0);
|
|
2665
2663
|
}
|
|
2666
|
-
const
|
|
2667
|
-
const
|
|
2664
|
+
const bi = /* @__PURE__ */ X(di, [["render", fi]]);
|
|
2665
|
+
const yi = {
|
|
2668
2666
|
name: "IdmWindParticle",
|
|
2669
2667
|
props: {
|
|
2670
2668
|
factor: {
|
|
@@ -2830,10 +2828,10 @@ const wi = {
|
|
|
2830
2828
|
(o = this.viewport) == null || o.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
2831
2829
|
}
|
|
2832
2830
|
}
|
|
2833
|
-
},
|
|
2834
|
-
function
|
|
2831
|
+
}, wi = { key: 0 };
|
|
2832
|
+
function xi(o, e, t, i, a, r) {
|
|
2835
2833
|
var s;
|
|
2836
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
2834
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", wi, [
|
|
2837
2835
|
l("div", {
|
|
2838
2836
|
class: "legend-bars-gl4 wind",
|
|
2839
2837
|
style: Q({ right: a.right + "px" })
|
|
@@ -2849,7 +2847,7 @@ function vi(o, e, t, i, a, r) {
|
|
|
2849
2847
|
]), 4)
|
|
2850
2848
|
])) : O("", !0);
|
|
2851
2849
|
}
|
|
2852
|
-
const
|
|
2850
|
+
const vi = /* @__PURE__ */ X(yi, [["render", xi]]), _i = {
|
|
2853
2851
|
name: "IdmCurrent",
|
|
2854
2852
|
props: {
|
|
2855
2853
|
map: {
|
|
@@ -3024,17 +3022,17 @@ const _i = /* @__PURE__ */ X(wi, [["render", vi]]), ki = {
|
|
|
3024
3022
|
this.map.getLayer(this.speedLayer) && this.map.removeLayer(this.speedLayer), this.map.getLayer(this.speedLabelLayer) && this.map.removeLayer(this.speedLabelLayer), this.map.getLayer(this.directionLayer) && this.map.removeLayer(this.directionLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
3025
3023
|
}
|
|
3026
3024
|
}
|
|
3027
|
-
},
|
|
3025
|
+
}, ki = {
|
|
3028
3026
|
key: 0,
|
|
3029
3027
|
class: "legend-tip-btn-gl4"
|
|
3030
|
-
},
|
|
3028
|
+
}, zi = { class: "d-flex flex-row justify-start align-center" }, Li = {
|
|
3031
3029
|
class: "d-flex flex-row justify-center align-center",
|
|
3032
3030
|
style: { width: "48px" }
|
|
3033
|
-
},
|
|
3034
|
-
function
|
|
3031
|
+
}, Pi = { class: "text-caption px-2" };
|
|
3032
|
+
function Ci(o, e, t, i, a, r) {
|
|
3035
3033
|
var b;
|
|
3036
3034
|
const s = w("v-btn"), c = w("v-tooltip"), n = w("v-col"), u = w("v-row"), d = w("v-card-text"), m = w("v-card");
|
|
3037
|
-
return (b = t.current) != null && b.active ? (y(),
|
|
3035
|
+
return (b = t.current) != null && b.active ? (y(), M("div", ki, [
|
|
3038
3036
|
l("div", {
|
|
3039
3037
|
class: "menu-bar-box pa-1 rounded",
|
|
3040
3038
|
style: Q({ right: a.right + "px" })
|
|
@@ -3075,20 +3073,20 @@ function Si(o, e, t, i, a, r) {
|
|
|
3075
3073
|
e[1] || (e[1] = l("div", { class: "text-body-2 ma-1" }, "Current", -1)),
|
|
3076
3074
|
h(u, { class: "ma-0" }, {
|
|
3077
3075
|
default: g(() => [
|
|
3078
|
-
(y(!0),
|
|
3076
|
+
(y(!0), M(fe, null, _e(a.list, (f, L) => (y(), V(n, {
|
|
3079
3077
|
cols: "12",
|
|
3080
3078
|
key: L,
|
|
3081
3079
|
class: "d-flex flex-row justify-start align-center pa-0"
|
|
3082
3080
|
}, {
|
|
3083
3081
|
default: g(() => [
|
|
3084
|
-
l("div",
|
|
3085
|
-
l("div",
|
|
3082
|
+
l("div", zi, [
|
|
3083
|
+
l("div", Li, [
|
|
3086
3084
|
l("i", {
|
|
3087
3085
|
class: "iconfont icon-direction-arrow opacity-80",
|
|
3088
3086
|
style: Q({ fontSize: 48 * f.size + "px" })
|
|
3089
3087
|
}, null, 4)
|
|
3090
3088
|
]),
|
|
3091
|
-
l("div",
|
|
3089
|
+
l("div", Pi, C(f.label), 1)
|
|
3092
3090
|
])
|
|
3093
3091
|
]),
|
|
3094
3092
|
_: 2
|
|
@@ -3107,8 +3105,8 @@ function Si(o, e, t, i, a, r) {
|
|
|
3107
3105
|
])
|
|
3108
3106
|
])) : O("", !0);
|
|
3109
3107
|
}
|
|
3110
|
-
const
|
|
3111
|
-
const
|
|
3108
|
+
const Si = /* @__PURE__ */ X(_i, [["render", Ci]]);
|
|
3109
|
+
const Mi = {
|
|
3112
3110
|
name: "IdmCurrentParticle",
|
|
3113
3111
|
props: {
|
|
3114
3112
|
factor: {
|
|
@@ -3271,10 +3269,10 @@ const Ti = {
|
|
|
3271
3269
|
(o = this.viewport) == null || o.toggle(!1), this.context = void 0, this.etime = void 0, this.handleClearParticle();
|
|
3272
3270
|
}
|
|
3273
3271
|
}
|
|
3274
|
-
},
|
|
3275
|
-
function
|
|
3272
|
+
}, Ti = { key: 0 };
|
|
3273
|
+
function Ri(o, e, t, i, a, r) {
|
|
3276
3274
|
var s;
|
|
3277
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
3275
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", Ti, [
|
|
3278
3276
|
l("div", {
|
|
3279
3277
|
class: "legend-bars-gl4 current",
|
|
3280
3278
|
style: Q({ right: a.right + "px" })
|
|
@@ -3289,8 +3287,8 @@ function Ii(o, e, t, i, a, r) {
|
|
|
3289
3287
|
]), 4)
|
|
3290
3288
|
])) : O("", !0);
|
|
3291
3289
|
}
|
|
3292
|
-
const
|
|
3293
|
-
const
|
|
3290
|
+
const Ii = /* @__PURE__ */ X(Mi, [["render", Ri]]);
|
|
3291
|
+
const Ai = {
|
|
3294
3292
|
name: "IdmTemp",
|
|
3295
3293
|
props: {
|
|
3296
3294
|
factor: {
|
|
@@ -3399,10 +3397,10 @@ const Di = {
|
|
|
3399
3397
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
3400
3398
|
}
|
|
3401
3399
|
}
|
|
3402
|
-
},
|
|
3403
|
-
function
|
|
3400
|
+
}, Di = { key: 0 };
|
|
3401
|
+
function Oi(o, e, t, i, a, r) {
|
|
3404
3402
|
var s;
|
|
3405
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
3403
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", Di, [
|
|
3406
3404
|
l("div", {
|
|
3407
3405
|
class: "legend-bars-gl4 sig-wave",
|
|
3408
3406
|
style: Q({ right: a.right + "px" })
|
|
@@ -3417,7 +3415,7 @@ function Bi(o, e, t, i, a, r) {
|
|
|
3417
3415
|
]), 4)
|
|
3418
3416
|
])) : O("", !0);
|
|
3419
3417
|
}
|
|
3420
|
-
const
|
|
3418
|
+
const Bi = /* @__PURE__ */ X(Ai, [["render", Oi], ["__scopeId", "data-v-79ce70e2"]]), ji = {
|
|
3421
3419
|
name: "IdmSigWave",
|
|
3422
3420
|
props: {
|
|
3423
3421
|
map: {
|
|
@@ -3567,17 +3565,17 @@ const ji = /* @__PURE__ */ X(Di, [["render", Bi], ["__scopeId", "data-v-79ce70e2
|
|
|
3567
3565
|
this.map.getLayer(this.heightLayer) && this.map.removeLayer(this.heightLayer), this.map.getLayer(this.heightLabelLayer) && this.map.removeLayer(this.heightLabelLayer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
3568
3566
|
}
|
|
3569
3567
|
}
|
|
3570
|
-
},
|
|
3568
|
+
}, Ei = {
|
|
3571
3569
|
key: 0,
|
|
3572
3570
|
class: "legend-tip-btn-gl4"
|
|
3573
|
-
},
|
|
3571
|
+
}, Fi = { class: "d-flex flex-row justify-start align-center" }, Ni = {
|
|
3574
3572
|
key: 0,
|
|
3575
3573
|
style: { width: "24px", height: "12px", border: "1px solid rgba(var(--v-border-color), var(--v-border-opacity))" }
|
|
3576
|
-
},
|
|
3577
|
-
function
|
|
3574
|
+
}, Hi = { class: "text-caption px-2" };
|
|
3575
|
+
function Gi(o, e, t, i, a, r) {
|
|
3578
3576
|
var m;
|
|
3579
3577
|
const s = w("v-btn"), c = w("v-col"), n = w("v-row"), u = w("v-card-text"), d = w("v-card");
|
|
3580
|
-
return (m = t.sigWaveHeight) != null && m.active ? (y(),
|
|
3578
|
+
return (m = t.sigWaveHeight) != null && m.active ? (y(), M("div", Ei, [
|
|
3581
3579
|
l("div", {
|
|
3582
3580
|
class: "menu-bar-box pa-1 rounded",
|
|
3583
3581
|
style: Q({ right: a.right + "px" })
|
|
@@ -3609,18 +3607,18 @@ function Wi(o, e, t, i, a, r) {
|
|
|
3609
3607
|
e[1] || (e[1] = l("div", { class: "text-body-2 ma-1" }, "Wave Height", -1)),
|
|
3610
3608
|
h(n, { class: "ma-0" }, {
|
|
3611
3609
|
default: g(() => [
|
|
3612
|
-
(y(!0),
|
|
3610
|
+
(y(!0), M(fe, null, _e(a.list, (b, f) => (y(), V(c, {
|
|
3613
3611
|
cols: "12",
|
|
3614
3612
|
key: f,
|
|
3615
3613
|
class: "d-flex flex-row justify-start align-center pa-1"
|
|
3616
3614
|
}, {
|
|
3617
3615
|
default: g(() => [
|
|
3618
|
-
l("div",
|
|
3619
|
-
f === 0 ? (y(),
|
|
3616
|
+
l("div", Fi, [
|
|
3617
|
+
f === 0 ? (y(), M("div", Ni)) : (y(), M("div", {
|
|
3620
3618
|
key: 1,
|
|
3621
3619
|
style: Q({ width: "24px", height: "12px", background: b.color })
|
|
3622
3620
|
}, null, 4)),
|
|
3623
|
-
l("div",
|
|
3621
|
+
l("div", Hi, C(b.label), 1)
|
|
3624
3622
|
])
|
|
3625
3623
|
]),
|
|
3626
3624
|
_: 2
|
|
@@ -3639,7 +3637,7 @@ function Wi(o, e, t, i, a, r) {
|
|
|
3639
3637
|
])
|
|
3640
3638
|
])) : O("", !0);
|
|
3641
3639
|
}
|
|
3642
|
-
const
|
|
3640
|
+
const Wi = /* @__PURE__ */ X(ji, [["render", Gi]]), Ui = {
|
|
3643
3641
|
name: "IdmSwell",
|
|
3644
3642
|
props: {
|
|
3645
3643
|
map: {
|
|
@@ -3790,10 +3788,10 @@ const Ui = /* @__PURE__ */ X(Ei, [["render", Wi]]), Vi = {
|
|
|
3790
3788
|
}
|
|
3791
3789
|
}
|
|
3792
3790
|
};
|
|
3793
|
-
function
|
|
3794
|
-
return y(),
|
|
3791
|
+
function Vi(o, e, t, i, a, r) {
|
|
3792
|
+
return y(), M("div");
|
|
3795
3793
|
}
|
|
3796
|
-
const
|
|
3794
|
+
const Yi = /* @__PURE__ */ X(Ui, [["render", Vi]]), Zi = {
|
|
3797
3795
|
name: "IdmPrmsl",
|
|
3798
3796
|
props: {
|
|
3799
3797
|
map: {
|
|
@@ -3919,14 +3917,14 @@ const Zi = /* @__PURE__ */ X(Vi, [["render", Yi]]), Xi = {
|
|
|
3919
3917
|
this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.labelLayer) && this.map.removeLayer(this.labelLayer), this.map.getLayer(this.layer) && this.map.removeLayer(this.layer), this.map.getSource(this.source) && this.map.removeSource(this.source);
|
|
3920
3918
|
}
|
|
3921
3919
|
}
|
|
3922
|
-
},
|
|
3920
|
+
}, Xi = {
|
|
3923
3921
|
key: 0,
|
|
3924
3922
|
class: "legend-tip-btn-gl4"
|
|
3925
3923
|
};
|
|
3926
|
-
function
|
|
3924
|
+
function qi(o, e, t, i, a, r) {
|
|
3927
3925
|
var n;
|
|
3928
3926
|
const s = w("v-btn"), c = w("v-tooltip");
|
|
3929
|
-
return (n = t.prmsl) != null && n.active ? (y(),
|
|
3927
|
+
return (n = t.prmsl) != null && n.active ? (y(), M("div", Xi, [
|
|
3930
3928
|
l("div", {
|
|
3931
3929
|
class: "menu-bar-box pa-1 rounded",
|
|
3932
3930
|
style: Q({ right: a.right + "px" })
|
|
@@ -3957,8 +3955,8 @@ function Ki(o, e, t, i, a, r) {
|
|
|
3957
3955
|
], 4)
|
|
3958
3956
|
])) : O("", !0);
|
|
3959
3957
|
}
|
|
3960
|
-
const
|
|
3961
|
-
const
|
|
3958
|
+
const Ki = /* @__PURE__ */ X(Zi, [["render", qi]]);
|
|
3959
|
+
const Ji = {
|
|
3962
3960
|
name: "IdmIceEdge",
|
|
3963
3961
|
props: {
|
|
3964
3962
|
factor: {
|
|
@@ -4059,10 +4057,10 @@ const Qi = {
|
|
|
4059
4057
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4060
4058
|
}
|
|
4061
4059
|
}
|
|
4062
|
-
},
|
|
4063
|
-
function
|
|
4060
|
+
}, Qi = { key: 0 };
|
|
4061
|
+
function $i(o, e, t, i, a, r) {
|
|
4064
4062
|
var s;
|
|
4065
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4063
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", Qi, [
|
|
4066
4064
|
l("div", {
|
|
4067
4065
|
class: "legend-bars-gl4 ice-edge",
|
|
4068
4066
|
style: Q({ right: a.right + "px" })
|
|
@@ -4082,8 +4080,8 @@ function er(o, e, t, i, a, r) {
|
|
|
4082
4080
|
]), 4)
|
|
4083
4081
|
])) : O("", !0);
|
|
4084
4082
|
}
|
|
4085
|
-
const
|
|
4086
|
-
const
|
|
4083
|
+
const er = /* @__PURE__ */ X(Ji, [["render", $i]]);
|
|
4084
|
+
const tr = {
|
|
4087
4085
|
name: "IdmCover",
|
|
4088
4086
|
props: {
|
|
4089
4087
|
factor: {
|
|
@@ -4175,10 +4173,10 @@ const or = {
|
|
|
4175
4173
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4176
4174
|
}
|
|
4177
4175
|
}
|
|
4178
|
-
},
|
|
4179
|
-
function
|
|
4176
|
+
}, or = { key: 0 };
|
|
4177
|
+
function ar(o, e, t, i, a, r) {
|
|
4180
4178
|
var s;
|
|
4181
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4179
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", or, [
|
|
4182
4180
|
l("div", {
|
|
4183
4181
|
class: "legend-bars-gl4 ice-cover",
|
|
4184
4182
|
style: Q({ right: a.right + "px" })
|
|
@@ -4192,8 +4190,8 @@ function ir(o, e, t, i, a, r) {
|
|
|
4192
4190
|
]), 4)
|
|
4193
4191
|
])) : O("", !0);
|
|
4194
4192
|
}
|
|
4195
|
-
const
|
|
4196
|
-
const
|
|
4193
|
+
const ir = /* @__PURE__ */ X(tr, [["render", ar], ["__scopeId", "data-v-9696d73b"]]);
|
|
4194
|
+
const rr = {
|
|
4197
4195
|
name: "IdmThickness",
|
|
4198
4196
|
props: {
|
|
4199
4197
|
factor: {
|
|
@@ -4293,10 +4291,10 @@ const lr = {
|
|
|
4293
4291
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4294
4292
|
}
|
|
4295
4293
|
}
|
|
4296
|
-
},
|
|
4297
|
-
function
|
|
4294
|
+
}, lr = { key: 0 };
|
|
4295
|
+
function sr(o, e, t, i, a, r) {
|
|
4298
4296
|
var s;
|
|
4299
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4297
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", lr, [
|
|
4300
4298
|
l("div", {
|
|
4301
4299
|
class: "legend-bars-gl4 ice-thickness",
|
|
4302
4300
|
style: Q({ right: a.right + "px" })
|
|
@@ -4311,8 +4309,8 @@ function nr(o, e, t, i, a, r) {
|
|
|
4311
4309
|
]), 4)
|
|
4312
4310
|
])) : O("", !0);
|
|
4313
4311
|
}
|
|
4314
|
-
const
|
|
4315
|
-
const
|
|
4312
|
+
const nr = /* @__PURE__ */ X(rr, [["render", sr]]);
|
|
4313
|
+
const cr = {
|
|
4316
4314
|
name: "IdmPrecip3h",
|
|
4317
4315
|
props: {
|
|
4318
4316
|
factor: {
|
|
@@ -4413,10 +4411,10 @@ const mr = {
|
|
|
4413
4411
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4414
4412
|
}
|
|
4415
4413
|
}
|
|
4416
|
-
},
|
|
4417
|
-
function
|
|
4414
|
+
}, mr = { key: 0 };
|
|
4415
|
+
function hr(o, e, t, i, a, r) {
|
|
4418
4416
|
var s;
|
|
4419
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4417
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", mr, [
|
|
4420
4418
|
l("div", {
|
|
4421
4419
|
class: "legend-bars-gl4 precip3h",
|
|
4422
4420
|
style: Q({ right: a.right + "px" })
|
|
@@ -4432,8 +4430,8 @@ function dr(o, e, t, i, a, r) {
|
|
|
4432
4430
|
]), 4)
|
|
4433
4431
|
])) : O("", !0);
|
|
4434
4432
|
}
|
|
4435
|
-
const
|
|
4436
|
-
const
|
|
4433
|
+
const dr = /* @__PURE__ */ X(cr, [["render", hr]]);
|
|
4434
|
+
const pr = {
|
|
4437
4435
|
name: "IdmVisibility",
|
|
4438
4436
|
props: {
|
|
4439
4437
|
factor: {
|
|
@@ -4524,10 +4522,10 @@ const ur = {
|
|
|
4524
4522
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4525
4523
|
}
|
|
4526
4524
|
}
|
|
4527
|
-
},
|
|
4528
|
-
function
|
|
4525
|
+
}, ur = { key: 0 };
|
|
4526
|
+
function gr(o, e, t, i, a, r) {
|
|
4529
4527
|
var s;
|
|
4530
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4528
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", ur, [
|
|
4531
4529
|
l("div", {
|
|
4532
4530
|
class: "legend-bars-gl4 visibility",
|
|
4533
4531
|
style: Q({ right: a.right + "px" })
|
|
@@ -4541,8 +4539,8 @@ function fr(o, e, t, i, a, r) {
|
|
|
4541
4539
|
]), 4)
|
|
4542
4540
|
])) : O("", !0);
|
|
4543
4541
|
}
|
|
4544
|
-
const
|
|
4545
|
-
const
|
|
4542
|
+
const fr = /* @__PURE__ */ X(pr, [["render", gr]]);
|
|
4543
|
+
const br = {
|
|
4546
4544
|
name: "IdmWaterTemp",
|
|
4547
4545
|
props: {
|
|
4548
4546
|
factor: {
|
|
@@ -4636,10 +4634,10 @@ const yr = {
|
|
|
4636
4634
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4637
4635
|
}
|
|
4638
4636
|
}
|
|
4639
|
-
},
|
|
4640
|
-
function
|
|
4637
|
+
}, yr = { key: 0 };
|
|
4638
|
+
function wr(o, e, t, i, a, r) {
|
|
4641
4639
|
var s;
|
|
4642
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4640
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", yr, [
|
|
4643
4641
|
l("div", {
|
|
4644
4642
|
class: "legend-bars-gl4 water-temp",
|
|
4645
4643
|
style: Q({ right: a.right + "px" })
|
|
@@ -4653,8 +4651,8 @@ function xr(o, e, t, i, a, r) {
|
|
|
4653
4651
|
]), 4)
|
|
4654
4652
|
])) : O("", !0);
|
|
4655
4653
|
}
|
|
4656
|
-
const
|
|
4657
|
-
const
|
|
4654
|
+
const xr = /* @__PURE__ */ X(br, [["render", wr]]);
|
|
4655
|
+
const vr = {
|
|
4658
4656
|
name: "IdmTemp",
|
|
4659
4657
|
props: {
|
|
4660
4658
|
factor: {
|
|
@@ -4759,10 +4757,10 @@ const _r = {
|
|
|
4759
4757
|
this.webgl.draw(this.viewport, this.context, this.program, this.texture, this.rampColor.texture, this.aPositionBuffer), this.viewport.toggle(!0);
|
|
4760
4758
|
}
|
|
4761
4759
|
}
|
|
4762
|
-
},
|
|
4763
|
-
function
|
|
4760
|
+
}, _r = { key: 0 };
|
|
4761
|
+
function kr(o, e, t, i, a, r) {
|
|
4764
4762
|
var s;
|
|
4765
|
-
return (s = t.factor) != null && s.active ? (y(),
|
|
4763
|
+
return (s = t.factor) != null && s.active ? (y(), M("div", _r, [
|
|
4766
4764
|
l("div", {
|
|
4767
4765
|
class: "legend-bars-gl4 temp",
|
|
4768
4766
|
style: Q({ right: a.right + "px" })
|
|
@@ -4778,25 +4776,25 @@ function zr(o, e, t, i, a, r) {
|
|
|
4778
4776
|
]), 4)
|
|
4779
4777
|
])) : O("", !0);
|
|
4780
4778
|
}
|
|
4781
|
-
const
|
|
4782
|
-
const
|
|
4779
|
+
const zr = /* @__PURE__ */ X(vr, [["render", kr]]);
|
|
4780
|
+
const Lr = {
|
|
4783
4781
|
name: "IdmGlLayer",
|
|
4784
4782
|
components: {
|
|
4785
|
-
IdmWindBarb:
|
|
4786
|
-
IdmWindParticle:
|
|
4787
|
-
IdmCurrentDirection:
|
|
4788
|
-
IdmCurrentParticle:
|
|
4789
|
-
IdmWave:
|
|
4790
|
-
IdmSigWaveHeight:
|
|
4791
|
-
IdmSwell:
|
|
4792
|
-
IdmPrmsl:
|
|
4793
|
-
IdmIceEdge:
|
|
4794
|
-
IdmIceCover:
|
|
4795
|
-
IdmIceThickness:
|
|
4796
|
-
IdmPrecip3h:
|
|
4797
|
-
IdmVisibility:
|
|
4798
|
-
IdmWaterTemp:
|
|
4799
|
-
IdmTemp:
|
|
4783
|
+
IdmWindBarb: bi,
|
|
4784
|
+
IdmWindParticle: vi,
|
|
4785
|
+
IdmCurrentDirection: Si,
|
|
4786
|
+
IdmCurrentParticle: Ii,
|
|
4787
|
+
IdmWave: Bi,
|
|
4788
|
+
IdmSigWaveHeight: Wi,
|
|
4789
|
+
IdmSwell: Yi,
|
|
4790
|
+
IdmPrmsl: Ki,
|
|
4791
|
+
IdmIceEdge: er,
|
|
4792
|
+
IdmIceCover: ir,
|
|
4793
|
+
IdmIceThickness: nr,
|
|
4794
|
+
IdmPrecip3h: dr,
|
|
4795
|
+
IdmVisibility: fr,
|
|
4796
|
+
IdmWaterTemp: xr,
|
|
4797
|
+
IdmTemp: zr
|
|
4800
4798
|
},
|
|
4801
4799
|
props: {
|
|
4802
4800
|
isLogin: {
|
|
@@ -4996,21 +4994,21 @@ const Pr = {
|
|
|
4996
4994
|
const f = ((a = this.map) == null ? void 0 : a.getZoom()) + 1, L = (r = this.map) == null ? void 0 : r.getBounds(), S = `${L._sw.lng},${L._sw.lat},${L._ne.lng},${L._ne.lat}`;
|
|
4997
4995
|
if (this.particleFactor && ((s = this.$refs.layer) != null && s.autoActive)) {
|
|
4998
4996
|
const P = Ve.WEATHER_LAYERS.find((E) => {
|
|
4999
|
-
var
|
|
5000
|
-
return ((
|
|
4997
|
+
var T;
|
|
4998
|
+
return ((T = E.peer) == null ? void 0 : T.weight) === this.particleFactor.weight;
|
|
5001
4999
|
});
|
|
5002
5000
|
this.particleFactor.particle && (this.showWindParticle || this.showCurrentParticle) ? this.weatherWeight = this.weatherWeight & P.weight ? this.weatherWeight : this.weatherWeight + P.weight : this.weatherWeight = this.weatherWeight & P.weight ? this.weatherWeight - P.weight : this.weatherWeight;
|
|
5003
5001
|
}
|
|
5004
5002
|
if (this.weatherWeight > 0) {
|
|
5005
5003
|
let P = this.weatherWeight;
|
|
5006
5004
|
if (P > 0) {
|
|
5007
|
-
const E = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))],
|
|
5005
|
+
const E = this.assistGateway[Math.round(Math.random() * (this.assistGateway.length - 1))], T = await Ie.get(`${E}/api/arc/weather/layers2/links?l=${P}&v=${this.forecastModel}&z=${f}&bbox=${S}&t=${this.realTime}`, {
|
|
5008
5006
|
headers: {
|
|
5009
5007
|
Authorization: this.token || this.defaultMeteoToken
|
|
5010
5008
|
}
|
|
5011
5009
|
});
|
|
5012
|
-
if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", i, ", total: ", t += i), ((c =
|
|
5013
|
-
const k = (n =
|
|
5010
|
+
if (i = (/* @__PURE__ */ new Date()).valueOf() - (e + t), console.log("weather links elapsed: ", i, ", total: ", t += i), ((c = T == null ? void 0 : T.data) == null ? void 0 : c.code) === 0) {
|
|
5011
|
+
const k = (n = T == null ? void 0 : T.data) == null ? void 0 : n.data, v = [];
|
|
5014
5012
|
for (const z in k)
|
|
5015
5013
|
v.push(
|
|
5016
5014
|
Ie.get(k[z], {
|
|
@@ -5031,7 +5029,7 @@ const Pr = {
|
|
|
5031
5029
|
R && x && (this.weatherLayers[R] = {
|
|
5032
5030
|
raw: x,
|
|
5033
5031
|
type: ((W = z == null ? void 0 : z.config) == null ? void 0 : W.responseType) === "blob" ? "image" : "json",
|
|
5034
|
-
etime:
|
|
5032
|
+
etime: T.data.etime
|
|
5035
5033
|
});
|
|
5036
5034
|
});
|
|
5037
5035
|
}
|
|
@@ -5041,7 +5039,7 @@ const Pr = {
|
|
|
5041
5039
|
type: "json",
|
|
5042
5040
|
direction: k,
|
|
5043
5041
|
height: { raw: v },
|
|
5044
|
-
etime:
|
|
5042
|
+
etime: T.data.etime
|
|
5045
5043
|
};
|
|
5046
5044
|
}
|
|
5047
5045
|
if (this.weatherLayers["current-direction"] || this.weatherLayers["current-speed"]) {
|
|
@@ -5050,7 +5048,7 @@ const Pr = {
|
|
|
5050
5048
|
type: "json",
|
|
5051
5049
|
direction: k,
|
|
5052
5050
|
speed: { raw: v },
|
|
5053
|
-
etime:
|
|
5051
|
+
etime: T.data.etime
|
|
5054
5052
|
};
|
|
5055
5053
|
}
|
|
5056
5054
|
}
|
|
@@ -5119,7 +5117,7 @@ const Pr = {
|
|
|
5119
5117
|
for (const P in this.weatherLayers) {
|
|
5120
5118
|
let E = !1;
|
|
5121
5119
|
if (this.weatherLayers[P].active && this.weatherLayers[P].type === "json") {
|
|
5122
|
-
let
|
|
5120
|
+
let T = [];
|
|
5123
5121
|
if (P === "swell") {
|
|
5124
5122
|
E = !0;
|
|
5125
5123
|
const k = ((m = this.weatherLayers[P]) == null ? void 0 : m.direction) || {};
|
|
@@ -5134,14 +5132,14 @@ const Pr = {
|
|
|
5134
5132
|
val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
|
|
5135
5133
|
spd: (G = k[_].spd) == null ? void 0 : G[R]
|
|
5136
5134
|
});
|
|
5137
|
-
|
|
5135
|
+
T.push(K);
|
|
5138
5136
|
}
|
|
5139
5137
|
} else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5140
5138
|
const K = F.point([x, _], {
|
|
5141
5139
|
val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
|
|
5142
5140
|
spd: (ee = k[_].spd) == null ? void 0 : ee[R]
|
|
5143
5141
|
});
|
|
5144
|
-
|
|
5142
|
+
T.push(K);
|
|
5145
5143
|
}
|
|
5146
5144
|
}) : z.forEach((x, R) => {
|
|
5147
5145
|
var H, Y, G, W, $, ee;
|
|
@@ -5151,14 +5149,14 @@ const Pr = {
|
|
|
5151
5149
|
val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
|
|
5152
5150
|
spd: (G = k[_].spd) == null ? void 0 : G[R]
|
|
5153
5151
|
});
|
|
5154
|
-
|
|
5152
|
+
T.push(K);
|
|
5155
5153
|
}
|
|
5156
5154
|
} else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5157
5155
|
const K = F.point([x, _], {
|
|
5158
5156
|
val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
|
|
5159
5157
|
spd: (ee = k[_].spd) == null ? void 0 : ee[R]
|
|
5160
5158
|
});
|
|
5161
|
-
|
|
5159
|
+
T.push(K);
|
|
5162
5160
|
}
|
|
5163
5161
|
});
|
|
5164
5162
|
}
|
|
@@ -5180,7 +5178,7 @@ const Pr = {
|
|
|
5180
5178
|
}
|
|
5181
5179
|
if (v.data) {
|
|
5182
5180
|
const _ = this.handleBboxClip(v.data, i);
|
|
5183
|
-
|
|
5181
|
+
T = T.concat(_);
|
|
5184
5182
|
}
|
|
5185
5183
|
t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("swell height elapsed: ", t, ", total: ", e += t);
|
|
5186
5184
|
}
|
|
@@ -5198,14 +5196,14 @@ const Pr = {
|
|
|
5198
5196
|
val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
|
|
5199
5197
|
spd: (G = k[_].spd) == null ? void 0 : G[R]
|
|
5200
5198
|
});
|
|
5201
|
-
|
|
5199
|
+
T.push(K);
|
|
5202
5200
|
}
|
|
5203
5201
|
} else if ((x >= r && x <= 180 || x >= -180 && x <= s) && (!(a <= this.zoom) || x % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5204
5202
|
const K = F.point([x, _], {
|
|
5205
5203
|
val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
|
|
5206
5204
|
spd: (ee = k[_].spd) == null ? void 0 : ee[R]
|
|
5207
5205
|
});
|
|
5208
|
-
|
|
5206
|
+
T.push(K);
|
|
5209
5207
|
}
|
|
5210
5208
|
}) : z.forEach((x, R) => {
|
|
5211
5209
|
var H, Y, G, W, $, ee;
|
|
@@ -5215,14 +5213,14 @@ const Pr = {
|
|
|
5215
5213
|
val: ((H = k[_].val) == null ? void 0 : H[R]) || ((Y = k[_].dir) == null ? void 0 : Y[R]),
|
|
5216
5214
|
spd: (G = k[_].spd) == null ? void 0 : G[R]
|
|
5217
5215
|
});
|
|
5218
|
-
|
|
5216
|
+
T.push(K);
|
|
5219
5217
|
}
|
|
5220
5218
|
} else if (x >= r && x <= s && (!(a <= this.zoom) || x % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
5221
5219
|
const K = F.point([x, _], {
|
|
5222
5220
|
val: ((W = k[_].val) == null ? void 0 : W[R]) || (($ = k[_].dir) == null ? void 0 : $[R]),
|
|
5223
5221
|
spd: (ee = k[_].spd) == null ? void 0 : ee[R]
|
|
5224
5222
|
});
|
|
5225
|
-
|
|
5223
|
+
T.push(K);
|
|
5226
5224
|
}
|
|
5227
5225
|
});
|
|
5228
5226
|
}
|
|
@@ -5243,7 +5241,7 @@ const Pr = {
|
|
|
5243
5241
|
v.data = F.featureCollection(z);
|
|
5244
5242
|
}
|
|
5245
5243
|
const _ = a < this.zoom ? v.data.features.filter((z) => z.properties.val > 0.5) : v.data.features;
|
|
5246
|
-
|
|
5244
|
+
T = T.concat(_), t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("current speed elapsed: ", t, ", total: ", e += t);
|
|
5247
5245
|
}
|
|
5248
5246
|
} else if (P === "wind") {
|
|
5249
5247
|
E = !0;
|
|
@@ -5259,14 +5257,14 @@ const Pr = {
|
|
|
5259
5257
|
dir: ((R = k[v].val) == null ? void 0 : R[x]) || ((H = k[v].dir) == null ? void 0 : H[x]),
|
|
5260
5258
|
spd: k[v].spd[x]
|
|
5261
5259
|
});
|
|
5262
|
-
|
|
5260
|
+
T.push(W);
|
|
5263
5261
|
}
|
|
5264
5262
|
} else if ((z >= r && z <= 180 || z >= -180 && z <= s) && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5265
5263
|
const W = F.point([z, v], {
|
|
5266
5264
|
dir: ((Y = k[v].val) == null ? void 0 : Y[x]) || ((G = k[v].dir) == null ? void 0 : G[x]),
|
|
5267
5265
|
spd: k[v].spd[x]
|
|
5268
5266
|
});
|
|
5269
|
-
|
|
5267
|
+
T.push(W);
|
|
5270
5268
|
}
|
|
5271
5269
|
}) : _.forEach((z, x) => {
|
|
5272
5270
|
var R, H, Y, G;
|
|
@@ -5276,21 +5274,21 @@ const Pr = {
|
|
|
5276
5274
|
dir: ((R = k[v].val) == null ? void 0 : R[x]) || ((H = k[v].dir) == null ? void 0 : H[x]),
|
|
5277
5275
|
spd: k[v].spd[x]
|
|
5278
5276
|
});
|
|
5279
|
-
|
|
5277
|
+
T.push(W);
|
|
5280
5278
|
}
|
|
5281
5279
|
} else if (z >= r && z <= s && (!(a <= this.zoom) || z % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
5282
5280
|
const W = F.point([z, v], {
|
|
5283
5281
|
dir: ((Y = k[v].val) == null ? void 0 : Y[x]) || ((G = k[v].dir) == null ? void 0 : G[x]),
|
|
5284
5282
|
spd: k[v].spd[x]
|
|
5285
5283
|
});
|
|
5286
|
-
|
|
5284
|
+
T.push(W);
|
|
5287
5285
|
}
|
|
5288
5286
|
});
|
|
5289
5287
|
}
|
|
5290
5288
|
t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("wind barb elapsed: ", t, ", total: ", e += t);
|
|
5291
5289
|
} else if (P === "sig-wave-height") {
|
|
5292
5290
|
if (this.weatherLayers[P].data)
|
|
5293
|
-
|
|
5291
|
+
T = this.weatherLayers[P].data;
|
|
5294
5292
|
else {
|
|
5295
5293
|
E = !0;
|
|
5296
5294
|
const k = this.weatherLayers[P].raw;
|
|
@@ -5314,13 +5312,13 @@ const Pr = {
|
|
|
5314
5312
|
})
|
|
5315
5313
|
);
|
|
5316
5314
|
}
|
|
5317
|
-
|
|
5315
|
+
T = T.concat(v);
|
|
5318
5316
|
}
|
|
5319
5317
|
}
|
|
5320
5318
|
t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("sig-wave-height elapsed: ", t, ", total: ", e += t);
|
|
5321
5319
|
} else if (P === "prmsl") {
|
|
5322
5320
|
if (this.weatherLayers[P].data)
|
|
5323
|
-
|
|
5321
|
+
T = this.weatherLayers[P].data;
|
|
5324
5322
|
else {
|
|
5325
5323
|
E = !0;
|
|
5326
5324
|
const k = this.weatherLayers[P].raw;
|
|
@@ -5344,12 +5342,12 @@ const Pr = {
|
|
|
5344
5342
|
})
|
|
5345
5343
|
);
|
|
5346
5344
|
});
|
|
5347
|
-
|
|
5345
|
+
T = T.concat(v);
|
|
5348
5346
|
}
|
|
5349
5347
|
}
|
|
5350
5348
|
t = (/* @__PURE__ */ new Date()).valueOf() - (o + e), console.log("prmsl elapsed: ", t, ", total: ", e += t);
|
|
5351
5349
|
}
|
|
5352
|
-
|
|
5350
|
+
T.length && (this.weatherLayers[P].data = F.featureCollection(T)), E && (this.weatherLayers[P].version = Math.random() + 1);
|
|
5353
5351
|
}
|
|
5354
5352
|
}
|
|
5355
5353
|
},
|
|
@@ -5374,20 +5372,20 @@ const Pr = {
|
|
|
5374
5372
|
}), t;
|
|
5375
5373
|
}
|
|
5376
5374
|
}
|
|
5377
|
-
},
|
|
5375
|
+
}, Pr = { class: "idm-gl4-meteo-layers" }, Cr = { class: "header-box d-flex justify-space-between align-center pl-4 pr-4" }, Sr = { class: "d-flex justify-start align-center ga-3" }, Mr = { class: "text-h5" }, Tr = { class: "layers-body" }, Rr = { class: "layers-body" }, Ir = {
|
|
5378
5376
|
key: 0,
|
|
5379
5377
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5380
|
-
},
|
|
5378
|
+
}, Ar = {
|
|
5381
5379
|
key: 1,
|
|
5382
5380
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5383
|
-
},
|
|
5381
|
+
}, Dr = { class: "text-body-1 py-2" }, Or = { class: "text-body-1 font-weight-medium" }, Br = { class: "text-body-2 opacity-70" }, jr = {
|
|
5384
5382
|
key: 0,
|
|
5385
5383
|
class: "text-body-2 opacity-70 mb-3"
|
|
5386
|
-
},
|
|
5387
|
-
function
|
|
5384
|
+
}, Er = { class: "text-body-1 py-2" }, Fr = { class: "text-body-1 font-weight-medium" }, Nr = { class: "text-body-2 opacity-70" }, Hr = { class: "text-body-2 opacity-70 pb-1" };
|
|
5385
|
+
function Gr(o, e, t, i, a, r) {
|
|
5388
5386
|
var K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te;
|
|
5389
|
-
const s = w("VBtn"), c = w("VTooltip"), n = w("VSwitch"), u = w("VCardTitle"), d = w("VCardItem"), m = w("VCheckbox"), b = w("VCardText"), f = w("VCard"), L = w("VBtnToggle"), S = w("VDivider"), P = w("IdmWindBarb"), E = w("IdmSigWaveHeight"),
|
|
5390
|
-
return y(),
|
|
5387
|
+
const s = w("VBtn"), c = w("VTooltip"), n = w("VSwitch"), u = w("VCardTitle"), d = w("VCardItem"), m = w("VCheckbox"), b = w("VCardText"), f = w("VCard"), L = w("VBtnToggle"), S = w("VDivider"), P = w("IdmWindBarb"), E = w("IdmSigWaveHeight"), T = w("IdmCurrentDirection"), k = w("IdmPrmsl"), v = w("IdmWindParticle"), _ = w("IdmCurrentParticle"), z = w("IdmWave"), x = w("IdmSwell"), R = w("IdmIceEdge"), H = w("IdmIceCover"), Y = w("IdmIceThickness"), G = w("IdmPrecip3h"), W = w("IdmVisibility"), $ = w("IdmWaterTemp"), ee = w("IdmTemp");
|
|
5388
|
+
return y(), M("div", Pr, [
|
|
5391
5389
|
l("div", {
|
|
5392
5390
|
class: "menu-bar-box transition pa-1",
|
|
5393
5391
|
style: Q({ top: t.top + 94 + "px", right: a.right + "px" })
|
|
@@ -5417,12 +5415,12 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5417
5415
|
}, 8, ["text"])
|
|
5418
5416
|
], 4),
|
|
5419
5417
|
l("div", {
|
|
5420
|
-
class:
|
|
5418
|
+
class: je(["available-layers transition flex-center", a.toggle ? "right-bar" : ""]),
|
|
5421
5419
|
style: Q({ top: t.top + "px", right: a.toggle ? "0px" : "-280px" })
|
|
5422
5420
|
}, [
|
|
5423
|
-
l("div",
|
|
5424
|
-
l("div",
|
|
5425
|
-
l("div",
|
|
5421
|
+
l("div", Cr, [
|
|
5422
|
+
l("div", Sr, [
|
|
5423
|
+
l("div", Mr, C(o.$t("weather.weather")), 1),
|
|
5426
5424
|
h(n, {
|
|
5427
5425
|
modelValue: a.autoActive,
|
|
5428
5426
|
"onUpdate:modelValue": e[0] || (e[0] = (te) => a.autoActive = te),
|
|
@@ -5449,7 +5447,7 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5449
5447
|
}, 8, ["onClick"])
|
|
5450
5448
|
]),
|
|
5451
5449
|
l("div", {
|
|
5452
|
-
class:
|
|
5450
|
+
class: je(["list-box scroll pl-4 pr-2 overflow-y-auto", a.autoActive ? "" : "cursor-not-allowed"])
|
|
5453
5451
|
}, [
|
|
5454
5452
|
h(f, {
|
|
5455
5453
|
class: "menu-card mx-auto my-3",
|
|
@@ -5472,8 +5470,8 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5472
5470
|
}),
|
|
5473
5471
|
h(b, null, {
|
|
5474
5472
|
default: g(() => [
|
|
5475
|
-
l("div",
|
|
5476
|
-
(y(!0),
|
|
5473
|
+
l("div", Tr, [
|
|
5474
|
+
(y(!0), M(fe, null, _e(a.tagLayers.filter((te) => te.overlays), (te) => (y(), V(m, {
|
|
5477
5475
|
key: te.key,
|
|
5478
5476
|
modelValue: a.checkList,
|
|
5479
5477
|
"onUpdate:modelValue": e[1] || (e[1] = (de) => a.checkList = de),
|
|
@@ -5514,8 +5512,8 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5514
5512
|
}),
|
|
5515
5513
|
h(b, null, {
|
|
5516
5514
|
default: g(() => [
|
|
5517
|
-
l("div",
|
|
5518
|
-
(y(!0),
|
|
5515
|
+
l("div", Rr, [
|
|
5516
|
+
(y(!0), M(fe, null, _e(a.tagLayers.filter((te) => !te.overlays && te.key !== "ice-thickness"), (te) => (y(), M(fe, {
|
|
5519
5517
|
key: te.key
|
|
5520
5518
|
}, [
|
|
5521
5519
|
h(m, {
|
|
@@ -5530,7 +5528,7 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5530
5528
|
class: "flex-1-0-100 text-body-2",
|
|
5531
5529
|
"hide-details": ""
|
|
5532
5530
|
}, null, 8, ["modelValue", "value", "label", "disabled"]),
|
|
5533
|
-
a.checkList.includes("wind-particle") && te.key === "wind-particle" ? (y(),
|
|
5531
|
+
a.checkList.includes("wind-particle") && te.key === "wind-particle" ? (y(), M("div", Ir, [
|
|
5534
5532
|
e[8] || (e[8] = l("span", null, "Particle", -1)),
|
|
5535
5533
|
h(n, {
|
|
5536
5534
|
modelValue: a.showWindParticle,
|
|
@@ -5543,7 +5541,7 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5543
5541
|
"hide-details": ""
|
|
5544
5542
|
}, null, 8, ["modelValue"])
|
|
5545
5543
|
])) : O("", !0),
|
|
5546
|
-
a.checkList.includes("current-particle") && te.key === "current-particle" ? (y(),
|
|
5544
|
+
a.checkList.includes("current-particle") && te.key === "current-particle" ? (y(), M("div", Ar, [
|
|
5547
5545
|
e[9] || (e[9] = l("span", null, "Particle", -1)),
|
|
5548
5546
|
h(n, {
|
|
5549
5547
|
modelValue: a.showCurrentParticle,
|
|
@@ -5630,27 +5628,27 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5630
5628
|
default: g(() => {
|
|
5631
5629
|
var te, de, we, Re;
|
|
5632
5630
|
return [
|
|
5633
|
-
l("div",
|
|
5634
|
-
(y(!0),
|
|
5631
|
+
l("div", Dr, C(o.$t("weather.atmospheric")), 1),
|
|
5632
|
+
(y(!0), M(fe, null, _e((de = (te = a.sourceList) == null ? void 0 : te.weather) == null ? void 0 : de.filter((J) => J.model !== "best_match"), (J) => {
|
|
5635
5633
|
var Ce, xe, ie, ue, N, Le;
|
|
5636
|
-
return y(),
|
|
5634
|
+
return y(), M(fe, {
|
|
5637
5635
|
key: `source${J.name}`
|
|
5638
5636
|
}, [
|
|
5639
|
-
l("div",
|
|
5640
|
-
l("div",
|
|
5641
|
-
(ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) != null && ie.initialisationTime ? (y(),
|
|
5637
|
+
l("div", Or, C(J.name) + " " + C(J.resolution) + C(o.$t("units.km")) + " " + C(J.length) + C(o.$t("units.days")), 1),
|
|
5638
|
+
l("div", Br, C(o.$t("weather.source")) + ": " + C(J.provider), 1),
|
|
5639
|
+
(ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) != null && ie.initialisationTime ? (y(), M("div", jr, C(o.$t("weather.lastUpdate")) + ": " + C(r.computeDateZ((Le = (N = (ue = J == null ? void 0 : J.update) == null ? void 0 : ue.default) == null ? void 0 : N.meta) == null ? void 0 : Le.initialisationTime)), 1)) : O("", !0)
|
|
5642
5640
|
], 64);
|
|
5643
5641
|
}), 128)),
|
|
5644
5642
|
h(S),
|
|
5645
|
-
l("div",
|
|
5646
|
-
(y(!0),
|
|
5643
|
+
l("div", Er, C(o.$t("weather.marine")), 1),
|
|
5644
|
+
(y(!0), M(fe, null, _e((Re = (we = a.sourceList) == null ? void 0 : we.marine) == null ? void 0 : Re.filter((J) => J.model !== "best_match"), (J) => {
|
|
5647
5645
|
var Ce, xe, ie;
|
|
5648
|
-
return y(),
|
|
5646
|
+
return y(), M(fe, {
|
|
5649
5647
|
key: `source${J.name}`
|
|
5650
5648
|
}, [
|
|
5651
|
-
l("div",
|
|
5652
|
-
l("div",
|
|
5653
|
-
l("div",
|
|
5649
|
+
l("div", Fr, C(J.name) + " " + C(J.resolution) + C(o.$t("units.km")) + " " + C(J.length) + C(o.$t("units.days")), 1),
|
|
5650
|
+
l("div", Nr, C(o.$t("weather.source")) + ": " + C(J.provider), 1),
|
|
5651
|
+
l("div", Hr, C(o.$t("weather.lastUpdate")) + ": " + C(r.computeDateZ((ie = (xe = (Ce = J == null ? void 0 : J.update) == null ? void 0 : Ce.default) == null ? void 0 : xe.meta) == null ? void 0 : ie.initialisationTime)), 1)
|
|
5654
5652
|
], 64);
|
|
5655
5653
|
}), 128))
|
|
5656
5654
|
];
|
|
@@ -5679,7 +5677,7 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5679
5677
|
"menu-toggle": t.menuToggle,
|
|
5680
5678
|
"active-weather-layers": a.activeWeatherLayers
|
|
5681
5679
|
}, o.$attrs), null, 16, ["map", "sig-wave-height", "menu-toggle", "active-weather-layers"])) : O("", !0),
|
|
5682
|
-
t.map ? (y(), V(
|
|
5680
|
+
t.map ? (y(), V(T, j({
|
|
5683
5681
|
key: 2,
|
|
5684
5682
|
map: t.map,
|
|
5685
5683
|
"map-feather": t.mapFeather,
|
|
@@ -5764,7 +5762,7 @@ function Wr(o, e, t, i, a, r) {
|
|
|
5764
5762
|
}, o.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0)
|
|
5765
5763
|
]);
|
|
5766
5764
|
}
|
|
5767
|
-
const
|
|
5765
|
+
const Wr = /* @__PURE__ */ X(Lr, [["render", Gr]]), We = [
|
|
5768
5766
|
{
|
|
5769
5767
|
rank: 0,
|
|
5770
5768
|
name: "Best Match",
|
|
@@ -6111,19 +6109,19 @@ class Go {
|
|
|
6111
6109
|
}), a;
|
|
6112
6110
|
}
|
|
6113
6111
|
static pickHourly(e, t) {
|
|
6114
|
-
var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E,
|
|
6115
|
-
const ie = typeof t == "string" ? D(t) : t, ue = e == null ? void 0 : e.weather, N = e == null ? void 0 : e.marine, Le = D((a = (i = ue == null ? void 0 : ue[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Le.clone().add((c = (s = (r = ue == null ? void 0 : ue[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = Le.clone().add((d = (u = (n = ue == null ? void 0 : ue[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : d.at(-1), "h"),
|
|
6112
|
+
var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te, de, we, Re, J, Ce, xe;
|
|
6113
|
+
const ie = typeof t == "string" ? D(t) : t, ue = e == null ? void 0 : e.weather, N = e == null ? void 0 : e.marine, Le = D((a = (i = ue == null ? void 0 : ue[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), oe = Le.clone().add((c = (s = (r = ue == null ? void 0 : ue[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = Le.clone().add((d = (u = (n = ue == null ? void 0 : ue[0]) == null ? void 0 : n.hourly) == null ? void 0 : u.time) == null ? void 0 : d.at(-1), "h"), Ee = [];
|
|
6116
6114
|
if (ie.isBetween(oe, re, "millisecond", "[]")) {
|
|
6117
6115
|
const B = ie.utc().diff(oe, "h", !1);
|
|
6118
6116
|
let ye, Oe;
|
|
6119
6117
|
if (ue) {
|
|
6120
|
-
let
|
|
6118
|
+
let Fe = 0, Ne = 0;
|
|
6121
6119
|
for (const A of ue) {
|
|
6122
6120
|
const Z = A == null ? void 0 : A.hourly;
|
|
6123
6121
|
for (let Ae = B - (B - 1) % 3; Ae <= B; Ae++)
|
|
6124
|
-
|
|
6122
|
+
Fe += (m = Z == null ? void 0 : Z.precipitation) == null ? void 0 : m.at(Ae);
|
|
6125
6123
|
for (let Ae = B - (B - 1) % 6; Ae <= B; Ae++)
|
|
6126
|
-
|
|
6124
|
+
Ne += (b = Z == null ? void 0 : Z.precipitation) == null ? void 0 : b.at(Ae);
|
|
6127
6125
|
ye = {
|
|
6128
6126
|
temp: (f = Z == null ? void 0 : Z.temperature_2m) == null ? void 0 : f.at(B),
|
|
6129
6127
|
apparentTemp: (L = Z == null ? void 0 : Z.apparent_temperature) == null ? void 0 : L.at(B),
|
|
@@ -6131,9 +6129,9 @@ class Go {
|
|
|
6131
6129
|
dp: (P = Z == null ? void 0 : Z.dew_point_2m) == null ? void 0 : P.at(B),
|
|
6132
6130
|
precip: {
|
|
6133
6131
|
probability: (E = Z == null ? void 0 : Z.precipitation_probability) == null ? void 0 : E.at(B),
|
|
6134
|
-
sum: (
|
|
6135
|
-
sum3Hours: Math.round(
|
|
6136
|
-
sum6Hours: Math.round(
|
|
6132
|
+
sum: (T = Z == null ? void 0 : Z.precipitation) == null ? void 0 : T.at(B),
|
|
6133
|
+
sum3Hours: Math.round(Fe * 100) / 100,
|
|
6134
|
+
sum6Hours: Math.round(Ne * 100) / 100
|
|
6137
6135
|
},
|
|
6138
6136
|
pmsl: (k = Z == null ? void 0 : Z.pressure_msl) == null ? void 0 : k.at(B),
|
|
6139
6137
|
psurf: (v = Z == null ? void 0 : Z.surface_pressure) == null ? void 0 : v.at(B),
|
|
@@ -6149,7 +6147,7 @@ class Go {
|
|
|
6149
6147
|
isDay: ($ = Z == null ? void 0 : Z.is_day) == null ? void 0 : $.at(B)
|
|
6150
6148
|
};
|
|
6151
6149
|
const { name: Ye, url: Ze, bg: Xe } = this.parseWeatherCode(ye.code, ye.isDay);
|
|
6152
|
-
ye.name = Ye, ye.url = Ze, ye.bg = Xe, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree),
|
|
6150
|
+
ye.name = Ye, ye.url = Ze, ye.bg = Xe, ye.wind.scale = this.beaufort(this.kts2ms(ye.wind.kts)), ye.wind.direction = this.degree2Direction(ye.wind.degree), Ee.push({
|
|
6153
6151
|
utc: oe.add(B, "h").format(),
|
|
6154
6152
|
model: A.model,
|
|
6155
6153
|
weather: { ...ye }
|
|
@@ -6157,9 +6155,9 @@ class Go {
|
|
|
6157
6155
|
}
|
|
6158
6156
|
}
|
|
6159
6157
|
if (N) {
|
|
6160
|
-
let
|
|
6161
|
-
for (const
|
|
6162
|
-
const A =
|
|
6158
|
+
let Fe = 0;
|
|
6159
|
+
for (const Ne of N) {
|
|
6160
|
+
const A = Ne == null ? void 0 : Ne.hourly;
|
|
6163
6161
|
Oe = {
|
|
6164
6162
|
wave: {
|
|
6165
6163
|
sig: {
|
|
@@ -6191,11 +6189,11 @@ class Go {
|
|
|
6191
6189
|
},
|
|
6192
6190
|
sst: (Ce = A == null ? void 0 : A.sea_surface_temperature) == null ? void 0 : Ce.at(B),
|
|
6193
6191
|
height: (xe = A == null ? void 0 : A.sea_level_height_msl) == null ? void 0 : xe.at(B)
|
|
6194
|
-
}, Oe.wave = this.parseWave(Oe.wave, ye == null ? void 0 : ye.wind), Oe.current.direction = this.degree2Direction(Oe.current.degree), Object.assign(
|
|
6192
|
+
}, Oe.wave = this.parseWave(Oe.wave, ye == null ? void 0 : ye.wind), Oe.current.direction = this.degree2Direction(Oe.current.degree), Object.assign(Ee[Fe], Oe), Fe++;
|
|
6195
6193
|
}
|
|
6196
6194
|
}
|
|
6197
6195
|
}
|
|
6198
|
-
return
|
|
6196
|
+
return Ee;
|
|
6199
6197
|
}
|
|
6200
6198
|
static toLegacy(e) {
|
|
6201
6199
|
var t, i, a, r, s, c, n, u, d, m;
|
|
@@ -6220,7 +6218,7 @@ class Go {
|
|
|
6220
6218
|
};
|
|
6221
6219
|
}
|
|
6222
6220
|
static pickDaily(e, t) {
|
|
6223
|
-
var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E,
|
|
6221
|
+
var i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te;
|
|
6224
6222
|
const de = typeof t == "string" ? D(t) : t, we = e == null ? void 0 : e.weather, Re = e == null ? void 0 : e.marine, J = D((r = (a = (i = we == null ? void 0 : we[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), Ce = D((n = (c = (s = we == null ? void 0 : we[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), xe = [];
|
|
6225
6223
|
if (de.isBetween(J, Ce, "millisecond", "[]")) {
|
|
6226
6224
|
let ie, ue;
|
|
@@ -6243,7 +6241,7 @@ class Go {
|
|
|
6243
6241
|
sum: (S = oe.precipitation_sum) == null ? void 0 : S.at(N),
|
|
6244
6242
|
rainSum: (P = oe.rain_sum) == null ? void 0 : P.at(N),
|
|
6245
6243
|
snowfallSum: (E = oe.snowfall_sum) == null ? void 0 : E.at(N),
|
|
6246
|
-
showersSum: (
|
|
6244
|
+
showersSum: (T = oe.showers_sum) == null ? void 0 : T.at(N),
|
|
6247
6245
|
hours: (k = oe.precipitation_hours) == null ? void 0 : k.at(N),
|
|
6248
6246
|
probability: (v = oe.precipitation_probability_max) == null ? void 0 : v.at(N)
|
|
6249
6247
|
},
|
|
@@ -6260,8 +6258,8 @@ class Go {
|
|
|
6260
6258
|
bearing: ((W = oe.wind_direction_10m_dominant) == null ? void 0 : W.at(N)) !== null ? ((($ = oe.wind_direction_10m_dominant) == null ? void 0 : $.at(N)) + 180) % 360 : null
|
|
6261
6259
|
}
|
|
6262
6260
|
};
|
|
6263
|
-
const { name: re, url:
|
|
6264
|
-
ie.name = re, ie.url =
|
|
6261
|
+
const { name: re, url: Ee, bg: B } = this.parseWeatherCode(ie.code, !0);
|
|
6262
|
+
ie.name = re, ie.url = Ee, ie.bg = B, ie.wind.scale = this.beaufort(this.kts2ms(ie.wind.kts)), ie.wind.direction = this.degree2Direction(ie.wind.degree), xe.push({
|
|
6265
6263
|
utc: J.add(N, "d").utc().format(),
|
|
6266
6264
|
model: Le.model,
|
|
6267
6265
|
weather: { ...ie }
|
|
@@ -6700,7 +6698,7 @@ class Go {
|
|
|
6700
6698
|
return isNaN(e) || e <= 0.1 ? t = "Calm" : e <= 0.5 ? t = "Smooth" : e <= 1.25 ? t = "Slight" : e <= 2.5 ? t = "Moderate" : e <= 4 ? t = "Rough" : e <= 6 ? t = "VeryRough" : e <= 9 ? t = "High" : e <= 14 ? t = "VeryHigh" : t = "Precipitous", t;
|
|
6701
6699
|
}
|
|
6702
6700
|
}
|
|
6703
|
-
const
|
|
6701
|
+
const Ur = {
|
|
6704
6702
|
name: "IdmTropicals",
|
|
6705
6703
|
props: {
|
|
6706
6704
|
map: {
|
|
@@ -7143,7 +7141,7 @@ const Vr = {
|
|
|
7143
7141
|
);
|
|
7144
7142
|
},
|
|
7145
7143
|
handleDateChange() {
|
|
7146
|
-
var o, e, t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E,
|
|
7144
|
+
var o, e, t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K;
|
|
7147
7145
|
if ((o = this.interpolateMarkers) == null || o.forEach((se) => se == null ? void 0 : se.remove()), this.circleSourceData.features = [], (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
7148
7146
|
const se = D(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), me = this.interpolateData.filter((q) => q.properties.date === se.format() && !q.properties.disabled), pe = this.handleComputePolygons(me), he = F.featureCollection([...me]);
|
|
7149
7147
|
pe.forEach((q) => {
|
|
@@ -7165,7 +7163,7 @@ const Vr = {
|
|
|
7165
7163
|
for (const q of me)
|
|
7166
7164
|
if (!q.properties.disabled) {
|
|
7167
7165
|
let I = "#f44336";
|
|
7168
|
-
((c = (s = q.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = q.properties) == null ? void 0 : n.wind) != null && u.kts) ? I = "#03f869" : ((m = (d = q.properties) == null ? void 0 : d.wind) == null ? void 0 : m.kts) >= 32 && ((f = (b = q.properties) == null ? void 0 : b.wind) == null ? void 0 : f.kts) < 47 ? I = "#f2f202" : ((S = (L = q.properties) == null ? void 0 : L.wind) == null ? void 0 : S.kts) >= 47 && ((E = (P = q.properties) == null ? void 0 : P.wind) == null ? void 0 : E.kts) < 63 ? I = "#ff9100" : ((k = (
|
|
7166
|
+
((c = (s = q.properties) == null ? void 0 : s.wind) == null ? void 0 : c.kts) < 32 || !((u = (n = q.properties) == null ? void 0 : n.wind) != null && u.kts) ? I = "#03f869" : ((m = (d = q.properties) == null ? void 0 : d.wind) == null ? void 0 : m.kts) >= 32 && ((f = (b = q.properties) == null ? void 0 : b.wind) == null ? void 0 : f.kts) < 47 ? I = "#f2f202" : ((S = (L = q.properties) == null ? void 0 : L.wind) == null ? void 0 : S.kts) >= 47 && ((E = (P = q.properties) == null ? void 0 : P.wind) == null ? void 0 : E.kts) < 63 ? I = "#ff9100" : ((k = (T = q.properties) == null ? void 0 : T.wind) == null ? void 0 : k.kts) >= 63 && ((_ = (v = q.properties) == null ? void 0 : v.wind) == null ? void 0 : _.kts) < 79 ? I = "#f44336" : ((x = (z = q.properties) == null ? void 0 : z.wind) == null ? void 0 : x.kts) >= 79 && ((H = (R = q.properties) == null ? void 0 : R.wind) == null ? void 0 : H.kts) < 94 ? I = "#f903d0" : ((G = (Y = q.properties) == null ? void 0 : Y.wind) == null ? void 0 : G.kts) >= 94 ? I = "#8702f9" : I = "#f44336";
|
|
7169
7167
|
const ne = `<svg t="1719918955501"
|
|
7170
7168
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
7171
7169
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -7293,10 +7291,10 @@ const Vr = {
|
|
|
7293
7291
|
return F.lineToPolygon(a, { properties: t });
|
|
7294
7292
|
}
|
|
7295
7293
|
}
|
|
7296
|
-
},
|
|
7297
|
-
function
|
|
7294
|
+
}, Vr = { class: "idm-tropical-gl4" }, Yr = { key: 0 }, Zr = { class: "text-body-2 opacity-50" }, Xr = { class: "pa-1 d-flex justify-space-between align-center" }, qr = { class: "col col-left justify-start" }, Kr = { class: "col col-right justify-start" }, Jr = { class: "px-1 py-2 d-flex justify-space-between align-center" }, Qr = { class: "d-flex justify-space-between align-center col-left justify-start" }, $r = { class: "d-flex justify-space-between align-center col-right" }, el = { class: "pa-1 d-flex justify-space-between align-center" }, tl = { class: "d-flex justify-space-between align-center flex-1-1-100" }, ol = { class: "d-flex justify-end align-center flex-1-1-0 flex-wrap" }, al = ["onClick"];
|
|
7295
|
+
function il(o, e, t, i, a, r) {
|
|
7298
7296
|
const s = w("v-btn"), c = w("v-tooltip"), n = w("v-card-title"), u = w("v-card-subtitle"), d = w("v-card-item"), m = w("v-card-text"), b = w("v-card");
|
|
7299
|
-
return y(),
|
|
7297
|
+
return y(), M("div", Vr, [
|
|
7300
7298
|
l("div", {
|
|
7301
7299
|
class: "menu-bar-box transition pa-1",
|
|
7302
7300
|
style: Q({ top: t.top + 134 + "px", right: a.right + "px" })
|
|
@@ -7342,7 +7340,7 @@ function rl(o, e, t, i, a, r) {
|
|
|
7342
7340
|
var f, L, S, P, E;
|
|
7343
7341
|
return [
|
|
7344
7342
|
l("div", null, [
|
|
7345
|
-
(L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.level ? (y(),
|
|
7343
|
+
(L = (f = a.activeTropicals) == null ? void 0 : f.history) != null && L.level ? (y(), M("span", Yr, C((P = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : P.level) + " , ", 1)) : O("", !0),
|
|
7346
7344
|
U(C((E = a.activeTropicals) == null ? void 0 : E.name), 1)
|
|
7347
7345
|
]),
|
|
7348
7346
|
h(s, {
|
|
@@ -7350,7 +7348,7 @@ function rl(o, e, t, i, a, r) {
|
|
|
7350
7348
|
size: "small",
|
|
7351
7349
|
density: "comfortable",
|
|
7352
7350
|
variant: "plain",
|
|
7353
|
-
onClick: e[0] || (e[0] = (
|
|
7351
|
+
onClick: e[0] || (e[0] = (T) => a.showTropicalsInfo = !1)
|
|
7354
7352
|
})
|
|
7355
7353
|
];
|
|
7356
7354
|
}),
|
|
@@ -7360,7 +7358,7 @@ function rl(o, e, t, i, a, r) {
|
|
|
7360
7358
|
default: g(() => {
|
|
7361
7359
|
var f, L, S, P, E;
|
|
7362
7360
|
return [
|
|
7363
|
-
l("span",
|
|
7361
|
+
l("span", Zr, " Last update: " + C(r.computeTime(((L = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : L.updated) || ((E = (P = (S = a.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : P.filter((T) => !T.disabled)[0]) == null ? void 0 : E.date))), 1)
|
|
7364
7362
|
];
|
|
7365
7363
|
}),
|
|
7366
7364
|
_: 1
|
|
@@ -7370,38 +7368,38 @@ function rl(o, e, t, i, a, r) {
|
|
|
7370
7368
|
}),
|
|
7371
7369
|
h(m, { class: "main-box" }, {
|
|
7372
7370
|
default: g(() => {
|
|
7373
|
-
var f, L, S, P, E,
|
|
7371
|
+
var f, L, S, P, E, T, k, v, _;
|
|
7374
7372
|
return [
|
|
7375
|
-
l("div",
|
|
7376
|
-
l("div",
|
|
7373
|
+
l("div", Xr, [
|
|
7374
|
+
l("div", qr, [
|
|
7377
7375
|
e[2] || (e[2] = l("label", null, "Wind speed : ", -1)),
|
|
7378
7376
|
l("span", null, C(((L = (f = a.activeTropicals) == null ? void 0 : f.history) == null ? void 0 : L.kts) || "-") + " [kts]", 1),
|
|
7379
7377
|
l("span", null, ", BF " + C(r.computeBF(((P = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : P.kts) || 0)), 1)
|
|
7380
7378
|
]),
|
|
7381
|
-
l("div",
|
|
7379
|
+
l("div", Kr, [
|
|
7382
7380
|
e[3] || (e[3] = l("label", null, "Pressure : ", -1)),
|
|
7383
|
-
l("span", null, C(((
|
|
7381
|
+
l("span", null, C(((T = (E = a.activeTropicals) == null ? void 0 : E.history) == null ? void 0 : T.pressure) || "-") + " [hPa]", 1)
|
|
7384
7382
|
])
|
|
7385
7383
|
]),
|
|
7386
|
-
l("div",
|
|
7387
|
-
l("div",
|
|
7384
|
+
l("div", Jr, [
|
|
7385
|
+
l("div", Qr, [
|
|
7388
7386
|
e[4] || (e[4] = l("label", null, "Move Speed: ", -1)),
|
|
7389
7387
|
l("span", null, C((k = r.computeMovement(a.activeTropicals)) == null ? void 0 : k.kts) + " [kts]", 1)
|
|
7390
7388
|
]),
|
|
7391
|
-
l("div",
|
|
7389
|
+
l("div", $r, [
|
|
7392
7390
|
e[5] || (e[5] = l("label", null, "Move Dir: ", -1)),
|
|
7393
7391
|
l("span", null, C((v = r.computeMovement(a.activeTropicals)) == null ? void 0 : v.deg) + " [°]", 1)
|
|
7394
7392
|
])
|
|
7395
7393
|
]),
|
|
7396
|
-
l("div",
|
|
7397
|
-
l("div",
|
|
7394
|
+
l("div", el, [
|
|
7395
|
+
l("div", tl, [
|
|
7398
7396
|
e[6] || (e[6] = l("label", { style: { width: "max-content" } }, "Forecast Models : ", -1)),
|
|
7399
|
-
l("div",
|
|
7400
|
-
(y(!0),
|
|
7397
|
+
l("div", ol, [
|
|
7398
|
+
(y(!0), M(fe, null, _e((_ = a.activeTropicals) == null ? void 0 : _.forecasts, (z, x) => {
|
|
7401
7399
|
var R, H, Y, G;
|
|
7402
|
-
return y(),
|
|
7400
|
+
return y(), M("div", {
|
|
7403
7401
|
key: x,
|
|
7404
|
-
class:
|
|
7402
|
+
class: je([
|
|
7405
7403
|
"model",
|
|
7406
7404
|
z.disabled ? "" : "active",
|
|
7407
7405
|
x > 0 && x < ((H = (R = a.activeTropicals) == null ? void 0 : R.forecasts) == null ? void 0 : H.length) - 1 && ((G = (Y = a.activeTropicals) == null ? void 0 : Y.forecasts) == null ? void 0 : G.length) > 2 ? "center-child" : ""
|
|
@@ -7409,9 +7407,9 @@ function rl(o, e, t, i, a, r) {
|
|
|
7409
7407
|
onClick: (W) => r.handleForecastToggle(z)
|
|
7410
7408
|
}, [
|
|
7411
7409
|
l("span", {
|
|
7412
|
-
class:
|
|
7410
|
+
class: je(z.model)
|
|
7413
7411
|
}, C(z.model), 3)
|
|
7414
|
-
], 10,
|
|
7412
|
+
], 10, al);
|
|
7415
7413
|
}), 128))
|
|
7416
7414
|
])
|
|
7417
7415
|
])
|
|
@@ -7468,8 +7466,8 @@ function rl(o, e, t, i, a, r) {
|
|
|
7468
7466
|
])
|
|
7469
7467
|
]);
|
|
7470
7468
|
}
|
|
7471
|
-
const Uo = /* @__PURE__ */ X(
|
|
7472
|
-
const
|
|
7469
|
+
const Uo = /* @__PURE__ */ X(Ur, [["render", il]]);
|
|
7470
|
+
const rl = {
|
|
7473
7471
|
name: "DateTimePicker",
|
|
7474
7472
|
props: {
|
|
7475
7473
|
locale: {
|
|
@@ -7607,19 +7605,19 @@ const ll = {
|
|
|
7607
7605
|
this.currentDate = o.clone().format("YYYY-MM-DD"), this.currentTime = o.clone().format("HH:00");
|
|
7608
7606
|
}
|
|
7609
7607
|
}
|
|
7610
|
-
},
|
|
7608
|
+
}, ll = { class: "idm-gl4-timepicker" }, sl = {
|
|
7611
7609
|
class: "pa-0",
|
|
7612
7610
|
style: { width: "250px" }
|
|
7613
|
-
},
|
|
7611
|
+
}, nl = {
|
|
7614
7612
|
class: "h-100 pa-0 d-flex flex-column justify-start align-center",
|
|
7615
7613
|
style: { width: "100px" }
|
|
7616
|
-
},
|
|
7614
|
+
}, cl = {
|
|
7617
7615
|
class: "d-flex justify-center align-center text-body-2",
|
|
7618
7616
|
style: { height: "56px" }
|
|
7619
7617
|
};
|
|
7620
|
-
function
|
|
7618
|
+
function ml(o, e, t, i, a, r) {
|
|
7621
7619
|
const s = w("VBtn"), c = w("VDatePicker"), n = w("VDivider"), u = w("VListItemTitle"), d = w("VListItem"), m = w("VList"), b = w("VCardText"), f = w("VCardActions"), L = w("VCard");
|
|
7622
|
-
return y(),
|
|
7620
|
+
return y(), M("div", ll, [
|
|
7623
7621
|
h(s, {
|
|
7624
7622
|
text: "",
|
|
7625
7623
|
height: "30",
|
|
@@ -7638,7 +7636,7 @@ function hl(o, e, t, i, a, r) {
|
|
|
7638
7636
|
default: g(() => [
|
|
7639
7637
|
h(b, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
7640
7638
|
default: g(() => [
|
|
7641
|
-
l("div",
|
|
7639
|
+
l("div", sl, [
|
|
7642
7640
|
h(c, {
|
|
7643
7641
|
modelValue: a.currentDate,
|
|
7644
7642
|
"onUpdate:modelValue": e[0] || (e[0] = (S) => a.currentDate = S),
|
|
@@ -7657,11 +7655,11 @@ function hl(o, e, t, i, a, r) {
|
|
|
7657
7655
|
class: "h-100",
|
|
7658
7656
|
vertical: ""
|
|
7659
7657
|
}),
|
|
7660
|
-
l("div",
|
|
7661
|
-
l("div",
|
|
7658
|
+
l("div", nl, [
|
|
7659
|
+
l("div", cl, C(a.currentTime), 1),
|
|
7662
7660
|
h(m, { class: "pa-0 flex-1-1-0" }, {
|
|
7663
7661
|
default: g(() => [
|
|
7664
|
-
(y(!0),
|
|
7662
|
+
(y(!0), M(fe, null, _e(r.hourOptions, (S, P) => (y(), V(d, {
|
|
7665
7663
|
key: P,
|
|
7666
7664
|
value: S,
|
|
7667
7665
|
variant: "flat",
|
|
@@ -7730,8 +7728,8 @@ function hl(o, e, t, i, a, r) {
|
|
|
7730
7728
|
})) : O("", !0)
|
|
7731
7729
|
]);
|
|
7732
7730
|
}
|
|
7733
|
-
const Je = /* @__PURE__ */ X(
|
|
7734
|
-
const
|
|
7731
|
+
const Je = /* @__PURE__ */ X(rl, [["render", ml]]);
|
|
7732
|
+
const hl = {
|
|
7735
7733
|
name: "IdmPoint",
|
|
7736
7734
|
components: {
|
|
7737
7735
|
DateTimePicker: Je
|
|
@@ -7740,6 +7738,10 @@ const dl = {
|
|
|
7740
7738
|
token: {
|
|
7741
7739
|
type: String
|
|
7742
7740
|
},
|
|
7741
|
+
theme: {
|
|
7742
|
+
type: String,
|
|
7743
|
+
default: "zh"
|
|
7744
|
+
},
|
|
7743
7745
|
map: {
|
|
7744
7746
|
type: Object
|
|
7745
7747
|
},
|
|
@@ -7881,6 +7883,11 @@ const dl = {
|
|
|
7881
7883
|
this.form.forecastModel = this.forecastModel;
|
|
7882
7884
|
},
|
|
7883
7885
|
immediate: !0
|
|
7886
|
+
},
|
|
7887
|
+
"form.forecastModel": {
|
|
7888
|
+
handler(o, e) {
|
|
7889
|
+
!o && e && (this.form.forecastModel = e === "GFS" ? "ECMWF" : "GFS");
|
|
7890
|
+
}
|
|
7884
7891
|
}
|
|
7885
7892
|
},
|
|
7886
7893
|
mounted() {
|
|
@@ -7952,10 +7959,10 @@ const dl = {
|
|
|
7952
7959
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
|
|
7953
7960
|
},
|
|
7954
7961
|
initTableData(o) {
|
|
7955
|
-
var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E,
|
|
7962
|
+
var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze;
|
|
7956
7963
|
this.currentHourData = {}, this.positionGmt = (i = (t = o == null ? void 0 : o.weather) == null ? void 0 : t[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = o == null ? void 0 : o.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
7957
7964
|
const e = ((s = qe.pickHourly(o, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
|
|
7958
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((m = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((b = e == null ? void 0 : e.weather) == null ? void 0 : b.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((L = (f = e == null ? void 0 : e.weather) == null ? void 0 : f.wind) == null ? void 0 : L.kts, 1) ?? "-", this.currentHourData.windDir = (P = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : P.direction, this.currentHourData.windLevel = this.roundPrecision((
|
|
7965
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((m = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : m.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((b = e == null ? void 0 : e.weather) == null ? void 0 : b.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((L = (f = e == null ? void 0 : e.weather) == null ? void 0 : f.wind) == null ? void 0 : L.kts, 1) ?? "-", this.currentHourData.windDir = (P = (S = e == null ? void 0 : e.weather) == null ? void 0 : S.wind) == null ? void 0 : P.direction, this.currentHourData.windLevel = this.roundPrecision((T = (E = e == null ? void 0 : e.weather) == null ? void 0 : E.wind) == null ? void 0 : T.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((v = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : v.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((z = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (R = (x = e == null ? void 0 : e.wave) == null ? void 0 : x.sig) == null ? void 0 : R.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((Y = (H = e == null ? void 0 : e.wave) == null ? void 0 : H.sig) == null ? void 0 : Y.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((W = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.wd) == null ? void 0 : W.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (q = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ne = (I = e == null ? void 0 : e.wave) == null ? void 0 : I.swell) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((ge = e == null ? void 0 : e.current) == null ? void 0 : ge.speed, 1) ?? "-", this.currentHourData.currentDir = (be = e == null ? void 0 : e.current) == null ? void 0 : be.direction, this.currentHourData.currentSpeed = this.roundPrecision((ke = e == null ? void 0 : e.current) == null ? void 0 : ke.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ze = e == null ? void 0 : e.weather) == null ? void 0 : ze.url;
|
|
7959
7966
|
},
|
|
7960
7967
|
handleBind() {
|
|
7961
7968
|
var o, e;
|
|
@@ -8012,10 +8019,22 @@ const dl = {
|
|
|
8012
8019
|
this.$emit("follow", "point", this.point);
|
|
8013
8020
|
}
|
|
8014
8021
|
}
|
|
8015
|
-
},
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8022
|
+
}, dl = { class: "idm-gl4-spot" }, pl = { class: "d-flex justify-start align-center ga-1 mb-1" }, ul = {
|
|
8023
|
+
class: "multi-color-icon",
|
|
8024
|
+
"aria-hidden": "true"
|
|
8025
|
+
}, gl = ["xlink:href"], fl = { class: "d-flex justify-start align-center ga-1 mb-1" }, bl = {
|
|
8026
|
+
class: "multi-color-icon",
|
|
8027
|
+
"aria-hidden": "true"
|
|
8028
|
+
}, yl = ["xlink:href"], wl = { class: "d-flex justify-start align-center ga-1 mb-1" }, xl = {
|
|
8029
|
+
class: "multi-color-icon",
|
|
8030
|
+
"aria-hidden": "true"
|
|
8031
|
+
}, vl = ["xlink:href"], _l = { class: "d-flex justify-start align-center ga-1 mb-1" }, kl = {
|
|
8032
|
+
class: "multi-color-icon",
|
|
8033
|
+
"aria-hidden": "true"
|
|
8034
|
+
}, zl = ["xlink:href"], Ll = { class: "d-flex justify-start align-center" }, Pl = { class: "mx-2" };
|
|
8035
|
+
function Cl(o, e, t, i, a, r) {
|
|
8036
|
+
const s = w("VBtn"), c = w("VTooltip"), n = w("VCardTitle"), u = w("VDivider"), d = w("VTextField"), m = w("VCol"), b = w("VRow"), f = w("DateTimePicker"), L = w("VBtnToggle"), S = w("VCardActions"), P = w("VForm"), E = w("VCardText"), T = w("VCard"), k = w("VIcon");
|
|
8037
|
+
return y(), M("div", dl, [
|
|
8019
8038
|
l("div", {
|
|
8020
8039
|
class: "menu-bar-box transition pa-1",
|
|
8021
8040
|
style: Q({ top: t.top + 174 + "px", right: a.right + "px" })
|
|
@@ -8044,7 +8063,7 @@ function fl(o, e, t, i, a, r) {
|
|
|
8044
8063
|
_: 1
|
|
8045
8064
|
}, 8, ["text"])
|
|
8046
8065
|
], 4),
|
|
8047
|
-
a.showForm ? (y(), V(
|
|
8066
|
+
a.showForm ? (y(), V(T, {
|
|
8048
8067
|
key: 0,
|
|
8049
8068
|
class: "spot-form-card",
|
|
8050
8069
|
style: Q({ top: t.top + 174 + "px", right: a.right + 50 + "px" })
|
|
@@ -8085,7 +8104,14 @@ function fl(o, e, t, i, a, r) {
|
|
|
8085
8104
|
onSubmit: Zo(r.submitForm, ["prevent"])
|
|
8086
8105
|
}, {
|
|
8087
8106
|
default: g(() => [
|
|
8088
|
-
|
|
8107
|
+
l("div", pl, [
|
|
8108
|
+
(y(), M("svg", ul, [
|
|
8109
|
+
l("use", {
|
|
8110
|
+
"xlink:href": `#icon-lng-${t.theme}`
|
|
8111
|
+
}, null, 8, gl)
|
|
8112
|
+
])),
|
|
8113
|
+
e[11] || (e[11] = l("div", null, "Lng", -1))
|
|
8114
|
+
]),
|
|
8089
8115
|
h(b, { class: "ma-0" }, {
|
|
8090
8116
|
default: g(() => [
|
|
8091
8117
|
h(m, {
|
|
@@ -8102,10 +8128,10 @@ function fl(o, e, t, i, a, r) {
|
|
|
8102
8128
|
required: "",
|
|
8103
8129
|
dense: ""
|
|
8104
8130
|
}, null, 8, ["modelValue", "rules"]),
|
|
8105
|
-
e[
|
|
8131
|
+
e[12] || (e[12] = l("span", { class: "px-1" }, "°", -1))
|
|
8106
8132
|
]),
|
|
8107
8133
|
_: 1,
|
|
8108
|
-
__: [
|
|
8134
|
+
__: [12]
|
|
8109
8135
|
}),
|
|
8110
8136
|
h(m, {
|
|
8111
8137
|
cols: "6",
|
|
@@ -8122,10 +8148,10 @@ function fl(o, e, t, i, a, r) {
|
|
|
8122
8148
|
required: "",
|
|
8123
8149
|
dense: ""
|
|
8124
8150
|
}, null, 8, ["modelValue", "rules"]),
|
|
8125
|
-
e[
|
|
8151
|
+
e[13] || (e[13] = l("span", { class: "px-1" }, "'", -1))
|
|
8126
8152
|
]),
|
|
8127
8153
|
_: 1,
|
|
8128
|
-
__: [
|
|
8154
|
+
__: [13]
|
|
8129
8155
|
}),
|
|
8130
8156
|
h(m, {
|
|
8131
8157
|
cols: "2",
|
|
@@ -8139,6 +8165,7 @@ function fl(o, e, t, i, a, r) {
|
|
|
8139
8165
|
"min-width": "32",
|
|
8140
8166
|
height: "32",
|
|
8141
8167
|
class: "",
|
|
8168
|
+
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
8142
8169
|
onClick: e[2] || (e[2] = (v) => a.form.lngDirection = a.form.lngDirection === "E" ? "W" : "E")
|
|
8143
8170
|
}, {
|
|
8144
8171
|
default: g(() => [
|
|
@@ -8152,7 +8179,14 @@ function fl(o, e, t, i, a, r) {
|
|
|
8152
8179
|
]),
|
|
8153
8180
|
_: 1
|
|
8154
8181
|
}),
|
|
8155
|
-
|
|
8182
|
+
l("div", fl, [
|
|
8183
|
+
(y(), M("svg", bl, [
|
|
8184
|
+
l("use", {
|
|
8185
|
+
"xlink:href": `#icon-lng-${t.theme}`
|
|
8186
|
+
}, null, 8, yl)
|
|
8187
|
+
])),
|
|
8188
|
+
e[14] || (e[14] = l("div", null, "Lat", -1))
|
|
8189
|
+
]),
|
|
8156
8190
|
h(b, { class: "ma-0" }, {
|
|
8157
8191
|
default: g(() => [
|
|
8158
8192
|
h(m, {
|
|
@@ -8172,10 +8206,10 @@ function fl(o, e, t, i, a, r) {
|
|
|
8172
8206
|
required: "",
|
|
8173
8207
|
dense: ""
|
|
8174
8208
|
}, null, 8, ["modelValue", "rules"]),
|
|
8175
|
-
e[
|
|
8209
|
+
e[15] || (e[15] = l("span", { class: "px-1" }, "°", -1))
|
|
8176
8210
|
]),
|
|
8177
8211
|
_: 1,
|
|
8178
|
-
__: [
|
|
8212
|
+
__: [15]
|
|
8179
8213
|
}),
|
|
8180
8214
|
h(m, {
|
|
8181
8215
|
cols: "6",
|
|
@@ -8192,10 +8226,10 @@ function fl(o, e, t, i, a, r) {
|
|
|
8192
8226
|
required: "",
|
|
8193
8227
|
dense: ""
|
|
8194
8228
|
}, null, 8, ["modelValue", "rules"]),
|
|
8195
|
-
e[
|
|
8229
|
+
e[16] || (e[16] = l("span", { class: "px-1" }, "'", -1))
|
|
8196
8230
|
]),
|
|
8197
8231
|
_: 1,
|
|
8198
|
-
__: [
|
|
8232
|
+
__: [16]
|
|
8199
8233
|
}),
|
|
8200
8234
|
h(m, {
|
|
8201
8235
|
cols: "2",
|
|
@@ -8209,6 +8243,7 @@ function fl(o, e, t, i, a, r) {
|
|
|
8209
8243
|
"min-width": "32",
|
|
8210
8244
|
height: "32",
|
|
8211
8245
|
class: "text-body-1",
|
|
8246
|
+
style: { border: "1px solid rgba(var(--v-theme-on-surface), 0.38)" },
|
|
8212
8247
|
onClick: e[5] || (e[5] = (v) => a.form.latDirection = a.form.latDirection === "N" ? "S" : "N")
|
|
8213
8248
|
}, {
|
|
8214
8249
|
default: g(() => [
|
|
@@ -8222,12 +8257,19 @@ function fl(o, e, t, i, a, r) {
|
|
|
8222
8257
|
]),
|
|
8223
8258
|
_: 1
|
|
8224
8259
|
}),
|
|
8225
|
-
|
|
8226
|
-
|
|
8260
|
+
l("div", wl, [
|
|
8261
|
+
(y(), M("svg", xl, [
|
|
8262
|
+
l("use", {
|
|
8263
|
+
"xlink:href": `#icon-a-DateTime-${t.theme}`
|
|
8264
|
+
}, null, 8, vl)
|
|
8265
|
+
])),
|
|
8266
|
+
e[17] || (e[17] = l("div", null, "Date Time", -1))
|
|
8267
|
+
]),
|
|
8268
|
+
h(b, { class: "ma-0 mb-4" }, {
|
|
8227
8269
|
default: g(() => [
|
|
8228
8270
|
h(m, {
|
|
8229
8271
|
cols: "12",
|
|
8230
|
-
class: "pa-0
|
|
8272
|
+
class: "pa-0"
|
|
8231
8273
|
}, {
|
|
8232
8274
|
default: g(() => [
|
|
8233
8275
|
h(f, j({
|
|
@@ -8242,12 +8284,19 @@ function fl(o, e, t, i, a, r) {
|
|
|
8242
8284
|
]),
|
|
8243
8285
|
_: 1
|
|
8244
8286
|
}),
|
|
8245
|
-
|
|
8246
|
-
|
|
8287
|
+
l("div", _l, [
|
|
8288
|
+
(y(), M("svg", kl, [
|
|
8289
|
+
l("use", {
|
|
8290
|
+
"xlink:href": `#icon-a-ForecastModel-${t.theme}`
|
|
8291
|
+
}, null, 8, zl)
|
|
8292
|
+
])),
|
|
8293
|
+
e[18] || (e[18] = l("div", null, "Forecast Model", -1))
|
|
8294
|
+
]),
|
|
8295
|
+
h(b, { class: "ma-0 mb-2" }, {
|
|
8247
8296
|
default: g(() => [
|
|
8248
8297
|
h(m, {
|
|
8249
8298
|
cols: "12",
|
|
8250
|
-
class: "pa-0
|
|
8299
|
+
class: "pa-0"
|
|
8251
8300
|
}, {
|
|
8252
8301
|
default: g(() => [
|
|
8253
8302
|
h(L, {
|
|
@@ -8264,30 +8313,30 @@ function fl(o, e, t, i, a, r) {
|
|
|
8264
8313
|
density: "compact",
|
|
8265
8314
|
height: "30",
|
|
8266
8315
|
value: "GFS",
|
|
8267
|
-
class: "text-none flex-1-1-0",
|
|
8316
|
+
class: je(["text-none flex-1-1-0", a.form.forecastModel === "GFS" ? "" : "nop-btn-border"]),
|
|
8268
8317
|
color: a.form.forecastModel === "GFS" ? "primary" : "",
|
|
8269
|
-
"base-color": "
|
|
8318
|
+
"base-color": ""
|
|
8270
8319
|
}, {
|
|
8271
|
-
default: g(() => e[
|
|
8320
|
+
default: g(() => e[19] || (e[19] = [
|
|
8272
8321
|
U("NOAA", -1)
|
|
8273
8322
|
])),
|
|
8274
8323
|
_: 1,
|
|
8275
|
-
__: [
|
|
8276
|
-
}, 8, ["color"]),
|
|
8324
|
+
__: [19]
|
|
8325
|
+
}, 8, ["class", "color"]),
|
|
8277
8326
|
h(s, {
|
|
8278
8327
|
density: "compact",
|
|
8279
8328
|
height: "30",
|
|
8280
|
-
class: "text-none flex-1-1-0",
|
|
8329
|
+
class: je(["text-none flex-1-1-0", a.form.forecastModel === "ECMWF" ? "" : "nop-btn-border"]),
|
|
8281
8330
|
color: a.form.forecastModel === "ECMWF" ? "primary" : "",
|
|
8282
|
-
"base-color": "
|
|
8331
|
+
"base-color": "",
|
|
8283
8332
|
value: "ECMWF"
|
|
8284
8333
|
}, {
|
|
8285
|
-
default: g(() => e[
|
|
8334
|
+
default: g(() => e[20] || (e[20] = [
|
|
8286
8335
|
U("ECMWF", -1)
|
|
8287
8336
|
])),
|
|
8288
8337
|
_: 1,
|
|
8289
|
-
__: [
|
|
8290
|
-
}, 8, ["color"])
|
|
8338
|
+
__: [20]
|
|
8339
|
+
}, 8, ["class", "color"])
|
|
8291
8340
|
]),
|
|
8292
8341
|
_: 1
|
|
8293
8342
|
}, 8, ["modelValue"])
|
|
@@ -8306,11 +8355,11 @@ function fl(o, e, t, i, a, r) {
|
|
|
8306
8355
|
class: "text-none text-body-1",
|
|
8307
8356
|
onClick: r.handleCloseForm
|
|
8308
8357
|
}, {
|
|
8309
|
-
default: g(() => e[
|
|
8358
|
+
default: g(() => e[21] || (e[21] = [
|
|
8310
8359
|
U("Clear", -1)
|
|
8311
8360
|
])),
|
|
8312
8361
|
_: 1,
|
|
8313
|
-
__: [
|
|
8362
|
+
__: [21]
|
|
8314
8363
|
}, 8, ["onClick"]),
|
|
8315
8364
|
h(s, {
|
|
8316
8365
|
loading: a.loading,
|
|
@@ -8320,18 +8369,17 @@ function fl(o, e, t, i, a, r) {
|
|
|
8320
8369
|
type: "submit",
|
|
8321
8370
|
class: "text-none text-body-1"
|
|
8322
8371
|
}, {
|
|
8323
|
-
default: g(() => e[
|
|
8372
|
+
default: g(() => e[22] || (e[22] = [
|
|
8324
8373
|
U("Confirm", -1)
|
|
8325
8374
|
])),
|
|
8326
8375
|
_: 1,
|
|
8327
|
-
__: [
|
|
8376
|
+
__: [22]
|
|
8328
8377
|
}, 8, ["loading"])
|
|
8329
8378
|
]),
|
|
8330
8379
|
_: 1
|
|
8331
8380
|
})
|
|
8332
8381
|
]),
|
|
8333
|
-
_: 1
|
|
8334
|
-
__: [19, 20, 21, 22]
|
|
8382
|
+
_: 1
|
|
8335
8383
|
}, 8, ["onSubmit"])
|
|
8336
8384
|
]),
|
|
8337
8385
|
_: 1
|
|
@@ -8339,7 +8387,7 @@ function fl(o, e, t, i, a, r) {
|
|
|
8339
8387
|
]),
|
|
8340
8388
|
_: 1
|
|
8341
8389
|
}, 8, ["style"])) : O("", !0),
|
|
8342
|
-
He(h(
|
|
8390
|
+
He(h(T, {
|
|
8343
8391
|
id: "idm-gl4-spot-meteo",
|
|
8344
8392
|
class: "spot-meteo",
|
|
8345
8393
|
style: { width: "490px", "z-index": "9" }
|
|
@@ -8349,9 +8397,9 @@ function fl(o, e, t, i, a, r) {
|
|
|
8349
8397
|
default: g(() => {
|
|
8350
8398
|
var v, _;
|
|
8351
8399
|
return [
|
|
8352
|
-
l("div",
|
|
8353
|
-
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5
|
|
8354
|
-
l("div",
|
|
8400
|
+
l("div", Ll, [
|
|
8401
|
+
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 map-icon-aqua" }, null, -1)),
|
|
8402
|
+
l("div", Pl, C(r.computeLat((v = a.currentHourData) == null ? void 0 : v.lat)) + "," + C(r.computeLng((_ = a.currentHourData) == null ? void 0 : _.lng)), 1)
|
|
8355
8403
|
]),
|
|
8356
8404
|
h(s, {
|
|
8357
8405
|
icon: "",
|
|
@@ -8602,8 +8650,8 @@ function fl(o, e, t, i, a, r) {
|
|
|
8602
8650
|
])
|
|
8603
8651
|
]);
|
|
8604
8652
|
}
|
|
8605
|
-
const
|
|
8606
|
-
const
|
|
8653
|
+
const Sl = /* @__PURE__ */ X(hl, [["render", Cl]]);
|
|
8654
|
+
const Ml = {
|
|
8607
8655
|
name: "IdmMeasure",
|
|
8608
8656
|
props: {
|
|
8609
8657
|
map: {
|
|
@@ -8925,10 +8973,10 @@ const yl = {
|
|
|
8925
8973
|
}), this.pointMarkers[o.id] = [], (m = this.tipMarker) == null || m.remove(), this.tipMarker = void 0, e && ((b = this.map) != null && b.getSource(t)) && this.map.removeSource(t), e && ((f = this.map) != null && f.getSource(this.tmpSource)) && this.map.removeSource(this.tmpSource);
|
|
8926
8974
|
}
|
|
8927
8975
|
}
|
|
8928
|
-
},
|
|
8929
|
-
function
|
|
8976
|
+
}, Tl = { class: "idm-gl4-measure" };
|
|
8977
|
+
function Rl(o, e, t, i, a, r) {
|
|
8930
8978
|
const s = w("VBtn"), c = w("VTooltip");
|
|
8931
|
-
return y(),
|
|
8979
|
+
return y(), M("div", Tl, [
|
|
8932
8980
|
l("div", {
|
|
8933
8981
|
class: "menu-bar-box transition pa-1",
|
|
8934
8982
|
style: Q({ top: t.top + 214 + "px", right: a.right + "px" })
|
|
@@ -8959,8 +9007,8 @@ function xl(o, e, t, i, a, r) {
|
|
|
8959
9007
|
], 4)
|
|
8960
9008
|
]);
|
|
8961
9009
|
}
|
|
8962
|
-
const
|
|
8963
|
-
const
|
|
9010
|
+
const Il = /* @__PURE__ */ X(Ml, [["render", Rl]]);
|
|
9011
|
+
const Al = {
|
|
8964
9012
|
name: "IdmBottomBar",
|
|
8965
9013
|
components: { DateTimePicker: Je },
|
|
8966
9014
|
props: {
|
|
@@ -9073,19 +9121,19 @@ const _l = {
|
|
|
9073
9121
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
9074
9122
|
}
|
|
9075
9123
|
}
|
|
9076
|
-
},
|
|
9124
|
+
}, Dl = { class: "idm-bottom-bar-gl4" }, Ol = { class: "date-box d-flex ga-2 mr-2" }, Bl = { class: "d-flex justify-center align-center cursor-pointer" }, jl = { class: "fast-weathers-box d-flex justify-center align-center ga-2 mx-3 cursor-pointer" }, El = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Fl = {
|
|
9077
9125
|
key: 0,
|
|
9078
9126
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
9079
|
-
},
|
|
9080
|
-
function
|
|
9127
|
+
}, Nl = ["onClick"], Hl = { class: "btn-box d-flex justify-center align-center rounded ga-2 py-1 px-2" }, Gl = { class: "text-body-2" };
|
|
9128
|
+
function Wl(o, e, t, i, a, r) {
|
|
9081
9129
|
const s = w("DateTimePicker"), c = w("VListItemTitle"), n = w("VListItem"), u = w("VList"), d = w("VMenu"), m = w("VBtn"), b = w("VTooltip");
|
|
9082
|
-
return y(),
|
|
9083
|
-
a.show ? (y(),
|
|
9130
|
+
return y(), M("div", Dl, [
|
|
9131
|
+
a.show ? (y(), M("div", {
|
|
9084
9132
|
key: 0,
|
|
9085
9133
|
class: "timeline-box px-2 py-1 d-flex justify-start align-center rounded",
|
|
9086
9134
|
style: Q({ right: a.right + 140 + "px" })
|
|
9087
9135
|
}, [
|
|
9088
|
-
l("div",
|
|
9136
|
+
l("div", Ol, [
|
|
9089
9137
|
h(s, j({
|
|
9090
9138
|
"date-time": a.currentDateTimeZ,
|
|
9091
9139
|
"time-zone": a.timeZone,
|
|
@@ -9107,7 +9155,7 @@ function Il(o, e, t, i, a, r) {
|
|
|
9107
9155
|
default: g(() => [
|
|
9108
9156
|
h(u, { class: "pa-1" }, {
|
|
9109
9157
|
default: g(() => [
|
|
9110
|
-
(y(!0),
|
|
9158
|
+
(y(!0), M(fe, null, _e(a.intervalOptions, (f, L) => (y(), V(n, {
|
|
9111
9159
|
key: L,
|
|
9112
9160
|
value: f,
|
|
9113
9161
|
variant: a.intervalHour === f ? "tonal" : "text",
|
|
@@ -9140,7 +9188,7 @@ function Il(o, e, t, i, a, r) {
|
|
|
9140
9188
|
]),
|
|
9141
9189
|
_: 1
|
|
9142
9190
|
}),
|
|
9143
|
-
l("div",
|
|
9191
|
+
l("div", Bl, [
|
|
9144
9192
|
h(m, {
|
|
9145
9193
|
icon: "",
|
|
9146
9194
|
size: "small",
|
|
@@ -9209,7 +9257,7 @@ function Il(o, e, t, i, a, r) {
|
|
|
9209
9257
|
}, 8, ["onClick"])
|
|
9210
9258
|
])
|
|
9211
9259
|
]),
|
|
9212
|
-
l("div",
|
|
9260
|
+
l("div", jl, [
|
|
9213
9261
|
h(b, {
|
|
9214
9262
|
text: o.$t("weather.windBarbs"),
|
|
9215
9263
|
location: "top",
|
|
@@ -9312,7 +9360,7 @@ function Il(o, e, t, i, a, r) {
|
|
|
9312
9360
|
_: 1
|
|
9313
9361
|
}, 8, ["text"])
|
|
9314
9362
|
]),
|
|
9315
|
-
l("div",
|
|
9363
|
+
l("div", El, [
|
|
9316
9364
|
h(m, {
|
|
9317
9365
|
text: "",
|
|
9318
9366
|
height: "30",
|
|
@@ -9361,14 +9409,14 @@ function Il(o, e, t, i, a, r) {
|
|
|
9361
9409
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
9362
9410
|
style: Q({ right: a.right + "px" })
|
|
9363
9411
|
}, [
|
|
9364
|
-
a.showTimezone ? (y(),
|
|
9365
|
-
(y(!0),
|
|
9412
|
+
a.showTimezone ? (y(), M("div", Fl, [
|
|
9413
|
+
(y(!0), M(fe, null, _e(a.offsets, (f) => (y(), M("div", {
|
|
9366
9414
|
key: f,
|
|
9367
9415
|
class: "item rounded text-body-2",
|
|
9368
9416
|
onClick: (L) => a.timeZone = f
|
|
9369
|
-
}, C(f < 0 ? f : "+" + f), 9,
|
|
9417
|
+
}, C(f < 0 ? f : "+" + f), 9, Nl))), 128))
|
|
9370
9418
|
])) : O("", !0),
|
|
9371
|
-
l("div",
|
|
9419
|
+
l("div", Hl, [
|
|
9372
9420
|
h(m, {
|
|
9373
9421
|
text: "",
|
|
9374
9422
|
outline: "",
|
|
@@ -9382,20 +9430,20 @@ function Il(o, e, t, i, a, r) {
|
|
|
9382
9430
|
]),
|
|
9383
9431
|
_: 1
|
|
9384
9432
|
}),
|
|
9385
|
-
l("span",
|
|
9433
|
+
l("span", Gl, C(a.currentRealTime), 1)
|
|
9386
9434
|
])
|
|
9387
9435
|
], 4)
|
|
9388
9436
|
]);
|
|
9389
9437
|
}
|
|
9390
|
-
const
|
|
9438
|
+
const Ul = /* @__PURE__ */ X(Al, [["render", Wl]]), Vl = {
|
|
9391
9439
|
name: "IdmGL4",
|
|
9392
9440
|
components: {
|
|
9393
|
-
IdmOtherLayer:
|
|
9394
|
-
IdmWeatherLayer:
|
|
9441
|
+
IdmOtherLayer: hi,
|
|
9442
|
+
IdmWeatherLayer: Wr,
|
|
9395
9443
|
IdmTropicals: Uo,
|
|
9396
|
-
IdmMeasure:
|
|
9397
|
-
IdmSpot:
|
|
9398
|
-
IdmBottomBar:
|
|
9444
|
+
IdmMeasure: Il,
|
|
9445
|
+
IdmSpot: Sl,
|
|
9446
|
+
IdmBottomBar: Ul
|
|
9399
9447
|
},
|
|
9400
9448
|
props: {
|
|
9401
9449
|
map: {
|
|
@@ -9427,13 +9475,13 @@ const Al = /* @__PURE__ */ X(_l, [["render", Il]]), Dl = {
|
|
|
9427
9475
|
mounted() {
|
|
9428
9476
|
},
|
|
9429
9477
|
methods: {}
|
|
9430
|
-
},
|
|
9478
|
+
}, Yl = {
|
|
9431
9479
|
ref: "mapHomeGl4",
|
|
9432
9480
|
class: "map-gl4-home"
|
|
9433
9481
|
};
|
|
9434
|
-
function
|
|
9482
|
+
function Zl(o, e, t, i, a, r) {
|
|
9435
9483
|
const s = w("IdmOtherLayer"), c = w("IdmWeatherLayer"), n = w("IdmTropicals"), u = w("IdmMeasure"), d = w("IdmSpot"), m = w("IdmBottomBar");
|
|
9436
|
-
return y(),
|
|
9484
|
+
return y(), M("div", Yl, [
|
|
9437
9485
|
h(s, j({
|
|
9438
9486
|
ref: "idmOtherLayers",
|
|
9439
9487
|
token: t.token,
|
|
@@ -9485,8 +9533,8 @@ function Bl(o, e, t, i, a, r) {
|
|
|
9485
9533
|
}, o.$attrs), null, 16, ["forecast-model", "weatherCheckList"])
|
|
9486
9534
|
], 512);
|
|
9487
9535
|
}
|
|
9488
|
-
const
|
|
9489
|
-
class
|
|
9536
|
+
const Xl = /* @__PURE__ */ X(Vl, [["render", Zl]]);
|
|
9537
|
+
class ql {
|
|
9490
9538
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
9491
9539
|
le(this, "originStyle");
|
|
9492
9540
|
le(this, "mapboxStyle");
|
|
@@ -9494,7 +9542,7 @@ class El {
|
|
|
9494
9542
|
le(this, "hi");
|
|
9495
9543
|
le(this, "td");
|
|
9496
9544
|
le(this, "windy");
|
|
9497
|
-
var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E,
|
|
9545
|
+
var t, i, a, r, s, c, n, u, d, m, b, f, L, S, P, E, T, k, v, _, z, x, R, H, Y, G, W, $, ee, K, se, me, pe, he, q, I, ne, ge, be, ke, ze, Se, Me, Te, te, de, we, Re, J, Ce, xe, ie, ue, N, Le, oe, re, Ee, B, ye, Oe, Fe, Ne, A, Z, Ye, Ze, Xe, Ae, Qe, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, bt, yt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, Rt, It, At, Dt, Ot, Bt, jt, Et, Ft, Nt, Ht, Gt, Wt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, lo, so, no, co, mo, ho, po, uo, go, fo, bo, yo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Ro, Io, Ao, Do, Oo, Bo, jo, Eo, Fo, No;
|
|
9498
9546
|
this.i4 = {
|
|
9499
9547
|
source: {
|
|
9500
9548
|
type: "raster",
|
|
@@ -71379,7 +71427,7 @@ class El {
|
|
|
71379
71427
|
(f = (b = this.originStyle) == null ? void 0 : b.light.layers) == null ? void 0 : f.find((p) => p.id === "water-outline2"),
|
|
71380
71428
|
(S = (L = this.originStyle) == null ? void 0 : L.light.layers) == null ? void 0 : S.find((p) => p.id === "empty-layer-2"),
|
|
71381
71429
|
(E = (P = this.originStyle) == null ? void 0 : P.light.layers) == null ? void 0 : E.find((p) => p.id === "empty-layer-3"),
|
|
71382
|
-
(k = (
|
|
71430
|
+
(k = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : k.find((p) => p.id === "empty-layer-4"),
|
|
71383
71431
|
(_ = (v = this.originStyle) == null ? void 0 : v.light.layers) == null ? void 0 : _.find((p) => p.id === "water-line-label"),
|
|
71384
71432
|
(x = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : x.find((p) => p.id === "water-point-label"),
|
|
71385
71433
|
(H = (R = this.originStyle) == null ? void 0 : R.light.layers) == null ? void 0 : H.find((p) => p.id === "world-12nm-v4-20231025"),
|
|
@@ -71528,10 +71576,10 @@ class El {
|
|
|
71528
71576
|
(ie = (xe = this.originStyle) == null ? void 0 : xe.dark.layers) == null ? void 0 : ie.find((p) => p.id === "empty-layer-1"),
|
|
71529
71577
|
(N = (ue = this.originStyle) == null ? void 0 : ue.dark.layers) == null ? void 0 : N.find((p) => p.id === "country-boundaries"),
|
|
71530
71578
|
(oe = (Le = this.originStyle) == null ? void 0 : Le.dark.layers) == null ? void 0 : oe.find((p) => p.id === "water-outline"),
|
|
71531
|
-
(
|
|
71579
|
+
(Ee = (re = this.originStyle) == null ? void 0 : re.dark.layers) == null ? void 0 : Ee.find((p) => p.id === "empty-layer-2"),
|
|
71532
71580
|
(ye = (B = this.originStyle) == null ? void 0 : B.dark.layers) == null ? void 0 : ye.find((p) => p.id === "empty-layer-3"),
|
|
71533
|
-
(
|
|
71534
|
-
(A = (
|
|
71581
|
+
(Fe = (Oe = this.originStyle) == null ? void 0 : Oe.dark.layers) == null ? void 0 : Fe.find((p) => p.id === "empty-layer-4"),
|
|
71582
|
+
(A = (Ne = this.originStyle) == null ? void 0 : Ne.dark.layers) == null ? void 0 : A.find((p) => p.id === "water-line-label"),
|
|
71535
71583
|
(Ye = (Z = this.originStyle) == null ? void 0 : Z.dark.layers) == null ? void 0 : Ye.find((p) => p.id === "water-point-label"),
|
|
71536
71584
|
(Xe = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : Xe.find((p) => p.id === "world-12nm-v4-20231025"),
|
|
71537
71585
|
(Qe = (Ae = this.originStyle) == null ? void 0 : Ae.dark.layers) == null ? void 0 : Qe.find((p) => p.id === "ne-10m-outline"),
|
|
@@ -71755,7 +71803,7 @@ class El {
|
|
|
71755
71803
|
};
|
|
71756
71804
|
}
|
|
71757
71805
|
}
|
|
71758
|
-
const
|
|
71806
|
+
const Kl = {
|
|
71759
71807
|
name: "MapInitial",
|
|
71760
71808
|
props: {
|
|
71761
71809
|
token: {
|
|
@@ -71808,7 +71856,7 @@ const Fl = {
|
|
|
71808
71856
|
methods: {
|
|
71809
71857
|
async initOnlineMap() {
|
|
71810
71858
|
var e;
|
|
71811
|
-
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new
|
|
71859
|
+
(e = this.map) == null || e.remove(), this.map = void 0, this.helper = new ql(this.token), Pe.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
71812
71860
|
const o = new Pe.Map({
|
|
71813
71861
|
container: "map",
|
|
71814
71862
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -71848,16 +71896,16 @@ const Fl = {
|
|
|
71848
71896
|
this.zoom = this.zoom <= 2 ? 1 : this.zoom - 1, (o = this.map) == null || o.zoomOut(this.zoom);
|
|
71849
71897
|
}
|
|
71850
71898
|
}
|
|
71851
|
-
},
|
|
71852
|
-
function
|
|
71899
|
+
}, Jl = { class: "mapbox-initial-gl4" }, Ql = { class: "v-btn--variant-elevated rounded" }, $l = { class: "zoom" };
|
|
71900
|
+
function es(o, e, t, i, a, r) {
|
|
71853
71901
|
const s = w("v-btn");
|
|
71854
|
-
return y(),
|
|
71902
|
+
return y(), M("div", Jl, [
|
|
71855
71903
|
e[2] || (e[2] = l("div", { id: "map" }, null, -1)),
|
|
71856
71904
|
l("div", {
|
|
71857
71905
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
71858
71906
|
style: Q({ top: t.top + 268 + "px", right: a.right + "px" })
|
|
71859
71907
|
}, [
|
|
71860
|
-
l("div",
|
|
71908
|
+
l("div", Ql, [
|
|
71861
71909
|
h(s, {
|
|
71862
71910
|
"min-width": "32",
|
|
71863
71911
|
width: "32",
|
|
@@ -71871,7 +71919,7 @@ function Wl(o, e, t, i, a, r) {
|
|
|
71871
71919
|
_: 1,
|
|
71872
71920
|
__: [0]
|
|
71873
71921
|
}, 8, ["onClick"]),
|
|
71874
|
-
l("div",
|
|
71922
|
+
l("div", $l, C(a.zoom), 1),
|
|
71875
71923
|
h(s, {
|
|
71876
71924
|
"min-width": "32",
|
|
71877
71925
|
width: "32",
|
|
@@ -71889,17 +71937,17 @@ function Wl(o, e, t, i, a, r) {
|
|
|
71889
71937
|
], 4)
|
|
71890
71938
|
]);
|
|
71891
71939
|
}
|
|
71892
|
-
const
|
|
71940
|
+
const ts = /* @__PURE__ */ X(Kl, [["render", es]]), ps = {
|
|
71893
71941
|
install(o) {
|
|
71894
|
-
o.component("MapInitial",
|
|
71942
|
+
o.component("MapInitial", ts), o.component("MapboxGL", Xl), o.component("TropicalGL", Uo), o.component("LatLngGL", Wo), o.component("DateTimePicker", Je);
|
|
71895
71943
|
}
|
|
71896
71944
|
};
|
|
71897
71945
|
export {
|
|
71898
71946
|
Je as DateTimePicker,
|
|
71899
71947
|
Wo as LatLngGL,
|
|
71900
|
-
|
|
71901
|
-
|
|
71902
|
-
|
|
71948
|
+
ts as MapInitial,
|
|
71949
|
+
Xl as MapboxGL,
|
|
71950
|
+
ps as MapboxGLPlugin,
|
|
71903
71951
|
ve as ParticleSchema,
|
|
71904
71952
|
Uo as TropicalGL,
|
|
71905
71953
|
Ke as Viewport,
|