@idmui/extend 0.0.2 → 0.0.3
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/Plan/src/index.vue.d.ts +1 -1
- package/dist/index.js +534 -533
- package/dist/index.umd.cjs +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import { LngLatHelper as G } from "@idm-plugin/geo";
|
|
|
7
7
|
import dn from "axios";
|
|
8
8
|
const Li = (e, l) => {
|
|
9
9
|
const s = e.__vccOpts || e;
|
|
10
|
-
for (const [
|
|
11
|
-
s[
|
|
10
|
+
for (const [c, a] of l)
|
|
11
|
+
s[c] = a;
|
|
12
12
|
return s;
|
|
13
13
|
}, kD = {
|
|
14
14
|
name: "IdmEditor",
|
|
@@ -70,22 +70,22 @@ const Li = (e, l) => {
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}, mD = { class: "editor-box" };
|
|
73
|
-
function RD(e, l, s,
|
|
74
|
-
const x = J("Toolbar"),
|
|
73
|
+
function RD(e, l, s, c, a, N) {
|
|
74
|
+
const x = J("Toolbar"), d = J("Editor");
|
|
75
75
|
return o(), n("div", mD, [
|
|
76
76
|
fD(tt(x, {
|
|
77
|
-
editor:
|
|
78
|
-
"default-config":
|
|
79
|
-
mode:
|
|
77
|
+
editor: a.editor,
|
|
78
|
+
"default-config": a.toolbarConfig,
|
|
79
|
+
mode: a.mode,
|
|
80
80
|
class: "toolbar"
|
|
81
81
|
}, null, 8, ["editor", "default-config", "mode"]), [
|
|
82
82
|
[QD, !s.disabled]
|
|
83
83
|
]),
|
|
84
|
-
tt(
|
|
85
|
-
modelValue:
|
|
86
|
-
"onUpdate:modelValue": l[0] || (l[0] = (A) =>
|
|
87
|
-
"default-config":
|
|
88
|
-
mode:
|
|
84
|
+
tt(d, {
|
|
85
|
+
modelValue: a.valueHtml,
|
|
86
|
+
"onUpdate:modelValue": l[0] || (l[0] = (A) => a.valueHtml = A),
|
|
87
|
+
"default-config": a.editorConfig,
|
|
88
|
+
mode: a.mode,
|
|
89
89
|
class: "editor",
|
|
90
90
|
style: Zi({ height: s.height }),
|
|
91
91
|
onOnCreated: N.handleCreated,
|
|
@@ -141,29 +141,29 @@ const hD = {
|
|
|
141
141
|
};
|
|
142
142
|
},
|
|
143
143
|
computeLTime() {
|
|
144
|
-
return function(e, l, s,
|
|
145
|
-
let
|
|
146
|
-
return s && l && (
|
|
144
|
+
return function(e, l, s, c) {
|
|
145
|
+
let a = 0;
|
|
146
|
+
return s && l && (a = G.guessTimeZoneOffset(l, s)), `${yt(e).utcOffset(c ?? a).format("MMM-DD/HHmm")}LT`;
|
|
147
147
|
};
|
|
148
148
|
},
|
|
149
149
|
computeTimeDiff() {
|
|
150
150
|
return function(e, l) {
|
|
151
|
-
var s,
|
|
151
|
+
var s, c, a, N, x;
|
|
152
152
|
if (l === 0)
|
|
153
153
|
return "-";
|
|
154
154
|
{
|
|
155
|
-
const
|
|
156
|
-
return Math.round(
|
|
155
|
+
const d = yt((a = (c = (s = e == null ? void 0 : e.speeds) == null ? void 0 : s[l]) == null ? void 0 : c.speed) == null ? void 0 : a.eta).diff(yt((x = (N = e == null ? void 0 : e.speeds) == null ? void 0 : N[0]) == null ? void 0 : x.speed.eta), "h", !0);
|
|
156
|
+
return Math.round(d * 100) / 100;
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
},
|
|
160
160
|
computeCostDiff() {
|
|
161
161
|
return function(e, l) {
|
|
162
|
-
var s,
|
|
162
|
+
var s, c, a, N, x, d, A;
|
|
163
163
|
if (l === 0)
|
|
164
164
|
return "-";
|
|
165
165
|
{
|
|
166
|
-
const Y = Number((N = (
|
|
166
|
+
const Y = Number((N = (a = (c = (s = e == null ? void 0 : e.speeds) == null ? void 0 : s[l]) == null ? void 0 : c.speed) == null ? void 0 : a.cost) == null ? void 0 : N.total) - Number((A = (d = (x = e == null ? void 0 : e.speeds) == null ? void 0 : x[0]) == null ? void 0 : d.speed) == null ? void 0 : A.cost.total);
|
|
167
167
|
return `${(Math.round(Y / 1e3 * 100) / 100).toLocaleString("en-US")}k`;
|
|
168
168
|
}
|
|
169
169
|
};
|
|
@@ -190,42 +190,43 @@ const hD = {
|
|
|
190
190
|
computeMajorPoints() {
|
|
191
191
|
return function(e, l) {
|
|
192
192
|
const s = [];
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
193
|
+
for (let c = 0; c < l.length; c++) {
|
|
194
|
+
const a = l[c], N = l[c - 1];
|
|
195
|
+
N && (a.avgBearing = N.bearing), s.push(a), a.suspend && (e != null && e.useRouteParam) && s.push({
|
|
196
|
+
etd: a.etd,
|
|
197
|
+
eta: a.etd,
|
|
198
|
+
isResume: !0,
|
|
199
|
+
memo: `Stoppage: ${a.suspend}hrs`
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
return s;
|
|
202
203
|
};
|
|
203
204
|
},
|
|
204
205
|
computeDegree() {
|
|
205
206
|
return function(e, l, s) {
|
|
206
207
|
l = l % 360;
|
|
207
|
-
for (let
|
|
208
|
-
if (
|
|
209
|
-
let
|
|
210
|
-
s || (
|
|
208
|
+
for (let c = 0; c < 17; c++)
|
|
209
|
+
if (c * 22.5 + l + 11.25 >= 360) {
|
|
210
|
+
let a = (16 - c) * 22.5;
|
|
211
|
+
s || (a = a + 180);
|
|
211
212
|
let N = "";
|
|
212
|
-
return e === "wind" ? N = "var(--orm-wind)" : e === "wave" ? N = "var(--orm-wave)" : e === "swell" ? N = "var(--orm-swell)" : e === "current" && (N = "var(--orm-current)"), `transform:rotate(${
|
|
213
|
+
return e === "wind" ? N = "var(--orm-wind)" : e === "wave" ? N = "var(--orm-wave)" : e === "swell" ? N = "var(--orm-swell)" : e === "current" && (N = "var(--orm-current)"), `transform:rotate(${a}deg);margin-left:3px;color: ${N}`;
|
|
213
214
|
}
|
|
214
215
|
};
|
|
215
216
|
},
|
|
216
217
|
computeDay() {
|
|
217
218
|
return function(e, l = 0) {
|
|
218
|
-
var N, x,
|
|
219
|
-
const s = (A = (
|
|
220
|
-
return Math.round(yt(
|
|
219
|
+
var N, x, d, A;
|
|
220
|
+
const s = (A = (d = (x = (N = e == null ? void 0 : e.speeds) == null ? void 0 : N[l]) == null ? void 0 : x.speed) == null ? void 0 : d.sample) == null ? void 0 : A.hours, c = s == null ? void 0 : s[0], a = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
|
|
221
|
+
return Math.round(yt(a == null ? void 0 : a.eta).diff(yt(c == null ? void 0 : c.eta), "day", !0) * 10) / 10;
|
|
221
222
|
};
|
|
222
223
|
},
|
|
223
224
|
computeSuspend() {
|
|
224
225
|
return function(e) {
|
|
225
|
-
var s,
|
|
226
|
+
var s, c;
|
|
226
227
|
let l = 0;
|
|
227
|
-
return (
|
|
228
|
-
l +=
|
|
228
|
+
return (c = (s = e == null ? void 0 : e.sample) == null ? void 0 : s.wps) == null || c.forEach((a) => {
|
|
229
|
+
l += a.suspend || 0;
|
|
229
230
|
}), l ? Math.round(l * 100) / 100 : "-";
|
|
230
231
|
};
|
|
231
232
|
},
|
|
@@ -277,7 +278,7 @@ const hD = {
|
|
|
277
278
|
this.echart || (this.echart = Nn.init(this.$refs.echart)), this.renderEchart();
|
|
278
279
|
},
|
|
279
280
|
renderEchart() {
|
|
280
|
-
var N, x,
|
|
281
|
+
var N, x, d, A, Y, E, O;
|
|
281
282
|
const e = [], l = [], s = {
|
|
282
283
|
dateTime: 0,
|
|
283
284
|
windSpeed: 1,
|
|
@@ -289,13 +290,13 @@ const hD = {
|
|
|
289
290
|
weatherFactor: 7,
|
|
290
291
|
speed: 8
|
|
291
292
|
};
|
|
292
|
-
let
|
|
293
|
-
(E = (Y = (A = (
|
|
293
|
+
let c = 4;
|
|
294
|
+
(E = (Y = (A = (d = (x = (N = this.plan) == null ? void 0 : N.speeds) == null ? void 0 : x[this.speedIndex]) == null ? void 0 : d.speed) == null ? void 0 : A.sample) == null ? void 0 : Y.hours) == null || E.forEach((k) => {
|
|
294
295
|
var v, C, R, j, f, m, h, u, w, V;
|
|
295
296
|
const p = k.meteo;
|
|
296
297
|
if (p) {
|
|
297
298
|
const F = yt(p.utc).utc().format("MMM-DD/HHmm[Z]");
|
|
298
|
-
e.push(F),
|
|
299
|
+
e.push(F), c = Math.ceil(((C = (v = p.wave) == null ? void 0 : v.sig) == null ? void 0 : C.height) > c ? (j = (R = p.wave) == null ? void 0 : R.sig) == null ? void 0 : j.height : c), l.push([
|
|
299
300
|
F,
|
|
300
301
|
(f = p.wind) == null ? void 0 : f.kts,
|
|
301
302
|
(h = (m = p.wave) == null ? void 0 : m.sig) == null ? void 0 : h.height,
|
|
@@ -308,7 +309,7 @@ const hD = {
|
|
|
308
309
|
]);
|
|
309
310
|
}
|
|
310
311
|
});
|
|
311
|
-
const
|
|
312
|
+
const a = {
|
|
312
313
|
animation: !1,
|
|
313
314
|
title: {
|
|
314
315
|
text: "Weather Conditions & Speed Analysis",
|
|
@@ -378,7 +379,7 @@ const hD = {
|
|
|
378
379
|
nameLocation: "middle",
|
|
379
380
|
position: "right",
|
|
380
381
|
nameGap: 20,
|
|
381
|
-
max:
|
|
382
|
+
max: c,
|
|
382
383
|
min: 0,
|
|
383
384
|
minInterval: 1,
|
|
384
385
|
axisLine: {
|
|
@@ -537,7 +538,7 @@ const hD = {
|
|
|
537
538
|
}
|
|
538
539
|
]
|
|
539
540
|
};
|
|
540
|
-
(O = this.echart) == null || O.setOption(
|
|
541
|
+
(O = this.echart) == null || O.setOption(a);
|
|
541
542
|
}
|
|
542
543
|
}
|
|
543
544
|
}, wD = { class: "plan-report" }, VD = {
|
|
@@ -621,18 +622,18 @@ const hD = {
|
|
|
621
622
|
class: "text-tips text-right print-hidden",
|
|
622
623
|
style: { "margin-bottom": "4px", "font-size": "12px" }
|
|
623
624
|
}, ua = { style: { "font-size": "12px" } }, za = ["colspan"], xa = { key: 0 }, ja = { class: "flex-center" }, va = { class: "degree-box" }, Ua = { key: 0 }, Ea = { key: 2 }, Oa = { key: 0 }, Ya = { class: "degree-box" }, Ca = { key: 0 }, ba = { key: 2 }, fa = { class: "degree-box" }, Qa = { key: 0 }, pa = { key: 2 }, Sa = { class: "degree-box" }, ka = { key: 0 }, ma = { key: 2 };
|
|
624
|
-
function Ra(e, l, s,
|
|
625
|
+
function Ra(e, l, s, c, a, N) {
|
|
625
626
|
var Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts;
|
|
626
|
-
const x = J("IdmBrand"),
|
|
627
|
+
const x = J("IdmBrand"), d = J("IdmLoading"), A = J("Editor");
|
|
627
628
|
return o(), n("div", wD, [
|
|
628
629
|
tt(x, {
|
|
629
630
|
name: "Voyage Planning",
|
|
630
631
|
issued: (Y = s.plan) == null ? void 0 : Y.updatedAt
|
|
631
632
|
}, null, 8, ["issued"]),
|
|
632
|
-
|
|
633
|
-
tt(
|
|
634
|
-
loading:
|
|
635
|
-
onTimeout: l[0] || (l[0] = (
|
|
633
|
+
a.loading ? (o(), n("div", VD, [
|
|
634
|
+
tt(d, {
|
|
635
|
+
loading: a.loading,
|
|
636
|
+
onTimeout: l[0] || (l[0] = (r) => a.loading = !1)
|
|
636
637
|
}, null, 8, ["loading"])
|
|
637
638
|
])) : (o(), n(T, { key: 1 }, [
|
|
638
639
|
t("div", FD, [
|
|
@@ -654,12 +655,12 @@ function Ra(e, l, s, r, d, N) {
|
|
|
654
655
|
t("div", HD, [
|
|
655
656
|
l[11] || (l[11] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
656
657
|
(Z = (W = (F = s.plan) == null ? void 0 : F.leg) == null ? void 0 : W.departure) != null && Z.name ? (o(), n("span", XD, i((X = (H = (L = s.plan) == null ? void 0 : L.leg) == null ? void 0 : H.departure) == null ? void 0 : X.name), 1)) : (o(), n("span", KD, i(N.computePosition((q = (K = s.plan) == null ? void 0 : K.leg) == null ? void 0 : q.departure)), 1)),
|
|
657
|
-
t("span", qD, i(N.computeUTCTime(((M = (lt = ($ = s.plan) == null ? void 0 : $.leg) == null ? void 0 : lt.departure) == null ? void 0 : M.atd) || ((st = (it = (B = s.plan) == null ? void 0 : B.leg) == null ? void 0 : it.departure) == null ? void 0 : st.etd) || ((nt = (ot = (et = (Mt = s.plan) == null ? void 0 : Mt.speeds) == null ? void 0 : et[
|
|
658
|
+
t("span", qD, i(N.computeUTCTime(((M = (lt = ($ = s.plan) == null ? void 0 : $.leg) == null ? void 0 : lt.departure) == null ? void 0 : M.atd) || ((st = (it = (B = s.plan) == null ? void 0 : B.leg) == null ? void 0 : it.departure) == null ? void 0 : st.etd) || ((nt = (ot = (et = (Mt = s.plan) == null ? void 0 : Mt.speeds) == null ? void 0 : et[a.speedIndex]) == null ? void 0 : ot.speed) == null ? void 0 : nt.etd), "MMM-DD/HHmm[Z], yyyy")), 1)
|
|
658
659
|
]),
|
|
659
660
|
t("div", $D, [
|
|
660
661
|
l[12] || (l[12] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
661
662
|
(at = (Nt = (Dt = s.plan) == null ? void 0 : Dt.leg) == null ? void 0 : Nt.destination) != null && at.name ? (o(), n("span", tN, i((_ = (It = (dt = s.plan) == null ? void 0 : dt.leg) == null ? void 0 : It.destination) == null ? void 0 : _.name), 1)) : (o(), n("span", lN, i(N.computePosition((ut = (Tt = s.plan) == null ? void 0 : Tt.leg) == null ? void 0 : ut.destination)), 1)),
|
|
662
|
-
t("span", iN, i(N.computeUTCTime(((vt = (jt = (xt = (zt = s.plan) == null ? void 0 : zt.speeds) == null ? void 0 : xt[
|
|
663
|
+
t("span", iN, i(N.computeUTCTime(((vt = (jt = (xt = (zt = s.plan) == null ? void 0 : zt.speeds) == null ? void 0 : xt[a.speedIndex]) == null ? void 0 : jt.speed) == null ? void 0 : vt.ata) || ((Yt = (Ot = (Et = (Ut = s.plan) == null ? void 0 : Ut.speeds) == null ? void 0 : Et[a.speedIndex]) == null ? void 0 : Ot.speed) == null ? void 0 : Yt.eta), "MMM-DD/HHmm, yyyy[Z]")), 1)
|
|
663
664
|
]),
|
|
664
665
|
t("div", sN, [
|
|
665
666
|
l[13] || (l[13] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -681,13 +682,13 @@ function Ra(e, l, s, r, d, N) {
|
|
|
681
682
|
}, null, 8, oN)
|
|
682
683
|
]),
|
|
683
684
|
t("div", nN, [
|
|
684
|
-
l[17] || (l[17] = sl('<div class="legend" data-v-
|
|
685
|
+
l[17] || (l[17] = sl('<div class="legend" data-v-a1867e09><span class="dangerous" data-v-a1867e09></span><span data-v-a1867e09>Danger</span></div><div class="legend" data-v-a1867e09><span class="severe" data-v-a1867e09></span><span data-v-a1867e09>Severe</span></div><div class="legend" data-v-a1867e09><span class="heavy" data-v-a1867e09></span><span data-v-a1867e09>Heavy</span></div>', 3)),
|
|
685
686
|
t("div", DN, [
|
|
686
687
|
l[14] || (l[14] = t("b", { class: "route1" }, null, -1)),
|
|
687
688
|
t("span", {
|
|
688
689
|
class: "btn",
|
|
689
|
-
onClick: l[1] || (l[1] = (
|
|
690
|
-
|
|
690
|
+
onClick: l[1] || (l[1] = (r) => {
|
|
691
|
+
a.speedIndex = 0, N.renderEchart();
|
|
691
692
|
})
|
|
692
693
|
}, i((mt = (kt = (St = (pt = (Qt = s.plan) == null ? void 0 : Qt.speeds) == null ? void 0 : pt[0]) == null ? void 0 : St.speed) == null ? void 0 : kt.lane) == null ? void 0 : mt.name), 1)
|
|
693
694
|
]),
|
|
@@ -695,8 +696,8 @@ function Ra(e, l, s, r, d, N) {
|
|
|
695
696
|
l[15] || (l[15] = t("b", { class: "route2" }, null, -1)),
|
|
696
697
|
t("span", {
|
|
697
698
|
class: "btn",
|
|
698
|
-
onClick: l[2] || (l[2] = (
|
|
699
|
-
|
|
699
|
+
onClick: l[2] || (l[2] = (r) => {
|
|
700
|
+
a.speedIndex = 1, N.renderEchart();
|
|
700
701
|
})
|
|
701
702
|
}, i((Pt = (Gt = (Ft = (Vt = (wt = s.plan) == null ? void 0 : wt.speeds) == null ? void 0 : Vt[1]) == null ? void 0 : Ft.speed) == null ? void 0 : Gt.lane) == null ? void 0 : Pt.name), 1)
|
|
702
703
|
])) : g("", !0),
|
|
@@ -704,8 +705,8 @@ function Ra(e, l, s, r, d, N) {
|
|
|
704
705
|
l[16] || (l[16] = t("b", { class: "route3" }, null, -1)),
|
|
705
706
|
t("span", {
|
|
706
707
|
class: "btn",
|
|
707
|
-
onClick: l[3] || (l[3] = (
|
|
708
|
-
|
|
708
|
+
onClick: l[3] || (l[3] = (r) => {
|
|
709
|
+
a.speedIndex = 2, N.renderEchart();
|
|
709
710
|
})
|
|
710
711
|
}, i((U = (tl = (Q = (Bt = (Lt = s.plan) == null ? void 0 : Lt.speeds) == null ? void 0 : Bt[2]) == null ? void 0 : Q.speed) == null ? void 0 : tl.lane) == null ? void 0 : U.name), 1)
|
|
711
712
|
])) : g("", !0)
|
|
@@ -715,7 +716,7 @@ function Ra(e, l, s, r, d, N) {
|
|
|
715
716
|
l[18] || (l[18] = I("Weather chart in cooking ", -1)),
|
|
716
717
|
t("span", {
|
|
717
718
|
class: "btn",
|
|
718
|
-
onClick: l[4] || (l[4] = (...
|
|
719
|
+
onClick: l[4] || (l[4] = (...r) => N.handleRefresh && N.handleRefresh(...r))
|
|
719
720
|
}, "Refresh"),
|
|
720
721
|
l[19] || (l[19] = I(" later please", -1))
|
|
721
722
|
])
|
|
@@ -800,37 +801,37 @@ function Ra(e, l, s, r, d, N) {
|
|
|
800
801
|
])
|
|
801
802
|
]),
|
|
802
803
|
t("tbody", null, [
|
|
803
|
-
(o(!0), n(T, null, $t((rt = s.plan) == null ? void 0 : rt.speeds, (
|
|
804
|
+
(o(!0), n(T, null, $t((rt = s.plan) == null ? void 0 : rt.speeds, (r, ct) => {
|
|
804
805
|
var el, ol, El, Fl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ti, li, ii, si, Mi, ei, oi, ni, Di, Ni, ai, di, Ii, gi, Ai, ri, ci, yi, Ti, ui, zi, xi, ji, vi, Ui, Ei, Oi, Yi, Ci, bi, fi, Qi, pi, Si, ki, mi, Ri, hi, wi, Vi, Fi, Gi, Pi, Wi;
|
|
805
806
|
return o(), n(T, { key: ct }, [
|
|
806
807
|
t("tr", null, [
|
|
807
808
|
t("td", TN, i(ct + 1), 1),
|
|
808
|
-
t("td", uN, i((ol = (el =
|
|
809
|
+
t("td", uN, i((ol = (el = r.speed) == null ? void 0 : el.lane) == null ? void 0 : ol.name), 1),
|
|
809
810
|
t("td", null, [
|
|
810
|
-
|
|
811
|
+
r.speed.label !== "Combined" ? (o(), n("span", zN, i(`CP ${((Fl = (El = r.speed) == null ? void 0 : El.cpCopy) == null ? void 0 : Fl.speed) ?? ((Gl = r.speed) == null ? void 0 : Gl.v0)}`), 1)) : (o(), n("div", xN, [
|
|
811
812
|
l[37] || (l[37] = I("CP", -1)),
|
|
812
813
|
l[38] || (l[38] = t("sub", null, "1", -1)),
|
|
813
|
-
I(" " + i((Zl = (Wl = (Pl =
|
|
814
|
+
I(" " + i((Zl = (Wl = (Pl = r.speed) == null ? void 0 : Pl.extend) == null ? void 0 : Wl.cps[0]) == null ? void 0 : Zl.speed) + ", CP", 1),
|
|
814
815
|
l[39] || (l[39] = t("sub", null, "2", -1)),
|
|
815
|
-
I(" " + i((_l = (Bl = (Ll =
|
|
816
|
+
I(" " + i((_l = (Bl = (Ll = r.speed) == null ? void 0 : Ll.extend) == null ? void 0 : Bl.cps[1]) == null ? void 0 : _l.speed), 1)
|
|
816
817
|
]))
|
|
817
818
|
]),
|
|
818
819
|
t("td", jN, [
|
|
819
|
-
t("span", null, i(N.roundPrecision((Jl =
|
|
820
|
-
(Xl = (Hl =
|
|
820
|
+
t("span", null, i(N.roundPrecision((Jl = r.speed) == null ? void 0 : Jl.distance, 0)), 1),
|
|
821
|
+
(Xl = (Hl = r.speed) == null ? void 0 : Hl.extend) != null && Xl.distanceInECA ? (o(), n("span", vN, " (" + i(N.roundPrecision(r.speed.extend.distanceInECA, 0)) + " in ECA)", 1)) : g("", !0)
|
|
821
822
|
]),
|
|
822
823
|
t("td", null, [
|
|
823
|
-
t("b", null, i(N.computeLTime((Kl =
|
|
824
|
+
t("b", null, i(N.computeLTime((Kl = r.speed) == null ? void 0 : Kl.eta, (ti = ($l = (ql = s.plan) == null ? void 0 : ql.leg) == null ? void 0 : $l.destination) == null ? void 0 : ti.lng, (si = (ii = (li = s.plan) == null ? void 0 : li.leg) == null ? void 0 : ii.destination) == null ? void 0 : si.lat, (Di = (ni = (oi = (ei = (Mi = s.plan) == null ? void 0 : Mi.leg) == null ? void 0 : ei.destination) == null ? void 0 : oi.port) == null ? void 0 : ni.timezone) == null ? void 0 : Di.RawOffset)), 1),
|
|
824
825
|
l[40] || (l[40] = t("br", null, null, -1)),
|
|
825
|
-
I(" " + i(N.computeUTCTime((Ni =
|
|
826
|
+
I(" " + i(N.computeUTCTime((Ni = r.speed) == null ? void 0 : Ni.eta)), 1)
|
|
826
827
|
]),
|
|
827
|
-
t("td", UN, i(N.computeSuspend(
|
|
828
|
-
t("td", EN, i(N.roundPrecision((ai =
|
|
828
|
+
t("td", UN, i(N.computeSuspend(r.speed)), 1),
|
|
829
|
+
t("td", EN, i(N.roundPrecision((ai = r.speed) == null ? void 0 : ai.totalFoCons, 3)), 1),
|
|
829
830
|
t("td", ON, [
|
|
830
|
-
t("span", null, i(N.roundPrecision((di =
|
|
831
|
-
(gi = (Ii =
|
|
831
|
+
t("span", null, i(N.roundPrecision((di = r.speed) == null ? void 0 : di.totalDgoCons, 3)), 1),
|
|
832
|
+
(gi = (Ii = r.speed) == null ? void 0 : Ii.extend) != null && gi.totalDgoConsInECA ? (o(), n("span", YN, " + " + i(N.roundPrecision((Ai = r.speed.extend) == null ? void 0 : Ai.totalDgoConsInECA, 3)) + "*", 1)) : g("", !0)
|
|
832
833
|
]),
|
|
833
|
-
N.showCost ? (o(), n("td", CN, i((yi = N.roundPrecision(((ci = (ri =
|
|
834
|
+
N.showCost ? (o(), n("td", CN, i((yi = N.roundPrecision(((ci = (ri = r == null ? void 0 : r.speed) == null ? void 0 : ri.cost) == null ? void 0 : ci.total) / 1e3, 2)) == null ? void 0 : yi.toLocaleString("en-US")) + "k", 1)) : g("", !0),
|
|
834
835
|
t("td", {
|
|
835
836
|
rowspan: N.showCost ? 1 : 2
|
|
836
837
|
}, i(N.computeTimeDiff(s.plan, ct)), 9, bN),
|
|
@@ -838,19 +839,19 @@ function Ra(e, l, s, r, d, N) {
|
|
|
838
839
|
]),
|
|
839
840
|
t("tr", null, [
|
|
840
841
|
t("td", null, [
|
|
841
|
-
((Ti =
|
|
842
|
-
t("div", null, "FO: " + i((Ui = (vi =
|
|
843
|
-
t("div", null, "DO: " + i((Ci = (Yi =
|
|
842
|
+
((Ti = r.speed) == null ? void 0 : Ti.label) !== "Combined" ? (o(), n("div", fN, "FO: " + i((zi = (ui = r.speed) == null ? void 0 : ui.cpCopy) == null ? void 0 : zi.fo) + " / DO: " + i((ji = (xi = r.speed) == null ? void 0 : xi.cpCopy) == null ? void 0 : ji.dgo), 1)) : (o(), n(T, { key: 1 }, [
|
|
843
|
+
t("div", null, "FO: " + i((Ui = (vi = r.speed) == null ? void 0 : vi.extend) == null ? void 0 : Ui.cps[0].fo) + " / " + i((Oi = (Ei = r.speed) == null ? void 0 : Ei.extend) == null ? void 0 : Oi.cps[1].fo), 1),
|
|
844
|
+
t("div", null, "DO: " + i((Ci = (Yi = r.speed) == null ? void 0 : Yi.extend) == null ? void 0 : Ci.cps[0].dgo) + " / " + i((fi = (bi = r.speed) == null ? void 0 : bi.extend) == null ? void 0 : fi.cps[1].dgo), 1)
|
|
844
845
|
], 64))
|
|
845
846
|
]),
|
|
846
847
|
t("td", QN, [
|
|
847
|
-
t("span", null, i(N.roundPrecision((Qi =
|
|
848
|
-
(Si = (pi =
|
|
848
|
+
t("span", null, i(N.roundPrecision((Qi = r.speed) == null ? void 0 : Qi.totalHrs, 1)), 1),
|
|
849
|
+
(Si = (pi = r.speed) == null ? void 0 : pi.extend) != null && Si.hoursInECA ? (o(), n("span", pN, " (" + i(N.roundPrecision(r.speed.extend.hoursInECA, 1)) + " in ECA)", 1)) : g("", !0)
|
|
849
850
|
]),
|
|
850
|
-
t("td", null, i(N.roundPrecision((ki =
|
|
851
|
-
N.showCost ? (o(), n("td", SN, i(N.roundPrecision(((wi = (hi =
|
|
851
|
+
t("td", null, i(N.roundPrecision((ki = r.speed) == null ? void 0 : ki.avgSpeed, 2)) + " / " + i(N.roundPrecision((mi = r.speed) == null ? void 0 : mi.wxFactor, 2)) + " / " + i(N.roundPrecision((Ri = r.speed) == null ? void 0 : Ri.cFactor, 2)), 1),
|
|
852
|
+
N.showCost ? (o(), n("td", SN, i(N.roundPrecision(((wi = (hi = r == null ? void 0 : r.speed) == null ? void 0 : hi.cost) == null ? void 0 : wi.hire) / 1e3, 2).toLocaleString("en-US")) + "k / " + i(N.roundPrecision(((Fi = (Vi = r == null ? void 0 : r.speed) == null ? void 0 : Vi.cost) == null ? void 0 : Fi.bunker) / 1e3, 2).toLocaleString("en-US")) + "k ", 1)) : g("", !0),
|
|
852
853
|
N.showCost ? (o(), n("td", kN, i(N.computeCostDiff(s.plan, ct)), 1)) : g("", !0),
|
|
853
|
-
t("td", null, i(N.roundPrecision(((Gi =
|
|
854
|
+
t("td", null, i(N.roundPrecision(((Gi = r.speed) == null ? void 0 : Gi.dangerous) / 24, 2)) + " / " + i(N.roundPrecision(((Pi = r.speed) == null ? void 0 : Pi.severe) / 24, 2)) + " / " + i(N.roundPrecision(((Wi = r.speed) == null ? void 0 : Wi.heavy) / 24, 2)), 1)
|
|
854
855
|
])
|
|
855
856
|
], 64);
|
|
856
857
|
}), 128))
|
|
@@ -872,59 +873,59 @@ function Ra(e, l, s, r, d, N) {
|
|
|
872
873
|
t("div", wN, [
|
|
873
874
|
t("div", VN, [
|
|
874
875
|
l[48] || (l[48] = t("i", { class: "iconfont icon-baobiao" }, null, -1)),
|
|
875
|
-
t("div", FN, "Advisory & Major Waypoint of Route " + i((Il = (dl = (al = (Nl = s.plan.speeds) == null ? void 0 : Nl[
|
|
876
|
+
t("div", FN, "Advisory & Major Waypoint of Route " + i((Il = (dl = (al = (Nl = s.plan.speeds) == null ? void 0 : Nl[a.speedIndex]) == null ? void 0 : al.speed) == null ? void 0 : dl.lane) == null ? void 0 : Il.name), 1),
|
|
876
877
|
((Al = (gl = s.plan) == null ? void 0 : gl.speeds) == null ? void 0 : Al.length) > 1 ? (o(), n("div", GN, [
|
|
877
|
-
(o(!0), n(T, null, $t((rl = s.plan) == null ? void 0 : rl.speeds, (
|
|
878
|
+
(o(!0), n(T, null, $t((rl = s.plan) == null ? void 0 : rl.speeds, (r, ct) => {
|
|
878
879
|
var el, ol;
|
|
879
880
|
return o(), n("div", {
|
|
880
881
|
key: ct,
|
|
881
|
-
class: b(["route-item print-hidden",
|
|
882
|
+
class: b(["route-item print-hidden", a.speedIndex === ct ? "active" : ""]),
|
|
882
883
|
onClick: (El) => {
|
|
883
|
-
|
|
884
|
+
a.speedIndex = ct, N.renderEchart();
|
|
884
885
|
}
|
|
885
|
-
}, i((ol = (el =
|
|
886
|
+
}, i((ol = (el = r.speed) == null ? void 0 : el.lane) == null ? void 0 : ol.name), 11, PN);
|
|
886
887
|
}), 128))
|
|
887
888
|
])) : g("", !0)
|
|
888
889
|
])
|
|
889
890
|
]),
|
|
890
891
|
t("div", WN, [
|
|
891
|
-
|
|
892
|
+
a.editable ? (o(), ll(A, {
|
|
892
893
|
key: 0,
|
|
893
|
-
modelValue:
|
|
894
|
-
"onUpdate:modelValue": l[5] || (l[5] = (
|
|
894
|
+
modelValue: a.advisory,
|
|
895
|
+
"onUpdate:modelValue": l[5] || (l[5] = (r) => a.advisory = r),
|
|
895
896
|
class: "editor",
|
|
896
897
|
height: "120px",
|
|
897
|
-
onBlur: l[6] || (l[6] = (
|
|
898
|
+
onBlur: l[6] || (l[6] = (r) => N.handleCommit(r))
|
|
898
899
|
}, null, 8, ["modelValue"])) : (o(), n("div", {
|
|
899
900
|
key: 1,
|
|
900
901
|
class: "txt",
|
|
901
902
|
style: { "font-weight": "normal" },
|
|
902
|
-
onDblclick: l[7] || (l[7] = (...
|
|
903
|
-
innerHTML:
|
|
903
|
+
onDblclick: l[7] || (l[7] = (...r) => N.handleEdit && N.handleEdit(...r)),
|
|
904
|
+
innerHTML: a.advisory
|
|
904
905
|
}, null, 40, ZN))
|
|
905
906
|
]),
|
|
906
907
|
t("div", LN, [
|
|
907
|
-
l[49] || (l[49] = sl('<div class="major-header bg-blue-light-2" data-v-
|
|
908
|
+
l[49] || (l[49] = sl('<div class="major-header bg-blue-light-2" data-v-a1867e09><div class="cell-item flex" style="flex:2.5;" data-v-a1867e09>Major waypoint</div><div class="cell-item flex" style="flex:1.5;" data-v-a1867e09>Time</div><div class="cell-item flex" data-v-a1867e09>Nav</div><div class="cell-item flex" data-v-a1867e09>Dist <span class="text-units" data-v-a1867e09>(nm)</span></div><div class="cell-item flex" data-v-a1867e09>SOG <span class="text-units" data-v-a1867e09>(kts)</span></div><div class="cell-item flex" data-v-a1867e09>COG <span class="text-units" data-v-a1867e09>(°)</span></div><div class="cell-item flex" data-v-a1867e09>Memo</div></div>', 1)),
|
|
908
909
|
t("div", BN, [
|
|
909
|
-
(yl = (cl = s.plan) == null ? void 0 : cl.speeds) != null && yl.length ? (o(!0), n(T, { key: 0 }, $t(N.computeMajorPoints((xl = (zl = (ul = (Tl = s.plan) == null ? void 0 : Tl.speeds) == null ? void 0 : ul[
|
|
910
|
+
(yl = (cl = s.plan) == null ? void 0 : cl.speeds) != null && yl.length ? (o(!0), n(T, { key: 0 }, $t(N.computeMajorPoints((xl = (zl = (ul = (Tl = s.plan) == null ? void 0 : Tl.speeds) == null ? void 0 : ul[a.speedIndex]) == null ? void 0 : zl.speed) == null ? void 0 : xl.argv, (Yl = (Ol = (Ul = (vl = (jl = s.plan) == null ? void 0 : jl.speeds) == null ? void 0 : vl[a.speedIndex]) == null ? void 0 : Ul.speed) == null ? void 0 : Ol.sample) == null ? void 0 : Yl.wps), (r, ct) => (o(), n("div", {
|
|
910
911
|
key: ct,
|
|
911
912
|
class: "cell-row"
|
|
912
913
|
}, [
|
|
913
914
|
t("div", _N, [
|
|
914
|
-
|
|
915
|
-
t("span", null, i(N.computePosition(
|
|
916
|
-
|
|
915
|
+
r.isResume ? (o(), n("div", JN, "Resume")) : (o(), n("div", HN, [
|
|
916
|
+
t("span", null, i(N.computePosition(r)), 1),
|
|
917
|
+
r.pilot ? (o(), n("span", XN, "[P]")) : g("", !0)
|
|
917
918
|
]))
|
|
918
919
|
]),
|
|
919
920
|
t("div", KN, [
|
|
920
|
-
I(i(N.computeUTCTime(
|
|
921
|
-
|
|
921
|
+
I(i(N.computeUTCTime(r.eta)) + " ", 1),
|
|
922
|
+
r.cp ? (o(), n("span", qN, "[cp: " + i(r.cp.speed) + "]", 1)) : g("", !0)
|
|
922
923
|
]),
|
|
923
|
-
ct ? (o(), n("div", $N, i(N.computeNav(
|
|
924
|
-
ct ? (o(), n("div", la, i(N.roundPrecision(
|
|
925
|
-
ct ? (o(), n("div", sa, i(N.roundPrecision(
|
|
926
|
-
ct ? (o(), n("div", ea, i(N.computeCog(
|
|
927
|
-
ct ? (o(), n("div", na, i(N.computeMemo(
|
|
924
|
+
ct ? (o(), n("div", $N, i(N.computeNav(r)), 1)) : (o(), n("div", ta)),
|
|
925
|
+
ct ? (o(), n("div", la, i(N.roundPrecision(r.distanceFromStart, 1)), 1)) : (o(), n("div", ia)),
|
|
926
|
+
ct ? (o(), n("div", sa, i(N.roundPrecision(r.avgSpd ?? r.speed, 2)), 1)) : (o(), n("div", Ma)),
|
|
927
|
+
ct ? (o(), n("div", ea, i(N.computeCog(r.avgBearing)), 1)) : (o(), n("div", oa)),
|
|
928
|
+
ct ? (o(), n("div", na, i(N.computeMemo(r)), 1)) : (o(), n("div", Da))
|
|
928
929
|
]))), 128)) : g("", !0)
|
|
929
930
|
])
|
|
930
931
|
])
|
|
@@ -935,17 +936,17 @@ function Ra(e, l, s, r, d, N) {
|
|
|
935
936
|
t("div", da, [
|
|
936
937
|
t("div", Ia, [
|
|
937
938
|
l[50] || (l[50] = t("i", { class: "iconfont icon-shuju" }, null, -1)),
|
|
938
|
-
t("div", ga, " Weather Forecast for the Next " + i(N.computeDay(s.plan,
|
|
939
|
+
t("div", ga, " Weather Forecast for the Next " + i(N.computeDay(s.plan, a.speedIndex)) + " Days of Route " + i((Sl = (pl = (z = (Ql = (fl = s.plan) == null ? void 0 : fl.speeds) == null ? void 0 : Ql[a.speedIndex]) == null ? void 0 : z.speed) == null ? void 0 : pl.lane) == null ? void 0 : Sl.name), 1),
|
|
939
940
|
((ml = (kl = s.plan) == null ? void 0 : kl.speeds) == null ? void 0 : ml.length) > 1 ? (o(), n("div", Aa, [
|
|
940
|
-
(o(!0), n(T, null, $t((Rl = s.plan) == null ? void 0 : Rl.speeds, (
|
|
941
|
+
(o(!0), n(T, null, $t((Rl = s.plan) == null ? void 0 : Rl.speeds, (r, ct) => {
|
|
941
942
|
var el, ol;
|
|
942
943
|
return o(), n("div", {
|
|
943
944
|
key: ct,
|
|
944
|
-
class: b(["route-item print-hidden",
|
|
945
|
+
class: b(["route-item print-hidden", a.speedIndex === ct ? "active" : ""]),
|
|
945
946
|
onClick: (El) => {
|
|
946
|
-
|
|
947
|
+
a.speedIndex = ct, N.renderEchart();
|
|
947
948
|
}
|
|
948
|
-
}, i((ol = (el =
|
|
949
|
+
}, i((ol = (el = r == null ? void 0 : r.speed) == null ? void 0 : el.lane) == null ? void 0 : ol.name), 11, ra);
|
|
949
950
|
}), 128))
|
|
950
951
|
])) : g("", !0)
|
|
951
952
|
])
|
|
@@ -953,7 +954,7 @@ function Ra(e, l, s, r, d, N) {
|
|
|
953
954
|
t("div", ca, [
|
|
954
955
|
t("div", ya, null, 512)
|
|
955
956
|
]),
|
|
956
|
-
t("div", Ta, "* " + i(N.computeModel((Vl = (wl = (hl = s.plan) == null ? void 0 : hl.speeds) == null ? void 0 : wl[
|
|
957
|
+
t("div", Ta, "* " + i(N.computeModel((Vl = (wl = (hl = s.plan) == null ? void 0 : hl.speeds) == null ? void 0 : wl[a.speedIndex]) == null ? void 0 : Vl.speed)), 1)
|
|
957
958
|
]),
|
|
958
959
|
l[68] || (l[68] = t("div", {
|
|
959
960
|
class: "text-tips text-right",
|
|
@@ -1028,63 +1029,63 @@ function Ra(e, l, s, r, d, N) {
|
|
|
1028
1029
|
])
|
|
1029
1030
|
]),
|
|
1030
1031
|
t("tbody", null, [
|
|
1031
|
-
(o(!0), n(T, null, $t((ts = ($i = (qi = (Ki = (Xi = s.plan) == null ? void 0 : Xi.speeds) == null ? void 0 : Ki[
|
|
1032
|
+
(o(!0), n(T, null, $t((ts = ($i = (qi = (Ki = (Xi = s.plan) == null ? void 0 : Xi.speeds) == null ? void 0 : Ki[a.speedIndex]) == null ? void 0 : qi.speed) == null ? void 0 : $i.sample) == null ? void 0 : ts.hours, (r, ct) => {
|
|
1032
1033
|
var el, ol, El, Fl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ti, li, ii, si, Mi, ei, oi, ni, Di, Ni, ai, di, Ii, gi, Ai, ri, ci, yi, Ti, ui, zi, xi, ji, vi, Ui, Ei, Oi, Yi, Ci, bi, fi, Qi, pi, Si, ki, mi, Ri, hi, wi, Vi, Fi, Gi, Pi, Wi, ls, is, ss, Ms, es, Ds, Ns, as, ds, Is;
|
|
1033
1034
|
return o(), n("tr", {
|
|
1034
1035
|
key: ct,
|
|
1035
|
-
class: b(
|
|
1036
|
+
class: b(r.isDangerous ? "dangerous" : r.isSevere ? "severe" : r.isHeavy ? "heavy" : "")
|
|
1036
1037
|
}, [
|
|
1037
|
-
t("td", null, i(N.computeUTCTime(
|
|
1038
|
+
t("td", null, i(N.computeUTCTime(r.eta)), 1),
|
|
1038
1039
|
t("td", null, [
|
|
1039
|
-
t("div", ja, i(N.computeLat(
|
|
1040
|
+
t("div", ja, i(N.computeLat(r.lat)) + ", " + i(N.computeLng(r.lng)), 1)
|
|
1040
1041
|
]),
|
|
1041
1042
|
t("td", va, [
|
|
1042
|
-
(ol = (el =
|
|
1043
|
-
(Pl = (Gl =
|
|
1043
|
+
(ol = (el = r.meteo) == null ? void 0 : el.wind) != null && ol.kts ? (o(), n("span", Ua, i((Fl = (El = r.meteo) == null ? void 0 : El.wind) == null ? void 0 : Fl.direction), 1)) : g("", !0),
|
|
1044
|
+
(Pl = (Gl = r.meteo) == null ? void 0 : Gl.wind) != null && Pl.kts ? (o(), n("i", {
|
|
1044
1045
|
key: 1,
|
|
1045
1046
|
class: "iconfont icon-jiantouicon",
|
|
1046
|
-
style: Zi(N.computeDegree("wind", (Zl = (Wl =
|
|
1047
|
+
style: Zi(N.computeDegree("wind", (Zl = (Wl = r.meteo) == null ? void 0 : Wl.wind) == null ? void 0 : Zl.degree, !1))
|
|
1047
1048
|
}, null, 4)) : (o(), n("span", Ea, "-"))
|
|
1048
1049
|
]),
|
|
1049
1050
|
t("td", {
|
|
1050
|
-
class: b(((Bl = (Ll =
|
|
1051
|
-
}, i(N.roundPrecision((Jl = (_l =
|
|
1052
|
-
(Xl = (Hl = s.plan) == null ? void 0 : Hl.voyage) != null && Xl.sendRptWithBF ? (o(), n("td", Oa, i((ql = (Kl =
|
|
1053
|
-
t("td", null, i(N.roundPrecision((li = (ti = ($l =
|
|
1051
|
+
class: b(((Bl = (Ll = r == null ? void 0 : r.meteo) == null ? void 0 : Ll.wind) == null ? void 0 : Bl.scale) >= 4 ? "bg-heavy" : "")
|
|
1052
|
+
}, i(N.roundPrecision((Jl = (_l = r.meteo) == null ? void 0 : _l.wind) == null ? void 0 : Jl.kts, 1)), 3),
|
|
1053
|
+
(Xl = (Hl = s.plan) == null ? void 0 : Hl.voyage) != null && Xl.sendRptWithBF ? (o(), n("td", Oa, i((ql = (Kl = r.meteo) == null ? void 0 : Kl.wind) == null ? void 0 : ql.scale), 1)) : g("", !0),
|
|
1054
|
+
t("td", null, i(N.roundPrecision((li = (ti = ($l = r.meteo) == null ? void 0 : $l.wave) == null ? void 0 : ti.wd) == null ? void 0 : li.height, 1)), 1),
|
|
1054
1055
|
t("td", Ya, [
|
|
1055
|
-
(Mi = (si = (ii =
|
|
1056
|
-
(ai = (Ni = (Di =
|
|
1056
|
+
(Mi = (si = (ii = r.meteo) == null ? void 0 : ii.wave) == null ? void 0 : si.swell) != null && Mi.height ? (o(), n("span", Ca, i((ni = (oi = (ei = r.meteo) == null ? void 0 : ei.wave) == null ? void 0 : oi.swell) == null ? void 0 : ni.direction), 1)) : g("", !0),
|
|
1057
|
+
(ai = (Ni = (Di = r.meteo) == null ? void 0 : Di.wave) == null ? void 0 : Ni.swell) != null && ai.height ? (o(), n("i", {
|
|
1057
1058
|
key: 1,
|
|
1058
1059
|
class: "iconfont icon-jiantouicon",
|
|
1059
|
-
style: Zi(N.computeDegree("swell", (gi = (Ii = (di =
|
|
1060
|
+
style: Zi(N.computeDegree("swell", (gi = (Ii = (di = r.meteo) == null ? void 0 : di.wave) == null ? void 0 : Ii.swell) == null ? void 0 : gi.degree, !1))
|
|
1060
1061
|
}, null, 4)) : (o(), n("span", ba, "-"))
|
|
1061
1062
|
]),
|
|
1062
1063
|
t("td", {
|
|
1063
|
-
class: b(((ci = (ri = (Ai =
|
|
1064
|
-
}, i(N.roundPrecision((ui = (Ti = (yi =
|
|
1065
|
-
t("td", null, i(N.roundPrecision((ji = (xi = (zi =
|
|
1064
|
+
class: b(((ci = (ri = (Ai = r == null ? void 0 : r.meteo) == null ? void 0 : Ai.wave) == null ? void 0 : ri.swell) == null ? void 0 : ci.height) >= 1.5 ? "bg-heavy" : "")
|
|
1065
|
+
}, i(N.roundPrecision((ui = (Ti = (yi = r.meteo) == null ? void 0 : yi.wave) == null ? void 0 : Ti.swell) == null ? void 0 : ui.height, 1)), 3),
|
|
1066
|
+
t("td", null, i(N.roundPrecision((ji = (xi = (zi = r.meteo) == null ? void 0 : zi.wave) == null ? void 0 : xi.swell) == null ? void 0 : ji.period, 1)), 1),
|
|
1066
1067
|
t("td", fa, [
|
|
1067
|
-
(Ei = (Ui = (vi =
|
|
1068
|
-
(Qi = (fi = (bi =
|
|
1068
|
+
(Ei = (Ui = (vi = r.meteo) == null ? void 0 : vi.wave) == null ? void 0 : Ui.sig) != null && Ei.height ? (o(), n("span", Qa, i((Ci = (Yi = (Oi = r.meteo) == null ? void 0 : Oi.wave) == null ? void 0 : Yi.sig) == null ? void 0 : Ci.direction), 1)) : g("", !0),
|
|
1069
|
+
(Qi = (fi = (bi = r.meteo) == null ? void 0 : bi.wave) == null ? void 0 : fi.sig) != null && Qi.height ? (o(), n("i", {
|
|
1069
1070
|
key: 1,
|
|
1070
1071
|
class: "iconfont icon-jiantouicon",
|
|
1071
|
-
style: Zi(N.computeDegree("wave", (ki = (Si = (pi =
|
|
1072
|
+
style: Zi(N.computeDegree("wave", (ki = (Si = (pi = r.meteo) == null ? void 0 : pi.wave) == null ? void 0 : Si.sig) == null ? void 0 : ki.degree, !1))
|
|
1072
1073
|
}, null, 4)) : (o(), n("span", pa, "-"))
|
|
1073
1074
|
]),
|
|
1074
1075
|
t("td", {
|
|
1075
|
-
class: b(((hi = (Ri = (mi =
|
|
1076
|
-
}, i(N.roundPrecision((Fi = (Vi = (wi =
|
|
1077
|
-
t("td", null, i(N.roundPrecision((Wi = (Pi = (Gi =
|
|
1076
|
+
class: b(((hi = (Ri = (mi = r == null ? void 0 : r.meteo) == null ? void 0 : mi.wave) == null ? void 0 : Ri.sig) == null ? void 0 : hi.height) >= 1.5 ? "bg-heavy" : "")
|
|
1077
|
+
}, i(N.roundPrecision((Fi = (Vi = (wi = r.meteo) == null ? void 0 : wi.wave) == null ? void 0 : Vi.sig) == null ? void 0 : Fi.height, 1)), 3),
|
|
1078
|
+
t("td", null, i(N.roundPrecision((Wi = (Pi = (Gi = r.meteo) == null ? void 0 : Gi.wave) == null ? void 0 : Pi.sig) == null ? void 0 : Wi.period, 1)), 1),
|
|
1078
1079
|
t("td", Sa, [
|
|
1079
|
-
(is = (ls =
|
|
1080
|
-
(Ds = (es =
|
|
1080
|
+
(is = (ls = r.meteo) == null ? void 0 : ls.current) != null && is.kts ? (o(), n("span", ka, i((Ms = (ss = r.meteo) == null ? void 0 : ss.current) == null ? void 0 : Ms.direction), 1)) : g("", !0),
|
|
1081
|
+
(Ds = (es = r.meteo) == null ? void 0 : es.current) != null && Ds.kts ? (o(), n("i", {
|
|
1081
1082
|
key: 1,
|
|
1082
1083
|
class: "iconfont icon-jiantouicon",
|
|
1083
|
-
style: Zi(N.computeDegree("current", (as = (Ns =
|
|
1084
|
+
style: Zi(N.computeDegree("current", (as = (Ns = r.meteo) == null ? void 0 : Ns.current) == null ? void 0 : as.degree, !0))
|
|
1084
1085
|
}, null, 4)) : (o(), n("span", ma, "-"))
|
|
1085
1086
|
]),
|
|
1086
|
-
t("td", null, i(N.roundPrecision((Is = (ds =
|
|
1087
|
-
t("td", null, i(N.roundPrecision(
|
|
1087
|
+
t("td", null, i(N.roundPrecision((Is = (ds = r.meteo) == null ? void 0 : ds.current) == null ? void 0 : Is.kts, 1)), 1),
|
|
1088
|
+
t("td", null, i(N.roundPrecision(r.cFactor, 1)), 1)
|
|
1088
1089
|
], 2);
|
|
1089
1090
|
}), 128))
|
|
1090
1091
|
])
|
|
@@ -1102,7 +1103,7 @@ function Ra(e, l, s, r, d, N) {
|
|
|
1102
1103
|
], 64))
|
|
1103
1104
|
]);
|
|
1104
1105
|
}
|
|
1105
|
-
const ha = /* @__PURE__ */ Li(hD, [["render", Ra], ["__scopeId", "data-v-
|
|
1106
|
+
const ha = /* @__PURE__ */ Li(hD, [["render", Ra], ["__scopeId", "data-v-a1867e09"]]), kE = {
|
|
1106
1107
|
install(e) {
|
|
1107
1108
|
e.component("PlanReport", ha);
|
|
1108
1109
|
}
|
|
@@ -1213,8 +1214,8 @@ const wa = {
|
|
|
1213
1214
|
methods: {
|
|
1214
1215
|
prepare() {
|
|
1215
1216
|
var e, l;
|
|
1216
|
-
this.remarks = this.report.remarks || "Please double click to modify remark", this.exclusion = [], this.noons = [], (l = (e = this.report) == null ? void 0 : e.segments) == null || l.forEach((s,
|
|
1217
|
-
var x,
|
|
1217
|
+
this.remarks = this.report.remarks || "Please double click to modify remark", this.exclusion = [], this.noons = [], (l = (e = this.report) == null ? void 0 : e.segments) == null || l.forEach((s, c) => {
|
|
1218
|
+
var x, d;
|
|
1218
1219
|
s.excluded.detail.forEach((A) => {
|
|
1219
1220
|
const Y = {
|
|
1220
1221
|
time: yt(A.begin).utc().format("MMM-DD/HHmm[Z]") + " - " + yt(A.end).utc().format("MMM-DD/HHmm[Z]"),
|
|
@@ -1225,7 +1226,7 @@ const wa = {
|
|
|
1225
1226
|
};
|
|
1226
1227
|
this.exclusion.push(Y);
|
|
1227
1228
|
});
|
|
1228
|
-
const N = (
|
|
1229
|
+
const N = (d = (x = s == null ? void 0 : s.inventory) == null ? void 0 : x.sample) == null ? void 0 : d.hours.filter((A) => A.noon);
|
|
1229
1230
|
this.noons.push([N]);
|
|
1230
1231
|
});
|
|
1231
1232
|
},
|
|
@@ -1441,8 +1442,8 @@ const wa = {
|
|
|
1441
1442
|
key: 1,
|
|
1442
1443
|
class: "formula-item formula-conclusion bg-blue-light"
|
|
1443
1444
|
};
|
|
1444
|
-
function $g(e, l, s,
|
|
1445
|
-
var
|
|
1445
|
+
function $g(e, l, s, c, a, N) {
|
|
1446
|
+
var d, A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt;
|
|
1446
1447
|
const x = J("Editor");
|
|
1447
1448
|
return o(), n("div", Va, [
|
|
1448
1449
|
t("div", Fa, [
|
|
@@ -1453,7 +1454,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1453
1454
|
]),
|
|
1454
1455
|
t("div", Za, [
|
|
1455
1456
|
l[4] || (l[4] = t("span", { class: "label text-label" }, "Vessel", -1)),
|
|
1456
|
-
t("span", La, i((A = (
|
|
1457
|
+
t("span", La, i((A = (d = s.report) == null ? void 0 : d.vessel) == null ? void 0 : A.name) + " (" + i((E = (Y = s.report) == null ? void 0 : Y.vessel) == null ? void 0 : E.type) + ")", 1)
|
|
1457
1458
|
]),
|
|
1458
1459
|
t("div", Ba, [
|
|
1459
1460
|
l[5] || (l[5] = t("span", { class: "label text-label" }, "Voyage No.", -1)),
|
|
@@ -1578,7 +1579,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1578
1579
|
]),
|
|
1579
1580
|
M.goodWx.distance ? (o(), n("div", xd, [
|
|
1580
1581
|
((_ = M == null ? void 0 : M.timeConclusion) == null ? void 0 : _.conclusionStatus) === "Gain" ? (o(), n("span", jd, "Time Gained")) : ((Tt = M == null ? void 0 : M.timeConclusion) == null ? void 0 : Tt.conclusionStatus) === "Lost" ? (o(), n("span", vd, "Time Lost")) : (o(), n("span", Ud, "No Time Lost/Gained"))
|
|
1581
|
-
])) : (o(), n("div", Ed, i(
|
|
1582
|
+
])) : (o(), n("div", Ed, i(a.noGoodWxDay), 1)),
|
|
1582
1583
|
M.goodWx.distance ? (o(), n("div", Od, [
|
|
1583
1584
|
((ut = M == null ? void 0 : M.timeConclusion) == null ? void 0 : ut.conclusionStatus) === "Gain" ? (o(), n("div", Yd, [
|
|
1584
1585
|
l[20] || (l[20] = t("i", { class: "iconfont gain" }, "", -1)),
|
|
@@ -1599,7 +1600,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1599
1600
|
]),
|
|
1600
1601
|
M.goodWx.distance ? (o(), n("div", kd, [
|
|
1601
1602
|
((Ut = (vt = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : vt.fo) == null ? void 0 : Ut.conclusionStatus) === "Saving" ? (o(), n("span", md, "FO Saving")) : ((Ot = (Et = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : Et.fo) == null ? void 0 : Ot.conclusionStatus) === "Over" ? (o(), n("span", Rd, "FO Over-consumption")) : (o(), n("span", hd, "No FO Over-consumption/Saving"))
|
|
1602
|
-
])) : (o(), n("div", wd, i(
|
|
1603
|
+
])) : (o(), n("div", wd, i(a.noGoodWxDay), 1)),
|
|
1603
1604
|
M.goodWx.distance ? (o(), n("div", Vd, [
|
|
1604
1605
|
((Ct = (Yt = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : Yt.fo) == null ? void 0 : Ct.conclusionStatus) === "Saving" ? (o(), n("div", Fd, [
|
|
1605
1606
|
l[26] || (l[26] = t("i", { class: "iconfont gain" }, "", -1)),
|
|
@@ -1620,7 +1621,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1620
1621
|
]),
|
|
1621
1622
|
M.goodWx.distance ? (o(), n("div", _d, [
|
|
1622
1623
|
((Rt = (mt = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : mt.dgo) == null ? void 0 : Rt.conclusionStatus) === "Saving" ? (o(), n("span", Jd, "DO/GO Saving")) : ((wt = (ht = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : ht.dgo) == null ? void 0 : wt.conclusionStatus) === "Over" ? (o(), n("span", Hd, "DO/GO Over-consumption")) : (o(), n("span", Xd, "No DO/GO Over-consumption/Saving"))
|
|
1623
|
-
])) : (o(), n("div", Kd, i(
|
|
1624
|
+
])) : (o(), n("div", Kd, i(a.noGoodWxDay), 1)),
|
|
1624
1625
|
M.goodWx.distance ? (o(), n("div", qd, [
|
|
1625
1626
|
((Ft = (Vt = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : Vt.dgo) == null ? void 0 : Ft.conclusionStatus) === "Saving" ? (o(), n("div", $d, [
|
|
1626
1627
|
l[32] || (l[32] = t("i", { class: "iconfont gain" }, "", -1)),
|
|
@@ -1643,7 +1644,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1643
1644
|
}, "*Please see voyage analysis pages for the details.", -1))
|
|
1644
1645
|
]),
|
|
1645
1646
|
t("div", {
|
|
1646
|
-
class: b(N.computeBlankHtml(($ = s.report) == null ? void 0 : $.remarks) && !
|
|
1647
|
+
class: b(N.computeBlankHtml(($ = s.report) == null ? void 0 : $.remarks) && !a.exclusion.length ? "section remark-section print-hidden" : "section remark-section")
|
|
1647
1648
|
}, [
|
|
1648
1649
|
l[42] || (l[42] = t("div", { class: "header-block" }, [
|
|
1649
1650
|
t("div", { class: "bg-block" }, [
|
|
@@ -1651,7 +1652,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1651
1652
|
t("div", { class: "title" }, "Remarks")
|
|
1652
1653
|
])
|
|
1653
1654
|
], -1)),
|
|
1654
|
-
|
|
1655
|
+
a.exclusion.length ? (o(), n("div", MI, [
|
|
1655
1656
|
l[40] || (l[40] = t("div", { class: "sub-title" }, "Exclusion", -1)),
|
|
1656
1657
|
l[41] || (l[41] = t("div", { class: "text-secondary" }, [
|
|
1657
1658
|
t("div", null, "The voyage analysis does not include following information on time, distance, and consumed fuel.")
|
|
@@ -1681,7 +1682,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1681
1682
|
])
|
|
1682
1683
|
], -1)),
|
|
1683
1684
|
t("tbody", null, [
|
|
1684
|
-
(o(!0), n(T, null, $t(
|
|
1685
|
+
(o(!0), n(T, null, $t(a.exclusion, (M, B) => (o(), n("tr", { key: B }, [
|
|
1685
1686
|
t("td", null, i(B + 1), 1),
|
|
1686
1687
|
t("td", null, i(M.time), 1),
|
|
1687
1688
|
t("td", null, i(M.duration), 1),
|
|
@@ -1696,17 +1697,17 @@ function $g(e, l, s, r, d, N) {
|
|
|
1696
1697
|
t("div", {
|
|
1697
1698
|
class: b(N.computeBlankHtml((lt = s.report) == null ? void 0 : lt.remarks) ? "remark-block bg-blue-light-2 print-hidden" : "remark-block bg-blue-light-2 page-avoid")
|
|
1698
1699
|
}, [
|
|
1699
|
-
|
|
1700
|
+
a.editable ? (o(), ll(x, {
|
|
1700
1701
|
key: 0,
|
|
1701
|
-
modelValue:
|
|
1702
|
-
"onUpdate:modelValue": l[0] || (l[0] = (M) =>
|
|
1702
|
+
modelValue: a.remarks,
|
|
1703
|
+
"onUpdate:modelValue": l[0] || (l[0] = (M) => a.remarks = M),
|
|
1703
1704
|
class: "editor",
|
|
1704
1705
|
height: "120px",
|
|
1705
1706
|
onBlur: l[1] || (l[1] = (M) => N.handleCommit(M))
|
|
1706
1707
|
}, null, 8, ["modelValue"])) : (o(), n("div", {
|
|
1707
1708
|
key: 1,
|
|
1708
1709
|
onDblclick: l[2] || (l[2] = (...M) => N.handleEdit && N.handleEdit(...M)),
|
|
1709
|
-
innerHTML:
|
|
1710
|
+
innerHTML: a.remarks
|
|
1710
1711
|
}, null, 40, oI))
|
|
1711
1712
|
], 2)
|
|
1712
1713
|
], 2),
|
|
@@ -1718,7 +1719,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1718
1719
|
])
|
|
1719
1720
|
], -1)),
|
|
1720
1721
|
(o(!0), n(T, null, $t(s.report.segments, (M, B) => {
|
|
1721
|
-
var it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts,
|
|
1722
|
+
var it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts, r, ct, el, ol, El, Fl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ti, li, ii, si, Mi, ei, oi, ni, Di, Ni, ai, di, Ii, gi, Ai, ri, ci, yi, Ti, ui, zi, xi, ji, vi, Ui, Ei, Oi, Yi, Ci, bi, fi, Qi, pi, Si, ki, mi, Ri, hi, wi, Vi, Fi, Gi, Pi, Wi, ls, is, ss, Ms, es, Ds, Ns, as, ds, Is, rs, cs, ys, Ts, us, zs, xs, js, vs, Us, Es, Os, Ys, Cs, bs, fs, Qs, ps, Ss, ks, ms, Rs, hs, ws, Vs, Fs, Gs, Ps, Ws, y, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, os, tM, lM, iM, sM, MM, eM, oM, nM, DM, NM, aM, dM, IM, gM, AM, rM, cM, yM, TM, uM, zM, xM, jM, vM, UM, EM, OM, YM, CM, bM, fM, QM, pM, SM, kM, mM, RM, hM, wM, VM, FM, GM, PM, WM, ZM, LM, BM, _M, JM, HM, XM, KM, qM, $M, te, le, ie, se, Me, ee, oe, ne, De, Ne, ae, de, Ie, ge, Ae, re, ce, ye, Te, ue, ze, xe, je, ve, Ue, Ee, Oe, Ye, Ce, be, fe, Qe, pe, Se, ke, me, Re, he, we, Ve, Fe, Ge, Pe, We, Ze, Le, Be, _e, Je, He, Xe, Ke, qe, $e, to, lo, io, so, Mo, eo, oo, no, Do, No, ao, Io, go, Ao, ro, co, yo, To, uo, zo, xo, jo, vo, Uo, Eo, Oo, Yo, Co, bo, fo, Qo, po, So, ko, mo, Ro, ho, wo, Vo, Fo, Go, Po, Wo, Zo, Lo, Bo, _o, Jo, Ho, Xo;
|
|
1722
1723
|
return o(), n("div", {
|
|
1723
1724
|
key: B,
|
|
1724
1725
|
class: "segment-block"
|
|
@@ -1842,7 +1843,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1842
1843
|
])
|
|
1843
1844
|
], -1)),
|
|
1844
1845
|
t("tbody", null, [
|
|
1845
|
-
(o(!0), n(T, null, $t(
|
|
1846
|
+
(o(!0), n(T, null, $t(a.noons[B], (gt, $s) => (o(), n(T, { key: $s }, [
|
|
1846
1847
|
(o(!0), n(T, null, $t(gt, (ns, qs) => (o(), n(T, { key: qs }, [
|
|
1847
1848
|
ns.goodWx ? (o(), n("tr", QI, [
|
|
1848
1849
|
t("td", null, i(ns.type) + " " + i(N.computeUTCTime(ns.utc, "MMM-DD")), 1),
|
|
@@ -1859,7 +1860,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1859
1860
|
], 64))), 128))
|
|
1860
1861
|
])
|
|
1861
1862
|
])) : g("", !0),
|
|
1862
|
-
(dl =
|
|
1863
|
+
(dl = a.exclusion[B]) != null && dl.time ? (o(), n("div", pI, " *The Performance Speed Evaluation excludes exclusion time, distance, and consumed fuel. ")) : g("", !0),
|
|
1863
1864
|
(Il = M == null ? void 0 : M.goodWx) != null && Il.distance ? (o(), n("div", SI, [
|
|
1864
1865
|
t("div", kI, [
|
|
1865
1866
|
l[63] || (l[63] = t("div", { class: "speed-left row" }, [
|
|
@@ -1884,7 +1885,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
1884
1885
|
t("span", null, i((Hi = M == null ? void 0 : M.goodWx) == null ? void 0 : Hi.avgSpd), 1),
|
|
1885
1886
|
l[61] || (l[61] = t("span", null, "-", -1)),
|
|
1886
1887
|
t("span", null, i(((Xi = M == null ? void 0 : M.goodWx) == null ? void 0 : Xi.avgWf) > 0 ? (Ki = M == null ? void 0 : M.goodWx) == null ? void 0 : Ki.avgWf : `(${(qi = M == null ? void 0 : M.goodWx) == null ? void 0 : qi.avgWf})`), 1),
|
|
1887
|
-
(ts = ($i = s.report) == null ? void 0 : $i.weather) != null && ts.favorableCur && ((
|
|
1888
|
+
(ts = ($i = s.report) == null ? void 0 : $i.weather) != null && ts.favorableCur && ((r = M == null ? void 0 : M.goodWx) == null ? void 0 : r.avgCf) > 0 ? g("", !0) : (o(), n(T, { key: 0 }, [
|
|
1888
1889
|
l[60] || (l[60] = t("span", null, "-", -1)),
|
|
1889
1890
|
t("span", null, i(((ct = M == null ? void 0 : M.goodWx) == null ? void 0 : ct.avgCf) > 0 ? (el = M == null ? void 0 : M.goodWx) == null ? void 0 : el.avgCf : `(${(ol = M == null ? void 0 : M.goodWx) == null ? void 0 : ol.avgCf})`), 1)
|
|
1890
1891
|
], 64)),
|
|
@@ -2130,7 +2131,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
2130
2131
|
}, i(((Ws = M == null ? void 0 : M.timeConclusion) == null ? void 0 : Ws.conclusion) || ""), 3)
|
|
2131
2132
|
])
|
|
2132
2133
|
])
|
|
2133
|
-
])) : (o(), n("div", h1, i(
|
|
2134
|
+
])) : (o(), n("div", h1, i(a.noGoodWxDay), 1))
|
|
2134
2135
|
]),
|
|
2135
2136
|
t("div", w1, [
|
|
2136
2137
|
t("div", V1, [
|
|
@@ -2437,7 +2438,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
2437
2438
|
t("div", null, i(((_e = (Be = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : Be.fo) == null ? void 0 : _e.conclusion) || ""), 1)
|
|
2438
2439
|
], 2)
|
|
2439
2440
|
])
|
|
2440
|
-
])) : (o(), n("div", Qg, i(
|
|
2441
|
+
])) : (o(), n("div", Qg, i(a.noGoodWxDay), 1)),
|
|
2441
2442
|
((He = (Je = M == null ? void 0 : M.extend) == null ? void 0 : Je.cp) == null ? void 0 : He.dgo) > 0 ? (o(), n(T, { key: 2 }, [
|
|
2442
2443
|
t("div", pg, [
|
|
2443
2444
|
t("div", Sg, [
|
|
@@ -2558,7 +2559,7 @@ function $g(e, l, s, r, d, N) {
|
|
|
2558
2559
|
t("div", null, i(((Xo = (Ho = M == null ? void 0 : M.fuelConclusion) == null ? void 0 : Ho.dgo) == null ? void 0 : Xo.conclusion) || ""), 1)
|
|
2559
2560
|
], 2)
|
|
2560
2561
|
])
|
|
2561
|
-
])) : (o(), n("div", qg, i(
|
|
2562
|
+
])) : (o(), n("div", qg, i(a.noGoodWxDay), 1))
|
|
2562
2563
|
], 64)) : g("", !0)
|
|
2563
2564
|
])
|
|
2564
2565
|
]);
|
|
@@ -2642,8 +2643,8 @@ const lA = {
|
|
|
2642
2643
|
},
|
|
2643
2644
|
methods: {
|
|
2644
2645
|
prepare() {
|
|
2645
|
-
var e, l, s,
|
|
2646
|
-
this.showCF = ((l = (e = this.report) == null ? void 0 : e.weather) == null ? void 0 : l.showCF) ?? !1, this.showAisDistance = ((
|
|
2646
|
+
var e, l, s, c, a, N, x, d, A, Y, E, O;
|
|
2647
|
+
this.showCF = ((l = (e = this.report) == null ? void 0 : e.weather) == null ? void 0 : l.showCF) ?? !1, this.showAisDistance = ((c = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : c.showAisDistance) ?? !0, this.showSig = ((N = (a = this.report) == null ? void 0 : a.weather) == null ? void 0 : N.showSig) ?? !0, this.showSwell = ((d = (x = this.report) == null ? void 0 : x.weather) == null ? void 0 : d.showSwell) ?? !0, this.showWave = ((Y = (A = this.report) == null ? void 0 : A.weather) == null ? void 0 : Y.showWave) ?? !0, this.showWaterTemp = ((O = (E = this.report) == null ? void 0 : E.weather) == null ? void 0 : O.waterTempSwitch) || !1;
|
|
2647
2648
|
}
|
|
2648
2649
|
}
|
|
2649
2650
|
}, iA = { class: "report-inventory" }, sA = { class: "section summary-section" }, MA = { class: "summary-block" }, eA = {
|
|
@@ -2702,7 +2703,7 @@ const lA = {
|
|
|
2702
2703
|
key: 3,
|
|
2703
2704
|
class: "label"
|
|
2704
2705
|
}, vA = { class: "summary-tbody" };
|
|
2705
|
-
function UA(e, l, s,
|
|
2706
|
+
function UA(e, l, s, c, a, N) {
|
|
2706
2707
|
var x;
|
|
2707
2708
|
return o(), n("div", iA, [
|
|
2708
2709
|
t("div", sA, [
|
|
@@ -2759,41 +2760,41 @@ function UA(e, l, s, r, d, N) {
|
|
|
2759
2760
|
])
|
|
2760
2761
|
], -1)),
|
|
2761
2762
|
t("tbody", null, [
|
|
2762
|
-
(o(!0), n(T, null, $t((x = s.report) == null ? void 0 : x.segments, (
|
|
2763
|
+
(o(!0), n(T, null, $t((x = s.report) == null ? void 0 : x.segments, (d, A) => {
|
|
2763
2764
|
var Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H;
|
|
2764
2765
|
return o(), n(T, { key: A }, [
|
|
2765
2766
|
t("tr", null, [
|
|
2766
2767
|
t("td", eA, i(A + 1), 1),
|
|
2767
2768
|
l[0] || (l[0] = t("td", { class: "label" }, "Entire Period", -1)),
|
|
2768
|
-
t("td", null, i(N.computePrecision((Y =
|
|
2769
|
-
t("td", null, i(N.computePrecision((E =
|
|
2770
|
-
t("td", null, i(N.computePrecision((O =
|
|
2771
|
-
t("td", null, i(N.computePrecision((k =
|
|
2772
|
-
t("td", null, i(N.computePrecision((p =
|
|
2769
|
+
t("td", null, i(N.computePrecision((Y = d == null ? void 0 : d.allWx) == null ? void 0 : Y.distance, 2, "0.0")), 1),
|
|
2770
|
+
t("td", null, i(N.computePrecision((E = d == null ? void 0 : d.allWx) == null ? void 0 : E.time, 2, "0.0")), 1),
|
|
2771
|
+
t("td", null, i(N.computePrecision((O = d == null ? void 0 : d.allWx) == null ? void 0 : O.avgSpd, 2, "0.0")), 1),
|
|
2772
|
+
t("td", null, i(N.computePrecision((k = d == null ? void 0 : d.allWx) == null ? void 0 : k.sumFoCons, 3, "0.000")), 1),
|
|
2773
|
+
t("td", null, i(N.computePrecision((p = d == null ? void 0 : d.allWx) == null ? void 0 : p.sumDgoCons, 3, "0.000")), 1)
|
|
2773
2774
|
]),
|
|
2774
2775
|
t("tr", null, [
|
|
2775
2776
|
l[1] || (l[1] = t("td", { class: "label" }, "Good Weather Period", -1)),
|
|
2776
|
-
t("td", null, i(N.computePrecision((v =
|
|
2777
|
-
t("td", null, i(N.computePrecision((C =
|
|
2778
|
-
t("td", null, i(N.computePrecision((R =
|
|
2779
|
-
t("td", null, i(N.computePrecision((j =
|
|
2780
|
-
t("td", null, i(N.computePrecision((f =
|
|
2777
|
+
t("td", null, i(N.computePrecision((v = d == null ? void 0 : d.goodWx) == null ? void 0 : v.distance, 2, "0.0")), 1),
|
|
2778
|
+
t("td", null, i(N.computePrecision((C = d == null ? void 0 : d.goodWx) == null ? void 0 : C.time, 2, "0.0")), 1),
|
|
2779
|
+
t("td", null, i(N.computePrecision((R = d == null ? void 0 : d.goodWx) == null ? void 0 : R.avgSpd, 2, "0.0")), 1),
|
|
2780
|
+
t("td", null, i(N.computePrecision((j = d == null ? void 0 : d.goodWx) == null ? void 0 : j.sumFoCons, 3, "0.000")), 1),
|
|
2781
|
+
t("td", null, i(N.computePrecision((f = d == null ? void 0 : d.goodWx) == null ? void 0 : f.sumDgoCons, 3, "0.000")), 1)
|
|
2781
2782
|
]),
|
|
2782
2783
|
t("tr", null, [
|
|
2783
2784
|
l[2] || (l[2] = t("td", { class: "label" }, "Adverse Weather Period", -1)),
|
|
2784
|
-
t("td", null, i(N.computePrecision((m =
|
|
2785
|
-
t("td", null, i(N.computePrecision((h =
|
|
2786
|
-
t("td", null, i(N.computePrecision((u =
|
|
2787
|
-
t("td", null, i(N.computePrecision((w =
|
|
2788
|
-
t("td", null, i(N.computePrecision((V =
|
|
2785
|
+
t("td", null, i(N.computePrecision((m = d == null ? void 0 : d.badWx) == null ? void 0 : m.distance, 2, "0.0")), 1),
|
|
2786
|
+
t("td", null, i(N.computePrecision((h = d == null ? void 0 : d.badWx) == null ? void 0 : h.time, 2, "0.0")), 1),
|
|
2787
|
+
t("td", null, i(N.computePrecision((u = d == null ? void 0 : d.badWx) == null ? void 0 : u.avgSpd, 2, "0.0")), 1),
|
|
2788
|
+
t("td", null, i(N.computePrecision((w = d == null ? void 0 : d.badWx) == null ? void 0 : w.sumFoCons, 3, "0.000")), 1),
|
|
2789
|
+
t("td", null, i(N.computePrecision((V = d == null ? void 0 : d.badWx) == null ? void 0 : V.sumDgoCons, 3, "0.000")), 1)
|
|
2789
2790
|
]),
|
|
2790
2791
|
t("tr", null, [
|
|
2791
2792
|
l[3] || (l[3] = t("td", { class: "label" }, "Excluded Period", -1)),
|
|
2792
|
-
t("td", null, i(N.computePrecision((F =
|
|
2793
|
-
t("td", null, i(N.computePrecision((W =
|
|
2794
|
-
t("td", null, i(N.computePrecision((Z =
|
|
2795
|
-
t("td", null, i(N.computePrecision((L =
|
|
2796
|
-
t("td", null, i(N.computePrecision((H =
|
|
2793
|
+
t("td", null, i(N.computePrecision((F = d == null ? void 0 : d.excluded) == null ? void 0 : F.sumDistance, 2, "0.0")), 1),
|
|
2794
|
+
t("td", null, i(N.computePrecision((W = d == null ? void 0 : d.excluded) == null ? void 0 : W.sumDuration, 2, "0.0")), 1),
|
|
2795
|
+
t("td", null, i(N.computePrecision((Z = d == null ? void 0 : d.excluded) == null ? void 0 : Z.avgSpd, 2, "0.0")), 1),
|
|
2796
|
+
t("td", null, i(N.computePrecision((L = d == null ? void 0 : d.excluded) == null ? void 0 : L.sumFoCons, 3, "0.000")), 1),
|
|
2797
|
+
t("td", null, i(N.computePrecision((H = d == null ? void 0 : d.excluded) == null ? void 0 : H.sumDgoCons, 3, "0.000")), 1)
|
|
2797
2798
|
])
|
|
2798
2799
|
], 64);
|
|
2799
2800
|
}), 128))
|
|
@@ -2861,12 +2862,12 @@ function UA(e, l, s, r, d, N) {
|
|
|
2861
2862
|
I("Daily Cons. "),
|
|
2862
2863
|
t("span", { class: "text-units" }, "(mt)")
|
|
2863
2864
|
], -1)),
|
|
2864
|
-
|
|
2865
|
+
a.showAisDistance ? (o(), n("th", aA, [...l[12] || (l[12] = [
|
|
2865
2866
|
I("Spd", -1),
|
|
2866
2867
|
t("br", null, null, -1),
|
|
2867
2868
|
t("span", { class: "text-units" }, "(kts)", -1)
|
|
2868
2869
|
])])) : g("", !0),
|
|
2869
|
-
|
|
2870
|
+
a.showAisDistance ? (o(), n("th", dA, [...l[13] || (l[13] = [
|
|
2870
2871
|
I("Dis", -1),
|
|
2871
2872
|
t("br", null, null, -1),
|
|
2872
2873
|
t("span", { class: "text-units" }, "(nm)", -1)
|
|
@@ -2875,18 +2876,18 @@ function UA(e, l, s, r, d, N) {
|
|
|
2875
2876
|
class: "label",
|
|
2876
2877
|
colspan: "2"
|
|
2877
2878
|
}, "Wind", -1)),
|
|
2878
|
-
|
|
2879
|
+
a.showWave ? (o(), n("th", IA, [...l[14] || (l[14] = [
|
|
2879
2880
|
I("Sea HT", -1),
|
|
2880
2881
|
t("br", null, null, -1),
|
|
2881
2882
|
t("span", { class: "text-units" }, "(m)", -1)
|
|
2882
2883
|
])])) : g("", !0),
|
|
2883
|
-
|
|
2884
|
-
|
|
2884
|
+
a.showSwell ? (o(), n("th", gA, "Swell")) : g("", !0),
|
|
2885
|
+
a.showSig ? (o(), n("th", AA, [...l[15] || (l[15] = [
|
|
2885
2886
|
I("Sig Wave", -1),
|
|
2886
2887
|
t("br", null, null, -1),
|
|
2887
2888
|
t("span", { class: "text-units" }, "(m)", -1)
|
|
2888
2889
|
])])) : g("", !0),
|
|
2889
|
-
|
|
2890
|
+
a.showCF ? (o(), n("th", rA, "Current")) : g("", !0),
|
|
2890
2891
|
l[21] || (l[21] = t("th", {
|
|
2891
2892
|
class: "label",
|
|
2892
2893
|
rowspan: "2"
|
|
@@ -2897,7 +2898,7 @@ function UA(e, l, s, r, d, N) {
|
|
|
2897
2898
|
], -1)),
|
|
2898
2899
|
s.showFactor ? (o(), n("th", cA, "cFactor")) : g("", !0),
|
|
2899
2900
|
s.showFactor ? (o(), n("th", yA, "wxFactor")) : g("", !0),
|
|
2900
|
-
|
|
2901
|
+
a.showWaterTemp ? (o(), n("th", TA, "Water Temp.")) : g("", !0),
|
|
2901
2902
|
l[22] || (l[22] = t("th", {
|
|
2902
2903
|
class: "label",
|
|
2903
2904
|
rowspan: "2"
|
|
@@ -2958,13 +2959,13 @@ function UA(e, l, s, r, d, N) {
|
|
|
2958
2959
|
l[33] || (l[33] = t("th", { class: "label" }, "DO/GO", -1)),
|
|
2959
2960
|
l[34] || (l[34] = t("th", { class: "label" }, "Dir", -1)),
|
|
2960
2961
|
l[35] || (l[35] = t("th", { class: "label" }, "BF", -1)),
|
|
2961
|
-
|
|
2962
|
-
|
|
2962
|
+
a.showSwell ? (o(), n("th", uA, "Dir")) : g("", !0),
|
|
2963
|
+
a.showSwell ? (o(), n("th", zA, [...l[30] || (l[30] = [
|
|
2963
2964
|
I("HT ", -1),
|
|
2964
2965
|
t("span", { class: "text-units" }, "(m)", -1)
|
|
2965
2966
|
])])) : g("", !0),
|
|
2966
|
-
|
|
2967
|
-
|
|
2967
|
+
a.showCF ? (o(), n("th", xA, "Dir")) : g("", !0),
|
|
2968
|
+
a.showCF ? (o(), n("th", jA, [...l[31] || (l[31] = [
|
|
2968
2969
|
I("CF ", -1),
|
|
2969
2970
|
t("span", { class: "text-units" }, "(kts)", -1)
|
|
2970
2971
|
])])) : g("", !0),
|
|
@@ -2982,129 +2983,129 @@ function UA(e, l, s, r, d, N) {
|
|
|
2982
2983
|
])
|
|
2983
2984
|
]),
|
|
2984
2985
|
t("tbody", vA, [
|
|
2985
|
-
(o(!0), n(T, null, $t(s.inventory, (
|
|
2986
|
+
(o(!0), n(T, null, $t(s.inventory, (d, A) => {
|
|
2986
2987
|
var Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $;
|
|
2987
2988
|
return o(), n("tr", { key: A }, [
|
|
2988
2989
|
t("td", {
|
|
2989
|
-
class: b(
|
|
2990
|
-
}, i(
|
|
2990
|
+
class: b(d.segLength ? "no-border-bottom" : "no-border")
|
|
2991
|
+
}, i(d.segLength ? d.seg : ""), 3),
|
|
2991
2992
|
t("td", {
|
|
2992
|
-
class: b(["text-right",
|
|
2993
|
-
}, i(
|
|
2994
|
-
["B", "E"].includes(
|
|
2993
|
+
class: b(["text-right", d.excluded ? "excluded" : d.goodWx ? "good-wx" : ""])
|
|
2994
|
+
}, i(d.time), 3),
|
|
2995
|
+
["B", "E"].includes(d.abbrev) && ((Y = d.noon) != null && Y.port) ? (o(), n("td", {
|
|
2995
2996
|
key: 0,
|
|
2996
|
-
class: b(
|
|
2997
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : ""),
|
|
2997
2998
|
colspan: "2",
|
|
2998
2999
|
style: { "max-width": "150px", "text-wrap": "wrap" }
|
|
2999
|
-
}, i((E =
|
|
3000
|
+
}, i((E = d.noon) == null ? void 0 : E.port), 3)) : (o(), n(T, { key: 1 }, [
|
|
3000
3001
|
t("td", {
|
|
3001
|
-
class: b(
|
|
3002
|
-
}, i(
|
|
3002
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3003
|
+
}, i(d._lat.pretty), 3),
|
|
3003
3004
|
t("td", {
|
|
3004
|
-
class: b(
|
|
3005
|
-
}, i(
|
|
3005
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3006
|
+
}, i(d._lng.pretty), 3)
|
|
3006
3007
|
], 64)),
|
|
3007
3008
|
t("td", {
|
|
3008
|
-
class: b(N.computeTDClass(
|
|
3009
|
-
}, i(!["A", "B"].includes(
|
|
3009
|
+
class: b(N.computeTDClass(d))
|
|
3010
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.cp.speed : ""), 3),
|
|
3010
3011
|
t("td", {
|
|
3011
|
-
class: b(N.computeTDClass(
|
|
3012
|
-
}, i(!["A", "B"].includes(
|
|
3012
|
+
class: b(N.computeTDClass(d))
|
|
3013
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.cp.fo : ""), 3),
|
|
3013
3014
|
t("td", {
|
|
3014
|
-
class: b(N.computeTDClass(
|
|
3015
|
-
}, i(!["A", "B"].includes(
|
|
3016
|
-
|
|
3015
|
+
class: b(N.computeTDClass(d))
|
|
3016
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.cp.dgo : ""), 3),
|
|
3017
|
+
a.showAisDistance ? (o(), n("td", {
|
|
3017
3018
|
key: 2,
|
|
3018
|
-
class: b(N.computeTDClass(
|
|
3019
|
-
}, i(!["A", "B"].includes(
|
|
3020
|
-
|
|
3019
|
+
class: b(N.computeTDClass(d))
|
|
3020
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.avgSpdCalc : ""), 3)) : g("", !0),
|
|
3021
|
+
a.showAisDistance ? (o(), n("td", {
|
|
3021
3022
|
key: 3,
|
|
3022
|
-
class: b(N.computeTDClass(
|
|
3023
|
-
}, i(!["A", "B"].includes(
|
|
3023
|
+
class: b(N.computeTDClass(d))
|
|
3024
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.distanceCalc : ""), 3)) : g("", !0),
|
|
3024
3025
|
t("td", {
|
|
3025
|
-
class: b(
|
|
3026
|
-
}, i(
|
|
3026
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3027
|
+
}, i(d.type === "BOSP" ? "-" : ((k = (O = d.meteo) == null ? void 0 : O.wind) == null ? void 0 : k.direction) ?? "-"), 3),
|
|
3027
3028
|
t("td", {
|
|
3028
|
-
class: b(
|
|
3029
|
-
}, i(
|
|
3030
|
-
|
|
3029
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3030
|
+
}, i(d.type === "BOSP" ? "-" : ((v = (p = d.meteo) == null ? void 0 : p.wind) == null ? void 0 : v.scale) ?? "-"), 3),
|
|
3031
|
+
a.showWave ? (o(), n("td", {
|
|
3031
3032
|
key: 4,
|
|
3032
|
-
class: b(
|
|
3033
|
-
}, i(
|
|
3034
|
-
|
|
3033
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3034
|
+
}, i(d.type === "BOSP" ? "-" : ((j = (R = (C = d.meteo) == null ? void 0 : C.wave) == null ? void 0 : R.wd) == null ? void 0 : j.height) ?? "-"), 3)) : g("", !0),
|
|
3035
|
+
a.showSwell ? (o(), n("td", {
|
|
3035
3036
|
key: 5,
|
|
3036
|
-
class: b(
|
|
3037
|
-
}, i(
|
|
3038
|
-
|
|
3037
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3038
|
+
}, i(d.type === "BOSP" ? "-" : ((h = (m = (f = d.meteo) == null ? void 0 : f.wave) == null ? void 0 : m.swell) == null ? void 0 : h.direction) ?? "-"), 3)) : g("", !0),
|
|
3039
|
+
a.showSwell ? (o(), n("td", {
|
|
3039
3040
|
key: 6,
|
|
3040
|
-
class: b(
|
|
3041
|
-
}, i(
|
|
3042
|
-
|
|
3041
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3042
|
+
}, i(d.type === "BOSP" ? "-" : ((V = (w = (u = d.meteo) == null ? void 0 : u.wave) == null ? void 0 : w.swell) == null ? void 0 : V.height) ?? "-"), 3)) : g("", !0),
|
|
3043
|
+
a.showSig ? (o(), n("td", {
|
|
3043
3044
|
key: 7,
|
|
3044
|
-
class: b(
|
|
3045
|
-
}, i(
|
|
3046
|
-
|
|
3045
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3046
|
+
}, i(d.type === "BOSP" ? "-" : ((Z = (W = (F = d.meteo) == null ? void 0 : F.wave) == null ? void 0 : W.sig) == null ? void 0 : Z.height) ?? "-"), 3)) : g("", !0),
|
|
3047
|
+
a.showCF ? (o(), n("td", {
|
|
3047
3048
|
key: 8,
|
|
3048
|
-
class: b(
|
|
3049
|
-
}, i(
|
|
3050
|
-
|
|
3049
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3050
|
+
}, i(d.type === "BOSP" ? "-" : ((H = (L = d.meteo) == null ? void 0 : L.current) == null ? void 0 : H.direction) ?? "-"), 3)) : g("", !0),
|
|
3051
|
+
a.showCF ? (o(), n("td", {
|
|
3051
3052
|
key: 9,
|
|
3052
|
-
class: b(
|
|
3053
|
-
}, i(
|
|
3053
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3054
|
+
}, i(d.type === "BOSP" ? "-" : ((X = d.meteo) == null ? void 0 : X.cFactor) ?? "-"), 3)) : g("", !0),
|
|
3054
3055
|
t("td", {
|
|
3055
|
-
class: b(N.computeTDClass(
|
|
3056
|
-
}, i(!["A", "B"].includes(
|
|
3056
|
+
class: b(N.computeTDClass(d))
|
|
3057
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.dailyAvgCf : ""), 3),
|
|
3057
3058
|
s.showFactor ? (o(), n("td", {
|
|
3058
3059
|
key: 10,
|
|
3059
|
-
class: b(
|
|
3060
|
-
}, i(((K =
|
|
3060
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3061
|
+
}, i(((K = d.meteo) == null ? void 0 : K.cFactor) ?? "--"), 3)) : g("", !0),
|
|
3061
3062
|
s.showFactor ? (o(), n("td", {
|
|
3062
3063
|
key: 11,
|
|
3063
|
-
class: b(
|
|
3064
|
-
}, i(((q =
|
|
3065
|
-
|
|
3064
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3065
|
+
}, i(((q = d.meteo) == null ? void 0 : q.wxFactor) ?? "--"), 3)) : g("", !0),
|
|
3066
|
+
a.showWaterTemp ? (o(), n("td", {
|
|
3066
3067
|
key: 12,
|
|
3067
|
-
class: b(
|
|
3068
|
-
}, i(N.computePrecision(($ =
|
|
3068
|
+
class: b(d.excluded ? "excluded" : d.goodWx ? "good-wx" : "")
|
|
3069
|
+
}, i(N.computePrecision(($ = d.meteo) == null ? void 0 : $.sst, 2, "--")), 3)) : g("", !0),
|
|
3069
3070
|
t("td", {
|
|
3070
|
-
class: b(N.computeTDClass(
|
|
3071
|
-
}, i(!["A", "B"].includes(
|
|
3071
|
+
class: b(N.computeTDClass(d))
|
|
3072
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.avgSpd || "0.00" : ""), 3),
|
|
3072
3073
|
t("td", {
|
|
3073
|
-
class: b(N.computeTDClass(
|
|
3074
|
-
}, i(!["A", "B"].includes(
|
|
3074
|
+
class: b(N.computeTDClass(d))
|
|
3075
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.timeSlr || "0.0" : ""), 3),
|
|
3075
3076
|
t("td", {
|
|
3076
|
-
class: b(N.computeTDClass(
|
|
3077
|
-
}, i(!["A", "B"].includes(
|
|
3077
|
+
class: b(N.computeTDClass(d))
|
|
3078
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.distanceSlr || "0.0" : ""), 3),
|
|
3078
3079
|
t("td", {
|
|
3079
|
-
class: b(N.computeTDClass(
|
|
3080
|
-
}, i(!["A", "B"].includes(
|
|
3080
|
+
class: b(N.computeTDClass(d))
|
|
3081
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.rpm || "0" : ""), 3),
|
|
3081
3082
|
t("td", {
|
|
3082
|
-
class: b(N.computeTDClass(
|
|
3083
|
-
}, i(!["A", "B"].includes(
|
|
3083
|
+
class: b(N.computeTDClass(d))
|
|
3084
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.slip || "0" : ""), 3),
|
|
3084
3085
|
t("td", {
|
|
3085
|
-
class: b(N.computeTDClass(
|
|
3086
|
-
}, i(["A"].includes(
|
|
3086
|
+
class: b(N.computeTDClass(d))
|
|
3087
|
+
}, i(["A"].includes(d.abbrev) ? "" : d.noon.foBrob || "0.00"), 3),
|
|
3087
3088
|
t("td", {
|
|
3088
|
-
class: b(N.computeTDClass(
|
|
3089
|
-
}, i(["A"].includes(
|
|
3089
|
+
class: b(N.computeTDClass(d))
|
|
3090
|
+
}, i(["A"].includes(d.abbrev) ? "" : d.noon.dgoBrob || "0.00"), 3),
|
|
3090
3091
|
t("td", {
|
|
3091
|
-
class: b(N.computeTDClass(
|
|
3092
|
-
}, i(!["A", "B"].includes(
|
|
3092
|
+
class: b(N.computeTDClass(d))
|
|
3093
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.foCons || "0.00" : ""), 3),
|
|
3093
3094
|
t("td", {
|
|
3094
|
-
class: b(N.computeTDClass(
|
|
3095
|
-
}, i(!["A", "B"].includes(
|
|
3095
|
+
class: b(N.computeTDClass(d))
|
|
3096
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.dgoCons || "0.00" : ""), 3),
|
|
3096
3097
|
t("td", {
|
|
3097
|
-
class: b(N.computeTDClass(
|
|
3098
|
-
}, i(!["A", "B"].includes(
|
|
3098
|
+
class: b(N.computeTDClass(d))
|
|
3099
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.windDir || "--" : ""), 3),
|
|
3099
3100
|
t("td", {
|
|
3100
|
-
class: b(N.computeTDClass(
|
|
3101
|
-
}, i(!["A", "B"].includes(
|
|
3101
|
+
class: b(N.computeTDClass(d))
|
|
3102
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.windBF || "--" : ""), 3),
|
|
3102
3103
|
t("td", {
|
|
3103
|
-
class: b(N.computeTDClass(
|
|
3104
|
-
}, i(!["A", "B"].includes(
|
|
3104
|
+
class: b(N.computeTDClass(d))
|
|
3105
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.noon.seasHt || "--" : ""), 3),
|
|
3105
3106
|
t("td", {
|
|
3106
|
-
class: b(N.computeTDClass(
|
|
3107
|
-
}, i(!["A", "B"].includes(
|
|
3107
|
+
class: b(N.computeTDClass(d))
|
|
3108
|
+
}, i(!["A", "B"].includes(d.abbrev) && A ? d.inEca === !1 ? "" : "Inside ECA" : ""), 3)
|
|
3108
3109
|
]);
|
|
3109
3110
|
}), 128))
|
|
3110
3111
|
])
|
|
@@ -3163,7 +3164,7 @@ const OA = {
|
|
|
3163
3164
|
renderSpdConsChart() {
|
|
3164
3165
|
var O, k, p, v, C, R;
|
|
3165
3166
|
let e = [];
|
|
3166
|
-
const l = [], s = [],
|
|
3167
|
+
const l = [], s = [], c = {
|
|
3167
3168
|
dateTime: 0,
|
|
3168
3169
|
noonAvgSpd: 1,
|
|
3169
3170
|
noonFoCons: 2,
|
|
@@ -3175,21 +3176,21 @@ const OA = {
|
|
|
3175
3176
|
fo: 8,
|
|
3176
3177
|
excluded: 9
|
|
3177
3178
|
};
|
|
3178
|
-
let
|
|
3179
|
-
const x = this.inventory.filter((j) => j.noon) || [],
|
|
3179
|
+
let a = 0, N = 0;
|
|
3180
|
+
const x = this.inventory.filter((j) => j.noon) || [], d = [];
|
|
3180
3181
|
this.inventory.forEach((j, f) => {
|
|
3181
3182
|
var m, h;
|
|
3182
|
-
f === 0 &&
|
|
3183
|
-
}),
|
|
3183
|
+
f === 0 && d.push(j.utc), j.type === "EOSP" && ((m = this.inventory[f + 1]) == null ? void 0 : m.type) === "BOSP" && (d.push(j.utc), d.push((h = this.inventory[f + 1]) == null ? void 0 : h.utc)), f === this.inventory.length - 1 && d.push(j.utc);
|
|
3184
|
+
}), d.forEach((j, f) => {
|
|
3184
3185
|
if (f % 2 === 0) {
|
|
3185
|
-
const m = yt(
|
|
3186
|
+
const m = yt(d[f + 1]).diff(yt(d[f]), "minute", !0);
|
|
3186
3187
|
for (let h = 0; h <= m + 1; h++)
|
|
3187
|
-
l.push(this.computeUTCTime(yt(
|
|
3188
|
+
l.push(this.computeUTCTime(yt(d[f]).clone().utc().add(h, "m").format(), "MM-DD/HHmm[Z]"));
|
|
3188
3189
|
}
|
|
3189
3190
|
}), x.forEach((j, f) => {
|
|
3190
3191
|
var h, u, w, V, F, W, Z, L, H, X, K, q, $, lt;
|
|
3191
3192
|
const m = this.computeUTCTime(j.utc, "MM-DD/HHmm[Z]");
|
|
3192
|
-
if (j.noon && !e.some((M) => M.slice(0, 5) === j.utc.slice(5, 10)) && e.push(m), f === x.length - 1 && (e = e.filter((M) => M.slice(0, 5) !== j.utc.slice(5, 10)), e.push(m)),
|
|
3193
|
+
if (j.noon && !e.some((M) => M.slice(0, 5) === j.utc.slice(5, 10)) && e.push(m), f === x.length - 1 && (e = e.filter((M) => M.slice(0, 5) !== j.utc.slice(5, 10)), e.push(m)), a = Math.ceil(((h = j.noon) == null ? void 0 : h.foCons) > a ? (u = j.noon) == null ? void 0 : u.foCons : a), a = Math.ceil(((w = j.cp) == null ? void 0 : w.fo) > a ? (V = j.cp) == null ? void 0 : V.fo : a), N = Math.ceil(((F = j.noon) == null ? void 0 : F.dgoCons) > N ? (W = j.noon) == null ? void 0 : W.dgoCons : N), N = Math.ceil(((Z = j.cp) == null ? void 0 : Z.dgo) > N ? (L = j.cp) == null ? void 0 : L.dgo : N), s.push([
|
|
3193
3194
|
m,
|
|
3194
3195
|
(H = j.noon) == null ? void 0 : H.avgSpd,
|
|
3195
3196
|
(X = j.noon) == null ? void 0 : X.foCons,
|
|
@@ -3310,7 +3311,7 @@ const OA = {
|
|
|
3310
3311
|
position: "right",
|
|
3311
3312
|
nameGap: 30,
|
|
3312
3313
|
offset: 0,
|
|
3313
|
-
max:
|
|
3314
|
+
max: a + 1,
|
|
3314
3315
|
min: 0,
|
|
3315
3316
|
alignTicks: !0,
|
|
3316
3317
|
axisLabel: {
|
|
@@ -3333,8 +3334,8 @@ const OA = {
|
|
|
3333
3334
|
yAxisIndex: 0,
|
|
3334
3335
|
showSymbol: !1,
|
|
3335
3336
|
encode: {
|
|
3336
|
-
x:
|
|
3337
|
-
y:
|
|
3337
|
+
x: c.dateTime,
|
|
3338
|
+
y: c.cpSpeed
|
|
3338
3339
|
},
|
|
3339
3340
|
lineStyle: {
|
|
3340
3341
|
color: "#EC407A",
|
|
@@ -3359,8 +3360,8 @@ const OA = {
|
|
|
3359
3360
|
type: "dashed"
|
|
3360
3361
|
},
|
|
3361
3362
|
encode: {
|
|
3362
|
-
x:
|
|
3363
|
-
y:
|
|
3363
|
+
x: c.dateTime,
|
|
3364
|
+
y: c.fo
|
|
3364
3365
|
},
|
|
3365
3366
|
data: s,
|
|
3366
3367
|
z: 3
|
|
@@ -3371,8 +3372,8 @@ const OA = {
|
|
|
3371
3372
|
yAxisIndex: 0,
|
|
3372
3373
|
showSymbol: !1,
|
|
3373
3374
|
encode: {
|
|
3374
|
-
x:
|
|
3375
|
-
y: (k = (O = this.report) == null ? void 0 : O.weather) != null && k.believeRptDistance ?
|
|
3375
|
+
x: c.dateTime,
|
|
3376
|
+
y: (k = (O = this.report) == null ? void 0 : O.weather) != null && k.believeRptDistance ? c.noonAvgSpd : c.anlyAvgSpd
|
|
3376
3377
|
},
|
|
3377
3378
|
lineStyle: {
|
|
3378
3379
|
color: "#EC407A",
|
|
@@ -3393,8 +3394,8 @@ const OA = {
|
|
|
3393
3394
|
color: "#00ACC1"
|
|
3394
3395
|
},
|
|
3395
3396
|
encode: {
|
|
3396
|
-
x:
|
|
3397
|
-
y:
|
|
3397
|
+
x: c.dateTime,
|
|
3398
|
+
y: c.noonFoCons
|
|
3398
3399
|
},
|
|
3399
3400
|
data: s,
|
|
3400
3401
|
z: 5
|
|
@@ -3403,8 +3404,8 @@ const OA = {
|
|
|
3403
3404
|
name: "Good Weather Days",
|
|
3404
3405
|
type: "line",
|
|
3405
3406
|
encode: {
|
|
3406
|
-
x:
|
|
3407
|
-
y:
|
|
3407
|
+
x: c.dateTime,
|
|
3408
|
+
y: c.goodWx
|
|
3408
3409
|
},
|
|
3409
3410
|
itemStyle: {
|
|
3410
3411
|
color: "rgba(221, 243, 227, 1)"
|
|
@@ -3419,8 +3420,8 @@ const OA = {
|
|
|
3419
3420
|
name: "Excluded Days",
|
|
3420
3421
|
type: "line",
|
|
3421
3422
|
encode: {
|
|
3422
|
-
x:
|
|
3423
|
-
y:
|
|
3423
|
+
x: c.dateTime,
|
|
3424
|
+
y: c.excluded
|
|
3424
3425
|
},
|
|
3425
3426
|
itemStyle: {
|
|
3426
3427
|
color: "rgba(220, 220, 220, 1)"
|
|
@@ -3548,8 +3549,8 @@ const OA = {
|
|
|
3548
3549
|
yAxisIndex: 0,
|
|
3549
3550
|
showSymbol: !1,
|
|
3550
3551
|
encode: {
|
|
3551
|
-
x:
|
|
3552
|
-
y:
|
|
3552
|
+
x: c.dateTime,
|
|
3553
|
+
y: c.cpSpeed
|
|
3553
3554
|
},
|
|
3554
3555
|
lineStyle: {
|
|
3555
3556
|
color: "#EC407A",
|
|
@@ -3574,8 +3575,8 @@ const OA = {
|
|
|
3574
3575
|
type: "dashed"
|
|
3575
3576
|
},
|
|
3576
3577
|
encode: {
|
|
3577
|
-
x:
|
|
3578
|
-
y:
|
|
3578
|
+
x: c.dateTime,
|
|
3579
|
+
y: c.dgo
|
|
3579
3580
|
},
|
|
3580
3581
|
data: s,
|
|
3581
3582
|
z: 3
|
|
@@ -3586,8 +3587,8 @@ const OA = {
|
|
|
3586
3587
|
yAxisIndex: 0,
|
|
3587
3588
|
showSymbol: !1,
|
|
3588
3589
|
encode: {
|
|
3589
|
-
x:
|
|
3590
|
-
y: (C = (v = this.report) == null ? void 0 : v.weather) != null && C.believeRptDistance ?
|
|
3590
|
+
x: c.dateTime,
|
|
3591
|
+
y: (C = (v = this.report) == null ? void 0 : v.weather) != null && C.believeRptDistance ? c.noonAvgSpd : c.anlyAvgSpd
|
|
3591
3592
|
},
|
|
3592
3593
|
lineStyle: {
|
|
3593
3594
|
color: "#EC407A",
|
|
@@ -3609,8 +3610,8 @@ const OA = {
|
|
|
3609
3610
|
},
|
|
3610
3611
|
// barGap: '-100%',
|
|
3611
3612
|
encode: {
|
|
3612
|
-
x:
|
|
3613
|
-
y:
|
|
3613
|
+
x: c.dateTime,
|
|
3614
|
+
y: c.noonDgoCons
|
|
3614
3615
|
},
|
|
3615
3616
|
data: s,
|
|
3616
3617
|
z: 5
|
|
@@ -3619,8 +3620,8 @@ const OA = {
|
|
|
3619
3620
|
name: "Good Weather Days",
|
|
3620
3621
|
type: "line",
|
|
3621
3622
|
encode: {
|
|
3622
|
-
x:
|
|
3623
|
-
y:
|
|
3623
|
+
x: c.dateTime,
|
|
3624
|
+
y: c.goodWx
|
|
3624
3625
|
},
|
|
3625
3626
|
itemStyle: {
|
|
3626
3627
|
color: "rgba(221, 243, 227, 1)"
|
|
@@ -3635,8 +3636,8 @@ const OA = {
|
|
|
3635
3636
|
name: "Excluded Days",
|
|
3636
3637
|
type: "line",
|
|
3637
3638
|
encode: {
|
|
3638
|
-
x:
|
|
3639
|
-
y:
|
|
3639
|
+
x: c.dateTime,
|
|
3640
|
+
y: c.excluded
|
|
3640
3641
|
},
|
|
3641
3642
|
itemStyle: {
|
|
3642
3643
|
color: "rgba(220, 220, 220, 1)"
|
|
@@ -3654,7 +3655,7 @@ const OA = {
|
|
|
3654
3655
|
renderWxCurrChart() {
|
|
3655
3656
|
var p;
|
|
3656
3657
|
let e = [];
|
|
3657
|
-
const l = [], s = [],
|
|
3658
|
+
const l = [], s = [], c = {
|
|
3658
3659
|
dateTime: 0,
|
|
3659
3660
|
noonWdBF: 1,
|
|
3660
3661
|
anlyWdBF: 2,
|
|
@@ -3665,7 +3666,7 @@ const OA = {
|
|
|
3665
3666
|
goodWx: 7,
|
|
3666
3667
|
excluded: 8
|
|
3667
3668
|
};
|
|
3668
|
-
let
|
|
3669
|
+
let a = 4;
|
|
3669
3670
|
const N = this.inventory || [], x = [];
|
|
3670
3671
|
N.forEach((v, C) => {
|
|
3671
3672
|
var R, j;
|
|
@@ -3679,14 +3680,14 @@ const OA = {
|
|
|
3679
3680
|
}), N.forEach((v, C) => {
|
|
3680
3681
|
var j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It;
|
|
3681
3682
|
const R = this.computeUTCTime(v.utc, "MM-DD/HHmm[Z]");
|
|
3682
|
-
if (v.noon && !e.some((_) => _.slice(0, 5) === v.utc.slice(5, 10)) && e.push(R), C === N.length - 1 && (e = e.filter((_) => _.slice(0, 5) !== v.utc.slice(5, 10)), e.push(R)),
|
|
3683
|
+
if (v.noon && !e.some((_) => _.slice(0, 5) === v.utc.slice(5, 10)) && e.push(R), C === N.length - 1 && (e = e.filter((_) => _.slice(0, 5) !== v.utc.slice(5, 10)), e.push(R)), a = Math.ceil(((m = (f = (j = v.meteo) == null ? void 0 : j.wave) == null ? void 0 : f.sig) == null ? void 0 : m.height) > a ? (w = (u = (h = v.meteo) == null ? void 0 : h.wave) == null ? void 0 : u.sig) == null ? void 0 : w.height : a), s.push([
|
|
3683
3684
|
R,
|
|
3684
3685
|
((V = v.noon) == null ? void 0 : V.windBF) || ((W = (F = v.meteo) == null ? void 0 : F.wind) == null ? void 0 : W.scale),
|
|
3685
3686
|
(L = (Z = v.meteo) == null ? void 0 : Z.wind) == null ? void 0 : L.scale,
|
|
3686
3687
|
(X = (H = v.meteo) == null ? void 0 : H.wind) == null ? void 0 : X.direction,
|
|
3687
3688
|
(K = v.noon) == null ? void 0 : K.seasHt,
|
|
3688
3689
|
(lt = ($ = (q = v.meteo) == null ? void 0 : q.wave) == null ? void 0 : $.sig) == null ? void 0 : lt.height,
|
|
3689
|
-
v.dailyAvgCf ?? ((M = s[s.length - 1]) == null ? void 0 : M[
|
|
3690
|
+
v.dailyAvgCf ?? ((M = s[s.length - 1]) == null ? void 0 : M[c.anlyCurFct]),
|
|
3690
3691
|
v.goodWx && !v.excluded ? 20 : 0,
|
|
3691
3692
|
v.excluded ? 20 : 0
|
|
3692
3693
|
]), C < N.length - 1) {
|
|
@@ -3698,14 +3699,14 @@ const OA = {
|
|
|
3698
3699
|
(nt = (ot = _.meteo) == null ? void 0 : ot.wind) == null ? void 0 : nt.direction,
|
|
3699
3700
|
(Dt = _.noon) == null ? void 0 : Dt.seasHt,
|
|
3700
3701
|
(dt = (at = (Nt = v.meteo) == null ? void 0 : Nt.wave) == null ? void 0 : at.sig) == null ? void 0 : dt.height,
|
|
3701
|
-
_.dailyAvgCf ?? ((It = s[s.length - 1]) == null ? void 0 : It[
|
|
3702
|
+
_.dailyAvgCf ?? ((It = s[s.length - 1]) == null ? void 0 : It[c.anlyCurFct]),
|
|
3702
3703
|
_.goodWx && !_.excluded ? 20 : 0,
|
|
3703
3704
|
_.excluded ? 20 : 0
|
|
3704
3705
|
]);
|
|
3705
3706
|
}
|
|
3706
3707
|
});
|
|
3707
|
-
const
|
|
3708
|
-
e = e.filter((v, C) => C === 0 || C === e.length - 1 || C %
|
|
3708
|
+
const d = Math.ceil(e.length / 10);
|
|
3709
|
+
e = e.filter((v, C) => C === 0 || C === e.length - 1 || C % d === 0);
|
|
3709
3710
|
let A = -2.5, Y = 2.5, E = 1, O = 5;
|
|
3710
3711
|
A < -2.5 || Y > 2.5 ? (A = Math.floor(this.findMinValue(s, 6) / 5) * 5, Y = Math.ceil(this.findMaxValue(s, 6) / 5) * 5, E = Math.ceil(Math.max([Math.abs(A), Math.abs(Y)]) / 5), O = Math.ceil(Math.abs(A) / E) + Math.ceil(Math.abs(Y) / E)) : (E = 0.5, A = Math.floor(this.findMinValue(s, 6) / 0.5) * E, Y = 2.5, O = Math.abs(A) / E + 5);
|
|
3711
3712
|
const k = {
|
|
@@ -3865,8 +3866,8 @@ const OA = {
|
|
|
3865
3866
|
yAxisIndex: 0,
|
|
3866
3867
|
showSymbol: !1,
|
|
3867
3868
|
encode: {
|
|
3868
|
-
x:
|
|
3869
|
-
y:
|
|
3869
|
+
x: c.dateTime,
|
|
3870
|
+
y: c.anlyCurFct
|
|
3870
3871
|
},
|
|
3871
3872
|
itemStyle: {
|
|
3872
3873
|
color: "rgba(178, 51, 220, 1)"
|
|
@@ -3882,8 +3883,8 @@ const OA = {
|
|
|
3882
3883
|
yAxisIndex: 1,
|
|
3883
3884
|
showSymbol: !1,
|
|
3884
3885
|
encode: {
|
|
3885
|
-
x:
|
|
3886
|
-
y:
|
|
3886
|
+
x: c.dateTime,
|
|
3887
|
+
y: c.anlyWdBF
|
|
3887
3888
|
},
|
|
3888
3889
|
itemStyle: {
|
|
3889
3890
|
color: "rgba(54, 212, 0, 1)"
|
|
@@ -3899,8 +3900,8 @@ const OA = {
|
|
|
3899
3900
|
yAxisIndex: 2,
|
|
3900
3901
|
showSymbol: !1,
|
|
3901
3902
|
encode: {
|
|
3902
|
-
x:
|
|
3903
|
-
y:
|
|
3903
|
+
x: c.dateTime,
|
|
3904
|
+
y: c.anlySigWvHt
|
|
3904
3905
|
},
|
|
3905
3906
|
itemStyle: {
|
|
3906
3907
|
color: "rgba(1, 189, 211, 1)"
|
|
@@ -3915,8 +3916,8 @@ const OA = {
|
|
|
3915
3916
|
type: "line",
|
|
3916
3917
|
yAxisIndex: 3,
|
|
3917
3918
|
encode: {
|
|
3918
|
-
x:
|
|
3919
|
-
y:
|
|
3919
|
+
x: c.dateTime,
|
|
3920
|
+
y: c.goodWx
|
|
3920
3921
|
},
|
|
3921
3922
|
itemStyle: {
|
|
3922
3923
|
color: "rgba(221, 243, 227, 1)"
|
|
@@ -3932,8 +3933,8 @@ const OA = {
|
|
|
3932
3933
|
type: "line",
|
|
3933
3934
|
yAxisIndex: 3,
|
|
3934
3935
|
encode: {
|
|
3935
|
-
x:
|
|
3936
|
-
y:
|
|
3936
|
+
x: c.dateTime,
|
|
3937
|
+
y: c.excluded
|
|
3937
3938
|
},
|
|
3938
3939
|
itemStyle: {
|
|
3939
3940
|
color: "rgba(220, 220, 220, 1)"
|
|
@@ -3950,10 +3951,10 @@ const OA = {
|
|
|
3950
3951
|
},
|
|
3951
3952
|
findMaxValue(e, l) {
|
|
3952
3953
|
let s = -1 / 0;
|
|
3953
|
-
for (let
|
|
3954
|
-
const
|
|
3955
|
-
if (
|
|
3956
|
-
const N =
|
|
3954
|
+
for (let c = 0; c < e.length; c++) {
|
|
3955
|
+
const a = e[c];
|
|
3956
|
+
if (a.length >= l + 1) {
|
|
3957
|
+
const N = a[l];
|
|
3957
3958
|
typeof N == "number" && !isNaN(N) && Number(N) > s && (s = N);
|
|
3958
3959
|
}
|
|
3959
3960
|
}
|
|
@@ -3961,10 +3962,10 @@ const OA = {
|
|
|
3961
3962
|
},
|
|
3962
3963
|
findMinValue(e, l) {
|
|
3963
3964
|
let s = 1 / 0;
|
|
3964
|
-
for (let
|
|
3965
|
-
const
|
|
3966
|
-
if (
|
|
3967
|
-
const N =
|
|
3965
|
+
for (let c = 0; c < e.length; c++) {
|
|
3966
|
+
const a = e[c];
|
|
3967
|
+
if (a.length >= l + 1) {
|
|
3968
|
+
const N = a[l];
|
|
3968
3969
|
N < s && (s = N);
|
|
3969
3970
|
}
|
|
3970
3971
|
}
|
|
@@ -4033,8 +4034,8 @@ const OA = {
|
|
|
4033
4034
|
class: "flex-end",
|
|
4034
4035
|
style: { flex: "1", "text-transform": "uppercase" }
|
|
4035
4036
|
}, tr = ["src"];
|
|
4036
|
-
function lr(e, l, s,
|
|
4037
|
-
var x,
|
|
4037
|
+
function lr(e, l, s, c, a, N) {
|
|
4038
|
+
var x, d, A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L;
|
|
4038
4039
|
return o(), n("div", YA, [
|
|
4039
4040
|
t("div", CA, [
|
|
4040
4041
|
l[0] || (l[0] = t("div", { class: "header-block" }, [
|
|
@@ -4065,7 +4066,7 @@ function lr(e, l, s, r, d, N) {
|
|
|
4065
4066
|
]),
|
|
4066
4067
|
t("div", VA, [
|
|
4067
4068
|
l[2] || (l[2] = t("label", { class: "text-label flex-end" }, "Vessel", -1)),
|
|
4068
|
-
t("span", FA, i((
|
|
4069
|
+
t("span", FA, i((d = (x = s.report) == null ? void 0 : x.vessel) == null ? void 0 : d.name), 1),
|
|
4069
4070
|
t("span", GA, "(" + i((Y = (A = s.report) == null ? void 0 : A.vessel) == null ? void 0 : Y.type) + ")", 1)
|
|
4070
4071
|
]),
|
|
4071
4072
|
t("div", PA, [
|
|
@@ -4143,20 +4144,20 @@ const sr = {
|
|
|
4143
4144
|
const e = this.voyageEmails.sort((l, s) => l.date < s.date);
|
|
4144
4145
|
e == null || e.forEach((l, s) => {
|
|
4145
4146
|
var A, Y;
|
|
4146
|
-
let
|
|
4147
|
+
let c = "<div>";
|
|
4147
4148
|
l.to.includes("op@ormwx.com") || l.source === "VRT" ? (((Y = (A = l.body) == null ? void 0 : A.replace(/^"|"$/g, "")) == null ? void 0 : Y.split("\\n")).forEach((O) => {
|
|
4148
4149
|
const k = `<p>${O}</p>`;
|
|
4149
|
-
|
|
4150
|
-
}),
|
|
4151
|
-
const
|
|
4152
|
-
if (x <=
|
|
4150
|
+
c = c + k;
|
|
4151
|
+
}), c = c + "</div>") : c = l.body;
|
|
4152
|
+
const a = document.getElementById("col1"), N = document.getElementById("col2"), x = (a == null ? void 0 : a.offsetHeight) || 0, d = (N == null ? void 0 : N.offsetHeight) || 0;
|
|
4153
|
+
if (x <= d) {
|
|
4153
4154
|
let O = `<div class="${l.to.includes("op@ormwx.com") || l.source === "VRT" ? "vrpt-mail-item vrpt-item-left vrpt-inbox" : "vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
4154
4155
|
<div class="vrpt-date">Date: ${l.date}</div>
|
|
4155
4156
|
<div class="vrpt-from">From: ${l.from}</div>
|
|
4156
4157
|
<div class="vrpt-to">To: ${l.to}</div>
|
|
4157
4158
|
<div class="vrpt-subject">Subject: ${l.subject}</div>
|
|
4158
4159
|
<br/>`;
|
|
4159
|
-
O = O +
|
|
4160
|
+
O = O + c + "</div>", a.insertAdjacentHTML("beforeend", O);
|
|
4160
4161
|
} else {
|
|
4161
4162
|
let O = `<div class="${l.to.includes("op@ormwx.com") || l.source === "VRT" ? "vrpt-mail-item vrpt-item-right vrpt-inbox" : "vrpt-mail-item vrpt-item-right vrpt-outbox"}">
|
|
4162
4163
|
<div class="vrpt-date">Date: ${l.date}</div>
|
|
@@ -4164,13 +4165,13 @@ const sr = {
|
|
|
4164
4165
|
<div class="vrpt-to">To: ${l.to}</div>
|
|
4165
4166
|
<div class="vrpt-subject">Subject: ${l.subject}</div>
|
|
4166
4167
|
<br/>`;
|
|
4167
|
-
O = O +
|
|
4168
|
+
O = O + c + "</div>", N.insertAdjacentHTML("beforeend", O);
|
|
4168
4169
|
}
|
|
4169
4170
|
});
|
|
4170
4171
|
}
|
|
4171
4172
|
}
|
|
4172
4173
|
}, Mr = { class: "report-email" };
|
|
4173
|
-
function er(e, l, s,
|
|
4174
|
+
function er(e, l, s, c, a, N) {
|
|
4174
4175
|
return o(), n("div", Mr, [...l[0] || (l[0] = [
|
|
4175
4176
|
sl('<div class="section email-section" data-v-89acf5c4><div class="header-block" data-v-89acf5c4><div class="bg-block" data-v-89acf5c4><i class="iconfont icon-a-Updateemail" data-v-89acf5c4></i><div class="title" data-v-89acf5c4>Emails</div></div></div><div class="content-box" data-v-89acf5c4><div id="col1" class="col col1" data-v-89acf5c4></div><div id="col2" class="col col2" data-v-89acf5c4></div></div></div>', 1)
|
|
4176
4177
|
])]);
|
|
@@ -4227,24 +4228,24 @@ const nr = {
|
|
|
4227
4228
|
prepare() {
|
|
4228
4229
|
var l, s;
|
|
4229
4230
|
const e = [];
|
|
4230
|
-
(s = (l = this.report) == null ? void 0 : l.segments) == null || s.forEach((
|
|
4231
|
-
const
|
|
4232
|
-
let N, x,
|
|
4233
|
-
|
|
4234
|
-
N || (N = A), (!x ||
|
|
4231
|
+
(s = (l = this.report) == null ? void 0 : l.segments) == null || s.forEach((c) => {
|
|
4232
|
+
const a = c.extend.cp;
|
|
4233
|
+
let N, x, d = !1;
|
|
4234
|
+
c.inventory.sample.hours.forEach((A, Y) => {
|
|
4235
|
+
N || (N = A), (!x || d) && (x = A, d = !1), N.segIndex === A.segIndex ? N.segLength = (N.segLength || 0) + 1 : (N = A, N.segLength = 1), x.noonLength = (x.noonLength || 0) + 1;
|
|
4235
4236
|
let E = A.type.charAt(0);
|
|
4236
|
-
["N", "M", "E"].includes(E) && (
|
|
4237
|
+
["N", "M", "E"].includes(E) && (d = !0, x.dailyAvgCf = A.dailyAvgCf, x.avgSpdCalc = A.avgSpdCalc, x.distanceCalc = A.distanceCalc, x.noon && (x.noon.foCons = A.noon.foCons, x.noon.dgoCons = A.noon.dgoCons)), A.abbrev = E, E = E === "M" ? "*" : E === "A" ? "" : E, A.time = `${E} ${this.computeUTCTime(A.utc, "MMM-DD/HHmm[Z]")}`, A._lng = G.lng2pretty(A.lng), A._lat = G.lat2pretty(A.lat), A.cp = a, A.goodWx = A.type === "BOSP" ? !1 : A.goodWx, e.push(A);
|
|
4237
4238
|
});
|
|
4238
|
-
}), e.sort((
|
|
4239
|
+
}), e.sort((c, a) => c.positionTime - a.positionTime), this.inventory = e;
|
|
4239
4240
|
}
|
|
4240
4241
|
}
|
|
4241
4242
|
}, Dr = {
|
|
4242
4243
|
key: 0,
|
|
4243
4244
|
class: "loading-block"
|
|
4244
4245
|
};
|
|
4245
|
-
function Nr(e, l, s,
|
|
4246
|
+
function Nr(e, l, s, c, a, N) {
|
|
4246
4247
|
var k, p, v;
|
|
4247
|
-
const x = J("IdmBrand"),
|
|
4248
|
+
const x = J("IdmBrand"), d = J("IdmLoading"), A = J("VoySummary"), Y = J("Inventory"), E = J("Chart"), O = J("Email");
|
|
4248
4249
|
return o(), n("div", {
|
|
4249
4250
|
class: b((p = (k = s.report) == null ? void 0 : k.weather) != null && p.referenceOnly ? "report-section watermark" : "report-section")
|
|
4250
4251
|
}, [
|
|
@@ -4252,10 +4253,10 @@ function Nr(e, l, s, r, d, N) {
|
|
|
4252
4253
|
name: "Voyage Analysis Report",
|
|
4253
4254
|
issued: s.report.createdAt
|
|
4254
4255
|
}, null, 8, ["issued"]),
|
|
4255
|
-
|
|
4256
|
-
tt(
|
|
4257
|
-
loading:
|
|
4258
|
-
onTimeout: l[0] || (l[0] = (C) =>
|
|
4256
|
+
a.loading ? (o(), n("div", Dr, [
|
|
4257
|
+
tt(d, {
|
|
4258
|
+
loading: a.loading,
|
|
4259
|
+
onTimeout: l[0] || (l[0] = (C) => a.loading = !1)
|
|
4259
4260
|
}, null, 8, ["loading"])
|
|
4260
4261
|
])) : (o(), n(T, { key: 1 }, [
|
|
4261
4262
|
tt(A, {
|
|
@@ -4265,12 +4266,12 @@ function Nr(e, l, s, r, d, N) {
|
|
|
4265
4266
|
}, null, 8, ["report", "onCommit"]),
|
|
4266
4267
|
tt(Y, {
|
|
4267
4268
|
report: s.report,
|
|
4268
|
-
inventory:
|
|
4269
|
+
inventory: a.inventory,
|
|
4269
4270
|
class: "main"
|
|
4270
4271
|
}, null, 8, ["report", "inventory"]),
|
|
4271
4272
|
tt(E, {
|
|
4272
4273
|
report: s.report,
|
|
4273
|
-
inventory:
|
|
4274
|
+
inventory: a.inventory,
|
|
4274
4275
|
class: "main"
|
|
4275
4276
|
}, null, 8, ["report", "inventory"]),
|
|
4276
4277
|
((v = s.voyageEmails) == null ? void 0 : v.length) > 0 ? (o(), ll(O, {
|
|
@@ -4338,8 +4339,8 @@ const dr = {
|
|
|
4338
4339
|
watch: {
|
|
4339
4340
|
report: {
|
|
4340
4341
|
handler() {
|
|
4341
|
-
var e, l, s,
|
|
4342
|
-
this.reservations4Route = (l = (e = this.report) == null ? void 0 : e.reservations) == null ? void 0 : l.filter((A) => A.props), this.reservations4Point = (
|
|
4342
|
+
var e, l, s, c, a, N, x, d;
|
|
4343
|
+
this.reservations4Route = (l = (e = this.report) == null ? void 0 : e.reservations) == null ? void 0 : l.filter((A) => A.props), this.reservations4Point = (c = (s = this.report) == null ? void 0 : s.reservations) == null ? void 0 : c.filter((A) => !A.props), this.account = (a = this.report) == null ? void 0 : a.account, this.totalInUS = (x = (N = this.report) == null ? void 0 : N.reservations) == null ? void 0 : x.reduce((A, Y) => Math.round((A + Y.amount) * 100) / 100, 0), (d = this.reservations4Route) != null && d.length ? this.maxColspans = this.report.showPort ? 8 : 6 : this.maxColspans = 2;
|
|
4343
4344
|
},
|
|
4344
4345
|
immediate: !0
|
|
4345
4346
|
}
|
|
@@ -4354,8 +4355,8 @@ const dr = {
|
|
|
4354
4355
|
key: 0,
|
|
4355
4356
|
class: "memo-block bg-blue-light"
|
|
4356
4357
|
}, wr = ["innerHTML"], Vr = { class: "section company-section" }, Fr = { class: "company-item" }, Gr = { class: "company-item" }, Pr = { class: "company-item" }, Wr = { class: "company-item" }, Zr = { class: "company-item" }, Lr = { class: "company-item" }, Br = { class: "company-item" }, _r = { class: "company-item" }, Jr = { class: "company-item" }, Hr = { class: "company-item" }, Xr = { class: "company-item" }, Kr = { class: "company-item" }, qr = { class: "company-item" }, $r = { class: "company-item" }, tc = { class: "section sign-section" }, lc = { class: "flex-space" }, ic = { class: "sign-block" };
|
|
4357
|
-
function sc(e, l, s,
|
|
4358
|
-
var
|
|
4358
|
+
function sc(e, l, s, c, a, N) {
|
|
4359
|
+
var d, A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D;
|
|
4359
4360
|
const x = J("IdmBrand");
|
|
4360
4361
|
return o(), n("div", Ir, [
|
|
4361
4362
|
tt(x, {
|
|
@@ -4368,7 +4369,7 @@ function sc(e, l, s, r, d, N) {
|
|
|
4368
4369
|
l[0] || (l[0] = t("span", { class: "label text-label" }, "Bill To", -1)),
|
|
4369
4370
|
t("span", {
|
|
4370
4371
|
class: "text",
|
|
4371
|
-
innerHTML: (Y = (A = (
|
|
4372
|
+
innerHTML: (Y = (A = (d = s.report) == null ? void 0 : d.invoiceTitle) == null ? void 0 : A.name) == null ? void 0 : Y.replace(`
|
|
4372
4373
|
`, "<br/>")
|
|
4373
4374
|
}, null, 8, cr)
|
|
4374
4375
|
]),
|
|
@@ -4382,7 +4383,7 @@ function sc(e, l, s, r, d, N) {
|
|
|
4382
4383
|
])) : g("", !0)
|
|
4383
4384
|
]),
|
|
4384
4385
|
t("table", null, [
|
|
4385
|
-
(O =
|
|
4386
|
+
(O = a.reservations4Route) != null && O.length ? (o(), n(T, { key: 0 }, [
|
|
4386
4387
|
t("thead", null, [
|
|
4387
4388
|
t("tr", null, [
|
|
4388
4389
|
l[3] || (l[3] = t("th", null, "NO.", -1)),
|
|
@@ -4397,7 +4398,7 @@ function sc(e, l, s, r, d, N) {
|
|
|
4397
4398
|
])
|
|
4398
4399
|
]),
|
|
4399
4400
|
t("tbody", null, [
|
|
4400
|
-
(o(!0), n(T, null, $t(
|
|
4401
|
+
(o(!0), n(T, null, $t(a.reservations4Route, (S, rt) => {
|
|
4401
4402
|
var _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul;
|
|
4402
4403
|
return o(), n("tr", { key: rt }, [
|
|
4403
4404
|
t("td", null, i((Ht = (Jt = (_t = S.props) == null ? void 0 : _t[0]) == null ? void 0 : Jt.voyage) == null ? void 0 : Ht.number), 1),
|
|
@@ -4413,21 +4414,21 @@ function sc(e, l, s, r, d, N) {
|
|
|
4413
4414
|
}), 128))
|
|
4414
4415
|
])
|
|
4415
4416
|
], 64)) : g("", !0),
|
|
4416
|
-
(v =
|
|
4417
|
+
(v = a.reservations4Point) != null && v.length ? (o(), n(T, { key: 1 }, [
|
|
4417
4418
|
t("thead", null, [
|
|
4418
4419
|
t("tr", null, [
|
|
4419
4420
|
l[10] || (l[10] = t("td", null, "NO.", -1)),
|
|
4420
4421
|
t("td", {
|
|
4421
|
-
colspan:
|
|
4422
|
+
colspan: a.maxColspans - 1
|
|
4422
4423
|
}, "Items.", 8, Er),
|
|
4423
4424
|
l[11] || (l[11] = t("td", null, "Amounts", -1))
|
|
4424
4425
|
])
|
|
4425
4426
|
]),
|
|
4426
4427
|
t("tbody", null, [
|
|
4427
|
-
(o(!0), n(T, null, $t(
|
|
4428
|
+
(o(!0), n(T, null, $t(a.reservations4Point, (S, rt) => (o(), n("tr", { key: rt }, [
|
|
4428
4429
|
t("td", null, i(S.number), 1),
|
|
4429
4430
|
t("td", {
|
|
4430
|
-
colspan:
|
|
4431
|
+
colspan: a.maxColspans - 1
|
|
4431
4432
|
}, i(S.items), 9, Or),
|
|
4432
4433
|
t("td", null, "$" + i(S.amount), 1)
|
|
4433
4434
|
]))), 128))
|
|
@@ -4436,15 +4437,15 @@ function sc(e, l, s, r, d, N) {
|
|
|
4436
4437
|
t("tbody", null, [
|
|
4437
4438
|
((C = s.report) == null ? void 0 : C.paymentType) === "CNY" ? (o(), n(T, { key: 0 }, [
|
|
4438
4439
|
t("tr", null, [
|
|
4439
|
-
t("td", { colspan:
|
|
4440
|
+
t("td", { colspan: a.maxColspans }, [...l[12] || (l[12] = [
|
|
4440
4441
|
t("span", null, "Total in USD", -1)
|
|
4441
4442
|
])], 8, Yr),
|
|
4442
4443
|
t("td", Cr, [
|
|
4443
|
-
t("span", null, i(`$${
|
|
4444
|
+
t("span", null, i(`$${a.totalInUS}`), 1)
|
|
4444
4445
|
])
|
|
4445
4446
|
]),
|
|
4446
4447
|
t("tr", null, [
|
|
4447
|
-
t("td", { colspan:
|
|
4448
|
+
t("td", { colspan: a.maxColspans }, [...l[13] || (l[13] = [
|
|
4448
4449
|
t("span", null, "Exchange Rate", -1)
|
|
4449
4450
|
])], 8, br),
|
|
4450
4451
|
t("td", fr, [
|
|
@@ -4452,11 +4453,11 @@ function sc(e, l, s, r, d, N) {
|
|
|
4452
4453
|
])
|
|
4453
4454
|
]),
|
|
4454
4455
|
t("tr", null, [
|
|
4455
|
-
t("td", { colspan:
|
|
4456
|
+
t("td", { colspan: a.maxColspans }, "Total in CNY", 8, Qr),
|
|
4456
4457
|
t("td", pr, "¥" + i((j = s.report) == null ? void 0 : j.paymentAmount), 1)
|
|
4457
4458
|
])
|
|
4458
4459
|
], 64)) : (o(), n("tr", Sr, [
|
|
4459
|
-
t("td", { colspan:
|
|
4460
|
+
t("td", { colspan: a.maxColspans }, [...l[14] || (l[14] = [
|
|
4460
4461
|
t("span", { style: { "font-weight": "600" } }, "Total in USD", -1)
|
|
4461
4462
|
])], 8, kr),
|
|
4462
4463
|
t("td", mr, [
|
|
@@ -4485,60 +4486,60 @@ function sc(e, l, s, r, d, N) {
|
|
|
4485
4486
|
((w = s.report) == null ? void 0 : w.paymentType) === "CNY" ? (o(), n(T, { key: 0 }, [
|
|
4486
4487
|
t("div", Fr, [
|
|
4487
4488
|
l[16] || (l[16] = t("label", null, "Bank", -1)),
|
|
4488
|
-
t("span", null, i((Z = (W =
|
|
4489
|
+
t("span", null, i((Z = (W = a.account) == null ? void 0 : W[(F = (V = s.report) == null ? void 0 : V.paymentType) == null ? void 0 : F.toLowerCase()]) == null ? void 0 : Z.bank), 1)
|
|
4489
4490
|
]),
|
|
4490
4491
|
t("div", Gr, [
|
|
4491
4492
|
l[17] || (l[17] = t("label", null, "Account", -1)),
|
|
4492
|
-
t("span", null, i((K = (X =
|
|
4493
|
+
t("span", null, i((K = (X = a.account) == null ? void 0 : X[(H = (L = s.report) == null ? void 0 : L.paymentType) == null ? void 0 : H.toLowerCase()]) == null ? void 0 : K.number), 1)
|
|
4493
4494
|
]),
|
|
4494
4495
|
t("div", Pr, [
|
|
4495
4496
|
l[18] || (l[18] = t("label", null, "Title", -1)),
|
|
4496
|
-
t("span", null, i((M = (lt =
|
|
4497
|
+
t("span", null, i((M = (lt = a.account) == null ? void 0 : lt[($ = (q = s.report) == null ? void 0 : q.paymentType) == null ? void 0 : $.toLowerCase()]) == null ? void 0 : M.title), 1)
|
|
4497
4498
|
]),
|
|
4498
4499
|
t("div", Wr, [
|
|
4499
4500
|
l[19] || (l[19] = t("label", null, "Addr", -1)),
|
|
4500
|
-
t("span", null, i((Mt = (st =
|
|
4501
|
+
t("span", null, i((Mt = (st = a.account) == null ? void 0 : st[(it = (B = s.report) == null ? void 0 : B.paymentType) == null ? void 0 : it.toLowerCase()]) == null ? void 0 : Mt.address), 1)
|
|
4501
4502
|
]),
|
|
4502
4503
|
t("div", Zr, [
|
|
4503
4504
|
l[20] || (l[20] = t("label", null, "Tel", -1)),
|
|
4504
|
-
t("span", null, i((Dt = (nt =
|
|
4505
|
+
t("span", null, i((Dt = (nt = a.account) == null ? void 0 : nt[(ot = (et = s.report) == null ? void 0 : et.paymentType) == null ? void 0 : ot.toLowerCase()]) == null ? void 0 : Dt.tel), 1)
|
|
4505
4506
|
]),
|
|
4506
4507
|
t("div", Lr, [
|
|
4507
4508
|
l[21] || (l[21] = t("label", null, "Tax ID", -1)),
|
|
4508
|
-
t("span", null, i((It = (dt =
|
|
4509
|
+
t("span", null, i((It = (dt = a.account) == null ? void 0 : dt[(at = (Nt = s.report) == null ? void 0 : Nt.paymentType) == null ? void 0 : at.toLowerCase()]) == null ? void 0 : It.taxId), 1)
|
|
4509
4510
|
])
|
|
4510
4511
|
], 64)) : (o(), n(T, { key: 1 }, [
|
|
4511
4512
|
t("div", Br, [
|
|
4512
4513
|
l[22] || (l[22] = t("label", null, "Beneficiary's Name", -1)),
|
|
4513
|
-
t("span", null, i((zt = (ut =
|
|
4514
|
+
t("span", null, i((zt = (ut = a.account) == null ? void 0 : ut[(Tt = (_ = s.report) == null ? void 0 : _.paymentType) == null ? void 0 : Tt.toLowerCase()]) == null ? void 0 : zt.title), 1)
|
|
4514
4515
|
]),
|
|
4515
4516
|
t("div", _r, [
|
|
4516
4517
|
l[23] || (l[23] = t("label", null, "Bank Name", -1)),
|
|
4517
|
-
t("span", null, i((Ut = (vt =
|
|
4518
|
+
t("span", null, i((Ut = (vt = a.account) == null ? void 0 : vt[(jt = (xt = s.report) == null ? void 0 : xt.paymentType) == null ? void 0 : jt.toLowerCase()]) == null ? void 0 : Ut.bank), 1)
|
|
4518
4519
|
]),
|
|
4519
4520
|
t("div", Jr, [
|
|
4520
4521
|
l[24] || (l[24] = t("label", null, "Bank Address", -1)),
|
|
4521
|
-
t("span", null, i((Ct = (Yt =
|
|
4522
|
+
t("span", null, i((Ct = (Yt = a.account) == null ? void 0 : Yt[(Ot = (Et = s.report) == null ? void 0 : Et.paymentType) == null ? void 0 : Ot.toLowerCase()]) == null ? void 0 : Ct.bankAddr), 1)
|
|
4522
4523
|
]),
|
|
4523
4524
|
t("div", Hr, [
|
|
4524
4525
|
l[25] || (l[25] = t("label", null, "Account No.", -1)),
|
|
4525
|
-
t("span", null, i((pt = (Qt =
|
|
4526
|
+
t("span", null, i((pt = (Qt = a.account) == null ? void 0 : Qt[(ft = (bt = s.report) == null ? void 0 : bt.paymentType) == null ? void 0 : ft.toLowerCase()]) == null ? void 0 : pt.number), 1)
|
|
4526
4527
|
]),
|
|
4527
4528
|
t("div", Xr, [
|
|
4528
4529
|
l[26] || (l[26] = t("label", null, "SWIFT", -1)),
|
|
4529
|
-
t("span", null, i((Rt = (mt =
|
|
4530
|
+
t("span", null, i((Rt = (mt = a.account) == null ? void 0 : mt[(kt = (St = s.report) == null ? void 0 : St.paymentType) == null ? void 0 : kt.toLowerCase()]) == null ? void 0 : Rt.swift), 1)
|
|
4530
4531
|
]),
|
|
4531
4532
|
t("div", Kr, [
|
|
4532
4533
|
l[27] || (l[27] = t("label", null, "Intermediary Bank", -1)),
|
|
4533
|
-
t("span", null, i((Ft = (Vt =
|
|
4534
|
+
t("span", null, i((Ft = (Vt = a.account) == null ? void 0 : Vt[(wt = (ht = s.report) == null ? void 0 : ht.paymentType) == null ? void 0 : wt.toLowerCase()]) == null ? void 0 : Ft.intermediaryBank), 1)
|
|
4534
4535
|
]),
|
|
4535
4536
|
t("div", qr, [
|
|
4536
4537
|
l[28] || (l[28] = t("label", null, "SWIFT", -1)),
|
|
4537
|
-
t("span", null, i((Zt = (Wt =
|
|
4538
|
+
t("span", null, i((Zt = (Wt = a.account) == null ? void 0 : Wt[(Pt = (Gt = s.report) == null ? void 0 : Gt.paymentType) == null ? void 0 : Pt.toLowerCase()]) == null ? void 0 : Zt.intermediaryBankSwift), 1)
|
|
4538
4539
|
]),
|
|
4539
4540
|
t("div", $r, [
|
|
4540
4541
|
l[29] || (l[29] = t("label", null, "ABA NO.", -1)),
|
|
4541
|
-
t("span", null, i((tl = (Q =
|
|
4542
|
+
t("span", null, i((tl = (Q = a.account) == null ? void 0 : Q[(Bt = (Lt = s.report) == null ? void 0 : Lt.paymentType) == null ? void 0 : Bt.toLowerCase()]) == null ? void 0 : tl.intermediaryBankAbaNo), 1)
|
|
4542
4543
|
])
|
|
4543
4544
|
], 64))
|
|
4544
4545
|
]),
|
|
@@ -4555,7 +4556,7 @@ function sc(e, l, s, r, d, N) {
|
|
|
4555
4556
|
I("Tel: "),
|
|
4556
4557
|
t("a", { href: "tel:+86 532 68873968" }, "+86 532 68873968")
|
|
4557
4558
|
], -1)),
|
|
4558
|
-
t("div", null, "Address: " + i((D = (U =
|
|
4559
|
+
t("div", null, "Address: " + i((D = (U = a.account) == null ? void 0 : U.usd) == null ? void 0 : D.address), 1)
|
|
4559
4560
|
]),
|
|
4560
4561
|
l[35] || (l[35] = t("div", { class: "thank-block" }, "Thank You", -1)),
|
|
4561
4562
|
l[36] || (l[36] = t("div", { class: "electronic-seal" }, [
|
|
@@ -4719,8 +4720,8 @@ const Ic = {
|
|
|
4719
4720
|
key: 3,
|
|
4720
4721
|
class: "buttons"
|
|
4721
4722
|
};
|
|
4722
|
-
function cc(e, l, s,
|
|
4723
|
-
const x = J("ElTag"),
|
|
4723
|
+
function cc(e, l, s, c, a, N) {
|
|
4724
|
+
const x = J("ElTag"), d = J("ElInput"), A = J("IdmEditor"), Y = J("ElInputNumber"), E = J("ElDatePicker"), O = J("ElOption"), k = J("ElSelect"), p = J("ElRadio"), v = J("ElRadioGroup"), C = J("ElCheckbox"), R = J("ElCheckboxGroup"), j = J("Edit"), f = J("ElIcon"), m = J("ElButton"), h = J("Close");
|
|
4724
4725
|
return o(), n("div", gc, [
|
|
4725
4726
|
t("div", {
|
|
4726
4727
|
class: "group",
|
|
@@ -4730,25 +4731,25 @@ function cc(e, l, s, r, d, N) {
|
|
|
4730
4731
|
key: 0,
|
|
4731
4732
|
style: Zi({ width: s.width + "px" })
|
|
4732
4733
|
}, i(s.label), 5)) : g("", !0),
|
|
4733
|
-
|
|
4734
|
-
s.type === "input" ? (o(), ll(
|
|
4734
|
+
a.editable ? (o(), n(T, { key: 2 }, [
|
|
4735
|
+
s.type === "input" ? (o(), ll(d, {
|
|
4735
4736
|
key: 0,
|
|
4736
|
-
modelValue:
|
|
4737
|
-
"onUpdate:modelValue": l[2] || (l[2] = (u) =>
|
|
4737
|
+
modelValue: a.model,
|
|
4738
|
+
"onUpdate:modelValue": l[2] || (l[2] = (u) => a.model = u),
|
|
4738
4739
|
size: s.size,
|
|
4739
4740
|
onBlur: N.handleCommit
|
|
4740
4741
|
}, null, 8, ["modelValue", "size", "onBlur"])) : g("", !0),
|
|
4741
|
-
s.type === "alphanumeric" ? (o(), ll(
|
|
4742
|
+
s.type === "alphanumeric" ? (o(), ll(d, {
|
|
4742
4743
|
key: 1,
|
|
4743
|
-
modelValue:
|
|
4744
|
-
"onUpdate:modelValue": l[3] || (l[3] = (u) =>
|
|
4744
|
+
modelValue: a.model,
|
|
4745
|
+
"onUpdate:modelValue": l[3] || (l[3] = (u) => a.model = u),
|
|
4745
4746
|
size: s.size,
|
|
4746
4747
|
onBlur: N.handleCommit
|
|
4747
4748
|
}, null, 8, ["modelValue", "size", "onBlur"])) : g("", !0),
|
|
4748
|
-
s.type === "textarea" ? (o(), ll(
|
|
4749
|
+
s.type === "textarea" ? (o(), ll(d, {
|
|
4749
4750
|
key: 2,
|
|
4750
|
-
modelValue:
|
|
4751
|
-
"onUpdate:modelValue": l[4] || (l[4] = (u) =>
|
|
4751
|
+
modelValue: a.model,
|
|
4752
|
+
"onUpdate:modelValue": l[4] || (l[4] = (u) => a.model = u),
|
|
4752
4753
|
size: s.size,
|
|
4753
4754
|
type: "textarea",
|
|
4754
4755
|
rows: 4,
|
|
@@ -4756,14 +4757,14 @@ function cc(e, l, s, r, d, N) {
|
|
|
4756
4757
|
}, null, 8, ["modelValue", "size", "onBlur"])) : g("", !0),
|
|
4757
4758
|
s.type === "richText" ? (o(), ll(A, {
|
|
4758
4759
|
key: 3,
|
|
4759
|
-
modelValue:
|
|
4760
|
-
"onUpdate:modelValue": l[5] || (l[5] = (u) =>
|
|
4760
|
+
modelValue: a.model,
|
|
4761
|
+
"onUpdate:modelValue": l[5] || (l[5] = (u) => a.model = u),
|
|
4761
4762
|
onBlur: N.handleCommit
|
|
4762
4763
|
}, null, 8, ["modelValue", "onBlur"])) : g("", !0),
|
|
4763
4764
|
s.type === "number" ? (o(), ll(Y, {
|
|
4764
4765
|
key: 4,
|
|
4765
|
-
modelValue:
|
|
4766
|
-
"onUpdate:modelValue": l[6] || (l[6] = (u) =>
|
|
4766
|
+
modelValue: a.model,
|
|
4767
|
+
"onUpdate:modelValue": l[6] || (l[6] = (u) => a.model = u),
|
|
4767
4768
|
size: s.size,
|
|
4768
4769
|
controls: s.controls,
|
|
4769
4770
|
min: s.min,
|
|
@@ -4775,8 +4776,8 @@ function cc(e, l, s, r, d, N) {
|
|
|
4775
4776
|
}, null, 8, ["modelValue", "size", "controls", "min", "max", "step", "precision", "onBlur", "onChange"])) : g("", !0),
|
|
4776
4777
|
s.type === "datetime" ? (o(), ll(E, {
|
|
4777
4778
|
key: 5,
|
|
4778
|
-
modelValue:
|
|
4779
|
-
"onUpdate:modelValue": l[7] || (l[7] = (u) =>
|
|
4779
|
+
modelValue: a.model,
|
|
4780
|
+
"onUpdate:modelValue": l[7] || (l[7] = (u) => a.model = u),
|
|
4780
4781
|
size: s.size,
|
|
4781
4782
|
type: "datetime",
|
|
4782
4783
|
class: "datetime",
|
|
@@ -4786,8 +4787,8 @@ function cc(e, l, s, r, d, N) {
|
|
|
4786
4787
|
}, null, 8, ["modelValue", "size", "format", "value-format", "onBlur"])) : g("", !0),
|
|
4787
4788
|
s.type === "select" ? (o(), ll(k, {
|
|
4788
4789
|
key: 6,
|
|
4789
|
-
modelValue:
|
|
4790
|
-
"onUpdate:modelValue": l[8] || (l[8] = (u) =>
|
|
4790
|
+
modelValue: a.model,
|
|
4791
|
+
"onUpdate:modelValue": l[8] || (l[8] = (u) => a.model = u),
|
|
4791
4792
|
size: s.size,
|
|
4792
4793
|
filterable: "",
|
|
4793
4794
|
style: { width: "100%" },
|
|
@@ -4806,8 +4807,8 @@ function cc(e, l, s, r, d, N) {
|
|
|
4806
4807
|
}, 8, ["modelValue", "size", "onChange"])) : g("", !0),
|
|
4807
4808
|
s.type === "remoteSelect" ? (o(), ll(k, {
|
|
4808
4809
|
key: 7,
|
|
4809
|
-
modelValue:
|
|
4810
|
-
"onUpdate:modelValue": l[9] || (l[9] = (u) =>
|
|
4810
|
+
modelValue: a.model,
|
|
4811
|
+
"onUpdate:modelValue": l[9] || (l[9] = (u) => a.model = u),
|
|
4811
4812
|
size: s.size,
|
|
4812
4813
|
filterable: "",
|
|
4813
4814
|
remote: "",
|
|
@@ -4829,8 +4830,8 @@ function cc(e, l, s, r, d, N) {
|
|
|
4829
4830
|
}, 8, ["modelValue", "size", "remote-method", "onChange"])) : g("", !0),
|
|
4830
4831
|
s.type === "remotePortSelect" ? (o(), ll(k, {
|
|
4831
4832
|
key: 8,
|
|
4832
|
-
modelValue:
|
|
4833
|
-
"onUpdate:modelValue": l[10] || (l[10] = (u) =>
|
|
4833
|
+
modelValue: a.model,
|
|
4834
|
+
"onUpdate:modelValue": l[10] || (l[10] = (u) => a.model = u),
|
|
4834
4835
|
size: s.size,
|
|
4835
4836
|
filterable: "",
|
|
4836
4837
|
remote: "",
|
|
@@ -4852,8 +4853,8 @@ function cc(e, l, s, r, d, N) {
|
|
|
4852
4853
|
}, 8, ["modelValue", "size", "remote-method", "onChange"])) : g("", !0),
|
|
4853
4854
|
s.type === "radio" ? (o(), ll(v, {
|
|
4854
4855
|
key: 9,
|
|
4855
|
-
modelValue:
|
|
4856
|
-
"onUpdate:modelValue": l[11] || (l[11] = (u) =>
|
|
4856
|
+
modelValue: a.model,
|
|
4857
|
+
"onUpdate:modelValue": l[11] || (l[11] = (u) => a.model = u),
|
|
4857
4858
|
size: s.size,
|
|
4858
4859
|
style: { width: "100%" },
|
|
4859
4860
|
onChange: N.handleCommit
|
|
@@ -4873,8 +4874,8 @@ function cc(e, l, s, r, d, N) {
|
|
|
4873
4874
|
}, 8, ["modelValue", "size", "onChange"])) : g("", !0),
|
|
4874
4875
|
s.type === "checkbox" ? (o(), ll(R, {
|
|
4875
4876
|
key: 10,
|
|
4876
|
-
modelValue:
|
|
4877
|
-
"onUpdate:modelValue": l[12] || (l[12] = (u) =>
|
|
4877
|
+
modelValue: a.model,
|
|
4878
|
+
"onUpdate:modelValue": l[12] || (l[12] = (u) => a.model = u),
|
|
4878
4879
|
size: s.size,
|
|
4879
4880
|
class: "checkbox",
|
|
4880
4881
|
style: { width: "100%" },
|
|
@@ -4938,7 +4939,7 @@ function cc(e, l, s, r, d, N) {
|
|
|
4938
4939
|
], 64))
|
|
4939
4940
|
], 64)),
|
|
4940
4941
|
!s.disabled && s.iconable && typeof s.raw != "boolean" ? (o(), n("div", rc, [
|
|
4941
|
-
|
|
4942
|
+
a.editable ? (o(), ll(m, {
|
|
4942
4943
|
key: 1,
|
|
4943
4944
|
size: s.size,
|
|
4944
4945
|
type: "danger",
|
|
@@ -5053,8 +5054,8 @@ const Tc = {
|
|
|
5053
5054
|
},
|
|
5054
5055
|
methods: {
|
|
5055
5056
|
prepare() {
|
|
5056
|
-
var e, l, s,
|
|
5057
|
-
this.extraPortList = (e = this.report) != null && e.extraPorts ? (l = this.report) == null ? void 0 : l.extraPorts : [], this.advisory = (s = this.report) != null && s.comments ? (
|
|
5057
|
+
var e, l, s, c, a;
|
|
5058
|
+
this.extraPortList = (e = this.report) != null && e.extraPorts ? (l = this.report) == null ? void 0 : l.extraPorts : [], this.advisory = (s = this.report) != null && s.comments ? (c = this.report) == null ? void 0 : c.comments : void 0, this.id = this.report.id, this.remarks = (a = this.report) == null ? void 0 : a.remarks;
|
|
5058
5059
|
},
|
|
5059
5060
|
async fetchSuggestName(e) {
|
|
5060
5061
|
var s;
|
|
@@ -5086,7 +5087,7 @@ const Tc = {
|
|
|
5086
5087
|
this.extraPortList.push(e);
|
|
5087
5088
|
},
|
|
5088
5089
|
async handleRemove(e) {
|
|
5089
|
-
var s,
|
|
5090
|
+
var s, c, a, N, x;
|
|
5090
5091
|
this.extraPortList.splice(e, 1);
|
|
5091
5092
|
const l = await dn.put(
|
|
5092
5093
|
`${this.gateway}/api/als/deviations/${this.id}`,
|
|
@@ -5100,26 +5101,26 @@ const Tc = {
|
|
|
5100
5101
|
}
|
|
5101
5102
|
}
|
|
5102
5103
|
);
|
|
5103
|
-
this.$emit("refresh", (s = l == null ? void 0 : l.data) == null ? void 0 : s.data), this.extraPortList = (
|
|
5104
|
+
this.$emit("refresh", (s = l == null ? void 0 : l.data) == null ? void 0 : s.data), this.extraPortList = (a = (c = l == null ? void 0 : l.data) == null ? void 0 : c.data) == null ? void 0 : a.extraPorts, this.advisory = (N = this.report) != null && N.comments ? (x = this.report) == null ? void 0 : x.comments : void 0;
|
|
5104
5105
|
},
|
|
5105
|
-
async handleCommit(e, l, s,
|
|
5106
|
+
async handleCommit(e, l, s, c) {
|
|
5106
5107
|
var x;
|
|
5107
5108
|
this.editable = !1;
|
|
5108
|
-
const
|
|
5109
|
+
const a = l == null ? void 0 : l.indexOf(".");
|
|
5109
5110
|
let N = {};
|
|
5110
5111
|
if ((s || s === 0) && s !== "") {
|
|
5111
5112
|
if (e === "port") {
|
|
5112
|
-
if (
|
|
5113
|
-
const Y = l.substring(0,
|
|
5114
|
-
E !== "date" && (s = Number(s)), this.extraPortList[
|
|
5113
|
+
if (a > 0) {
|
|
5114
|
+
const Y = l.substring(0, a), E = l.substring(a + 1);
|
|
5115
|
+
E !== "date" && (s = Number(s)), this.extraPortList[c][Y][E] = s;
|
|
5115
5116
|
} else
|
|
5116
|
-
this.extraPortList[
|
|
5117
|
+
this.extraPortList[c][l] = s;
|
|
5117
5118
|
N = {
|
|
5118
5119
|
extraPorts: this.extraPortList
|
|
5119
5120
|
};
|
|
5120
5121
|
} else
|
|
5121
5122
|
e === "comments" ? N = { [l]: s } : N = { [l]: Number(s) };
|
|
5122
|
-
const
|
|
5123
|
+
const d = await dn.put(
|
|
5123
5124
|
`${this.gateway}/api/als/deviations/${this.id}`,
|
|
5124
5125
|
N,
|
|
5125
5126
|
//要传的参数
|
|
@@ -5128,7 +5129,7 @@ const Tc = {
|
|
|
5128
5129
|
Authorization: this.token
|
|
5129
5130
|
}
|
|
5130
5131
|
}
|
|
5131
|
-
), A = (x =
|
|
5132
|
+
), A = (x = d == null ? void 0 : d.data) == null ? void 0 : x.data;
|
|
5132
5133
|
this.$emit("refresh", A), this.extraPortList = A == null ? void 0 : A.extraPorts, this.advisory = (A == null ? void 0 : A.comments) || void 0;
|
|
5133
5134
|
}
|
|
5134
5135
|
}
|
|
@@ -5219,9 +5220,9 @@ const Tc = {
|
|
|
5219
5220
|
key: 0,
|
|
5220
5221
|
class: ""
|
|
5221
5222
|
}, ju = ["innerHTML"], vu = { key: 1 }, Uu = { class: "section map-section" }, Eu = { class: "report-map" }, Ou = ["src"];
|
|
5222
|
-
function Yu(e, l, s,
|
|
5223
|
+
function Yu(e, l, s, c, a, N) {
|
|
5223
5224
|
var E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U;
|
|
5224
|
-
const x = J("IdmBrand"),
|
|
5225
|
+
const x = J("IdmBrand"), d = J("EditableItem"), A = J("ElButton"), Y = J("Editor");
|
|
5225
5226
|
return o(), n("div", uc, [
|
|
5226
5227
|
tt(x, { name: "Voyage Deviation Report" }),
|
|
5227
5228
|
t("div", zc, [
|
|
@@ -5301,7 +5302,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5301
5302
|
t("td", null, i(N.computedLngLat((ot = s.report) == null ? void 0 : ot.startLat, (nt = s.report) == null ? void 0 : nt.startLng)), 1),
|
|
5302
5303
|
t("td", null, i(N.computeUTCTime((Dt = s.report) == null ? void 0 : Dt.startTime)), 1),
|
|
5303
5304
|
t("td", null, [
|
|
5304
|
-
tt(
|
|
5305
|
+
tt(d, {
|
|
5305
5306
|
style: { padding: "0px" },
|
|
5306
5307
|
class: "editable-item",
|
|
5307
5308
|
value: (Nt = s.report) == null ? void 0 : Nt.startFoBrob,
|
|
@@ -5312,7 +5313,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5312
5313
|
}, null, 8, ["value"])
|
|
5313
5314
|
]),
|
|
5314
5315
|
t("td", null, [
|
|
5315
|
-
tt(
|
|
5316
|
+
tt(d, {
|
|
5316
5317
|
style: { padding: "0px" },
|
|
5317
5318
|
class: "editable-item",
|
|
5318
5319
|
value: (at = s.report) == null ? void 0 : at.startDgoBrob,
|
|
@@ -5330,7 +5331,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5330
5331
|
t("td", null, i(N.computedLngLat((dt = s.report) == null ? void 0 : dt.endLat, (It = s.report) == null ? void 0 : It.endLng)), 1),
|
|
5331
5332
|
t("td", null, i(N.computeUTCTime((_ = s.report) == null ? void 0 : _.endTime)), 1),
|
|
5332
5333
|
t("td", null, [
|
|
5333
|
-
tt(
|
|
5334
|
+
tt(d, {
|
|
5334
5335
|
style: { padding: "0px" },
|
|
5335
5336
|
class: "editable-item",
|
|
5336
5337
|
value: (Tt = s.report) == null ? void 0 : Tt.endFoBrob,
|
|
@@ -5341,7 +5342,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5341
5342
|
}, null, 8, ["value"])
|
|
5342
5343
|
]),
|
|
5343
5344
|
t("td", null, [
|
|
5344
|
-
tt(
|
|
5345
|
+
tt(d, {
|
|
5345
5346
|
style: { padding: "0px" },
|
|
5346
5347
|
class: "editable-item",
|
|
5347
5348
|
value: (ut = s.report) == null ? void 0 : ut.endDgoBrob,
|
|
@@ -5352,7 +5353,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5352
5353
|
}, null, 8, ["value"])
|
|
5353
5354
|
]),
|
|
5354
5355
|
t("td", null, [
|
|
5355
|
-
tt(
|
|
5356
|
+
tt(d, {
|
|
5356
5357
|
style: { padding: "0px" },
|
|
5357
5358
|
class: "editable-item",
|
|
5358
5359
|
value: (zt = s.report) == null ? void 0 : zt.endFoBunkering,
|
|
@@ -5363,7 +5364,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5363
5364
|
}, null, 8, ["value"])
|
|
5364
5365
|
]),
|
|
5365
5366
|
t("td", null, [
|
|
5366
|
-
tt(
|
|
5367
|
+
tt(d, {
|
|
5367
5368
|
style: { padding: "0px" },
|
|
5368
5369
|
class: "editable-item",
|
|
5369
5370
|
value: (xt = s.report) == null ? void 0 : xt.endDgoBunkering,
|
|
@@ -5434,7 +5435,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5434
5435
|
colspan: 2,
|
|
5435
5436
|
class: "label"
|
|
5436
5437
|
}, "Bunkering (mt)", -1)),
|
|
5437
|
-
((ht =
|
|
5438
|
+
((ht = a.extraPortList) == null ? void 0 : ht.length) > 0 ? (o(), n("th", Zc, "Activity")) : g("", !0)
|
|
5438
5439
|
]),
|
|
5439
5440
|
l[31] || (l[31] = t("tr", null, [
|
|
5440
5441
|
t("th", { class: "label" }, "FO"),
|
|
@@ -5444,24 +5445,24 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5444
5445
|
], -1))
|
|
5445
5446
|
]),
|
|
5446
5447
|
t("tbody", null, [
|
|
5447
|
-
(o(!0), n(T, null, $t(
|
|
5448
|
+
(o(!0), n(T, null, $t(a.extraPortList, (D, S) => {
|
|
5448
5449
|
var rt, _t, Jt, Ht, Xt, Kt, qt, il;
|
|
5449
5450
|
return o(), n(T, { key: S }, [
|
|
5450
5451
|
t("tr", null, [
|
|
5451
5452
|
t("td", Lc, [
|
|
5452
|
-
tt(
|
|
5453
|
+
tt(d, {
|
|
5453
5454
|
class: "editable-item",
|
|
5454
5455
|
value: D == null ? void 0 : D.name,
|
|
5455
5456
|
type: "remotePortSelect",
|
|
5456
5457
|
align: "center",
|
|
5457
|
-
options:
|
|
5458
|
+
options: a.portList,
|
|
5458
5459
|
onSelect: N.fetchSuggestName,
|
|
5459
5460
|
onCommit: (P) => N.handleCommit("port", "name", P, S)
|
|
5460
5461
|
}, null, 8, ["value", "options", "onSelect", "onCommit"])
|
|
5461
5462
|
]),
|
|
5462
5463
|
l[33] || (l[33] = t("td", null, "Arrival", -1)),
|
|
5463
5464
|
t("td", null, [
|
|
5464
|
-
tt(
|
|
5465
|
+
tt(d, {
|
|
5465
5466
|
class: "check editable-item",
|
|
5466
5467
|
value: (rt = D == null ? void 0 : D.arrival) == null ? void 0 : rt.date,
|
|
5467
5468
|
format: "MMM-DD/HHmm[Z]",
|
|
@@ -5472,7 +5473,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5472
5473
|
}, null, 8, ["value", "onCommit"])
|
|
5473
5474
|
]),
|
|
5474
5475
|
t("td", null, [
|
|
5475
|
-
tt(
|
|
5476
|
+
tt(d, {
|
|
5476
5477
|
class: "editable-item",
|
|
5477
5478
|
value: (_t = D == null ? void 0 : D.arrival) == null ? void 0 : _t.foBrob,
|
|
5478
5479
|
iconable: !1,
|
|
@@ -5482,7 +5483,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5482
5483
|
}, null, 8, ["value", "onCommit"])
|
|
5483
5484
|
]),
|
|
5484
5485
|
t("td", null, [
|
|
5485
|
-
tt(
|
|
5486
|
+
tt(d, {
|
|
5486
5487
|
class: "editable-item",
|
|
5487
5488
|
value: (Jt = D == null ? void 0 : D.arrival) == null ? void 0 : Jt.dgoBrob,
|
|
5488
5489
|
iconable: !1,
|
|
@@ -5508,7 +5509,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5508
5509
|
t("tr", null, [
|
|
5509
5510
|
l[36] || (l[36] = t("td", null, "Departure", -1)),
|
|
5510
5511
|
t("td", null, [
|
|
5511
|
-
tt(
|
|
5512
|
+
tt(d, {
|
|
5512
5513
|
class: "check editable-item",
|
|
5513
5514
|
value: (Ht = D == null ? void 0 : D.departure) == null ? void 0 : Ht.date,
|
|
5514
5515
|
format: "MMM-DD/HHmm[Z]",
|
|
@@ -5519,7 +5520,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5519
5520
|
}, null, 8, ["value", "onCommit"])
|
|
5520
5521
|
]),
|
|
5521
5522
|
t("td", null, [
|
|
5522
|
-
tt(
|
|
5523
|
+
tt(d, {
|
|
5523
5524
|
class: "editable-item",
|
|
5524
5525
|
value: (Xt = D == null ? void 0 : D.departure) == null ? void 0 : Xt.foBrob,
|
|
5525
5526
|
iconable: !1,
|
|
@@ -5529,7 +5530,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5529
5530
|
}, null, 8, ["value", "onCommit"])
|
|
5530
5531
|
]),
|
|
5531
5532
|
t("td", null, [
|
|
5532
|
-
tt(
|
|
5533
|
+
tt(d, {
|
|
5533
5534
|
class: "editable-item",
|
|
5534
5535
|
value: (Kt = D == null ? void 0 : D.departure) == null ? void 0 : Kt.dgoBrob,
|
|
5535
5536
|
iconable: !1,
|
|
@@ -5539,7 +5540,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5539
5540
|
}, null, 8, ["value", "onCommit"])
|
|
5540
5541
|
]),
|
|
5541
5542
|
t("td", null, [
|
|
5542
|
-
tt(
|
|
5543
|
+
tt(d, {
|
|
5543
5544
|
class: "editable-item",
|
|
5544
5545
|
value: (qt = D == null ? void 0 : D.departure) == null ? void 0 : qt.bunkeringFo,
|
|
5545
5546
|
iconable: !1,
|
|
@@ -5549,7 +5550,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5549
5550
|
}, null, 8, ["value", "onCommit"])
|
|
5550
5551
|
]),
|
|
5551
5552
|
t("td", null, [
|
|
5552
|
-
tt(
|
|
5553
|
+
tt(d, {
|
|
5553
5554
|
class: "editable-item",
|
|
5554
5555
|
value: (il = D == null ? void 0 : D.departure) == null ? void 0 : il.bunkeringDgo,
|
|
5555
5556
|
iconable: !1,
|
|
@@ -5569,7 +5570,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5569
5570
|
t("td", null, i(((Lt = (Zt = (Wt = s.report) == null ? void 0 : Wt.consAnalysis) == null ? void 0 : Zt.dgo) == null ? void 0 : Lt.portCons) ?? "—"), 1),
|
|
5570
5571
|
l[39] || (l[39] = t("td", null, null, -1)),
|
|
5571
5572
|
l[40] || (l[40] = t("td", null, null, -1)),
|
|
5572
|
-
((Bt =
|
|
5573
|
+
((Bt = a.extraPortList) == null ? void 0 : Bt.length) > 0 ? (o(), n("td", _c)) : g("", !0)
|
|
5573
5574
|
])
|
|
5574
5575
|
])
|
|
5575
5576
|
]),
|
|
@@ -5595,7 +5596,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5595
5596
|
])
|
|
5596
5597
|
], -1)),
|
|
5597
5598
|
(o(!0), n(T, null, $t((tl = (Q = s.report) == null ? void 0 : Q.extend) == null ? void 0 : tl.rows, (D, S) => {
|
|
5598
|
-
var rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts,
|
|
5599
|
+
var rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts, r, ct, el, ol, El, Fl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ti, li, ii, si, Mi, ei, oi, ni, Di, Ni, ai, di, Ii, gi, Ai, ri, ci, yi, Ti, ui, zi, xi, ji, vi, Ui, Ei, Oi, Yi, Ci, bi, fi, Qi, pi, Si, ki, mi, Ri, hi, wi, Vi, Fi, Gi, Pi, Wi, ls, is, ss, Ms, es;
|
|
5599
5600
|
return o(), n("div", {
|
|
5600
5601
|
key: S,
|
|
5601
5602
|
class: "seg-item",
|
|
@@ -5780,7 +5781,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
5780
5781
|
t("td", null, i(((_i = D == null ? void 0 : D.timeAnalysis) == null ? void 0 : _i.maneuverDistance) ?? "-"), 1),
|
|
5781
5782
|
t("td", null, i(((Ji = D == null ? void 0 : D.timeAnalysis) == null ? void 0 : Ji.maneuverTime) ?? "-") + " / " + i(((Hi = D == null ? void 0 : D.timeAnalysis) == null ? void 0 : Hi.offsetTime) ?? "-"), 1),
|
|
5782
5783
|
t("td", null, i(((Ki = (Xi = D == null ? void 0 : D.consAnalysis) == null ? void 0 : Xi.fo) == null ? void 0 : Ki.maneuverCons) ?? "-") + " / " + i((($i = (qi = D == null ? void 0 : D.consAnalysis) == null ? void 0 : qi.fo) == null ? void 0 : $i.offsetCons) ?? "-"), 1),
|
|
5783
|
-
t("td", null, i(((
|
|
5784
|
+
t("td", null, i(((r = (ts = D == null ? void 0 : D.consAnalysis) == null ? void 0 : ts.dgo) == null ? void 0 : r.maneuverCons) ?? "-") + " / " + i(((el = (ct = D == null ? void 0 : D.consAnalysis) == null ? void 0 : ct.dgo) == null ? void 0 : el.offsetCons) ?? "-"), 1)
|
|
5784
5785
|
])
|
|
5785
5786
|
])
|
|
5786
5787
|
])
|
|
@@ -6206,7 +6207,7 @@ function Yu(e, l, s, r, d, N) {
|
|
|
6206
6207
|
}), 128))
|
|
6207
6208
|
]),
|
|
6208
6209
|
t("div", {
|
|
6209
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
6210
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
6210
6211
|
}, [
|
|
6211
6212
|
l[192] || (l[192] = t("div", { class: "header-block" }, [
|
|
6212
6213
|
t("div", { class: "bg-block" }, [
|
|
@@ -6215,11 +6216,11 @@ function Yu(e, l, s, r, d, N) {
|
|
|
6215
6216
|
])
|
|
6216
6217
|
], -1)),
|
|
6217
6218
|
t("div", zu, [
|
|
6218
|
-
|
|
6219
|
-
|
|
6219
|
+
a.editable ? (o(), n("div", xu, [
|
|
6220
|
+
a.editable ? (o(), ll(Y, {
|
|
6220
6221
|
key: 0,
|
|
6221
|
-
modelValue:
|
|
6222
|
-
"onUpdate:modelValue": l[6] || (l[6] = (D) =>
|
|
6222
|
+
modelValue: a.remarks,
|
|
6223
|
+
"onUpdate:modelValue": l[6] || (l[6] = (D) => a.remarks = D),
|
|
6223
6224
|
class: "editor",
|
|
6224
6225
|
height: "80px",
|
|
6225
6226
|
onBlur: l[7] || (l[7] = (D) => N.handleCommit(D))
|
|
@@ -6227,11 +6228,11 @@ function Yu(e, l, s, r, d, N) {
|
|
|
6227
6228
|
])) : (o(), n("div", {
|
|
6228
6229
|
key: 1,
|
|
6229
6230
|
class: "remark-block bg-blue-light-2",
|
|
6230
|
-
onDblclick: l[8] || (l[8] = (D) =>
|
|
6231
|
+
onDblclick: l[8] || (l[8] = (D) => a.editable = !0)
|
|
6231
6232
|
}, [
|
|
6232
|
-
N.computeBlankHtml(
|
|
6233
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", vu, "Please double click to modify remark")) : (o(), n("div", {
|
|
6233
6234
|
key: 0,
|
|
6234
|
-
innerHTML:
|
|
6235
|
+
innerHTML: a.remarks
|
|
6235
6236
|
}, null, 8, ju))
|
|
6236
6237
|
], 32))
|
|
6237
6238
|
])
|
|
@@ -6348,9 +6349,9 @@ const bu = {
|
|
|
6348
6349
|
key: 0,
|
|
6349
6350
|
class: ""
|
|
6350
6351
|
}, j0 = ["innerHTML"], v0 = { key: 1 }, U0 = { class: "section table-section" }, E0 = { rowspan: 2 }, O0 = { rowspan: 2 }, Y0 = { rowspan: 2 }, C0 = { rowspan: 2 }, b0 = { class: "section map-section" }, f0 = ["src"], Q0 = ["src"];
|
|
6351
|
-
function p0(e, l, s,
|
|
6352
|
+
function p0(e, l, s, c, a, N) {
|
|
6352
6353
|
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl;
|
|
6353
|
-
const x = J("IdmBrand"),
|
|
6354
|
+
const x = J("IdmBrand"), d = J("Editor");
|
|
6354
6355
|
return o(), n("div", fu, [
|
|
6355
6356
|
tt(x, { name: "Voyage Stoppage Report" }),
|
|
6356
6357
|
t("div", Qu, [
|
|
@@ -6439,7 +6440,7 @@ function p0(e, l, s, r, d, N) {
|
|
|
6439
6440
|
])
|
|
6440
6441
|
]),
|
|
6441
6442
|
t("div", {
|
|
6442
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
6443
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
6443
6444
|
}, [
|
|
6444
6445
|
l[25] || (l[25] = t("div", { class: "header-block" }, [
|
|
6445
6446
|
t("div", { class: "bg-block" }, [
|
|
@@ -6448,11 +6449,11 @@ function p0(e, l, s, r, d, N) {
|
|
|
6448
6449
|
])
|
|
6449
6450
|
], -1)),
|
|
6450
6451
|
t("div", z0, [
|
|
6451
|
-
|
|
6452
|
-
|
|
6452
|
+
a.editable ? (o(), n("div", x0, [
|
|
6453
|
+
a.editable ? (o(), ll(d, {
|
|
6453
6454
|
key: 0,
|
|
6454
|
-
modelValue:
|
|
6455
|
-
"onUpdate:modelValue": l[0] || (l[0] = (U) =>
|
|
6455
|
+
modelValue: a.remarks,
|
|
6456
|
+
"onUpdate:modelValue": l[0] || (l[0] = (U) => a.remarks = U),
|
|
6456
6457
|
class: "editor",
|
|
6457
6458
|
height: "80px",
|
|
6458
6459
|
onBlur: l[1] || (l[1] = (U) => N.handleCommit(U))
|
|
@@ -6460,11 +6461,11 @@ function p0(e, l, s, r, d, N) {
|
|
|
6460
6461
|
])) : (o(), n("div", {
|
|
6461
6462
|
key: 1,
|
|
6462
6463
|
class: "remark-block bg-blue-light-2",
|
|
6463
|
-
onDblclick: l[2] || (l[2] = (U) =>
|
|
6464
|
+
onDblclick: l[2] || (l[2] = (U) => a.editable = !0)
|
|
6464
6465
|
}, [
|
|
6465
|
-
N.computeBlankHtml(
|
|
6466
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", v0, "Please double click to modify remark")) : (o(), n("div", {
|
|
6466
6467
|
key: 0,
|
|
6467
|
-
innerHTML:
|
|
6468
|
+
innerHTML: a.remarks
|
|
6468
6469
|
}, null, 8, j0))
|
|
6469
6470
|
], 32))
|
|
6470
6471
|
])
|
|
@@ -6645,9 +6646,9 @@ const k0 = {
|
|
|
6645
6646
|
key: 0,
|
|
6646
6647
|
class: ""
|
|
6647
6648
|
}, Yz = ["innerHTML"], Cz = { key: 1 }, bz = { class: "section table-section" }, fz = { rowspan: 2 }, Qz = { rowspan: 2 }, pz = { rowspan: 2 }, Sz = { rowspan: 2 }, kz = { class: "section map-section" }, mz = ["src"], Rz = ["src"];
|
|
6648
|
-
function hz(e, l, s,
|
|
6649
|
+
function hz(e, l, s, c, a, N) {
|
|
6649
6650
|
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U;
|
|
6650
|
-
const x = J("IdmBrand"),
|
|
6651
|
+
const x = J("IdmBrand"), d = J("Editor");
|
|
6651
6652
|
return o(), n("div", m0, [
|
|
6652
6653
|
tt(x, { name: "Voyage Stoppage Report" }),
|
|
6653
6654
|
t("div", R0, [
|
|
@@ -6751,7 +6752,7 @@ function hz(e, l, s, r, d, N) {
|
|
|
6751
6752
|
])
|
|
6752
6753
|
]),
|
|
6753
6754
|
t("div", {
|
|
6754
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
6755
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
6755
6756
|
}, [
|
|
6756
6757
|
l[25] || (l[25] = t("div", { class: "header-block" }, [
|
|
6757
6758
|
t("div", { class: "bg-block" }, [
|
|
@@ -6760,11 +6761,11 @@ function hz(e, l, s, r, d, N) {
|
|
|
6760
6761
|
])
|
|
6761
6762
|
], -1)),
|
|
6762
6763
|
t("div", Ez, [
|
|
6763
|
-
|
|
6764
|
-
|
|
6764
|
+
a.editable ? (o(), n("div", Oz, [
|
|
6765
|
+
a.editable ? (o(), ll(d, {
|
|
6765
6766
|
key: 0,
|
|
6766
|
-
modelValue:
|
|
6767
|
-
"onUpdate:modelValue": l[0] || (l[0] = (D) =>
|
|
6767
|
+
modelValue: a.remarks,
|
|
6768
|
+
"onUpdate:modelValue": l[0] || (l[0] = (D) => a.remarks = D),
|
|
6768
6769
|
class: "editor",
|
|
6769
6770
|
height: "80px",
|
|
6770
6771
|
onBlur: l[1] || (l[1] = (D) => N.handleCommit(D))
|
|
@@ -6772,11 +6773,11 @@ function hz(e, l, s, r, d, N) {
|
|
|
6772
6773
|
])) : (o(), n("div", {
|
|
6773
6774
|
key: 1,
|
|
6774
6775
|
class: "remark-block bg-blue-light-2",
|
|
6775
|
-
onDblclick: l[2] || (l[2] = (D) =>
|
|
6776
|
+
onDblclick: l[2] || (l[2] = (D) => a.editable = !0)
|
|
6776
6777
|
}, [
|
|
6777
|
-
N.computeBlankHtml(
|
|
6778
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", Cz, "Please double click to modify remark")) : (o(), n("div", {
|
|
6778
6779
|
key: 0,
|
|
6779
|
-
innerHTML:
|
|
6780
|
+
innerHTML: a.remarks
|
|
6780
6781
|
}, null, 8, Yz))
|
|
6781
6782
|
], 32))
|
|
6782
6783
|
])
|
|
@@ -6978,9 +6979,9 @@ const Vz = {
|
|
|
6978
6979
|
class: "sum",
|
|
6979
6980
|
colspan: "2"
|
|
6980
6981
|
};
|
|
6981
|
-
function Wx(e, l, s,
|
|
6982
|
+
function Wx(e, l, s, c, a, N) {
|
|
6982
6983
|
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D;
|
|
6983
|
-
const x = J("IdmBrand"),
|
|
6984
|
+
const x = J("IdmBrand"), d = J("Editor");
|
|
6984
6985
|
return o(), n("div", Fz, [
|
|
6985
6986
|
tt(x, { name: "Voyage Comparison Report" }),
|
|
6986
6987
|
t("div", Gz, [
|
|
@@ -7114,7 +7115,7 @@ function Wx(e, l, s, r, d, N) {
|
|
|
7114
7115
|
])
|
|
7115
7116
|
]),
|
|
7116
7117
|
t("div", {
|
|
7117
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
7118
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
7118
7119
|
}, [
|
|
7119
7120
|
l[31] || (l[31] = t("div", { class: "header-block" }, [
|
|
7120
7121
|
t("div", { class: "bg-block" }, [
|
|
@@ -7123,11 +7124,11 @@ function Wx(e, l, s, r, d, N) {
|
|
|
7123
7124
|
])
|
|
7124
7125
|
], -1)),
|
|
7125
7126
|
t("div", fx, [
|
|
7126
|
-
|
|
7127
|
-
|
|
7127
|
+
a.editable ? (o(), n("div", Qx, [
|
|
7128
|
+
a.editable ? (o(), ll(d, {
|
|
7128
7129
|
key: 0,
|
|
7129
|
-
modelValue:
|
|
7130
|
-
"onUpdate:modelValue": l[0] || (l[0] = (S) =>
|
|
7130
|
+
modelValue: a.remarks,
|
|
7131
|
+
"onUpdate:modelValue": l[0] || (l[0] = (S) => a.remarks = S),
|
|
7131
7132
|
class: "editor",
|
|
7132
7133
|
height: "140px",
|
|
7133
7134
|
onBlur: l[1] || (l[1] = (S) => N.handleCommit(S))
|
|
@@ -7135,11 +7136,11 @@ function Wx(e, l, s, r, d, N) {
|
|
|
7135
7136
|
])) : (o(), n("div", {
|
|
7136
7137
|
key: 1,
|
|
7137
7138
|
class: "remark-block bg-blue-light-2",
|
|
7138
|
-
onDblclick: l[2] || (l[2] = (S) =>
|
|
7139
|
+
onDblclick: l[2] || (l[2] = (S) => a.editable = !0)
|
|
7139
7140
|
}, [
|
|
7140
|
-
N.computeBlankHtml(
|
|
7141
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", Sx, "Please double click to modify remark")) : (o(), n("div", {
|
|
7141
7142
|
key: 0,
|
|
7142
|
-
innerHTML:
|
|
7143
|
+
innerHTML: a.remarks
|
|
7143
7144
|
}, null, 8, px))
|
|
7144
7145
|
], 32))
|
|
7145
7146
|
])
|
|
@@ -7463,9 +7464,9 @@ const Lx = {
|
|
|
7463
7464
|
key: 2,
|
|
7464
7465
|
class: "formula-item flex-evenly bg-blue-light"
|
|
7465
7466
|
}, Xv = { class: "fraction" }, Kv = { class: "fraction" }, qv = { class: "fraction" }, $v = { class: "section vessel-report-section" }, tU = { class: "section-content" }, lU = ["rowspan"];
|
|
7466
|
-
function iU(e, l, s,
|
|
7467
|
-
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts,
|
|
7468
|
-
const x = J("IdmBrand"),
|
|
7467
|
+
function iU(e, l, s, c, a, N) {
|
|
7468
|
+
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts, r, ct, el, ol, El, Fl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ti, li, ii, si, Mi, ei, oi, ni, Di, Ni, ai, di, Ii, gi, Ai, ri, ci, yi, Ti, ui, zi, xi, ji, vi, Ui, Ei, Oi, Yi, Ci, bi, fi, Qi, pi, Si, ki, mi, Ri, hi, wi, Vi, Fi, Gi, Pi, Wi, ls, is, ss, Ms, es, Ds, Ns, as, ds, Is, rs, cs, ys, Ts, us, zs, xs, js, vs, Us, Es, Os, Ys, Cs, bs, fs, Qs, ps, Ss, ks, ms, Rs, hs, ws, Vs, Fs, Gs, Ps, Ws, y, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, os, tM, lM, iM, sM, MM, eM, oM, nM, DM, NM, aM, dM, IM, gM, AM, rM, cM, yM, TM, uM, zM, xM, jM, vM, UM, EM, OM, YM, CM, bM, fM, QM, pM, SM, kM, mM, RM, hM, wM, VM, FM, GM, PM, WM, ZM, LM, BM, _M, JM, HM, XM, KM, qM, $M, te, le, ie, se, Me, ee, oe, ne, De, Ne, ae, de, Ie, ge, Ae, re, ce, ye, Te, ue, ze, xe, je, ve, Ue, Ee, Oe, Ye, Ce, be, fe, Qe, pe, Se, ke, me, Re, he, we, Ve, Fe, Ge, Pe, We, Ze, Le, Be, _e, Je, He, Xe, Ke, qe, $e, to, lo, io, so, Mo, eo, oo, no, Do, No, ao, Io, go, Ao, ro, co, yo, To, uo, zo, xo, jo, vo, Uo, Eo, Oo, Yo, Co, bo, fo, Qo, po, So, ko, mo, Ro, ho, wo, Vo, Fo, Go, Po, Wo, Zo, Lo, Bo, _o, Jo, Ho, Xo, gt, $s, ns, qs, Ko, qo, $o, tn, ln, sn, Mn, en, In, gn, An, rn, cn, yn, Tn, un, zn, xn, jn, vn, Un, En, On;
|
|
7469
|
+
const x = J("IdmBrand"), d = J("Editor");
|
|
7469
7470
|
return o(), n("div", Bx, [
|
|
7470
7471
|
tt(x, { name: "Energy Efficiency Analysis Report" }),
|
|
7471
7472
|
t("div", _x, [
|
|
@@ -7555,7 +7556,7 @@ function iU(e, l, s, r, d, N) {
|
|
|
7555
7556
|
I(i((Ql = (fl = (bl = (Cl = (Yl = s.report) == null ? void 0 : Yl.eeas) == null ? void 0 : Cl.extend) == null ? void 0 : bl.cp) == null ? void 0 : fl.working) == null ? void 0 : Ql.fo) + " ", 1),
|
|
7556
7557
|
(kl = (Sl = (pl = (z = s.report) == null ? void 0 : z.eeas) == null ? void 0 : pl.extend) == null ? void 0 : Sl.cp) != null && kl.weather ? (o(), n("span", vj, [
|
|
7557
7558
|
l[12] || (l[12] = I(" | ", -1)),
|
|
7558
|
-
(Vl = (wl = (hl = (Rl = (ml = s.report) == null ? void 0 : ml.eeas) == null ? void 0 : Rl.extend) == null ? void 0 : hl.cp) == null ? void 0 : wl.weather) != null && Vl.consPercentage ? (o(), n("span", Uj, "+" + i((Xi = (Hi = (Ji = (_i = (nl = s.report) == null ? void 0 : nl.eeas) == null ? void 0 : _i.extend) == null ? void 0 : Ji.cp) == null ? void 0 : Hi.weather) == null ? void 0 : Xi.consOfOver) + "% , -" + i((
|
|
7559
|
+
(Vl = (wl = (hl = (Rl = (ml = s.report) == null ? void 0 : ml.eeas) == null ? void 0 : Rl.extend) == null ? void 0 : hl.cp) == null ? void 0 : wl.weather) != null && Vl.consPercentage ? (o(), n("span", Uj, "+" + i((Xi = (Hi = (Ji = (_i = (nl = s.report) == null ? void 0 : nl.eeas) == null ? void 0 : _i.extend) == null ? void 0 : Ji.cp) == null ? void 0 : Hi.weather) == null ? void 0 : Xi.consOfOver) + "% , -" + i((r = (ts = ($i = (qi = (Ki = s.report) == null ? void 0 : Ki.eeas) == null ? void 0 : qi.extend) == null ? void 0 : $i.cp) == null ? void 0 : ts.weather) == null ? void 0 : r.consOfUnder) + "%", 1)) : (o(), n("span", Ej, "+" + i((Fl = (El = (ol = (el = (ct = s.report) == null ? void 0 : ct.eeas) == null ? void 0 : el.extend) == null ? void 0 : ol.cp) == null ? void 0 : El.weather) == null ? void 0 : Fl.consOfOver) + " , -" + i((Ll = (Zl = (Wl = (Pl = (Gl = s.report) == null ? void 0 : Gl.eeas) == null ? void 0 : Pl.extend) == null ? void 0 : Wl.cp) == null ? void 0 : Zl.weather) == null ? void 0 : Ll.consOfUnder), 1))
|
|
7559
7560
|
])) : g("", !0)
|
|
7560
7561
|
]),
|
|
7561
7562
|
t("td", Oj, [
|
|
@@ -7629,7 +7630,7 @@ function iU(e, l, s, r, d, N) {
|
|
|
7629
7630
|
])
|
|
7630
7631
|
]),
|
|
7631
7632
|
t("div", {
|
|
7632
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
7633
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
7633
7634
|
}, [
|
|
7634
7635
|
l[29] || (l[29] = t("div", { class: "header-block" }, [
|
|
7635
7636
|
t("div", { class: "bg-block" }, [
|
|
@@ -7638,11 +7639,11 @@ function iU(e, l, s, r, d, N) {
|
|
|
7638
7639
|
])
|
|
7639
7640
|
], -1)),
|
|
7640
7641
|
t("div", Lj, [
|
|
7641
|
-
|
|
7642
|
-
|
|
7642
|
+
a.editable ? (o(), n("div", Bj, [
|
|
7643
|
+
a.editable ? (o(), ll(d, {
|
|
7643
7644
|
key: 0,
|
|
7644
|
-
modelValue:
|
|
7645
|
-
"onUpdate:modelValue": l[0] || (l[0] = (At) =>
|
|
7645
|
+
modelValue: a.remarks,
|
|
7646
|
+
"onUpdate:modelValue": l[0] || (l[0] = (At) => a.remarks = At),
|
|
7646
7647
|
class: "editor",
|
|
7647
7648
|
height: "80px",
|
|
7648
7649
|
onBlur: l[1] || (l[1] = (At) => N.handleCommit(At))
|
|
@@ -7650,11 +7651,11 @@ function iU(e, l, s, r, d, N) {
|
|
|
7650
7651
|
])) : (o(), n("div", {
|
|
7651
7652
|
key: 1,
|
|
7652
7653
|
class: "remark-block bg-blue-light",
|
|
7653
|
-
onDblclick: l[2] || (l[2] = (At) =>
|
|
7654
|
+
onDblclick: l[2] || (l[2] = (At) => a.editable = !0)
|
|
7654
7655
|
}, [
|
|
7655
|
-
N.computeBlankHtml(
|
|
7656
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", Jj, "Please double click to modify remark")) : (o(), n("div", {
|
|
7656
7657
|
key: 0,
|
|
7657
|
-
innerHTML:
|
|
7658
|
+
innerHTML: a.remarks
|
|
7658
7659
|
}, null, 8, _j))
|
|
7659
7660
|
], 32))
|
|
7660
7661
|
])
|
|
@@ -8134,9 +8135,9 @@ const DU = {
|
|
|
8134
8135
|
class: "label",
|
|
8135
8136
|
style: { "font-weight": "bold" }
|
|
8136
8137
|
}, WU = { class: "section leg-section" };
|
|
8137
|
-
function ZU(e, l, s,
|
|
8138
|
+
function ZU(e, l, s, c, a, N) {
|
|
8138
8139
|
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql;
|
|
8139
|
-
const x = J("IdmBrand"),
|
|
8140
|
+
const x = J("IdmBrand"), d = J("Editor");
|
|
8140
8141
|
return o(), n("div", NU, [
|
|
8141
8142
|
tt(x, { name: "EU ETS Compliance Cost Analysis Report" }),
|
|
8142
8143
|
t("div", aU, [
|
|
@@ -8229,7 +8230,7 @@ function ZU(e, l, s, r, d, N) {
|
|
|
8229
8230
|
])
|
|
8230
8231
|
]),
|
|
8231
8232
|
t("div", {
|
|
8232
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
8233
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
8233
8234
|
}, [
|
|
8234
8235
|
l[20] || (l[20] = t("div", { class: "header-block" }, [
|
|
8235
8236
|
t("div", { class: "bg-block" }, [
|
|
@@ -8238,11 +8239,11 @@ function ZU(e, l, s, r, d, N) {
|
|
|
8238
8239
|
])
|
|
8239
8240
|
], -1)),
|
|
8240
8241
|
t("div", hU, [
|
|
8241
|
-
|
|
8242
|
-
|
|
8242
|
+
a.editable ? (o(), n("div", wU, [
|
|
8243
|
+
a.editable ? (o(), ll(d, {
|
|
8243
8244
|
key: 0,
|
|
8244
|
-
modelValue:
|
|
8245
|
-
"onUpdate:modelValue": l[0] || (l[0] = (z) =>
|
|
8245
|
+
modelValue: a.remarks,
|
|
8246
|
+
"onUpdate:modelValue": l[0] || (l[0] = (z) => a.remarks = z),
|
|
8246
8247
|
class: "editor",
|
|
8247
8248
|
height: "80px",
|
|
8248
8249
|
onBlur: l[1] || (l[1] = (z) => N.handleCommit(z))
|
|
@@ -8250,11 +8251,11 @@ function ZU(e, l, s, r, d, N) {
|
|
|
8250
8251
|
])) : (o(), n("div", {
|
|
8251
8252
|
key: 1,
|
|
8252
8253
|
class: "remark-block bg-blue-light-2",
|
|
8253
|
-
onDblclick: l[2] || (l[2] = (z) =>
|
|
8254
|
+
onDblclick: l[2] || (l[2] = (z) => a.editable = !0)
|
|
8254
8255
|
}, [
|
|
8255
|
-
N.computeBlankHtml(
|
|
8256
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", FU, "Please double click to modify remark")) : (o(), n("div", {
|
|
8256
8257
|
key: 0,
|
|
8257
|
-
innerHTML:
|
|
8258
|
+
innerHTML: a.remarks
|
|
8258
8259
|
}, null, 8, VU))
|
|
8259
8260
|
], 32))
|
|
8260
8261
|
])
|
|
@@ -8506,9 +8507,9 @@ const BU = {
|
|
|
8506
8507
|
key: 0,
|
|
8507
8508
|
class: ""
|
|
8508
8509
|
}, xE = ["innerHTML"], jE = { key: 1 }, vE = { class: "section co2-emissions-section" }, UE = { style: { "margin-top": "20px" } }, EE = { class: "section leg-section" };
|
|
8509
|
-
function OE(e, l, s,
|
|
8510
|
-
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts,
|
|
8511
|
-
const x = J("IdmBrand"),
|
|
8510
|
+
function OE(e, l, s, c, a, N) {
|
|
8511
|
+
var A, Y, E, O, k, p, v, C, R, j, f, m, h, u, w, V, F, W, Z, L, H, X, K, q, $, lt, M, B, it, st, Mt, et, ot, nt, Dt, Nt, at, dt, It, _, Tt, ut, zt, xt, jt, vt, Ut, Et, Ot, Yt, Ct, bt, ft, Qt, pt, St, kt, mt, Rt, ht, wt, Vt, Ft, Gt, Pt, Wt, Zt, Lt, Bt, Q, tl, U, D, S, rt, _t, Jt, Ht, Xt, Kt, qt, il, P, Ml, Nl, al, dl, Il, gl, Al, rl, cl, yl, Tl, ul, zl, xl, jl, vl, Ul, Ol, Yl, Cl, bl, fl, Ql, z, pl, Sl, kl, ml, Rl, hl, wl, Vl, nl, _i, Ji, Hi, Xi, Ki, qi, $i, ts, r, ct, el, ol, El, Fl, Gl, Pl, Wl, Zl, Ll, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ti, li, ii, si, Mi, ei, oi, ni, Di, Ni, ai, di, Ii, gi, Ai, ri, ci, yi, Ti, ui, zi, xi, ji, vi, Ui, Ei, Oi, Yi, Ci, bi, fi, Qi, pi, Si, ki, mi, Ri, hi, wi, Vi, Fi, Gi, Pi, Wi, ls, is, ss, Ms, es, Ds, Ns, as, ds, Is, rs, cs, ys, Ts, us, zs, xs, js, vs, Us, Es, Os, Ys, Cs, bs, fs, Qs, ps, Ss, ks, ms, Rs, hs, ws, Vs, Fs, Gs, Ps, Ws;
|
|
8512
|
+
const x = J("IdmBrand"), d = J("Editor");
|
|
8512
8513
|
return o(), n("div", _U, [
|
|
8513
8514
|
tt(x, { name: "FuelEU Compliance Cost Analysis Report" }),
|
|
8514
8515
|
t("div", JU, [
|
|
@@ -8598,7 +8599,7 @@ function OE(e, l, s, r, d, N) {
|
|
|
8598
8599
|
])
|
|
8599
8600
|
]),
|
|
8600
8601
|
t("div", {
|
|
8601
|
-
class: b(["section remark-section", N.computeBlankHtml(
|
|
8602
|
+
class: b(["section remark-section", N.computeBlankHtml(a.remarks) ? "print-hidden" : ""])
|
|
8602
8603
|
}, [
|
|
8603
8604
|
l[17] || (l[17] = t("div", { class: "header-block" }, [
|
|
8604
8605
|
t("div", { class: "bg-block" }, [
|
|
@@ -8607,11 +8608,11 @@ function OE(e, l, s, r, d, N) {
|
|
|
8607
8608
|
])
|
|
8608
8609
|
], -1)),
|
|
8609
8610
|
t("div", uE, [
|
|
8610
|
-
|
|
8611
|
-
|
|
8611
|
+
a.editable ? (o(), n("div", zE, [
|
|
8612
|
+
a.editable ? (o(), ll(d, {
|
|
8612
8613
|
key: 0,
|
|
8613
|
-
modelValue:
|
|
8614
|
-
"onUpdate:modelValue": l[0] || (l[0] = (y) =>
|
|
8614
|
+
modelValue: a.remarks,
|
|
8615
|
+
"onUpdate:modelValue": l[0] || (l[0] = (y) => a.remarks = y),
|
|
8615
8616
|
class: "editor",
|
|
8616
8617
|
height: "80px",
|
|
8617
8618
|
onBlur: l[1] || (l[1] = (y) => N.handleCommit(y))
|
|
@@ -8619,11 +8620,11 @@ function OE(e, l, s, r, d, N) {
|
|
|
8619
8620
|
])) : (o(), n("div", {
|
|
8620
8621
|
key: 1,
|
|
8621
8622
|
class: "remark-block bg-blue-light-2",
|
|
8622
|
-
onDblclick: l[2] || (l[2] = (y) =>
|
|
8623
|
+
onDblclick: l[2] || (l[2] = (y) => a.editable = !0)
|
|
8623
8624
|
}, [
|
|
8624
|
-
N.computeBlankHtml(
|
|
8625
|
+
N.computeBlankHtml(a.remarks) ? (o(), n("div", jE, "Please double click to modify remark")) : (o(), n("div", {
|
|
8625
8626
|
key: 0,
|
|
8626
|
-
innerHTML:
|
|
8627
|
+
innerHTML: a.remarks
|
|
8627
8628
|
}, null, 8, xE))
|
|
8628
8629
|
], 32))
|
|
8629
8630
|
])
|
|
@@ -8732,7 +8733,7 @@ function OE(e, l, s, r, d, N) {
|
|
|
8732
8733
|
t("tr", null, [
|
|
8733
8734
|
l[20] || (l[20] = t("td", null, "MGO", -1)),
|
|
8734
8735
|
t("td", null, i(((Xi = (Hi = (Ji = (_i = (nl = s.report) == null ? void 0 : nl.summary) == null ? void 0 : _i.fuels) == null ? void 0 : Ji.filter((y) => y.type === "MGO")) == null ? void 0 : Hi[0]) == null ? void 0 : Xi.cons) ?? "-"), 1),
|
|
8735
|
-
t("td", null, i(((
|
|
8736
|
+
t("td", null, i(((r = (ts = ($i = (qi = (Ki = s.report) == null ? void 0 : Ki.summary) == null ? void 0 : qi.fuels) == null ? void 0 : $i.filter((y) => y.type === "MGO")) == null ? void 0 : ts[0]) == null ? void 0 : r.lcv) ?? "-"), 1),
|
|
8736
8737
|
t("td", null, i(((Fl = (El = (ol = (el = (ct = s.report) == null ? void 0 : ct.summary) == null ? void 0 : el.fuels) == null ? void 0 : ol.filter((y) => y.type === "MGO")) == null ? void 0 : El[0]) == null ? void 0 : Fl.energy) ?? "-"), 1),
|
|
8737
8738
|
t("td", null, i(((Ll = (Zl = (Wl = (Pl = (Gl = s.report) == null ? void 0 : Gl.summary) == null ? void 0 : Pl.fuels) == null ? void 0 : Wl.filter((y) => y.type === "MGO")) == null ? void 0 : Zl[0]) == null ? void 0 : Ll.wtt) ?? "-"), 1),
|
|
8738
8739
|
t("td", null, i(((Kl = (Xl = (Hl = (Jl = (_l = (Bl = s.report) == null ? void 0 : Bl.summary) == null ? void 0 : _l.fuels) == null ? void 0 : Jl.filter((y) => y.type === "MGO")) == null ? void 0 : Hl[0]) == null ? void 0 : Xl.ttw) == null ? void 0 : Kl.co2) ?? "-"), 1),
|