@idmwx/idmui-gl4 0.7.1 → 0.7.2
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 +141 -111
- package/dist/index.umd.cjs +4 -4
- package/dist/mapbox/src/components/weather/prmsl.vue.d.ts +4 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3,11 +3,11 @@ var Ia = (t, e, o) => e in t ? Ta(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var le = (t, e, o) => (Ia(t, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
4
|
import Be from "axios";
|
|
5
5
|
import { useTheme as Ee } from "vuetify";
|
|
6
|
-
import { openBlock as b, createElementBlock as I, resolveComponent as w, withDirectives as He, createBlock as j, withCtx as u, createVNode as m, createElementVNode as l, vShow as We, toDisplayString as y, createTextVNode as G, normalizeStyle as ae, mergeProps as B, normalizeClass as Ye, Fragment as ke, renderList as Le, createCommentVNode as O, withModifiers as
|
|
6
|
+
import { openBlock as b, createElementBlock as I, resolveComponent as w, withDirectives as He, createBlock as j, withCtx as u, createVNode as m, createElementVNode as l, vShow as We, toDisplayString as y, createTextVNode as G, normalizeStyle as ae, mergeProps as B, normalizeClass as Ye, Fragment as ke, renderList as Le, createCommentVNode as O, withModifiers as Ra } from "vue";
|
|
7
7
|
import we from "mapbox-gl";
|
|
8
8
|
import { LngLatHelper as oe, TropicalHelper as Pa, LaneHelper as Fe } from "@idm-plugin/geo";
|
|
9
9
|
import * as E from "@turf/turf";
|
|
10
|
-
import { LayerHelper as oo, CompanyHelper as
|
|
10
|
+
import { LayerHelper as oo, CompanyHelper as Aa } from "@idm-plugin/tag-nop";
|
|
11
11
|
import D from "moment";
|
|
12
12
|
import Da from "@mapbox/sphericalmercator";
|
|
13
13
|
import { LayerHelper as Oa } from "@idm-plugin/tag";
|
|
@@ -657,7 +657,7 @@ function ti(t, e, o, i, a, r) {
|
|
|
657
657
|
l("div", Ka, [
|
|
658
658
|
l("div", Qa, [
|
|
659
659
|
e[3] || (e[3] = l("label", { class: "opacity-70 pr-1" }, "Name : ", -1)),
|
|
660
|
-
l("span", null, y(a.form.name), 1)
|
|
660
|
+
l("span", null, y(a.form.name || "-"), 1)
|
|
661
661
|
]),
|
|
662
662
|
l("div", Ja, [
|
|
663
663
|
e[4] || (e[4] = l("label", { class: "opacity-70 pr-1" }, "Position : ", -1)),
|
|
@@ -700,7 +700,7 @@ function ti(t, e, o, i, a, r) {
|
|
|
700
700
|
[We, a.showInfo]
|
|
701
701
|
]);
|
|
702
702
|
}
|
|
703
|
-
const oi = /* @__PURE__ */ X(qa, [["render", ti], ["__scopeId", "data-v-
|
|
703
|
+
const oi = /* @__PURE__ */ X(qa, [["render", ti], ["__scopeId", "data-v-0cf4535a"]]), ai = {
|
|
704
704
|
name: "IdmLoadLine",
|
|
705
705
|
props: {
|
|
706
706
|
map: {
|
|
@@ -1414,7 +1414,7 @@ const Ci = {
|
|
|
1414
1414
|
handleClick(t) {
|
|
1415
1415
|
const e = t.features[0];
|
|
1416
1416
|
if (e) {
|
|
1417
|
-
this.showInfo = !0, this.form = { ...e.properties }, this.form.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.form.lng = t.lngLat.lng, this.form.lat = t.lngLat.lat
|
|
1417
|
+
this.showInfo = !0, this.form = { ...e.properties }, this.form.name = this.locale === "en" ? e.properties.Location_EN : e.properties.Location_CN, this.form.lng = t.lngLat.lng, this.form.lat = t.lngLat.lat;
|
|
1418
1418
|
const o = document.getElementById("tidal-station-info");
|
|
1419
1419
|
this.marker ? this.marker.setLngLat([t.lngLat.lng, t.lngLat.lat]) : this.marker = new we.Marker(o).setLngLat([t.lngLat.lng, t.lngLat.lat]).setOffset([0, -85]).addTo(this.map);
|
|
1420
1420
|
} else
|
|
@@ -1431,8 +1431,8 @@ const Ci = {
|
|
|
1431
1431
|
this.showInfo = !1, (t = this.map) != null && t.getLayer(this.layer) && this.map.setLayoutProperty(this.layer, "visibility", "none");
|
|
1432
1432
|
}
|
|
1433
1433
|
}
|
|
1434
|
-
}, Si = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Mi = { class: "d-flex justify-start align-center" }, Ti = { class: "d-flex justify-start align-center" }, Ii = { class: "d-flex justify-start align-center" },
|
|
1435
|
-
function
|
|
1434
|
+
}, Si = { class: "port-box d-flex flex-column justify-center align-start ga-2" }, Mi = { class: "d-flex justify-start align-center" }, Ti = { class: "d-flex justify-start align-center" }, Ii = { class: "d-flex justify-start align-center" }, Ri = { class: "d-flex justify-start align-center" };
|
|
1435
|
+
function Ai(t, e, o, i, a, r) {
|
|
1436
1436
|
const s = w("VBtn"), c = w("v-card-text"), n = w("v-card");
|
|
1437
1437
|
return He((b(), j(n, { id: "tidal-station-info" }, {
|
|
1438
1438
|
default: u(() => [
|
|
@@ -1467,7 +1467,7 @@ function Ri(t, e, o, i, a, r) {
|
|
|
1467
1467
|
e[4] || (e[4] = l("label", { class: "opacity-70 pr-1" }, "LoCode : ", -1)),
|
|
1468
1468
|
l("span", null, y(a.form.Code || "-"), 1)
|
|
1469
1469
|
]),
|
|
1470
|
-
l("div",
|
|
1470
|
+
l("div", Ri, [
|
|
1471
1471
|
e[5] || (e[5] = l("label", { class: "opacity-70 pr-1" }, "Country : ", -1)),
|
|
1472
1472
|
l("span", null, y(a.form.Country || "-"), 1)
|
|
1473
1473
|
])
|
|
@@ -1481,7 +1481,7 @@ function Ri(t, e, o, i, a, r) {
|
|
|
1481
1481
|
[We, a.showInfo]
|
|
1482
1482
|
]);
|
|
1483
1483
|
}
|
|
1484
|
-
const Di = /* @__PURE__ */ X(Ci, [["render",
|
|
1484
|
+
const Di = /* @__PURE__ */ X(Ci, [["render", Ai], ["__scopeId", "data-v-fb4aeed3"]]), Oi = {
|
|
1485
1485
|
name: "IdmIceAreas",
|
|
1486
1486
|
props: {
|
|
1487
1487
|
map: {
|
|
@@ -3892,6 +3892,9 @@ const zr = /* @__PURE__ */ X(_r, [["render", kr]]), Lr = {
|
|
|
3892
3892
|
},
|
|
3893
3893
|
activeWeatherLayers: {
|
|
3894
3894
|
type: Array
|
|
3895
|
+
},
|
|
3896
|
+
theme: {
|
|
3897
|
+
type: String
|
|
3895
3898
|
}
|
|
3896
3899
|
},
|
|
3897
3900
|
data() {
|
|
@@ -3934,9 +3937,9 @@ const zr = /* @__PURE__ */ X(_r, [["render", kr]]), Lr = {
|
|
|
3934
3937
|
source: this.source,
|
|
3935
3938
|
filter: ["==", "$type", "LineString"],
|
|
3936
3939
|
paint: {
|
|
3937
|
-
"line-color": ["step", ["get", "val"], "rgba(162,13,2,1)", 920, "rgba(
|
|
3940
|
+
"line-color": ["step", ["get", "val"], "rgba(162,13,2,1)", 920, "rgba(255, 96, 98, 1)", 980, "rgba(255, 246, 184, 1)", 1100, "rgba(199,171,250,1)"],
|
|
3938
3941
|
"line-width": 1,
|
|
3939
|
-
"line-opacity": 0.
|
|
3942
|
+
"line-opacity": this.theme === "light" ? 1 : 0.3
|
|
3940
3943
|
}
|
|
3941
3944
|
},
|
|
3942
3945
|
this.beforeLayer
|
|
@@ -3974,25 +3977,46 @@ const zr = /* @__PURE__ */ X(_r, [["render", kr]]), Lr = {
|
|
|
3974
3977
|
`, ["get", "val"], { "font-scale": 1 }],
|
|
3975
3978
|
"text-rotation-alignment": "map",
|
|
3976
3979
|
"text-line-height": 1.3,
|
|
3977
|
-
"text-size": 12
|
|
3980
|
+
"text-size": 12,
|
|
3981
|
+
"text-font": ["DIN Pro Regular", "Arial Unicode MS Regular"]
|
|
3978
3982
|
},
|
|
3979
3983
|
paint: {
|
|
3980
|
-
"text-color":
|
|
3984
|
+
"text-color": this.theme === "light" ? [
|
|
3985
|
+
"step",
|
|
3986
|
+
["get", "val"],
|
|
3987
|
+
"rgba(0, 0, 0, 0.5)",
|
|
3988
|
+
920,
|
|
3989
|
+
"rgba(0, 0, 0, 0.5)",
|
|
3990
|
+
980,
|
|
3991
|
+
"rgba(0, 0, 0, 0.7)",
|
|
3992
|
+
1100,
|
|
3993
|
+
"rgba(0, 0, 0, 0.7)"
|
|
3994
|
+
] : [
|
|
3995
|
+
"step",
|
|
3996
|
+
["get", "val"],
|
|
3997
|
+
"rgba(162,13,2,1)",
|
|
3998
|
+
920,
|
|
3999
|
+
"rgba(255, 96, 98, 1)",
|
|
4000
|
+
980,
|
|
4001
|
+
"rgba(255, 246, 184, 1)",
|
|
4002
|
+
1100,
|
|
4003
|
+
"rgba(199,171,250,1)"
|
|
4004
|
+
],
|
|
3981
4005
|
"text-halo-color": [
|
|
3982
4006
|
"step",
|
|
3983
4007
|
["get", "val"],
|
|
3984
|
-
"rgba(162,13,2,
|
|
4008
|
+
"rgba(162,13,2,1)",
|
|
3985
4009
|
920,
|
|
3986
|
-
"rgba(
|
|
4010
|
+
"rgba(255, 96, 98, 1)",
|
|
3987
4011
|
980,
|
|
3988
|
-
"rgba(255,
|
|
4012
|
+
"rgba(255, 246, 184, 1)",
|
|
3989
4013
|
1100,
|
|
3990
|
-
"rgba(199,171,250,
|
|
4014
|
+
"rgba(199,171,250,1)"
|
|
3991
4015
|
],
|
|
3992
|
-
"text-halo-width":
|
|
4016
|
+
"text-halo-width": this.theme === "light" ? 1 : 0
|
|
3993
4017
|
}
|
|
3994
|
-
}
|
|
3995
|
-
|
|
4018
|
+
},
|
|
4019
|
+
this.beforeLayer
|
|
3996
4020
|
);
|
|
3997
4021
|
}, 0), r = (/* @__PURE__ */ new Date()).valueOf() - (i + a), console.log("[prmsl] add elapsed: ", r, ", total: ", a += r));
|
|
3998
4022
|
}
|
|
@@ -4163,8 +4187,8 @@ function Ir(t, e, o, i, a, r) {
|
|
|
4163
4187
|
]), 4)
|
|
4164
4188
|
])) : O("", !0);
|
|
4165
4189
|
}
|
|
4166
|
-
const
|
|
4167
|
-
const
|
|
4190
|
+
const Rr = /* @__PURE__ */ X(Mr, [["render", Ir]]);
|
|
4191
|
+
const Ar = {
|
|
4168
4192
|
name: "IdmCover",
|
|
4169
4193
|
props: {
|
|
4170
4194
|
factor: {
|
|
@@ -4273,7 +4297,7 @@ function Or(t, e, o, i, a, r) {
|
|
|
4273
4297
|
]), 4)
|
|
4274
4298
|
])) : O("", !0);
|
|
4275
4299
|
}
|
|
4276
|
-
const Br = /* @__PURE__ */ X(
|
|
4300
|
+
const Br = /* @__PURE__ */ X(Ar, [["render", Or], ["__scopeId", "data-v-9696d73b"]]);
|
|
4277
4301
|
const Er = {
|
|
4278
4302
|
name: "IdmThickness",
|
|
4279
4303
|
props: {
|
|
@@ -4871,7 +4895,7 @@ const al = {
|
|
|
4871
4895
|
IdmSigWaveHeight: vr,
|
|
4872
4896
|
IdmSwell: zr,
|
|
4873
4897
|
IdmPrmsl: Sr,
|
|
4874
|
-
IdmIceEdge:
|
|
4898
|
+
IdmIceEdge: Rr,
|
|
4875
4899
|
IdmIceCover: Br,
|
|
4876
4900
|
IdmIceThickness: Fr,
|
|
4877
4901
|
IdmPrecip3h: Ur,
|
|
@@ -5524,9 +5548,9 @@ const al = {
|
|
|
5524
5548
|
}, bl = {
|
|
5525
5549
|
key: 1,
|
|
5526
5550
|
class: "d-flex justify-start align-center ga-4 pl-6"
|
|
5527
|
-
}, wl = { class: "text-body-1 py-2" }, xl = { class: "text-body-1 font-weight-medium" }, vl = { class: "text-body-2 opacity-70" }, _l = { class: "text-body-2 opacity-70 mb-3" }, kl = { class: "text-body-1 font-weight-medium" }, zl = { class: "text-body-2 opacity-70" }, Ll = { class: "text-body-2 opacity-70 mb-3" }, Pl = { class: "text-body-1 py-2" }, Cl = { class: "text-body-1 font-weight-medium" }, Sl = { class: "text-body-2 opacity-70" }, Ml = { class: "text-body-2 opacity-70 mb-3" }, Tl = { class: "text-body-1 font-weight-medium" }, Il = { class: "text-body-2 opacity-70" },
|
|
5551
|
+
}, wl = { class: "text-body-1 py-2" }, xl = { class: "text-body-1 font-weight-medium" }, vl = { class: "text-body-2 opacity-70" }, _l = { class: "text-body-2 opacity-70 mb-3" }, kl = { class: "text-body-1 font-weight-medium" }, zl = { class: "text-body-2 opacity-70" }, Ll = { class: "text-body-2 opacity-70 mb-3" }, Pl = { class: "text-body-1 py-2" }, Cl = { class: "text-body-1 font-weight-medium" }, Sl = { class: "text-body-2 opacity-70" }, Ml = { class: "text-body-2 opacity-70 mb-3" }, Tl = { class: "text-body-1 font-weight-medium" }, Il = { class: "text-body-2 opacity-70" }, Rl = { class: "text-body-2 opacity-70 mb-3" }, Al = { class: "text-body-1 py-2" }, Dl = { class: "text-body-1 font-weight-medium" }, Ol = { class: "text-body-2 opacity-70" }, Bl = { class: "text-body-2 opacity-70 mb-3" };
|
|
5528
5552
|
function El(t, e, o, i, a, r) {
|
|
5529
|
-
var pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie,
|
|
5553
|
+
var pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie, Re, ye;
|
|
5530
5554
|
const s = w("VBtn"), c = w("VTooltip"), n = w("VCol"), g = w("VRow"), p = w("VCardText"), d = w("VDivider"), f = w("VCard"), k = w("VSwitch"), v = w("VCardTitle"), S = w("VCardItem"), C = w("VCheckbox"), N = w("VRadio"), M = w("VBtnToggle"), L = w("IdmWindBarb"), _ = w("IdmSigWaveHeight"), z = w("IdmCurrentDirection"), P = w("IdmPrmsl"), x = w("IdmWindParticle"), T = w("IdmCurrentParticle"), U = w("IdmWave"), Y = w("IdmSwell"), q = w("IdmIceEdge"), Z = w("IdmIceCover"), $ = w("IdmIceThickness"), ee = w("IdmPrecip3h"), Q = w("IdmVisibility"), ce = w("IdmWaterTemp"), de = w("IdmTemp");
|
|
5531
5555
|
return b(), I("div", il, [
|
|
5532
5556
|
l("div", {
|
|
@@ -5900,13 +5924,13 @@ function El(t, e, o, i, a, r) {
|
|
|
5900
5924
|
}),
|
|
5901
5925
|
m(p, { class: "" }, {
|
|
5902
5926
|
default: u(() => {
|
|
5903
|
-
var H, te, je, Pe, he, ge, W, _e, J, re,
|
|
5927
|
+
var H, te, je, Pe, he, ge, W, _e, J, re, Ae, A, fe, Ce, De, Oe, R, V, Ge, Ue, Ve, ze, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, It, Rt, At, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt;
|
|
5904
5928
|
return [
|
|
5905
5929
|
l("div", wl, y(t.$t("weather.atmospheric")), 1),
|
|
5906
5930
|
l("div", xl, y((je = (te = (H = a.models) == null ? void 0 : H.weather) == null ? void 0 : te.NOAA) == null ? void 0 : je.source) + " " + y((ge = (he = (Pe = a.models) == null ? void 0 : Pe.weather) == null ? void 0 : he.NOAA) == null ? void 0 : ge.spatialResolution) + y(t.$t("units.km")) + " " + y((re = (J = (_e = (W = a.models) == null ? void 0 : W.weather) == null ? void 0 : _e.NOAA) == null ? void 0 : J.meta) == null ? void 0 : re.days) + y(t.$t("units.days")), 1),
|
|
5907
5931
|
l("div", vl, y(t.$t("weather.source")) + ": NOAA", 1),
|
|
5908
|
-
l("div", _l, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Ce = (fe = (
|
|
5909
|
-
l("div", kl, y((
|
|
5932
|
+
l("div", _l, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Ce = (fe = (A = (Ae = a.models) == null ? void 0 : Ae.weather) == null ? void 0 : A.NOAA) == null ? void 0 : fe.meta) == null ? void 0 : Ce.initialisationTime)), 1),
|
|
5933
|
+
l("div", kl, y((R = (Oe = (De = a.models) == null ? void 0 : De.weather) == null ? void 0 : Oe.ECMWF) == null ? void 0 : R.source) + " " + y((Ue = (Ge = (V = a.models) == null ? void 0 : V.weather) == null ? void 0 : Ge.ECMWF) == null ? void 0 : Ue.spatialResolution) + y(t.$t("units.km")) + " " + y((Xe = (Ze = (ze = (Ve = a.models) == null ? void 0 : Ve.weather) == null ? void 0 : ze.ECMWF) == null ? void 0 : Ze.meta) == null ? void 0 : Xe.days) + y(t.$t("units.days")), 1),
|
|
5910
5934
|
l("div", zl, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5911
5935
|
l("div", Ll, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Je = (Qe = (Ke = (qe = a.models) == null ? void 0 : qe.weather) == null ? void 0 : Ke.ECMWF) == null ? void 0 : Qe.meta) == null ? void 0 : Je.initialisationTime)), 1),
|
|
5912
5936
|
m(d),
|
|
@@ -5916,9 +5940,9 @@ function El(t, e, o, i, a, r) {
|
|
|
5916
5940
|
l("div", Ml, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((ft = (gt = (ut = (pt = (dt = a.models) == null ? void 0 : dt.marine) == null ? void 0 : pt.wave) == null ? void 0 : ut.NOAA) == null ? void 0 : gt.meta) == null ? void 0 : ft.initialisationTime)), 1),
|
|
5917
5941
|
l("div", Tl, y((xt = (wt = (bt = (yt = a.models) == null ? void 0 : yt.marine) == null ? void 0 : bt.wave) == null ? void 0 : wt.ECMWF) == null ? void 0 : xt.source) + " " + y((zt = (kt = (_t = (vt = a.models) == null ? void 0 : vt.marine) == null ? void 0 : _t.wave) == null ? void 0 : kt.ECMWF) == null ? void 0 : zt.spatialResolution) + y(t.$t("units.km")) + " " + y((Mt = (St = (Ct = (Pt = (Lt = a.models) == null ? void 0 : Lt.marine) == null ? void 0 : Pt.wave) == null ? void 0 : Ct.ECMWF) == null ? void 0 : St.meta) == null ? void 0 : Mt.days) + y(t.$t("units.days")), 1),
|
|
5918
5942
|
l("div", Il, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5919
|
-
l("div",
|
|
5943
|
+
l("div", Rl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Dt = (At = (Rt = (It = (Tt = a.models) == null ? void 0 : Tt.marine) == null ? void 0 : It.wave) == null ? void 0 : Rt.ECMWF) == null ? void 0 : At.meta) == null ? void 0 : Dt.initialisationTime)), 1),
|
|
5920
5944
|
m(d),
|
|
5921
|
-
l("div",
|
|
5945
|
+
l("div", Al, y(t.$t("weather.currents")), 1),
|
|
5922
5946
|
l("div", Dl, y((jt = (Et = (Bt = (Ot = a.models) == null ? void 0 : Ot.marine) == null ? void 0 : Bt.current) == null ? void 0 : Et.ECMWF) == null ? void 0 : jt.source) + " " + y((Wt = (Ht = (Ft = (Nt = a.models) == null ? void 0 : Nt.marine) == null ? void 0 : Ft.current) == null ? void 0 : Ht.ECMWF) == null ? void 0 : Wt.spatialResolution) + y(t.$t("units.km")) + " " + y((Zt = (Yt = (Vt = (Ut = (Gt = a.models) == null ? void 0 : Gt.marine) == null ? void 0 : Ut.current) == null ? void 0 : Vt.ECMWF) == null ? void 0 : Yt.meta) == null ? void 0 : Zt.days) + y(t.$t("units.days")), 1),
|
|
5923
5947
|
l("div", Ol, y(t.$t("weather.source")) + ": ECMWF", 1),
|
|
5924
5948
|
l("div", Bl, y(t.$t("weather.lastUpdate")) + ": " + y(r.computeDateZ((Jt = (Qt = (Kt = (qt = (Xt = a.models) == null ? void 0 : Xt.marine) == null ? void 0 : qt.current) == null ? void 0 : Kt.ECMWF) == null ? void 0 : Qt.meta) == null ? void 0 : Jt.initialisationTime)), 1)
|
|
@@ -5963,7 +5987,7 @@ function El(t, e, o, i, a, r) {
|
|
|
5963
5987
|
prmsl: (ie = a.weatherLayers) == null ? void 0 : ie.prmsl,
|
|
5964
5988
|
"menu-toggle": o.menuToggle,
|
|
5965
5989
|
"active-weather-layers": a.activeWeatherLayers
|
|
5966
|
-
}, t.$attrs), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers"])) : O("", !0),
|
|
5990
|
+
}, t.$attrs, { theme: o.theme }), null, 16, ["map", "prmsl", "menu-toggle", "active-weather-layers", "theme"])) : O("", !0),
|
|
5967
5991
|
o.map ? (b(), j(x, B({
|
|
5968
5992
|
key: 5,
|
|
5969
5993
|
viewport: a.viewport,
|
|
@@ -6022,7 +6046,7 @@ function El(t, e, o, i, a, r) {
|
|
|
6022
6046
|
o.map ? (b(), j(ce, B({
|
|
6023
6047
|
key: 14,
|
|
6024
6048
|
viewport: a.viewport,
|
|
6025
|
-
factor: (
|
|
6049
|
+
factor: (Re = a.weatherLayers) == null ? void 0 : Re["water-temp"],
|
|
6026
6050
|
"menu-toggle": o.menuToggle
|
|
6027
6051
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle"])) : O("", !0),
|
|
6028
6052
|
o.map ? (b(), j(de, B({
|
|
@@ -6380,47 +6404,47 @@ class Ca {
|
|
|
6380
6404
|
}), a;
|
|
6381
6405
|
}
|
|
6382
6406
|
static pickHourly(e, o) {
|
|
6383
|
-
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, T, U, Y, q, Z, $, ee, Q, ce, de, pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie,
|
|
6384
|
-
const he = typeof o == "string" ? D(o) : o, ge = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, _e = D((a = (i = ge == null ? void 0 : ge[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), J = _e.clone().add((c = (s = (r = ge == null ? void 0 : ge[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = _e.clone().add((p = (g = (n = ge == null ? void 0 : ge[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"),
|
|
6407
|
+
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, T, U, Y, q, Z, $, ee, Q, ce, de, pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie, Re, ye, H, te, je, Pe;
|
|
6408
|
+
const he = typeof o == "string" ? D(o) : o, ge = e == null ? void 0 : e.weather, W = e == null ? void 0 : e.marine, _e = D((a = (i = ge == null ? void 0 : ge[0]) == null ? void 0 : i.hourly) == null ? void 0 : a.date).utc(), J = _e.clone().add((c = (s = (r = ge == null ? void 0 : ge[0]) == null ? void 0 : r.hourly) == null ? void 0 : s.time) == null ? void 0 : c.at(0), "h"), re = _e.clone().add((p = (g = (n = ge == null ? void 0 : ge[0]) == null ? void 0 : n.hourly) == null ? void 0 : g.time) == null ? void 0 : p.at(-1), "h"), Ae = [];
|
|
6385
6409
|
if (he.isBetween(J, re, "millisecond", "[]")) {
|
|
6386
|
-
const
|
|
6410
|
+
const A = he.utc().diff(J, "h", !1);
|
|
6387
6411
|
let fe, Ce;
|
|
6388
6412
|
if (ge) {
|
|
6389
6413
|
let De = 0, Oe = 0;
|
|
6390
|
-
for (const
|
|
6391
|
-
const V =
|
|
6392
|
-
for (let ze =
|
|
6414
|
+
for (const R of ge) {
|
|
6415
|
+
const V = R == null ? void 0 : R.hourly;
|
|
6416
|
+
for (let ze = A - (A - 1) % 3; ze <= A; ze++)
|
|
6393
6417
|
De += (d = V == null ? void 0 : V.precipitation) == null ? void 0 : d.at(ze);
|
|
6394
|
-
for (let ze =
|
|
6418
|
+
for (let ze = A - (A - 1) % 6; ze <= A; ze++)
|
|
6395
6419
|
Oe += (f = V == null ? void 0 : V.precipitation) == null ? void 0 : f.at(ze);
|
|
6396
6420
|
fe = {
|
|
6397
|
-
temp: (k = V == null ? void 0 : V.temperature_2m) == null ? void 0 : k.at(
|
|
6398
|
-
apparentTemp: (v = V == null ? void 0 : V.apparent_temperature) == null ? void 0 : v.at(
|
|
6399
|
-
rh: (S = V == null ? void 0 : V.relative_humidity_2m) == null ? void 0 : S.at(
|
|
6400
|
-
dp: (C = V == null ? void 0 : V.dew_point_2m) == null ? void 0 : C.at(
|
|
6421
|
+
temp: (k = V == null ? void 0 : V.temperature_2m) == null ? void 0 : k.at(A),
|
|
6422
|
+
apparentTemp: (v = V == null ? void 0 : V.apparent_temperature) == null ? void 0 : v.at(A),
|
|
6423
|
+
rh: (S = V == null ? void 0 : V.relative_humidity_2m) == null ? void 0 : S.at(A),
|
|
6424
|
+
dp: (C = V == null ? void 0 : V.dew_point_2m) == null ? void 0 : C.at(A),
|
|
6401
6425
|
precip: {
|
|
6402
|
-
probability: (N = V == null ? void 0 : V.precipitation_probability) == null ? void 0 : N.at(
|
|
6403
|
-
sum: (M = V == null ? void 0 : V.precipitation) == null ? void 0 : M.at(
|
|
6426
|
+
probability: (N = V == null ? void 0 : V.precipitation_probability) == null ? void 0 : N.at(A),
|
|
6427
|
+
sum: (M = V == null ? void 0 : V.precipitation) == null ? void 0 : M.at(A),
|
|
6404
6428
|
sum3Hours: Math.round(De * 100) / 100,
|
|
6405
6429
|
sum6Hours: Math.round(Oe * 100) / 100
|
|
6406
6430
|
},
|
|
6407
|
-
pmsl: (L = V == null ? void 0 : V.pressure_msl) == null ? void 0 : L.at(
|
|
6408
|
-
psurf: (_ = V == null ? void 0 : V.surface_pressure) == null ? void 0 : _.at(
|
|
6409
|
-
code: (z = V == null ? void 0 : V.weather_code) == null ? void 0 : z.at(
|
|
6410
|
-
visibility: this.m2nm((P = V == null ? void 0 : V.visibility) == null ? void 0 : P.at(
|
|
6431
|
+
pmsl: (L = V == null ? void 0 : V.pressure_msl) == null ? void 0 : L.at(A),
|
|
6432
|
+
psurf: (_ = V == null ? void 0 : V.surface_pressure) == null ? void 0 : _.at(A),
|
|
6433
|
+
code: (z = V == null ? void 0 : V.weather_code) == null ? void 0 : z.at(A),
|
|
6434
|
+
visibility: this.m2nm((P = V == null ? void 0 : V.visibility) == null ? void 0 : P.at(A)),
|
|
6411
6435
|
wind: {
|
|
6412
|
-
speed: (x = V == null ? void 0 : V.wind_speed_10m) == null ? void 0 : x.at(
|
|
6413
|
-
kts: (T = V == null ? void 0 : V.wind_speed_10m) == null ? void 0 : T.at(
|
|
6414
|
-
degree: (U = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : U.at(
|
|
6415
|
-
bearing: ((Y = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : Y.at(
|
|
6416
|
-
gusts: (Z = V == null ? void 0 : V.wind_gusts_10m) == null ? void 0 : Z.at(
|
|
6436
|
+
speed: (x = V == null ? void 0 : V.wind_speed_10m) == null ? void 0 : x.at(A),
|
|
6437
|
+
kts: (T = V == null ? void 0 : V.wind_speed_10m) == null ? void 0 : T.at(A),
|
|
6438
|
+
degree: (U = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : U.at(A),
|
|
6439
|
+
bearing: ((Y = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : Y.at(A)) !== null ? (((q = V == null ? void 0 : V.wind_direction_10m) == null ? void 0 : q.at(A)) + 180) % 360 : null,
|
|
6440
|
+
gusts: (Z = V == null ? void 0 : V.wind_gusts_10m) == null ? void 0 : Z.at(A)
|
|
6417
6441
|
},
|
|
6418
|
-
isDay: ($ = V == null ? void 0 : V.is_day) == null ? void 0 : $.at(
|
|
6442
|
+
isDay: ($ = V == null ? void 0 : V.is_day) == null ? void 0 : $.at(A)
|
|
6419
6443
|
};
|
|
6420
6444
|
const { name: Ge, url: Ue, bg: Ve } = this.parseWeatherCode(fe.code, fe.isDay);
|
|
6421
|
-
fe.name = Ge, fe.url = Ue, fe.bg = Ve, fe.wind.scale = this.beaufort(this.kts2ms(fe.wind.kts)), fe.wind.direction = this.degree2Direction(fe.wind.degree),
|
|
6422
|
-
utc: J.add(
|
|
6423
|
-
model:
|
|
6445
|
+
fe.name = Ge, fe.url = Ue, fe.bg = Ve, fe.wind.scale = this.beaufort(this.kts2ms(fe.wind.kts)), fe.wind.direction = this.degree2Direction(fe.wind.degree), Ae.push({
|
|
6446
|
+
utc: J.add(A, "h").format(),
|
|
6447
|
+
model: R.model,
|
|
6424
6448
|
weather: { ...fe }
|
|
6425
6449
|
});
|
|
6426
6450
|
}
|
|
@@ -6428,43 +6452,43 @@ class Ca {
|
|
|
6428
6452
|
if (W) {
|
|
6429
6453
|
let De = 0;
|
|
6430
6454
|
for (const Oe of W) {
|
|
6431
|
-
const
|
|
6455
|
+
const R = Oe == null ? void 0 : Oe.hourly;
|
|
6432
6456
|
Ce = {
|
|
6433
6457
|
wave: {
|
|
6434
6458
|
sig: {
|
|
6435
|
-
height: (ee =
|
|
6436
|
-
degree: (Q =
|
|
6437
|
-
bearing: ((ce =
|
|
6438
|
-
period: (pe =
|
|
6459
|
+
height: (ee = R == null ? void 0 : R.wave_height) == null ? void 0 : ee.at(A),
|
|
6460
|
+
degree: (Q = R == null ? void 0 : R.wave_direction) == null ? void 0 : Q.at(A),
|
|
6461
|
+
bearing: ((ce = R == null ? void 0 : R.wave_direction) == null ? void 0 : ce.at(A)) !== null ? (((de = R == null ? void 0 : R.wave_direction) == null ? void 0 : de.at(A)) + 180) % 360 : null,
|
|
6462
|
+
period: (pe = R == null ? void 0 : R.wave_period) == null ? void 0 : pe.at(A)
|
|
6439
6463
|
},
|
|
6440
6464
|
swell: {
|
|
6441
|
-
height: (me =
|
|
6442
|
-
degree: (K =
|
|
6443
|
-
bearing: ((ie =
|
|
6444
|
-
period: (F =
|
|
6445
|
-
peakPeriod: (se =
|
|
6465
|
+
height: (me = R == null ? void 0 : R.swell_wave_height) == null ? void 0 : me.at(A),
|
|
6466
|
+
degree: (K = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : K.at(A),
|
|
6467
|
+
bearing: ((ie = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ie.at(A)) !== null ? (((ue = R == null ? void 0 : R.swell_wave_direction) == null ? void 0 : ue.at(A)) + 180) % 360 : null,
|
|
6468
|
+
period: (F = R == null ? void 0 : R.swell_wave_period) == null ? void 0 : F.at(A),
|
|
6469
|
+
peakPeriod: (se = R == null ? void 0 : R.swell_wave_peak_period) == null ? void 0 : se.at(A)
|
|
6446
6470
|
},
|
|
6447
6471
|
wd: {
|
|
6448
|
-
height: (xe =
|
|
6449
|
-
degree: (ve =
|
|
6450
|
-
bearing: ((Se =
|
|
6451
|
-
period: (Te =
|
|
6452
|
-
peakPeriod: (Ie =
|
|
6472
|
+
height: (xe = R == null ? void 0 : R.wind_wave_height) == null ? void 0 : xe.at(A),
|
|
6473
|
+
degree: (ve = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : ve.at(A),
|
|
6474
|
+
bearing: ((Se = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Se.at(A)) !== null ? (((Me = R == null ? void 0 : R.wind_wave_direction) == null ? void 0 : Me.at(A)) + 180) % 360 : null,
|
|
6475
|
+
period: (Te = R == null ? void 0 : R.wind_wave_period) == null ? void 0 : Te.at(A),
|
|
6476
|
+
peakPeriod: (Ie = R == null ? void 0 : R.wind_wave_peak_period) == null ? void 0 : Ie.at(A)
|
|
6453
6477
|
}
|
|
6454
6478
|
},
|
|
6455
6479
|
current: {
|
|
6456
|
-
speed: (
|
|
6457
|
-
kts: (ye =
|
|
6458
|
-
degree: (H =
|
|
6459
|
-
bearing: ((te =
|
|
6460
|
-
},
|
|
6461
|
-
sst: (je =
|
|
6462
|
-
height: (Pe =
|
|
6463
|
-
}, Ce.wave = this.parseWave(Ce.wave, fe == null ? void 0 : fe.wind), Ce.current.direction = this.degree2Direction(Ce.current.degree), Object.assign(
|
|
6480
|
+
speed: (Re = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : Re.at(A),
|
|
6481
|
+
kts: (ye = R == null ? void 0 : R.ocean_current_velocity) == null ? void 0 : ye.at(A),
|
|
6482
|
+
degree: (H = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : H.at(A),
|
|
6483
|
+
bearing: ((te = R == null ? void 0 : R.ocean_current_direction) == null ? void 0 : te.at(A)) ?? null
|
|
6484
|
+
},
|
|
6485
|
+
sst: (je = R == null ? void 0 : R.sea_surface_temperature) == null ? void 0 : je.at(A),
|
|
6486
|
+
height: (Pe = R == null ? void 0 : R.sea_level_height_msl) == null ? void 0 : Pe.at(A)
|
|
6487
|
+
}, Ce.wave = this.parseWave(Ce.wave, fe == null ? void 0 : fe.wind), Ce.current.direction = this.degree2Direction(Ce.current.degree), Object.assign(Ae[De], Ce), De++;
|
|
6464
6488
|
}
|
|
6465
6489
|
}
|
|
6466
6490
|
}
|
|
6467
|
-
return
|
|
6491
|
+
return Ae;
|
|
6468
6492
|
}
|
|
6469
6493
|
static toLegacy(e) {
|
|
6470
6494
|
var o, i, a, r, s, c, n, g, p, d;
|
|
@@ -6490,10 +6514,10 @@ class Ca {
|
|
|
6490
6514
|
}
|
|
6491
6515
|
static pickDaily(e, o) {
|
|
6492
6516
|
var i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, T, U, Y, q, Z, $, ee, Q, ce, de, pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie;
|
|
6493
|
-
const
|
|
6494
|
-
if (
|
|
6517
|
+
const Re = typeof o == "string" ? D(o) : o, ye = e == null ? void 0 : e.weather, H = e == null ? void 0 : e.marine, te = D((r = (a = (i = ye == null ? void 0 : ye[0]) == null ? void 0 : i.daily) == null ? void 0 : a.time) == null ? void 0 : r.at(0)), je = D((n = (c = (s = ye == null ? void 0 : ye[0]) == null ? void 0 : s.daily) == null ? void 0 : c.time) == null ? void 0 : n.at(-1)), Pe = [];
|
|
6518
|
+
if (Re.isBetween(te, je, "millisecond", "[]")) {
|
|
6495
6519
|
let he, ge;
|
|
6496
|
-
const W =
|
|
6520
|
+
const W = Re.diff(te, "d", !1);
|
|
6497
6521
|
if (ye)
|
|
6498
6522
|
for (const _e of ye) {
|
|
6499
6523
|
const J = _e.daily;
|
|
@@ -6529,8 +6553,8 @@ class Ca {
|
|
|
6529
6553
|
bearing: ((Z = J.wind_direction_10m_dominant) == null ? void 0 : Z.at(W)) !== null ? ((($ = J.wind_direction_10m_dominant) == null ? void 0 : $.at(W)) + 180) % 360 : null
|
|
6530
6554
|
}
|
|
6531
6555
|
};
|
|
6532
|
-
const { name: re, url:
|
|
6533
|
-
he.name = re, he.url =
|
|
6556
|
+
const { name: re, url: Ae, bg: A } = this.parseWeatherCode(he.code, !0);
|
|
6557
|
+
he.name = re, he.url = Ae, he.bg = A, he.wind.scale = this.beaufort(this.kts2ms(he.wind.kts)), he.wind.direction = this.degree2Direction(he.wind.degree), Pe.push({
|
|
6534
6558
|
utc: te.add(W, "d").utc().format(),
|
|
6535
6559
|
model: _e.model,
|
|
6536
6560
|
weather: { ...he }
|
|
@@ -7019,7 +7043,7 @@ const Nl = {
|
|
|
7019
7043
|
return {
|
|
7020
7044
|
right: 10,
|
|
7021
7045
|
toggle: !1,
|
|
7022
|
-
helper:
|
|
7046
|
+
helper: Aa,
|
|
7023
7047
|
tropicals: void 0,
|
|
7024
7048
|
tropicalCacheKey: "tropicalCacheGL4",
|
|
7025
7049
|
source: "tropicals-source",
|
|
@@ -7193,9 +7217,9 @@ const Nl = {
|
|
|
7193
7217
|
"line-join": "round"
|
|
7194
7218
|
},
|
|
7195
7219
|
paint: {
|
|
7196
|
-
"line-color": "
|
|
7220
|
+
"line-color": this.Theme.current.value.colors["on-surface"],
|
|
7197
7221
|
"line-width": 3,
|
|
7198
|
-
"line-opacity": 0.
|
|
7222
|
+
"line-opacity": 0.7
|
|
7199
7223
|
}
|
|
7200
7224
|
}), this.map.addLayer({
|
|
7201
7225
|
id: this.forecastLayer,
|
|
@@ -7574,7 +7598,7 @@ const Nl = {
|
|
|
7574
7598
|
}, Fl = { class: "idm-tropical-gl4" }, Hl = {
|
|
7575
7599
|
id: "idm-tropical-gl4-info",
|
|
7576
7600
|
class: "idm-tropical-gl4-info"
|
|
7577
|
-
}, Wl = { class: "pb-1" }, Gl = { class: "text-h6" }, Ul = {
|
|
7601
|
+
}, Wl = { class: "pb-1" }, Gl = { class: "text-h6 font-weight-600" }, Ul = {
|
|
7578
7602
|
key: 0,
|
|
7579
7603
|
class: "text-body-1 opacity-70"
|
|
7580
7604
|
}, Vl = { class: "text-body-2" }, Yl = { class: "d-flex justify-space-between align-center" }, Zl = { class: "flex-1-1-0" }, Xl = { class: "flex-1-1-0" }, ql = { class: "py-2 d-flex justify-space-between align-center" }, Kl = { class: "flex-1-1-0" }, Ql = { class: "flex-1-1-0" }, Jl = { class: "d-flex align-center flex-1-1-100 justify-space-between" }, $l = { class: "model-box d-flex justify-end align-center flex-wrap ga-1 pa-1" }, es = { class: "more" }, ts = {
|
|
@@ -7649,7 +7673,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7649
7673
|
l("div", Zl, [
|
|
7650
7674
|
e[6] || (e[6] = l("label", { class: "opacity-70 pr-1" }, "Wind speed : ", -1)),
|
|
7651
7675
|
l("span", null, y(((v = (k = a.activeTropicals) == null ? void 0 : k.history) == null ? void 0 : v.kts) || "-") + " kts", 1),
|
|
7652
|
-
l("span", null, ", BF " + y(r.computeBF(((C = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : C.kts) ||
|
|
7676
|
+
l("span", null, ", BF " + y(r.computeBF(((C = (S = a.activeTropicals) == null ? void 0 : S.history) == null ? void 0 : C.kts) || "-")), 1)
|
|
7653
7677
|
]),
|
|
7654
7678
|
l("div", Xl, [
|
|
7655
7679
|
e[7] || (e[7] = l("label", { class: "opacity-70 pr-1" }, "Pressure : ", -1)),
|
|
@@ -7659,11 +7683,11 @@ function is(t, e, o, i, a, r) {
|
|
|
7659
7683
|
l("div", ql, [
|
|
7660
7684
|
l("div", Kl, [
|
|
7661
7685
|
e[8] || (e[8] = l("label", { class: "opacity-70 pr-1" }, "Move Speed : ", -1)),
|
|
7662
|
-
l("span", null, y((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.kts) + " kts", 1)
|
|
7686
|
+
l("span", null, y(((L = r.computeMovement(a.activeTropicals)) == null ? void 0 : L.kts) || "-") + " kts", 1)
|
|
7663
7687
|
]),
|
|
7664
7688
|
l("div", Ql, [
|
|
7665
7689
|
e[9] || (e[9] = l("label", { class: "opacity-70 pr-1" }, "Move Dir : ", -1)),
|
|
7666
|
-
l("span", null, y((_ = r.computeMovement(a.activeTropicals)) == null ? void 0 : _.deg) + "°", 1)
|
|
7690
|
+
l("span", null, y(((_ = r.computeMovement(a.activeTropicals)) == null ? void 0 : _.deg) || "-") + "°", 1)
|
|
7667
7691
|
])
|
|
7668
7692
|
]),
|
|
7669
7693
|
l("div", Jl, [
|
|
@@ -7733,7 +7757,7 @@ function is(t, e, o, i, a, r) {
|
|
|
7733
7757
|
onClick: e[3] || (e[3] = (k) => r.handleStrikeProbability(a.activeTropicals))
|
|
7734
7758
|
}, {
|
|
7735
7759
|
default: u(() => e[14] || (e[14] = [
|
|
7736
|
-
G("
|
|
7760
|
+
G("View Report", -1)
|
|
7737
7761
|
])),
|
|
7738
7762
|
_: 1,
|
|
7739
7763
|
__: [14]
|
|
@@ -7786,6 +7810,10 @@ function is(t, e, o, i, a, r) {
|
|
|
7786
7810
|
l("div", { class: "icon history" }),
|
|
7787
7811
|
l("div", { class: "label" }, "History")
|
|
7788
7812
|
], -1),
|
|
7813
|
+
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
7814
|
+
l("div", { class: "icon forecast" }),
|
|
7815
|
+
l("div", { class: "label" }, "Forecast")
|
|
7816
|
+
], -1),
|
|
7789
7817
|
l("div", { class: "legend d-flex justify-start align-center" }, [
|
|
7790
7818
|
l("div", { class: "icon r7" }),
|
|
7791
7819
|
l("div", { class: "label" }, "35kts Radii")
|
|
@@ -8428,7 +8456,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8428
8456
|
m(n, { class: "d-flex justify-space-between align-center" }, {
|
|
8429
8457
|
default: u(() => [
|
|
8430
8458
|
e[10] || (e[10] = l("div", { class: "d-flex justify-start align-center" }, [
|
|
8431
|
-
l("div", { class: "mx-2" }, "Spot Weather")
|
|
8459
|
+
l("div", { class: "text-h6 font-weight-600 mx-2" }, "Spot Weather")
|
|
8432
8460
|
], -1)),
|
|
8433
8461
|
m(s, {
|
|
8434
8462
|
icon: "",
|
|
@@ -8457,7 +8485,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8457
8485
|
ref: "spotForm",
|
|
8458
8486
|
autocomplete: "off",
|
|
8459
8487
|
class: "form-box",
|
|
8460
|
-
onSubmit:
|
|
8488
|
+
onSubmit: Ra(r.submitForm, ["prevent"])
|
|
8461
8489
|
}, {
|
|
8462
8490
|
default: u(() => [
|
|
8463
8491
|
l("div", ps, [
|
|
@@ -8970,7 +8998,8 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8970
8998
|
m(S, { class: "d-flex justify-space-between align-center" }, {
|
|
8971
8999
|
default: u(() => [
|
|
8972
9000
|
m(s, {
|
|
8973
|
-
|
|
9001
|
+
vvariant: "text",
|
|
9002
|
+
density: "compact",
|
|
8974
9003
|
"prepend-icon": "mdi-star",
|
|
8975
9004
|
class: "text-none text-body-1",
|
|
8976
9005
|
onClick: r.handleFollow
|
|
@@ -8986,6 +9015,7 @@ function Cs(t, e, o, i, a, r) {
|
|
|
8986
9015
|
}, 8, ["onClick"]),
|
|
8987
9016
|
m(s, {
|
|
8988
9017
|
variant: "text",
|
|
9018
|
+
density: "compact",
|
|
8989
9019
|
"append-icon": "mdi-chevron-right",
|
|
8990
9020
|
class: "text-none text-body-1",
|
|
8991
9021
|
onClick: r.handleMeteoMore
|
|
@@ -9389,8 +9419,8 @@ function Is(t, e, o, i, a, r) {
|
|
|
9389
9419
|
], 4)
|
|
9390
9420
|
]);
|
|
9391
9421
|
}
|
|
9392
|
-
const
|
|
9393
|
-
const
|
|
9422
|
+
const Rs = /* @__PURE__ */ X(Ms, [["render", Is]]);
|
|
9423
|
+
const As = {
|
|
9394
9424
|
name: "IdmBottomBar",
|
|
9395
9425
|
components: { DateTimePicker: ro },
|
|
9396
9426
|
props: {
|
|
@@ -9813,13 +9843,13 @@ function Gs(t, e, o, i, a, r) {
|
|
|
9813
9843
|
], 4)
|
|
9814
9844
|
]);
|
|
9815
9845
|
}
|
|
9816
|
-
const Us = /* @__PURE__ */ X(
|
|
9846
|
+
const Us = /* @__PURE__ */ X(As, [["render", Gs]]), Vs = {
|
|
9817
9847
|
name: "IdmGL4",
|
|
9818
9848
|
components: {
|
|
9819
9849
|
IdmOtherLayer: $i,
|
|
9820
9850
|
IdmWeatherLayer: jl,
|
|
9821
9851
|
IdmTropicals: Ma,
|
|
9822
|
-
IdmMeasure:
|
|
9852
|
+
IdmMeasure: Rs,
|
|
9823
9853
|
IdmSpot: Ss,
|
|
9824
9854
|
IdmBottomBar: Us
|
|
9825
9855
|
},
|
|
@@ -9960,7 +9990,7 @@ class qs {
|
|
|
9960
9990
|
le(this, "hi");
|
|
9961
9991
|
le(this, "td");
|
|
9962
9992
|
le(this, "windy");
|
|
9963
|
-
var o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, T, U, Y, q, Z, $, ee, Q, ce, de, pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie,
|
|
9993
|
+
var o, i, a, r, s, c, n, g, p, d, f, k, v, S, C, N, M, L, _, z, P, x, T, U, Y, q, Z, $, ee, Q, ce, de, pe, me, K, ie, ue, F, se, xe, ve, Se, Me, Te, Ie, Re, ye, H, te, je, Pe, he, ge, W, _e, J, re, Ae, A, fe, Ce, De, Oe, R, V, Ge, Ue, Ve, ze, Ze, Xe, qe, Ke, Qe, Je, $e, et, tt, ot, at, it, rt, lt, st, nt, ct, mt, ht, dt, pt, ut, gt, ft, yt, bt, wt, xt, vt, _t, kt, zt, Lt, Pt, Ct, St, Mt, Tt, It, Rt, At, Dt, Ot, Bt, Et, jt, Nt, Ft, Ht, Wt, Gt, Ut, Vt, Yt, Zt, Xt, qt, Kt, Qt, Jt, lo, so, no, co, mo, ho, po, uo, go, fo, yo, bo, wo, xo, vo, _o, ko, zo, Lo, Po, Co, So, Mo, To, Io, Ro, Ao, Do, Oo, Bo, Eo, jo, No, Fo, Ho, Wo, Go, Uo, Vo, Yo, Zo, Xo, qo, Ko, Qo, Jo, $o, ea, ta, oa, aa, ia, ra, la, sa, na, ca, ma, ha, da, pa, ua, ga, fa, ya, ba, wa, xa, va, _a, ka, za, La;
|
|
9964
9994
|
this.i4 = {
|
|
9965
9995
|
source: {
|
|
9966
9996
|
type: "raster",
|
|
@@ -28254,7 +28284,7 @@ class qs {
|
|
|
28254
28284
|
(xe = (se = this.originStyle) == null ? void 0 : se.light.layers) == null ? void 0 : xe.find((h) => h.id === "admin-0-boundary"),
|
|
28255
28285
|
(Se = (ve = this.originStyle) == null ? void 0 : ve.light.layers) == null ? void 0 : Se.find((h) => h.id === "admin-0-boundary-disputed"),
|
|
28256
28286
|
(Te = (Me = this.originStyle) == null ? void 0 : Me.light.layers) == null ? void 0 : Te.find((h) => h.id === "country-label"),
|
|
28257
|
-
(
|
|
28287
|
+
(Re = (Ie = this.originStyle) == null ? void 0 : Ie.light.layers) == null ? void 0 : Re.find((h) => h.id === "continent-label"),
|
|
28258
28288
|
(H = (ye = this.originStyle) == null ? void 0 : ye.light.layers) == null ? void 0 : H.find((h) => h.id === "tide-stations"),
|
|
28259
28289
|
(je = (te = this.originStyle) == null ? void 0 : te.light.layers) == null ? void 0 : je.find((h) => h.id === "empty-layer-3"),
|
|
28260
28290
|
(he = (Pe = this.originStyle) == null ? void 0 : Pe.light.layers) == null ? void 0 : he.find((h) => h.id === "empty-layer-4")
|
|
@@ -28282,10 +28312,10 @@ class qs {
|
|
|
28282
28312
|
protected: !1,
|
|
28283
28313
|
draft: !1,
|
|
28284
28314
|
layers: [
|
|
28285
|
-
(
|
|
28315
|
+
(A = (Ae = this.originStyle) == null ? void 0 : Ae.dark.layers) == null ? void 0 : A.find((h) => h.id === "land"),
|
|
28286
28316
|
(Ce = (fe = this.originStyle) == null ? void 0 : fe.dark.layers) == null ? void 0 : Ce.find((h) => h.id === "water"),
|
|
28287
28317
|
(Oe = (De = this.originStyle) == null ? void 0 : De.dark.layers) == null ? void 0 : Oe.find((h) => h.id === "ice-area-fill"),
|
|
28288
|
-
(V = (
|
|
28318
|
+
(V = (R = this.originStyle) == null ? void 0 : R.dark.layers) == null ? void 0 : V.find((h) => h.id === "ice-area-line"),
|
|
28289
28319
|
(Ue = (Ge = this.originStyle) == null ? void 0 : Ge.dark.layers) == null ? void 0 : Ue.find((h) => h.id === "empty-layer-0"),
|
|
28290
28320
|
(ze = (Ve = this.originStyle) == null ? void 0 : Ve.dark.layers) == null ? void 0 : ze.find((h) => h.id === "empty-layer-1"),
|
|
28291
28321
|
(Xe = (Ze = this.originStyle) == null ? void 0 : Ze.dark.layers) == null ? void 0 : Xe.find((h) => h.id === "country-boundaries"),
|
|
@@ -28315,8 +28345,8 @@ class qs {
|
|
|
28315
28345
|
metadata: (It = this.originStyle) == null ? void 0 : It.satellite.metadata,
|
|
28316
28346
|
center: [55.13, 25.12],
|
|
28317
28347
|
zoom: 12,
|
|
28318
|
-
fog: (
|
|
28319
|
-
imports: (
|
|
28348
|
+
fog: (Rt = this.originStyle) == null ? void 0 : Rt.satellite.fog,
|
|
28349
|
+
imports: (At = this.originStyle) == null ? void 0 : At.satellite.imports,
|
|
28320
28350
|
sources: (Dt = this.originStyle) == null ? void 0 : Dt.satellite.sources,
|
|
28321
28351
|
sprite: (Ot = this.originStyle) == null ? void 0 : Ot.satellite.sprite,
|
|
28322
28352
|
glyphs: (Bt = this.originStyle) == null ? void 0 : Bt.satellite.glyphs,
|
|
@@ -28354,11 +28384,11 @@ class qs {
|
|
|
28354
28384
|
nautical: {
|
|
28355
28385
|
version: 8,
|
|
28356
28386
|
name: "nautical",
|
|
28357
|
-
metadata: (
|
|
28387
|
+
metadata: (Ro = this.originStyle) == null ? void 0 : Ro.nautical.metadata,
|
|
28358
28388
|
center: [-34, 38],
|
|
28359
28389
|
zoom: 2,
|
|
28360
28390
|
terrain: null,
|
|
28361
|
-
imports: (
|
|
28391
|
+
imports: (Ao = this.originStyle) == null ? void 0 : Ao.nautical.imports,
|
|
28362
28392
|
sources: (Do = this.originStyle) == null ? void 0 : Do.nautical.sources,
|
|
28363
28393
|
sprite: (Oo = this.originStyle) == null ? void 0 : Oo.nautical.sprite,
|
|
28364
28394
|
glyphs: (Bo = this.originStyle) == null ? void 0 : Bo.nautical.glyphs,
|