@idmui/spot 1.5.7 → 1.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -127,7 +127,7 @@ declare namespace _sfc_main {
|
|
|
127
127
|
function convertSvgUrlToBase64(url: any): Promise<any>;
|
|
128
128
|
function getRotatedArrowBase64(angle: any): string;
|
|
129
129
|
function getRotatedArrow2Base64(angle: any): string;
|
|
130
|
-
function
|
|
130
|
+
function handleClickDownload(): void;
|
|
131
131
|
function handleDownloadPDF1(): void;
|
|
132
132
|
function handleDownloadPDF2(): Promise<false | undefined>;
|
|
133
133
|
}
|
|
@@ -16618,7 +16618,7 @@ function(A) {
|
|
|
16618
16618
|
var i = r.getContext("2d");
|
|
16619
16619
|
i.fillStyle = "#fff", i.fillRect(0, 0, r.width, r.height);
|
|
16620
16620
|
var a = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
|
|
16621
|
-
return (u1.canvg ? Promise.resolve(u1.canvg) : import("./index.es-
|
|
16621
|
+
return (u1.canvg ? Promise.resolve(u1.canvg) : import("./index.es-2e3bbe4e.js")).catch(function(f) {
|
|
16622
16622
|
return Promise.reject(new Error("Could not load canvg: " + f));
|
|
16623
16623
|
}).then(function(f) {
|
|
16624
16624
|
return f.default ? f.default : f;
|
|
@@ -19962,11 +19962,11 @@ const ng = {
|
|
|
19962
19962
|
</svg>`;
|
|
19963
19963
|
return btoa(unescape(encodeURIComponent(e)));
|
|
19964
19964
|
},
|
|
19965
|
-
|
|
19966
|
-
this.
|
|
19965
|
+
handleClickDownload() {
|
|
19966
|
+
this.menuIndex === 4 ? this.handleDownloadPDF2() : this.showDownloadDialog = !0;
|
|
19967
19967
|
},
|
|
19968
19968
|
handleDownloadPDF1() {
|
|
19969
|
-
this.$emit("update", !0), this.messageInstance = this.$message({
|
|
19969
|
+
this.showDownloadDialog = !1, this.$emit("update", !0), this.messageInstance = this.$message({
|
|
19970
19970
|
message: "PDF is downloading, please wait a moment...",
|
|
19971
19971
|
type: "warning",
|
|
19972
19972
|
duration: 6e3
|
|
@@ -20476,24 +20476,24 @@ function o8(A, e, t, o, b, M) {
|
|
|
20476
20476
|
mA(f, {
|
|
20477
20477
|
size: "20px",
|
|
20478
20478
|
class: U1(["icon", b.loading.downloading ? "downloading" : ""]),
|
|
20479
|
-
onClick:
|
|
20479
|
+
onClick: M.handleClickDownload
|
|
20480
20480
|
}, {
|
|
20481
20481
|
default: d2(() => [
|
|
20482
20482
|
b.loading.downloading ? (L0(), Gt(d, { key: 1 })) : (L0(), Gt(a, { key: 0 }))
|
|
20483
20483
|
]),
|
|
20484
20484
|
_: 1
|
|
20485
|
-
}, 8, ["class"])
|
|
20485
|
+
}, 8, ["class", "onClick"])
|
|
20486
20486
|
])
|
|
20487
20487
|
]),
|
|
20488
20488
|
b.menuIndex === 1 || b.menuIndex === 2 || b.menuIndex === 3 ? (L0(), m0("div", Bg, [
|
|
20489
20489
|
(F = b.position) != null && F.name && t.token && !((e0 = b.loading) != null && e0.meteogramEchart) ? (L0(), m0("div", gg, [
|
|
20490
20490
|
R("div", Wg, [
|
|
20491
|
-
e[
|
|
20491
|
+
e[19] || (e[19] = R("div", { style: { "margin-right": "20px" } }, "Meteogram", -1)),
|
|
20492
20492
|
Gz(R("div", {
|
|
20493
20493
|
id: "history-date-title",
|
|
20494
20494
|
class: "flex-space no-pdf",
|
|
20495
20495
|
style: { cursor: "pointer" },
|
|
20496
|
-
onClick: e[
|
|
20496
|
+
onClick: e[9] || (e[9] = (j) => b.meteoData.showDateSelect = !b.meteoData.showDateSelect)
|
|
20497
20497
|
}, [
|
|
20498
20498
|
mA(h, {
|
|
20499
20499
|
size: "16",
|
|
@@ -20520,7 +20520,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20520
20520
|
Gz(R("div", Lg, [
|
|
20521
20521
|
mA(y, {
|
|
20522
20522
|
modelValue: b.dateRange,
|
|
20523
|
-
"onUpdate:modelValue": e[
|
|
20523
|
+
"onUpdate:modelValue": e[10] || (e[10] = (j) => b.dateRange = j),
|
|
20524
20524
|
type: "daterange",
|
|
20525
20525
|
"range-separator": "~",
|
|
20526
20526
|
"start-placeholder": "Start date",
|
|
@@ -20534,10 +20534,10 @@ function o8(A, e, t, o, b, M) {
|
|
|
20534
20534
|
[jz, ((C = b.meteoData) == null ? void 0 : C.showDateSelect) && b.menuIndex === 1]
|
|
20535
20535
|
])
|
|
20536
20536
|
]),
|
|
20537
|
-
e[
|
|
20538
|
-
e[
|
|
20539
|
-
e[
|
|
20540
|
-
])) : (B = b.loading) != null && B.meteogramEchart ? (L0(), m0("div", mg, [...e[
|
|
20537
|
+
e[20] || (e[20] = R("div", { id: "weather-icons" }, null, -1)),
|
|
20538
|
+
e[21] || (e[21] = R("div", { id: "weather-condition" }, null, -1)),
|
|
20539
|
+
e[22] || (e[22] = R("div", { id: "wave-swell" }, null, -1))
|
|
20540
|
+
])) : (B = b.loading) != null && B.meteogramEchart ? (L0(), m0("div", mg, [...e[23] || (e[23] = [
|
|
20541
20541
|
R("img", {
|
|
20542
20542
|
style: { height: "200px" },
|
|
20543
20543
|
src: Qo
|
|
@@ -20545,7 +20545,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20545
20545
|
])])) : (L0(), m0("div", Rg, "No Data"))
|
|
20546
20546
|
])) : Y2("", !0),
|
|
20547
20547
|
b.menuIndex === 2 ? (L0(), m0("div", Cg, [
|
|
20548
|
-
(S = b.position) != null && S.name && t.token && !((H = b.loading) != null && H.weatherEchart) ? (L0(), m0("div", vg)) : (p0 = b.loading) != null && p0.weatherEchart ? (L0(), m0("div", Ng, [...e[
|
|
20548
|
+
(S = b.position) != null && S.name && t.token && !((H = b.loading) != null && H.weatherEchart) ? (L0(), m0("div", vg)) : (p0 = b.loading) != null && p0.weatherEchart ? (L0(), m0("div", Ng, [...e[24] || (e[24] = [
|
|
20549
20549
|
R("img", {
|
|
20550
20550
|
style: { height: "200px" },
|
|
20551
20551
|
src: Qo
|
|
@@ -20558,7 +20558,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20558
20558
|
R("table", Ig, [
|
|
20559
20559
|
R("thead", null, [
|
|
20560
20560
|
R("tr", xg, [
|
|
20561
|
-
e[
|
|
20561
|
+
e[25] || (e[25] = R("th", {
|
|
20562
20562
|
rowspan: "1",
|
|
20563
20563
|
colspan: "1",
|
|
20564
20564
|
class: "td-title"
|
|
@@ -20574,7 +20574,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20574
20574
|
}, I0(M.computeHourLT(j)), 3))), 128))
|
|
20575
20575
|
]),
|
|
20576
20576
|
R("tr", Ug, [
|
|
20577
|
-
e[
|
|
20577
|
+
e[26] || (e[26] = R("th", {
|
|
20578
20578
|
rowspan: "1",
|
|
20579
20579
|
colspan: "1",
|
|
20580
20580
|
class: "td-title"
|
|
@@ -20592,7 +20592,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20592
20592
|
]),
|
|
20593
20593
|
R("tbody", null, [
|
|
20594
20594
|
R("tr", Dg, [
|
|
20595
|
-
e[
|
|
20595
|
+
e[27] || (e[27] = R("td", {
|
|
20596
20596
|
rowspan: "1",
|
|
20597
20597
|
colspan: "1",
|
|
20598
20598
|
class: "td-title"
|
|
@@ -20624,7 +20624,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20624
20624
|
], 2))), 128))
|
|
20625
20625
|
]),
|
|
20626
20626
|
R("tr", Xg, [
|
|
20627
|
-
e[
|
|
20627
|
+
e[28] || (e[28] = R("td", {
|
|
20628
20628
|
rowspan: "1",
|
|
20629
20629
|
colspan: "1",
|
|
20630
20630
|
class: "td-title"
|
|
@@ -20640,7 +20640,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20640
20640
|
}, I0(j), 3))), 128))
|
|
20641
20641
|
]),
|
|
20642
20642
|
R("tr", Sg, [
|
|
20643
|
-
e[
|
|
20643
|
+
e[29] || (e[29] = R("td", {
|
|
20644
20644
|
rowspan: "1",
|
|
20645
20645
|
colspan: "1",
|
|
20646
20646
|
class: "td-title"
|
|
@@ -20656,7 +20656,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20656
20656
|
}, I0(j), 3))), 128))
|
|
20657
20657
|
]),
|
|
20658
20658
|
R("tr", Hg, [
|
|
20659
|
-
e[
|
|
20659
|
+
e[30] || (e[30] = R("td", {
|
|
20660
20660
|
rowspan: "1",
|
|
20661
20661
|
colspan: "1",
|
|
20662
20662
|
class: "td-title"
|
|
@@ -20672,7 +20672,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20672
20672
|
}, I0(j), 3))), 128))
|
|
20673
20673
|
]),
|
|
20674
20674
|
R("tr", Pg, [
|
|
20675
|
-
e[
|
|
20675
|
+
e[31] || (e[31] = R("td", {
|
|
20676
20676
|
rowspan: "1",
|
|
20677
20677
|
colspan: "1",
|
|
20678
20678
|
class: "td-title"
|
|
@@ -20688,7 +20688,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20688
20688
|
}, I0(j), 3))), 128))
|
|
20689
20689
|
]),
|
|
20690
20690
|
R("tr", kg, [
|
|
20691
|
-
e[
|
|
20691
|
+
e[32] || (e[32] = R("td", {
|
|
20692
20692
|
rowspan: "1",
|
|
20693
20693
|
colspan: "1",
|
|
20694
20694
|
class: "td-title"
|
|
@@ -20704,7 +20704,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20704
20704
|
}, I0(j), 3))), 128))
|
|
20705
20705
|
]),
|
|
20706
20706
|
R("tr", _g, [
|
|
20707
|
-
e[
|
|
20707
|
+
e[33] || (e[33] = R("td", {
|
|
20708
20708
|
rowspan: "1",
|
|
20709
20709
|
colspan: "1",
|
|
20710
20710
|
class: "td-title"
|
|
@@ -20727,7 +20727,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20727
20727
|
], 2))), 128))
|
|
20728
20728
|
]),
|
|
20729
20729
|
R("tr", Gg, [
|
|
20730
|
-
e[
|
|
20730
|
+
e[34] || (e[34] = R("td", {
|
|
20731
20731
|
rowspan: "1",
|
|
20732
20732
|
colspan: "1",
|
|
20733
20733
|
class: "td-title"
|
|
@@ -20743,7 +20743,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20743
20743
|
}, I0(j), 3))), 128))
|
|
20744
20744
|
]),
|
|
20745
20745
|
R("tr", jg, [
|
|
20746
|
-
e[
|
|
20746
|
+
e[35] || (e[35] = R("td", {
|
|
20747
20747
|
rowspan: "1",
|
|
20748
20748
|
colspan: "1",
|
|
20749
20749
|
class: "td-title"
|
|
@@ -20760,11 +20760,11 @@ function o8(A, e, t, o, b, M) {
|
|
|
20760
20760
|
])
|
|
20761
20761
|
])
|
|
20762
20762
|
]),
|
|
20763
|
-
e[
|
|
20763
|
+
e[47] || (e[47] = R("div", { style: { "text-align": "center", padding: "3px" } }, null, -1)),
|
|
20764
20764
|
R("table", Yg, [
|
|
20765
20765
|
R("tbody", null, [
|
|
20766
20766
|
R("tr", Vg, [
|
|
20767
|
-
e[
|
|
20767
|
+
e[36] || (e[36] = R("td", {
|
|
20768
20768
|
rowspan: "1",
|
|
20769
20769
|
colspan: "1",
|
|
20770
20770
|
class: "td-title"
|
|
@@ -20780,7 +20780,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20780
20780
|
}, I0(j), 3))), 128))
|
|
20781
20781
|
]),
|
|
20782
20782
|
R("tr", Jg, [
|
|
20783
|
-
e[
|
|
20783
|
+
e[37] || (e[37] = R("td", {
|
|
20784
20784
|
rowspan: "1",
|
|
20785
20785
|
colspan: "1",
|
|
20786
20786
|
class: "td-title"
|
|
@@ -20803,7 +20803,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20803
20803
|
], 2))), 128))
|
|
20804
20804
|
]),
|
|
20805
20805
|
R("tr", AW, [
|
|
20806
|
-
e[
|
|
20806
|
+
e[38] || (e[38] = R("td", {
|
|
20807
20807
|
rowspan: "1",
|
|
20808
20808
|
colspan: "1",
|
|
20809
20809
|
class: "td-title"
|
|
@@ -20819,7 +20819,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20819
20819
|
}, I0(j), 3))), 128))
|
|
20820
20820
|
]),
|
|
20821
20821
|
R("tr", eW, [
|
|
20822
|
-
e[
|
|
20822
|
+
e[39] || (e[39] = R("td", {
|
|
20823
20823
|
rowspan: "1",
|
|
20824
20824
|
colspan: "1",
|
|
20825
20825
|
class: "td-title"
|
|
@@ -20835,7 +20835,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20835
20835
|
}, I0(j), 3))), 128))
|
|
20836
20836
|
]),
|
|
20837
20837
|
R("tr", tW, [
|
|
20838
|
-
e[
|
|
20838
|
+
e[40] || (e[40] = R("td", {
|
|
20839
20839
|
rowspan: "1",
|
|
20840
20840
|
colspan: "1",
|
|
20841
20841
|
class: "td-title"
|
|
@@ -20858,7 +20858,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20858
20858
|
], 2))), 128))
|
|
20859
20859
|
]),
|
|
20860
20860
|
R("tr", MW, [
|
|
20861
|
-
e[
|
|
20861
|
+
e[41] || (e[41] = R("td", {
|
|
20862
20862
|
rowspan: "1",
|
|
20863
20863
|
colspan: "1",
|
|
20864
20864
|
class: "td-title"
|
|
@@ -20874,7 +20874,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20874
20874
|
}, I0(j), 3))), 128))
|
|
20875
20875
|
]),
|
|
20876
20876
|
R("tr", pW, [
|
|
20877
|
-
e[
|
|
20877
|
+
e[42] || (e[42] = R("td", {
|
|
20878
20878
|
rowspan: "1",
|
|
20879
20879
|
colspan: "1",
|
|
20880
20880
|
class: "td-title"
|
|
@@ -20890,7 +20890,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20890
20890
|
}, I0(j), 3))), 128))
|
|
20891
20891
|
]),
|
|
20892
20892
|
R("tr", zW, [
|
|
20893
|
-
e[
|
|
20893
|
+
e[43] || (e[43] = R("td", {
|
|
20894
20894
|
rowspan: "1",
|
|
20895
20895
|
colspan: "1",
|
|
20896
20896
|
class: "td-title"
|
|
@@ -20913,7 +20913,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20913
20913
|
], 2))), 128))
|
|
20914
20914
|
]),
|
|
20915
20915
|
R("tr", cW, [
|
|
20916
|
-
e[
|
|
20916
|
+
e[44] || (e[44] = R("td", {
|
|
20917
20917
|
rowspan: "1",
|
|
20918
20918
|
colspan: "1",
|
|
20919
20919
|
class: "td-title"
|
|
@@ -20930,11 +20930,11 @@ function o8(A, e, t, o, b, M) {
|
|
|
20930
20930
|
])
|
|
20931
20931
|
])
|
|
20932
20932
|
]),
|
|
20933
|
-
e[
|
|
20933
|
+
e[48] || (e[48] = R("div", { style: { "text-align": "center", padding: "3px" } }, null, -1)),
|
|
20934
20934
|
R("table", iW, [
|
|
20935
20935
|
R("tbody", null, [
|
|
20936
20936
|
R("tr", aW, [
|
|
20937
|
-
e[
|
|
20937
|
+
e[45] || (e[45] = R("td", {
|
|
20938
20938
|
rowspan: "1",
|
|
20939
20939
|
colspan: "1",
|
|
20940
20940
|
class: "td-title"
|
|
@@ -20950,7 +20950,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20950
20950
|
}, I0(j), 3))), 128))
|
|
20951
20951
|
]),
|
|
20952
20952
|
R("tr", sW, [
|
|
20953
|
-
e[
|
|
20953
|
+
e[46] || (e[46] = R("td", {
|
|
20954
20954
|
rowspan: "1",
|
|
20955
20955
|
colspan: "1",
|
|
20956
20956
|
class: "td-title"
|
|
@@ -20967,7 +20967,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
20967
20967
|
])
|
|
20968
20968
|
])
|
|
20969
20969
|
])
|
|
20970
|
-
])) : (t0 = b.loading) != null && t0.hoursTable ? (L0(), m0("div", OW, [...e[
|
|
20970
|
+
])) : (t0 = b.loading) != null && t0.hoursTable ? (L0(), m0("div", OW, [...e[49] || (e[49] = [
|
|
20971
20971
|
R("img", {
|
|
20972
20972
|
style: { height: "200px" },
|
|
20973
20973
|
src: Qo
|
|
@@ -20976,9 +20976,9 @@ function o8(A, e, t, o, b, M) {
|
|
|
20976
20976
|
])) : Y2("", !0),
|
|
20977
20977
|
b.menuIndex === 3 ? (L0(), m0("div", dW, [
|
|
20978
20978
|
(c0 = b.position) != null && c0.name && t.token && !((w0 = b.loading) != null && w0.daysTable) ? (L0(), m0("div", fW, [
|
|
20979
|
-
e[
|
|
20979
|
+
e[60] || (e[60] = R("div", { class: "date" }, "Daily Forecast", -1)),
|
|
20980
20980
|
R("table", uW, [
|
|
20981
|
-
e[
|
|
20981
|
+
e[59] || (e[59] = R("thead", null, [
|
|
20982
20982
|
R("tr", { class: "day tr-title" }, [
|
|
20983
20983
|
R("th", {
|
|
20984
20984
|
rowspan: "1",
|
|
@@ -21094,23 +21094,23 @@ function o8(A, e, t, o, b, M) {
|
|
|
21094
21094
|
R("td", gW, I0(j.weatherName), 1),
|
|
21095
21095
|
R("td", WW, [
|
|
21096
21096
|
S0(I0(j.minTemp) + " / " + I0(j.maxTemp), 1),
|
|
21097
|
-
e[
|
|
21097
|
+
e[50] || (e[50] = R("span", { class: "unit" }, "°C", -1))
|
|
21098
21098
|
]),
|
|
21099
21099
|
R("td", wW, [
|
|
21100
21100
|
S0(I0(j.precipSum), 1),
|
|
21101
|
-
e[
|
|
21101
|
+
e[51] || (e[51] = R("span", { class: "unit" }, "mm", -1))
|
|
21102
21102
|
]),
|
|
21103
21103
|
R("td", LW, [
|
|
21104
21104
|
S0(I0(j.precipRainSum), 1),
|
|
21105
|
-
e[
|
|
21105
|
+
e[52] || (e[52] = R("span", { class: "unit" }, "mm", -1))
|
|
21106
21106
|
]),
|
|
21107
21107
|
R("td", mW, [
|
|
21108
21108
|
S0(I0(j.precipSnowfallSum), 1),
|
|
21109
|
-
e[
|
|
21109
|
+
e[53] || (e[53] = R("span", { class: "unit" }, "mm", -1))
|
|
21110
21110
|
]),
|
|
21111
21111
|
R("td", RW, [
|
|
21112
21112
|
R("span", null, I0(j.windSpeedMax), 1),
|
|
21113
|
-
e[
|
|
21113
|
+
e[54] || (e[54] = R("span", { class: "unit" }, "kts", -1)),
|
|
21114
21114
|
!isNaN(j.windSpeedDir) && !isNaN(j.windSpeedMax) ? (L0(), m0("img", {
|
|
21115
21115
|
key: 0,
|
|
21116
21116
|
class: "iconfont icon",
|
|
@@ -21120,11 +21120,11 @@ function o8(A, e, t, o, b, M) {
|
|
|
21120
21120
|
]),
|
|
21121
21121
|
R("td", NW, [
|
|
21122
21122
|
R("span", null, I0(j.gustSpeedMax), 1),
|
|
21123
|
-
e[
|
|
21123
|
+
e[55] || (e[55] = R("span", { class: "unit" }, "kts", -1))
|
|
21124
21124
|
]),
|
|
21125
21125
|
R("td", yW, [
|
|
21126
21126
|
R("span", null, I0(j.windWaveHeight), 1),
|
|
21127
|
-
e[
|
|
21127
|
+
e[56] || (e[56] = R("span", { class: "unit" }, "m", -1)),
|
|
21128
21128
|
!isNaN(j.windWaveDir) && !isNaN(j.windWaveHeight) ? (L0(), m0("img", {
|
|
21129
21129
|
key: 0,
|
|
21130
21130
|
class: "iconfont icon",
|
|
@@ -21134,7 +21134,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21134
21134
|
]),
|
|
21135
21135
|
R("td", FW, [
|
|
21136
21136
|
R("span", null, I0(j.swellWaveHeight), 1),
|
|
21137
|
-
e[
|
|
21137
|
+
e[57] || (e[57] = R("span", { class: "unit" }, "m", -1)),
|
|
21138
21138
|
!isNaN(j.swellWaveDir) && !isNaN(j.swellWaveHeight) ? (L0(), m0("img", {
|
|
21139
21139
|
key: 0,
|
|
21140
21140
|
class: "iconfont icon",
|
|
@@ -21144,7 +21144,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21144
21144
|
]),
|
|
21145
21145
|
R("td", UW, [
|
|
21146
21146
|
R("span", null, I0(j.sigWaveHeight), 1),
|
|
21147
|
-
e[
|
|
21147
|
+
e[58] || (e[58] = R("span", { class: "unit" }, "m", -1)),
|
|
21148
21148
|
!isNaN(j.sigWaveDir) && !isNaN(j.sigWaveHeight) ? (L0(), m0("img", {
|
|
21149
21149
|
key: 0,
|
|
21150
21150
|
class: "iconfont icon",
|
|
@@ -21155,7 +21155,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21155
21155
|
]))), 128))
|
|
21156
21156
|
])
|
|
21157
21157
|
])
|
|
21158
|
-
])) : (l0 = b.loading) != null && l0.daysTable ? (L0(), m0("div", XW, [...e[
|
|
21158
|
+
])) : (l0 = b.loading) != null && l0.daysTable ? (L0(), m0("div", XW, [...e[61] || (e[61] = [
|
|
21159
21159
|
R("img", {
|
|
21160
21160
|
style: { height: "200px" },
|
|
21161
21161
|
src: Qo
|
|
@@ -21164,12 +21164,12 @@ function o8(A, e, t, o, b, M) {
|
|
|
21164
21164
|
])) : Y2("", !0),
|
|
21165
21165
|
b.menuIndex === 1 || b.menuIndex === 3 ? (L0(), m0("div", HW, [
|
|
21166
21166
|
(L = b.position) != null && L.name && t.token && !((U = b.loading) != null && U.hourlyTable) ? (L0(), m0("div", PW, [
|
|
21167
|
-
e[
|
|
21167
|
+
e[63] || (e[63] = R("div", { class: "flex-between date" }, [
|
|
21168
21168
|
R("div", { class: "" }, "Hourly Forecast"),
|
|
21169
21169
|
R("div", { style: { "font-size": "12px", "font-weight": "normal", color: "var(--idm-info-color)" } }, "* In sea conditions with swells or waves higher than 1.5 metres and wind forces exceeding Beaufort scale 4, values are marked as yellow.")
|
|
21170
21170
|
], -1)),
|
|
21171
21171
|
R("table", kW, [
|
|
21172
|
-
e[
|
|
21172
|
+
e[62] || (e[62] = R("thead", null, [
|
|
21173
21173
|
R("tr", { class: "day tr-title" }, [
|
|
21174
21174
|
R("th", {
|
|
21175
21175
|
rowspan: "2",
|
|
@@ -21461,7 +21461,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21461
21461
|
], 2))), 128))
|
|
21462
21462
|
])
|
|
21463
21463
|
])
|
|
21464
|
-
])) : (Q = b.loading) != null && Q.hourlyTable ? (L0(), m0("div", gw, [...e[
|
|
21464
|
+
])) : (Q = b.loading) != null && Q.hourlyTable ? (L0(), m0("div", gw, [...e[64] || (e[64] = [
|
|
21465
21465
|
R("img", {
|
|
21466
21466
|
style: { height: "200px" },
|
|
21467
21467
|
src: Qo
|
|
@@ -21474,7 +21474,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21474
21474
|
R("div", {
|
|
21475
21475
|
id: "seasonal-title",
|
|
21476
21476
|
class: "title flex-start",
|
|
21477
|
-
onClick: e[
|
|
21477
|
+
onClick: e[11] || (e[11] = (j) => b.seasonalData.showMonths = !b.seasonalData.showMonths)
|
|
21478
21478
|
}, [
|
|
21479
21479
|
R("div", Rw, I0((q0 = (d0 = (A0 = b.currentMonth) == null ? void 0 : A0.month) == null ? void 0 : d0.split("-")) == null ? void 0 : q0[0]) + " " + I0((x0 = (R0 = (W0 = b.currentMonth) == null ? void 0 : W0.month) == null ? void 0 : R0.split("-")) == null ? void 0 : x0[1]), 1),
|
|
21480
21480
|
R("div", Cw, [
|
|
@@ -21500,28 +21500,28 @@ function o8(A, e, t, o, b, M) {
|
|
|
21500
21500
|
[jz, b.seasonalData.showMonths]
|
|
21501
21501
|
])
|
|
21502
21502
|
]),
|
|
21503
|
-
e[
|
|
21504
|
-
e[
|
|
21503
|
+
e[65] || (e[65] = R("div", { id: "temperature-echart" }, null, -1)),
|
|
21504
|
+
e[66] || (e[66] = R("div", { id: "wind-precip-echart" }, null, -1))
|
|
21505
21505
|
]),
|
|
21506
21506
|
R("div", Qw, [
|
|
21507
21507
|
R("div", Ew, I0((X = b.currentMonth) == null ? void 0 : X.month) + " Summary", 1),
|
|
21508
|
-
e[
|
|
21508
|
+
e[67] || (e[67] = R("div", { class: "label" }, "Temperature", -1)),
|
|
21509
21509
|
R("div", Fw, "Avg High Temp: " + I0(b.seasonalData.minHighTemp) + " to " + I0(b.seasonalData.maxHighTemp) + " °C", 1),
|
|
21510
21510
|
R("div", Iw, "Avg Low Temp: " + I0(b.seasonalData.minLowTemp) + " to " + I0(b.seasonalData.maxLowTemp) + " °C", 1),
|
|
21511
21511
|
R("div", xw, "Hottest Day: " + I0(b.seasonalData.hottestDay), 1),
|
|
21512
21512
|
R("div", Uw, "Coldest Day: " + I0(b.seasonalData.coldestDay), 1),
|
|
21513
|
-
e[
|
|
21513
|
+
e[68] || (e[68] = R("div", { class: "label" }, "Precipitation", -1)),
|
|
21514
21514
|
R("div", Dw, "Light (<10mm): " + I0((a0 = (q = (M0 = b.seasonalData) == null ? void 0 : M0.precip) == null ? void 0 : q.filter((j) => j < 10)) == null ? void 0 : a0.length) + " days", 1),
|
|
21515
21515
|
R("div", Tw, "Moderate (<=24.9mm): " + I0((B0 = (b0 = (v0 = b.seasonalData) == null ? void 0 : v0.precip) == null ? void 0 : b0.filter((j) => j >= 10 && j < 24.9)) == null ? void 0 : B0.length) + " days", 1),
|
|
21516
21516
|
R("div", Xw, "Heavy (<=49.9mm): " + I0((_0 = (i0 = (U0 = b.seasonalData) == null ? void 0 : U0.precip) == null ? void 0 : i0.filter((j) => j >= 24.9 && j < 49.9)) == null ? void 0 : _0.length) + " days", 1),
|
|
21517
21517
|
R("div", Sw, "Rainstorm (<=99.9mm): " + I0((i1 = (l1 = (K0 = b.seasonalData) == null ? void 0 : K0.precip) == null ? void 0 : l1.filter((j) => j >= 49.9 && j < 99.9)) == null ? void 0 : i1.length) + " days", 1),
|
|
21518
21518
|
R("div", Hw, "Heavy Rainstorm (>=100mm): " + I0((p1 = (V0 = (A1 = b.seasonalData) == null ? void 0 : A1.precip) == null ? void 0 : V0.filter((j) => j >= 100)) == null ? void 0 : p1.length) + " days", 1),
|
|
21519
|
-
e[
|
|
21519
|
+
e[69] || (e[69] = R("div", { class: "label" }, "Wind", -1)),
|
|
21520
21520
|
R("div", Pw, "Mean Wind: " + I0(M.roundPrecision(b.seasonalData.meanWind, 1)) + " kts", 1),
|
|
21521
21521
|
R("div", kw, "Windiest Day: " + I0(b.seasonalData.windiestDay) + " ( " + I0(b.seasonalData.maxWindSpeed) + "kts )", 1),
|
|
21522
21522
|
R("div", _w, "Dominant Wind Dir: " + I0(b.seasonalData.dominantWind), 1)
|
|
21523
21523
|
])
|
|
21524
|
-
])) : (Q0 = b.loading) != null && Q0.seasonalEchart ? (L0(), m0("div", Kw, [...e[
|
|
21524
|
+
])) : (Q0 = b.loading) != null && Q0.seasonalEchart ? (L0(), m0("div", Kw, [...e[70] || (e[70] = [
|
|
21525
21525
|
R("img", {
|
|
21526
21526
|
style: { height: "200px" },
|
|
21527
21527
|
src: Qo
|
|
@@ -21531,7 +21531,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21531
21531
|
]),
|
|
21532
21532
|
mA(G, {
|
|
21533
21533
|
modelValue: b.showFollowDialog,
|
|
21534
|
-
"onUpdate:modelValue": e[
|
|
21534
|
+
"onUpdate:modelValue": e[14] || (e[14] = (j) => b.showFollowDialog = j),
|
|
21535
21535
|
title: b.followDialogTitle,
|
|
21536
21536
|
modal: !1,
|
|
21537
21537
|
width: "440",
|
|
@@ -21544,22 +21544,22 @@ function o8(A, e, t, o, b, M) {
|
|
|
21544
21544
|
R("div", null, [
|
|
21545
21545
|
R("div", {
|
|
21546
21546
|
class: "iconfont close-btn",
|
|
21547
|
-
onClick: e[
|
|
21547
|
+
onClick: e[12] || (e[12] = (j) => b.showFollowDialog = !1)
|
|
21548
21548
|
}, ""),
|
|
21549
21549
|
b.position.portId ? (L0(), m0("div", jw, [
|
|
21550
|
-
e[
|
|
21550
|
+
e[71] || (e[71] = R("span", { class: "label" }, "Port:", -1)),
|
|
21551
21551
|
R("span", Yw, I0(b.position.name), 1)
|
|
21552
21552
|
])) : Y2("", !0),
|
|
21553
21553
|
R("div", Vw, [
|
|
21554
|
-
e[
|
|
21554
|
+
e[72] || (e[72] = R("span", { class: "label" }, "Postion:", -1)),
|
|
21555
21555
|
R("span", Jw, I0(this.computeLat(this.position.lat) + ", " + this.computeLng(this.position.lng)), 1)
|
|
21556
21556
|
]),
|
|
21557
21557
|
R("div", Zw, [
|
|
21558
|
-
e[
|
|
21558
|
+
e[73] || (e[73] = R("span", { class: "label" }, "Remark:", -1)),
|
|
21559
21559
|
b.followItem ? (L0(), m0("span", $w, I0(b.position.remark || "-"), 1)) : (L0(), Gt(g, {
|
|
21560
21560
|
key: 0,
|
|
21561
21561
|
modelValue: b.followRemark,
|
|
21562
|
-
"onUpdate:modelValue": e[
|
|
21562
|
+
"onUpdate:modelValue": e[13] || (e[13] = (j) => b.followRemark = j),
|
|
21563
21563
|
class: "text-input"
|
|
21564
21564
|
}, null, 8, ["modelValue"]))
|
|
21565
21565
|
]),
|
|
@@ -21570,7 +21570,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21570
21570
|
plain: "",
|
|
21571
21571
|
onClick: M.handleClickFollow
|
|
21572
21572
|
}, {
|
|
21573
|
-
default: d2(() => [...e[
|
|
21573
|
+
default: d2(() => [...e[74] || (e[74] = [
|
|
21574
21574
|
S0("Remove", -1)
|
|
21575
21575
|
])]),
|
|
21576
21576
|
_: 1
|
|
@@ -21579,7 +21579,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21579
21579
|
type: "primary",
|
|
21580
21580
|
onClick: M.handleClickFollow
|
|
21581
21581
|
}, {
|
|
21582
|
-
default: d2(() => [...e[
|
|
21582
|
+
default: d2(() => [...e[75] || (e[75] = [
|
|
21583
21583
|
S0("Confirm", -1)
|
|
21584
21584
|
])]),
|
|
21585
21585
|
_: 1
|
|
@@ -21591,7 +21591,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21591
21591
|
}, 8, ["modelValue", "title"]),
|
|
21592
21592
|
mA(G, {
|
|
21593
21593
|
modelValue: b.showDownloadDialog,
|
|
21594
|
-
"onUpdate:modelValue": e[
|
|
21594
|
+
"onUpdate:modelValue": e[18] || (e[18] = (j) => b.showDownloadDialog = j),
|
|
21595
21595
|
title: "Please select the language for the report",
|
|
21596
21596
|
modal: !1,
|
|
21597
21597
|
width: "440",
|
|
@@ -21604,13 +21604,13 @@ function o8(A, e, t, o, b, M) {
|
|
|
21604
21604
|
R("div", null, [
|
|
21605
21605
|
R("div", {
|
|
21606
21606
|
class: "iconfont close-btn",
|
|
21607
|
-
onClick: e[
|
|
21607
|
+
onClick: e[15] || (e[15] = (j) => b.showDownloadDialog = !1)
|
|
21608
21608
|
}, ""),
|
|
21609
21609
|
R("div", e8, [
|
|
21610
|
-
e[
|
|
21610
|
+
e[76] || (e[76] = R("span", { class: "label" }, "Language:", -1)),
|
|
21611
21611
|
mA(J, {
|
|
21612
21612
|
modelValue: b.locale,
|
|
21613
|
-
"onUpdate:modelValue": e[
|
|
21613
|
+
"onUpdate:modelValue": e[16] || (e[16] = (j) => b.locale = j),
|
|
21614
21614
|
placeholder: "Select",
|
|
21615
21615
|
style: { width: "200px" }
|
|
21616
21616
|
}, {
|
|
@@ -21631,18 +21631,18 @@ function o8(A, e, t, o, b, M) {
|
|
|
21631
21631
|
mA(x, {
|
|
21632
21632
|
type: "info",
|
|
21633
21633
|
plain: "",
|
|
21634
|
-
onClick: e[
|
|
21634
|
+
onClick: e[17] || (e[17] = (j) => b.showDownloadDialog = !1)
|
|
21635
21635
|
}, {
|
|
21636
|
-
default: d2(() => [...e[
|
|
21636
|
+
default: d2(() => [...e[77] || (e[77] = [
|
|
21637
21637
|
S0("Cancel", -1)
|
|
21638
21638
|
])]),
|
|
21639
21639
|
_: 1
|
|
21640
21640
|
}),
|
|
21641
21641
|
mA(x, {
|
|
21642
21642
|
type: "primary",
|
|
21643
|
-
onClick: M.
|
|
21643
|
+
onClick: M.handleDownloadPDF1
|
|
21644
21644
|
}, {
|
|
21645
|
-
default: d2(() => [...e[
|
|
21645
|
+
default: d2(() => [...e[78] || (e[78] = [
|
|
21646
21646
|
S0("Download", -1)
|
|
21647
21647
|
])]),
|
|
21648
21648
|
_: 1
|
|
@@ -21654,7 +21654,7 @@ function o8(A, e, t, o, b, M) {
|
|
|
21654
21654
|
}, 8, ["modelValue"])
|
|
21655
21655
|
]);
|
|
21656
21656
|
}
|
|
21657
|
-
const b8 = /* @__PURE__ */ Nr(ng, [["render", o8], ["__scopeId", "data-v-
|
|
21657
|
+
const b8 = /* @__PURE__ */ Nr(ng, [["render", o8], ["__scopeId", "data-v-fa7e8618"]]), lL = {
|
|
21658
21658
|
install(A) {
|
|
21659
21659
|
A.component("SpotWeather", b8);
|
|
21660
21660
|
}
|
package/dist/index.js
CHANGED