@idmwx/idmui-gl4 2.2.7 → 2.2.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 +118 -100
- package/dist/index.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var Qa = (t, e, o) => e in t ?
|
|
1
|
+
var $a = Object.defineProperty;
|
|
2
|
+
var Qa = (t, e, o) => e in t ? $a(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
3
3
|
var de = (t, e, o) => (Qa(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Ae from "axios";
|
|
5
5
|
import { useTheme as De } from "vuetify";
|
|
@@ -1512,10 +1512,10 @@ const fi = {
|
|
|
1512
1512
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1513
1513
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1514
1514
|
], (o = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || o.dateTimeList.forEach((i, a) => {
|
|
1515
|
-
var m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
1515
|
+
var m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le, ue, ie, ce, ge, me, he, A, te, be, ve, Pe;
|
|
1516
1516
|
let s = {};
|
|
1517
1517
|
const l = ((m = To.pickHourly(t, S(i))) == null ? void 0 : m[0]) || {};
|
|
1518
|
-
s.utc = l.utc, s.lat = t.lat, s.lng = t.lng, s.weatherUrl = (c = l.weather) == null ? void 0 : c.url, s.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", s.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : b.probability, 0) ?? "-", s.precip1h = this.computeRoundPrecision((k = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : k.sum, 1) ?? "-", s.visibility = this.computeRoundPrecision((y = l == null ? void 0 : l.weather) == null ? void 0 : y.visibility, 0) ?? "-", s.windSpeed = this.computeRoundPrecision((T = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", s.windDir = (I = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, s.windLevel = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : L.scale, 0) ?? "-", s.windGust = this.computeRoundPrecision((C = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : C.gusts, 1) ?? "-", s.sigwaveHeight = this.computeRoundPrecision((O = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : O.height, 1) ?? "-", s.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, s.sigwavePeriod = this.computeRoundPrecision((Z = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Z.period, 1) ?? "-", s.windwaveHeight = this.computeRoundPrecision((Q = (
|
|
1518
|
+
s.utc = l.utc, s.lat = t.lat, s.lng = t.lng, s.weatherUrl = (c = l.weather) == null ? void 0 : c.url, s.temp = this.computeRoundPrecision((f = l == null ? void 0 : l.weather) == null ? void 0 : f.temp, 0) ?? "-", s.precipProbability = this.computeRoundPrecision((b = (d = l == null ? void 0 : l.weather) == null ? void 0 : d.precip) == null ? void 0 : b.probability, 0) ?? "-", s.precip1h = this.computeRoundPrecision((k = (x = l == null ? void 0 : l.weather) == null ? void 0 : x.precip) == null ? void 0 : k.sum, 1) ?? "-", s.visibility = this.computeRoundPrecision((y = l == null ? void 0 : l.weather) == null ? void 0 : y.visibility, 0) ?? "-", s.windSpeed = this.computeRoundPrecision((T = (z = l == null ? void 0 : l.weather) == null ? void 0 : z.wind) == null ? void 0 : T.kts, 1) ?? "-", s.windDir = (I = (B = l == null ? void 0 : l.weather) == null ? void 0 : B.wind) == null ? void 0 : I.direction, s.windLevel = this.computeRoundPrecision((L = (w = l == null ? void 0 : l.weather) == null ? void 0 : w.wind) == null ? void 0 : L.scale, 0) ?? "-", s.windGust = this.computeRoundPrecision((C = (P = l == null ? void 0 : l.weather) == null ? void 0 : P.wind) == null ? void 0 : C.gusts, 1) ?? "-", s.sigwaveHeight = this.computeRoundPrecision((O = (_ = l == null ? void 0 : l.wave) == null ? void 0 : _.sig) == null ? void 0 : O.height, 1) ?? "-", s.sigwaveDir = (V = (F = l == null ? void 0 : l.wave) == null ? void 0 : F.sig) == null ? void 0 : V.direction, s.sigwavePeriod = this.computeRoundPrecision((Z = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : Z.period, 1) ?? "-", s.windwaveHeight = this.computeRoundPrecision((Q = ($ = l == null ? void 0 : l.wave) == null ? void 0 : $.wd) == null ? void 0 : Q.height, 1) ?? "-", s.windwaveDir = (se = (J = l == null ? void 0 : l.wave) == null ? void 0 : J.wd) == null ? void 0 : se.direction, s.windwavePeriod = this.computeRoundPrecision((ue = (le = l == null ? void 0 : l.wave) == null ? void 0 : le.wd) == null ? void 0 : ue.period, 1) ?? "-", s.swellHeight = this.computeRoundPrecision((ce = (ie = l == null ? void 0 : l.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.height, 1) ?? "-", s.swellDir = (me = (ge = l == null ? void 0 : l.wave) == null ? void 0 : ge.swell) == null ? void 0 : me.direction, s.swellPeriod = this.computeRoundPrecision((A = (he = l == null ? void 0 : l.wave) == null ? void 0 : he.swell) == null ? void 0 : A.period, 1) ?? "-", s.currentSpeed = this.computeRoundPrecision((te = l == null ? void 0 : l.current) == null ? void 0 : te.speed, 1) ?? "-", s.currentDir = (be = l == null ? void 0 : l.current) == null ? void 0 : be.direction, s.currentSpeed = this.computeRoundPrecision((ve = l == null ? void 0 : l.current) == null ? void 0 : ve.speed, 1) ?? "-", s.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", s.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", s.weatherUrls = (Pe = l == null ? void 0 : l.weather) == null ? void 0 : Pe.url, this.tableData[0][`value${a}`] = a * this.interval > 10 ? a * this.interval : "0" + a * this.interval, this.tableData[1][`value${a}`] = s.weatherUrl, this.tableData[2][`value${a}`] = s.temp, this.tableData[3][`value${a}`] = s.precip1h, this.tableData[4][`value${a}`] = s.visibility, this.tableData[5][`value${a}`] = s.windSpeed, this.tableData[6][`value${a}`] = s.sigwaveHeight, this.tableData[7][`value${a}`] = s.swellHeight, this.tableData[8][`value${a}`] = s.currentSpeed;
|
|
1519
1519
|
});
|
|
1520
1520
|
},
|
|
1521
1521
|
handleTide() {
|
|
@@ -1697,7 +1697,7 @@ const fi = {
|
|
|
1697
1697
|
}, Vi = {
|
|
1698
1698
|
key: 0,
|
|
1699
1699
|
class: ""
|
|
1700
|
-
}, Zi = { class: "px-1 text-center" }, Yi = ["src"], Xi = { key: 1 }, qi = { class: "px-1 text-center" }, Ki = ["src"],
|
|
1700
|
+
}, Zi = { class: "px-1 text-center" }, Yi = ["src"], Xi = { key: 1 }, qi = { class: "px-1 text-center" }, Ki = ["src"], Ji = { key: 1 }, $i = { class: "px-1 text-center" }, Qi = ["src"], er = { key: 1 }, tr = { class: "px-1 text-center" }, or = ["src"], ar = { key: 1 }, ir = { class: "table-box w-100 mt-2 d-flex flex-column justify-start align-center" }, rr = { class: "w-100 d-flex justify-space-between align-center py-2" }, sr = { class: "d-flex justify-center align-center text-h6 ga-2" }, lr = {
|
|
1701
1701
|
class: "multi-color-icon",
|
|
1702
1702
|
"aria-hidden": "true"
|
|
1703
1703
|
}, nr = ["xlink:href"], cr = { class: "text-body-2 ga-2" }, mr = {
|
|
@@ -1955,9 +1955,9 @@ function br(t, e, o, i, a, s) {
|
|
|
1955
1955
|
key: 0,
|
|
1956
1956
|
src: y == null ? void 0 : y.value1,
|
|
1957
1957
|
style: { height: "30px" }
|
|
1958
|
-
}, null, 8, Ki)) : (g(), M("span",
|
|
1958
|
+
}, null, 8, Ki)) : (g(), M("span", Ji, n((y == null ? void 0 : y.value1) ?? "-"), 1))
|
|
1959
1959
|
]),
|
|
1960
|
-
r("td",
|
|
1960
|
+
r("td", $i, [
|
|
1961
1961
|
y.img ? (g(), M("img", {
|
|
1962
1962
|
key: 0,
|
|
1963
1963
|
src: y == null ? void 0 : y.value2,
|
|
@@ -3074,7 +3074,7 @@ const qr = {
|
|
|
3074
3074
|
this.$emit("close");
|
|
3075
3075
|
}
|
|
3076
3076
|
}
|
|
3077
|
-
}, Kr = { class: "d-flex justify-space-between align-center" },
|
|
3077
|
+
}, Kr = { class: "d-flex justify-space-between align-center" }, Jr = { class: "d-flex justify-start text-h5 my-2" }, $r = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, Qr = { class: "summary-box w-100" }, es = { class: "d-flex justify-space-between align-center py-2" }, ts = { class: "d-flex justify-center align-center text-h6 ga-2" }, os = {
|
|
3078
3078
|
class: "multi-color-icon",
|
|
3079
3079
|
"aria-hidden": "true"
|
|
3080
3080
|
}, as = ["xlink:href"], is = { class: "gray-bg-2 rounded d-flex flex-column ga-4 pa-4" }, rs = { class: "w-100 d-flex justify-start align-center" }, ss = { class: "w-30 text-label font-weight-400" }, ls = { class: "flex-1-1-0" }, ns = { class: "w-100 d-flex justify-start align-center" }, cs = { class: "w-30 text-label font-weight-400" }, ms = { class: "flex-1-1-0" }, hs = { class: "w-100 d-flex justify-start align-center" }, ds = { class: "w-30 text-label font-weight-400" }, ps = { class: "flex-1-1-0" }, us = { class: "table-box w-100 mt-2 mb-4 d-flex flex-column justify-start align-center" }, gs = { class: "w-100 d-flex justify-space-between align-center py-2" }, fs = { class: "d-flex justify-center align-center text-h6 ga-2" }, ys = {
|
|
@@ -3111,7 +3111,7 @@ function Ts(t, e, o, i, a, s) {
|
|
|
3111
3111
|
var k;
|
|
3112
3112
|
return [
|
|
3113
3113
|
r("div", Kr, [
|
|
3114
|
-
r("div",
|
|
3114
|
+
r("div", Jr, [
|
|
3115
3115
|
r("div", null, n((k = o.station) == null ? void 0 : k.name), 1)
|
|
3116
3116
|
]),
|
|
3117
3117
|
p(l, {
|
|
@@ -3128,7 +3128,7 @@ function Ts(t, e, o, i, a, s) {
|
|
|
3128
3128
|
__: [1]
|
|
3129
3129
|
}, 8, ["onClick"])
|
|
3130
3130
|
]),
|
|
3131
|
-
r("div",
|
|
3131
|
+
r("div", $r, [
|
|
3132
3132
|
r("div", null, n(t.$t("tide.tideStation")), 1)
|
|
3133
3133
|
])
|
|
3134
3134
|
];
|
|
@@ -5435,7 +5435,7 @@ const Ys = {
|
|
|
5435
5435
|
key: 0,
|
|
5436
5436
|
class: "d-flex justify-start align-center text-label"
|
|
5437
5437
|
};
|
|
5438
|
-
function
|
|
5438
|
+
function Js(t, e, o, i, a, s) {
|
|
5439
5439
|
const l = v("v-card-text"), m = v("v-card");
|
|
5440
5440
|
return Ze((g(), R(m, {
|
|
5441
5441
|
id: "idmFollowPositionInfo",
|
|
@@ -5462,7 +5462,7 @@ function $s(t, e, o, i, a, s) {
|
|
|
5462
5462
|
[Ye, a.showInfo]
|
|
5463
5463
|
]);
|
|
5464
5464
|
}
|
|
5465
|
-
const
|
|
5465
|
+
const $s = /* @__PURE__ */ Y(Ys, [["render", Js], ["__scopeId", "data-v-82405c68"]]);
|
|
5466
5466
|
const Qs = {
|
|
5467
5467
|
name: "IdmOtherLayerr",
|
|
5468
5468
|
components: {
|
|
@@ -5483,7 +5483,7 @@ const Qs = {
|
|
|
5483
5483
|
IdmIceAreas: Es,
|
|
5484
5484
|
IdmLatLng: Xa,
|
|
5485
5485
|
IdmFollowPort: Zs,
|
|
5486
|
-
IdmFollowPosition:
|
|
5486
|
+
IdmFollowPosition: $s
|
|
5487
5487
|
},
|
|
5488
5488
|
props: {
|
|
5489
5489
|
simple: {
|
|
@@ -5689,8 +5689,8 @@ const Qs = {
|
|
|
5689
5689
|
class: "border rounded-sm"
|
|
5690
5690
|
}, cl = { class: "text-body-2 text-center pt-2" };
|
|
5691
5691
|
function ml(t, e, o, i, a, s) {
|
|
5692
|
-
var
|
|
5693
|
-
const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VCardItem"), d = v("VCheckbox"), b = v("VCardText"), x = v("VCard"), k = v("IdmLatLng"), y = v("IdmTerminator"), z = v("IdmTimezone"), T = v("IdmPort"), B = v("IdmAlertZone"), I = v("IdmTideStations"), w = v("IdmEcaZone"), L = v("IdmWarZone"), P = v("IdmGmdssArea"), C = v("IdmLoadLine"), _ = v("IdmWorldMarine"), O = v("IdmVRA"), F = v("IdmSpecialArea"), V = v("IdmWorld12nm"), X = v("IdmChinaRoute"), Z = v("IdmIceAreas"),
|
|
5692
|
+
var J, se, le, ue, ie, ce, ge, me, he;
|
|
5693
|
+
const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VCardItem"), d = v("VCheckbox"), b = v("VCardText"), x = v("VCard"), k = v("IdmLatLng"), y = v("IdmTerminator"), z = v("IdmTimezone"), T = v("IdmPort"), B = v("IdmAlertZone"), I = v("IdmTideStations"), w = v("IdmEcaZone"), L = v("IdmWarZone"), P = v("IdmGmdssArea"), C = v("IdmLoadLine"), _ = v("IdmWorldMarine"), O = v("IdmVRA"), F = v("IdmSpecialArea"), V = v("IdmWorld12nm"), X = v("IdmChinaRoute"), Z = v("IdmIceAreas"), $ = v("IdmFollowPort"), Q = v("IdmFollowPosition");
|
|
5694
5694
|
return g(), M("div", el, [
|
|
5695
5695
|
r("div", {
|
|
5696
5696
|
class: pe(["menu-bar-box transition px-1 rounded", o.simple ? "simple" : ""]),
|
|
@@ -5698,7 +5698,11 @@ function ml(t, e, o, i, a, s) {
|
|
|
5698
5698
|
}, [
|
|
5699
5699
|
p(m, {
|
|
5700
5700
|
text: t.$t("layer.mapLayers"),
|
|
5701
|
-
location: "left"
|
|
5701
|
+
location: "left",
|
|
5702
|
+
interactive: !0,
|
|
5703
|
+
"open-on-click": !1,
|
|
5704
|
+
"open-on-focus": !o.simple,
|
|
5705
|
+
"open-on-hover": !o.simple
|
|
5702
5706
|
}, {
|
|
5703
5707
|
activator: u(({ props: A }) => [
|
|
5704
5708
|
p(l, j(A, {
|
|
@@ -5716,7 +5720,7 @@ function ml(t, e, o, i, a, s) {
|
|
|
5716
5720
|
}, 1040, ["class", "onClick"])
|
|
5717
5721
|
]),
|
|
5718
5722
|
_: 1
|
|
5719
|
-
}, 8, ["text"])
|
|
5723
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
5720
5724
|
], 6),
|
|
5721
5725
|
r("div", {
|
|
5722
5726
|
class: pe(["available-layers transition d-flex flex-column justify-start align-start", a.toggle ? "right-bar" : ""]),
|
|
@@ -5921,7 +5925,7 @@ function ml(t, e, o, i, a, s) {
|
|
|
5921
5925
|
o.map ? (g(), R(y, j({
|
|
5922
5926
|
key: 1,
|
|
5923
5927
|
map: o.map,
|
|
5924
|
-
area: (
|
|
5928
|
+
area: (J = a.otherLayers) == null ? void 0 : J["day-night"]
|
|
5925
5929
|
}, t.$attrs, { "before-layer": "empty-layer-2" }), null, 16, ["map", "area"])) : D("", !0),
|
|
5926
5930
|
o.map ? (g(), R(z, j({
|
|
5927
5931
|
key: 2,
|
|
@@ -6017,7 +6021,7 @@ function ml(t, e, o, i, a, s) {
|
|
|
6017
6021
|
map: o.map,
|
|
6018
6022
|
show: a.checkList.includes("ice-areas")
|
|
6019
6023
|
}, t.$attrs), null, 16, ["map", "show"])) : D("", !0),
|
|
6020
|
-
o.map ? (g(), R(
|
|
6024
|
+
o.map ? (g(), R($, j({
|
|
6021
6025
|
key: 16,
|
|
6022
6026
|
ref: "idmFollowPort",
|
|
6023
6027
|
simple: o.simple,
|
|
@@ -8085,7 +8089,7 @@ const ql = {
|
|
|
8085
8089
|
}
|
|
8086
8090
|
}
|
|
8087
8091
|
}, Kl = { key: 0 };
|
|
8088
|
-
function
|
|
8092
|
+
function Jl(t, e, o, i, a, s) {
|
|
8089
8093
|
var l;
|
|
8090
8094
|
return (l = o.factor) != null && l.active ? (g(), M("div", Kl, [
|
|
8091
8095
|
r("div", {
|
|
@@ -8102,7 +8106,7 @@ function $l(t, e, o, i, a, s) {
|
|
|
8102
8106
|
]), 4)
|
|
8103
8107
|
])) : D("", !0);
|
|
8104
8108
|
}
|
|
8105
|
-
const
|
|
8109
|
+
const $l = /* @__PURE__ */ Y(ql, [["render", Jl]]);
|
|
8106
8110
|
const Ql = {
|
|
8107
8111
|
name: "IdmPrecip3h",
|
|
8108
8112
|
props: {
|
|
@@ -8583,7 +8587,7 @@ const fn = {
|
|
|
8583
8587
|
IdmPrmsl: Fl,
|
|
8584
8588
|
IdmIceEdge: Ul,
|
|
8585
8589
|
IdmIceCover: Xl,
|
|
8586
|
-
IdmIceThickness:
|
|
8590
|
+
IdmIceThickness: $l,
|
|
8587
8591
|
IdmPrecip3h: on,
|
|
8588
8592
|
IdmVisibility: ln,
|
|
8589
8593
|
IdmWaterTemp: hn,
|
|
@@ -8997,38 +9001,38 @@ const fn = {
|
|
|
8997
9001
|
if (P > y && P < z && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
8998
9002
|
const C = w[P].lng;
|
|
8999
9003
|
x > k ? C.forEach((_, O) => {
|
|
9000
|
-
var F, V, X, Z,
|
|
9004
|
+
var F, V, X, Z, $, Q;
|
|
9001
9005
|
if (a < 2) {
|
|
9002
9006
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
9003
|
-
const
|
|
9007
|
+
const J = G.point([_, P], {
|
|
9004
9008
|
val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
|
|
9005
9009
|
spd: (X = w[P].spd) == null ? void 0 : X[O]
|
|
9006
9010
|
});
|
|
9007
|
-
I.push(
|
|
9011
|
+
I.push(J);
|
|
9008
9012
|
}
|
|
9009
9013
|
} else if ((_ >= x && _ <= 180 || _ >= -180 && _ <= k) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
9010
|
-
const
|
|
9011
|
-
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((
|
|
9014
|
+
const J = G.point([_, P], {
|
|
9015
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || (($ = w[P].dir) == null ? void 0 : $[O]),
|
|
9012
9016
|
spd: (Q = w[P].spd) == null ? void 0 : Q[O]
|
|
9013
9017
|
});
|
|
9014
|
-
I.push(
|
|
9018
|
+
I.push(J);
|
|
9015
9019
|
}
|
|
9016
9020
|
}) : C.forEach((_, O) => {
|
|
9017
|
-
var F, V, X, Z,
|
|
9021
|
+
var F, V, X, Z, $, Q;
|
|
9018
9022
|
if (x < 2) {
|
|
9019
9023
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
9020
|
-
const
|
|
9024
|
+
const J = G.point([_, P], {
|
|
9021
9025
|
val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
|
|
9022
9026
|
spd: (X = w[P].spd) == null ? void 0 : X[O]
|
|
9023
9027
|
});
|
|
9024
|
-
I.push(
|
|
9028
|
+
I.push(J);
|
|
9025
9029
|
}
|
|
9026
9030
|
} else if (_ >= x && _ <= k && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
9027
|
-
const
|
|
9028
|
-
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((
|
|
9031
|
+
const J = G.point([_, P], {
|
|
9032
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || (($ = w[P].dir) == null ? void 0 : $[O]),
|
|
9029
9033
|
spd: (Q = w[P].spd) == null ? void 0 : Q[O]
|
|
9030
9034
|
});
|
|
9031
|
-
I.push(
|
|
9035
|
+
I.push(J);
|
|
9032
9036
|
}
|
|
9033
9037
|
});
|
|
9034
9038
|
}
|
|
@@ -9061,38 +9065,38 @@ const fn = {
|
|
|
9061
9065
|
if (P > y && P < z && (!(a <= this.zoom) || P % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
9062
9066
|
const C = w[P].lng;
|
|
9063
9067
|
x > k ? C.forEach((_, O) => {
|
|
9064
|
-
var F, V, X, Z,
|
|
9068
|
+
var F, V, X, Z, $, Q;
|
|
9065
9069
|
if (a < 2) {
|
|
9066
9070
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
9067
|
-
const
|
|
9071
|
+
const J = G.point([_, P], {
|
|
9068
9072
|
val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
|
|
9069
9073
|
spd: (X = w[P].spd) == null ? void 0 : X[O]
|
|
9070
9074
|
});
|
|
9071
|
-
I.push(
|
|
9075
|
+
I.push(J);
|
|
9072
9076
|
}
|
|
9073
9077
|
} else if ((_ >= x && _ <= 180 || _ >= -180 && _ <= k) && (!(a <= this.zoom) || _ % (a < 2 ? 10 : a < 4 ? 5 : 3) === 0)) {
|
|
9074
|
-
const
|
|
9075
|
-
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((
|
|
9078
|
+
const J = G.point([_, P], {
|
|
9079
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || (($ = w[P].dir) == null ? void 0 : $[O]),
|
|
9076
9080
|
spd: (Q = w[P].spd) == null ? void 0 : Q[O]
|
|
9077
9081
|
});
|
|
9078
|
-
I.push(
|
|
9082
|
+
I.push(J);
|
|
9079
9083
|
}
|
|
9080
9084
|
}) : C.forEach((_, O) => {
|
|
9081
|
-
var F, V, X, Z,
|
|
9085
|
+
var F, V, X, Z, $, Q;
|
|
9082
9086
|
if (x < 2) {
|
|
9083
9087
|
if ((_ >= 0 && _ <= 360 || _ >= -360 && _ <= 0) && _ % 10 === 0) {
|
|
9084
|
-
const
|
|
9088
|
+
const J = G.point([_, P], {
|
|
9085
9089
|
val: ((F = w[P].val) == null ? void 0 : F[O]) || ((V = w[P].dir) == null ? void 0 : V[O]),
|
|
9086
9090
|
spd: (X = w[P].spd) == null ? void 0 : X[O]
|
|
9087
9091
|
});
|
|
9088
|
-
I.push(
|
|
9092
|
+
I.push(J);
|
|
9089
9093
|
}
|
|
9090
9094
|
} else if (_ >= x && _ <= k && (!(a <= this.zoom) || _ % (a < this.zoom / 2 ? 5 : 3) === 0)) {
|
|
9091
|
-
const
|
|
9092
|
-
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((
|
|
9095
|
+
const J = G.point([_, P], {
|
|
9096
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || (($ = w[P].dir) == null ? void 0 : $[O]),
|
|
9093
9097
|
spd: (Q = w[P].spd) == null ? void 0 : Q[O]
|
|
9094
9098
|
});
|
|
9095
|
-
I.push(
|
|
9099
|
+
I.push(J);
|
|
9096
9100
|
}
|
|
9097
9101
|
});
|
|
9098
9102
|
}
|
|
@@ -9272,10 +9276,10 @@ const fn = {
|
|
|
9272
9276
|
}, In = {
|
|
9273
9277
|
key: 1,
|
|
9274
9278
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
9275
|
-
}, Rn = { class: "text-body-1 py-2" }, An = { class: "text-body-1 font-weight-medium" }, On = { class: "text-body-2 text-label" }, Bn = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label mb-3" }, En = { class: "text-body-1 font-weight-medium" }, Nn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Gn = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Un = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label" }, Zn = { class: "text-body-2 text-label mb-3" }, Yn = { class: "text-body-1 font-weight-medium" }, Xn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label mb-3" },
|
|
9279
|
+
}, Rn = { class: "text-body-1 py-2" }, An = { class: "text-body-1 font-weight-medium" }, On = { class: "text-body-2 text-label" }, Bn = { class: "text-body-2 text-label" }, jn = { class: "text-body-2 text-label mb-3" }, En = { class: "text-body-1 font-weight-medium" }, Nn = { class: "text-body-2 text-label" }, Fn = { class: "text-body-2 text-label" }, Hn = { class: "text-body-2 text-label mb-3" }, Gn = { class: "text-body-1 py-2" }, Wn = { class: "text-body-1 font-weight-medium" }, Un = { class: "text-body-2 text-label" }, Vn = { class: "text-body-2 text-label" }, Zn = { class: "text-body-2 text-label mb-3" }, Yn = { class: "text-body-1 font-weight-medium" }, Xn = { class: "text-body-2 text-label" }, qn = { class: "text-body-2 text-label" }, Kn = { class: "text-body-2 text-label mb-3" }, Jn = { class: "text-body-1 py-2" }, $n = { class: "text-body-1 font-weight-medium" }, Qn = { class: "text-body-2 text-label" }, ec = { class: "text-body-2 text-label" }, tc = { class: "text-body-2 text-label mb-3" };
|
|
9276
9280
|
function oc(t, e, o, i, a, s) {
|
|
9277
9281
|
var ue, ie, ce, ge, me, he, A, te, be, ve, Pe, Te, _e, Ie, Ce;
|
|
9278
|
-
const l = v("VBtn"), m = v("VTooltip"), c = v("VCol"), f = v("VRow"), d = v("VCardText"), b = v("VDivider"), x = v("VCard"), k = v("VSwitch"), y = v("VBtnToggle"), z = v("VCardTitle"), T = v("VCardItem"), B = v("VCheckbox"), I = v("VRadio"), w = v("IdmWindBarb"), L = v("IdmSigWaveHeight"), P = v("IdmCurrentDirection"), C = v("IdmPrmsl"), _ = v("IdmWindParticle"), O = v("IdmCurrentParticle"), F = v("IdmWave"), V = v("IdmSwell"), X = v("IdmIceEdge"), Z = v("IdmIceCover"),
|
|
9282
|
+
const l = v("VBtn"), m = v("VTooltip"), c = v("VCol"), f = v("VRow"), d = v("VCardText"), b = v("VDivider"), x = v("VCard"), k = v("VSwitch"), y = v("VBtnToggle"), z = v("VCardTitle"), T = v("VCardItem"), B = v("VCheckbox"), I = v("VRadio"), w = v("IdmWindBarb"), L = v("IdmSigWaveHeight"), P = v("IdmCurrentDirection"), C = v("IdmPrmsl"), _ = v("IdmWindParticle"), O = v("IdmCurrentParticle"), F = v("IdmWave"), V = v("IdmSwell"), X = v("IdmIceEdge"), Z = v("IdmIceCover"), $ = v("IdmIceThickness"), Q = v("IdmPrecip3h"), J = v("IdmVisibility"), se = v("IdmWaterTemp"), le = v("IdmTemp");
|
|
9279
9283
|
return g(), M("div", yn, [
|
|
9280
9284
|
r("div", {
|
|
9281
9285
|
class: "menu-bar-box transition pa-1",
|
|
@@ -9284,8 +9288,10 @@ function oc(t, e, o, i, a, s) {
|
|
|
9284
9288
|
p(m, {
|
|
9285
9289
|
text: t.$t("weather.weatherLayers"),
|
|
9286
9290
|
location: "left",
|
|
9287
|
-
|
|
9288
|
-
"
|
|
9291
|
+
interactive: !0,
|
|
9292
|
+
"open-on-click": !1,
|
|
9293
|
+
"open-on-focus": !o.simple,
|
|
9294
|
+
"open-on-hover": !o.simple
|
|
9289
9295
|
}, {
|
|
9290
9296
|
activator: u(({ props: H }) => [
|
|
9291
9297
|
p(l, j(H, {
|
|
@@ -9303,12 +9309,12 @@ function oc(t, e, o, i, a, s) {
|
|
|
9303
9309
|
}, 1040, ["class", "onClick"])
|
|
9304
9310
|
]),
|
|
9305
9311
|
_: 1
|
|
9306
|
-
}, 8, ["text"])
|
|
9312
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9307
9313
|
], 4),
|
|
9308
9314
|
s.showTipMenu ? (g(), M("div", bn, [
|
|
9309
9315
|
r("div", {
|
|
9310
9316
|
class: pe(["menu-bar-box pa-1 rounded", o.simple ? "simple" : ""]),
|
|
9311
|
-
style: ee({ right: a.right + "px" })
|
|
9317
|
+
style: ee({ right: a.right + "px", top: o.simple ? "354px" : "450px" })
|
|
9312
9318
|
}, [
|
|
9313
9319
|
p(m, {
|
|
9314
9320
|
text: "Legend",
|
|
@@ -9336,7 +9342,7 @@ function oc(t, e, o, i, a, s) {
|
|
|
9336
9342
|
key: 0,
|
|
9337
9343
|
elevation: "16",
|
|
9338
9344
|
class: "card-info d-flex justify-center align-start",
|
|
9339
|
-
style: ee({ position: "absolute", top: "340px", right: a.right + 50 + "px" })
|
|
9345
|
+
style: ee({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
|
|
9340
9346
|
}, {
|
|
9341
9347
|
default: u(() => [
|
|
9342
9348
|
p(d, {
|
|
@@ -9729,14 +9735,14 @@ function oc(t, e, o, i, a, s) {
|
|
|
9729
9735
|
}),
|
|
9730
9736
|
p(d, { class: "" }, {
|
|
9731
9737
|
default: u(() => {
|
|
9732
|
-
var H, oe, He, Oe, fe, Re, W, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, $e,
|
|
9738
|
+
var H, oe, He, Oe, fe, Re, W, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, $e, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, Mt, St, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo;
|
|
9733
9739
|
return [
|
|
9734
9740
|
r("div", Rn, n(t.$t("weather.atmospheric")), 1),
|
|
9735
9741
|
r("div", An, n((He = (oe = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : oe.NOAA) == null ? void 0 : He.source) + " " + n((Re = (fe = (Oe = a.models) == null ? void 0 : Oe.weather) == null ? void 0 : fe.NOAA) == null ? void 0 : Re.spatialResolution) + n(t.$t("units.km")) + " " + n((re = (ae = (ye = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : ye.NOAA) == null ? void 0 : ae.meta) == null ? void 0 : re.days) + n(t.$t("units.days")), 1),
|
|
9736
9742
|
r("div", On, n(t.$t("weather.source")) + ": NOAA", 1),
|
|
9737
9743
|
r("div", Bn, n(t.$t("weather.lastUpdate")) + ": " + n(s.computeDateUpdate((E = (We = (Ge = (je = a.models) == null ? void 0 : je.weather) == null ? void 0 : Ge.NOAA) == null ? void 0 : We.meta) == null ? void 0 : E.availabilityTime)), 1),
|
|
9738
9744
|
r("div", jn, n(t.$t("weather.referenceTime")) + ": " + n(s.computeDateZ((Ne = (Ee = (Be = (we = a.models) == null ? void 0 : we.weather) == null ? void 0 : Be.NOAA) == null ? void 0 : Ee.meta) == null ? void 0 : Ne.initialisationTime)), 1),
|
|
9739
|
-
r("div", En, n((U = (Ue = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : U.source) + " " + n((Ke = (qe = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ke.spatialResolution) + n(t.$t("units.km")) + " " + n((Qe = (
|
|
9745
|
+
r("div", En, n((U = (Ue = (N = a.models) == null ? void 0 : N.weather) == null ? void 0 : Ue.ECMWF) == null ? void 0 : U.source) + " " + n((Ke = (qe = (Xe = a.models) == null ? void 0 : Xe.weather) == null ? void 0 : qe.ECMWF) == null ? void 0 : Ke.spatialResolution) + n(t.$t("units.km")) + " " + n((Qe = ($e = (Je = (Le = a.models) == null ? void 0 : Le.weather) == null ? void 0 : Je.ECMWF) == null ? void 0 : $e.meta) == null ? void 0 : Qe.days) + n(t.$t("units.days")), 1),
|
|
9740
9746
|
r("div", Nn, n(t.$t("weather.source")) + ": ECMWF", 1),
|
|
9741
9747
|
r("div", Fn, n(t.$t("weather.lastUpdate")) + ": " + n(s.computeDateUpdate((at = (ot = (tt = (et = a.models) == null ? void 0 : et.weather) == null ? void 0 : tt.ECMWF) == null ? void 0 : ot.meta) == null ? void 0 : at.availabilityTime)), 1),
|
|
9742
9748
|
r("div", Hn, n(t.$t("weather.referenceTime")) + ": " + n(s.computeDateZ((lt = (st = (rt = (it = a.models) == null ? void 0 : it.weather) == null ? void 0 : rt.ECMWF) == null ? void 0 : st.meta) == null ? void 0 : lt.initialisationTime)), 1),
|
|
@@ -9751,8 +9757,8 @@ function oc(t, e, o, i, a, s) {
|
|
|
9751
9757
|
r("div", qn, n(t.$t("weather.lastUpdate")) + ": " + n(s.computeDateUpdate((Xt = (Yt = (Zt = (Vt = (Ut = a.models) == null ? void 0 : Ut.marine) == null ? void 0 : Vt.wave) == null ? void 0 : Zt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : Xt.availabilityTime)), 1),
|
|
9752
9758
|
r("div", Kn, n(t.$t("weather.referenceTime")) + ": " + n(s.computeDateZ((eo = (Qt = (Jt = (Kt = (qt = a.models) == null ? void 0 : qt.marine) == null ? void 0 : Kt.wave) == null ? void 0 : Jt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : eo.initialisationTime)), 1),
|
|
9753
9759
|
p(b),
|
|
9754
|
-
r("div",
|
|
9755
|
-
r("div",
|
|
9760
|
+
r("div", Jn, n(t.$t("weather.currents")), 1),
|
|
9761
|
+
r("div", $n, n((io = (ao = (oo = (to = a.models) == null ? void 0 : to.marine) == null ? void 0 : oo.current) == null ? void 0 : ao.ECMWF) == null ? void 0 : io.source) + " " + n((no = (lo = (so = (ro = a.models) == null ? void 0 : ro.marine) == null ? void 0 : so.current) == null ? void 0 : lo.ECMWF) == null ? void 0 : no.spatialResolution) + n(t.$t("units.km")) + " " + n((uo = (po = (ho = (mo = (co = a.models) == null ? void 0 : co.marine) == null ? void 0 : mo.current) == null ? void 0 : ho.ECMWF) == null ? void 0 : po.meta) == null ? void 0 : uo.days) + n(t.$t("units.days")), 1),
|
|
9756
9762
|
r("div", Qn, n(t.$t("weather.source")) + ": ECMWF", 1),
|
|
9757
9763
|
r("div", ec, n(t.$t("weather.lastUpdate")) + ": " + n(s.computeDateUpdate((wo = (bo = (yo = (fo = (go = a.models) == null ? void 0 : go.marine) == null ? void 0 : fo.current) == null ? void 0 : yo.ECMWF) == null ? void 0 : bo.meta) == null ? void 0 : wo.availabilityTime)), 1),
|
|
9758
9764
|
r("div", tc, n(t.$t("weather.referenceTime")) + ": " + n(s.computeDateZ((zo = (ko = (_o = (vo = (xo = a.models) == null ? void 0 : xo.marine) == null ? void 0 : vo.current) == null ? void 0 : _o.ECMWF) == null ? void 0 : ko.meta) == null ? void 0 : zo.initialisationTime)), 1)
|
|
@@ -9842,7 +9848,7 @@ function oc(t, e, o, i, a, s) {
|
|
|
9842
9848
|
"menu-toggle": o.menuToggle,
|
|
9843
9849
|
simple: o.simple
|
|
9844
9850
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
|
|
9845
|
-
o.map ? (g(), R(
|
|
9851
|
+
o.map ? (g(), R($, j({
|
|
9846
9852
|
key: 11,
|
|
9847
9853
|
viewport: a.viewport,
|
|
9848
9854
|
factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-thickness"],
|
|
@@ -9856,7 +9862,7 @@ function oc(t, e, o, i, a, s) {
|
|
|
9856
9862
|
"menu-toggle": o.menuToggle,
|
|
9857
9863
|
simple: o.simple
|
|
9858
9864
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
|
|
9859
|
-
o.map ? (g(), R(
|
|
9865
|
+
o.map ? (g(), R(J, j({
|
|
9860
9866
|
key: 13,
|
|
9861
9867
|
viewport: a.viewport,
|
|
9862
9868
|
factor: (_e = a.weatherLayers) == null ? void 0 : _e.visibility,
|
|
@@ -10226,7 +10232,7 @@ class Za {
|
|
|
10226
10232
|
}), a;
|
|
10227
10233
|
}
|
|
10228
10234
|
static pickHourly(e, o) {
|
|
10229
|
-
var i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
10235
|
+
var i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le, ue, ie, ce, ge, me, he, A, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re;
|
|
10230
10236
|
const W = typeof o == "string" ? S(o) : o, ye = e == null ? void 0 : e.weather, ae = e == null ? void 0 : e.marine, re = S((a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), je = re.clone().add((m = (l = (s = ye == null ? void 0 : ye[0]) == null ? void 0 : s.hourly) == null ? void 0 : l.time) == null ? void 0 : m.at(0), "h"), Ge = re.clone().add((d = (f = (c = ye == null ? void 0 : ye[0]) == null ? void 0 : c.hourly) == null ? void 0 : f.time) == null ? void 0 : d.at(-1), "h"), We = [];
|
|
10231
10237
|
if (W.isBetween(je, Ge, "millisecond", "[]")) {
|
|
10232
10238
|
const E = W.utc().diff(je, "h", !1);
|
|
@@ -10262,10 +10268,10 @@ class Za {
|
|
|
10262
10268
|
speed: (F = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : F.at(E),
|
|
10263
10269
|
kts: (V = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : V.at(E),
|
|
10264
10270
|
degree: (X = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : X.at(E),
|
|
10265
|
-
bearing: ((Z = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((
|
|
10271
|
+
bearing: ((Z = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? ((($ = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : $.at(E)) + 180) % 360 : null,
|
|
10266
10272
|
gusts: (Q = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : Q.at(E)
|
|
10267
10273
|
},
|
|
10268
|
-
isDay: (
|
|
10274
|
+
isDay: (J = U == null ? void 0 : U.is_day) == null ? void 0 : J.at(E)
|
|
10269
10275
|
};
|
|
10270
10276
|
const { name: Xe, url: qe, bg: Ke } = this.parseWeatherCode(we.code, we.isDay);
|
|
10271
10277
|
we.name = Xe, we.url = qe, we.bg = Ke, we.wind.scale = this.beaufort(this.kts2ms(we.wind.kts)), we.wind.direction = this.degree2Direction(we.wind.degree), We.push({
|
|
@@ -10339,7 +10345,7 @@ class Za {
|
|
|
10339
10345
|
};
|
|
10340
10346
|
}
|
|
10341
10347
|
static pickDaily(e, o) {
|
|
10342
|
-
var i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
10348
|
+
var i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le, ue, ie, ce, ge, me, he, A, te, be, ve, Pe, Te, _e;
|
|
10343
10349
|
const Ie = typeof o == "string" ? S(o) : o, Ce = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, oe = S((s = (a = (i = Ce == null ? void 0 : Ce[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : s.at(0)), He = S((c = (m = (l = Ce == null ? void 0 : Ce[0]) == null ? void 0 : l.daily) == null ? void 0 : m.time) == null ? void 0 : c.at(-1)), Oe = [];
|
|
10344
10350
|
if (Ie.isBetween(oe, He, "millisecond", "[]")) {
|
|
10345
10351
|
let fe, Re;
|
|
@@ -10376,7 +10382,7 @@ class Za {
|
|
|
10376
10382
|
kts: (F = ae.wind_speed_10m_max) == null ? void 0 : F.at(W),
|
|
10377
10383
|
degree: (V = ae.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
|
|
10378
10384
|
gusts: (X = ae.wind_gusts_10m_max) == null ? void 0 : X.at(W),
|
|
10379
|
-
bearing: ((Z = ae.wind_direction_10m_dominant) == null ? void 0 : Z.at(W)) !== null ? (((
|
|
10385
|
+
bearing: ((Z = ae.wind_direction_10m_dominant) == null ? void 0 : Z.at(W)) !== null ? ((($ = ae.wind_direction_10m_dominant) == null ? void 0 : $.at(W)) + 180) % 360 : null
|
|
10380
10386
|
}
|
|
10381
10387
|
};
|
|
10382
10388
|
const { name: re, url: je, bg: Ge } = this.parseWeatherCode(fe.code, !0);
|
|
@@ -10394,7 +10400,7 @@ class Za {
|
|
|
10394
10400
|
wave: {
|
|
10395
10401
|
sig: {
|
|
10396
10402
|
height: (Q = re.wave_height_max) == null ? void 0 : Q.at(W),
|
|
10397
|
-
degree: (
|
|
10403
|
+
degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(W),
|
|
10398
10404
|
period: (se = re.wave_period_max) == null ? void 0 : se.at(W),
|
|
10399
10405
|
bearing: ((le = re.wave_direction_dominant) == null ? void 0 : le.at(W)) !== null ? (((ue = re.wave_direction_dominant) == null ? void 0 : ue.at(W)) + 180) % 360 : null
|
|
10400
10406
|
},
|
|
@@ -11298,7 +11304,7 @@ const ic = {
|
|
|
11298
11304
|
this.map && (this.map.getLayer(this.historyLayer) && this.map.removeLayer(this.historyLayer), this.map.getLayer(this.forecastLayer) && this.map.removeLayer(this.forecastLayer), this.map.getLayer(this.forecastModelLayer) && this.map.removeLayer(this.forecastModelLayer), this.map.getLayer(this.forecastNameLayer) && this.map.removeLayer(this.forecastNameLayer), this.map.getLayer(this.pointCircleLayer) && this.map.removeLayer(this.pointCircleLayer), this.map.getLayer(this.pointCircleLayer + "-border") && this.map.removeLayer(this.pointCircleLayer + "-border"), this.map.getLayer(this.pointLabelLayer) && this.map.removeLayer(this.pointLabelLayer), this.map.getLayer(this.historyPointCircleLayer) && this.map.removeLayer(this.historyPointCircleLayer), this.map.getLayer(this.historyPointCircleLayer + "-border") && this.map.removeLayer(this.historyPointCircleLayer + "-border"), this.map.getLayer(this.historyPointCircleLayer + "-inner") && this.map.removeLayer(this.historyPointCircleLayer + "-inner"), this.map.getLayer(this.historyPointLabelLayer) && this.map.removeLayer(this.historyPointLabelLayer), this.map.getLayer(this.interpolateLineLayer) && this.map.removeLayer(this.interpolateLineLayer), (t = this.interpolateMarkers) == null || t.forEach((a) => a == null ? void 0 : a.remove()), this.map.getSource(this.source) && this.map.removeSource(this.source), this.map.getSource(this.clusterSource) && this.map.removeSource(this.clusterSource), this.map.getSource(this.interpolateSource) && this.map.removeSource(this.interpolateSource)), (e = this.map) == null || e.off("click", this.clickLayers, this.handleClick), (o = this.map) == null || o.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
|
|
11299
11305
|
},
|
|
11300
11306
|
handleDateChange() {
|
|
11301
|
-
var t, e, o, i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
11307
|
+
var t, e, o, i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le, ue;
|
|
11302
11308
|
if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
11303
11309
|
const ie = S(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), ce = this.interpolateData.filter((A) => A.properties.date === (ie == null ? void 0 : ie.format()) && !A.properties.disabled), ge = this.handleComputePolygons(ce), me = G.featureCollection([...ce]);
|
|
11304
11310
|
ge.forEach((A) => {
|
|
@@ -11339,7 +11345,7 @@ const ic = {
|
|
|
11339
11345
|
A.properties.nameCn = Te, A.properties.Name = ((d = (f = A.properties.name) == null ? void 0 : f.trim()) == null ? void 0 : d.replace(/^./, (_e) => _e.toUpperCase())) || A.properties.nameCn, he.push(A);
|
|
11340
11346
|
}
|
|
11341
11347
|
let te = this.Theme.current.value.colors["tropicals-ty"];
|
|
11342
|
-
((x = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((y = (k = A.properties) == null ? void 0 : k.wind) != null && y.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((T = (z = A.properties) == null ? void 0 : z.wind) == null ? void 0 : T.kts) >= 32 && ((I = (B = A.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((L = (w = A.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) >= 47 && ((C = (P = A.properties) == null ? void 0 : P.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((O = (_ = A.properties) == null ? void 0 : _.wind) == null ? void 0 : O.kts) >= 63 && ((V = (F = A.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (X = A.properties) == null ? void 0 : X.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = (
|
|
11348
|
+
((x = (b = A.properties) == null ? void 0 : b.wind) == null ? void 0 : x.kts) < 32 || !((y = (k = A.properties) == null ? void 0 : k.wind) != null && y.kts) ? te = this.Theme.current.value.colors["tropicals-td"] : ((T = (z = A.properties) == null ? void 0 : z.wind) == null ? void 0 : T.kts) >= 32 && ((I = (B = A.properties) == null ? void 0 : B.wind) == null ? void 0 : I.kts) < 47 ? te = this.Theme.current.value.colors["tropicals-ts"] : ((L = (w = A.properties) == null ? void 0 : w.wind) == null ? void 0 : L.kts) >= 47 && ((C = (P = A.properties) == null ? void 0 : P.wind) == null ? void 0 : C.kts) < 63 ? te = this.Theme.current.value.colors["tropicals-sts"] : ((O = (_ = A.properties) == null ? void 0 : _.wind) == null ? void 0 : O.kts) >= 63 && ((V = (F = A.properties) == null ? void 0 : F.wind) == null ? void 0 : V.kts) < 79 ? te = this.Theme.current.value.colors["tropicals-ty"] : ((Z = (X = A.properties) == null ? void 0 : X.wind) == null ? void 0 : Z.kts) >= 79 && ((Q = ($ = A.properties) == null ? void 0 : $.wind) == null ? void 0 : Q.kts) < 94 ? te = this.Theme.current.value.colors["tropicals-sty"] : ((se = (J = A.properties) == null ? void 0 : J.wind) == null ? void 0 : se.kts) >= 94 ? te = this.Theme.current.value.colors["tropicals-super-ty"] : te = this.Theme.current.value.colors["tropicals-ty"];
|
|
11343
11349
|
const be = `<svg t="1719918955501"
|
|
11344
11350
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
11345
11351
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -11509,7 +11515,7 @@ const ic = {
|
|
|
11509
11515
|
key: 1,
|
|
11510
11516
|
class: "my-3 w-100",
|
|
11511
11517
|
style: { height: "80px" }
|
|
11512
|
-
}, qc = { class: "legend d-flex justify-start align-center" }, Kc = { class: "label" },
|
|
11518
|
+
}, qc = { class: "legend d-flex justify-start align-center" }, Kc = { class: "label" }, Jc = { class: "legend d-flex justify-start align-center" }, $c = { class: "label" }, Qc = { class: "legend d-flex justify-start align-center" }, em = { class: "label" }, tm = { class: "legend d-flex justify-start align-center" }, om = { class: "label" }, am = { class: "legend d-flex justify-start align-center" }, im = { class: "label" }, rm = { class: "legend d-flex justify-start align-center" }, sm = { class: "label" }, lm = { class: "legend d-flex justify-start align-center" }, nm = { class: "label" }, cm = { class: "legend d-flex justify-start align-center" }, mm = { class: "label" }, hm = { class: "legend d-flex justify-start align-center" }, dm = { class: "label" }, pm = { class: "legend d-flex justify-start align-center" }, um = { class: "label" }, gm = { class: "d-flex justify-star align-center" }, fm = { class: "font-weight-600 mr-1" }, ym = { class: "" }, bm = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, wm = {
|
|
11513
11519
|
key: 0,
|
|
11514
11520
|
class: "d-flex justify-start align-center"
|
|
11515
11521
|
}, xm = { class: "text-label pr-1" }, vm = {
|
|
@@ -11543,7 +11549,11 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11543
11549
|
}, [
|
|
11544
11550
|
p(m, {
|
|
11545
11551
|
text: t.$t("tropical.tropicals"),
|
|
11546
|
-
location: "left"
|
|
11552
|
+
location: "left",
|
|
11553
|
+
interactive: !0,
|
|
11554
|
+
"open-on-click": !1,
|
|
11555
|
+
"open-on-focus": !o.simple,
|
|
11556
|
+
"open-on-hover": !o.simple
|
|
11547
11557
|
}, {
|
|
11548
11558
|
activator: u(({ props: y }) => [
|
|
11549
11559
|
p(l, j(y, {
|
|
@@ -11561,7 +11571,7 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11561
11571
|
}, 1040, ["class", "onClick"])
|
|
11562
11572
|
]),
|
|
11563
11573
|
_: 1
|
|
11564
|
-
}, 8, ["text"])
|
|
11574
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
11565
11575
|
], 4),
|
|
11566
11576
|
a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (g(), M("div", {
|
|
11567
11577
|
key: 0,
|
|
@@ -11762,9 +11772,9 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11762
11772
|
e[16] || (e[16] = r("div", { class: "icon td" }, null, -1)),
|
|
11763
11773
|
r("div", Kc, n(t.$t("tropical.td")), 1)
|
|
11764
11774
|
]),
|
|
11765
|
-
r("div",
|
|
11775
|
+
r("div", Jc, [
|
|
11766
11776
|
e[17] || (e[17] = r("div", { class: "icon ts" }, null, -1)),
|
|
11767
|
-
r("div",
|
|
11777
|
+
r("div", $c, n(t.$t("tropical.ts")), 1)
|
|
11768
11778
|
]),
|
|
11769
11779
|
r("div", Qc, [
|
|
11770
11780
|
e[18] || (e[18] = r("div", { class: "icon sts" }, null, -1)),
|
|
@@ -11823,7 +11833,7 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11823
11833
|
return [
|
|
11824
11834
|
r("div", gm, [
|
|
11825
11835
|
r("span", fm, n(o.locale === "en" ? (y = a.hoverPoint) == null ? void 0 : y.Name : ((z = a.hoverPoint) == null ? void 0 : z.nameCn) || ((T = a.hoverPoint) == null ? void 0 : T.Name)), 1),
|
|
11826
|
-
r("span", ym, "
|
|
11836
|
+
r("span", ym, " [" + n(t.$t("tropical." + ((B = a.hoverPoint) == null ? void 0 : B.levelI18n))) + "]", 1)
|
|
11827
11837
|
])
|
|
11828
11838
|
];
|
|
11829
11839
|
}),
|
|
@@ -11832,7 +11842,7 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11832
11842
|
p(k),
|
|
11833
11843
|
p(c, { class: "text-body-1" }, {
|
|
11834
11844
|
default: u(() => {
|
|
11835
|
-
var y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
11845
|
+
var y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le;
|
|
11836
11846
|
return [
|
|
11837
11847
|
r("div", bm, [
|
|
11838
11848
|
((y = a.hoverPoint) == null ? void 0 : y.type) === "forecast" ? (g(), M("div", wm, [
|
|
@@ -11865,9 +11875,9 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11865
11875
|
]),
|
|
11866
11876
|
((Z = a.hoverPoint) == null ? void 0 : Z.type) === "history" ? (g(), M("div", Rm, [
|
|
11867
11877
|
r("label", Am, n(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
11868
|
-
r("span", null, n(((Q = JSON.parse((
|
|
11878
|
+
r("span", null, n(((Q = JSON.parse(($ = a.hoverPoint) == null ? void 0 : $.movement)) == null ? void 0 : Q.kts) ?? "-") + " kts", 1)
|
|
11869
11879
|
])) : D("", !0),
|
|
11870
|
-
((
|
|
11880
|
+
((J = a.hoverPoint) == null ? void 0 : J.type) === "history" ? (g(), M("div", Om, [
|
|
11871
11881
|
r("label", Bm, n(t.$t("tropical.moveDir")) + " : ", 1),
|
|
11872
11882
|
r("span", null, n(((le = JSON.parse((se = a.hoverPoint) == null ? void 0 : se.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
|
|
11873
11883
|
])) : D("", !0),
|
|
@@ -12381,7 +12391,7 @@ const Ym = {
|
|
|
12381
12391
|
class: "idm-gl4-date-picker",
|
|
12382
12392
|
ref: "idmGl4DatePicker"
|
|
12383
12393
|
}, qm = { class: "flex-1-1-0" }, Km = { class: "pa-0" };
|
|
12384
|
-
function
|
|
12394
|
+
function Jm(t, e, o, i, a, s) {
|
|
12385
12395
|
const l = v("VIcon"), m = v("VDatePicker"), c = v("VCardText"), f = v("VDivider"), d = v("VBtn"), b = v("VCardActions"), x = v("VCard");
|
|
12386
12396
|
return g(), M("div", Xm, [
|
|
12387
12397
|
r("div", {
|
|
@@ -12461,8 +12471,8 @@ function $m(t, e, o, i, a, s) {
|
|
|
12461
12471
|
}, 8, ["style"])) : D("", !0)
|
|
12462
12472
|
], 512);
|
|
12463
12473
|
}
|
|
12464
|
-
const Ka = /* @__PURE__ */ Y(Ym, [["render",
|
|
12465
|
-
const
|
|
12474
|
+
const Ka = /* @__PURE__ */ Y(Ym, [["render", Jm]]);
|
|
12475
|
+
const $m = {
|
|
12466
12476
|
name: "IdmPoint",
|
|
12467
12477
|
components: {
|
|
12468
12478
|
DateTimePicker: So,
|
|
@@ -13499,10 +13509,10 @@ const Jm = {
|
|
|
13499
13509
|
}), this.loading = !1;
|
|
13500
13510
|
},
|
|
13501
13511
|
initTableData(t) {
|
|
13502
|
-
var o, i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
13512
|
+
var o, i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le, ue, ie, ce, ge, me, he, A, te, be;
|
|
13503
13513
|
this.currentHourData = {}, this.positionGmt = (i = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : i.timezone, this.positionOffset = (s = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : s.offset;
|
|
13504
13514
|
const e = ((l = To.pickHourly(t, S(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
13505
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (O = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : O.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = (
|
|
13515
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((m = e == null ? void 0 : e.weather) == null ? void 0 : m.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((f = (c = e == null ? void 0 : e.weather) == null ? void 0 : c.precip) == null ? void 0 : f.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((b = (d = e == null ? void 0 : e.weather) == null ? void 0 : d.precip) == null ? void 0 : b.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((x = e == null ? void 0 : e.weather) == null ? void 0 : x.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((y = (k = e == null ? void 0 : e.weather) == null ? void 0 : k.wind) == null ? void 0 : y.kts, 1) ?? "-", this.currentHourData.windDir = ((T = (z = e == null ? void 0 : e.weather) == null ? void 0 : z.wind) == null ? void 0 : T.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((I = (B = e == null ? void 0 : e.weather) == null ? void 0 : B.wind) == null ? void 0 : I.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((L = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : L.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((C = (P = e == null ? void 0 : e.wave) == null ? void 0 : P.sig) == null ? void 0 : C.height, 1) ?? "-", this.currentHourData.sigwaveDir = (O = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : O.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((V = (F = e == null ? void 0 : e.wave) == null ? void 0 : F.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((Z = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : Z.height, 1) ?? "-", this.currentHourData.windwaveDir = (Q = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : Q.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((se = (J = e == null ? void 0 : e.wave) == null ? void 0 : J.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((ue = (le = e == null ? void 0 : e.wave) == null ? void 0 : le.swell) == null ? void 0 : ue.height, 1) ?? "-", this.currentHourData.swellDir = (ce = (ie = e == null ? void 0 : e.wave) == null ? void 0 : ie.swell) == null ? void 0 : ce.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((me = (ge = e == null ? void 0 : e.wave) == null ? void 0 : ge.swell) == null ? void 0 : me.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((he = e == null ? void 0 : e.current) == null ? void 0 : he.speed, 1) ?? "-", this.currentHourData.currentDir = (A = e == null ? void 0 : e.current) == null ? void 0 : A.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((te = e == null ? void 0 : e.current) == null ? void 0 : te.speed, 1) ?? "-", this.currentHourData.seaLevel = this.computeRoundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.computeRoundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (be = e == null ? void 0 : e.weather) == null ? void 0 : be.url;
|
|
13506
13516
|
},
|
|
13507
13517
|
handleBind() {
|
|
13508
13518
|
var t, e;
|
|
@@ -13615,7 +13625,7 @@ const Jm = {
|
|
|
13615
13625
|
}, Oh = { class: "pa-0 text-left" }, Bh = { class: "d-flex justify-space-between align-center" }, jh = { class: "d-flex justify-start align-center" }, Eh = { class: "mx-1" }, Nh = { class: "d-flex justify-end align-center" }, Fh = { class: "mx-0 py-1 d-flex align-center justify-start" }, Hh = {
|
|
13616
13626
|
style: { width: "60px" },
|
|
13617
13627
|
class: "pa-0 pr-2 text-right opacity-50"
|
|
13618
|
-
}, Gh = { class: "pa-0 px-0" }, Wh = { class: "mx-0 py-1 d-flex align-center justify-start" }, Uh = { class: "pa-0 px-0" }, Vh = { class: "gray-bg-2 mx-4 my-2 py-3 px-2 rounded text-font-13 d-flex align-center justify-space-between" }, Zh = { class: "d-flex flex-column align-start justify-center ga-3" }, Yh = { class: "text-label pr-2" }, Xh = { class: "text-label pr-2" }, qh = { class: "text-label pr-2" }, Kh = { class: "d-flex flex-column align-start justify-center ga-3" },
|
|
13628
|
+
}, Gh = { class: "pa-0 px-0" }, Wh = { class: "mx-0 py-1 d-flex align-center justify-start" }, Uh = { class: "pa-0 px-0" }, Vh = { class: "gray-bg-2 mx-4 my-2 py-3 px-2 rounded text-font-13 d-flex align-center justify-space-between" }, Zh = { class: "d-flex flex-column align-start justify-center ga-3" }, Yh = { class: "text-label pr-2" }, Xh = { class: "text-label pr-2" }, qh = { class: "text-label pr-2" }, Kh = { class: "d-flex flex-column align-start justify-center ga-3" }, Jh = { class: "text-label pr-2" }, $h = { class: "text-label pr-2" }, Qh = { class: "text-label pr-2" }, ed = { id: "idm-position-icon" }, td = {
|
|
13619
13629
|
class: "multi-color-icon",
|
|
13620
13630
|
style: { height: "30px", width: "30px" },
|
|
13621
13631
|
"aria-hidden": "true"
|
|
@@ -13629,7 +13639,11 @@ function ad(t, e, o, i, a, s) {
|
|
|
13629
13639
|
}, [
|
|
13630
13640
|
p(m, {
|
|
13631
13641
|
text: t.$t("spot.spotsMeteo"),
|
|
13632
|
-
location: "left"
|
|
13642
|
+
location: "left",
|
|
13643
|
+
interactive: !0,
|
|
13644
|
+
"open-on-click": !1,
|
|
13645
|
+
"open-on-focus": !o.simple,
|
|
13646
|
+
"open-on-hover": !o.simple
|
|
13633
13647
|
}, {
|
|
13634
13648
|
activator: u(({ props: w }) => [
|
|
13635
13649
|
p(l, j(w, {
|
|
@@ -13647,7 +13661,7 @@ function ad(t, e, o, i, a, s) {
|
|
|
13647
13661
|
}, 1040, ["class", "onClick"])
|
|
13648
13662
|
]),
|
|
13649
13663
|
_: 1
|
|
13650
|
-
}, 8, ["text"])
|
|
13664
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
13651
13665
|
], 4),
|
|
13652
13666
|
a.showForm && !o.simple ? (g(), R(I, {
|
|
13653
13667
|
key: 0,
|
|
@@ -14204,11 +14218,11 @@ function ad(t, e, o, i, a, s) {
|
|
|
14204
14218
|
]),
|
|
14205
14219
|
r("div", Kh, [
|
|
14206
14220
|
r("div", null, [
|
|
14207
|
-
r("span",
|
|
14221
|
+
r("span", Jh, n(t.$t("weather.swell")), 1),
|
|
14208
14222
|
r("span", null, n(a.currentHourData.swellDir ?? "-") + "/" + n(a.currentHourData.swellHeight ?? "-") + "m/" + n(a.currentHourData.swellPeriod ?? "-") + "s", 1)
|
|
14209
14223
|
]),
|
|
14210
14224
|
r("div", null, [
|
|
14211
|
-
r("span",
|
|
14225
|
+
r("span", $h, n(t.$t("weather.current")), 1),
|
|
14212
14226
|
r("span", null, n(a.currentHourData.currentDir ?? "-") + "/" + n(a.currentHourData.currentSpeed ?? "-") + "kts", 1)
|
|
14213
14227
|
]),
|
|
14214
14228
|
r("div", null, [
|
|
@@ -14235,7 +14249,7 @@ function ad(t, e, o, i, a, s) {
|
|
|
14235
14249
|
])
|
|
14236
14250
|
]);
|
|
14237
14251
|
}
|
|
14238
|
-
const id = /* @__PURE__ */ Y(
|
|
14252
|
+
const id = /* @__PURE__ */ Y($m, [["render", ad]]);
|
|
14239
14253
|
const rd = {
|
|
14240
14254
|
name: "IdmMeasure",
|
|
14241
14255
|
props: {
|
|
@@ -14604,7 +14618,11 @@ function ld(t, e, o, i, a, s) {
|
|
|
14604
14618
|
}, [
|
|
14605
14619
|
p(m, {
|
|
14606
14620
|
text: t.$t("measure.measure"),
|
|
14607
|
-
location: "left"
|
|
14621
|
+
location: "left",
|
|
14622
|
+
interactive: !0,
|
|
14623
|
+
"open-on-click": !1,
|
|
14624
|
+
"open-on-focus": !o.simple,
|
|
14625
|
+
"open-on-hover": !o.simple
|
|
14608
14626
|
}, {
|
|
14609
14627
|
activator: u(({ props: c }) => [
|
|
14610
14628
|
p(l, j(c, {
|
|
@@ -14622,7 +14640,7 @@ function ld(t, e, o, i, a, s) {
|
|
|
14622
14640
|
}, 1040, ["class", "onClick"])
|
|
14623
14641
|
]),
|
|
14624
14642
|
_: 1
|
|
14625
|
-
}, 8, ["text"])
|
|
14643
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
14626
14644
|
], 4)
|
|
14627
14645
|
]);
|
|
14628
14646
|
}
|
|
@@ -15271,7 +15289,7 @@ function kd(t, e, o, i, a, s) {
|
|
|
15271
15289
|
])
|
|
15272
15290
|
], 4);
|
|
15273
15291
|
}
|
|
15274
|
-
const
|
|
15292
|
+
const Ja = /* @__PURE__ */ Y(vd, [["render", kd]]), zd = {
|
|
15275
15293
|
name: "IdmGL4",
|
|
15276
15294
|
components: {
|
|
15277
15295
|
IdmOtherLayer: hl,
|
|
@@ -15280,7 +15298,7 @@ const $a = /* @__PURE__ */ Y(vd, [["render", kd]]), zd = {
|
|
|
15280
15298
|
IdmMeasure: nd,
|
|
15281
15299
|
IdmSpot: id,
|
|
15282
15300
|
IdmBottomBar: xd,
|
|
15283
|
-
IdmTimePlayer:
|
|
15301
|
+
IdmTimePlayer: Ja
|
|
15284
15302
|
},
|
|
15285
15303
|
props: {
|
|
15286
15304
|
map: {
|
|
@@ -15429,7 +15447,7 @@ class Cd {
|
|
|
15429
15447
|
de(this, "hi");
|
|
15430
15448
|
de(this, "td");
|
|
15431
15449
|
de(this, "windy");
|
|
15432
|
-
var o, i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
15450
|
+
var o, i, a, s, l, m, c, f, d, b, x, k, y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, $, Q, J, se, le, ue, ie, ce, ge, me, he, A, te, be, ve, Pe, Te, _e, Ie, Ce, H, oe, He, Oe, fe, Re, W, ye, ae, re, je, Ge, We, E, we, Be, Ee, Ne, N, Ue, U, Xe, qe, Ke, Le, Je, $e, Qe, et, tt, ot, at, it, rt, st, lt, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Tt, Ct, Mt, St, Dt, It, Rt, At, Ot, Bt, jt, Et, Nt, Ft, Ht, Gt, Wt, Ut, Vt, Zt, Yt, Xt, qt, Kt, Jt, Qt, eo, to, oo, ao, io, ro, so, lo, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Ro, Ao, Oo, Bo, jo, Eo, No, Fo, Ho, Go, Wo, Uo, Vo, Zo, Yo, Xo, qo, Ko, Jo, $o, Qo, ea, ta, oa, aa, ia, ra, sa, la, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La, Pa, Ta, Ca, Ma, Sa, Da, Ia, Ra, Aa, Oa, Ba, ja, Ea, Na, Fa, Ha, Ga, Wa, Ua;
|
|
15433
15451
|
this.i4 = {
|
|
15434
15452
|
source: {
|
|
15435
15453
|
type: "raster",
|
|
@@ -34083,8 +34101,8 @@ class Cd {
|
|
|
34083
34101
|
(_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((h) => h.id === "water-outline2"),
|
|
34084
34102
|
(F = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : F.find((h) => h.id === "empty-layer-2"),
|
|
34085
34103
|
(X = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : X.find((h) => h.id === "water-line-label"),
|
|
34086
|
-
(
|
|
34087
|
-
(
|
|
34104
|
+
($ = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : $.find((h) => h.id === "water-point-label"),
|
|
34105
|
+
(J = (Q = this.originStyle) == null ? void 0 : Q.light.layers) == null ? void 0 : J.find((h) => h.id === "world-12nm-v4-20231025"),
|
|
34088
34106
|
(le = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : le.find((h) => h.id === "ne-10m-outline"),
|
|
34089
34107
|
(ie = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ie.find((h) => h.id === "ne-10m-label"),
|
|
34090
34108
|
(ge = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : ge.find((h) => h.id === "china-route-line"),
|
|
@@ -34127,8 +34145,8 @@ class Cd {
|
|
|
34127
34145
|
(Ue = (N = this.originStyle) == null ? void 0 : N.dark.layers) == null ? void 0 : Ue.find((h) => h.id === "ice-area-fill"),
|
|
34128
34146
|
(Xe = (U = this.originStyle) == null ? void 0 : U.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "ice-area-line"),
|
|
34129
34147
|
(Ke = (qe = this.originStyle) == null ? void 0 : qe.dark.layers) == null ? void 0 : Ke.find((h) => h.id === "loadlines-label"),
|
|
34130
|
-
(
|
|
34131
|
-
(Qe = (
|
|
34148
|
+
(Je = (Le = this.originStyle) == null ? void 0 : Le.dark.layers) == null ? void 0 : Je.find((h) => h.id === "loadlines-fill"),
|
|
34149
|
+
(Qe = ($e = this.originStyle) == null ? void 0 : $e.dark.layers) == null ? void 0 : Qe.find((h) => h.id === "empty-layer-0"),
|
|
34132
34150
|
(tt = (et = this.originStyle) == null ? void 0 : et.dark.layers) == null ? void 0 : tt.find((h) => h.id === "empty-layer-1"),
|
|
34133
34151
|
(at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((h) => h.id === "country-boundaries"),
|
|
34134
34152
|
(rt = (it = this.originStyle) == null ? void 0 : it.dark.layers) == null ? void 0 : rt.find((h) => h.id === "water-outline"),
|
|
@@ -34255,7 +34273,7 @@ class Cd {
|
|
|
34255
34273
|
(Xo = (Yo = this.originStyle) == null ? void 0 : Yo.light.layers) == null ? void 0 : Xo.find((h) => h.id === "land"),
|
|
34256
34274
|
(Ko = (qo = this.originStyle) == null ? void 0 : qo.light.layers) == null ? void 0 : Ko.find((h) => h.id === "water"),
|
|
34257
34275
|
this.i4.layer,
|
|
34258
|
-
(
|
|
34276
|
+
($o = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : $o.find((h) => h.id === "ice-area-fill"),
|
|
34259
34277
|
(ea = (Qo = this.originStyle) == null ? void 0 : Qo.light.layers) == null ? void 0 : ea.find((h) => h.id === "ice-area-line"),
|
|
34260
34278
|
(oa = (ta = this.originStyle) == null ? void 0 : ta.light.layers) == null ? void 0 : oa.find((h) => h.id === "loadlines-label"),
|
|
34261
34279
|
(ia = (aa = this.originStyle) == null ? void 0 : aa.light.layers) == null ? void 0 : ia.find((h) => h.id === "loadlines-fill"),
|
|
@@ -34380,7 +34398,7 @@ const Md = {
|
|
|
34380
34398
|
preserveDrawingBuffer: !0,
|
|
34381
34399
|
fadeDuration: 300
|
|
34382
34400
|
});
|
|
34383
|
-
t.dragRotate.disable(), t.on("load", () => {
|
|
34401
|
+
t.dragRotate.disable(), t.touchZoomRotate.disableRotation(), t.on("load", () => {
|
|
34384
34402
|
this.zoom = 2, this.map = t, this.$emit("menuToggle"), this.addScaleControl();
|
|
34385
34403
|
}), t.on("move", () => {
|
|
34386
34404
|
var e;
|
|
@@ -34483,7 +34501,7 @@ function Ad(t, e, o, i, a, s) {
|
|
|
34483
34501
|
}
|
|
34484
34502
|
const Od = /* @__PURE__ */ Y(Md, [["render", Ad]]), Yd = {
|
|
34485
34503
|
install(t) {
|
|
34486
|
-
t.component("MapInitial", Od), t.component("MapboxGL", Td), t.component("TropicalGL", qa), t.component("LatLngGL", Xa), t.component("DateTimePicker", So), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer",
|
|
34504
|
+
t.component("MapInitial", Od), t.component("MapboxGL", Td), t.component("TropicalGL", qa), t.component("LatLngGL", Xa), t.component("DateTimePicker", So), t.component("DateRangePicker", Ka), t.component("PortDetail", Do), t.component("TimePlayer", Ja);
|
|
34487
34505
|
}
|
|
34488
34506
|
};
|
|
34489
34507
|
export {
|
|
@@ -34496,7 +34514,7 @@ export {
|
|
|
34496
34514
|
Cd as MapboxStyleHelper,
|
|
34497
34515
|
Se as ParticleSchema,
|
|
34498
34516
|
Do as PortDetail,
|
|
34499
|
-
|
|
34517
|
+
Ja as TimePlayer,
|
|
34500
34518
|
qa as TropicalGL,
|
|
34501
34519
|
Io as Viewport,
|
|
34502
34520
|
Fe as WebGL,
|