@idmwx/idmui-report 4.8.8 → 4.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Route/src/orm.vue.d.ts +1 -0
- package/dist/index.js +72 -67
- package/dist/index.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -49,6 +49,7 @@ declare namespace _sfc_main {
|
|
|
49
49
|
function computeDay(): (plan: any, index?: number) => number;
|
|
50
50
|
function computeSuspend(): (speed: any) => number | "-";
|
|
51
51
|
function computeModel(): (speed: any) => string;
|
|
52
|
+
function computeCog(): (cog: any) => any;
|
|
52
53
|
}
|
|
53
54
|
namespace watch {
|
|
54
55
|
export namespace plan_1 {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LngLatHelper as
|
|
1
|
+
import { LngLatHelper as ft } from "@idm-plugin/geo";
|
|
2
2
|
import $ from "moment";
|
|
3
3
|
import { openBlock as n, createElementBlock as d, createStaticVNode as it, createElementVNode as t, toDisplayString as e, createCommentVNode as y, markRaw as vd, resolveComponent as F, createVNode as E, createTextVNode as g, Fragment as U, renderList as et, normalizeStyle as ei, shallowRef as ka, withDirectives as ha, vShow as Ra, withCtx as as, normalizeClass as z, createBlock as il } from "vue";
|
|
4
4
|
import * as Td from "echarts";
|
|
@@ -145,12 +145,12 @@ const ir = {
|
|
|
145
145
|
computed: {
|
|
146
146
|
computeLat() {
|
|
147
147
|
return function(i) {
|
|
148
|
-
return
|
|
148
|
+
return ft.lat2pretty(i, 2);
|
|
149
149
|
};
|
|
150
150
|
},
|
|
151
151
|
computeLng() {
|
|
152
152
|
return function(i) {
|
|
153
|
-
return
|
|
153
|
+
return ft.lng2pretty(i, 2);
|
|
154
154
|
};
|
|
155
155
|
},
|
|
156
156
|
computeLTime() {
|
|
@@ -160,7 +160,7 @@ const ir = {
|
|
|
160
160
|
},
|
|
161
161
|
computeTZ() {
|
|
162
162
|
return function(i = "0") {
|
|
163
|
-
return
|
|
163
|
+
return ft.prettyTimeZoneOffset(i);
|
|
164
164
|
};
|
|
165
165
|
},
|
|
166
166
|
roundPrecision() {
|
|
@@ -213,7 +213,7 @@ const ir = {
|
|
|
213
213
|
report: {
|
|
214
214
|
handler() {
|
|
215
215
|
var i, l, s, D;
|
|
216
|
-
(l = (i = this.report) == null ? void 0 : i.extend) != null && l.data && (this.loading = !1, this.localTZ =
|
|
216
|
+
(l = (i = this.report) == null ? void 0 : i.extend) != null && l.data && (this.loading = !1, this.localTZ = ft.guessTimeZoneOffset((s = this.report) == null ? void 0 : s.lng, (D = this.report) == null ? void 0 : D.lat), this.$nextTick(() => {
|
|
217
217
|
this.initEchart();
|
|
218
218
|
}));
|
|
219
219
|
},
|
|
@@ -681,8 +681,8 @@ const Yr = {
|
|
|
681
681
|
lng: {
|
|
682
682
|
handler() {
|
|
683
683
|
if (this.lng !== void 0) {
|
|
684
|
-
const i =
|
|
685
|
-
this.pretty =
|
|
684
|
+
const i = ft.convertToStdLng(this.lng);
|
|
685
|
+
this.pretty = ft.lng2pretty(i).pretty;
|
|
686
686
|
}
|
|
687
687
|
},
|
|
688
688
|
immediate: !0
|
|
@@ -716,7 +716,7 @@ const hr = {
|
|
|
716
716
|
watch: {
|
|
717
717
|
lat: {
|
|
718
718
|
handler() {
|
|
719
|
-
this.lat !== void 0 && (this.pretty =
|
|
719
|
+
this.lat !== void 0 && (this.pretty = ft.lat2pretty(this.lat).pretty);
|
|
720
720
|
},
|
|
721
721
|
immediate: !0
|
|
722
722
|
}
|
|
@@ -865,7 +865,7 @@ const Br = {
|
|
|
865
865
|
computeLTime() {
|
|
866
866
|
return function(i, l, s) {
|
|
867
867
|
let D = 0;
|
|
868
|
-
return s && l && (D =
|
|
868
|
+
return s && l && (D = ft.guessTimeZoneOffset(l, s)), `${$(i).utcOffset(D).format("MMM-DD/HHmm")}LT`;
|
|
869
869
|
};
|
|
870
870
|
},
|
|
871
871
|
computeTimeDiff() {
|
|
@@ -954,6 +954,11 @@ const Br = {
|
|
|
954
954
|
const l = i == null ? void 0 : i.source;
|
|
955
955
|
return ["ec", "cmems"].includes(l == null ? void 0 : l.toLowerCase()) ? "The forecast data is sourced from EC" : `The forecast data is sourced from ${l}`;
|
|
956
956
|
};
|
|
957
|
+
},
|
|
958
|
+
computeCog() {
|
|
959
|
+
return function(i) {
|
|
960
|
+
return isNaN(i) ? "-" : ft.padNumber(i, 3, 0);
|
|
961
|
+
};
|
|
957
962
|
}
|
|
958
963
|
},
|
|
959
964
|
watch: {
|
|
@@ -1399,7 +1404,7 @@ const Br = {
|
|
|
1399
1404
|
class: "degree-box"
|
|
1400
1405
|
}, S1 = { key: 1 };
|
|
1401
1406
|
function Q1(i, l, s, D, r, a) {
|
|
1402
|
-
var A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
1407
|
+
var A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss;
|
|
1403
1408
|
const c = F("Brand"), M = F("Loading"), I = F("Lat"), p = F("Lng"), f = F("ElTooltip"), u = F("Editor");
|
|
1404
1409
|
return n(), d("div", Lr, [
|
|
1405
1410
|
t("div", Zr, [
|
|
@@ -1493,7 +1498,7 @@ function Q1(i, l, s, D, r, a) {
|
|
|
1493
1498
|
}, null, 8, gM)
|
|
1494
1499
|
]),
|
|
1495
1500
|
t("div", uM, [
|
|
1496
|
-
l[19] || (l[19] = it('<div class="legend" data-v-
|
|
1501
|
+
l[19] || (l[19] = it('<div class="legend" data-v-db1b4630><label style="background-color:var(--idm-dangerous);" data-v-db1b4630></label><span data-v-db1b4630>Dangerous</span></div><div class="legend" data-v-db1b4630><label style="background-color:var(--idm-severe);" data-v-db1b4630></label><span data-v-db1b4630>Severe</span></div><div class="legend" data-v-db1b4630><label style="background-color:var(--idm-heavy);" data-v-db1b4630></label><span data-v-db1b4630>Heavy</span></div>', 3)),
|
|
1497
1502
|
t("div", cM, [
|
|
1498
1503
|
l[16] || (l[16] = t("b", { class: "route1" }, null, -1)),
|
|
1499
1504
|
t("span", {
|
|
@@ -1512,7 +1517,7 @@ function Q1(i, l, s, D, r, a) {
|
|
|
1512
1517
|
})
|
|
1513
1518
|
}, e((N = (qt = (Kt = (h = (Xt = s.plan) == null ? void 0 : Xt.speeds) == null ? void 0 : h[1]) == null ? void 0 : Kt.speed) == null ? void 0 : qt.lane) == null ? void 0 : N.name), 1)
|
|
1514
1519
|
])) : y("", !0),
|
|
1515
|
-
((
|
|
1520
|
+
((jt = (Mt = s.plan) == null ? void 0 : Mt.speeds) == null ? void 0 : jt.length) > 2 ? (n(), d("div", AM, [
|
|
1516
1521
|
l[18] || (l[18] = t("b", { class: "route3" }, null, -1)),
|
|
1517
1522
|
t("span", {
|
|
1518
1523
|
class: "btn",
|
|
@@ -1706,7 +1711,7 @@ function Q1(i, l, s, D, r, a) {
|
|
|
1706
1711
|
}, null, 40, KM))
|
|
1707
1712
|
]),
|
|
1708
1713
|
t("div", qM, [
|
|
1709
|
-
l[51] || (l[51] = it('<div class="major-header" data-v-
|
|
1714
|
+
l[51] || (l[51] = it('<div class="major-header" data-v-db1b4630><div class="cell-item flex" style="flex:1.5;" data-v-db1b4630>Major waypoint</div><div class="cell-item flex" data-v-db1b4630>Time</div><div class="cell-item flex" data-v-db1b4630>Nav</div><div class="cell-item flex" data-v-db1b4630>Dist</div><div class="cell-item flex" data-v-db1b4630>SOG/COG</div><div class="cell-item flex" data-v-db1b4630>Memo</div></div>', 1)),
|
|
1710
1715
|
t("div", $M, [
|
|
1711
1716
|
(ml = (bl = s.plan) == null ? void 0 : bl.speeds) != null && ml.length ? (n(!0), d(U, { key: 0 }, et(a.computeMajorPoints((Yl = (wl = (Ol = (El = s.plan) == null ? void 0 : El.speeds) == null ? void 0 : Ol[r.speedIndex]) == null ? void 0 : wl.speed) == null ? void 0 : Yl.argv, (Fl = (Rl = (hl = (w = (kl = s.plan) == null ? void 0 : kl.speeds) == null ? void 0 : w[r.speedIndex]) == null ? void 0 : hl.speed) == null ? void 0 : Rl.sample) == null ? void 0 : Fl.wps), (x, Zt) => (n(), d("div", {
|
|
1712
1717
|
key: Zt,
|
|
@@ -1732,7 +1737,7 @@ function Q1(i, l, s, D, r, a) {
|
|
|
1732
1737
|
]),
|
|
1733
1738
|
Zt ? (n(), d("div", n1, e(a.computeNav(x)), 1)) : (n(), d("div", d1)),
|
|
1734
1739
|
Zt ? (n(), d("div", a1, e(a.roundPrecision(x.distanceFromStart, 1)), 1)) : (n(), d("div", r1)),
|
|
1735
|
-
Zt ? (n(), d("div", M1, e(a.roundPrecision(x.avgSpd ?? x.speed, 2)) + " / " + e(a.
|
|
1740
|
+
Zt ? (n(), d("div", M1, e(a.roundPrecision(x.avgSpd ?? x.speed, 2)) + " / " + e(a.computeCog(x.bearing)), 1)) : (n(), d("div", D1)),
|
|
1736
1741
|
Zt ? (n(), d("div", N1, e(a.computeMemo(x)), 1)) : (n(), d("div", I1))
|
|
1737
1742
|
]))), 128)) : y("", !0)
|
|
1738
1743
|
])
|
|
@@ -1884,7 +1889,7 @@ function Q1(i, l, s, D, r, a) {
|
|
|
1884
1889
|
])
|
|
1885
1890
|
]);
|
|
1886
1891
|
}
|
|
1887
|
-
const Oa = /* @__PURE__ */ sl(Br, [["render", Q1], ["__scopeId", "data-v-
|
|
1892
|
+
const Oa = /* @__PURE__ */ sl(Br, [["render", Q1], ["__scopeId", "data-v-db1b4630"]]);
|
|
1888
1893
|
const k1 = {
|
|
1889
1894
|
name: "RouteReport",
|
|
1890
1895
|
components: {
|
|
@@ -2210,12 +2215,12 @@ function qD(i, l, s, D, r, a) {
|
|
|
2210
2215
|
], -1)),
|
|
2211
2216
|
t("tbody", null, [
|
|
2212
2217
|
(n(!0), d(U, null, et((Yt = s.plan) == null ? void 0 : Yt.speeds, (k, Ut) => {
|
|
2213
|
-
var Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
2218
|
+
var Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl;
|
|
2214
2219
|
return n(), d("tr", { key: Ut }, [
|
|
2215
2220
|
t("td", null, "Route " + e(Ut + 1), 1),
|
|
2216
2221
|
t("td", null, e(a.roundPrecision((Lt = k.speed) == null ? void 0 : Lt.distance, 0)), 1),
|
|
2217
2222
|
t("td", null, e(`${((_t = k.speed) == null ? void 0 : _t.label) ?? "CP"} ${((Xt = k.speed) == null ? void 0 : Xt.v0) ?? ((Kt = (h = k.speed) == null ? void 0 : h.cpCopy) == null ? void 0 : Kt.speed)}`), 1),
|
|
2218
|
-
t("td", null, e((N = (qt = k.speed) == null ? void 0 : qt.cpCopy) == null ? void 0 : N.fo) + " FO / " + e((
|
|
2223
|
+
t("td", null, e((N = (qt = k.speed) == null ? void 0 : qt.cpCopy) == null ? void 0 : N.fo) + " FO / " + e((jt = (Mt = k.speed) == null ? void 0 : Mt.cpCopy) == null ? void 0 : jt.dgo) + " DO", 1),
|
|
2219
2224
|
t("td", null, e(a.computeUTCTime((Z = k.speed) == null ? void 0 : Z.eta)), 1),
|
|
2220
2225
|
t("td", null, e(a.roundPrecision((Ht = k.speed) == null ? void 0 : Ht.avgSpeed, 2)) + " / " + e(a.roundPrecision((At = k.speed) == null ? void 0 : At.wxFactor, 2)) + " / " + e(a.roundPrecision((Jt = k.speed) == null ? void 0 : Jt.cFactor, 2)), 1),
|
|
2221
2226
|
t("td", null, e(a.roundPrecision(($t = k.speed) == null ? void 0 : $t.totalFoCons, 3)) + " FO /" + e(a.roundPrecision((tl = k.speed) == null ? void 0 : tl.totalDgoCons, 3)) + " DO", 1)
|
|
@@ -2311,7 +2316,7 @@ function qD(i, l, s, D, r, a) {
|
|
|
2311
2316
|
], -1)),
|
|
2312
2317
|
t("tbody", null, [
|
|
2313
2318
|
(n(!0), d(U, null, et((Gt = (Bt = (Wt = (Ct = s.plan) == null ? void 0 : Ct.speeds[0]) == null ? void 0 : Wt.speed) == null ? void 0 : Bt.sample) == null ? void 0 : Gt.hours, (k, Ut) => {
|
|
2314
|
-
var Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
2319
|
+
var Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl;
|
|
2315
2320
|
return n(), d("tr", {
|
|
2316
2321
|
key: Ut,
|
|
2317
2322
|
class: z(k.isDangerous ? "dangerous" : k.isSevere ? "severe" : k.isHeavy ? "heavy" : "")
|
|
@@ -2334,7 +2339,7 @@ function qD(i, l, s, D, r, a) {
|
|
|
2334
2339
|
(_t = (Lt = k.meteo) == null ? void 0 : Lt.wind) != null && _t.kts ? (n(), d("span", BD, e((h = (Xt = k.meteo) == null ? void 0 : Xt.wind) == null ? void 0 : h.direction), 1)) : (n(), d("span", LD, "-"))
|
|
2335
2340
|
]),
|
|
2336
2341
|
t("td", null, e(a.roundPrecision((qt = (Kt = k.meteo) == null ? void 0 : Kt.wind) == null ? void 0 : qt.kts, 1)), 1),
|
|
2337
|
-
t("td", null, e(a.roundPrecision((
|
|
2342
|
+
t("td", null, e(a.roundPrecision((jt = (Mt = (N = k.meteo) == null ? void 0 : N.wave) == null ? void 0 : Mt.wd) == null ? void 0 : jt.height, 1)), 1),
|
|
2338
2343
|
t("td", null, [
|
|
2339
2344
|
(At = (Ht = (Z = k.meteo) == null ? void 0 : Z.wave) == null ? void 0 : Ht.swell) != null && At.height ? (n(), d("span", ZD, e((tl = ($t = (Jt = k.meteo) == null ? void 0 : Jt.wave) == null ? void 0 : $t.swell) == null ? void 0 : tl.direction), 1)) : (n(), d("span", HD, "-"))
|
|
2340
2345
|
]),
|
|
@@ -2507,7 +2512,7 @@ const nN = {
|
|
|
2507
2512
|
// 经纬度转换
|
|
2508
2513
|
computedLngLat() {
|
|
2509
2514
|
return function(i, l) {
|
|
2510
|
-
const s =
|
|
2515
|
+
const s = ft.lat2pretty(i).pretty, D = ft.lng2pretty(l).pretty;
|
|
2511
2516
|
return `${s} ${D}`;
|
|
2512
2517
|
};
|
|
2513
2518
|
},
|
|
@@ -2584,7 +2589,7 @@ const nN = {
|
|
|
2584
2589
|
computedAbt4Spd() {
|
|
2585
2590
|
return function(i) {
|
|
2586
2591
|
var l, s, D;
|
|
2587
|
-
return (l = i.timeConclusion) != null && l.spdPercentage ?
|
|
2592
|
+
return (l = i.timeConclusion) != null && l.spdPercentage ? ft.roundPrecision(i.extend.cp.speed * (((s = i == null ? void 0 : i.timeConclusion) == null ? void 0 : s.spdOfAbout) / 100), 2) : (D = i == null ? void 0 : i.timeConclusion) == null ? void 0 : D.spdOfAbout;
|
|
2588
2593
|
};
|
|
2589
2594
|
}
|
|
2590
2595
|
},
|
|
@@ -3011,7 +3016,7 @@ function zc(i, l, s, D, r, a) {
|
|
|
3011
3016
|
], -1))
|
|
3012
3017
|
])) : y("", !0),
|
|
3013
3018
|
(n(!0), d(U, null, et((h = s.reportData) == null ? void 0 : h.segments, (N, Mt) => {
|
|
3014
|
-
var
|
|
3019
|
+
var jt, Z, Ht;
|
|
3015
3020
|
return n(), d("div", {
|
|
3016
3021
|
key: Mt,
|
|
3017
3022
|
class: "summary-seg"
|
|
@@ -3048,7 +3053,7 @@ function zc(i, l, s, D, r, a) {
|
|
|
3048
3053
|
l[24] || (l[24] = t("div", { class: "card-subtitle" }, [
|
|
3049
3054
|
t("span", null, "Time Lost/Gained: ")
|
|
3050
3055
|
], -1)),
|
|
3051
|
-
(
|
|
3056
|
+
(jt = N.goodWx) != null && jt.distance ? (n(), d("div", yI, [
|
|
3052
3057
|
a.computedTimeConclusion(N.timeConclusion).className === "success" ? (n(), d("i", AI, "")) : y("", !0),
|
|
3053
3058
|
a.computedTimeConclusion(N.timeConclusion).className === "error" ? (n(), d("i", vI, "")) : y("", !0),
|
|
3054
3059
|
t("span", null, e(a.computedTimeConclusion(N.timeConclusion).timeCon), 1)
|
|
@@ -3125,9 +3130,9 @@ function zc(i, l, s, D, r, a) {
|
|
|
3125
3130
|
t("span", null, e(N.extend.cp.dgo) + "mt ) ", 1)
|
|
3126
3131
|
]),
|
|
3127
3132
|
t("div", null, [
|
|
3128
|
-
(n(!0), d(U, null, et(r.segDetail[Mt], (
|
|
3133
|
+
(n(!0), d(U, null, et(r.segDetail[Mt], (jt, Z) => (n(), d("div", {
|
|
3129
3134
|
key: "seg" + Z
|
|
3130
|
-
}, e(`${
|
|
3135
|
+
}, e(`${jt.port1} (${jt.fullTime1}) to ${jt.port2} (${jt.fullTime2})`), 1))), 128))
|
|
3131
3136
|
])
|
|
3132
3137
|
])
|
|
3133
3138
|
]))), 128))
|
|
@@ -3144,7 +3149,7 @@ function zc(i, l, s, D, r, a) {
|
|
|
3144
3149
|
])
|
|
3145
3150
|
]),
|
|
3146
3151
|
(n(!0), d(U, null, et((qt = s.reportData) == null ? void 0 : qt.segments, (N, Mt) => {
|
|
3147
|
-
var
|
|
3152
|
+
var jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss, x, Zt, Nl, Il, Sl, Ll, Zl, Hl, Jl, _l, Xl, Kl, ql, $l, te, le, ee, se, ie, oe, ne, de, ae, re, Me, De, Ne, Ie, ge, ue, ce, ye, Ae, ve, Te, xe, ze, pe, Ce, fe, je, Ue, be, me, Ee, Oe, we, Ye, Se, Qe, ke, he, Re, Fe, Ve, is, os, ns;
|
|
3148
3153
|
return n(), d("div", {
|
|
3149
3154
|
key: Mt,
|
|
3150
3155
|
class: "phase"
|
|
@@ -3190,7 +3195,7 @@ function zc(i, l, s, D, r, a) {
|
|
|
3190
3195
|
t("span", null, "GW Avg Daily Cons. FO*")
|
|
3191
3196
|
], -1)),
|
|
3192
3197
|
t("div", qI, [
|
|
3193
|
-
t("span", null, e(((
|
|
3198
|
+
t("span", null, e(((jt = N.goodWx) == null ? void 0 : jt.avgFoEcaCons) || "-") + " mt", 1)
|
|
3194
3199
|
]),
|
|
3195
3200
|
l[41] || (l[41] = t("div", { class: "card-subtitle" }, [
|
|
3196
3201
|
t("span", null, "Overall Avg Daily Cons. FO*")
|
|
@@ -3956,7 +3961,7 @@ const Cc = {
|
|
|
3956
3961
|
},
|
|
3957
3962
|
methods: {
|
|
3958
3963
|
getLonLat(i) {
|
|
3959
|
-
return `${i.degree}°${
|
|
3964
|
+
return `${i.degree}°${ft.roundPrecision(i.minute, 1)}′${i.direction}`;
|
|
3960
3965
|
},
|
|
3961
3966
|
checkData() {
|
|
3962
3967
|
var D, r, a, c;
|
|
@@ -3978,7 +3983,7 @@ const Cc = {
|
|
|
3978
3983
|
let p = M.type.charAt(0);
|
|
3979
3984
|
M.abbreviation = p;
|
|
3980
3985
|
const f = $(M.utc).utc().format("D-MMM");
|
|
3981
|
-
f !== s && (M.lastdate = f, s = f), p === "A" ? M.type = "" : p === "M" && (M.type = "*"), M.time = $(M.utc).utc().format("HH:mm[Z]"), M.lngPretty = this.getLonLat(
|
|
3986
|
+
f !== s && (M.lastdate = f, s = f), p === "A" ? M.type = "" : p === "M" && (M.type = "*"), M.time = $(M.utc).utc().format("HH:mm[Z]"), M.lngPretty = this.getLonLat(ft.lng2pretty(M.lng)), M.latPretty = this.getLonLat(ft.lat2pretty(M.lat));
|
|
3982
3987
|
}), this.summaryTable = i;
|
|
3983
3988
|
}
|
|
3984
3989
|
}
|
|
@@ -4276,12 +4281,12 @@ const kc = {
|
|
|
4276
4281
|
},
|
|
4277
4282
|
computeLng() {
|
|
4278
4283
|
return function(i) {
|
|
4279
|
-
return
|
|
4284
|
+
return ft.lng2pretty(i);
|
|
4280
4285
|
};
|
|
4281
4286
|
},
|
|
4282
4287
|
computeLat() {
|
|
4283
4288
|
return function(i) {
|
|
4284
|
-
return
|
|
4289
|
+
return ft.lat2pretty(i);
|
|
4285
4290
|
};
|
|
4286
4291
|
},
|
|
4287
4292
|
computeAbtSpeed() {
|
|
@@ -4709,7 +4714,7 @@ function lv(i, l, s, D, r, a) {
|
|
|
4709
4714
|
t("div", { class: "title" }, "Analysis Summary")
|
|
4710
4715
|
], -1)),
|
|
4711
4716
|
(n(!0), d(U, null, et((It = s.report) == null ? void 0 : It.segments, (o, q) => {
|
|
4712
|
-
var dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
4717
|
+
var dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt;
|
|
4713
4718
|
return n(), d("div", {
|
|
4714
4719
|
key: "summary" + q,
|
|
4715
4720
|
class: "segment-box flex-space"
|
|
@@ -4843,7 +4848,7 @@ function lv(i, l, s, D, r, a) {
|
|
|
4843
4848
|
l[35] || (l[35] = t("span", { class: "unit" }, "mt", -1))
|
|
4844
4849
|
])) : ((N = (qt = o == null ? void 0 : o.fuelConclusion) == null ? void 0 : qt.dgo) == null ? void 0 : N.conclusionStatus) === "Over" ? (n(), d("div", l0, [
|
|
4845
4850
|
l[36] || (l[36] = t("i", { class: "iconfont lost" }, "", -1)),
|
|
4846
|
-
t("span", e0, e((
|
|
4851
|
+
t("span", e0, e((jt = (Mt = o == null ? void 0 : o.fuelConclusion) == null ? void 0 : Mt.dgo) == null ? void 0 : jt.overCons), 1),
|
|
4847
4852
|
l[37] || (l[37] = t("span", { class: "unit" }, "mt", -1))
|
|
4848
4853
|
])) : (n(), d("div", s0, "N/A"))
|
|
4849
4854
|
])) : y("", !0)
|
|
@@ -4915,7 +4920,7 @@ function lv(i, l, s, D, r, a) {
|
|
|
4915
4920
|
t("div", { class: "title" }, "Speed and Consumption Calculation")
|
|
4916
4921
|
], -1)),
|
|
4917
4922
|
(n(!0), d(U, null, et(s.report.segments, (o, q) => {
|
|
4918
|
-
var dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
4923
|
+
var dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss, x, Zt, Nl, Il, Sl, Ll, Zl, Hl, Jl, _l, Xl, Kl, ql, $l, te, le, ee, se, ie, oe, ne, de, ae, re, Me, De, Ne, Ie, ge, ue, ce, ye, Ae, ve, Te, xe, ze, pe, Ce, fe, je, Ue, be, me, Ee, Oe, we, Ye, Se, Qe, ke, he, Re, Fe, Ve, is, os, ns, ol, rs, Ds, Ns, Is, gs, As, vs, Ts, xs, zs, ps, Cs, fs, js, Us, bs, ms, Es, Os, ws, Ys, Ss, Qs, ks, hs, Rs, Fs, Vs, Ps, Gs, Ws, Bs, Ls, Zs, Hs, T, Js, _s, Xs, Ks, qs, $s, ti, li, Ms, ii, oi, ni, di, ai, ri, Mi, Di, Ni, Ii, gi, ui, ci, yi, Ai, vi, Ti, xi, st, ds, zi, pi, Ci, fi, ji, Ui, bi, mi, ul, Ei, Oi, wi, Yi, nt, us, Si, Qi, ki, hi, Ri, Fi, Vi, Pi, Ql, Ji, _i, Xi, Ki, qi, $i, to, lo, eo, so, io, oo, no, ao, ro, Mo, Do, No, Io, go, uo, co, yo, Ao, vo, To, xo, zo, po, Co, fo, jo, Uo, bo, mo, Eo, Oo, wo, Yo, So, Qo, ko, ho, Ro, Fo, Vo, Po, Go, Wo, Bo, Lo, Zo, Ho, Jo, _o, Xo, Ko, qo, $o, tn, ln, en, sn, on, nn, dn, an, rn, Mn, Dn, Nn, In, gn, un, cn, yn, An, vn, Tn, xn, zn, pn, Cn, fn, jn, Un, bn, mn, En, On, wn, Yn, Sn, Qn, kn, hn, Rn, Fn, Vn, Pn, Gn, Wn, Bn, Ln, Zn, Hn, Jn, _n, Xn, Kn, qn, $n, td, ld, ed, sd, id, od, nd, dd;
|
|
4919
4924
|
return n(), d("div", {
|
|
4920
4925
|
key: q,
|
|
4921
4926
|
class: "segment-block"
|
|
@@ -4996,7 +5001,7 @@ function lv(i, l, s, D, r, a) {
|
|
|
4996
5001
|
t("td", f0, e(((Xt = (_t = o == null ? void 0 : o.goodWx) == null ? void 0 : _t.outEca) == null ? void 0 : Xt.avgFoCons) || "--"), 1),
|
|
4997
5002
|
t("td", j0, e(((Kt = (h = o == null ? void 0 : o.goodWx) == null ? void 0 : h.inEca) == null ? void 0 : Kt.avgFoCons) || "--"), 1),
|
|
4998
5003
|
t("td", null, e(((N = (qt = o == null ? void 0 : o.allWx) == null ? void 0 : qt.outEca) == null ? void 0 : N.avgFoCons) || "--"), 1),
|
|
4999
|
-
t("td", null, e(((
|
|
5004
|
+
t("td", null, e(((jt = (Mt = o == null ? void 0 : o.allWx) == null ? void 0 : Mt.inEca) == null ? void 0 : jt.avgFoCons) || "--"), 1)
|
|
5000
5005
|
]),
|
|
5001
5006
|
t("tr", null, [
|
|
5002
5007
|
l[53] || (l[53] = t("td", { class: "label" }, "DO/GO Consumption (mt)", -1)),
|
|
@@ -5785,17 +5790,17 @@ const sv = {
|
|
|
5785
5790
|
},
|
|
5786
5791
|
computeLng() {
|
|
5787
5792
|
return function(i) {
|
|
5788
|
-
return
|
|
5793
|
+
return ft.lng2pretty(i);
|
|
5789
5794
|
};
|
|
5790
5795
|
},
|
|
5791
5796
|
computeLat() {
|
|
5792
5797
|
return function(i) {
|
|
5793
|
-
return
|
|
5798
|
+
return ft.lat2pretty(i);
|
|
5794
5799
|
};
|
|
5795
5800
|
},
|
|
5796
5801
|
computePrecision() {
|
|
5797
5802
|
return function(i, l = 2, s = "0.0") {
|
|
5798
|
-
return i ?
|
|
5803
|
+
return i ? ft.roundPrecision(i, l) : s;
|
|
5799
5804
|
};
|
|
5800
5805
|
}
|
|
5801
5806
|
},
|
|
@@ -7377,7 +7382,7 @@ const MT = {
|
|
|
7377
7382
|
D.inventory.sample.hours.forEach((I, p) => {
|
|
7378
7383
|
a || (a = I), (!c || M) && (c = I, M = !1), a.segIndex === I.segIndex ? a.segLength = (a.segLength || 0) + 1 : (a = I, a.segLength = 1), c.noonLength = (c.noonLength || 0) + 1;
|
|
7379
7384
|
let f = I.type.charAt(0);
|
|
7380
|
-
["N", "M", "E"].includes(f) && (M = !0, c.dailyAvgCf = I.dailyAvgCf, c.avgSpdCalc = I.avgSpdCalc, c.distanceCalc = I.distanceCalc, c.noon && (c.noon.foCons = I.noon.foCons, c.noon.dgoCons = I.noon.dgoCons)), I.abbrev = f, f = f === "M" ? "*" : f === "A" ? "" : f, I.time = `${f} ${this.computeUTCTime(I.utc, "MMM-DD/HHmm[Z]")}`, I._lng =
|
|
7385
|
+
["N", "M", "E"].includes(f) && (M = !0, c.dailyAvgCf = I.dailyAvgCf, c.avgSpdCalc = I.avgSpdCalc, c.distanceCalc = I.distanceCalc, c.noon && (c.noon.foCons = I.noon.foCons, c.noon.dgoCons = I.noon.dgoCons)), I.abbrev = f, f = f === "M" ? "*" : f === "A" ? "" : f, I.time = `${f} ${this.computeUTCTime(I.utc, "MMM-DD/HHmm[Z]")}`, I._lng = ft.lng2pretty(I.lng), I._lat = ft.lat2pretty(I.lat), I.cp = r, I.goodWx = I.type === "BOSP" ? !1 : I.goodWx, i.push(I);
|
|
7381
7386
|
});
|
|
7382
7387
|
}), i.sort((D, r) => D.positionTime - r.positionTime), this.inventory = i;
|
|
7383
7388
|
}
|
|
@@ -8314,7 +8319,7 @@ const wx = {
|
|
|
8314
8319
|
// 经纬度转换
|
|
8315
8320
|
computedLngLat() {
|
|
8316
8321
|
return function(i, l) {
|
|
8317
|
-
return `${
|
|
8322
|
+
return `${ft.lat2pretty(i).pretty} / ${ft.lng2pretty(l).pretty}`;
|
|
8318
8323
|
};
|
|
8319
8324
|
},
|
|
8320
8325
|
computeNum() {
|
|
@@ -8476,7 +8481,7 @@ const wx = {
|
|
|
8476
8481
|
class: "formula-block"
|
|
8477
8482
|
}, r4 = { class: "flex-start" }, M4 = { class: "fraction flex-center" }, D4 = { class: "content" }, N4 = { key: 0 }, I4 = { key: 1 }, g4 = { class: "fraction flex-center" }, u4 = { class: "content" }, c4 = { key: 0 }, y4 = { key: 1 }, A4 = { class: "fraction flex-center" }, v4 = { class: "content" }, T4 = { class: "fraction flex-center" }, x4 = { class: "content" }, z4 = { class: "fraction flex-center" }, p4 = { class: "flex-start" }, C4 = { class: "fraction flex-center" }, f4 = { class: "fraction flex-center" }, j4 = { class: "fraction flex-center" }, U4 = { class: "flex-start" }, b4 = { class: "fraction flex-center" }, m4 = { class: "content" }, E4 = { key: 0 }, O4 = { key: 1 }, w4 = { class: "fraction flex-center" }, Y4 = { class: "content" }, S4 = { key: 0 }, Q4 = { key: 1 }, k4 = { class: "fraction flex-center" }, h4 = { class: "content" }, R4 = { class: "fraction flex-center" }, F4 = { class: "content" }, V4 = { class: "fraction flex-center" }, P4 = { class: "flex-start" }, G4 = { class: "fraction flex-center" }, W4 = { class: "fraction flex-center" }, B4 = { class: "fraction flex-center" }, L4 = { class: "section map-section" }, Z4 = { class: "report-map" }, H4 = ["src"];
|
|
8478
8483
|
function J4(i, l, s, D, r, a) {
|
|
8479
|
-
var f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
8484
|
+
var f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss, x, Zt, Nl, Il, Sl, Ll, Zl, Hl, Jl, _l, Xl, Kl, ql, $l, te, le, ee, se, ie, oe, ne, de, ae, re, Me, De, Ne, Ie, ge, ue, ce, ye, Ae, ve, Te, xe, ze, pe, Ce, fe, je, Ue, be, me, Ee, Oe, we, Ye, Se, Qe, ke, he, Re, Fe, Ve, is, os, ns, ol, rs, Ds, Ns, Is, gs, As, vs, Ts, xs, zs, ps, Cs, fs, js, Us, bs, ms, Es, Os, ws, Ys, Ss, Qs, ks, hs, Rs, Fs, Vs, Ps, Gs, Ws, Bs, Ls, Zs, Hs, T, Js, _s, Xs, Ks, qs, $s, ti, li, Ms, ii, oi, ni, di, ai, ri, Mi, Di, Ni, Ii, gi, ui, ci, yi, Ai, vi, Ti, xi;
|
|
8480
8485
|
const c = F("IdmBrand"), M = F("Editor"), I = F("EditableItem"), p = F("ElButton");
|
|
8481
8486
|
return n(), d("div", Yx, [
|
|
8482
8487
|
E(c, { name: "Voyage Deviation Report" }),
|
|
@@ -8565,7 +8570,7 @@ function J4(i, l, s, D, r, a) {
|
|
|
8565
8570
|
t("span", null, e(((Xt = (_t = s.report) == null ? void 0 : _t.cp) == null ? void 0 : Xt.dgo) ?? "—"), 1),
|
|
8566
8571
|
s.report.useWeather ? (n(), d("span", oz, [
|
|
8567
8572
|
l[21] || (l[21] = g(" | ")),
|
|
8568
|
-
(qt = (Kt = (h = s.report) == null ? void 0 : h.extend) == null ? void 0 : Kt.dgoAbtCons) != null && qt.percentage ? (n(), d("span", nz, "+" + e((
|
|
8573
|
+
(qt = (Kt = (h = s.report) == null ? void 0 : h.extend) == null ? void 0 : Kt.dgoAbtCons) != null && qt.percentage ? (n(), d("span", nz, "+" + e((jt = (Mt = (N = s.report) == null ? void 0 : N.extend) == null ? void 0 : Mt.dgoAbtCons) == null ? void 0 : jt.over) + "% , -" + e((At = (Ht = (Z = s.report) == null ? void 0 : Z.extend) == null ? void 0 : Ht.dgoAbtCons) == null ? void 0 : At.under) + "%", 1)) : (n(), d("span", dz, "+" + e((tl = ($t = (Jt = s.report) == null ? void 0 : Jt.extend) == null ? void 0 : $t.dgoAbtCons) == null ? void 0 : tl.overTolerance) + " , -" + e((al = (dl = (nl = s.report) == null ? void 0 : nl.extend) == null ? void 0 : dl.dgoAbtCons) == null ? void 0 : al.underTolerance), 1))
|
|
8569
8574
|
])) : y("", !0)
|
|
8570
8575
|
])
|
|
8571
8576
|
])
|
|
@@ -9362,7 +9367,7 @@ const X4 = {
|
|
|
9362
9367
|
// 经纬度转换
|
|
9363
9368
|
computedLngLat() {
|
|
9364
9369
|
return function(i, l) {
|
|
9365
|
-
const s =
|
|
9370
|
+
const s = ft.lat2pretty(i).pretty, D = ft.lng2pretty(l).pretty;
|
|
9366
9371
|
return `${s} / ${D}`;
|
|
9367
9372
|
};
|
|
9368
9373
|
},
|
|
@@ -9582,7 +9587,7 @@ const X4 = {
|
|
|
9582
9587
|
class: "summary-item"
|
|
9583
9588
|
}, qf = { class: "flex blue center" }, $f = { class: "flex blue center" }, tj = { class: "summary-item" }, lj = ["innerHTML"];
|
|
9584
9589
|
function ej(i, l, s, D, r, a) {
|
|
9585
|
-
var u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
9590
|
+
var u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss, x, Zt, Nl, Il, Sl, Ll, Zl, Hl, Jl, _l, Xl, Kl, ql, $l, te, le, ee, se, ie, oe, ne, de, ae, re, Me, De, Ne, Ie, ge, ue, ce, ye, Ae, ve, Te, xe, ze, pe, Ce, fe, je, Ue, be, me, Ee, Oe, we, Ye, Se, Qe, ke, he, Re, Fe, Ve, is, os, ns, ol, rs, Ds, Ns, Is, gs, As, vs, Ts, xs, zs, ps, Cs, fs, js, Us, bs, ms, Es, Os, ws, Ys, Ss, Qs, ks, hs, Rs, Fs, Vs, Ps, Gs, Ws, Bs, Ls, Zs, Hs, T, Js, _s, Xs, Ks, qs, $s, ti, li, Ms, ii, oi, ni, di, ai, ri, Mi, Di, Ni, Ii, gi, ui, ci, yi, Ai, vi, Ti, xi, st, ds, zi, pi, Ci, fi, ji, Ui, bi, mi, ul, Ei, Oi, wi, Yi;
|
|
9586
9591
|
const c = F("EditableItem"), M = F("CirclePlus"), I = F("ElIcon"), p = F("Remove"), f = F("Editor");
|
|
9587
9592
|
return n(), d("div", K4, [
|
|
9588
9593
|
l[140] || (l[140] = t("div", { class: "report-bg" }, [
|
|
@@ -9961,7 +9966,7 @@ function ej(i, l, s, D, r, a) {
|
|
|
9961
9966
|
l[41] || (l[41] = t("td", null, null, -1)),
|
|
9962
9967
|
t("td", null, e(((h = (Xt = r.extraData) == null ? void 0 : Xt.timeAnalysis) == null ? void 0 : h.portTime) ?? "—"), 1),
|
|
9963
9968
|
t("td", null, e(((N = (qt = (Kt = r.extraData) == null ? void 0 : Kt.consAnalysis) == null ? void 0 : qt.fo) == null ? void 0 : N.portCons) ?? "—"), 1),
|
|
9964
|
-
t("td", null, e(((Z = (
|
|
9969
|
+
t("td", null, e(((Z = (jt = (Mt = r.extraData) == null ? void 0 : Mt.consAnalysis) == null ? void 0 : jt.dgo) == null ? void 0 : Z.portCons) ?? "—"), 1),
|
|
9965
9970
|
l[42] || (l[42] = t("td", null, null, -1)),
|
|
9966
9971
|
l[43] || (l[43] = t("td", null, null, -1)),
|
|
9967
9972
|
l[44] || (l[44] = t("td", { class: "print-hidden" }, null, -1))
|
|
@@ -10364,17 +10369,17 @@ const ij = {
|
|
|
10364
10369
|
},
|
|
10365
10370
|
computeLat() {
|
|
10366
10371
|
return function(i) {
|
|
10367
|
-
return
|
|
10372
|
+
return ft.lat2pretty(i, 2);
|
|
10368
10373
|
};
|
|
10369
10374
|
},
|
|
10370
10375
|
computeLng() {
|
|
10371
10376
|
return function(i) {
|
|
10372
|
-
return
|
|
10377
|
+
return ft.lng2pretty(i, 2);
|
|
10373
10378
|
};
|
|
10374
10379
|
},
|
|
10375
10380
|
computeRoundPrecision() {
|
|
10376
10381
|
return function(i, l = 3) {
|
|
10377
|
-
return i === "-" ? "-" :
|
|
10382
|
+
return i === "-" ? "-" : ft.roundPrecision(i, l);
|
|
10378
10383
|
};
|
|
10379
10384
|
},
|
|
10380
10385
|
computeBlankHtml() {
|
|
@@ -10640,17 +10645,17 @@ const tU = {
|
|
|
10640
10645
|
},
|
|
10641
10646
|
computeLat() {
|
|
10642
10647
|
return function(i) {
|
|
10643
|
-
return
|
|
10648
|
+
return ft.lat2pretty(i, 2);
|
|
10644
10649
|
};
|
|
10645
10650
|
},
|
|
10646
10651
|
computeLng() {
|
|
10647
10652
|
return function(i) {
|
|
10648
|
-
return
|
|
10653
|
+
return ft.lng2pretty(i, 2);
|
|
10649
10654
|
};
|
|
10650
10655
|
},
|
|
10651
10656
|
computeRoundPrecision() {
|
|
10652
10657
|
return function(i, l = 3) {
|
|
10653
|
-
return i === "-" ? "-" :
|
|
10658
|
+
return i === "-" ? "-" : ft.roundPrecision(i, l);
|
|
10654
10659
|
};
|
|
10655
10660
|
},
|
|
10656
10661
|
computeBlankHtml() {
|
|
@@ -10861,14 +10866,14 @@ function XU(i, l, s, D, r, a) {
|
|
|
10861
10866
|
], -1)),
|
|
10862
10867
|
t("tbody", null, [
|
|
10863
10868
|
(n(!0), d(U, null, et(((Rt = (ht = (kt = s.report) == null ? void 0 : kt.pvsr) == null ? void 0 : ht.extend) == null ? void 0 : Rt.segments) || [], (h, Kt) => {
|
|
10864
|
-
var qt, N, Mt,
|
|
10869
|
+
var qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl;
|
|
10865
10870
|
return n(), d(U, { key: Kt }, [
|
|
10866
10871
|
t("tr", null, [
|
|
10867
10872
|
t("td", WU, e(Kt + 1), 1),
|
|
10868
10873
|
l[26] || (l[26] = t("td", null, "Stopped", -1)),
|
|
10869
10874
|
t("td", null, e(a.computeLat((qt = h == null ? void 0 : h.stop) == null ? void 0 : qt.lat).pretty) + " / " + e(a.computeLng((N = h == null ? void 0 : h.stop) == null ? void 0 : N.lng).pretty), 1),
|
|
10870
10875
|
t("td", null, e(a.computeUTCTime((Mt = h == null ? void 0 : h.stop) == null ? void 0 : Mt.date)), 1),
|
|
10871
|
-
t("td", null, e(a.computeRoundPrecision(((
|
|
10876
|
+
t("td", null, e(a.computeRoundPrecision(((jt = h == null ? void 0 : h.stop) == null ? void 0 : jt.foBrob) ?? "-")), 1),
|
|
10872
10877
|
t("td", null, e(a.computeRoundPrecision(((Z = h == null ? void 0 : h.stop) == null ? void 0 : Z.dgoBrob) ?? "-")), 1),
|
|
10873
10878
|
t("td", BU, e(a.computeRoundPrecision((h == null ? void 0 : h.time) ?? "-")), 1),
|
|
10874
10879
|
t("td", LU, e(a.computeRoundPrecision((h == null ? void 0 : h.foCons) ?? "-")), 1),
|
|
@@ -10937,7 +10942,7 @@ const qU = {
|
|
|
10937
10942
|
},
|
|
10938
10943
|
compareTime() {
|
|
10939
10944
|
return function(i, l) {
|
|
10940
|
-
return i && l ?
|
|
10945
|
+
return i && l ? ft.roundPrecision(i - l) : "-";
|
|
10941
10946
|
};
|
|
10942
10947
|
},
|
|
10943
10948
|
computeBlankHtml() {
|
|
@@ -11302,7 +11307,7 @@ const qb = {
|
|
|
11302
11307
|
},
|
|
11303
11308
|
compareTime() {
|
|
11304
11309
|
return function(i, l) {
|
|
11305
|
-
return i && l ?
|
|
11310
|
+
return i && l ? ft.roundPrecision(i - l) : "-";
|
|
11306
11311
|
};
|
|
11307
11312
|
},
|
|
11308
11313
|
computeSummary() {
|
|
@@ -14066,12 +14071,12 @@ const iO = {
|
|
|
14066
14071
|
},
|
|
14067
14072
|
computeLat() {
|
|
14068
14073
|
return function(i) {
|
|
14069
|
-
return
|
|
14074
|
+
return ft.lat2pretty(i, 2);
|
|
14070
14075
|
};
|
|
14071
14076
|
},
|
|
14072
14077
|
computeLng() {
|
|
14073
14078
|
return function(i) {
|
|
14074
|
-
return
|
|
14079
|
+
return ft.lng2pretty(i, 2);
|
|
14075
14080
|
};
|
|
14076
14081
|
},
|
|
14077
14082
|
computeBlankHtml() {
|
|
@@ -14219,7 +14224,7 @@ const iO = {
|
|
|
14219
14224
|
class: "flex-center summary-bg"
|
|
14220
14225
|
}, rw = { class: "fraction" }, Mw = { class: "fraction" }, Dw = { class: "fraction" }, Nw = { class: "section vessel-report-section" }, Iw = { class: "section-content" }, gw = ["rowspan"];
|
|
14221
14226
|
function uw(i, l, s, D, r, a) {
|
|
14222
|
-
var f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
14227
|
+
var f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss, x, Zt, Nl, Il, Sl, Ll, Zl, Hl, Jl, _l, Xl, Kl, ql, $l, te, le, ee, se, ie, oe, ne, de, ae, re, Me, De, Ne, Ie, ge, ue, ce, ye, Ae, ve, Te, xe, ze, pe, Ce, fe, je, Ue, be, me, Ee, Oe, we, Ye, Se, Qe, ke, he, Re, Fe, Ve, is, os, ns, ol, rs, Ds, Ns, Is, gs, As, vs, Ts, xs, zs, ps, Cs, fs, js, Us, bs, ms, Es, Os, ws, Ys, Ss, Qs, ks, hs, Rs, Fs, Vs, Ps, Gs, Ws, Bs, Ls, Zs, Hs, T, Js, _s, Xs, Ks, qs, $s, ti, li, Ms, ii, oi, ni, di, ai, ri, Mi, Di, Ni, Ii, gi, ui, ci, yi, Ai, vi, Ti, xi, st, ds, zi, pi, Ci, fi, ji, Ui, bi, mi, ul, Ei, Oi, wi, Yi, nt, us, Si, Qi, ki, hi, Ri, Fi, Vi, Pi, Ql, Ji, _i, Xi, Ki, qi, $i, to, lo, eo, so, io, oo, no, ao, ro, Mo, Do, No, Io, go, uo, co, yo, Ao, vo, To, xo, zo, po, Co, fo, jo, Uo, bo, mo, Eo, Oo, wo, Yo, So, Qo, ko, ho, Ro, Fo, Vo, Po, Go, Wo, Bo, Lo, Zo, Ho, Jo, _o, Xo, Ko, qo, $o, tn, ln, en, sn, on, nn, dn, an, rn, Mn, Dn, Nn, In, gn, un, cn, yn, An, vn, Tn, xn, zn, pn, Cn, fn, jn, Un, bn, mn, En, On, wn, Yn, Sn, Qn, kn, hn, Rn, Fn, Vn, Pn, Gn, Wn, Bn, Ln, Zn, Hn, Jn, _n, Xn, Kn, qn, $n, td, ld, ed, sd, id, od, nd, dd, ll, Bi, si, Gi, ad, rd, Md, Dd, Nd, Id, gd, ud, zd, pd, Cd, fd, jd, Ud, bd, md, Ed;
|
|
14223
14228
|
const c = F("IdmBrand"), M = F("Lat"), I = F("Lng"), p = F("Editor");
|
|
14224
14229
|
return n(), d("div", oO, [
|
|
14225
14230
|
E(c, { name: "Energy Efficiency Analysis Report" }),
|
|
@@ -14329,7 +14334,7 @@ function uw(i, l, s, D, r, a) {
|
|
|
14329
14334
|
]),
|
|
14330
14335
|
t("td", OO, [
|
|
14331
14336
|
g(e((qt = (Kt = (h = (Xt = (_t = s.report) == null ? void 0 : _t.eeas) == null ? void 0 : Xt.extend) == null ? void 0 : h.cp) == null ? void 0 : Kt.idle) == null ? void 0 : qt.dgo) + " ", 1),
|
|
14332
|
-
(Z = (
|
|
14337
|
+
(Z = (jt = (Mt = (N = s.report) == null ? void 0 : N.eeas) == null ? void 0 : Mt.extend) == null ? void 0 : jt.cp) != null && Z.weather ? (n(), d("span", wO, [
|
|
14333
14338
|
l[12] || (l[12] = g("| ")),
|
|
14334
14339
|
(tl = ($t = (Jt = (At = (Ht = s.report) == null ? void 0 : Ht.eeas) == null ? void 0 : At.extend) == null ? void 0 : Jt.cp) == null ? void 0 : $t.weather) != null && tl.consPercentage ? (n(), d("span", YO, "+" + e((Ml = (rl = (al = (dl = (nl = s.report) == null ? void 0 : nl.eeas) == null ? void 0 : dl.extend) == null ? void 0 : al.cp) == null ? void 0 : rl.weather) == null ? void 0 : Ml.consOfOver) + "% , -" + e((vl = (Al = (yl = (cl = (Dl = s.report) == null ? void 0 : Dl.eeas) == null ? void 0 : cl.extend) == null ? void 0 : yl.cp) == null ? void 0 : Al.weather) == null ? void 0 : vl.consOfUnder) + "%", 1)) : (n(), d("span", SO, "+" + e((Cl = (pl = (zl = (xl = (Tl = s.report) == null ? void 0 : Tl.eeas) == null ? void 0 : xl.extend) == null ? void 0 : zl.cp) == null ? void 0 : pl.weather) == null ? void 0 : Cl.consOfOver) + " , -" + e((ml = (bl = (Ul = (jl = (fl = s.report) == null ? void 0 : fl.eeas) == null ? void 0 : jl.extend) == null ? void 0 : Ul.cp) == null ? void 0 : bl.weather) == null ? void 0 : ml.consOfUnder), 1))
|
|
14335
14340
|
])) : y("", !0)
|
|
@@ -14828,12 +14833,12 @@ const xw = {
|
|
|
14828
14833
|
// 经纬度转换
|
|
14829
14834
|
computedLngLat() {
|
|
14830
14835
|
return function(i, l) {
|
|
14831
|
-
return `${
|
|
14836
|
+
return `${ft.lat2pretty(i).pretty} / ${ft.lng2pretty(l).pretty}`;
|
|
14832
14837
|
};
|
|
14833
14838
|
},
|
|
14834
14839
|
computePortName() {
|
|
14835
14840
|
return function(i) {
|
|
14836
|
-
return i ? i != null && i.name ? i == null ? void 0 : i.name : `${
|
|
14841
|
+
return i ? i != null && i.name ? i == null ? void 0 : i.name : `${ft.lat2pretty(i == null ? void 0 : i.lat).pretty}, ${ft.lng2pretty(i == null ? void 0 : i.lng).pretty}` : "-";
|
|
14837
14842
|
};
|
|
14838
14843
|
},
|
|
14839
14844
|
computeNum() {
|
|
@@ -14897,7 +14902,7 @@ const xw = {
|
|
|
14897
14902
|
style: { "font-weight": "bold" }
|
|
14898
14903
|
}, tY = { class: "section leg-section" };
|
|
14899
14904
|
function lY(i, l, s, D, r, a) {
|
|
14900
|
-
var I, p, f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
14905
|
+
var I, p, f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl;
|
|
14901
14906
|
const c = F("IdmBrand"), M = F("Editor");
|
|
14902
14907
|
return n(), d("div", zw, [
|
|
14903
14908
|
E(c, { name: "EU ETS Compliance Cost Analysis Report" }),
|
|
@@ -15048,7 +15053,7 @@ function lY(i, l, s, D, r, a) {
|
|
|
15048
15053
|
l[20] || (l[20] = t("td", null, "MGO", -1)),
|
|
15049
15054
|
t("td", null, e(((Ut = (k = (Gt = (Bt = (Wt = s.report) == null ? void 0 : Wt.summary) == null ? void 0 : Bt.fuels) == null ? void 0 : Gt.filter((w) => w.type === "MGO")) == null ? void 0 : k[0]) == null ? void 0 : Ut.cons) ?? "-"), 1),
|
|
15050
15055
|
t("td", null, e(((Kt = (h = (Xt = (_t = (Lt = s.report) == null ? void 0 : Lt.summary) == null ? void 0 : _t.fuels) == null ? void 0 : Xt.filter((w) => w.type === "MGO")) == null ? void 0 : h[0]) == null ? void 0 : Kt.co2) ?? "-"), 1),
|
|
15051
|
-
t("td", null, e(((Z = (
|
|
15056
|
+
t("td", null, e(((Z = (jt = (Mt = (N = (qt = s.report) == null ? void 0 : qt.summary) == null ? void 0 : N.fuels) == null ? void 0 : Mt.filter((w) => w.type === "MGO")) == null ? void 0 : jt[0]) == null ? void 0 : Z.ch4) ?? "-"), 1),
|
|
15052
15057
|
t("td", null, e(((tl = ($t = (Jt = (At = (Ht = s.report) == null ? void 0 : Ht.summary) == null ? void 0 : At.fuels) == null ? void 0 : Jt.filter((w) => w.type === "MGO")) == null ? void 0 : $t[0]) == null ? void 0 : tl.n2o) ?? "-"), 1)
|
|
15053
15058
|
]),
|
|
15054
15059
|
t("tr", null, [
|
|
@@ -15185,12 +15190,12 @@ const sY = {
|
|
|
15185
15190
|
// 经纬度转换
|
|
15186
15191
|
computedLngLat() {
|
|
15187
15192
|
return function(i, l) {
|
|
15188
|
-
return `${
|
|
15193
|
+
return `${ft.lat2pretty(i).pretty} / ${ft.lng2pretty(l).pretty}`;
|
|
15189
15194
|
};
|
|
15190
15195
|
},
|
|
15191
15196
|
computePortName() {
|
|
15192
15197
|
return function(i) {
|
|
15193
|
-
return i ? i != null && i.name ? i == null ? void 0 : i.name : `${
|
|
15198
|
+
return i ? i != null && i.name ? i == null ? void 0 : i.name : `${ft.lat2pretty(i == null ? void 0 : i.lat).pretty}, ${ft.lng2pretty(i == null ? void 0 : i.lng).pretty}` : "-";
|
|
15194
15199
|
};
|
|
15195
15200
|
},
|
|
15196
15201
|
computeNum() {
|
|
@@ -15250,7 +15255,7 @@ const sY = {
|
|
|
15250
15255
|
class: ""
|
|
15251
15256
|
}, bY = ["innerHTML"], mY = { key: 1 }, EY = { class: "section co2-emissions-section" }, OY = { class: "section leg-section" }, wY = { class: "section leg-section" };
|
|
15252
15257
|
function YY(i, l, s, D, r, a) {
|
|
15253
|
-
var I, p, f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt,
|
|
15258
|
+
var I, p, f, u, A, Y, j, b, m, C, S, O, Q, v, R, P, G, W, B, L, H, J, _, X, K, tt, V, Dt, Nt, It, gt, ut, o, q, dt, at, rt, ct, yt, lt, xt, ot, Tt, zt, pt, vt, bt, mt, Et, Ot, wt, Yt, St, Qt, kt, ht, Rt, Ft, Vt, Pt, Ct, Wt, Bt, Gt, k, Ut, Lt, _t, Xt, h, Kt, qt, N, Mt, jt, Z, Ht, At, Jt, $t, tl, nl, dl, al, rl, Ml, Dl, cl, yl, Al, vl, Tl, xl, zl, pl, Cl, fl, jl, Ul, bl, ml, El, Ol, wl, Yl, kl, w, hl, Rl, Fl, Vl, Pl, Gl, Wl, Bl, gl, Ge, We, Be, Le, Ze, He, Je, _e, Xe, Ke, qe, $e, ts, ls, es, ss, x, Zt, Nl, Il, Sl, Ll, Zl, Hl, Jl, _l, Xl, Kl, ql, $l, te, le, ee, se, ie, oe, ne, de, ae, re, Me, De, Ne, Ie, ge, ue, ce, ye, Ae, ve, Te, xe, ze, pe, Ce, fe, je, Ue, be, me, Ee, Oe, we, Ye, Se, Qe, ke, he, Re, Fe, Ve, is, os, ns, ol, rs, Ds, Ns, Is, gs, As, vs, Ts, xs, zs, ps, Cs, fs, js, Us, bs, ms, Es, Os, ws, Ys, Ss, Qs, ks, hs, Rs, Fs, Vs, Ps, Gs, Ws, Bs, Ls, Zs, Hs;
|
|
15254
15259
|
const c = F("IdmBrand"), M = F("Editor");
|
|
15255
15260
|
return n(), d("div", iY, [
|
|
15256
15261
|
E(c, { name: "FuelEU Maritime Compliance Cost Analysis Report" }),
|
|
@@ -15438,7 +15443,7 @@ function YY(i, l, s, D, r, a) {
|
|
|
15438
15443
|
t("tr", null, [
|
|
15439
15444
|
l[19] || (l[19] = t("td", null, "LFO", -1)),
|
|
15440
15445
|
t("td", null, e(((qt = (Kt = (h = (Xt = (_t = s.report) == null ? void 0 : _t.summary) == null ? void 0 : Xt.fuels) == null ? void 0 : h.filter((T) => T.type === "LFO")) == null ? void 0 : Kt[0]) == null ? void 0 : qt.cons) ?? "-"), 1),
|
|
15441
|
-
t("td", null, e(((Ht = (Z = (
|
|
15446
|
+
t("td", null, e(((Ht = (Z = (jt = (Mt = (N = s.report) == null ? void 0 : N.summary) == null ? void 0 : Mt.fuels) == null ? void 0 : jt.filter((T) => T.type === "LFO")) == null ? void 0 : Z[0]) == null ? void 0 : Ht.lcv) ?? "-"), 1),
|
|
15442
15447
|
t("td", null, e(((nl = (tl = ($t = (Jt = (At = s.report) == null ? void 0 : At.summary) == null ? void 0 : Jt.fuels) == null ? void 0 : $t.filter((T) => T.type === "LFO")) == null ? void 0 : tl[0]) == null ? void 0 : nl.energy) ?? "-"), 1),
|
|
15443
15448
|
t("td", null, e(((Dl = (Ml = (rl = (al = (dl = s.report) == null ? void 0 : dl.summary) == null ? void 0 : al.fuels) == null ? void 0 : rl.filter((T) => T.type === "LFO")) == null ? void 0 : Ml[0]) == null ? void 0 : Dl.wtt) ?? "-"), 1),
|
|
15444
15449
|
t("td", null, e(((xl = (Tl = (vl = (Al = (yl = (cl = s.report) == null ? void 0 : cl.summary) == null ? void 0 : yl.fuels) == null ? void 0 : Al.filter((T) => T.type === "LFO")) == null ? void 0 : vl[0]) == null ? void 0 : Tl.ttw) == null ? void 0 : xl.co2) ?? "-"), 1),
|