@idmwx/idmui-gl4 3.0.9 → 3.1.1
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/{chunk-3VYIPD3A-9f30d6c8.js → chunk-3VYIPD3A-915b3278.js} +1 -1
- package/dist/{chunk-ANSXOGKI-222aefe5.js → chunk-ANSXOGKI-3ddb8214.js} +1 -1
- package/dist/{chunk-T4JIPPZO-55ee03ad.js → chunk-T4JIPPZO-eb1b9fc4.js} +1 -1
- package/dist/{download-b3f5b8cc.js → download-e42962ac.js} +3 -3
- package/dist/{index-81ae0ded.js → index-8ed286f2.js} +326 -317
- package/dist/index.js +1 -1
- package/dist/index.umd.cjs +14 -14
- package/dist/mapbox/src/components/bottombar/capture/index.vue.d.ts +1 -2
- package/dist/mapbox/src/components/bottombar/index.vue.d.ts +1 -0
- package/dist/mapbox/src/components/marker/index.vue.d.ts +7 -13
- package/dist/{rasterize-JS5G2XHH-bac43c3a.js → rasterize-JS5G2XHH-c3acee00.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toBlob-a88df86c.js → toBlob-53f73110.js} +3 -3
- package/dist/{toCanvas-15a7084f.js → toCanvas-a5d0e64a.js} +2 -2
- package/dist/{toImg-aca4c3d8.js → toImg-d5901264.js} +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ var kr = (t, e, a) => e in t ? vr(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ve = (t, e, a) => (kr(t, typeof e != "symbol" ? e + "" : e, a), a);
|
|
4
4
|
import Ie from "axios";
|
|
5
5
|
import { useTheme as Fe } from "vuetify";
|
|
6
|
-
import { openBlock as k, createElementBlock as
|
|
6
|
+
import { openBlock as k, createElementBlock as A, resolveComponent as P, createBlock as W, normalizeClass as ge, withCtx as x, createVNode as b, withModifiers as Le, createElementVNode as n, createCommentVNode as N, toDisplayString as y, createTextVNode as Z, Fragment as Te, renderList as De, withDirectives as et, vShow as tt, mergeProps as $, normalizeStyle as he } from "vue";
|
|
7
7
|
import ye from "mapbox-gl";
|
|
8
8
|
import R from "moment";
|
|
9
9
|
import { LngLatHelper as j, TropicalHelper as Di, LaneHelper as Xe, GeoJsonHelper as je } from "@idm-plugin/geo";
|
|
@@ -116,7 +116,7 @@ const ie = (t, e) => {
|
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
function Sr(t, e, a, i, o, r) {
|
|
119
|
-
return k(),
|
|
119
|
+
return k(), A("div");
|
|
120
120
|
}
|
|
121
121
|
const Tr = /* @__PURE__ */ ie(Pr, [["render", Sr]]), Rr = {
|
|
122
122
|
name: "IdmGmdssArea",
|
|
@@ -243,7 +243,7 @@ const Tr = /* @__PURE__ */ ie(Pr, [["render", Sr]]), Rr = {
|
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
function Dr(t, e, a, i, o, r) {
|
|
246
|
-
return k(),
|
|
246
|
+
return k(), A("div");
|
|
247
247
|
}
|
|
248
248
|
const Ir = /* @__PURE__ */ ie(Rr, [["render", Dr]]), Ar = {
|
|
249
249
|
name: "IdmEcaZone",
|
|
@@ -339,7 +339,7 @@ const Ir = /* @__PURE__ */ ie(Rr, [["render", Dr]]), Ar = {
|
|
|
339
339
|
}
|
|
340
340
|
};
|
|
341
341
|
function Gr(t, e, a, i, o, r) {
|
|
342
|
-
return k(),
|
|
342
|
+
return k(), A("div");
|
|
343
343
|
}
|
|
344
344
|
const Fr = /* @__PURE__ */ ie(Ar, [["render", Gr]]);
|
|
345
345
|
const Nr = {
|
|
@@ -1515,10 +1515,10 @@ const Zr = {
|
|
|
1515
1515
|
{ label: "Swell", key: "weather.swell", unit: "m" },
|
|
1516
1516
|
{ label: "Current", key: "weather.current", unit: "kts" }
|
|
1517
1517
|
], (a = (e = this.dateList) == null ? void 0 : e[this.currentIndex]) == null || a.dateTimeList.forEach((i, o) => {
|
|
1518
|
-
var c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D,
|
|
1518
|
+
var c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G, J, K, oe, Y, H, ee, F, ne, fe, ke, ze;
|
|
1519
1519
|
let r = {};
|
|
1520
1520
|
const l = ((c = Va.pickHourly(t, R(i))) == null ? void 0 : c[0]) || {};
|
|
1521
|
-
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((w = (f = l == null ? void 0 : l.weather) == null ? void 0 : f.precip) == null ? void 0 : w.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((g = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : g.kts, 1) ?? "-", r.windDir = (T = (_ = l == null ? void 0 : l.weather) == null ? void 0 : _.wind) == null ? void 0 : T.direction, r.windLevel = this.computeRoundPrecision((M = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : M.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((z = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : z.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (S = l == null ? void 0 : l.wave) == null ? void 0 : S.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (E = (
|
|
1521
|
+
r.utc = l.utc, r.lat = t.lat, r.lng = t.lng, r.weatherUrl = (s = l.weather) == null ? void 0 : s.url, r.temp = this.computeRoundPrecision((d = l == null ? void 0 : l.weather) == null ? void 0 : d.temp, 0) ?? "-", r.precipProbability = this.computeRoundPrecision((p = (m = l == null ? void 0 : l.weather) == null ? void 0 : m.precip) == null ? void 0 : p.probability, 0) ?? "-", r.precip1h = this.computeRoundPrecision((w = (f = l == null ? void 0 : l.weather) == null ? void 0 : f.precip) == null ? void 0 : w.sum, 1) ?? "-", r.visibility = this.computeRoundPrecision((u = l == null ? void 0 : l.weather) == null ? void 0 : u.visibility, 0) ?? "-", r.windSpeed = this.computeRoundPrecision((g = (h = l == null ? void 0 : l.weather) == null ? void 0 : h.wind) == null ? void 0 : g.kts, 1) ?? "-", r.windDir = (T = (_ = l == null ? void 0 : l.weather) == null ? void 0 : _.wind) == null ? void 0 : T.direction, r.windLevel = this.computeRoundPrecision((M = (v = l == null ? void 0 : l.weather) == null ? void 0 : v.wind) == null ? void 0 : M.scale, 0) ?? "-", r.windGust = this.computeRoundPrecision((z = (L = l == null ? void 0 : l.weather) == null ? void 0 : L.wind) == null ? void 0 : z.gusts, 1) ?? "-", r.sigwaveHeight = this.computeRoundPrecision((D = (S = l == null ? void 0 : l.wave) == null ? void 0 : S.sig) == null ? void 0 : D.height, 1) ?? "-", r.sigwaveDir = (E = (I = l == null ? void 0 : l.wave) == null ? void 0 : I.sig) == null ? void 0 : E.direction, r.sigwavePeriod = this.computeRoundPrecision((O = (X = l == null ? void 0 : l.wave) == null ? void 0 : X.sig) == null ? void 0 : O.period, 1) ?? "-", r.windwaveHeight = this.computeRoundPrecision((ae = (q = l == null ? void 0 : l.wave) == null ? void 0 : q.wd) == null ? void 0 : ae.height, 1) ?? "-", r.windwaveDir = (pe = (re = l == null ? void 0 : l.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.direction, r.windwavePeriod = this.computeRoundPrecision((J = (G = l == null ? void 0 : l.wave) == null ? void 0 : G.wd) == null ? void 0 : J.period, 1) ?? "-", r.swellHeight = this.computeRoundPrecision((oe = (K = l == null ? void 0 : l.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.height, 1) ?? "-", r.swellDir = (H = (Y = l == null ? void 0 : l.wave) == null ? void 0 : Y.swell) == null ? void 0 : H.direction, r.swellPeriod = this.computeRoundPrecision((F = (ee = l == null ? void 0 : l.wave) == null ? void 0 : ee.swell) == null ? void 0 : F.period, 1) ?? "-", r.currentSpeed = this.computeRoundPrecision((ne = l == null ? void 0 : l.current) == null ? void 0 : ne.speed, 1) ?? "-", r.currentDir = (fe = l == null ? void 0 : l.current) == null ? void 0 : fe.direction, r.currentSpeed = this.computeRoundPrecision((ke = l == null ? void 0 : l.current) == null ? void 0 : ke.speed, 1) ?? "-", r.seaLevel = this.computeRoundPrecision(l == null ? void 0 : l.height, 1) ?? "-", r.seaTemp = this.computeRoundPrecision(l == null ? void 0 : l.sst, 0) ?? "-", r.weatherUrls = (ze = l == null ? void 0 : l.weather) == null ? void 0 : ze.url, this.tableData[0][`value${o}`] = o * this.interval > 10 ? o * this.interval : "0" + o * this.interval, this.tableData[1][`value${o}`] = r.weatherUrl, this.tableData[2][`value${o}`] = r.temp, this.tableData[3][`value${o}`] = r.precip1h, this.tableData[4][`value${o}`] = r.visibility, this.tableData[5][`value${o}`] = r.windSpeed, this.tableData[6][`value${o}`] = r.sigwaveHeight, this.tableData[7][`value${o}`] = r.swellHeight, this.tableData[8][`value${o}`] = r.currentSpeed;
|
|
1522
1522
|
});
|
|
1523
1523
|
},
|
|
1524
1524
|
handleTide() {
|
|
@@ -1741,7 +1741,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1741
1741
|
}, null, 2),
|
|
1742
1742
|
n("div", null, y((_ = a.port) == null ? void 0 : _.name), 1)
|
|
1743
1743
|
]),
|
|
1744
|
-
a.simple ? (k(),
|
|
1744
|
+
a.simple ? (k(), A("div", jr, [
|
|
1745
1745
|
(T = a.followList) != null && T.some((M) => {
|
|
1746
1746
|
var L;
|
|
1747
1747
|
return ((L = M.port) == null ? void 0 : L.id) === a.portId;
|
|
@@ -1789,7 +1789,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1789
1789
|
_: 1,
|
|
1790
1790
|
__: [4]
|
|
1791
1791
|
}, 8, ["onClick"])
|
|
1792
|
-
])) : (k(),
|
|
1792
|
+
])) : (k(), A("div", Xr, [
|
|
1793
1793
|
b(l, {
|
|
1794
1794
|
icon: "",
|
|
1795
1795
|
density: "compact",
|
|
@@ -1817,7 +1817,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1817
1817
|
_: 1
|
|
1818
1818
|
}),
|
|
1819
1819
|
b(s, { class: "w-100" }),
|
|
1820
|
-
a.simple ? N("", !0) : (k(),
|
|
1820
|
+
a.simple ? N("", !0) : (k(), A("div", Yr, [
|
|
1821
1821
|
(p = a.followList) != null && p.some((u) => {
|
|
1822
1822
|
var h;
|
|
1823
1823
|
return ((h = u.port) == null ? void 0 : h.id) === a.portId;
|
|
@@ -1872,7 +1872,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1872
1872
|
n("div", Ur, [
|
|
1873
1873
|
n("div", $r, [
|
|
1874
1874
|
n("div", Jr, [
|
|
1875
|
-
(k(),
|
|
1875
|
+
(k(), A("svg", Kr, [
|
|
1876
1876
|
n("use", {
|
|
1877
1877
|
"xlink:href": `#icon-title-${a.theme}`
|
|
1878
1878
|
}, null, 8, qr)
|
|
@@ -1899,7 +1899,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1899
1899
|
n("div", cl, [
|
|
1900
1900
|
n("div", ml, [
|
|
1901
1901
|
n("div", dl, [
|
|
1902
|
-
(k(),
|
|
1902
|
+
(k(), A("svg", hl, [
|
|
1903
1903
|
n("use", {
|
|
1904
1904
|
"xlink:href": `#icon-title-${a.theme}`
|
|
1905
1905
|
}, null, 8, pl)
|
|
@@ -1922,7 +1922,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1922
1922
|
rounded: "1"
|
|
1923
1923
|
}, {
|
|
1924
1924
|
default: x(() => [
|
|
1925
|
-
(k(!0),
|
|
1925
|
+
(k(!0), A(Te, null, De(r.dateList, (u) => (k(), W(l, {
|
|
1926
1926
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
1927
1927
|
density: "compact",
|
|
1928
1928
|
color: "primary",
|
|
@@ -1939,40 +1939,40 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1939
1939
|
}, 8, ["modelValue"]),
|
|
1940
1940
|
n("table", ul, [
|
|
1941
1941
|
n("tbody", null, [
|
|
1942
|
-
(k(!0),
|
|
1942
|
+
(k(!0), A(Te, null, De(o.tableData, (u) => (k(), A("tr", {
|
|
1943
1943
|
key: u.id
|
|
1944
1944
|
}, [
|
|
1945
1945
|
n("th", gl, [
|
|
1946
1946
|
Z(y(t.$t(`${u.key}`)) + " ", 1),
|
|
1947
|
-
u.unit ? (k(),
|
|
1947
|
+
u.unit ? (k(), A("span", fl, " ( " + y(u.unit) + " )", 1)) : N("", !0)
|
|
1948
1948
|
]),
|
|
1949
1949
|
n("td", yl, [
|
|
1950
|
-
u.img ? (k(),
|
|
1950
|
+
u.img ? (k(), A("img", {
|
|
1951
1951
|
key: 0,
|
|
1952
1952
|
src: u == null ? void 0 : u.value0,
|
|
1953
1953
|
style: { height: "30px" }
|
|
1954
|
-
}, null, 8, bl)) : (k(),
|
|
1954
|
+
}, null, 8, bl)) : (k(), A("span", wl, y((u == null ? void 0 : u.value0) ?? "-"), 1))
|
|
1955
1955
|
]),
|
|
1956
1956
|
n("td", xl, [
|
|
1957
|
-
u.img ? (k(),
|
|
1957
|
+
u.img ? (k(), A("img", {
|
|
1958
1958
|
key: 0,
|
|
1959
1959
|
src: u == null ? void 0 : u.value1,
|
|
1960
1960
|
style: { height: "30px" }
|
|
1961
|
-
}, null, 8, vl)) : (k(),
|
|
1961
|
+
}, null, 8, vl)) : (k(), A("span", kl, y((u == null ? void 0 : u.value1) ?? "-"), 1))
|
|
1962
1962
|
]),
|
|
1963
1963
|
n("td", _l, [
|
|
1964
|
-
u.img ? (k(),
|
|
1964
|
+
u.img ? (k(), A("img", {
|
|
1965
1965
|
key: 0,
|
|
1966
1966
|
src: u == null ? void 0 : u.value2,
|
|
1967
1967
|
style: { height: "30px" }
|
|
1968
|
-
}, null, 8, Ll)) : (k(),
|
|
1968
|
+
}, null, 8, Ll)) : (k(), A("span", zl, y((u == null ? void 0 : u.value2) ?? "-"), 1))
|
|
1969
1969
|
]),
|
|
1970
1970
|
n("td", Cl, [
|
|
1971
|
-
u.img ? (k(),
|
|
1971
|
+
u.img ? (k(), A("img", {
|
|
1972
1972
|
key: 0,
|
|
1973
1973
|
src: u == null ? void 0 : u.value3,
|
|
1974
1974
|
style: { height: "30px" }
|
|
1975
|
-
}, null, 8, Ml)) : (k(),
|
|
1975
|
+
}, null, 8, Ml)) : (k(), A("span", Pl, y((u == null ? void 0 : u.value3) ?? "-"), 1))
|
|
1976
1976
|
])
|
|
1977
1977
|
]))), 128))
|
|
1978
1978
|
])
|
|
@@ -1982,7 +1982,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
1982
1982
|
n("div", Sl, [
|
|
1983
1983
|
n("div", Tl, [
|
|
1984
1984
|
n("div", Rl, [
|
|
1985
|
-
(k(),
|
|
1985
|
+
(k(), A("svg", Dl, [
|
|
1986
1986
|
n("use", {
|
|
1987
1987
|
"xlink:href": `#icon-title-${a.theme}`
|
|
1988
1988
|
}, null, 8, Il)
|
|
@@ -2007,7 +2007,7 @@ function Vl(t, e, a, i, o, r) {
|
|
|
2007
2007
|
}, null, 8, ["onClick"]))
|
|
2008
2008
|
])
|
|
2009
2009
|
]),
|
|
2010
|
-
o.showTideDetail ? (k(),
|
|
2010
|
+
o.showTideDetail ? (k(), A("div", {
|
|
2011
2011
|
key: 0,
|
|
2012
2012
|
class: ge(["w-100 gray-bg-2 rounded", a.simple ? "pa-2" : "pa-4"])
|
|
2013
2013
|
}, [
|
|
@@ -2019,9 +2019,9 @@ function Vl(t, e, a, i, o, r) {
|
|
|
2019
2019
|
n("th", Wl, y(t.$t("time.time")) + " ( LT ) ", 1),
|
|
2020
2020
|
n("th", El, y(t.$t("tide.height")) + " ( m )", 1)
|
|
2021
2021
|
]),
|
|
2022
|
-
(k(!0),
|
|
2022
|
+
(k(!0), A(Te, null, De(o.tideTableData, (u, h) => {
|
|
2023
2023
|
var g;
|
|
2024
|
-
return k(),
|
|
2024
|
+
return k(), A("tr", { key: h }, [
|
|
2025
2025
|
n("td", Bl, y(t.$t(`tide.${(g = u == null ? void 0 : u.type) == null ? void 0 : g.toLowerCase()}`)) + " " + y(t.$t("tide.tide")), 1),
|
|
2026
2026
|
n("td", Zl, y(r.computeLocalTime(u == null ? void 0 : u.date, a.port, "MM-DD HH:mm")), 1),
|
|
2027
2027
|
n("td", Ol, y((u == null ? void 0 : u.height) ?? "-") + " m", 1)
|
|
@@ -2147,7 +2147,7 @@ const jl = {
|
|
|
2147
2147
|
}, Xl = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, Hl = { class: "d-flex justify-start align-center text-label" }, Yl = { class: "d-flex justify-start align-center text-label" };
|
|
2148
2148
|
function Ul(t, e, a, i, o, r) {
|
|
2149
2149
|
const l = P("VCardText"), c = P("VCard"), s = P("PortDetail");
|
|
2150
|
-
return k(),
|
|
2150
|
+
return k(), A("div", null, [
|
|
2151
2151
|
et(b(c, {
|
|
2152
2152
|
id: "idmPortInfo",
|
|
2153
2153
|
ref: "idmPortInfo"
|
|
@@ -2225,7 +2225,7 @@ const $l = /* @__PURE__ */ ie(jl, [["render", Ul], ["__scopeId", "data-v-0c0f27d
|
|
|
2225
2225
|
}
|
|
2226
2226
|
};
|
|
2227
2227
|
function Kl(t, e, a, i, o, r) {
|
|
2228
|
-
return k(),
|
|
2228
|
+
return k(), A("div");
|
|
2229
2229
|
}
|
|
2230
2230
|
const ql = /* @__PURE__ */ ie(Jl, [["render", Kl]]), Ql = {
|
|
2231
2231
|
name: "IdmTimezone",
|
|
@@ -2431,7 +2431,7 @@ const ql = /* @__PURE__ */ ie(Jl, [["render", Kl]]), Ql = {
|
|
|
2431
2431
|
}
|
|
2432
2432
|
};
|
|
2433
2433
|
function en(t, e, a, i, o, r) {
|
|
2434
|
-
return k(),
|
|
2434
|
+
return k(), A("div");
|
|
2435
2435
|
}
|
|
2436
2436
|
const tn = /* @__PURE__ */ ie(Ql, [["render", en]]), an = {
|
|
2437
2437
|
name: "IdmVoluntaryReportingArea",
|
|
@@ -2526,7 +2526,7 @@ const tn = /* @__PURE__ */ ie(Ql, [["render", en]]), an = {
|
|
|
2526
2526
|
}
|
|
2527
2527
|
};
|
|
2528
2528
|
function on(t, e, a, i, o, r) {
|
|
2529
|
-
return k(),
|
|
2529
|
+
return k(), A("div");
|
|
2530
2530
|
}
|
|
2531
2531
|
const rn = /* @__PURE__ */ ie(an, [["render", on]]), ln = {
|
|
2532
2532
|
name: "IdmSpecialArea",
|
|
@@ -2621,7 +2621,7 @@ const rn = /* @__PURE__ */ ie(an, [["render", on]]), ln = {
|
|
|
2621
2621
|
}
|
|
2622
2622
|
};
|
|
2623
2623
|
function nn(t, e, a, i, o, r) {
|
|
2624
|
-
return k(),
|
|
2624
|
+
return k(), A("div");
|
|
2625
2625
|
}
|
|
2626
2626
|
const sn = /* @__PURE__ */ ie(ln, [["render", nn]]), cn = {
|
|
2627
2627
|
name: "IdmTerminator",
|
|
@@ -2675,7 +2675,7 @@ const sn = /* @__PURE__ */ ie(ln, [["render", nn]]), cn = {
|
|
|
2675
2675
|
}
|
|
2676
2676
|
};
|
|
2677
2677
|
function mn(t, e, a, i, o, r) {
|
|
2678
|
-
return k(),
|
|
2678
|
+
return k(), A("div");
|
|
2679
2679
|
}
|
|
2680
2680
|
const dn = /* @__PURE__ */ ie(cn, [["render", mn]]), hn = {
|
|
2681
2681
|
name: "IdmWorld12nm",
|
|
@@ -3149,7 +3149,7 @@ function Qn(t, e, a, i, o, r) {
|
|
|
3149
3149
|
n("div", zn, [
|
|
3150
3150
|
n("div", Cn, [
|
|
3151
3151
|
n("div", Mn, [
|
|
3152
|
-
(k(),
|
|
3152
|
+
(k(), A("svg", Pn, [
|
|
3153
3153
|
n("use", {
|
|
3154
3154
|
"xlink:href": `#icon-title-${a.theme}`
|
|
3155
3155
|
}, null, 8, Sn)
|
|
@@ -3175,7 +3175,7 @@ function Qn(t, e, a, i, o, r) {
|
|
|
3175
3175
|
n("div", Bn, [
|
|
3176
3176
|
n("div", Zn, [
|
|
3177
3177
|
n("div", On, [
|
|
3178
|
-
(k(),
|
|
3178
|
+
(k(), A("svg", Vn, [
|
|
3179
3179
|
n("use", {
|
|
3180
3180
|
"xlink:href": `#icon-title-${a.theme}`
|
|
3181
3181
|
}, null, 8, jn)
|
|
@@ -3198,7 +3198,7 @@ function Qn(t, e, a, i, o, r) {
|
|
|
3198
3198
|
rounded: "1"
|
|
3199
3199
|
}, {
|
|
3200
3200
|
default: x(() => [
|
|
3201
|
-
(k(!0),
|
|
3201
|
+
(k(!0), A(Te, null, De(r.dateList, (w) => (k(), W(l, {
|
|
3202
3202
|
class: "text-none text-body-1 rounded bg-none flex-1-1-0",
|
|
3203
3203
|
density: "compact",
|
|
3204
3204
|
color: "primary",
|
|
@@ -3221,9 +3221,9 @@ function Qn(t, e, a, i, o, r) {
|
|
|
3221
3221
|
n("th", Un, y(t.$t("time.time")) + " ( LT ) ", 1),
|
|
3222
3222
|
n("th", $n, y(t.$t("tide.height")) + " ( m )", 1)
|
|
3223
3223
|
]),
|
|
3224
|
-
(k(!0),
|
|
3224
|
+
(k(!0), A(Te, null, De(o.tideTableData, (w, u) => {
|
|
3225
3225
|
var h;
|
|
3226
|
-
return k(),
|
|
3226
|
+
return k(), A("tr", { key: u }, [
|
|
3227
3227
|
n("td", Jn, y(t.$t(`tide.${(h = w == null ? void 0 : w.type) == null ? void 0 : h.toLowerCase()}`)) + " " + y(t.$t("tide.tide")), 1),
|
|
3228
3228
|
n("td", Kn, y(r.computeLocalTime(w == null ? void 0 : w.date, a.station, "MM-DD HH:mm")), 1),
|
|
3229
3229
|
n("td", qn, y((w == null ? void 0 : w.height) ?? "-") + " m", 1)
|
|
@@ -3318,7 +3318,7 @@ const ts = {
|
|
|
3318
3318
|
}, as = { class: "station-box d-flex flex-column justify-center align-start ga-1" }, os = { class: "d-flex justify-start align-center" }, is = { class: "d-flex justify-start align-center" }, rs = { class: "text-label" };
|
|
3319
3319
|
function ls(t, e, a, i, o, r) {
|
|
3320
3320
|
const l = P("v-card-text"), c = P("v-card"), s = P("TideDetail");
|
|
3321
|
-
return k(),
|
|
3321
|
+
return k(), A("div", null, [
|
|
3322
3322
|
et(b(c, { id: "idmTidalInfo" }, {
|
|
3323
3323
|
default: x(() => [
|
|
3324
3324
|
b(l, { class: "pr-8 text-body-1" }, {
|
|
@@ -3565,7 +3565,7 @@ const ds = {
|
|
|
3565
3565
|
};
|
|
3566
3566
|
function hs(t, e, a, i, o, r) {
|
|
3567
3567
|
var l, c, s;
|
|
3568
|
-
return a.simple ? N("", !0) : (k(),
|
|
3568
|
+
return a.simple ? N("", !0) : (k(), A("div", {
|
|
3569
3569
|
key: 0,
|
|
3570
3570
|
class: "idm-lat-lng-tip-gl4 pa-2 text-caption text-right rounded",
|
|
3571
3571
|
style: he({ right: o.right + "px" })
|
|
@@ -4488,7 +4488,7 @@ const ps = {
|
|
|
4488
4488
|
}, us = { class: "port-box d-flex flex-column justify-center align-start ga-1" }, gs = { class: "d-flex justify-start align-center text-label" }, fs = { class: "d-flex justify-start align-center text-label" };
|
|
4489
4489
|
function ys(t, e, a, i, o, r) {
|
|
4490
4490
|
const l = P("v-card-text"), c = P("v-card"), s = P("PortDetail");
|
|
4491
|
-
return k(),
|
|
4491
|
+
return k(), A("div", null, [
|
|
4492
4492
|
et(b(c, {
|
|
4493
4493
|
id: "idmFollowPortInfo",
|
|
4494
4494
|
ref: "idmFollowPortInfo"
|
|
@@ -5459,7 +5459,7 @@ function _s(t, e, a, i, o, r) {
|
|
|
5459
5459
|
n("div", vs, [
|
|
5460
5460
|
n("span", null, y(r.computePosition(o.position)), 1)
|
|
5461
5461
|
]),
|
|
5462
|
-
o.position.remark ? (k(),
|
|
5462
|
+
o.position.remark ? (k(), A("div", ks, [
|
|
5463
5463
|
n("span", null, y(o.position.remark ?? "-"), 1)
|
|
5464
5464
|
])) : N("", !0)
|
|
5465
5465
|
])
|
|
@@ -5700,8 +5700,8 @@ const zs = {
|
|
|
5700
5700
|
}, Gs = { class: "text-body-2 text-center pt-2" };
|
|
5701
5701
|
function Fs(t, e, a, i, o, r) {
|
|
5702
5702
|
var re, pe, G, J, K, oe, Y, H, ee;
|
|
5703
|
-
const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VCardItem"), m = P("VCheckbox"), p = P("VCardText"), f = P("VCard"), w = P("IdmPort"), u = P("IdmTideStations"), h = P("IdmLatLng"), g = P("IdmTerminator"), _ = P("IdmTimezone"), T = P("IdmAlertZone"), v = P("IdmEcaZone"), M = P("IdmWarZone"), L = P("IdmGmdssArea"), z = P("IdmLoadLine"), S = P("IdmWorldMarine"), D = P("IdmVRA"),
|
|
5704
|
-
return k(),
|
|
5703
|
+
const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VCardItem"), m = P("VCheckbox"), p = P("VCardText"), f = P("VCard"), w = P("IdmPort"), u = P("IdmTideStations"), h = P("IdmLatLng"), g = P("IdmTerminator"), _ = P("IdmTimezone"), T = P("IdmAlertZone"), v = P("IdmEcaZone"), M = P("IdmWarZone"), L = P("IdmGmdssArea"), z = P("IdmLoadLine"), S = P("IdmWorldMarine"), D = P("IdmVRA"), I = P("IdmSpecialArea"), E = P("IdmWorld12nm"), X = P("IdmChinaRoute"), O = P("IdmIceAreas"), q = P("IdmFollowPort"), ae = P("IdmFollowPosition");
|
|
5704
|
+
return k(), A("div", Cs, [
|
|
5705
5705
|
n("div", {
|
|
5706
5706
|
class: ge(["menu-bar-box transition px-1 rounded", a.simple ? "simple" : ""]),
|
|
5707
5707
|
style: he({ top: a.top + 10 + "px", right: o.right + "px", paddingTop: a.paddingTop + "px", height: a.menuHeight + "px" })
|
|
@@ -5774,7 +5774,7 @@ function Fs(t, e, a, i, o, r) {
|
|
|
5774
5774
|
b(p, { class: "pb-2" }, {
|
|
5775
5775
|
default: x(() => [
|
|
5776
5776
|
n("div", Ss, [
|
|
5777
|
-
(k(!0),
|
|
5777
|
+
(k(!0), A(Te, null, De(o.mapFeathers, (F) => (k(), A("div", {
|
|
5778
5778
|
key: F.value,
|
|
5779
5779
|
class: "mb-4 feather-item",
|
|
5780
5780
|
onClick: (ne) => r.handleToggleMapFeather(F)
|
|
@@ -5782,12 +5782,12 @@ function Fs(t, e, a, i, o, r) {
|
|
|
5782
5782
|
n("div", {
|
|
5783
5783
|
class: ge([o.mapFeather === F.value ? "active" : "", "img-box"])
|
|
5784
5784
|
}, [
|
|
5785
|
-
F.value === "dark" ? (k(),
|
|
5785
|
+
F.value === "dark" ? (k(), A("img", Rs)) : F.value === "nautical" ? (k(), A("img", Ds)) : F.value === "satellite" ? (k(), A("img", Is)) : (k(), A("img", As))
|
|
5786
5786
|
], 2),
|
|
5787
5787
|
n("div", Gs, y(t.$t(`layer.${F.locale}`)), 1)
|
|
5788
5788
|
], 8, Ts))), 128))
|
|
5789
5789
|
]),
|
|
5790
|
-
(k(!0),
|
|
5790
|
+
(k(!0), A(Te, null, De(o.tagLayers.filter((F) => ["graticule", "day-night", "time-zones"].includes(F.key)), (F) => (k(), W(m, {
|
|
5791
5791
|
key: F.key,
|
|
5792
5792
|
modelValue: o.checkList,
|
|
5793
5793
|
"onUpdate:modelValue": e[0] || (e[0] = (ne) => o.checkList = ne),
|
|
@@ -5823,7 +5823,7 @@ function Fs(t, e, a, i, o, r) {
|
|
|
5823
5823
|
}),
|
|
5824
5824
|
b(p, { class: "py-2 mx-n1" }, {
|
|
5825
5825
|
default: x(() => [
|
|
5826
|
-
(k(!0),
|
|
5826
|
+
(k(!0), A(Te, null, De(o.tagLayers.filter((F) => ["ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (k(), W(m, {
|
|
5827
5827
|
key: F.key,
|
|
5828
5828
|
modelValue: o.checkList,
|
|
5829
5829
|
"onUpdate:modelValue": e[1] || (e[1] = (ne) => o.checkList = ne),
|
|
@@ -5859,7 +5859,7 @@ function Fs(t, e, a, i, o, r) {
|
|
|
5859
5859
|
}),
|
|
5860
5860
|
b(p, { class: "py-2 mx-n1" }, {
|
|
5861
5861
|
default: x(() => [
|
|
5862
|
-
(k(!0),
|
|
5862
|
+
(k(!0), A(Te, null, De(o.tagLayers.filter((F) => !["graticule", "day-night", "time-zones", "ports", "alert-zones", "tidal-stations"].includes(F.key)), (F) => (k(), W(m, {
|
|
5863
5863
|
key: F.key,
|
|
5864
5864
|
modelValue: o.checkList,
|
|
5865
5865
|
"onUpdate:modelValue": e[2] || (e[2] = (ne) => o.checkList = ne),
|
|
@@ -6009,7 +6009,7 @@ function Fs(t, e, a, i, o, r) {
|
|
|
6009
6009
|
map: a.map,
|
|
6010
6010
|
area: (H = o.otherLayers) == null ? void 0 : H["voluntary-reporting-area"]
|
|
6011
6011
|
}, t.$attrs), null, 16, ["map", "area"])) : N("", !0),
|
|
6012
|
-
a.map ? (k(), W(
|
|
6012
|
+
a.map ? (k(), W(I, $({
|
|
6013
6013
|
key: 12,
|
|
6014
6014
|
map: a.map,
|
|
6015
6015
|
area: (ee = o.otherLayers) == null ? void 0 : ee["special-area"]
|
|
@@ -6869,7 +6869,7 @@ const Os = {
|
|
|
6869
6869
|
}, Vs = { key: 0 };
|
|
6870
6870
|
function js(t, e, a, i, o, r) {
|
|
6871
6871
|
var l;
|
|
6872
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
6872
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", Vs, [
|
|
6873
6873
|
n("div", {
|
|
6874
6874
|
class: "legend-bars-gl4 wind",
|
|
6875
6875
|
style: he({ right: o.right + "px" })
|
|
@@ -7211,7 +7211,7 @@ const $s = {
|
|
|
7211
7211
|
}, Js = { key: 0 };
|
|
7212
7212
|
function Ks(t, e, a, i, o, r) {
|
|
7213
7213
|
var l;
|
|
7214
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
7214
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", Js, [
|
|
7215
7215
|
n("div", {
|
|
7216
7216
|
class: "legend-bars-gl4 current",
|
|
7217
7217
|
style: he({ right: o.right + "px" })
|
|
@@ -7339,7 +7339,7 @@ const Qs = {
|
|
|
7339
7339
|
}, ec = { key: 0 };
|
|
7340
7340
|
function tc(t, e, a, i, o, r) {
|
|
7341
7341
|
var l;
|
|
7342
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
7342
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", ec, [
|
|
7343
7343
|
n("div", {
|
|
7344
7344
|
class: "legend-bars-gl4 sig-wave",
|
|
7345
7345
|
style: he({ right: o.right + "px" })
|
|
@@ -7606,7 +7606,7 @@ const lc = {
|
|
|
7606
7606
|
}, nc = { key: 0 };
|
|
7607
7607
|
function sc(t, e, a, i, o, r) {
|
|
7608
7608
|
var l;
|
|
7609
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
7609
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", nc, [
|
|
7610
7610
|
n("div", {
|
|
7611
7611
|
class: "legend-bars-gl4 swell",
|
|
7612
7612
|
style: he({ right: o.right + "px" })
|
|
@@ -7866,7 +7866,7 @@ const pc = {
|
|
|
7866
7866
|
}, uc = { key: 0 };
|
|
7867
7867
|
function gc(t, e, a, i, o, r) {
|
|
7868
7868
|
var l;
|
|
7869
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
7869
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", uc, [
|
|
7870
7870
|
n("div", {
|
|
7871
7871
|
class: "legend-bars-gl4 ice-edge",
|
|
7872
7872
|
style: he({ right: o.right + "px" })
|
|
@@ -7983,7 +7983,7 @@ const yc = {
|
|
|
7983
7983
|
}, bc = { key: 0 };
|
|
7984
7984
|
function wc(t, e, a, i, o, r) {
|
|
7985
7985
|
var l;
|
|
7986
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
7986
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", bc, [
|
|
7987
7987
|
n("div", {
|
|
7988
7988
|
class: "legend-bars-gl4 ice-cover",
|
|
7989
7989
|
style: he({ right: o.right + "px" })
|
|
@@ -8101,7 +8101,7 @@ const vc = {
|
|
|
8101
8101
|
}, kc = { key: 0 };
|
|
8102
8102
|
function _c(t, e, a, i, o, r) {
|
|
8103
8103
|
var l;
|
|
8104
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
8104
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", kc, [
|
|
8105
8105
|
n("div", {
|
|
8106
8106
|
class: "legend-bars-gl4 ice-thickness",
|
|
8107
8107
|
style: he({ right: o.right + "px" })
|
|
@@ -8221,7 +8221,7 @@ const zc = {
|
|
|
8221
8221
|
}, Cc = { key: 0 };
|
|
8222
8222
|
function Mc(t, e, a, i, o, r) {
|
|
8223
8223
|
var l;
|
|
8224
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
8224
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", Cc, [
|
|
8225
8225
|
n("div", {
|
|
8226
8226
|
class: "legend-bars-gl4 precip3h",
|
|
8227
8227
|
style: he({ right: o.right + "px" })
|
|
@@ -8332,7 +8332,7 @@ const Sc = {
|
|
|
8332
8332
|
}, Tc = { key: 0 };
|
|
8333
8333
|
function Rc(t, e, a, i, o, r) {
|
|
8334
8334
|
var l;
|
|
8335
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
8335
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", Tc, [
|
|
8336
8336
|
n("div", {
|
|
8337
8337
|
class: "legend-bars-gl4 visibility",
|
|
8338
8338
|
style: he({ right: o.right + "px" })
|
|
@@ -8444,7 +8444,7 @@ const Ic = {
|
|
|
8444
8444
|
}, Ac = { key: 0 };
|
|
8445
8445
|
function Gc(t, e, a, i, o, r) {
|
|
8446
8446
|
var l;
|
|
8447
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
8447
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", Ac, [
|
|
8448
8448
|
n("div", {
|
|
8449
8449
|
class: "legend-bars-gl4 water-temp",
|
|
8450
8450
|
style: he({ right: o.right + "px" })
|
|
@@ -8567,7 +8567,7 @@ const Nc = {
|
|
|
8567
8567
|
}, Wc = { key: 0 };
|
|
8568
8568
|
function Ec(t, e, a, i, o, r) {
|
|
8569
8569
|
var l;
|
|
8570
|
-
return (l = a.factor) != null && l.active ? (k(),
|
|
8570
|
+
return (l = a.factor) != null && l.active ? (k(), A("div", Wc, [
|
|
8571
8571
|
n("div", {
|
|
8572
8572
|
class: "legend-bars-gl4 temp",
|
|
8573
8573
|
style: he({ right: o.right + "px" })
|
|
@@ -8917,8 +8917,8 @@ const Zc = {
|
|
|
8917
8917
|
);
|
|
8918
8918
|
const L = await Promise.all(M);
|
|
8919
8919
|
this.weatherLayers = {}, L.map((z) => {
|
|
8920
|
-
var
|
|
8921
|
-
const S = ((
|
|
8920
|
+
var I, E, X, O;
|
|
8921
|
+
const S = ((I = z == null ? void 0 : z.data) == null ? void 0 : I.data) || (z == null ? void 0 : z.data);
|
|
8922
8922
|
let D = (X = (E = z == null ? void 0 : z.config) == null ? void 0 : E.headers) == null ? void 0 : X.key;
|
|
8923
8923
|
D && S && (this.weatherLayers[D] = {
|
|
8924
8924
|
raw: S,
|
|
@@ -9018,11 +9018,11 @@ const Zc = {
|
|
|
9018
9018
|
if (L > u && L < h && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
|
|
9019
9019
|
const z = v[L].lng;
|
|
9020
9020
|
f > w ? z.forEach((S, D) => {
|
|
9021
|
-
var
|
|
9021
|
+
var I, E, X, O, q, ae;
|
|
9022
9022
|
if (o < 2) {
|
|
9023
9023
|
if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
|
|
9024
9024
|
const re = B.point([S, L], {
|
|
9025
|
-
val: ((
|
|
9025
|
+
val: ((I = v[L].val) == null ? void 0 : I[D]) || ((E = v[L].dir) == null ? void 0 : E[D]),
|
|
9026
9026
|
spd: (X = v[L].spd) == null ? void 0 : X[D]
|
|
9027
9027
|
});
|
|
9028
9028
|
T.push(re);
|
|
@@ -9035,11 +9035,11 @@ const Zc = {
|
|
|
9035
9035
|
T.push(re);
|
|
9036
9036
|
}
|
|
9037
9037
|
}) : z.forEach((S, D) => {
|
|
9038
|
-
var
|
|
9038
|
+
var I, E, X, O, q, ae;
|
|
9039
9039
|
if (f < 2) {
|
|
9040
9040
|
if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
|
|
9041
9041
|
const re = B.point([S, L], {
|
|
9042
|
-
val: ((
|
|
9042
|
+
val: ((I = v[L].val) == null ? void 0 : I[D]) || ((E = v[L].dir) == null ? void 0 : E[D]),
|
|
9043
9043
|
spd: (X = v[L].spd) == null ? void 0 : X[D]
|
|
9044
9044
|
});
|
|
9045
9045
|
T.push(re);
|
|
@@ -9082,11 +9082,11 @@ const Zc = {
|
|
|
9082
9082
|
if (L > u && L < h && (!(o <= this.zoom) || L % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
|
|
9083
9083
|
const z = v[L].lng;
|
|
9084
9084
|
f > w ? z.forEach((S, D) => {
|
|
9085
|
-
var
|
|
9085
|
+
var I, E, X, O, q, ae;
|
|
9086
9086
|
if (o < 2) {
|
|
9087
9087
|
if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
|
|
9088
9088
|
const re = B.point([S, L], {
|
|
9089
|
-
val: ((
|
|
9089
|
+
val: ((I = v[L].val) == null ? void 0 : I[D]) || ((E = v[L].dir) == null ? void 0 : E[D]),
|
|
9090
9090
|
spd: (X = v[L].spd) == null ? void 0 : X[D]
|
|
9091
9091
|
});
|
|
9092
9092
|
T.push(re);
|
|
@@ -9099,11 +9099,11 @@ const Zc = {
|
|
|
9099
9099
|
T.push(re);
|
|
9100
9100
|
}
|
|
9101
9101
|
}) : z.forEach((S, D) => {
|
|
9102
|
-
var
|
|
9102
|
+
var I, E, X, O, q, ae;
|
|
9103
9103
|
if (f < 2) {
|
|
9104
9104
|
if ((S >= 0 && S <= 360 || S >= -360 && S <= 0) && S % 10 === 0) {
|
|
9105
9105
|
const re = B.point([S, L], {
|
|
9106
|
-
val: ((
|
|
9106
|
+
val: ((I = v[L].val) == null ? void 0 : I[D]) || ((E = v[L].dir) == null ? void 0 : E[D]),
|
|
9107
9107
|
spd: (X = v[L].spd) == null ? void 0 : X[D]
|
|
9108
9108
|
});
|
|
9109
9109
|
T.push(re);
|
|
@@ -9124,9 +9124,9 @@ const Zc = {
|
|
|
9124
9124
|
const z = [];
|
|
9125
9125
|
for (const S in (m = M.raw) == null ? void 0 : m.Polygon) {
|
|
9126
9126
|
const D = M.raw.Polygon[S];
|
|
9127
|
-
for (const
|
|
9127
|
+
for (const I of D)
|
|
9128
9128
|
z.push(
|
|
9129
|
-
B.polygon(
|
|
9129
|
+
B.polygon(I, {
|
|
9130
9130
|
val: Number(S)
|
|
9131
9131
|
})
|
|
9132
9132
|
);
|
|
@@ -9143,11 +9143,11 @@ const Zc = {
|
|
|
9143
9143
|
if (M > u && M < h && (!(o <= this.zoom) || M % (o < 2 ? 10 : o < 4 ? 5 : 3) === 0)) {
|
|
9144
9144
|
const L = v[M].lng;
|
|
9145
9145
|
f > w ? L.forEach((z, S) => {
|
|
9146
|
-
var D,
|
|
9146
|
+
var D, I, E, X;
|
|
9147
9147
|
if (o < 2) {
|
|
9148
9148
|
if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
|
|
9149
9149
|
const O = B.point([z, M], {
|
|
9150
|
-
dir: ((D = v[M].val) == null ? void 0 : D[S]) || ((
|
|
9150
|
+
dir: ((D = v[M].val) == null ? void 0 : D[S]) || ((I = v[M].dir) == null ? void 0 : I[S]),
|
|
9151
9151
|
spd: v[M].spd[S]
|
|
9152
9152
|
});
|
|
9153
9153
|
T.push(O);
|
|
@@ -9160,11 +9160,11 @@ const Zc = {
|
|
|
9160
9160
|
T.push(O);
|
|
9161
9161
|
}
|
|
9162
9162
|
}) : L.forEach((z, S) => {
|
|
9163
|
-
var D,
|
|
9163
|
+
var D, I, E, X;
|
|
9164
9164
|
if (o < 2) {
|
|
9165
9165
|
if ((z >= 0 && z <= 360 || z >= -360 && z <= 0) && z % 10 === 0) {
|
|
9166
9166
|
const O = B.point([z, M], {
|
|
9167
|
-
dir: ((D = v[M].val) == null ? void 0 : D[S]) || ((
|
|
9167
|
+
dir: ((D = v[M].val) == null ? void 0 : D[S]) || ((I = v[M].dir) == null ? void 0 : I[S]),
|
|
9168
9168
|
spd: v[M].spd[S]
|
|
9169
9169
|
});
|
|
9170
9170
|
T.push(O);
|
|
@@ -9296,8 +9296,8 @@ const Zc = {
|
|
|
9296
9296
|
}, om = { class: "text-body-1 py-2" }, im = { class: "text-body-1 font-weight-medium" }, rm = { class: "text-body-2 text-label" }, lm = { class: "text-body-2 text-label" }, nm = { class: "text-body-2 text-label mb-3" }, sm = { class: "text-body-1 font-weight-medium" }, cm = { class: "text-body-2 text-label" }, mm = { class: "text-body-2 text-label" }, dm = { class: "text-body-2 text-label mb-3" }, hm = { class: "text-body-1 py-2" }, pm = { class: "text-body-1 font-weight-medium" }, um = { class: "text-body-2 text-label" }, gm = { class: "text-body-2 text-label" }, fm = { class: "text-body-2 text-label mb-3" }, ym = { class: "text-body-1 font-weight-medium" }, bm = { class: "text-body-2 text-label" }, wm = { class: "text-body-2 text-label" }, xm = { class: "text-body-2 text-label mb-3" }, vm = { class: "text-body-1 py-2" }, km = { class: "text-body-1 font-weight-medium" }, _m = { class: "text-body-2 text-label" }, Lm = { class: "text-body-2 text-label" }, zm = { class: "text-body-2 text-label mb-3" };
|
|
9297
9297
|
function Cm(t, e, a, i, o, r) {
|
|
9298
9298
|
var J, K, oe, Y, H, ee, F, ne, fe, ke, ze, me, be, _e, Re;
|
|
9299
|
-
const l = P("VBtn"), c = P("VTooltip"), s = P("VCol"), d = P("VRow"), m = P("VCardText"), p = P("VDivider"), f = P("VCard"), w = P("VSwitch"), u = P("VBtnToggle"), h = P("VCardTitle"), g = P("VCardItem"), _ = P("VCheckbox"), T = P("VRadio"), v = P("IdmWindBarb"), M = P("IdmSigWaveHeight"), L = P("IdmCurrentDirection"), z = P("IdmPrmsl"), S = P("IdmWindParticle"), D = P("IdmCurrentParticle"),
|
|
9300
|
-
return k(),
|
|
9299
|
+
const l = P("VBtn"), c = P("VTooltip"), s = P("VCol"), d = P("VRow"), m = P("VCardText"), p = P("VDivider"), f = P("VCard"), w = P("VSwitch"), u = P("VBtnToggle"), h = P("VCardTitle"), g = P("VCardItem"), _ = P("VCheckbox"), T = P("VRadio"), v = P("IdmWindBarb"), M = P("IdmSigWaveHeight"), L = P("IdmCurrentDirection"), z = P("IdmPrmsl"), S = P("IdmWindParticle"), D = P("IdmCurrentParticle"), I = P("IdmWave"), E = P("IdmSwell"), X = P("IdmIceEdge"), O = P("IdmIceCover"), q = P("IdmIceThickness"), ae = P("IdmPrecip3h"), re = P("IdmVisibility"), pe = P("IdmWaterTemp"), G = P("IdmTemp");
|
|
9300
|
+
return k(), A("div", Oc, [
|
|
9301
9301
|
n("div", {
|
|
9302
9302
|
class: "menu-bar-box transition pa-1",
|
|
9303
9303
|
style: he({ top: a.top + a.paddingTop + 46 + "px", right: o.right + "px" })
|
|
@@ -9328,7 +9328,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9328
9328
|
_: 1
|
|
9329
9329
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
9330
9330
|
], 4),
|
|
9331
|
-
r.showTipMenu ? (k(),
|
|
9331
|
+
r.showTipMenu ? (k(), A("div", Vc, [
|
|
9332
9332
|
n("div", {
|
|
9333
9333
|
class: ge(["menu-bar-box pa-1 rounded", a.simple ? "simple" : ""]),
|
|
9334
9334
|
style: he({ right: o.right + "px", top: a.simple ? "394px" : "490px" })
|
|
@@ -9374,7 +9374,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9374
9374
|
e[11] || (e[11] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wind Level", -1)),
|
|
9375
9375
|
b(d, { class: "ma-0 ml-n1 text-body-2" }, {
|
|
9376
9376
|
default: x(() => [
|
|
9377
|
-
(k(!0),
|
|
9377
|
+
(k(!0), A(Te, null, De(o.legend.barbs, (Q, de) => (k(), W(s, {
|
|
9378
9378
|
key: Q,
|
|
9379
9379
|
cols: "6",
|
|
9380
9380
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
@@ -9406,14 +9406,14 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9406
9406
|
e[12] || (e[12] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Wave Height", -1)),
|
|
9407
9407
|
b(d, { class: "ma-0" }, {
|
|
9408
9408
|
default: x(() => [
|
|
9409
|
-
(k(!0),
|
|
9409
|
+
(k(!0), A(Te, null, De(o.legend.sigWaveHeight, (Q, de) => (k(), W(s, {
|
|
9410
9410
|
key: de,
|
|
9411
9411
|
cols: "12",
|
|
9412
9412
|
class: "d-flex flex-row justify-start align-center py-1 px-0 ma-0"
|
|
9413
9413
|
}, {
|
|
9414
9414
|
default: x(() => [
|
|
9415
9415
|
n("div", Hc, [
|
|
9416
|
-
de === 0 ? (k(),
|
|
9416
|
+
de === 0 ? (k(), A("div", Yc)) : (k(), A("div", {
|
|
9417
9417
|
key: 1,
|
|
9418
9418
|
style: he({ width: "24px", height: "12px", background: Q.color })
|
|
9419
9419
|
}, null, 4)),
|
|
@@ -9438,7 +9438,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9438
9438
|
e[13] || (e[13] = n("div", { class: "text-body-2 font-weight-600 mb-2" }, "Current", -1)),
|
|
9439
9439
|
b(d, { class: "ma-0 ml-n4" }, {
|
|
9440
9440
|
default: x(() => [
|
|
9441
|
-
(k(!0),
|
|
9441
|
+
(k(!0), A(Te, null, De(o.legend.current, (Q, de) => (k(), W(s, {
|
|
9442
9442
|
key: de,
|
|
9443
9443
|
cols: "12",
|
|
9444
9444
|
class: "d-flex flex-row justify-center align-center py-1 px-0 ma-0"
|
|
@@ -9500,7 +9500,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9500
9500
|
__: [14]
|
|
9501
9501
|
}, 8, ["onClick"])
|
|
9502
9502
|
], 2),
|
|
9503
|
-
a.simple ? (k(),
|
|
9503
|
+
a.simple ? (k(), A("div", em, [
|
|
9504
9504
|
n("div", null, y(t.$t("weather.forecastModel")), 1),
|
|
9505
9505
|
b(u, {
|
|
9506
9506
|
modelValue: o.currentModel,
|
|
@@ -9564,7 +9564,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9564
9564
|
}),
|
|
9565
9565
|
b(m, { class: "py-2 mx-n1" }, {
|
|
9566
9566
|
default: x(() => [
|
|
9567
|
-
(k(!0),
|
|
9567
|
+
(k(!0), A(Te, null, De(o.tagLayers.filter((Q) => Q.overlays), (Q) => (k(), W(_, {
|
|
9568
9568
|
key: Q.key,
|
|
9569
9569
|
modelValue: o.checkList,
|
|
9570
9570
|
"onUpdate:modelValue": e[3] || (e[3] = (de) => o.checkList = de),
|
|
@@ -9601,7 +9601,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9601
9601
|
}),
|
|
9602
9602
|
b(m, { class: "py-2 mx-n1" }, {
|
|
9603
9603
|
default: x(() => [
|
|
9604
|
-
(k(!0),
|
|
9604
|
+
(k(!0), A(Te, null, De(o.tagLayers.filter((Q) => !Q.overlays), (Q) => (k(), A(Te, {
|
|
9605
9605
|
key: Q.key
|
|
9606
9606
|
}, [
|
|
9607
9607
|
b(T, {
|
|
@@ -9617,7 +9617,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9617
9617
|
"hide-details": "",
|
|
9618
9618
|
onClick: (de) => o.renderKey = o.renderKey === Q.key ? "" : Q.key
|
|
9619
9619
|
}, null, 8, ["modelValue", "label", "value", "disabled", "onClick"]),
|
|
9620
|
-
o.renderKey === "wind-particle" && Q.key === "wind-particle" ? (k(),
|
|
9620
|
+
o.renderKey === "wind-particle" && Q.key === "wind-particle" ? (k(), A("div", tm, [
|
|
9621
9621
|
n("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
9622
9622
|
b(w, {
|
|
9623
9623
|
modelValue: o.showWindParticle,
|
|
@@ -9632,7 +9632,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9632
9632
|
"hide-details": ""
|
|
9633
9633
|
}, null, 8, ["modelValue"])
|
|
9634
9634
|
])) : N("", !0),
|
|
9635
|
-
o.renderKey === "current-particle" && Q.key === "current-particle" ? (k(),
|
|
9635
|
+
o.renderKey === "current-particle" && Q.key === "current-particle" ? (k(), A("div", am, [
|
|
9636
9636
|
n("span", null, y(t.$t("weather.particleAnimatiom")), 1),
|
|
9637
9637
|
b(w, {
|
|
9638
9638
|
modelValue: o.showCurrentParticle,
|
|
@@ -9841,7 +9841,7 @@ function Cm(t, e, a, i, o, r) {
|
|
|
9841
9841
|
"menu-toggle": a.menuToggle,
|
|
9842
9842
|
simple: a.simple
|
|
9843
9843
|
}, t.$attrs), null, 16, ["viewport", "factor", "menu-toggle", "simple"])) : N("", !0),
|
|
9844
|
-
a.map ? (k(), W(
|
|
9844
|
+
a.map ? (k(), W(I, $({
|
|
9845
9845
|
key: 7,
|
|
9846
9846
|
viewport: o.viewport,
|
|
9847
9847
|
factor: (F = o.weatherLayers) == null ? void 0 : F["sig-wave"],
|
|
@@ -10255,7 +10255,7 @@ let Ii = class {
|
|
|
10255
10255
|
}), o;
|
|
10256
10256
|
}
|
|
10257
10257
|
static pickHourly(e, a) {
|
|
10258
|
-
var i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D,
|
|
10258
|
+
var i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G, J, K, oe, Y, H, ee, F, ne, fe, ke, ze, me, be, _e, Re, Q, de, He, Ee, Me, Ae;
|
|
10259
10259
|
const le = typeof a == "string" ? R(a) : a, Pe = e == null ? void 0 : e.weather, ue = e == null ? void 0 : e.marine, we = R((o = (i = Pe == null ? void 0 : Pe[0]) == null ? void 0 : i.hourly) == null ? void 0 : o.date).utc(), Ze = we.clone().add((c = (l = (r = Pe == null ? void 0 : Pe[0]) == null ? void 0 : r.hourly) == null ? void 0 : l.time) == null ? void 0 : c.at(0), "h"), Ue = we.clone().add((m = (d = (s = Pe == null ? void 0 : Pe[0]) == null ? void 0 : s.hourly) == null ? void 0 : d.time) == null ? void 0 : m.at(-1), "h"), Ye = [];
|
|
10260
10260
|
if (le.isBetween(Ze, Ue, "millisecond", "[]")) {
|
|
10261
10261
|
const U = le.utc().diff(Ze, "h", !1);
|
|
@@ -10288,7 +10288,7 @@ let Ii = class {
|
|
|
10288
10288
|
code: (S = se == null ? void 0 : se.weather_code) == null ? void 0 : S.at(U),
|
|
10289
10289
|
visibility: this.m2nm((D = se == null ? void 0 : se.visibility) == null ? void 0 : D.at(U)),
|
|
10290
10290
|
wind: {
|
|
10291
|
-
speed: (
|
|
10291
|
+
speed: (I = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : I.at(U),
|
|
10292
10292
|
kts: (E = se == null ? void 0 : se.wind_speed_10m) == null ? void 0 : E.at(U),
|
|
10293
10293
|
degree: (X = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : X.at(U),
|
|
10294
10294
|
bearing: ((O = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : O.at(U)) !== null ? (((q = se == null ? void 0 : se.wind_direction_10m) == null ? void 0 : q.at(U)) + 180) % 360 : null,
|
|
@@ -10368,7 +10368,7 @@ let Ii = class {
|
|
|
10368
10368
|
};
|
|
10369
10369
|
}
|
|
10370
10370
|
static pickDaily(e, a) {
|
|
10371
|
-
var i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D,
|
|
10371
|
+
var i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G, J, K, oe, Y, H, ee, F, ne, fe, ke, ze, me, be;
|
|
10372
10372
|
const _e = typeof a == "string" ? R(a) : a, Re = e == null ? void 0 : e.weather, Q = e == null ? void 0 : e.marine, de = R((r = (o = (i = Re == null ? void 0 : Re[0]) == null ? void 0 : i.daily) == null ? void 0 : o.time) == null ? void 0 : r.at(0)), He = R((s = (c = (l = Re == null ? void 0 : Re[0]) == null ? void 0 : l.daily) == null ? void 0 : c.time) == null ? void 0 : s.at(-1)), Ee = [];
|
|
10373
10373
|
if (_e.isBetween(de, He, "millisecond", "[]")) {
|
|
10374
10374
|
let Me, Ae;
|
|
@@ -10402,7 +10402,7 @@ let Ii = class {
|
|
|
10402
10402
|
},
|
|
10403
10403
|
wind: {
|
|
10404
10404
|
speed: (D = ue.wind_speed_10m_max) == null ? void 0 : D.at(le),
|
|
10405
|
-
kts: (
|
|
10405
|
+
kts: (I = ue.wind_speed_10m_max) == null ? void 0 : I.at(le),
|
|
10406
10406
|
degree: (E = ue.wind_direction_10m_dominant) == null ? void 0 : E.at(le),
|
|
10407
10407
|
gusts: (X = ue.wind_gusts_10m_max) == null ? void 0 : X.at(le),
|
|
10408
10408
|
bearing: ((O = ue.wind_direction_10m_dominant) == null ? void 0 : O.at(le)) !== null ? (((q = ue.wind_direction_10m_dominant) == null ? void 0 : q.at(le)) + 180) % 360 : null
|
|
@@ -11330,7 +11330,7 @@ const Pm = {
|
|
|
11330
11330
|
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((o) => o == null ? void 0 : o.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), (a = this.map) == null || a.off("mousemove", this.hoverLayers, this.handleHover), (i = this.map) == null || i.off("mouseleave", this.hoverLayers, this.handleLeave), this.handleCloseInfoMarker();
|
|
11331
11331
|
},
|
|
11332
11332
|
handleDateChange() {
|
|
11333
|
-
var t, e, a, i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D,
|
|
11333
|
+
var t, e, a, i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G, J;
|
|
11334
11334
|
if ((t = this.interpolateMarkers) == null || t.forEach((K) => K == null ? void 0 : K.remove()), (e = this.interpolateData) != null && e.length && this.tropicals.active) {
|
|
11335
11335
|
const K = R(this.realTime).utc().set({ minute: 0, second: 0, millisecond: 0 }), oe = this.interpolateData.filter((F) => F.properties.date === (K == null ? void 0 : K.format()) && !F.properties.disabled), Y = this.handleComputePolygons(oe), H = B.featureCollection([...oe]);
|
|
11336
11336
|
Y.forEach((F) => {
|
|
@@ -11371,7 +11371,7 @@ const Pm = {
|
|
|
11371
11371
|
F.properties.nameCn = me, F.properties.Name = ((m = (d = F.properties.name) == null ? void 0 : d.trim()) == null ? void 0 : m.replace(/^./, (be) => be.toUpperCase())) || F.properties.nameCn, ee.push(F);
|
|
11372
11372
|
}
|
|
11373
11373
|
let ne = this.Theme.current.value.colors["tropicals-ty"];
|
|
11374
|
-
((f = (p = F.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) < 32 || !((u = (w = F.properties) == null ? void 0 : w.wind) != null && u.kts) ? ne = this.Theme.current.value.colors["tropicals-td"] : ((g = (h = F.properties) == null ? void 0 : h.wind) == null ? void 0 : g.kts) >= 32 && ((T = (_ = F.properties) == null ? void 0 : _.wind) == null ? void 0 : T.kts) < 47 ? ne = this.Theme.current.value.colors["tropicals-ts"] : ((M = (v = F.properties) == null ? void 0 : v.wind) == null ? void 0 : M.kts) >= 47 && ((z = (L = F.properties) == null ? void 0 : L.wind) == null ? void 0 : z.kts) < 63 ? ne = this.Theme.current.value.colors["tropicals-sts"] : ((D = (S = F.properties) == null ? void 0 : S.wind) == null ? void 0 : D.kts) >= 63 && ((E = (
|
|
11374
|
+
((f = (p = F.properties) == null ? void 0 : p.wind) == null ? void 0 : f.kts) < 32 || !((u = (w = F.properties) == null ? void 0 : w.wind) != null && u.kts) ? ne = this.Theme.current.value.colors["tropicals-td"] : ((g = (h = F.properties) == null ? void 0 : h.wind) == null ? void 0 : g.kts) >= 32 && ((T = (_ = F.properties) == null ? void 0 : _.wind) == null ? void 0 : T.kts) < 47 ? ne = this.Theme.current.value.colors["tropicals-ts"] : ((M = (v = F.properties) == null ? void 0 : v.wind) == null ? void 0 : M.kts) >= 47 && ((z = (L = F.properties) == null ? void 0 : L.wind) == null ? void 0 : z.kts) < 63 ? ne = this.Theme.current.value.colors["tropicals-sts"] : ((D = (S = F.properties) == null ? void 0 : S.wind) == null ? void 0 : D.kts) >= 63 && ((E = (I = F.properties) == null ? void 0 : I.wind) == null ? void 0 : E.kts) < 79 ? ne = this.Theme.current.value.colors["tropicals-ty"] : ((O = (X = F.properties) == null ? void 0 : X.wind) == null ? void 0 : O.kts) >= 79 && ((ae = (q = F.properties) == null ? void 0 : q.wind) == null ? void 0 : ae.kts) < 94 ? ne = this.Theme.current.value.colors["tropicals-sty"] : ((pe = (re = F.properties) == null ? void 0 : re.wind) == null ? void 0 : pe.kts) >= 94 ? ne = this.Theme.current.value.colors["tropicals-super-ty"] : ne = this.Theme.current.value.colors["tropicals-ty"];
|
|
11375
11375
|
const fe = `<svg t="1719918955501"
|
|
11376
11376
|
class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" p-id="18382"
|
|
11377
11377
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
@@ -11568,7 +11568,7 @@ const Pm = {
|
|
|
11568
11568
|
}, lh = { class: "text-label pr-1" }, nh = { class: "d-flex justify-start align-center" }, sh = { class: "text-label pr-1" };
|
|
11569
11569
|
function ch(t, e, a, i, o, r) {
|
|
11570
11570
|
const l = P("VBtn"), c = P("VTooltip"), s = P("VCardText"), d = P("VDivider"), m = P("VCardActions"), p = P("VCard"), f = P("v-card-title"), w = P("v-divider");
|
|
11571
|
-
return k(),
|
|
11571
|
+
return k(), A("div", Sm, [
|
|
11572
11572
|
n("div", {
|
|
11573
11573
|
class: "menu-bar-box transition pa-1",
|
|
11574
11574
|
style: he({ top: a.top + a.paddingTop + 86 + "px", right: o.right + "px" })
|
|
@@ -11599,7 +11599,7 @@ function ch(t, e, a, i, o, r) {
|
|
|
11599
11599
|
_: 1
|
|
11600
11600
|
}, 8, ["text", "open-on-focus", "open-on-hover"])
|
|
11601
11601
|
], 4),
|
|
11602
|
-
o.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (k(),
|
|
11602
|
+
o.showTropicalsInfo && !t.$attrs.hideTropicalsLegend ? (k(), A("div", {
|
|
11603
11603
|
key: 0,
|
|
11604
11604
|
ref: "tropicalsInfo",
|
|
11605
11605
|
id: "idm-tropical-gl4-info",
|
|
@@ -11612,11 +11612,11 @@ function ch(t, e, a, i, o, r) {
|
|
|
11612
11612
|
default: x(() => [
|
|
11613
11613
|
b(s, null, {
|
|
11614
11614
|
default: x(() => {
|
|
11615
|
-
var u, h, g, _, T, v, M, L, z, S, D,
|
|
11615
|
+
var u, h, g, _, T, v, M, L, z, S, D, I;
|
|
11616
11616
|
return [
|
|
11617
11617
|
n("div", Tm, [
|
|
11618
11618
|
n("span", Rm, y(a.locale === "en" ? (u = o.activeTropicals) == null ? void 0 : u.Name : ((h = o.activeTropicals) == null ? void 0 : h.nameCn) || ((g = o.activeTropicals) == null ? void 0 : g.Name) || "-"), 1),
|
|
11619
|
-
(T = (_ = o.activeTropicals) == null ? void 0 : _.history) != null && T.levelI18n ? (k(),
|
|
11619
|
+
(T = (_ = o.activeTropicals) == null ? void 0 : _.history) != null && T.levelI18n ? (k(), A("span", Dm, " , " + y(t.$t("tropical." + ((M = (v = o.activeTropicals) == null ? void 0 : v.history) == null ? void 0 : M.levelI18n))), 1)) : N("", !0)
|
|
11620
11620
|
]),
|
|
11621
11621
|
b(l, {
|
|
11622
11622
|
icon: "",
|
|
@@ -11633,7 +11633,7 @@ function ch(t, e, a, i, o, r) {
|
|
|
11633
11633
|
}, 8, ["onClick"]),
|
|
11634
11634
|
n("div", Im, [
|
|
11635
11635
|
n("span", Am, y(t.$t("actions.lastUpdate")) + ": ", 1),
|
|
11636
|
-
n("span", null, y(r.computeTime(((z = (L = o.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : z.updated) || ((
|
|
11636
|
+
n("span", null, y(r.computeTime(((z = (L = o.activeTropicals) == null ? void 0 : L.history) == null ? void 0 : z.updated) || ((I = (D = (S = o.activeTropicals) == null ? void 0 : S.forecasts) == null ? void 0 : D.filter((E) => !E.disabled)[0]) == null ? void 0 : I.date), a.timeZone)), 1)
|
|
11637
11637
|
])
|
|
11638
11638
|
];
|
|
11639
11639
|
}),
|
|
@@ -11668,14 +11668,14 @@ function ch(t, e, a, i, o, r) {
|
|
|
11668
11668
|
n("div", Xm, [
|
|
11669
11669
|
n("label", Hm, y(t.$t("tropical.models")) + " : ", 1),
|
|
11670
11670
|
n("div", Ym, [
|
|
11671
|
-
(k(!0),
|
|
11671
|
+
(k(!0), A(Te, null, De((z = o.activeTropicals) == null ? void 0 : z.forecasts, (S, D) => (k(), W(l, {
|
|
11672
11672
|
key: D,
|
|
11673
11673
|
density: "compact",
|
|
11674
11674
|
variant: S.disabled ? "text" : "flat",
|
|
11675
11675
|
color: S.disabled ? "" : "primary",
|
|
11676
11676
|
"min-width": 30,
|
|
11677
11677
|
class: ge(["model text-none text-body-1 px-1", S.disabled ? "btn-border-1 btn-bg-1" : ""]),
|
|
11678
|
-
onClick: Le((
|
|
11678
|
+
onClick: Le((I) => r.handleForecastToggle(S), ["stop"])
|
|
11679
11679
|
}, {
|
|
11680
11680
|
default: x(() => [
|
|
11681
11681
|
Z(y(S.model), 1)
|
|
@@ -11730,7 +11730,7 @@ function ch(t, e, a, i, o, r) {
|
|
|
11730
11730
|
]),
|
|
11731
11731
|
_: 1
|
|
11732
11732
|
}, 8, ["class", "elevation"]),
|
|
11733
|
-
a.simple ? (k(),
|
|
11733
|
+
a.simple ? (k(), A("div", $m, [
|
|
11734
11734
|
n("div", Jm, [
|
|
11735
11735
|
n("div", Km, [
|
|
11736
11736
|
e[5] || (e[5] = n("div", { class: "icon td" }, null, -1)),
|
|
@@ -11775,7 +11775,7 @@ function ch(t, e, a, i, o, r) {
|
|
|
11775
11775
|
n("div", yd, "50kts " + y(t.$t("tropical.radii")), 1)
|
|
11776
11776
|
])
|
|
11777
11777
|
])
|
|
11778
|
-
])) : (k(),
|
|
11778
|
+
])) : (k(), A("div", bd, [
|
|
11779
11779
|
et(b(p, { elevation: "16" }, {
|
|
11780
11780
|
default: x(() => [
|
|
11781
11781
|
b(s, null, {
|
|
@@ -11857,30 +11857,30 @@ function ch(t, e, a, i, o, r) {
|
|
|
11857
11857
|
b(w),
|
|
11858
11858
|
b(s, { class: "text-body-1" }, {
|
|
11859
11859
|
default: x(() => {
|
|
11860
|
-
var u, h, g, _, T, v, M, L, z, S, D,
|
|
11860
|
+
var u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G;
|
|
11861
11861
|
return [
|
|
11862
11862
|
n("div", Od, [
|
|
11863
|
-
((u = o.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (k(),
|
|
11863
|
+
((u = o.hoverPoint) == null ? void 0 : u.type) === "forecast" ? (k(), A("div", Vd, [
|
|
11864
11864
|
n("label", jd, y(t.$t("tropical.updated")) + " : ", 1),
|
|
11865
11865
|
n("span", null, y(r.computeTzTime((h = o.hoverPoint) == null ? void 0 : h.update, a.timeZone)), 1)
|
|
11866
11866
|
])) : N("", !0),
|
|
11867
|
-
((g = o.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (k(),
|
|
11867
|
+
((g = o.hoverPoint) == null ? void 0 : g.type) === "forecast" ? (k(), A("div", Xd, [
|
|
11868
11868
|
n("label", Hd, y(t.$t("tropical.forecast")) + " : ", 1),
|
|
11869
11869
|
n("span", null, y(r.computeTzTime((_ = o.hoverPoint) == null ? void 0 : _.date, a.timeZone)), 1)
|
|
11870
11870
|
])) : N("", !0),
|
|
11871
|
-
((T = o.hoverPoint) == null ? void 0 : T.type) === "history" ? (k(),
|
|
11871
|
+
((T = o.hoverPoint) == null ? void 0 : T.type) === "history" ? (k(), A("div", Yd, [
|
|
11872
11872
|
n("label", Ud, y(t.$t("tropical.forecast")) + " : ", 1),
|
|
11873
11873
|
n("span", null, y(r.computeTzTime((v = o.hoverPoint) == null ? void 0 : v.date, a.timeZone)), 1)
|
|
11874
11874
|
])) : N("", !0),
|
|
11875
|
-
((M = o.hoverPoint) == null ? void 0 : M.type) === "forecast" ? (k(),
|
|
11875
|
+
((M = o.hoverPoint) == null ? void 0 : M.type) === "forecast" ? (k(), A("div", $d, [
|
|
11876
11876
|
n("label", Jd, y(t.$t("tropical.model")) + " : ", 1),
|
|
11877
11877
|
n("span", null, y(((L = o.hoverPoint) == null ? void 0 : L.model) ?? "-"), 1)
|
|
11878
11878
|
])) : N("", !0),
|
|
11879
|
-
((z = o.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (k(),
|
|
11879
|
+
((z = o.hoverPoint) == null ? void 0 : z.type) === "forecast" ? (k(), A("div", Kd, [
|
|
11880
11880
|
n("label", qd, y(t.$t("weather.wind")) + " : ", 1),
|
|
11881
11881
|
n("span", null, y(((D = JSON.parse((S = o.hoverPoint) == null ? void 0 : S.wind)) == null ? void 0 : D.kts) ?? "-") + " kts", 1)
|
|
11882
11882
|
])) : N("", !0),
|
|
11883
|
-
((
|
|
11883
|
+
((I = o.hoverPoint) == null ? void 0 : I.type) === "history" ? (k(), A("div", Qd, [
|
|
11884
11884
|
n("label", eh, y(t.$t("weather.wind")) + " : ", 1),
|
|
11885
11885
|
n("span", null, y(((E = o.hoverPoint) == null ? void 0 : E.kts) ?? "-") + " kts", 1)
|
|
11886
11886
|
])) : N("", !0),
|
|
@@ -11888,11 +11888,11 @@ function ch(t, e, a, i, o, r) {
|
|
|
11888
11888
|
n("label", ah, y(t.$t("weather.pressure")) + " : ", 1),
|
|
11889
11889
|
n("span", null, y(((X = o.hoverPoint) == null ? void 0 : X.pressure) ?? "-") + " hPa", 1)
|
|
11890
11890
|
]),
|
|
11891
|
-
((O = o.hoverPoint) == null ? void 0 : O.type) === "history" ? (k(),
|
|
11891
|
+
((O = o.hoverPoint) == null ? void 0 : O.type) === "history" ? (k(), A("div", oh, [
|
|
11892
11892
|
n("label", ih, y(t.$t("tropical.moveSpeed")) + " : ", 1),
|
|
11893
11893
|
n("span", null, y(((ae = JSON.parse((q = o.hoverPoint) == null ? void 0 : q.movement)) == null ? void 0 : ae.kts) ?? "-") + " kts", 1)
|
|
11894
11894
|
])) : N("", !0),
|
|
11895
|
-
((re = o.hoverPoint) == null ? void 0 : re.type) === "history" ? (k(),
|
|
11895
|
+
((re = o.hoverPoint) == null ? void 0 : re.type) === "history" ? (k(), A("div", rh, [
|
|
11896
11896
|
n("label", lh, y(t.$t("tropical.moveDir")) + " : ", 1),
|
|
11897
11897
|
n("span", null, y(((G = JSON.parse((pe = o.hoverPoint) == null ? void 0 : pe.movement)) == null ? void 0 : G.deg) ?? "-") + " °", 1)
|
|
11898
11898
|
])) : N("", !0),
|
|
@@ -12110,7 +12110,7 @@ const mh = {
|
|
|
12110
12110
|
};
|
|
12111
12111
|
function gh(t, e, a, i, o, r) {
|
|
12112
12112
|
const l = P("VDatePicker"), c = P("VDivider"), s = P("VListItemTitle"), d = P("VListItem"), m = P("VList"), p = P("VCardText"), f = P("VBtn"), w = P("VCardActions"), u = P("VCard");
|
|
12113
|
-
return k(),
|
|
12113
|
+
return k(), A("div", dh, [
|
|
12114
12114
|
n("div", {
|
|
12115
12115
|
style: he({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
|
|
12116
12116
|
class: ge([[a.bgClass, { "cursor-pointer": !a.disabled }], "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-center px-2"]),
|
|
@@ -12145,7 +12145,7 @@ function gh(t, e, a, i, o, r) {
|
|
|
12145
12145
|
n("div", uh, y(t.$t("time.time")), 1),
|
|
12146
12146
|
b(m, { class: "pa-0 flex-1-1-0 scroll" }, {
|
|
12147
12147
|
default: x(() => [
|
|
12148
|
-
(k(!0),
|
|
12148
|
+
(k(!0), A(Te, null, De(r.hourOptions, (h, g) => (k(), W(d, {
|
|
12149
12149
|
key: g,
|
|
12150
12150
|
value: h,
|
|
12151
12151
|
color: "primary",
|
|
@@ -13261,10 +13261,10 @@ const fh = {
|
|
|
13261
13261
|
}), this.loading = !1;
|
|
13262
13262
|
},
|
|
13263
13263
|
initTableData(t) {
|
|
13264
|
-
var a, i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D,
|
|
13264
|
+
var a, i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G, J, K, oe, Y, H, ee, F, ne, fe;
|
|
13265
13265
|
this.currentHourData = {}, this.positionGmt = (i = (a = t == null ? void 0 : t.weather) == null ? void 0 : a[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (o = t == null ? void 0 : t.weather) == null ? void 0 : o[0]) == null ? void 0 : r.offset;
|
|
13266
13266
|
const e = ((l = Va.pickHourly(t, R(this.form.dateTime))) == null ? void 0 : l[0]) || {};
|
|
13267
|
-
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((g = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : g.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((T = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : T.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((M = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : M.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (S = e == null ? void 0 : e.wave) == null ? void 0 : S.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((E = (
|
|
13267
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = t.lat, this.currentHourData.lng = t.lng, this.currentHourData.temp = this.computeRoundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.computeRoundPrecision((d = (s = e == null ? void 0 : e.weather) == null ? void 0 : s.precip) == null ? void 0 : d.probability, 0) ?? "-", this.currentHourData.precip1h = this.computeRoundPrecision((p = (m = e == null ? void 0 : e.weather) == null ? void 0 : m.precip) == null ? void 0 : p.sum, 0) ?? "-", this.currentHourData.visibility = this.computeRoundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.computeRoundPrecision((u = (w = e == null ? void 0 : e.weather) == null ? void 0 : w.wind) == null ? void 0 : u.kts, 1) ?? "-", this.currentHourData.windDir = ((g = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.wind) == null ? void 0 : g.direction) ?? "-", this.currentHourData.windLevel = this.computeRoundPrecision((T = (_ = e == null ? void 0 : e.weather) == null ? void 0 : _.wind) == null ? void 0 : T.scale, 0) ?? "-", this.currentHourData.windGust = this.computeRoundPrecision((M = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : M.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.computeRoundPrecision((z = (L = e == null ? void 0 : e.wave) == null ? void 0 : L.sig) == null ? void 0 : z.height, 1) ?? "-", this.currentHourData.sigwaveDir = (D = (S = e == null ? void 0 : e.wave) == null ? void 0 : S.sig) == null ? void 0 : D.direction, this.currentHourData.sigwavePeriod = this.computeRoundPrecision((E = (I = e == null ? void 0 : e.wave) == null ? void 0 : I.sig) == null ? void 0 : E.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.computeRoundPrecision((O = (X = e == null ? void 0 : e.wave) == null ? void 0 : X.wd) == null ? void 0 : O.height, 1) ?? "-", this.currentHourData.windwaveDir = (ae = (q = e == null ? void 0 : e.wave) == null ? void 0 : q.wd) == null ? void 0 : ae.direction, this.currentHourData.windwavePeriod = this.computeRoundPrecision((pe = (re = e == null ? void 0 : e.wave) == null ? void 0 : re.wd) == null ? void 0 : pe.period, 1) ?? "-", this.currentHourData.swellHeight = this.computeRoundPrecision((J = (G = e == null ? void 0 : e.wave) == null ? void 0 : G.swell) == null ? void 0 : J.height, 1) ?? "-", this.currentHourData.swellDir = (oe = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.swell) == null ? void 0 : oe.direction, this.currentHourData.swellPeriod = this.computeRoundPrecision((H = (Y = e == null ? void 0 : e.wave) == null ? void 0 : Y.swell) == null ? void 0 : H.period, 1) ?? "-", this.currentHourData.currentSpeed = this.computeRoundPrecision((ee = e == null ? void 0 : e.current) == null ? void 0 : ee.speed, 1) ?? "-", this.currentHourData.currentDir = (F = e == null ? void 0 : e.current) == null ? void 0 : F.direction, this.currentHourData.currentSpeed = this.computeRoundPrecision((ne = e == null ? void 0 : e.current) == null ? void 0 : ne.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 = (fe = e == null ? void 0 : e.weather) == null ? void 0 : fe.url;
|
|
13268
13268
|
},
|
|
13269
13269
|
handleBind() {
|
|
13270
13270
|
var t, e;
|
|
@@ -13374,7 +13374,7 @@ const fh = {
|
|
|
13374
13374
|
}, fp = ["xlink:href"];
|
|
13375
13375
|
function yp(t, e, a, i, o, r) {
|
|
13376
13376
|
const l = P("VBtn"), c = P("VTooltip"), s = P("VCardTitle"), d = P("VDivider"), m = P("VTextField"), p = P("VCol"), f = P("VRow"), w = P("DateTimePicker"), u = P("VBtnToggle"), h = P("VCardText"), g = P("VCardActions"), _ = P("VForm"), T = P("VCard");
|
|
13377
|
-
return k(),
|
|
13377
|
+
return k(), A("div", yh, [
|
|
13378
13378
|
n("div", {
|
|
13379
13379
|
class: "menu-bar-box transition pa-1",
|
|
13380
13380
|
style: he({ top: a.top + a.paddingTop + 126 + "px", right: o.right + "px" })
|
|
@@ -13974,7 +13974,7 @@ function yp(t, e, a, i, o, r) {
|
|
|
13974
13974
|
_: 1
|
|
13975
13975
|
}, 512)) : N("", !0),
|
|
13976
13976
|
et(n("div", up, [
|
|
13977
|
-
(k(),
|
|
13977
|
+
(k(), A("svg", gp, [
|
|
13978
13978
|
n("use", {
|
|
13979
13979
|
"xlink:href": `#icon-spot-${a.theme}`
|
|
13980
13980
|
}, null, 8, fp)
|
|
@@ -14346,7 +14346,7 @@ const wp = {
|
|
|
14346
14346
|
}, xp = { class: "idm-gl4-measure" };
|
|
14347
14347
|
function vp(t, e, a, i, o, r) {
|
|
14348
14348
|
const l = P("VBtn"), c = P("VTooltip");
|
|
14349
|
-
return k(),
|
|
14349
|
+
return k(), A("div", xp, [
|
|
14350
14350
|
n("div", {
|
|
14351
14351
|
class: "menu-bar-box transition pa-1",
|
|
14352
14352
|
style: he({ top: a.top + a.paddingTop + 166 + "px", right: o.right + "px" })
|
|
@@ -15643,7 +15643,7 @@ function Kp(t, e, a, i, o, r) {
|
|
|
15643
15643
|
default: x(() => {
|
|
15644
15644
|
var L, z;
|
|
15645
15645
|
return [
|
|
15646
|
-
(L = a.editLayer) != null && L.id ? N("", !0) : (k(),
|
|
15646
|
+
(L = a.editLayer) != null && L.id ? N("", !0) : (k(), A("div", Vp, [
|
|
15647
15647
|
n("div", jp, [
|
|
15648
15648
|
Z(y(t.$t("marker.areaType")), 1),
|
|
15649
15649
|
e[33] || (e[33] = n("span", { class: "text-danger" }, "*", -1))
|
|
@@ -16124,8 +16124,8 @@ function pu(t, e, a, i, o, r) {
|
|
|
16124
16124
|
}, null, 544)
|
|
16125
16125
|
], 34),
|
|
16126
16126
|
n("div", cu, y(t.$t("marker.uploadLimit")), 1),
|
|
16127
|
-
o.fileError ? (k(),
|
|
16128
|
-
o.form.file ? (k(),
|
|
16127
|
+
o.fileError ? (k(), A("div", mu, y(o.fileError), 1)) : N("", !0),
|
|
16128
|
+
o.form.file ? (k(), A("div", du, [
|
|
16129
16129
|
n("span", hu, [
|
|
16130
16130
|
b(m, {
|
|
16131
16131
|
size: "16",
|
|
@@ -16493,10 +16493,6 @@ const zu = {
|
|
|
16493
16493
|
gateway: {
|
|
16494
16494
|
type: String
|
|
16495
16495
|
},
|
|
16496
|
-
assistGateway: {
|
|
16497
|
-
type: Array,
|
|
16498
|
-
default: []
|
|
16499
|
-
},
|
|
16500
16496
|
top: {
|
|
16501
16497
|
type: Number,
|
|
16502
16498
|
default: 60
|
|
@@ -16863,7 +16859,7 @@ const zu = {
|
|
|
16863
16859
|
function Hu(t, e, a, i, o, r) {
|
|
16864
16860
|
var D;
|
|
16865
16861
|
const l = P("VBtn"), c = P("VTooltip"), s = P("VSwitch"), d = P("v-icon"), m = P("v-text-field"), p = P("v-progress-circular"), f = P("v-chip"), w = P("VListItemTitle"), u = P("VListItem"), h = P("VList"), g = P("v-card"), _ = P("VMenu"), T = P("v-btn"), v = P("v-divider"), M = P("IdmDrawMarker"), L = P("IdmImportMarker"), z = P("IdmGroupDialog"), S = P("DeleteDialog");
|
|
16866
|
-
return k(),
|
|
16862
|
+
return k(), A("div", Cu, [
|
|
16867
16863
|
n("div", {
|
|
16868
16864
|
class: "menu-bar-box transition pa-1",
|
|
16869
16865
|
style: he({ top: a.top + a.paddingTop + 206 + "px", right: o.right + "px" })
|
|
@@ -16876,8 +16872,8 @@ function Hu(t, e, a, i, o, r) {
|
|
|
16876
16872
|
"open-on-focus": !a.simple,
|
|
16877
16873
|
"open-on-hover": !a.simple
|
|
16878
16874
|
}, {
|
|
16879
|
-
activator: x(({ props:
|
|
16880
|
-
b(l, $(
|
|
16875
|
+
activator: x(({ props: I }) => [
|
|
16876
|
+
b(l, $(I, {
|
|
16881
16877
|
"min-width": "32",
|
|
16882
16878
|
width: "32",
|
|
16883
16879
|
height: "32",
|
|
@@ -16904,7 +16900,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
16904
16900
|
n("div", Tu, y(t.$t("marker.markers")), 1),
|
|
16905
16901
|
b(s, {
|
|
16906
16902
|
modelValue: o.autoActive,
|
|
16907
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
16903
|
+
"onUpdate:modelValue": e[0] || (e[0] = (I) => o.autoActive = I),
|
|
16908
16904
|
class: "small-switch",
|
|
16909
16905
|
inset: "",
|
|
16910
16906
|
color: "primary",
|
|
@@ -16941,7 +16937,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
16941
16937
|
n("div", Ru, [
|
|
16942
16938
|
b(m, {
|
|
16943
16939
|
modelValue: o.keyword,
|
|
16944
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
16940
|
+
"onUpdate:modelValue": e[1] || (e[1] = (I) => o.keyword = I),
|
|
16945
16941
|
"clear-icon": "mdi-close",
|
|
16946
16942
|
clearable: "",
|
|
16947
16943
|
density: "compact",
|
|
@@ -16951,14 +16947,14 @@ function Hu(t, e, a, i, o, r) {
|
|
|
16951
16947
|
class: "input-btn-bg-1"
|
|
16952
16948
|
}, {
|
|
16953
16949
|
"prepend-inner": x(() => [
|
|
16954
|
-
(k(),
|
|
16950
|
+
(k(), A("svg", Du, e[9] || (e[9] = [
|
|
16955
16951
|
n("use", { "xlink:href": "#icon-search" }, null, -1)
|
|
16956
16952
|
])))
|
|
16957
16953
|
]),
|
|
16958
16954
|
_: 1
|
|
16959
16955
|
}, 8, ["modelValue"])
|
|
16960
16956
|
]),
|
|
16961
|
-
a.simple ? N("", !0) : (k(),
|
|
16957
|
+
a.simple ? N("", !0) : (k(), A("div", Iu, [
|
|
16962
16958
|
b(l, {
|
|
16963
16959
|
class: "flex-1-1-0 text-none mb-3 text-body-1 font-weight-600",
|
|
16964
16960
|
color: "primary",
|
|
@@ -16967,7 +16963,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
16967
16963
|
height: "32",
|
|
16968
16964
|
"max-height": "32",
|
|
16969
16965
|
"prepend-icon": "mdi-plus",
|
|
16970
|
-
onClick: e[2] || (e[2] = (
|
|
16966
|
+
onClick: e[2] || (e[2] = (I) => r.handleOpenDrawMarkers())
|
|
16971
16967
|
}, {
|
|
16972
16968
|
default: x(() => [
|
|
16973
16969
|
Z(y(t.$t("actions.add")), 1)
|
|
@@ -16991,32 +16987,32 @@ function Hu(t, e, a, i, o, r) {
|
|
|
16991
16987
|
}, 8, ["onClick"])
|
|
16992
16988
|
]))
|
|
16993
16989
|
]),
|
|
16994
|
-
o.loading ? (k(),
|
|
16990
|
+
o.loading ? (k(), A("div", Au, [
|
|
16995
16991
|
b(p, {
|
|
16996
16992
|
color: "primary",
|
|
16997
16993
|
indeterminate: "",
|
|
16998
16994
|
size: "36",
|
|
16999
16995
|
width: "4"
|
|
17000
16996
|
})
|
|
17001
|
-
])) : o.layerGroup.length === 0 ? (k(),
|
|
16997
|
+
])) : o.layerGroup.length === 0 ? (k(), A("div", Gu, [
|
|
17002
16998
|
n("div", Fu, y(t.$t("tips.noData")), 1)
|
|
17003
|
-
])) : (k(),
|
|
17004
|
-
(k(!0),
|
|
16999
|
+
])) : (k(), A("div", Nu, [
|
|
17000
|
+
(k(!0), A(Te, null, De(o.layerGroup, (I, E) => {
|
|
17005
17001
|
var X;
|
|
17006
|
-
return k(),
|
|
17007
|
-
key:
|
|
17008
|
-
class: ge(["btn-bg-1",
|
|
17002
|
+
return k(), A("div", {
|
|
17003
|
+
key: I.name,
|
|
17004
|
+
class: ge(["btn-bg-1", I.index === o.layerGroup.length ? "rounded-b" : I.index === 1 ? "rounded-t" : ""])
|
|
17009
17005
|
}, [
|
|
17010
17006
|
n("div", Wu, [
|
|
17011
17007
|
n("div", Eu, [
|
|
17012
|
-
|
|
17008
|
+
I.show ? (k(), W(d, {
|
|
17013
17009
|
key: 0,
|
|
17014
17010
|
icon: "mdi-chevron-down",
|
|
17015
|
-
onClick: (O) =>
|
|
17011
|
+
onClick: (O) => I.show = !1
|
|
17016
17012
|
}, null, 8, ["onClick"])) : (k(), W(d, {
|
|
17017
17013
|
key: 1,
|
|
17018
17014
|
icon: "mdi-chevron-right",
|
|
17019
|
-
onClick: (O) =>
|
|
17015
|
+
onClick: (O) => I.show = !0
|
|
17020
17016
|
}, null, 8, ["onClick"])),
|
|
17021
17017
|
o.loading ? (k(), W(p, {
|
|
17022
17018
|
key: 3,
|
|
@@ -17031,22 +17027,22 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17031
17027
|
variant: "tonal",
|
|
17032
17028
|
class: "font-weight-600 mr-2",
|
|
17033
17029
|
color: "primary",
|
|
17034
|
-
onClick: (O) =>
|
|
17030
|
+
onClick: (O) => I.show = !I.show
|
|
17035
17031
|
}, {
|
|
17036
17032
|
default: x(() => {
|
|
17037
17033
|
var O;
|
|
17038
17034
|
return [
|
|
17039
|
-
Z(y((O =
|
|
17035
|
+
Z(y((O = I.layers) == null ? void 0 : O.length), 1)
|
|
17040
17036
|
];
|
|
17041
17037
|
}),
|
|
17042
17038
|
_: 2
|
|
17043
17039
|
}, 1032, ["onClick"])),
|
|
17044
17040
|
n("div", {
|
|
17045
17041
|
class: "",
|
|
17046
|
-
onClick: (O) =>
|
|
17047
|
-
}, y(
|
|
17042
|
+
onClick: (O) => I.show = !I.show
|
|
17043
|
+
}, y(I.name), 9, Bu)
|
|
17048
17044
|
]),
|
|
17049
|
-
|
|
17045
|
+
I.name !== "Custom Layers" && !a.simple ? (k(), A("div", Zu, [
|
|
17050
17046
|
b(T, {
|
|
17051
17047
|
icon: "",
|
|
17052
17048
|
density: "compact",
|
|
@@ -17075,7 +17071,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17075
17071
|
default: x(() => [
|
|
17076
17072
|
b(w, {
|
|
17077
17073
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
17078
|
-
onClick: (O) => r.handleOpenDrawMarkers(
|
|
17074
|
+
onClick: (O) => r.handleOpenDrawMarkers(I)
|
|
17079
17075
|
}, {
|
|
17080
17076
|
default: x(() => [
|
|
17081
17077
|
b(d, {
|
|
@@ -17099,7 +17095,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17099
17095
|
default: x(() => [
|
|
17100
17096
|
b(w, {
|
|
17101
17097
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
17102
|
-
onClick: (O) => r.handleEditGroup(
|
|
17098
|
+
onClick: (O) => r.handleEditGroup(I)
|
|
17103
17099
|
}, {
|
|
17104
17100
|
default: x(() => [
|
|
17105
17101
|
b(d, {
|
|
@@ -17123,7 +17119,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17123
17119
|
default: x(() => [
|
|
17124
17120
|
b(w, {
|
|
17125
17121
|
class: "text-body-1 d-flex jusity-center align-center",
|
|
17126
|
-
onClick: (O) => r.handleOpenDelete("group",
|
|
17122
|
+
onClick: (O) => r.handleOpenDelete("group", I)
|
|
17127
17123
|
}, {
|
|
17128
17124
|
default: x(() => [
|
|
17129
17125
|
b(d, {
|
|
@@ -17152,26 +17148,26 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17152
17148
|
}, 1024)
|
|
17153
17149
|
])) : N("", !0)
|
|
17154
17150
|
]),
|
|
17155
|
-
|
|
17156
|
-
(k(!0),
|
|
17151
|
+
I.show ? (k(), A("div", Ou, [
|
|
17152
|
+
(k(!0), A(Te, null, De((X = I.layers) == null ? void 0 : X.filter((O) => {
|
|
17157
17153
|
var q;
|
|
17158
17154
|
return ((q = O.name) == null ? void 0 : q.indexOf(o.keyword)) > -1;
|
|
17159
17155
|
}), (O) => {
|
|
17160
17156
|
var q;
|
|
17161
|
-
return k(),
|
|
17157
|
+
return k(), A("div", {
|
|
17162
17158
|
key: O.id,
|
|
17163
17159
|
class: ge(["layer-item py-3 px-2 mx-2 rounded cursor-pointer d-flex align-center justify-space-between ga-4", ((q = o.currentLayer) == null ? void 0 : q.id) === O.id ? "active" : ""])
|
|
17164
17160
|
}, [
|
|
17165
17161
|
n("div", Vu, [
|
|
17166
17162
|
n("span", ju, y(O == null ? void 0 : O.name), 1)
|
|
17167
17163
|
]),
|
|
17168
|
-
a.simple ? N("", !0) : (k(),
|
|
17164
|
+
a.simple ? N("", !0) : (k(), A("div", Xu, [
|
|
17169
17165
|
b(l, {
|
|
17170
17166
|
class: "",
|
|
17171
17167
|
density: "compact",
|
|
17172
17168
|
icon: "",
|
|
17173
17169
|
variant: "text",
|
|
17174
|
-
onClick: (ae) => r.handleEditLayer(
|
|
17170
|
+
onClick: (ae) => r.handleEditLayer(I, O)
|
|
17175
17171
|
}, {
|
|
17176
17172
|
default: x(() => [
|
|
17177
17173
|
b(d, {
|
|
@@ -17230,17 +17226,17 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17230
17226
|
defaultMeteoToken: a.defaultMeteoToken,
|
|
17231
17227
|
layerGroup: o.layerGroup,
|
|
17232
17228
|
group: o.currentGroup,
|
|
17233
|
-
onClose: e[3] || (e[3] = (
|
|
17229
|
+
onClose: e[3] || (e[3] = (I) => (o.importDialog = !1, o.currentGroup = void 0)),
|
|
17234
17230
|
onImport: r.handleImportLayer
|
|
17235
17231
|
}, null, 8, ["map", "gateway", "token", "defaultMeteoToken", "layerGroup", "group", "onImport"])) : N("", !0),
|
|
17236
17232
|
b(z, {
|
|
17237
17233
|
modelValue: o.groupDialog,
|
|
17238
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
17234
|
+
"onUpdate:modelValue": e[4] || (e[4] = (I) => o.groupDialog = I),
|
|
17239
17235
|
group: o.currentGroup,
|
|
17240
17236
|
gateway: a.gateway,
|
|
17241
17237
|
token: a.token,
|
|
17242
17238
|
defaultMeteoToken: a.defaultMeteoToken,
|
|
17243
|
-
onClose: e[5] || (e[5] = (
|
|
17239
|
+
onClose: e[5] || (e[5] = (I) => (o.groupDialog = !1, o.currentGroup = void 0)),
|
|
17244
17240
|
onSaved: r.fetchAllLayers
|
|
17245
17241
|
}, null, 8, ["modelValue", "group", "gateway", "token", "defaultMeteoToken", "onSaved"]),
|
|
17246
17242
|
b(S, {
|
|
@@ -17248,7 +17244,7 @@ function Hu(t, e, a, i, o, r) {
|
|
|
17248
17244
|
title: t.$t("actions.delete"),
|
|
17249
17245
|
tips: t.$t("tips.deleteText"),
|
|
17250
17246
|
loading: o.deleteLoading,
|
|
17251
|
-
onDelete: e[6] || (e[6] = (
|
|
17247
|
+
onDelete: e[6] || (e[6] = (I) => r.confirmDelete())
|
|
17252
17248
|
}, null, 8, ["title", "tips", "loading"])
|
|
17253
17249
|
]);
|
|
17254
17250
|
}
|
|
@@ -17973,7 +17969,7 @@ async function dr(t, e, a, i) {
|
|
|
17973
17969
|
}
|
|
17974
17970
|
}
|
|
17975
17971
|
async function Dg({ required: t, usedCodepoints: e, exclude: a = void 0, localFonts: i = [], useProxy: o = "" } = {}) {
|
|
17976
|
-
var h, g, _, T, v, M, L, z, S, D,
|
|
17972
|
+
var h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe;
|
|
17977
17973
|
t instanceof Set || (t = /* @__PURE__ */ new Set()), e instanceof Set || (e = /* @__PURE__ */ new Set());
|
|
17978
17974
|
let r = /* @__PURE__ */ new Map();
|
|
17979
17975
|
for (let G of t) {
|
|
@@ -18097,7 +18093,7 @@ async function Dg({ required: t, usedCodepoints: e, exclude: a = void 0, localFo
|
|
|
18097
18093
|
try {
|
|
18098
18094
|
let oe = await Je(G._snapdomSrc, { as: "dataURL", useProxy: o, silent: !0 });
|
|
18099
18095
|
if (oe.ok && typeof oe.data == "string")
|
|
18100
|
-
K = oe.data, (
|
|
18096
|
+
K = oe.data, (I = V.resource) == null || I.set(G._snapdomSrc, K), (E = V.font) == null || E.add(G._snapdomSrc);
|
|
18101
18097
|
else
|
|
18102
18098
|
continue;
|
|
18103
18099
|
} catch {
|
|
@@ -18928,23 +18924,23 @@ async function Ja(t, e, a) {
|
|
|
18928
18924
|
l.style.width = `${h.width}px`, l.style.height = `${h.height}px`;
|
|
18929
18925
|
}
|
|
18930
18926
|
if (t instanceof HTMLInputElement && (l.value = t.value, l.setAttribute("value", t.value), t.checked !== void 0 && (l.checked = t.checked, t.checked && l.setAttribute("checked", ""), t.indeterminate && (l.indeterminate = t.indeterminate))), t instanceof HTMLSelectElement && (o = t.value), t instanceof HTMLTextAreaElement && (r = t.value), st(t, l, e, a), t.shadowRoot) {
|
|
18931
|
-
let h = function(D,
|
|
18927
|
+
let h = function(D, I) {
|
|
18932
18928
|
if (D.nodeType === Node.ELEMENT_NODE && D.tagName === "STYLE")
|
|
18933
|
-
return
|
|
18929
|
+
return I(null);
|
|
18934
18930
|
Ja(D, e, a).then((E) => {
|
|
18935
|
-
|
|
18931
|
+
I(E || null);
|
|
18936
18932
|
}).catch(() => {
|
|
18937
|
-
|
|
18933
|
+
I(null);
|
|
18938
18934
|
});
|
|
18939
18935
|
};
|
|
18940
18936
|
try {
|
|
18941
18937
|
let D = t.shadowRoot.querySelectorAll("slot");
|
|
18942
|
-
for (let
|
|
18938
|
+
for (let I of D) {
|
|
18943
18939
|
let E = [];
|
|
18944
18940
|
try {
|
|
18945
|
-
E = ((p =
|
|
18941
|
+
E = ((p = I.assignedNodes) == null ? void 0 : p.call(I, { flatten: !0 })) || ((f = I.assignedNodes) == null ? void 0 : f.call(I)) || [];
|
|
18946
18942
|
} catch {
|
|
18947
|
-
E = ((w =
|
|
18943
|
+
E = ((w = I.assignedNodes) == null ? void 0 : w.call(I)) || [];
|
|
18948
18944
|
}
|
|
18949
18945
|
for (let X of E)
|
|
18950
18946
|
i.add(X);
|
|
@@ -19058,8 +19054,8 @@ function x0(t) {
|
|
|
19058
19054
|
continue;
|
|
19059
19055
|
let D = w.get(z);
|
|
19060
19056
|
if (D && D.length) {
|
|
19061
|
-
let
|
|
19062
|
-
|
|
19057
|
+
let I = D.slice();
|
|
19058
|
+
I.push(S), h.set(z, I);
|
|
19063
19059
|
} else
|
|
19064
19060
|
h.set(z, [S]);
|
|
19065
19061
|
}
|
|
@@ -19080,8 +19076,8 @@ function x0(t) {
|
|
|
19080
19076
|
if (getComputedStyle(u).display === "list-item" && r(u)) {
|
|
19081
19077
|
let M = u.parentElement, L = 1;
|
|
19082
19078
|
if (M && M.tagName === "OL") {
|
|
19083
|
-
let S = M.getAttribute("start"), D = Number.isFinite(Number(S)) ? Number(S) : 1,
|
|
19084
|
-
L = Number.isFinite(Number(E)) ? Number(E) : D +
|
|
19079
|
+
let S = M.getAttribute("start"), D = Number.isFinite(Number(S)) ? Number(S) : 1, I = l(u), E = u.getAttribute("value");
|
|
19080
|
+
L = Number.isFinite(Number(E)) ? Number(E) : D + I;
|
|
19085
19081
|
} else
|
|
19086
19082
|
L = 1 + l(u);
|
|
19087
19083
|
let z = h.get("list-item") || [];
|
|
@@ -19344,7 +19340,7 @@ async function fr(t, e, a, i) {
|
|
|
19344
19340
|
e.replaceChild(me, H), e.insertBefore(fe, me);
|
|
19345
19341
|
continue;
|
|
19346
19342
|
}
|
|
19347
|
-
let u = w.content ?? "", h = u === "" || u === "none" || u === "normal", { text: g, incs: _ } = z0(t, f, l), T = w.backgroundImage, v = w.backgroundColor, M = w.fontFamily, L = parseInt(w.fontSize) || 32, z = parseInt(w.fontWeight) || !1, S = w.color || "#000", D = w.borderStyle,
|
|
19343
|
+
let u = w.content ?? "", h = u === "" || u === "none" || u === "normal", { text: g, incs: _ } = z0(t, f, l), T = w.backgroundImage, v = w.backgroundColor, M = w.fontFamily, L = parseInt(w.fontSize) || 32, z = parseInt(w.fontWeight) || !1, S = w.color || "#000", D = w.borderStyle, I = parseFloat(w.borderWidth), E = w.transform, X = Ke(M), O = !h && g !== "", q = T && T !== "none", ae = v && v !== "transparent" && v !== "rgba(0, 0, 0, 0)", re = D && D !== "none" && I > 0, pe = E && E !== "none";
|
|
19348
19344
|
if (!(O || q || ae || re || pe)) {
|
|
19349
19345
|
if (_ && _.length && t.parentElement) {
|
|
19350
19346
|
let Y = ct.get(t.parentElement) || /* @__PURE__ */ new Map();
|
|
@@ -19425,8 +19421,8 @@ function C0(t, e) {
|
|
|
19425
19421
|
let D = z.attributes;
|
|
19426
19422
|
if (!D)
|
|
19427
19423
|
return null;
|
|
19428
|
-
for (let
|
|
19429
|
-
let E = D[
|
|
19424
|
+
for (let I = 0; I < D.length; I++) {
|
|
19425
|
+
let E = D[I];
|
|
19430
19426
|
if (!E || !E.name)
|
|
19431
19427
|
continue;
|
|
19432
19428
|
if (E.name === "href")
|
|
@@ -19443,13 +19439,13 @@ function C0(t, e) {
|
|
|
19443
19439
|
let D;
|
|
19444
19440
|
for (; D = r.exec(z); ) {
|
|
19445
19441
|
f = !0;
|
|
19446
|
-
let
|
|
19447
|
-
|
|
19442
|
+
let I = (D[1] || "").trim();
|
|
19443
|
+
I && (m.has(I) || (p.add(I), S && !S.has(I) && S.add(I)));
|
|
19448
19444
|
}
|
|
19449
19445
|
}, u = (z) => {
|
|
19450
19446
|
let S = z.querySelectorAll("use");
|
|
19451
|
-
for (let
|
|
19452
|
-
let E = d(
|
|
19447
|
+
for (let I of S) {
|
|
19448
|
+
let E = d(I);
|
|
19453
19449
|
if (!E || !E.startsWith("#"))
|
|
19454
19450
|
continue;
|
|
19455
19451
|
f = !0;
|
|
@@ -19457,10 +19453,10 @@ function C0(t, e) {
|
|
|
19457
19453
|
X && !m.has(X) && p.add(X);
|
|
19458
19454
|
}
|
|
19459
19455
|
let D = z.querySelectorAll('*[style*="url("],*[fill^="url("], *[stroke^="url("],*[filter^="url("],*[clip-path^="url("],*[mask^="url("],*[marker^="url("],*[marker-start^="url("],*[marker-mid^="url("],*[marker-end^="url("]');
|
|
19460
|
-
for (let
|
|
19461
|
-
w(
|
|
19456
|
+
for (let I of D) {
|
|
19457
|
+
w(I.getAttribute("style") || "");
|
|
19462
19458
|
for (let E of l)
|
|
19463
|
-
w(
|
|
19459
|
+
w(I.getAttribute(E));
|
|
19464
19460
|
}
|
|
19465
19461
|
};
|
|
19466
19462
|
for (let z of o)
|
|
@@ -19472,8 +19468,8 @@ function C0(t, e) {
|
|
|
19472
19468
|
let g = h.querySelector("defs") || null, _ = (z) => {
|
|
19473
19469
|
if (!z || m.has(z))
|
|
19474
19470
|
return null;
|
|
19475
|
-
let S = c(z), D = (
|
|
19476
|
-
let E = i.querySelector(
|
|
19471
|
+
let S = c(z), D = (I) => {
|
|
19472
|
+
let E = i.querySelector(I);
|
|
19477
19473
|
return E && !t.contains(E) ? E : null;
|
|
19478
19474
|
};
|
|
19479
19475
|
return D(`svg defs > *#${S}`) || D(`svg > symbol#${S}`) || D(`*#${S}`);
|
|
@@ -19493,8 +19489,8 @@ function C0(t, e) {
|
|
|
19493
19489
|
g || (g = a.createElementNS("http://www.w3.org/2000/svg", "defs"), h.appendChild(g));
|
|
19494
19490
|
let D = S.cloneNode(!0);
|
|
19495
19491
|
D.id || D.setAttribute("id", z), g.appendChild(D), v.add(z), m.add(z);
|
|
19496
|
-
let
|
|
19497
|
-
for (let E of
|
|
19492
|
+
let I = [D, ...D.querySelectorAll("*")];
|
|
19493
|
+
for (let E of I) {
|
|
19498
19494
|
let X = d(E);
|
|
19499
19495
|
if (X && X.startsWith("#")) {
|
|
19500
19496
|
let q = X.slice(1).trim();
|
|
@@ -20067,8 +20063,8 @@ async function br(t, e) {
|
|
|
20067
20063
|
let D = (U, xe = NaN) => {
|
|
20068
20064
|
let Ge = typeof U == "string" ? parseFloat(U) : U;
|
|
20069
20065
|
return Number.isFinite(Ge) ? Ge : xe;
|
|
20070
|
-
},
|
|
20071
|
-
q && ae ? (X = Math.max(1, ce(
|
|
20066
|
+
}, I = D(r.options.width), E = D(r.options.height), X = z, O = S, q = Number.isFinite(I), ae = Number.isFinite(E), re = S > 0 ? z / S : 1;
|
|
20067
|
+
q && ae ? (X = Math.max(1, ce(I)), O = Math.max(1, ce(E))) : q ? (X = Math.max(1, ce(I)), O = Math.max(1, ce(X / (re || 1)))) : ae ? (O = Math.max(1, ce(E)), X = Math.max(1, ce(O * (re || 1)))) : (X = z, O = S);
|
|
20072
20068
|
let pe = 0, G = 0, J = z, K = S;
|
|
20073
20069
|
if (!i && w && Number.isFinite(w.a)) {
|
|
20074
20070
|
let U = { a: w.a, b: w.b || 0, c: w.c || 0, d: w.d || 1, e: 0, f: 0 }, xe = Qi(z, S, U, 0, 0);
|
|
@@ -20131,52 +20127,52 @@ Se.capture = async (t, e, a) => {
|
|
|
20131
20127
|
if (a !== wr)
|
|
20132
20128
|
throw new Error("[snapdom.capture] is internal. Use snapdom(...) instead.");
|
|
20133
20129
|
let i = await br(t, e), o = { img: async (u, h) => {
|
|
20134
|
-
let { toImg: g } = await import("./toImg-
|
|
20130
|
+
let { toImg: g } = await import("./toImg-d5901264.js");
|
|
20135
20131
|
return g(i, { ...u, ...h || {} });
|
|
20136
20132
|
}, svg: async (u, h) => {
|
|
20137
|
-
let { toSvg: g } = await import("./toImg-
|
|
20133
|
+
let { toSvg: g } = await import("./toImg-d5901264.js");
|
|
20138
20134
|
return g(i, { ...u, ...h || {} });
|
|
20139
20135
|
}, canvas: async (u, h) => {
|
|
20140
|
-
let { toCanvas: g } = await import("./toCanvas-
|
|
20136
|
+
let { toCanvas: g } = await import("./toCanvas-a5d0e64a.js");
|
|
20141
20137
|
return g(i, { ...u, ...h || {} });
|
|
20142
20138
|
}, blob: async (u, h) => {
|
|
20143
|
-
let { toBlob: g } = await import("./toBlob-
|
|
20139
|
+
let { toBlob: g } = await import("./toBlob-53f73110.js");
|
|
20144
20140
|
return g(i, { ...u, ...h || {} });
|
|
20145
20141
|
}, png: async (u, h) => {
|
|
20146
|
-
let { rasterize: g } = await import("./rasterize-JS5G2XHH-
|
|
20142
|
+
let { rasterize: g } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20147
20143
|
return g(i, { ...u, ...h || {}, format: "png" });
|
|
20148
20144
|
}, jpeg: async (u, h) => {
|
|
20149
|
-
let { rasterize: g } = await import("./rasterize-JS5G2XHH-
|
|
20145
|
+
let { rasterize: g } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20150
20146
|
return g(i, { ...u, ...h || {}, format: "jpeg" });
|
|
20151
20147
|
}, webp: async (u, h) => {
|
|
20152
|
-
let { rasterize: g } = await import("./rasterize-JS5G2XHH-
|
|
20148
|
+
let { rasterize: g } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20153
20149
|
return g(i, { ...u, ...h || {}, format: "webp" });
|
|
20154
20150
|
}, download: async (u, h) => {
|
|
20155
|
-
let { download: g } = await import("./download-
|
|
20151
|
+
let { download: g } = await import("./download-e42962ac.js");
|
|
20156
20152
|
return g(i, { ...u, ...h || {} });
|
|
20157
20153
|
} }, r = { ...e, export: { url: i }, exports: { svg: async (u) => {
|
|
20158
|
-
let { toSvg: h } = await import("./toImg-
|
|
20154
|
+
let { toSvg: h } = await import("./toImg-d5901264.js");
|
|
20159
20155
|
return h(i, { ...e, ...u || {}, [qe]: !0 });
|
|
20160
20156
|
}, canvas: async (u) => {
|
|
20161
|
-
let { toCanvas: h } = await import("./toCanvas-
|
|
20157
|
+
let { toCanvas: h } = await import("./toCanvas-a5d0e64a.js");
|
|
20162
20158
|
return h(i, { ...e, ...u || {}, [qe]: !0 });
|
|
20163
20159
|
}, png: async (u) => {
|
|
20164
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
20160
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20165
20161
|
return h(i, { ...e, ...u || {}, format: "png", [qe]: !0 });
|
|
20166
20162
|
}, jpeg: async (u) => {
|
|
20167
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
20163
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20168
20164
|
return h(i, { ...e, ...u || {}, format: "jpeg", [qe]: !0 });
|
|
20169
20165
|
}, jpg: async (u) => {
|
|
20170
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
20166
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20171
20167
|
return h(i, { ...e, ...u || {}, format: "jpeg", [qe]: !0 });
|
|
20172
20168
|
}, webp: async (u) => {
|
|
20173
|
-
let { rasterize: h } = await import("./rasterize-JS5G2XHH-
|
|
20169
|
+
let { rasterize: h } = await import("./rasterize-JS5G2XHH-c3acee00.js");
|
|
20174
20170
|
return h(i, { ...e, ...u || {}, format: "webp", [qe]: !0 });
|
|
20175
20171
|
}, blob: async (u) => {
|
|
20176
|
-
let { toBlob: h } = await import("./toBlob-
|
|
20172
|
+
let { toBlob: h } = await import("./toBlob-53f73110.js");
|
|
20177
20173
|
return h(i, { ...e, ...u || {}, [qe]: !0 });
|
|
20178
20174
|
}, img: async (u) => {
|
|
20179
|
-
let { toImg: h } = await import("./toImg-
|
|
20175
|
+
let { toImg: h } = await import("./toImg-d5901264.js");
|
|
20180
20176
|
return h(i, { ...e, ...u || {}, [qe]: !0 });
|
|
20181
20177
|
} } }, l = await Wg("defineExports", r), c = Object.assign({}, ...l.filter((u) => u && typeof u == "object")), s = { ...o, ...c };
|
|
20182
20178
|
s.jpeg && !s.jpg && (s.jpg = (u, h) => s.jpeg(u, h));
|
|
@@ -20456,7 +20452,7 @@ const ff = {
|
|
|
20456
20452
|
default: ""
|
|
20457
20453
|
}
|
|
20458
20454
|
},
|
|
20459
|
-
emits: ["closeRecord", "preview"],
|
|
20455
|
+
emits: ["closeRecord", "preview", "frameCount"],
|
|
20460
20456
|
data() {
|
|
20461
20457
|
return {
|
|
20462
20458
|
recorder: null,
|
|
@@ -20489,8 +20485,9 @@ const ff = {
|
|
|
20489
20485
|
}
|
|
20490
20486
|
},
|
|
20491
20487
|
watch: {
|
|
20492
|
-
|
|
20488
|
+
frameCount: {
|
|
20493
20489
|
handler(t) {
|
|
20490
|
+
t && this.$emit("frameCount", this.frameCount);
|
|
20494
20491
|
}
|
|
20495
20492
|
},
|
|
20496
20493
|
enabled: {
|
|
@@ -20595,22 +20592,22 @@ const ff = {
|
|
|
20595
20592
|
}, zf = { class: "text-body-2" };
|
|
20596
20593
|
function Cf(t, e, a, i, o, r) {
|
|
20597
20594
|
const l = P("VBtn");
|
|
20598
|
-
return k(),
|
|
20599
|
-
o.actionStatus > 0 && o.actionStatus < 4 ? (k(),
|
|
20595
|
+
return k(), A("div", yf, [
|
|
20596
|
+
o.actionStatus > 0 && o.actionStatus < 4 ? (k(), A("div", {
|
|
20600
20597
|
key: 0,
|
|
20601
20598
|
class: "capture-selector",
|
|
20602
20599
|
onMousedown: e[2] || (e[2] = (...c) => r.handleMouseDown && r.handleMouseDown(...c)),
|
|
20603
20600
|
onMousemove: e[3] || (e[3] = (...c) => r.handleMouseMove && r.handleMouseMove(...c)),
|
|
20604
20601
|
onMouseup: e[4] || (e[4] = (...c) => r.handleMouseUp && r.handleMouseUp(...c))
|
|
20605
20602
|
}, [
|
|
20606
|
-
o.actionStatus === 1 ? (k(),
|
|
20607
|
-
o.actionStatus >= 2 ? (k(),
|
|
20603
|
+
o.actionStatus === 1 ? (k(), A("div", bf, y(t.$t("tips.crossHairText")), 1)) : N("", !0),
|
|
20604
|
+
o.actionStatus >= 2 ? (k(), A("div", {
|
|
20608
20605
|
key: 1,
|
|
20609
20606
|
class: "selection-box",
|
|
20610
20607
|
style: he(r.selectionStyle)
|
|
20611
20608
|
}, [
|
|
20612
20609
|
n("div", wf, y(Math.round(o.selection.width)) + " × " + y(Math.round(o.selection.height)), 1),
|
|
20613
|
-
o.actionStatus === 3 ? (k(),
|
|
20610
|
+
o.actionStatus === 3 ? (k(), A("div", {
|
|
20614
20611
|
key: 0,
|
|
20615
20612
|
class: "action-buttons px-2 rounded font-weight-bold bg-background d-flex justify-end ga-4",
|
|
20616
20613
|
onMousedown: e[0] || (e[0] = Le(() => {
|
|
@@ -20635,7 +20632,7 @@ function Cf(t, e, a, i, o, r) {
|
|
|
20635
20632
|
], 32)) : N("", !0)
|
|
20636
20633
|
], 4)) : N("", !0)
|
|
20637
20634
|
], 32)) : N("", !0),
|
|
20638
|
-
o.actionStatus >= 4 && o.actionStatus <= 6 ? (k(),
|
|
20635
|
+
o.actionStatus >= 4 && o.actionStatus <= 6 ? (k(), A("div", {
|
|
20639
20636
|
key: 1,
|
|
20640
20637
|
class: ge(["capture-frame", { recording: o.actionStatus === 5 }]),
|
|
20641
20638
|
style: he(r.selectionStyle)
|
|
@@ -20650,11 +20647,11 @@ function Cf(t, e, a, i, o, r) {
|
|
|
20650
20647
|
onMouseup: e[6] || (e[6] = Le(() => {
|
|
20651
20648
|
}, ["stop"]))
|
|
20652
20649
|
}, [
|
|
20653
|
-
o.actionStatus === 4 ? (k(),
|
|
20650
|
+
o.actionStatus === 4 ? (k(), A("div", kf, [
|
|
20654
20651
|
e[7] || (e[7] = n("div", { class: "dot bg-danger" }, null, -1)),
|
|
20655
20652
|
n("div", _f, y(t.$t("tips.recordingText")), 1)
|
|
20656
20653
|
])) : N("", !0),
|
|
20657
|
-
o.actionStatus === 5 || o.actionStatus === 6 ? (k(),
|
|
20654
|
+
o.actionStatus === 5 || o.actionStatus === 6 ? (k(), A("div", Lf, [
|
|
20658
20655
|
e[8] || (e[8] = n("div", { class: "dot bg-success" }, null, -1)),
|
|
20659
20656
|
n("div", zf, y(t.$t("tips.savingText")), 1)
|
|
20660
20657
|
])) : N("", !0)
|
|
@@ -20662,7 +20659,7 @@ function Cf(t, e, a, i, o, r) {
|
|
|
20662
20659
|
], 6)) : N("", !0)
|
|
20663
20660
|
]);
|
|
20664
20661
|
}
|
|
20665
|
-
const Mf = /* @__PURE__ */ ie(ff, [["render", Cf], ["__scopeId", "data-v-
|
|
20662
|
+
const Mf = /* @__PURE__ */ ie(ff, [["render", Cf], ["__scopeId", "data-v-a4f4a27b"]]);
|
|
20666
20663
|
const Pf = {
|
|
20667
20664
|
name: "IdmBottomBar",
|
|
20668
20665
|
components: { DateTimePicker: eo, IdmCapture: Mf },
|
|
@@ -20705,7 +20702,8 @@ const Pf = {
|
|
|
20705
20702
|
timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : R().utcOffset() / 60,
|
|
20706
20703
|
offsets: [-12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
|
|
20707
20704
|
source: localStorage.getItem("forecastModelCacheGL4") === "undefined" ? "ECMWF" : localStorage.getItem("forecastModelCacheGL4"),
|
|
20708
|
-
gifEnabled: !1
|
|
20705
|
+
gifEnabled: !1,
|
|
20706
|
+
frameCount: 0
|
|
20709
20707
|
};
|
|
20710
20708
|
},
|
|
20711
20709
|
watch: {
|
|
@@ -20796,19 +20794,13 @@ const Pf = {
|
|
|
20796
20794
|
this.$parent.$refs.idmWeatherLayers.handleMenuToggle();
|
|
20797
20795
|
}
|
|
20798
20796
|
}
|
|
20799
|
-
}, Sf = { class: "idm-bottom-bar-gl4" }, Tf = { class: "date-box d-flex ga-2 mr-2" }, Rf = { class: "play-btns-box d-flex justify-center align-center cursor-pointer ga-1" }, Df = {
|
|
20800
|
-
key: 0,
|
|
20801
|
-
class: "iconfont icon-record"
|
|
20802
|
-
}, If = {
|
|
20803
|
-
key: 1,
|
|
20804
|
-
class: "iconfont icon-stop-record text-danger"
|
|
20805
|
-
}, Af = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, Gf = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Ff = {
|
|
20797
|
+
}, Sf = { class: "idm-bottom-bar-gl4" }, Tf = { class: "date-box d-flex ga-2 mr-2" }, Rf = { class: "play-btns-box d-flex justify-center align-center cursor-pointer ga-1" }, Df = { class: "fast-weathers-box d-flex justify-center align-center ga-2 cursor-pointer" }, If = { class: "model-box d-flex justify-center align-center ga-2 my-2" }, Af = {
|
|
20806
20798
|
key: 0,
|
|
20807
20799
|
class: "list d-flex flex-wrap pa-2 rounded ga-2"
|
|
20808
|
-
},
|
|
20809
|
-
function
|
|
20800
|
+
}, Gf = ["onClick"], Ff = { class: "btn-box d-flex justify-start align-center rounded ga-2 py-1 px-3" }, Nf = { class: "text-body-1" };
|
|
20801
|
+
function Wf(t, e, a, i, o, r) {
|
|
20810
20802
|
const l = P("IdmCapture"), c = P("DateTimePicker"), s = P("VListItemTitle"), d = P("VListItem"), m = P("VList"), p = P("VMenu"), f = P("VBtn"), w = P("VDivider"), u = P("VTooltip");
|
|
20811
|
-
return k(),
|
|
20803
|
+
return k(), A("div", Sf, [
|
|
20812
20804
|
b(l, $({
|
|
20813
20805
|
ref: "capture",
|
|
20814
20806
|
isPlaying: !o.paused,
|
|
@@ -20817,7 +20809,8 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20817
20809
|
currentTimestamp: o.currentTimestamp,
|
|
20818
20810
|
onCloseRecord: e[0] || (e[0] = (h) => {
|
|
20819
20811
|
o.gifEnabled = !1, o.paused = !0;
|
|
20820
|
-
})
|
|
20812
|
+
}),
|
|
20813
|
+
onFrameCount: e[1] || (e[1] = (h) => o.frameCount = h)
|
|
20821
20814
|
}, t.$attrs), null, 16, ["isPlaying", "enabled", "frequency", "currentTimestamp"]),
|
|
20822
20815
|
n("div", {
|
|
20823
20816
|
class: "timeline-box px-2 d-flex justify-start align-center rounded",
|
|
@@ -20832,10 +20825,10 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20832
20825
|
"interval-hour": o.intervalHour,
|
|
20833
20826
|
width: 230
|
|
20834
20827
|
}, t.$attrs, {
|
|
20835
|
-
onCurrentTimestamp: e[
|
|
20836
|
-
onCurrentRealTime: e[
|
|
20837
|
-
onMinTimestamp: e[
|
|
20838
|
-
onMaxTimestamp: e[
|
|
20828
|
+
onCurrentTimestamp: e[2] || (e[2] = (h) => o.currentTimestamp = h),
|
|
20829
|
+
onCurrentRealTime: e[3] || (e[3] = (h) => o.currentRealTime = h),
|
|
20830
|
+
onMinTimestamp: e[4] || (e[4] = (h) => o.minTimestamp = h),
|
|
20831
|
+
onMaxTimestamp: e[5] || (e[5] = (h) => o.maxTimestamp = h)
|
|
20839
20832
|
}), null, 16, ["date-time", "time-zone", "day-about", "interval-hour"]),
|
|
20840
20833
|
b(f, {
|
|
20841
20834
|
text: "",
|
|
@@ -20849,7 +20842,7 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20849
20842
|
default: x(() => [
|
|
20850
20843
|
b(m, { class: "pa-1" }, {
|
|
20851
20844
|
default: x(() => [
|
|
20852
|
-
(k(!0),
|
|
20845
|
+
(k(!0), A(Te, null, De(o.intervalOptions, (h, g) => (k(), W(d, {
|
|
20853
20846
|
key: g,
|
|
20854
20847
|
value: h,
|
|
20855
20848
|
variant: o.intervalHour === h ? "tonal" : "text",
|
|
@@ -20890,24 +20883,40 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20890
20883
|
}),
|
|
20891
20884
|
n("div", Rf, [
|
|
20892
20885
|
b(u, {
|
|
20893
|
-
text: t.$t("actions.record"),
|
|
20886
|
+
text: o.gifEnabled ? t.$t("actions.stop") : t.$t("actions.record"),
|
|
20894
20887
|
location: "top",
|
|
20895
20888
|
interactive: !0,
|
|
20896
20889
|
"open-on-click": !1
|
|
20897
20890
|
}, {
|
|
20898
20891
|
activator: x(({ props: h }) => [
|
|
20899
|
-
|
|
20892
|
+
o.gifEnabled ? (k(), W(f, $({
|
|
20893
|
+
key: 1,
|
|
20894
|
+
disabled: o.frameCount < 1
|
|
20895
|
+
}, h, {
|
|
20900
20896
|
icon: "",
|
|
20901
20897
|
size: "small",
|
|
20902
20898
|
density: "comfortable",
|
|
20903
20899
|
variant: "text",
|
|
20904
|
-
onClick: e[
|
|
20900
|
+
onClick: e[7] || (e[7] = (g) => o.gifEnabled = !o.gifEnabled)
|
|
20905
20901
|
}), {
|
|
20906
|
-
default: x(() => [
|
|
20907
|
-
|
|
20908
|
-
]),
|
|
20909
|
-
_: 2
|
|
20910
|
-
|
|
20902
|
+
default: x(() => e[15] || (e[15] = [
|
|
20903
|
+
n("i", { class: "iconfont icon-stop-record text-danger" }, null, -1)
|
|
20904
|
+
])),
|
|
20905
|
+
_: 2,
|
|
20906
|
+
__: [15]
|
|
20907
|
+
}, 1040, ["disabled"])) : (k(), W(f, $({ key: 0 }, h, {
|
|
20908
|
+
icon: "",
|
|
20909
|
+
size: "small",
|
|
20910
|
+
density: "comfortable",
|
|
20911
|
+
variant: "text",
|
|
20912
|
+
onClick: e[6] || (e[6] = (g) => o.gifEnabled = !o.gifEnabled)
|
|
20913
|
+
}), {
|
|
20914
|
+
default: x(() => e[14] || (e[14] = [
|
|
20915
|
+
n("i", { class: "iconfont icon-record" }, null, -1)
|
|
20916
|
+
])),
|
|
20917
|
+
_: 2,
|
|
20918
|
+
__: [14]
|
|
20919
|
+
}, 1040))
|
|
20911
20920
|
]),
|
|
20912
20921
|
_: 1
|
|
20913
20922
|
}, 8, ["text"]),
|
|
@@ -20925,11 +20934,11 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20925
20934
|
variant: "text",
|
|
20926
20935
|
onClick: r.handleReset
|
|
20927
20936
|
}), {
|
|
20928
|
-
default: x(() => e[
|
|
20937
|
+
default: x(() => e[16] || (e[16] = [
|
|
20929
20938
|
n("i", { class: "iconfont icon-Reset" }, null, -1)
|
|
20930
20939
|
])),
|
|
20931
20940
|
_: 2,
|
|
20932
|
-
__: [
|
|
20941
|
+
__: [16]
|
|
20933
20942
|
}, 1040, ["onClick"])
|
|
20934
20943
|
]),
|
|
20935
20944
|
_: 1
|
|
@@ -20948,11 +20957,11 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20948
20957
|
variant: "text",
|
|
20949
20958
|
onClick: r.handleBackward
|
|
20950
20959
|
}), {
|
|
20951
|
-
default: x(() => e[
|
|
20960
|
+
default: x(() => e[17] || (e[17] = [
|
|
20952
20961
|
n("i", { class: "iconfont icon-Backward" }, null, -1)
|
|
20953
20962
|
])),
|
|
20954
20963
|
_: 2,
|
|
20955
|
-
__: [
|
|
20964
|
+
__: [17]
|
|
20956
20965
|
}, 1040, ["onClick"])
|
|
20957
20966
|
]),
|
|
20958
20967
|
_: 1
|
|
@@ -20971,11 +20980,11 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20971
20980
|
variant: "text",
|
|
20972
20981
|
onClick: r.handlePlay
|
|
20973
20982
|
}), {
|
|
20974
|
-
default: x(() => e[
|
|
20983
|
+
default: x(() => e[18] || (e[18] = [
|
|
20975
20984
|
n("i", { class: "iconfont icon-Play" }, null, -1)
|
|
20976
20985
|
])),
|
|
20977
20986
|
_: 2,
|
|
20978
|
-
__: [
|
|
20987
|
+
__: [18]
|
|
20979
20988
|
}, 1040, ["onClick"])) : N("", !0)
|
|
20980
20989
|
]),
|
|
20981
20990
|
_: 1
|
|
@@ -20994,11 +21003,11 @@ function Bf(t, e, a, i, o, r) {
|
|
|
20994
21003
|
variant: "text",
|
|
20995
21004
|
onClick: r.handlePause
|
|
20996
21005
|
}), {
|
|
20997
|
-
default: x(() => e[
|
|
21006
|
+
default: x(() => e[19] || (e[19] = [
|
|
20998
21007
|
n("i", { class: "iconfont icon-Pause" }, null, -1)
|
|
20999
21008
|
])),
|
|
21000
21009
|
_: 2,
|
|
21001
|
-
__: [
|
|
21010
|
+
__: [19]
|
|
21002
21011
|
}, 1040, ["onClick"]))
|
|
21003
21012
|
]),
|
|
21004
21013
|
_: 1
|
|
@@ -21017,11 +21026,11 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21017
21026
|
variant: "text",
|
|
21018
21027
|
onClick: r.handleForward
|
|
21019
21028
|
}), {
|
|
21020
|
-
default: x(() => e[
|
|
21029
|
+
default: x(() => e[20] || (e[20] = [
|
|
21021
21030
|
n("i", { class: "iconfont icon-Forward" }, null, -1)
|
|
21022
21031
|
])),
|
|
21023
21032
|
_: 2,
|
|
21024
|
-
__: [
|
|
21033
|
+
__: [20]
|
|
21025
21034
|
}, 1040, ["onClick"])
|
|
21026
21035
|
]),
|
|
21027
21036
|
_: 1
|
|
@@ -21032,7 +21041,7 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21032
21041
|
class: "mx-2 my-3",
|
|
21033
21042
|
style: { height: "16px" }
|
|
21034
21043
|
}),
|
|
21035
|
-
n("div",
|
|
21044
|
+
n("div", Df, [
|
|
21036
21045
|
b(u, {
|
|
21037
21046
|
text: t.$t("weather.windBarbs"),
|
|
21038
21047
|
location: "top"
|
|
@@ -21047,13 +21056,13 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21047
21056
|
height: "24",
|
|
21048
21057
|
width: "24",
|
|
21049
21058
|
"min-width": "24",
|
|
21050
|
-
onClick: e[
|
|
21059
|
+
onClick: e[8] || (e[8] = (T) => r.handleClickFastWeather("wind"))
|
|
21051
21060
|
}), {
|
|
21052
|
-
default: x(() => e[
|
|
21061
|
+
default: x(() => e[21] || (e[21] = [
|
|
21053
21062
|
n("i", { class: "iconfont icon-a-WindLevel" }, null, -1)
|
|
21054
21063
|
])),
|
|
21055
21064
|
_: 2,
|
|
21056
|
-
__: [
|
|
21065
|
+
__: [21]
|
|
21057
21066
|
}, 1040, ["color", "variant"])
|
|
21058
21067
|
];
|
|
21059
21068
|
}),
|
|
@@ -21073,7 +21082,7 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21073
21082
|
height: "24",
|
|
21074
21083
|
width: "24",
|
|
21075
21084
|
"min-width": "24",
|
|
21076
|
-
onClick: e[
|
|
21085
|
+
onClick: e[9] || (e[9] = (T) => r.handleClickFastWeather("sig-wave-height"))
|
|
21077
21086
|
}), {
|
|
21078
21087
|
default: x(() => [
|
|
21079
21088
|
n("i", $(h, { class: "iconfont icon-a-WaveHeight" }), null, 16)
|
|
@@ -21098,7 +21107,7 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21098
21107
|
height: "24",
|
|
21099
21108
|
width: "24",
|
|
21100
21109
|
"min-width": "24",
|
|
21101
|
-
onClick: e[
|
|
21110
|
+
onClick: e[10] || (e[10] = (T) => r.handleClickFastWeather("current-direction"))
|
|
21102
21111
|
}), {
|
|
21103
21112
|
default: x(() => [
|
|
21104
21113
|
n("i", $(h, { class: "iconfont icon-Current" }), null, 16)
|
|
@@ -21136,32 +21145,32 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21136
21145
|
class: "mx-2 mr-3 my-3",
|
|
21137
21146
|
style: { height: "16px" }
|
|
21138
21147
|
}),
|
|
21139
|
-
n("div",
|
|
21148
|
+
n("div", If, [
|
|
21140
21149
|
b(f, {
|
|
21141
21150
|
text: "",
|
|
21142
21151
|
height: "30",
|
|
21143
21152
|
class: "px-2 elevation-0 text-body-1 btn-border-2 btn-bg-2",
|
|
21144
21153
|
color: o.source === "GFS" ? "primary" : "",
|
|
21145
|
-
onClick: e[
|
|
21154
|
+
onClick: e[11] || (e[11] = (h) => o.source = "GFS")
|
|
21146
21155
|
}, {
|
|
21147
|
-
default: x(() => e[
|
|
21156
|
+
default: x(() => e[22] || (e[22] = [
|
|
21148
21157
|
Z("NOAA", -1)
|
|
21149
21158
|
])),
|
|
21150
21159
|
_: 1,
|
|
21151
|
-
__: [
|
|
21160
|
+
__: [22]
|
|
21152
21161
|
}, 8, ["color"]),
|
|
21153
21162
|
b(f, {
|
|
21154
21163
|
text: "",
|
|
21155
21164
|
height: "30",
|
|
21156
21165
|
class: "px-2 elevation-0 text-body-1 btn-border-2 btn-bg-2",
|
|
21157
21166
|
color: o.source === "ECMWF" ? "primary" : "",
|
|
21158
|
-
onClick: e[
|
|
21167
|
+
onClick: e[12] || (e[12] = (h) => o.source = "ECMWF")
|
|
21159
21168
|
}, {
|
|
21160
|
-
default: x(() => e[
|
|
21169
|
+
default: x(() => e[23] || (e[23] = [
|
|
21161
21170
|
Z("ECMWF", -1)
|
|
21162
21171
|
])),
|
|
21163
21172
|
_: 1,
|
|
21164
|
-
__: [
|
|
21173
|
+
__: [23]
|
|
21165
21174
|
}, 8, ["color"])
|
|
21166
21175
|
])
|
|
21167
21176
|
], 4),
|
|
@@ -21169,34 +21178,34 @@ function Bf(t, e, a, i, o, r) {
|
|
|
21169
21178
|
class: "timezone-box d-flex flex-column justify-space-between align-end",
|
|
21170
21179
|
style: he({ right: o.right + "px" })
|
|
21171
21180
|
}, [
|
|
21172
|
-
o.showTimezone ? (k(),
|
|
21173
|
-
(k(!0),
|
|
21181
|
+
o.showTimezone ? (k(), A("div", Af, [
|
|
21182
|
+
(k(!0), A(Te, null, De(o.offsets, (h) => (k(), A("div", {
|
|
21174
21183
|
key: h,
|
|
21175
21184
|
class: "item rounded text-body-2 hover-active",
|
|
21176
21185
|
onClick: (g) => o.timeZone = h
|
|
21177
|
-
}, y(h < 0 ? h : "+" + h), 9,
|
|
21186
|
+
}, y(h < 0 ? h : "+" + h), 9, Gf))), 128))
|
|
21178
21187
|
])) : N("", !0),
|
|
21179
|
-
n("div",
|
|
21188
|
+
n("div", Ff, [
|
|
21180
21189
|
b(f, {
|
|
21181
21190
|
text: "",
|
|
21182
21191
|
variant: "flat",
|
|
21183
21192
|
height: "28",
|
|
21184
21193
|
class: "pa-1 text-body-1",
|
|
21185
21194
|
color: "primary",
|
|
21186
|
-
onClick: e[
|
|
21195
|
+
onClick: e[13] || (e[13] = (h) => o.showTimezone = !o.showTimezone)
|
|
21187
21196
|
}, {
|
|
21188
21197
|
default: x(() => [
|
|
21189
21198
|
Z(" UTC " + y(o.timeZone < 0 ? o.timeZone : "+" + o.timeZone), 1)
|
|
21190
21199
|
]),
|
|
21191
21200
|
_: 1
|
|
21192
21201
|
}),
|
|
21193
|
-
n("span",
|
|
21202
|
+
n("span", Nf, y(o.currentRealTime), 1)
|
|
21194
21203
|
])
|
|
21195
21204
|
], 4)
|
|
21196
21205
|
]);
|
|
21197
21206
|
}
|
|
21198
|
-
const
|
|
21199
|
-
const
|
|
21207
|
+
const Ef = /* @__PURE__ */ ie(Pf, [["render", Wf]]);
|
|
21208
|
+
const Bf = {
|
|
21200
21209
|
name: "IdmTimePlayer",
|
|
21201
21210
|
components: { DateTimePicker: eo },
|
|
21202
21211
|
props: {
|
|
@@ -21304,14 +21313,14 @@ const Of = {
|
|
|
21304
21313
|
this.step = Math.floor(e / this.frequency), this.animation = requestAnimationFrame(this.animateSpeeds);
|
|
21305
21314
|
}
|
|
21306
21315
|
}
|
|
21307
|
-
},
|
|
21308
|
-
function
|
|
21316
|
+
}, Zf = { class: "w-100 timeline-box d-flex justify-space-around align-center rounded px-2" };
|
|
21317
|
+
function Of(t, e, a, i, o, r) {
|
|
21309
21318
|
const l = P("VBtn"), c = P("DateTimePicker");
|
|
21310
|
-
return k(),
|
|
21319
|
+
return k(), A("div", {
|
|
21311
21320
|
class: "idm-time-player-gl4 d-flex justify-center align-center",
|
|
21312
21321
|
style: he({ bottom: Object.values(o.show).includes(!0) ? a.playerBottom + "px" : "-100px" })
|
|
21313
21322
|
}, [
|
|
21314
|
-
n("div",
|
|
21323
|
+
n("div", Zf, [
|
|
21315
21324
|
b(l, {
|
|
21316
21325
|
size: "small",
|
|
21317
21326
|
density: "compact",
|
|
@@ -21404,7 +21413,7 @@ function jf(t, e, a, i, o, r) {
|
|
|
21404
21413
|
])
|
|
21405
21414
|
], 4);
|
|
21406
21415
|
}
|
|
21407
|
-
const xr = /* @__PURE__ */ ie(
|
|
21416
|
+
const xr = /* @__PURE__ */ ie(Bf, [["render", Of]]), Vf = {
|
|
21408
21417
|
name: "IdmGL4",
|
|
21409
21418
|
components: {
|
|
21410
21419
|
IdmOtherLayer: Ns,
|
|
@@ -21413,7 +21422,7 @@ const xr = /* @__PURE__ */ ie(Of, [["render", jf]]), Xf = {
|
|
|
21413
21422
|
IdmMeasure: kp,
|
|
21414
21423
|
IdmSpot: bp,
|
|
21415
21424
|
IdmMarker: Yu,
|
|
21416
|
-
IdmBottomBar:
|
|
21425
|
+
IdmBottomBar: Ef,
|
|
21417
21426
|
IdmTimePlayer: xr
|
|
21418
21427
|
},
|
|
21419
21428
|
props: {
|
|
@@ -21470,14 +21479,14 @@ const xr = /* @__PURE__ */ ie(Of, [["render", jf]]), Xf = {
|
|
|
21470
21479
|
}
|
|
21471
21480
|
},
|
|
21472
21481
|
methods: {}
|
|
21473
|
-
},
|
|
21482
|
+
}, jf = {
|
|
21474
21483
|
ref: "mapHomeGl4",
|
|
21475
21484
|
class: "map-gl4-home",
|
|
21476
21485
|
id: "map-gl4-home"
|
|
21477
21486
|
};
|
|
21478
|
-
function
|
|
21487
|
+
function Xf(t, e, a, i, o, r) {
|
|
21479
21488
|
const l = P("IdmOtherLayer"), c = P("IdmWeatherLayer"), s = P("IdmTropicals"), d = P("IdmSpot"), m = P("IdmMeasure"), p = P("IdmMarker"), f = P("IdmBottomBar"), w = P("IdmTimePlayer");
|
|
21480
|
-
return k(),
|
|
21489
|
+
return k(), A("div", jf, [
|
|
21481
21490
|
b(l, $({
|
|
21482
21491
|
ref: "idmOtherLayers",
|
|
21483
21492
|
simple: a.simple,
|
|
@@ -21570,8 +21579,8 @@ function Yf(t, e, a, i, o, r) {
|
|
|
21570
21579
|
}, t.$attrs), null, 16, ["playerBottom", "bgClass", "weather-check-list", "map-feather"])) : N("", !0)
|
|
21571
21580
|
], 512);
|
|
21572
21581
|
}
|
|
21573
|
-
const
|
|
21574
|
-
class
|
|
21582
|
+
const Hf = /* @__PURE__ */ ie(Vf, [["render", Xf]]);
|
|
21583
|
+
class Yf {
|
|
21575
21584
|
constructor(e = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNseTVudHJzYzAwNWUwbHBsZHkyaDRqczMiLCJyb2xlIjoxLCJuYW1lIjoiZmFrZUBvcm13eC5jb20iLCJwbGF0SWQiOiJnZDBtdDFkIiwiY29tcGFueSI6eyJpZCI6bnVsbCwiY2hpbGRyZW4iOltdfSwiaWF0IjoxNzIzMDI0MDI0LCJleHAiOjM5MzA1NDQwMjR9.RrKcdcMnq-FxBLJQ-i6lx2FscDE46y8EvHIemPW4HTg") {
|
|
21576
21585
|
ve(this, "originStyle");
|
|
21577
21586
|
ve(this, "mapboxStyle");
|
|
@@ -21579,7 +21588,7 @@ class $f {
|
|
|
21579
21588
|
ve(this, "hi");
|
|
21580
21589
|
ve(this, "td");
|
|
21581
21590
|
ve(this, "windy");
|
|
21582
|
-
var a, i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D,
|
|
21591
|
+
var a, i, o, r, l, c, s, d, m, p, f, w, u, h, g, _, T, v, M, L, z, S, D, I, E, X, O, q, ae, re, pe, G, J, K, oe, Y, H, ee, F, ne, fe, ke, ze, me, be, _e, Re, Q, de, He, Ee, Me, Ae, le, Pe, ue, we, Ze, Ue, Ye, U, xe, Ge, Oe, Ve, te, Be, se, at, ot, it, Ne, mt, dt, ht, pt, ut, gt, ft, yt, bt, wt, xt, vt, kt, _t, Lt, zt, Ct, Mt, Pt, St, Tt, Rt, Dt, It, At, Gt, Ft, Nt, Wt, Et, Bt, Zt, Ot, Vt, jt, Xt, Ht, Yt, Ut, Jt, Kt, qt, Qt, ea, ta, aa, oa, ia, ra, la, na, sa, ca, ma, da, ha, pa, ua, ga, fa, ya, ba, wa, xa, va, ka, _a, La, za, Ca, Ma, Pa, Sa, Ta, Ra, Da, Ia, Aa, Ga, Fa, xo, vo, ko, _o, Lo, zo, Co, Mo, Po, So, To, Ro, Do, Io, Ao, Go, Fo, No, Wo, Eo, Bo, Zo, Oo, Vo, jo, Xo, Ho, Yo, Uo, $o, Jo, Ko, qo, Qo, ei, ti, ai, oi, ii, ri, li, ni, si, ci, mi, di, hi, pi, ui, gi, fi, yi, bi, wi, xi, vi, ki, _i, Li, zi, Ci, Mi, Pi, Si, Ti, Ri;
|
|
21583
21592
|
this.i4 = {
|
|
21584
21593
|
source: {
|
|
21585
21594
|
type: "raster",
|
|
@@ -40124,7 +40133,7 @@ class $f {
|
|
|
40124
40133
|
(v = (T = this.originStyle) == null ? void 0 : T.light.layers) == null ? void 0 : v.find((C) => C.id === "country-boundaries"),
|
|
40125
40134
|
(L = (M = this.originStyle) == null ? void 0 : M.light.layers) == null ? void 0 : L.find((C) => C.id === "water-outline"),
|
|
40126
40135
|
(S = (z = this.originStyle) == null ? void 0 : z.light.layers) == null ? void 0 : S.find((C) => C.id === "water-outline2"),
|
|
40127
|
-
(
|
|
40136
|
+
(I = (D = this.originStyle) == null ? void 0 : D.light.layers) == null ? void 0 : I.find((C) => C.id === "empty-layer-2"),
|
|
40128
40137
|
(X = (E = this.originStyle) == null ? void 0 : E.light.layers) == null ? void 0 : X.find((C) => C.id === "water-line-label"),
|
|
40129
40138
|
(q = (O = this.originStyle) == null ? void 0 : O.light.layers) == null ? void 0 : q.find((C) => C.id === "water-point-label"),
|
|
40130
40139
|
(re = (ae = this.originStyle) == null ? void 0 : ae.light.layers) == null ? void 0 : re.find((C) => C.id === "world-12nm-v4-20231025"),
|
|
@@ -40329,7 +40338,7 @@ class $f {
|
|
|
40329
40338
|
};
|
|
40330
40339
|
}
|
|
40331
40340
|
}
|
|
40332
|
-
const
|
|
40341
|
+
const Uf = {
|
|
40333
40342
|
name: "MapInitial",
|
|
40334
40343
|
props: {
|
|
40335
40344
|
token: {
|
|
@@ -40402,7 +40411,7 @@ const Jf = {
|
|
|
40402
40411
|
},
|
|
40403
40412
|
methods: {
|
|
40404
40413
|
async initOnlineMap() {
|
|
40405
|
-
this.helper = new
|
|
40414
|
+
this.helper = new Yf(this.token), ye.accessToken = "pk.eyJ1IjoibmVhdGNoZW5oZW5nIiwiYSI6ImNsdXM3cnBmODBsemgycW1vaXc1bjV6bXMifQ.w6fqHGRbhNhLvm0LnX4ZVw";
|
|
40406
40415
|
const t = new ye.Map({
|
|
40407
40416
|
container: "map",
|
|
40408
40417
|
// style: 'mapbox://styles/neatchenheng/cmd894dwn036m01rf7anc0k0d', //light
|
|
@@ -40445,24 +40454,24 @@ const Jf = {
|
|
|
40445
40454
|
this.zoom > 2 && (this.zoom = Math.floor(this.zoom) - 1, (t = this.map) == null || t.flyTo({ zoom: this.zoom, duration: 500 }));
|
|
40446
40455
|
}
|
|
40447
40456
|
}
|
|
40448
|
-
},
|
|
40457
|
+
}, $f = { class: "v-btn--variant-elevated rounded" }, Jf = { class: "v-btn--variant-elevated rounded" }, Kf = { class: "zoom" }, qf = {
|
|
40449
40458
|
key: 2,
|
|
40450
40459
|
class: "position-absolute left-0 bottom-0 ma-2 my-1 text-caption text-label opacity-70"
|
|
40451
40460
|
};
|
|
40452
|
-
function
|
|
40461
|
+
function Qf(t, e, a, i, o, r) {
|
|
40453
40462
|
const l = P("VBtn");
|
|
40454
|
-
return k(),
|
|
40463
|
+
return k(), A("div", {
|
|
40455
40464
|
id: "mapbox-initial-gl4",
|
|
40456
40465
|
class: "mapbox-initial-gl4 gif-container",
|
|
40457
40466
|
style: he({ height: a.height, width: a.width })
|
|
40458
40467
|
}, [
|
|
40459
40468
|
e[6] || (e[6] = n("div", { id: "map" }, null, -1)),
|
|
40460
|
-
a.simple ? (k(),
|
|
40469
|
+
a.simple ? (k(), A("div", {
|
|
40461
40470
|
key: 0,
|
|
40462
40471
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column pa-1 simple",
|
|
40463
40472
|
style: he({ top: a.top + 294 + "px", right: o.right + "px", height: "40px" })
|
|
40464
40473
|
}, [
|
|
40465
|
-
n("div",
|
|
40474
|
+
n("div", $f, [
|
|
40466
40475
|
b(l, {
|
|
40467
40476
|
"min-width": "32",
|
|
40468
40477
|
width: "32",
|
|
@@ -40478,12 +40487,12 @@ function t1(t, e, a, i, o, r) {
|
|
|
40478
40487
|
}, 8, ["onClick"])
|
|
40479
40488
|
])
|
|
40480
40489
|
], 4)) : N("", !0),
|
|
40481
|
-
a.simple ? N("", !0) : (k(),
|
|
40490
|
+
a.simple ? N("", !0) : (k(), A("div", {
|
|
40482
40491
|
key: 1,
|
|
40483
40492
|
class: "menu-bar-box transition px-1 rounded d-flex flex-column",
|
|
40484
40493
|
style: he({ top: a.top + 308 + "px", right: o.right + "px", height: "112px" })
|
|
40485
40494
|
}, [
|
|
40486
|
-
n("div",
|
|
40495
|
+
n("div", Jf, [
|
|
40487
40496
|
b(l, {
|
|
40488
40497
|
"min-width": "32",
|
|
40489
40498
|
width: "32",
|
|
@@ -40497,7 +40506,7 @@ function t1(t, e, a, i, o, r) {
|
|
|
40497
40506
|
_: 1,
|
|
40498
40507
|
__: [1]
|
|
40499
40508
|
}, 8, ["onClick"]),
|
|
40500
|
-
n("div",
|
|
40509
|
+
n("div", Kf, y(o.zoom ? Math.floor(o.zoom) : 0), 1),
|
|
40501
40510
|
b(l, {
|
|
40502
40511
|
"min-width": "32",
|
|
40503
40512
|
width: "32",
|
|
@@ -40513,7 +40522,7 @@ function t1(t, e, a, i, o, r) {
|
|
|
40513
40522
|
}, 8, ["onClick"])
|
|
40514
40523
|
])
|
|
40515
40524
|
], 4)),
|
|
40516
|
-
a.simple ? N("", !0) : (k(),
|
|
40525
|
+
a.simple ? N("", !0) : (k(), A("div", qf, [
|
|
40517
40526
|
e[3] || (e[3] = n("span", null, "© 2023", -1)),
|
|
40518
40527
|
n("span", null, "-" + y(r.computeYear), 1),
|
|
40519
40528
|
e[4] || (e[4] = n("span", { class: "text-uppercase ma-2" }, "ormwx.com", -1)),
|
|
@@ -40525,8 +40534,8 @@ function t1(t, e, a, i, o, r) {
|
|
|
40525
40534
|
]))
|
|
40526
40535
|
], 4);
|
|
40527
40536
|
}
|
|
40528
|
-
const
|
|
40529
|
-
const
|
|
40537
|
+
const e1 = /* @__PURE__ */ ie(Uf, [["render", Qf]]);
|
|
40538
|
+
const t1 = {
|
|
40530
40539
|
name: "DateRangePicker",
|
|
40531
40540
|
props: {
|
|
40532
40541
|
width: {
|
|
@@ -40762,22 +40771,22 @@ const o1 = {
|
|
|
40762
40771
|
this.dateRange = [], this.dateRangeStr = "", this.$emit("dateRange", []);
|
|
40763
40772
|
}
|
|
40764
40773
|
}
|
|
40765
|
-
},
|
|
40774
|
+
}, a1 = {
|
|
40766
40775
|
class: "idm-gl4-date-picker",
|
|
40767
40776
|
ref: "idmGl4DatePicker"
|
|
40768
|
-
},
|
|
40777
|
+
}, o1 = { class: "flex-1-1-0" }, i1 = { class: "pa-0 w-100 d-flex justify-space-between align-center ga-4" }, r1 = {
|
|
40769
40778
|
key: 0,
|
|
40770
40779
|
class: "d-flex justify-start align-center flex-wrap ga-3 ml-n2"
|
|
40771
|
-
},
|
|
40772
|
-
function
|
|
40780
|
+
}, l1 = { class: "flex-1-1-0 d-flex justify-end align-center ga-4" };
|
|
40781
|
+
function n1(t, e, a, i, o, r) {
|
|
40773
40782
|
const l = P("VIcon"), c = P("VDatePicker"), s = P("v-divider"), d = P("VCardText"), m = P("VDivider"), p = P("VBtn"), f = P("VCardActions"), w = P("VCard");
|
|
40774
|
-
return k(),
|
|
40783
|
+
return k(), A("div", a1, [
|
|
40775
40784
|
n("div", {
|
|
40776
40785
|
style: he({ height: a.height + "px", width: a.width ? a.width + "px" : "auto" }),
|
|
40777
40786
|
class: "rounded text-body-1 btn-border-1 btn-bg-1 d-flex align-center justify-space-between px-2 cursor-pointer",
|
|
40778
40787
|
onClick: e[0] || (e[0] = (...u) => r.handleOpenDatePicker && r.handleOpenDatePicker(...u))
|
|
40779
40788
|
}, [
|
|
40780
|
-
n("span",
|
|
40789
|
+
n("span", o1, y(o.dateRangeStr), 1),
|
|
40781
40790
|
o.dateRangeStr ? (k(), W(l, {
|
|
40782
40791
|
key: 0,
|
|
40783
40792
|
class: "text-h5",
|
|
@@ -40794,7 +40803,7 @@ function c1(t, e, a, i, o, r) {
|
|
|
40794
40803
|
default: x(() => [
|
|
40795
40804
|
b(d, { class: "w-100 flex-1-1-0 d-flex pa-0" }, {
|
|
40796
40805
|
default: x(() => [
|
|
40797
|
-
n("div",
|
|
40806
|
+
n("div", i1, [
|
|
40798
40807
|
b(c, {
|
|
40799
40808
|
modelValue: o.dateRange[0],
|
|
40800
40809
|
"onUpdate:modelValue": [
|
|
@@ -40845,8 +40854,8 @@ function c1(t, e, a, i, o, r) {
|
|
|
40845
40854
|
default: x(() => {
|
|
40846
40855
|
var u, h;
|
|
40847
40856
|
return [
|
|
40848
|
-
(u = a.fastPick) != null && u.show ? (k(),
|
|
40849
|
-
(k(!0),
|
|
40857
|
+
(u = a.fastPick) != null && u.show ? (k(), A("div", r1, [
|
|
40858
|
+
(k(!0), A(Te, null, De((h = o.fastPickOptions) == null ? void 0 : h.filter((g) => a.fastPick.allows.some((_) => _ === g)), (g) => (k(), W(p, {
|
|
40850
40859
|
size: "small",
|
|
40851
40860
|
color: o.activeFastPick === g ? "primary" : "",
|
|
40852
40861
|
variant: o.activeFastPick === g ? "tonal" : "text",
|
|
@@ -40859,7 +40868,7 @@ function c1(t, e, a, i, o, r) {
|
|
|
40859
40868
|
_: 2
|
|
40860
40869
|
}, 1032, ["color", "variant", "onClick"]))), 256))
|
|
40861
40870
|
])) : N("", !0),
|
|
40862
|
-
n("div",
|
|
40871
|
+
n("div", l1, [
|
|
40863
40872
|
b(p, {
|
|
40864
40873
|
size: "small",
|
|
40865
40874
|
variant: "tonal",
|
|
@@ -40893,25 +40902,25 @@ function c1(t, e, a, i, o, r) {
|
|
|
40893
40902
|
}, 8, ["style"])) : N("", !0)
|
|
40894
40903
|
], 512);
|
|
40895
40904
|
}
|
|
40896
|
-
const
|
|
40905
|
+
const s1 = /* @__PURE__ */ ie(t1, [["render", n1]]), L1 = {
|
|
40897
40906
|
install(t) {
|
|
40898
|
-
t.component("MapInitial",
|
|
40907
|
+
t.component("MapInitial", e1), t.component("MapboxGL", Hf), t.component("TropicalGL", ar), t.component("LatLngGL", tr), t.component("DateTimePicker", eo), t.component("DateRangePicker", s1), t.component("PortDetail", go), t.component("TimePlayer", xr);
|
|
40899
40908
|
}
|
|
40900
40909
|
};
|
|
40901
40910
|
export {
|
|
40902
40911
|
eo as D,
|
|
40903
40912
|
tr as L,
|
|
40904
|
-
|
|
40913
|
+
L1 as M,
|
|
40905
40914
|
go as P,
|
|
40906
40915
|
ar as T,
|
|
40907
40916
|
fo as V,
|
|
40908
40917
|
$e as W,
|
|
40909
|
-
|
|
40910
|
-
|
|
40911
|
-
|
|
40918
|
+
e1 as a,
|
|
40919
|
+
Hf as b,
|
|
40920
|
+
s1 as c,
|
|
40912
40921
|
xr as d,
|
|
40913
40922
|
Ce as e,
|
|
40914
40923
|
We as f,
|
|
40915
|
-
|
|
40924
|
+
Yf as g,
|
|
40916
40925
|
Ba as l
|
|
40917
40926
|
};
|