@idmwx/idmui-gl4 2.2.7 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +146 -124
- package/dist/index.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var de = (t, e, o) => (
|
|
1
|
+
var Qa = Object.defineProperty;
|
|
2
|
+
var $a = (t, e, o) => e in t ? Qa(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o;
|
|
3
|
+
var de = (t, e, o) => ($a(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Ae from "axios";
|
|
5
5
|
import { useTheme as De } from "vuetify";
|
|
6
6
|
import { openBlock as g, createElementBlock as M, resolveComponent as v, createBlock as R, normalizeClass as pe, withCtx as u, createVNode as p, withModifiers as Me, createElementVNode as r, createCommentVNode as D, toDisplayString as n, createTextVNode as K, Fragment as xe, renderList as ke, withDirectives as Ze, vShow as Ye, mergeProps as j, normalizeStyle as ee } from "vue";
|
|
@@ -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((
|
|
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 : Q.wd) == null ? void 0 : $.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 }, Qi = { class: "px-1 text-center" }, $i = ["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,14 +1955,14 @@ 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", Qi, [
|
|
1961
1961
|
y.img ? (g(), M("img", {
|
|
1962
1962
|
key: 0,
|
|
1963
1963
|
src: y == null ? void 0 : y.value2,
|
|
1964
1964
|
style: { height: "30px" }
|
|
1965
|
-
}, null, 8,
|
|
1965
|
+
}, null, 8, $i)) : (g(), M("span", er, n((y == null ? void 0 : y.value2) ?? "-"), 1))
|
|
1966
1966
|
]),
|
|
1967
1967
|
r("td", tr, [
|
|
1968
1968
|
y.img ? (g(), M("img", {
|
|
@@ -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" }, Qr = { class: "d-flex justify-start align-center text-body-1 text-label ga-3" }, $r = { 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", Qr, [
|
|
3132
3132
|
r("div", null, n(t.$t("tide.tideStation")), 1)
|
|
3133
3133
|
])
|
|
3134
3134
|
];
|
|
@@ -3139,7 +3139,7 @@ function Ts(t, e, o, i, a, s) {
|
|
|
3139
3139
|
r("div", {
|
|
3140
3140
|
class: pe(["w-100 pt-0 pb-0 overflow-y-auto scroll", o.simple ? "px-3" : "px-5"])
|
|
3141
3141
|
}, [
|
|
3142
|
-
r("div",
|
|
3142
|
+
r("div", $r, [
|
|
3143
3143
|
r("div", es, [
|
|
3144
3144
|
r("div", ts, [
|
|
3145
3145
|
(g(), M("svg", os, [
|
|
@@ -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,8 +5462,8 @@ function $s(t, e, o, i, a, s) {
|
|
|
5462
5462
|
[Ye, a.showInfo]
|
|
5463
5463
|
]);
|
|
5464
5464
|
}
|
|
5465
|
-
const
|
|
5466
|
-
const
|
|
5465
|
+
const Qs = /* @__PURE__ */ Y(Ys, [["render", Js], ["__scopeId", "data-v-82405c68"]]);
|
|
5466
|
+
const $s = {
|
|
5467
5467
|
name: "IdmOtherLayerr",
|
|
5468
5468
|
components: {
|
|
5469
5469
|
IdmWarZone: ri,
|
|
@@ -5483,7 +5483,7 @@ const Qs = {
|
|
|
5483
5483
|
IdmIceAreas: Es,
|
|
5484
5484
|
IdmLatLng: Xa,
|
|
5485
5485
|
IdmFollowPort: Zs,
|
|
5486
|
-
IdmFollowPosition:
|
|
5486
|
+
IdmFollowPosition: Qs
|
|
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"), Q = v("IdmFollowPort"), $ = 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(Q, j({
|
|
6021
6025
|
key: 16,
|
|
6022
6026
|
ref: "idmFollowPort",
|
|
6023
6027
|
simple: o.simple,
|
|
@@ -6028,7 +6032,7 @@ function ml(t, e, o, i, a, s) {
|
|
|
6028
6032
|
"forecast-model": o.forecastModel,
|
|
6029
6033
|
realTime: o.realTime
|
|
6030
6034
|
}, t.$attrs, { "before-layer": "empty-layer-3" }), null, 16, ["simple", "map", "show", "gateway", "token", "forecast-model", "realTime"])) : D("", !0),
|
|
6031
|
-
o.map ? (g(), R(
|
|
6035
|
+
o.map ? (g(), R($, j({
|
|
6032
6036
|
key: 17,
|
|
6033
6037
|
ref: "idmFollowPosition",
|
|
6034
6038
|
simple: o.simple,
|
|
@@ -6039,7 +6043,7 @@ function ml(t, e, o, i, a, s) {
|
|
|
6039
6043
|
}, t.$attrs), null, 16, ["simple", "map", "show", "forecast-model", "realTime"])) : D("", !0)
|
|
6040
6044
|
]);
|
|
6041
6045
|
}
|
|
6042
|
-
const hl = /* @__PURE__ */ Y(
|
|
6046
|
+
const hl = /* @__PURE__ */ Y($s, [["render", ml]]);
|
|
6043
6047
|
class Io {
|
|
6044
6048
|
constructor(e) {
|
|
6045
6049
|
de(this, "map");
|
|
@@ -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,8 +8106,8 @@ function $l(t, e, o, i, a, s) {
|
|
|
8102
8106
|
]), 4)
|
|
8103
8107
|
])) : D("", !0);
|
|
8104
8108
|
}
|
|
8105
|
-
const
|
|
8106
|
-
const
|
|
8109
|
+
const Ql = /* @__PURE__ */ Y(ql, [["render", Jl]]);
|
|
8110
|
+
const $l = {
|
|
8107
8111
|
name: "IdmPrecip3h",
|
|
8108
8112
|
props: {
|
|
8109
8113
|
simple: {
|
|
@@ -8223,7 +8227,7 @@ function tn(t, e, o, i, a, s) {
|
|
|
8223
8227
|
]), 4)
|
|
8224
8228
|
])) : D("", !0);
|
|
8225
8229
|
}
|
|
8226
|
-
const on = /* @__PURE__ */ Y(
|
|
8230
|
+
const on = /* @__PURE__ */ Y($l, [["render", tn]]);
|
|
8227
8231
|
const an = {
|
|
8228
8232
|
name: "IdmVisibility",
|
|
8229
8233
|
props: {
|
|
@@ -8583,7 +8587,7 @@ const fn = {
|
|
|
8583
8587
|
IdmPrmsl: Fl,
|
|
8584
8588
|
IdmIceEdge: Ul,
|
|
8585
8589
|
IdmIceCover: Xl,
|
|
8586
|
-
IdmIceThickness:
|
|
8590
|
+
IdmIceThickness: Ql,
|
|
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]) || ((
|
|
9012
|
-
spd: (
|
|
9014
|
+
const J = G.point([_, P], {
|
|
9015
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
|
|
9016
|
+
spd: ($ = w[P].spd) == null ? void 0 : $[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]) || ((
|
|
9029
|
-
spd: (
|
|
9031
|
+
const J = G.point([_, P], {
|
|
9032
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
|
|
9033
|
+
spd: ($ = w[P].spd) == null ? void 0 : $[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]) || ((
|
|
9076
|
-
spd: (
|
|
9078
|
+
const J = G.point([_, P], {
|
|
9079
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
|
|
9080
|
+
spd: ($ = w[P].spd) == null ? void 0 : $[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]) || ((
|
|
9093
|
-
spd: (
|
|
9095
|
+
const J = G.point([_, P], {
|
|
9096
|
+
val: ((Z = w[P].val) == null ? void 0 : Z[O]) || ((Q = w[P].dir) == null ? void 0 : Q[O]),
|
|
9097
|
+
spd: ($ = w[P].spd) == null ? void 0 : $[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" }, Qn = { class: "text-body-1 font-weight-medium" }, $n = { 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"), Q = v("IdmIceThickness"), $ = 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,16 +9309,20 @@ 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
|
-
text: "
|
|
9315
|
-
location: "left"
|
|
9320
|
+
text: t.$t("weather.legend"),
|
|
9321
|
+
location: "left",
|
|
9322
|
+
interactive: !0,
|
|
9323
|
+
"open-on-click": !1,
|
|
9324
|
+
"open-on-focus": !o.simple,
|
|
9325
|
+
"open-on-hover": !o.simple
|
|
9316
9326
|
}, {
|
|
9317
9327
|
activator: u(({ props: H }) => [
|
|
9318
9328
|
p(l, j(H, {
|
|
@@ -9330,13 +9340,13 @@ function oc(t, e, o, i, a, s) {
|
|
|
9330
9340
|
}, 1040, ["class"])
|
|
9331
9341
|
]),
|
|
9332
9342
|
_: 1
|
|
9333
|
-
})
|
|
9343
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9334
9344
|
], 6),
|
|
9335
9345
|
a.legendToggle ? (g(), R(x, {
|
|
9336
9346
|
key: 0,
|
|
9337
9347
|
elevation: "16",
|
|
9338
9348
|
class: "card-info d-flex justify-center align-start",
|
|
9339
|
-
style: ee({ position: "absolute", top: "340px", right: a.right + 50 + "px" })
|
|
9349
|
+
style: ee({ position: "absolute", top: o.simple ? "200px" : "340px", right: a.right + 50 + "px" })
|
|
9340
9350
|
}, {
|
|
9341
9351
|
default: u(() => [
|
|
9342
9352
|
p(d, {
|
|
@@ -9729,14 +9739,14 @@ function oc(t, e, o, i, a, s) {
|
|
|
9729
9739
|
}),
|
|
9730
9740
|
p(d, { class: "" }, {
|
|
9731
9741
|
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,
|
|
9742
|
+
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, Qe, $e, 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
9743
|
return [
|
|
9734
9744
|
r("div", Rn, n(t.$t("weather.atmospheric")), 1),
|
|
9735
9745
|
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
9746
|
r("div", On, n(t.$t("weather.source")) + ": NOAA", 1),
|
|
9737
9747
|
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
9748
|
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((
|
|
9749
|
+
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(($e = (Qe = (Je = (Le = a.models) == null ? void 0 : Le.weather) == null ? void 0 : Je.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : $e.days) + n(t.$t("units.days")), 1),
|
|
9740
9750
|
r("div", Nn, n(t.$t("weather.source")) + ": ECMWF", 1),
|
|
9741
9751
|
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
9752
|
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,9 +9761,9 @@ function oc(t, e, o, i, a, s) {
|
|
|
9751
9761
|
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
9762
|
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
9763
|
p(b),
|
|
9754
|
-
r("div",
|
|
9755
|
-
r("div",
|
|
9756
|
-
r("div",
|
|
9764
|
+
r("div", Jn, n(t.$t("weather.currents")), 1),
|
|
9765
|
+
r("div", Qn, 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),
|
|
9766
|
+
r("div", $n, n(t.$t("weather.source")) + ": ECMWF", 1),
|
|
9757
9767
|
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
9768
|
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)
|
|
9759
9769
|
];
|
|
@@ -9842,21 +9852,21 @@ function oc(t, e, o, i, a, s) {
|
|
|
9842
9852
|
"menu-toggle": o.menuToggle,
|
|
9843
9853
|
simple: o.simple
|
|
9844
9854
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
|
|
9845
|
-
o.map ? (g(), R(
|
|
9855
|
+
o.map ? (g(), R(Q, j({
|
|
9846
9856
|
key: 11,
|
|
9847
9857
|
viewport: a.viewport,
|
|
9848
9858
|
factor: (Pe = a.weatherLayers) == null ? void 0 : Pe["ice-thickness"],
|
|
9849
9859
|
"menu-toggle": o.menuToggle,
|
|
9850
9860
|
simple: o.simple
|
|
9851
9861
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
|
|
9852
|
-
o.map ? (g(), R(
|
|
9862
|
+
o.map ? (g(), R($, j({
|
|
9853
9863
|
key: 12,
|
|
9854
9864
|
viewport: a.viewport,
|
|
9855
9865
|
factor: (Te = a.weatherLayers) == null ? void 0 : Te.precip3h,
|
|
9856
9866
|
"menu-toggle": o.menuToggle,
|
|
9857
9867
|
simple: o.simple
|
|
9858
9868
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : D("", !0),
|
|
9859
|
-
o.map ? (g(), R(
|
|
9869
|
+
o.map ? (g(), R(J, j({
|
|
9860
9870
|
key: 13,
|
|
9861
9871
|
viewport: a.viewport,
|
|
9862
9872
|
factor: (_e = a.weatherLayers) == null ? void 0 : _e.visibility,
|
|
@@ -10226,7 +10236,7 @@ class Za {
|
|
|
10226
10236
|
}), a;
|
|
10227
10237
|
}
|
|
10228
10238
|
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,
|
|
10239
|
+
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
10240
|
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
10241
|
if (W.isBetween(je, Ge, "millisecond", "[]")) {
|
|
10232
10242
|
const E = W.utc().diff(je, "h", !1);
|
|
@@ -10262,10 +10272,10 @@ class Za {
|
|
|
10262
10272
|
speed: (F = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : F.at(E),
|
|
10263
10273
|
kts: (V = U == null ? void 0 : U.wind_speed_10m) == null ? void 0 : V.at(E),
|
|
10264
10274
|
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 ? (((
|
|
10266
|
-
gusts: (
|
|
10275
|
+
bearing: ((Z = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Z.at(E)) !== null ? (((Q = U == null ? void 0 : U.wind_direction_10m) == null ? void 0 : Q.at(E)) + 180) % 360 : null,
|
|
10276
|
+
gusts: ($ = U == null ? void 0 : U.wind_gusts_10m) == null ? void 0 : $.at(E)
|
|
10267
10277
|
},
|
|
10268
|
-
isDay: (
|
|
10278
|
+
isDay: (J = U == null ? void 0 : U.is_day) == null ? void 0 : J.at(E)
|
|
10269
10279
|
};
|
|
10270
10280
|
const { name: Xe, url: qe, bg: Ke } = this.parseWeatherCode(we.code, we.isDay);
|
|
10271
10281
|
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 +10349,7 @@ class Za {
|
|
|
10339
10349
|
};
|
|
10340
10350
|
}
|
|
10341
10351
|
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,
|
|
10352
|
+
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
10353
|
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
10354
|
if (Ie.isBetween(oe, He, "millisecond", "[]")) {
|
|
10345
10355
|
let fe, Re;
|
|
@@ -10376,7 +10386,7 @@ class Za {
|
|
|
10376
10386
|
kts: (F = ae.wind_speed_10m_max) == null ? void 0 : F.at(W),
|
|
10377
10387
|
degree: (V = ae.wind_direction_10m_dominant) == null ? void 0 : V.at(W),
|
|
10378
10388
|
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 ? (((
|
|
10389
|
+
bearing: ((Z = ae.wind_direction_10m_dominant) == null ? void 0 : Z.at(W)) !== null ? (((Q = ae.wind_direction_10m_dominant) == null ? void 0 : Q.at(W)) + 180) % 360 : null
|
|
10380
10390
|
}
|
|
10381
10391
|
};
|
|
10382
10392
|
const { name: re, url: je, bg: Ge } = this.parseWeatherCode(fe.code, !0);
|
|
@@ -10393,8 +10403,8 @@ class Za {
|
|
|
10393
10403
|
Re = {
|
|
10394
10404
|
wave: {
|
|
10395
10405
|
sig: {
|
|
10396
|
-
height: (
|
|
10397
|
-
degree: (
|
|
10406
|
+
height: ($ = re.wave_height_max) == null ? void 0 : $.at(W),
|
|
10407
|
+
degree: (J = re.wave_direction_dominant) == null ? void 0 : J.at(W),
|
|
10398
10408
|
period: (se = re.wave_period_max) == null ? void 0 : se.at(W),
|
|
10399
10409
|
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
10410
|
},
|
|
@@ -11298,7 +11308,7 @@ const ic = {
|
|
|
11298
11308
|
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
11309
|
},
|
|
11300
11310
|
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,
|
|
11311
|
+
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
11312
|
if ((t = this.interpolateMarkers) == null || t.forEach((ie) => ie == null ? void 0 : ie.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
11303
11313
|
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
11314
|
ge.forEach((A) => {
|
|
@@ -11339,7 +11349,7 @@ const ic = {
|
|
|
11339
11349
|
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
11350
|
}
|
|
11341
11351
|
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 && ((
|
|
11352
|
+
((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 : Q.wind) == null ? void 0 : $.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
11353
|
const be = `<svg t="1719918955501"
|
|
11344
11354
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
11345
11355
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -11509,7 +11519,7 @@ const ic = {
|
|
|
11509
11519
|
key: 1,
|
|
11510
11520
|
class: "my-3 w-100",
|
|
11511
11521
|
style: { height: "80px" }
|
|
11512
|
-
}, qc = { class: "legend d-flex justify-start align-center" }, Kc = { class: "label" },
|
|
11522
|
+
}, qc = { class: "legend d-flex justify-start align-center" }, Kc = { class: "label" }, Jc = { class: "legend d-flex justify-start align-center" }, Qc = { class: "label" }, $c = { 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
11523
|
key: 0,
|
|
11514
11524
|
class: "d-flex justify-start align-center"
|
|
11515
11525
|
}, xm = { class: "text-label pr-1" }, vm = {
|
|
@@ -11543,7 +11553,11 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11543
11553
|
}, [
|
|
11544
11554
|
p(m, {
|
|
11545
11555
|
text: t.$t("tropical.tropicals"),
|
|
11546
|
-
location: "left"
|
|
11556
|
+
location: "left",
|
|
11557
|
+
interactive: !0,
|
|
11558
|
+
"open-on-click": !1,
|
|
11559
|
+
"open-on-focus": !o.simple,
|
|
11560
|
+
"open-on-hover": !o.simple
|
|
11547
11561
|
}, {
|
|
11548
11562
|
activator: u(({ props: y }) => [
|
|
11549
11563
|
p(l, j(y, {
|
|
@@ -11561,7 +11575,7 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11561
11575
|
}, 1040, ["class", "onClick"])
|
|
11562
11576
|
]),
|
|
11563
11577
|
_: 1
|
|
11564
|
-
}, 8, ["text"])
|
|
11578
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
11565
11579
|
], 4),
|
|
11566
11580
|
a.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (g(), M("div", {
|
|
11567
11581
|
key: 0,
|
|
@@ -11762,11 +11776,11 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11762
11776
|
e[16] || (e[16] = r("div", { class: "icon td" }, null, -1)),
|
|
11763
11777
|
r("div", Kc, n(t.$t("tropical.td")), 1)
|
|
11764
11778
|
]),
|
|
11765
|
-
r("div",
|
|
11779
|
+
r("div", Jc, [
|
|
11766
11780
|
e[17] || (e[17] = r("div", { class: "icon ts" }, null, -1)),
|
|
11767
|
-
r("div",
|
|
11781
|
+
r("div", Qc, n(t.$t("tropical.ts")), 1)
|
|
11768
11782
|
]),
|
|
11769
|
-
r("div",
|
|
11783
|
+
r("div", $c, [
|
|
11770
11784
|
e[18] || (e[18] = r("div", { class: "icon sts" }, null, -1)),
|
|
11771
11785
|
r("div", em, n(t.$t("tropical.sts")), 1)
|
|
11772
11786
|
]),
|
|
@@ -11823,7 +11837,7 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11823
11837
|
return [
|
|
11824
11838
|
r("div", gm, [
|
|
11825
11839
|
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, "
|
|
11840
|
+
r("span", ym, " [" + n(t.$t("tropical." + ((B = a.hoverPoint) == null ? void 0 : B.levelI18n))) + "]", 1)
|
|
11827
11841
|
])
|
|
11828
11842
|
];
|
|
11829
11843
|
}),
|
|
@@ -11832,7 +11846,7 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11832
11846
|
p(k),
|
|
11833
11847
|
p(c, { class: "text-body-1" }, {
|
|
11834
11848
|
default: u(() => {
|
|
11835
|
-
var y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z,
|
|
11849
|
+
var y, z, T, B, I, w, L, P, C, _, O, F, V, X, Z, Q, $, J, se, le;
|
|
11836
11850
|
return [
|
|
11837
11851
|
r("div", bm, [
|
|
11838
11852
|
((y = a.hoverPoint) == null ? void 0 : y.type) === "forecast" ? (g(), M("div", wm, [
|
|
@@ -11865,9 +11879,9 @@ function Nm(t, e, o, i, a, s) {
|
|
|
11865
11879
|
]),
|
|
11866
11880
|
((Z = a.hoverPoint) == null ? void 0 : Z.type) === "history" ? (g(), M("div", Rm, [
|
|
11867
11881
|
r("label", Am, n(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
11868
|
-
r("span", null, n(((
|
|
11882
|
+
r("span", null, n((($ = JSON.parse((Q = a.hoverPoint) == null ? void 0 : Q.movement)) == null ? void 0 : $.kts) ?? "-") + " kts", 1)
|
|
11869
11883
|
])) : D("", !0),
|
|
11870
|
-
((
|
|
11884
|
+
((J = a.hoverPoint) == null ? void 0 : J.type) === "history" ? (g(), M("div", Om, [
|
|
11871
11885
|
r("label", Bm, n(t.$t("tropical.moveDir")) + " : ", 1),
|
|
11872
11886
|
r("span", null, n(((le = JSON.parse((se = a.hoverPoint) == null ? void 0 : se.movement)) == null ? void 0 : le.deg) ?? "-") + " °", 1)
|
|
11873
11887
|
])) : D("", !0),
|
|
@@ -12381,7 +12395,7 @@ const Ym = {
|
|
|
12381
12395
|
class: "idm-gl4-date-picker",
|
|
12382
12396
|
ref: "idmGl4DatePicker"
|
|
12383
12397
|
}, qm = { class: "flex-1-1-0" }, Km = { class: "pa-0" };
|
|
12384
|
-
function
|
|
12398
|
+
function Jm(t, e, o, i, a, s) {
|
|
12385
12399
|
const l = v("VIcon"), m = v("VDatePicker"), c = v("VCardText"), f = v("VDivider"), d = v("VBtn"), b = v("VCardActions"), x = v("VCard");
|
|
12386
12400
|
return g(), M("div", Xm, [
|
|
12387
12401
|
r("div", {
|
|
@@ -12461,8 +12475,8 @@ function $m(t, e, o, i, a, s) {
|
|
|
12461
12475
|
}, 8, ["style"])) : D("", !0)
|
|
12462
12476
|
], 512);
|
|
12463
12477
|
}
|
|
12464
|
-
const Ka = /* @__PURE__ */ Y(Ym, [["render",
|
|
12465
|
-
const
|
|
12478
|
+
const Ka = /* @__PURE__ */ Y(Ym, [["render", Jm]]);
|
|
12479
|
+
const Qm = {
|
|
12466
12480
|
name: "IdmPoint",
|
|
12467
12481
|
components: {
|
|
12468
12482
|
DateTimePicker: So,
|
|
@@ -13499,10 +13513,10 @@ const Jm = {
|
|
|
13499
13513
|
}), this.loading = !1;
|
|
13500
13514
|
},
|
|
13501
13515
|
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,
|
|
13516
|
+
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
13517
|
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
13518
|
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 = (
|
|
13519
|
+
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 : Q.wd) == null ? void 0 : $.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
13520
|
},
|
|
13507
13521
|
handleBind() {
|
|
13508
13522
|
var t, e;
|
|
@@ -13561,7 +13575,7 @@ const Jm = {
|
|
|
13561
13575
|
this.$emit("cancelFollow", t);
|
|
13562
13576
|
}
|
|
13563
13577
|
}
|
|
13564
|
-
},
|
|
13578
|
+
}, $m = { class: "idm-gl4-spot" }, eh = { class: "d-flex justify-start align-center" }, th = { class: "text-h6 font-weight-600" }, oh = { class: "d-flex justify-start align-center ga-1 mb-1" }, ah = {
|
|
13565
13579
|
class: "multi-color-icon",
|
|
13566
13580
|
"aria-hidden": "true"
|
|
13567
13581
|
}, ih = ["xlink:href"], rh = { class: "d-flex justify-start align-center ga-1 mb-1" }, sh = {
|
|
@@ -13615,21 +13629,25 @@ const Jm = {
|
|
|
13615
13629
|
}, 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
13630
|
style: { width: "60px" },
|
|
13617
13631
|
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" },
|
|
13632
|
+
}, 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" }, Qh = { class: "text-label pr-2" }, $h = { class: "text-label pr-2" }, ed = { id: "idm-position-icon" }, td = {
|
|
13619
13633
|
class: "multi-color-icon",
|
|
13620
13634
|
style: { height: "30px", width: "30px" },
|
|
13621
13635
|
"aria-hidden": "true"
|
|
13622
13636
|
}, od = ["xlink:href"];
|
|
13623
13637
|
function ad(t, e, o, i, a, s) {
|
|
13624
13638
|
const l = v("VBtn"), m = v("VTooltip"), c = v("VCardTitle"), f = v("VDivider"), d = v("VTextField"), b = v("VCol"), x = v("VRow"), k = v("DateTimePicker"), y = v("VBtnToggle"), z = v("VCardText"), T = v("VCardActions"), B = v("VForm"), I = v("VCard");
|
|
13625
|
-
return g(), M("div",
|
|
13639
|
+
return g(), M("div", $m, [
|
|
13626
13640
|
r("div", {
|
|
13627
13641
|
class: "menu-bar-box transition pa-1",
|
|
13628
13642
|
style: ee({ top: o.top + o.paddingTop + 126 + "px", right: a.right + "px" })
|
|
13629
13643
|
}, [
|
|
13630
13644
|
p(m, {
|
|
13631
13645
|
text: t.$t("spot.spotsMeteo"),
|
|
13632
|
-
location: "left"
|
|
13646
|
+
location: "left",
|
|
13647
|
+
interactive: !0,
|
|
13648
|
+
"open-on-click": !1,
|
|
13649
|
+
"open-on-focus": !o.simple,
|
|
13650
|
+
"open-on-hover": !o.simple
|
|
13633
13651
|
}, {
|
|
13634
13652
|
activator: u(({ props: w }) => [
|
|
13635
13653
|
p(l, j(w, {
|
|
@@ -13647,7 +13665,7 @@ function ad(t, e, o, i, a, s) {
|
|
|
13647
13665
|
}, 1040, ["class", "onClick"])
|
|
13648
13666
|
]),
|
|
13649
13667
|
_: 1
|
|
13650
|
-
}, 8, ["text"])
|
|
13668
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
13651
13669
|
], 4),
|
|
13652
13670
|
a.showForm && !o.simple ? (g(), R(I, {
|
|
13653
13671
|
key: 0,
|
|
@@ -14204,15 +14222,15 @@ function ad(t, e, o, i, a, s) {
|
|
|
14204
14222
|
]),
|
|
14205
14223
|
r("div", Kh, [
|
|
14206
14224
|
r("div", null, [
|
|
14207
|
-
r("span",
|
|
14225
|
+
r("span", Jh, n(t.$t("weather.swell")), 1),
|
|
14208
14226
|
r("span", null, n(a.currentHourData.swellDir ?? "-") + "/" + n(a.currentHourData.swellHeight ?? "-") + "m/" + n(a.currentHourData.swellPeriod ?? "-") + "s", 1)
|
|
14209
14227
|
]),
|
|
14210
14228
|
r("div", null, [
|
|
14211
|
-
r("span",
|
|
14229
|
+
r("span", Qh, n(t.$t("weather.current")), 1),
|
|
14212
14230
|
r("span", null, n(a.currentHourData.currentDir ?? "-") + "/" + n(a.currentHourData.currentSpeed ?? "-") + "kts", 1)
|
|
14213
14231
|
]),
|
|
14214
14232
|
r("div", null, [
|
|
14215
|
-
r("span",
|
|
14233
|
+
r("span", $h, n(t.$t("weather.visibility")), 1),
|
|
14216
14234
|
r("span", null, n(a.currentHourData.visibility ?? "-") + " nm", 1)
|
|
14217
14235
|
])
|
|
14218
14236
|
])
|
|
@@ -14235,7 +14253,7 @@ function ad(t, e, o, i, a, s) {
|
|
|
14235
14253
|
])
|
|
14236
14254
|
]);
|
|
14237
14255
|
}
|
|
14238
|
-
const id = /* @__PURE__ */ Y(
|
|
14256
|
+
const id = /* @__PURE__ */ Y(Qm, [["render", ad]]);
|
|
14239
14257
|
const rd = {
|
|
14240
14258
|
name: "IdmMeasure",
|
|
14241
14259
|
props: {
|
|
@@ -14604,7 +14622,11 @@ function ld(t, e, o, i, a, s) {
|
|
|
14604
14622
|
}, [
|
|
14605
14623
|
p(m, {
|
|
14606
14624
|
text: t.$t("measure.measure"),
|
|
14607
|
-
location: "left"
|
|
14625
|
+
location: "left",
|
|
14626
|
+
interactive: !0,
|
|
14627
|
+
"open-on-click": !1,
|
|
14628
|
+
"open-on-focus": !o.simple,
|
|
14629
|
+
"open-on-hover": !o.simple
|
|
14608
14630
|
}, {
|
|
14609
14631
|
activator: u(({ props: c }) => [
|
|
14610
14632
|
p(l, j(c, {
|
|
@@ -14622,7 +14644,7 @@ function ld(t, e, o, i, a, s) {
|
|
|
14622
14644
|
}, 1040, ["class", "onClick"])
|
|
14623
14645
|
]),
|
|
14624
14646
|
_: 1
|
|
14625
|
-
}, 8, ["text"])
|
|
14647
|
+
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
14626
14648
|
], 4)
|
|
14627
14649
|
]);
|
|
14628
14650
|
}
|
|
@@ -15271,7 +15293,7 @@ function kd(t, e, o, i, a, s) {
|
|
|
15271
15293
|
])
|
|
15272
15294
|
], 4);
|
|
15273
15295
|
}
|
|
15274
|
-
const
|
|
15296
|
+
const Ja = /* @__PURE__ */ Y(vd, [["render", kd]]), zd = {
|
|
15275
15297
|
name: "IdmGL4",
|
|
15276
15298
|
components: {
|
|
15277
15299
|
IdmOtherLayer: hl,
|
|
@@ -15280,7 +15302,7 @@ const $a = /* @__PURE__ */ Y(vd, [["render", kd]]), zd = {
|
|
|
15280
15302
|
IdmMeasure: nd,
|
|
15281
15303
|
IdmSpot: id,
|
|
15282
15304
|
IdmBottomBar: xd,
|
|
15283
|
-
IdmTimePlayer:
|
|
15305
|
+
IdmTimePlayer: Ja
|
|
15284
15306
|
},
|
|
15285
15307
|
props: {
|
|
15286
15308
|
map: {
|
|
@@ -15429,7 +15451,7 @@ class Cd {
|
|
|
15429
15451
|
de(this, "hi");
|
|
15430
15452
|
de(this, "td");
|
|
15431
15453
|
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,
|
|
15454
|
+
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, Qe, $e, 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, Qo, $o, 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
15455
|
this.i4 = {
|
|
15434
15456
|
source: {
|
|
15435
15457
|
type: "raster",
|
|
@@ -34083,8 +34105,8 @@ class Cd {
|
|
|
34083
34105
|
(_ = (C = this.originStyle) == null ? void 0 : C.light.layers) == null ? void 0 : _.find((h) => h.id === "water-outline2"),
|
|
34084
34106
|
(F = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : F.find((h) => h.id === "empty-layer-2"),
|
|
34085
34107
|
(X = (V = this.originStyle) == null ? void 0 : V.light.layers) == null ? void 0 : X.find((h) => h.id === "water-line-label"),
|
|
34086
|
-
(
|
|
34087
|
-
(
|
|
34108
|
+
(Q = (Z = this.originStyle) == null ? void 0 : Z.light.layers) == null ? void 0 : Q.find((h) => h.id === "water-point-label"),
|
|
34109
|
+
(J = ($ = this.originStyle) == null ? void 0 : $.light.layers) == null ? void 0 : J.find((h) => h.id === "world-12nm-v4-20231025"),
|
|
34088
34110
|
(le = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : le.find((h) => h.id === "ne-10m-outline"),
|
|
34089
34111
|
(ie = (ue = this.originStyle) == null ? void 0 : ue.light.layers) == null ? void 0 : ie.find((h) => h.id === "ne-10m-label"),
|
|
34090
34112
|
(ge = (ce = this.originStyle) == null ? void 0 : ce.light.layers) == null ? void 0 : ge.find((h) => h.id === "china-route-line"),
|
|
@@ -34127,8 +34149,8 @@ class Cd {
|
|
|
34127
34149
|
(Ue = (N = this.originStyle) == null ? void 0 : N.dark.layers) == null ? void 0 : Ue.find((h) => h.id === "ice-area-fill"),
|
|
34128
34150
|
(Xe = (U = this.originStyle) == null ? void 0 : U.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "ice-area-line"),
|
|
34129
34151
|
(Ke = (qe = this.originStyle) == null ? void 0 : qe.dark.layers) == null ? void 0 : Ke.find((h) => h.id === "loadlines-label"),
|
|
34130
|
-
(
|
|
34131
|
-
(
|
|
34152
|
+
(Je = (Le = this.originStyle) == null ? void 0 : Le.dark.layers) == null ? void 0 : Je.find((h) => h.id === "loadlines-fill"),
|
|
34153
|
+
($e = (Qe = this.originStyle) == null ? void 0 : Qe.dark.layers) == null ? void 0 : $e.find((h) => h.id === "empty-layer-0"),
|
|
34132
34154
|
(tt = (et = this.originStyle) == null ? void 0 : et.dark.layers) == null ? void 0 : tt.find((h) => h.id === "empty-layer-1"),
|
|
34133
34155
|
(at = (ot = this.originStyle) == null ? void 0 : ot.dark.layers) == null ? void 0 : at.find((h) => h.id === "country-boundaries"),
|
|
34134
34156
|
(rt = (it = this.originStyle) == null ? void 0 : it.dark.layers) == null ? void 0 : rt.find((h) => h.id === "water-outline"),
|
|
@@ -34255,8 +34277,8 @@ class Cd {
|
|
|
34255
34277
|
(Xo = (Yo = this.originStyle) == null ? void 0 : Yo.light.layers) == null ? void 0 : Xo.find((h) => h.id === "land"),
|
|
34256
34278
|
(Ko = (qo = this.originStyle) == null ? void 0 : qo.light.layers) == null ? void 0 : Ko.find((h) => h.id === "water"),
|
|
34257
34279
|
this.i4.layer,
|
|
34258
|
-
(
|
|
34259
|
-
(ea = (
|
|
34280
|
+
(Qo = (Jo = this.originStyle) == null ? void 0 : Jo.light.layers) == null ? void 0 : Qo.find((h) => h.id === "ice-area-fill"),
|
|
34281
|
+
(ea = ($o = this.originStyle) == null ? void 0 : $o.light.layers) == null ? void 0 : ea.find((h) => h.id === "ice-area-line"),
|
|
34260
34282
|
(oa = (ta = this.originStyle) == null ? void 0 : ta.light.layers) == null ? void 0 : oa.find((h) => h.id === "loadlines-label"),
|
|
34261
34283
|
(ia = (aa = this.originStyle) == null ? void 0 : aa.light.layers) == null ? void 0 : ia.find((h) => h.id === "loadlines-fill"),
|
|
34262
34284
|
(sa = (ra = this.originStyle) == null ? void 0 : ra.light.layers) == null ? void 0 : sa.find((h) => h.id === "empty-layer-0"),
|
|
@@ -34380,7 +34402,7 @@ const Md = {
|
|
|
34380
34402
|
preserveDrawingBuffer: !0,
|
|
34381
34403
|
fadeDuration: 300
|
|
34382
34404
|
});
|
|
34383
|
-
t.dragRotate.disable(), t.on("load", () => {
|
|
34405
|
+
t.dragRotate.disable(), t.touchZoomRotate.disableRotation(), t.on("load", () => {
|
|
34384
34406
|
this.zoom = 2, this.map = t, this.$emit("menuToggle"), this.addScaleControl();
|
|
34385
34407
|
}), t.on("move", () => {
|
|
34386
34408
|
var e;
|
|
@@ -34483,7 +34505,7 @@ function Ad(t, e, o, i, a, s) {
|
|
|
34483
34505
|
}
|
|
34484
34506
|
const Od = /* @__PURE__ */ Y(Md, [["render", Ad]]), Yd = {
|
|
34485
34507
|
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",
|
|
34508
|
+
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
34509
|
}
|
|
34488
34510
|
};
|
|
34489
34511
|
export {
|
|
@@ -34496,7 +34518,7 @@ export {
|
|
|
34496
34518
|
Cd as MapboxStyleHelper,
|
|
34497
34519
|
Se as ParticleSchema,
|
|
34498
34520
|
Do as PortDetail,
|
|
34499
|
-
|
|
34521
|
+
Ja as TimePlayer,
|
|
34500
34522
|
qa as TropicalGL,
|
|
34501
34523
|
Io as Viewport,
|
|
34502
34524
|
Fe as WebGL,
|