@idmui/extend 1.5.3 → 1.5.4
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/Comparison/src/index.vue.d.ts +1 -1
- package/dist/Eeas/src/index.vue.d.ts +2 -2
- package/dist/Eu/src/index.vue.d.ts +1 -1
- package/dist/Plan/src/index.vue.d.ts +4 -4
- package/dist/Stoppage/src/index.vue.d.ts +3 -3
- package/dist/Voyage/src/inventory.vue.d.ts +3 -3
- package/dist/Voyage/src/summary.vue.d.ts +3 -3
- package/dist/index.js +360 -366
- package/dist/index.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { shallowRef as po, resolveComponent as
|
|
1
|
+
import { shallowRef as po, resolveComponent as X, openBlock as e, createElementBlock as n, withDirectives as Oo, createVNode as Nt, vShow as ho, normalizeStyle as ll, defineComponent as Eo, createElementVNode as t, Fragment as u, toDisplayString as i, createTextVNode as I, createCommentVNode as g, renderList as O, withCtx as Qa, normalizeClass as S, createBlock as St, createStaticVNode as _t, markRaw as Ze } from "vue";
|
|
2
2
|
import { Editor as Co, Toolbar as Yo } from "@wangeditor/editor-for-vue";
|
|
3
3
|
import { IdmBrand as zl, IdmLoading as bo, IdmSign as Qo } from "@idmui/basic";
|
|
4
4
|
import Et from "moment";
|
|
5
5
|
import * as We from "echarts";
|
|
6
|
-
import { LngLatHelper as
|
|
6
|
+
import { LngLatHelper as dt } from "@idm-plugin/geo";
|
|
7
7
|
import Le from "axios";
|
|
8
8
|
import { MdEditor as ko, MdPreview as So } from "md-editor-v3";
|
|
9
9
|
const Ya = (d, a) => {
|
|
@@ -72,9 +72,9 @@ const Ya = (d, a) => {
|
|
|
72
72
|
}
|
|
73
73
|
}, Ro = { class: "editor-box" };
|
|
74
74
|
function Vo(d, a, s, c, o, D) {
|
|
75
|
-
const
|
|
75
|
+
const v = X("Toolbar"), r = X("Editor");
|
|
76
76
|
return e(), n("div", Ro, [
|
|
77
|
-
Oo(Nt(
|
|
77
|
+
Oo(Nt(v, {
|
|
78
78
|
editor: o.editor,
|
|
79
79
|
"default-config": o.toolbarConfig,
|
|
80
80
|
mode: o.mode,
|
|
@@ -180,29 +180,29 @@ const Zo = {
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
computeLTime() {
|
|
183
|
-
return function(d, a, s, c
|
|
184
|
-
let
|
|
185
|
-
return s && a && (
|
|
183
|
+
return function(d, a, s, c) {
|
|
184
|
+
let o = 0;
|
|
185
|
+
return s && a && (o = dt.guessTimeZoneOffset(a, s)), `${Et(d).utcOffset(c ?? o).format("MMM-DD/HHmm")}LT`;
|
|
186
186
|
};
|
|
187
187
|
},
|
|
188
188
|
computeTimeDiff() {
|
|
189
189
|
return function(d, a) {
|
|
190
|
-
var s, c, o, D,
|
|
190
|
+
var s, c, o, D, v;
|
|
191
191
|
if (a === 0)
|
|
192
192
|
return "-";
|
|
193
193
|
{
|
|
194
|
-
const r = Et((o = (c = (s = d == null ? void 0 : d.speeds) == null ? void 0 : s[a]) == null ? void 0 : c.speed) == null ? void 0 : o.eta).diff(Et((
|
|
194
|
+
const r = Et((o = (c = (s = d == null ? void 0 : d.speeds) == null ? void 0 : s[a]) == null ? void 0 : c.speed) == null ? void 0 : o.eta).diff(Et((v = (D = d == null ? void 0 : d.speeds) == null ? void 0 : D[0]) == null ? void 0 : v.speed.eta), "h", !0);
|
|
195
195
|
return Math.round(r * 100) / 100;
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
},
|
|
199
199
|
computeCostDiff() {
|
|
200
200
|
return function(d, a) {
|
|
201
|
-
var s, c, o, D,
|
|
201
|
+
var s, c, o, D, v, r, A;
|
|
202
202
|
if (a === 0)
|
|
203
203
|
return "-";
|
|
204
204
|
{
|
|
205
|
-
const E = Number((D = (o = (c = (s = d == null ? void 0 : d.speeds) == null ? void 0 : s[a]) == null ? void 0 : c.speed) == null ? void 0 : o.cost) == null ? void 0 : D.total) - Number((A = (r = (
|
|
205
|
+
const E = Number((D = (o = (c = (s = d == null ? void 0 : d.speeds) == null ? void 0 : s[a]) == null ? void 0 : c.speed) == null ? void 0 : o.cost) == null ? void 0 : D.total) - Number((A = (r = (v = d == null ? void 0 : d.speeds) == null ? void 0 : v[0]) == null ? void 0 : r.speed) == null ? void 0 : A.cost.total);
|
|
206
206
|
return `${(Math.round(E / 1e3 * 100) / 100).toLocaleString("en-US")}k`;
|
|
207
207
|
}
|
|
208
208
|
};
|
|
@@ -228,17 +228,17 @@ const Zo = {
|
|
|
228
228
|
},
|
|
229
229
|
computeMajorPoints() {
|
|
230
230
|
return function(d) {
|
|
231
|
-
const { label: a, v0: s, argv: c, sample: o } = d, D = o == null ? void 0 : o.wps,
|
|
231
|
+
const { label: a, v0: s, argv: c, sample: o } = d, D = o == null ? void 0 : o.wps, v = [];
|
|
232
232
|
for (let r = 0; r < (D == null ? void 0 : D.length); r++) {
|
|
233
233
|
const A = D[r], E = D[r - 1];
|
|
234
|
-
E && (A.avgBearing = E.bearing), r === 0 && (A.label = `${a}: ${s}`),
|
|
234
|
+
E && (A.avgBearing = E.bearing), r === 0 && (A.label = `${a}: ${s}`), v.push(A), A.suspend && (c != null && c.useRouteParam) && v.push({
|
|
235
235
|
etd: A.etd,
|
|
236
236
|
eta: A.etd,
|
|
237
237
|
isResume: !0,
|
|
238
238
|
memo: `Stoppage: ${A.suspend}hrs`
|
|
239
239
|
}), A.velocity && (c != null && c.useRouteParam) && (A.label = `Spd: ${A.velocity}`);
|
|
240
240
|
}
|
|
241
|
-
return
|
|
241
|
+
return v;
|
|
242
242
|
};
|
|
243
243
|
},
|
|
244
244
|
computeDegree() {
|
|
@@ -255,8 +255,8 @@ const Zo = {
|
|
|
255
255
|
},
|
|
256
256
|
computeDay() {
|
|
257
257
|
return function(d, a = 0) {
|
|
258
|
-
var D,
|
|
259
|
-
const s = (A = (r = (
|
|
258
|
+
var D, v, r, A;
|
|
259
|
+
const s = (A = (r = (v = (D = d == null ? void 0 : d.speeds) == null ? void 0 : D[a]) == null ? void 0 : v.speed) == null ? void 0 : r.sample) == null ? void 0 : A.hours, c = s == null ? void 0 : s[0], o = s == null ? void 0 : s[(s == null ? void 0 : s.length) - 1];
|
|
260
260
|
return Math.round(Et(o == null ? void 0 : o.eta).diff(Et(c == null ? void 0 : c.eta), "day", !0) * 10) / 10;
|
|
261
261
|
};
|
|
262
262
|
},
|
|
@@ -277,32 +277,32 @@ const Zo = {
|
|
|
277
277
|
},
|
|
278
278
|
computeCog() {
|
|
279
279
|
return function(d) {
|
|
280
|
-
return isNaN(d) ? "-" :
|
|
280
|
+
return isNaN(d) ? "-" : dt.padNumber(d, 3, 0);
|
|
281
281
|
};
|
|
282
282
|
},
|
|
283
283
|
computeLat() {
|
|
284
|
-
return (d, a = 4) =>
|
|
284
|
+
return (d, a = 4) => dt.lat2pretty(d, a).pretty;
|
|
285
285
|
},
|
|
286
286
|
computeLng() {
|
|
287
|
-
return (d, a = 4) =>
|
|
287
|
+
return (d, a = 4) => dt.lng2pretty(d, a).pretty;
|
|
288
288
|
},
|
|
289
289
|
computePosition() {
|
|
290
290
|
return function(d) {
|
|
291
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
291
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
292
292
|
};
|
|
293
293
|
},
|
|
294
294
|
computedWindClass() {
|
|
295
295
|
return (d) => {
|
|
296
|
-
var s, c, o, D,
|
|
296
|
+
var s, c, o, D, v, r, A, E, l, x, Y, h, f, b, Q, z, p, C;
|
|
297
297
|
let a = "";
|
|
298
|
-
return (c = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && c.wind && ((D = (o = d.meteo) == null ? void 0 : o.wind) == null ? void 0 : D.scale) >= ((r = (
|
|
298
|
+
return (c = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && c.wind && ((D = (o = d.meteo) == null ? void 0 : o.wind) == null ? void 0 : D.scale) >= ((r = (v = this.weatherPrinciple) == null ? void 0 : v.dangerous) == null ? void 0 : r.wind) ? a = "bg-danger" : (E = (A = this.weatherPrinciple) == null ? void 0 : A.severe) != null && E.wind && ((x = (l = d.meteo) == null ? void 0 : l.wind) == null ? void 0 : x.scale) > ((h = (Y = this.weatherPrinciple) == null ? void 0 : Y.severe) == null ? void 0 : h.wind) ? a = "bg-severe" : (b = (f = this.weatherPrinciple) == null ? void 0 : f.heavy) != null && b.wind && ((z = (Q = d.meteo) == null ? void 0 : Q.wind) == null ? void 0 : z.scale) === ((C = (p = this.weatherPrinciple) == null ? void 0 : p.heavy) == null ? void 0 : C.wind) && (a = "bg-heavy"), a;
|
|
299
299
|
};
|
|
300
300
|
},
|
|
301
301
|
computedSigClass() {
|
|
302
302
|
return (d) => {
|
|
303
|
-
var s, c, o, D,
|
|
303
|
+
var s, c, o, D, v, r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z;
|
|
304
304
|
let a = "";
|
|
305
|
-
return (c = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && c.sigWv && ((
|
|
305
|
+
return (c = (s = this.weatherPrinciple) == null ? void 0 : s.dangerous) != null && c.sigWv && ((v = (D = (o = d.meteo) == null ? void 0 : o.wave) == null ? void 0 : D.sig) == null ? void 0 : v.height) >= ((A = (r = this.weatherPrinciple) == null ? void 0 : r.dangerous) == null ? void 0 : A.sigWv) ? a = "bg-danger" : (l = (E = this.weatherPrinciple) == null ? void 0 : E.severe) != null && l.sigWv && ((h = (Y = (x = d.meteo) == null ? void 0 : x.wave) == null ? void 0 : Y.sig) == null ? void 0 : h.height) >= ((b = (f = this.weatherPrinciple) == null ? void 0 : f.severe) == null ? void 0 : b.sigWv) ? a = "bg-severe" : (z = (Q = this.weatherPrinciple) == null ? void 0 : Q.heavy) != null && z.sigWv && ((k = (C = (p = d.meteo) == null ? void 0 : p.wave) == null ? void 0 : C.sig) == null ? void 0 : k.height) >= ((Z = (T = this.weatherPrinciple) == null ? void 0 : T.heavy) == null ? void 0 : Z.sigWv) && (a = "bg-heavy"), a;
|
|
306
306
|
};
|
|
307
307
|
},
|
|
308
308
|
computedVisClass() {
|
|
@@ -342,7 +342,7 @@ const Zo = {
|
|
|
342
342
|
this.echart || (this.echart = We.init(this.$refs.echart)), this.renderEchart();
|
|
343
343
|
},
|
|
344
344
|
renderEchart() {
|
|
345
|
-
var z, p, C, k, T,
|
|
345
|
+
var z, p, C, k, T, Z, B;
|
|
346
346
|
const d = [], a = [], s = {
|
|
347
347
|
dateTime: 0,
|
|
348
348
|
windSpeed: 1,
|
|
@@ -355,25 +355,25 @@ const Zo = {
|
|
|
355
355
|
speed: 8
|
|
356
356
|
};
|
|
357
357
|
let c = 4;
|
|
358
|
-
(
|
|
359
|
-
var q, $,
|
|
360
|
-
const
|
|
361
|
-
if (
|
|
362
|
-
const
|
|
363
|
-
d.push(
|
|
364
|
-
|
|
365
|
-
(it =
|
|
366
|
-
(st = (lt =
|
|
367
|
-
(
|
|
368
|
-
(_ =
|
|
369
|
-
(
|
|
358
|
+
(Z = (T = (k = (C = (p = (z = this.plan) == null ? void 0 : z.speeds) == null ? void 0 : p[this.speedIndex]) == null ? void 0 : C.speed) == null ? void 0 : k.sample) == null ? void 0 : T.hours) == null || Z.forEach((w) => {
|
|
359
|
+
var K, q, $, at, it, lt, st, et, _, y;
|
|
360
|
+
const W = w.meteo;
|
|
361
|
+
if (W) {
|
|
362
|
+
const nt = Et(W.utc).utc().format("MMM-DD/HHmm[Z]");
|
|
363
|
+
d.push(nt), c = Math.ceil(((q = (K = W.wave) == null ? void 0 : K.sig) == null ? void 0 : q.height) > c ? (at = ($ = W.wave) == null ? void 0 : $.sig) == null ? void 0 : at.height : c), a.push([
|
|
364
|
+
nt,
|
|
365
|
+
(it = W.wind) == null ? void 0 : it.kts,
|
|
366
|
+
(st = (lt = W.wave) == null ? void 0 : lt.sig) == null ? void 0 : st.height,
|
|
367
|
+
(et = W.wind) == null ? void 0 : et.direction,
|
|
368
|
+
(_ = W.wind) == null ? void 0 : _.degree,
|
|
369
|
+
(y = W.wind) == null ? void 0 : y.scale,
|
|
370
370
|
w.cFactor,
|
|
371
371
|
w.wFactor,
|
|
372
372
|
w.speed
|
|
373
373
|
]);
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
-
const o = Math.max(...a.map((w) => w[s.speed])), D = Math.max(...a.map((w) => w[s.windSpeed])),
|
|
376
|
+
const o = Math.max(...a.map((w) => w[s.speed])), D = Math.max(...a.map((w) => w[s.windSpeed])), v = Math.min(...a.map((w) => w[s.currentFactor])) > 0 ? 0 : Math.floor(Math.min(...a.map((w) => w[s.currentFactor])) / 0.5) * 0.5, r = Math.ceil(Math.max(...a.map((w) => w[s.currentFactor])) / 0.5) * 0.5, A = Math.ceil(o / 5 / 5) * 5, E = Math.ceil(D / 5 / 5) * 5, l = Math.ceil(c / 5 / 0.5) * 0.5, x = Math.ceil((r - v) / 5 / 0.5) * 0.5, Y = 5 * A, h = 5 * E, f = 5 * l, b = v + 5 * x, Q = {
|
|
377
377
|
animation: !1,
|
|
378
378
|
title: {
|
|
379
379
|
text: "Weather Conditions & Speed Analysis",
|
|
@@ -470,7 +470,7 @@ const Zo = {
|
|
|
470
470
|
position: "right",
|
|
471
471
|
offset: 40,
|
|
472
472
|
nameGap: 35,
|
|
473
|
-
min:
|
|
473
|
+
min: v,
|
|
474
474
|
max: b,
|
|
475
475
|
splitNumber: 5,
|
|
476
476
|
interval: x,
|
|
@@ -740,10 +740,10 @@ const Zo = {
|
|
|
740
740
|
class: "degree-box"
|
|
741
741
|
}, JD = { key: 1 }, HD = { key: 2 }, XD = { key: 3 };
|
|
742
742
|
function KD(d, a, s, c, o, D) {
|
|
743
|
-
var l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
744
|
-
const
|
|
743
|
+
var l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt, rt, Kt, va, Ta, xa, za, ja, Ua, Ut, ba, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, sl, dl, el, nl, ol, Ml, Dl, Nl, rl, Il, gl, cl, Al, ul, ml, yl, vl, Tl;
|
|
744
|
+
const v = X("IdmBrand"), r = X("IdmLoading"), A = X("ElTooltip"), E = X("Editor");
|
|
745
745
|
return e(), n("div", Lo, [
|
|
746
|
-
Nt(
|
|
746
|
+
Nt(v, {
|
|
747
747
|
name: "Voyage Planning",
|
|
748
748
|
issued: (l = s.plan) == null ? void 0 : l.updatedAt
|
|
749
749
|
}, null, 8, ["issued"]),
|
|
@@ -763,23 +763,23 @@ function KD(d, a, s, c, o, D) {
|
|
|
763
763
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Vessel", -1)),
|
|
764
764
|
t("span", qo, [
|
|
765
765
|
I(i((Q = (b = (f = s.plan) == null ? void 0 : f.voyage) == null ? void 0 : b.vessel) == null ? void 0 : Q.name) + " ", 1),
|
|
766
|
-
(k = (C = (p = (z = s.plan) == null ? void 0 : z.voyage) == null ? void 0 : p.vessel) == null ? void 0 : C.vesselType) != null && k.name ? (e(), n("span", $o, "(" + i((w = (B = (
|
|
766
|
+
(k = (C = (p = (z = s.plan) == null ? void 0 : z.voyage) == null ? void 0 : p.vessel) == null ? void 0 : C.vesselType) != null && k.name ? (e(), n("span", $o, "(" + i((w = (B = (Z = (T = s.plan) == null ? void 0 : T.voyage) == null ? void 0 : Z.vessel) == null ? void 0 : B.vesselType) == null ? void 0 : w.name) + ")", 1)) : g("", !0)
|
|
767
767
|
])
|
|
768
768
|
]),
|
|
769
769
|
t("div", tM, [
|
|
770
770
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Voyage No.", -1)),
|
|
771
|
-
t("span", aM, i(((
|
|
771
|
+
t("span", aM, i(((K = (W = s.plan) == null ? void 0 : W.voyage) == null ? void 0 : K.voyNum) || (($ = (q = s.plan) == null ? void 0 : q.voyage) == null ? void 0 : $.number)), 1)
|
|
772
772
|
])
|
|
773
773
|
]),
|
|
774
774
|
t("div", iM, [
|
|
775
775
|
t("div", lM, [
|
|
776
776
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
777
|
-
(lt = (it = (at = s.plan) == null ? void 0 : at.leg) == null ? void 0 : it.departure) != null && lt.name ? (e(), n("span", sM, i((_ = (
|
|
778
|
-
t("span", eM, i(D.computeUTCTime(((ct = (gt = (It = s.plan) == null ? void 0 : It.leg) == null ? void 0 : gt.departure) == null ? void 0 : ct.atd) || ((mt = (ut = (At = s.plan) == null ? void 0 : At.leg) == null ? void 0 : ut.departure) == null ? void 0 : mt.etd) || ((
|
|
777
|
+
(lt = (it = (at = s.plan) == null ? void 0 : at.leg) == null ? void 0 : it.departure) != null && lt.name ? (e(), n("span", sM, i((_ = (et = (st = s.plan) == null ? void 0 : st.leg) == null ? void 0 : et.departure) == null ? void 0 : _.name), 1)) : (e(), n("span", dM, i(D.computePosition((nt = (y = s.plan) == null ? void 0 : y.leg) == null ? void 0 : nt.departure)), 1)),
|
|
778
|
+
t("span", eM, i(D.computeUTCTime(((ct = (gt = (It = s.plan) == null ? void 0 : It.leg) == null ? void 0 : gt.departure) == null ? void 0 : ct.atd) || ((mt = (ut = (At = s.plan) == null ? void 0 : At.leg) == null ? void 0 : ut.departure) == null ? void 0 : mt.etd) || ((Mt = (ot = (U = (yt = s.plan) == null ? void 0 : yt.speeds) == null ? void 0 : U[o.speedIndex]) == null ? void 0 : ot.speed) == null ? void 0 : Mt.etd), "MMM-DD/HHmm[Z], yyyy")), 1)
|
|
779
779
|
]),
|
|
780
780
|
t("div", nM, [
|
|
781
781
|
a[9] || (a[9] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
782
|
-
(bt = (ft = (
|
|
782
|
+
(bt = (ft = (J = s.plan) == null ? void 0 : J.leg) == null ? void 0 : ft.destination) != null && bt.name ? (e(), n("span", oM, i((ht = (Ot = (pt = s.plan) == null ? void 0 : pt.leg) == null ? void 0 : Ot.destination) == null ? void 0 : ht.name), 1)) : (e(), n("span", MM, i(D.computePosition((Vt = (wt = s.plan) == null ? void 0 : wt.leg) == null ? void 0 : Vt.destination)), 1)),
|
|
783
783
|
t("span", DM, i(D.computeUTCTime(((Bt = (j = (Ht = (Jt = s.plan) == null ? void 0 : Jt.speeds) == null ? void 0 : Ht[o.speedIndex]) == null ? void 0 : j.speed) == null ? void 0 : Bt.ata) || ((Wt = (Pt = (Gt = (Ft = s.plan) == null ? void 0 : Ft.speeds) == null ? void 0 : Gt[o.speedIndex]) == null ? void 0 : Pt.speed) == null ? void 0 : Wt.eta), "MMM-DD/HHmm, yyyy[Z]")), 1)
|
|
784
784
|
]),
|
|
785
785
|
t("div", NM, [
|
|
@@ -899,7 +899,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
899
899
|
]),
|
|
900
900
|
t("tbody", null, [
|
|
901
901
|
(e(!0), n(u, null, O((Ia = s.plan) == null ? void 0 : Ia.speeds, (m, Rt) => {
|
|
902
|
-
var ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G
|
|
902
|
+
var ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G;
|
|
903
903
|
return e(), n(u, { key: Rt }, [
|
|
904
904
|
t("tr", null, [
|
|
905
905
|
t("td", UM, i(Rt + 1), 1),
|
|
@@ -918,23 +918,17 @@ function KD(d, a, s, c, o, D) {
|
|
|
918
918
|
(ni = (ei = m.speed) == null ? void 0 : ei.extend) != null && ni.distanceInECA ? (e(), n("span", OM, " (" + i(D.roundPrecision(m.speed.extend.distanceInECA, 0)) + " in ECA)", 1)) : g("", !0)
|
|
919
919
|
]),
|
|
920
920
|
t("td", null, [
|
|
921
|
-
t("b", null, i(D.computeLTime(
|
|
922
|
-
(oi = m.speed) == null ? void 0 : oi.eta,
|
|
923
|
-
(Ni = (Di = (Mi = s.plan) == null ? void 0 : Mi.leg) == null ? void 0 : Di.destination) == null ? void 0 : Ni.lng,
|
|
924
|
-
(gi = (Ii = (ri = s.plan) == null ? void 0 : ri.leg) == null ? void 0 : Ii.destination) == null ? void 0 : gi.lat,
|
|
925
|
-
(yi = (mi = (ui = (Ai = (ci = s.plan) == null ? void 0 : ci.leg) == null ? void 0 : Ai.destination) == null ? void 0 : ui.port) == null ? void 0 : mi.timezone) == null ? void 0 : yi.RawOffset,
|
|
926
|
-
(ji = (zi = (xi = (Ti = (vi = s.plan) == null ? void 0 : vi.leg) == null ? void 0 : Ti.destination) == null ? void 0 : xi.port) == null ? void 0 : zi.timezone) == null ? void 0 : ji.UtcCurrentOffset
|
|
927
|
-
)), 1),
|
|
921
|
+
t("b", null, i(D.computeLTime((oi = m.speed) == null ? void 0 : oi.eta, (Ni = (Di = (Mi = s.plan) == null ? void 0 : Mi.leg) == null ? void 0 : Di.destination) == null ? void 0 : Ni.lng, (gi = (Ii = (ri = s.plan) == null ? void 0 : ri.leg) == null ? void 0 : Ii.destination) == null ? void 0 : gi.lat, (yi = (mi = (ui = (Ai = (ci = s.plan) == null ? void 0 : ci.leg) == null ? void 0 : Ai.destination) == null ? void 0 : ui.port) == null ? void 0 : mi.timezone) == null ? void 0 : yi.RawOffset)), 1),
|
|
928
922
|
a[33] || (a[33] = t("br", null, null, -1)),
|
|
929
|
-
I(" " + i(D.computeUTCTime((
|
|
923
|
+
I(" " + i(D.computeUTCTime((vi = m.speed) == null ? void 0 : vi.eta)), 1)
|
|
930
924
|
]),
|
|
931
925
|
t("td", hM, i(D.computeSuspend(m.speed)), 1),
|
|
932
|
-
t("td", CM, i(D.roundPrecision((
|
|
926
|
+
t("td", CM, i(D.roundPrecision((Ti = m.speed) == null ? void 0 : Ti.totalFoCons, 3)), 1),
|
|
933
927
|
t("td", YM, [
|
|
934
|
-
t("span", null, i(D.roundPrecision((
|
|
935
|
-
(
|
|
928
|
+
t("span", null, i(D.roundPrecision((xi = m.speed) == null ? void 0 : xi.totalDgoCons, 3)), 1),
|
|
929
|
+
(ji = (zi = m.speed) == null ? void 0 : zi.extend) != null && ji.totalDgoConsInECA ? (e(), n("span", QM, " + " + i(D.roundPrecision((Ui = m.speed.extend) == null ? void 0 : Ui.totalDgoConsInECA, 3)) + "*", 1)) : g("", !0)
|
|
936
930
|
]),
|
|
937
|
-
D.showCost ? (e(), n("td", kM, i((
|
|
931
|
+
D.showCost ? (e(), n("td", kM, i((bi = D.roundPrecision(((Ei = (fi = m == null ? void 0 : m.speed) == null ? void 0 : fi.cost) == null ? void 0 : Ei.total) / 1e3, 2)) == null ? void 0 : bi.toLocaleString("en-US")) + "k", 1)) : g("", !0),
|
|
938
932
|
t("td", {
|
|
939
933
|
rowspan: D.showCost ? 1 : 2
|
|
940
934
|
}, i(D.computeTimeDiff(s.plan, Rt)), 9, SM),
|
|
@@ -944,7 +938,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
944
938
|
placement: "top",
|
|
945
939
|
trigger: "hover",
|
|
946
940
|
width: 300,
|
|
947
|
-
content: (
|
|
941
|
+
content: (Oi = (pi = s.weatherPrinciple) == null ? void 0 : pi.dangerous) == null ? void 0 : Oi.pretty
|
|
948
942
|
}, {
|
|
949
943
|
default: Qa(() => [...a[34] || (a[34] = [
|
|
950
944
|
t("span", { style: { cursor: "pointer" } }, "Danger", -1)
|
|
@@ -957,7 +951,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
957
951
|
placement: "top",
|
|
958
952
|
trigger: "hover",
|
|
959
953
|
width: 300,
|
|
960
|
-
content: (
|
|
954
|
+
content: (Ci = (hi = s.weatherPrinciple) == null ? void 0 : hi.severe) == null ? void 0 : Ci.pretty
|
|
961
955
|
}, {
|
|
962
956
|
default: Qa(() => [...a[35] || (a[35] = [
|
|
963
957
|
t("span", { style: { cursor: "pointer" } }, "Severe", -1)
|
|
@@ -970,7 +964,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
970
964
|
placement: "top",
|
|
971
965
|
trigger: "hover",
|
|
972
966
|
width: 300,
|
|
973
|
-
content: (
|
|
967
|
+
content: (Qi = (Yi = s.weatherPrinciple) == null ? void 0 : Yi.heavy) == null ? void 0 : Qi.pretty
|
|
974
968
|
}, {
|
|
975
969
|
default: Qa(() => [...a[36] || (a[36] = [
|
|
976
970
|
t("span", { style: { cursor: "pointer" } }, "Heavy", -1)
|
|
@@ -981,19 +975,19 @@ function KD(d, a, s, c, o, D) {
|
|
|
981
975
|
]),
|
|
982
976
|
t("tr", null, [
|
|
983
977
|
t("td", null, [
|
|
984
|
-
((
|
|
985
|
-
t("div", null, "FO: " + i((
|
|
986
|
-
t("div", null, "DO: " + i((
|
|
978
|
+
((ki = m.speed) == null ? void 0 : ki.label) !== "Combined" ? (e(), n("div", wM, "FO: " + i((wi = (Si = m.speed) == null ? void 0 : Si.cpCopy) == null ? void 0 : wi.fo) + " / DO: " + i((Vi = (Ri = m.speed) == null ? void 0 : Ri.cpCopy) == null ? void 0 : Vi.dgo), 1)) : (e(), n(u, { key: 1 }, [
|
|
979
|
+
t("div", null, "FO: " + i((Gi = (Fi = m.speed) == null ? void 0 : Fi.extend) == null ? void 0 : Gi.cps[0].fo) + " / " + i((Wi = (Pi = m.speed) == null ? void 0 : Pi.extend) == null ? void 0 : Wi.cps[1].fo), 1),
|
|
980
|
+
t("div", null, "DO: " + i((Li = (Zi = m.speed) == null ? void 0 : Zi.extend) == null ? void 0 : Li.cps[0].dgo) + " / " + i((_i = (Bi = m.speed) == null ? void 0 : Bi.extend) == null ? void 0 : _i.cps[1].dgo), 1)
|
|
987
981
|
], 64))
|
|
988
982
|
]),
|
|
989
983
|
t("td", RM, [
|
|
990
|
-
t("span", null, i(D.roundPrecision((
|
|
991
|
-
(
|
|
984
|
+
t("span", null, i(D.roundPrecision((Ji = m.speed) == null ? void 0 : Ji.totalHrs, 1)), 1),
|
|
985
|
+
(Xi = (Hi = m.speed) == null ? void 0 : Hi.extend) != null && Xi.hoursInECA ? (e(), n("span", VM, " (" + i(D.roundPrecision(m.speed.extend.hoursInECA, 1)) + " in ECA)", 1)) : g("", !0)
|
|
992
986
|
]),
|
|
993
|
-
t("td", null, i(D.roundPrecision((
|
|
994
|
-
D.showCost ? (e(), n("td", FM, i(D.roundPrecision(((
|
|
987
|
+
t("td", null, i(D.roundPrecision((Ki = m.speed) == null ? void 0 : Ki.avgSpeed, 2)) + " / " + i(D.roundPrecision((qi = m.speed) == null ? void 0 : qi.wxFactor, 2)) + " / " + i(D.roundPrecision(($i = m.speed) == null ? void 0 : $i.cFactor, 2)), 1),
|
|
988
|
+
D.showCost ? (e(), n("td", FM, i(D.roundPrecision(((al = (tl = m == null ? void 0 : m.speed) == null ? void 0 : tl.cost) == null ? void 0 : al.hire) / 1e3, 2).toLocaleString("en-US")) + "k / " + i(D.roundPrecision(((R = (N = m == null ? void 0 : m.speed) == null ? void 0 : N.cost) == null ? void 0 : R.bunker) / 1e3, 2).toLocaleString("en-US")) + "k ", 1)) : g("", !0),
|
|
995
989
|
D.showCost ? (e(), n("td", GM, i(D.computeCostDiff(s.plan, Rt)), 1)) : g("", !0),
|
|
996
|
-
t("td", null, i(D.roundPrecision(((
|
|
990
|
+
t("td", null, i(D.roundPrecision(((V = m.speed) == null ? void 0 : V.dangerous) / 24, 2)) + " / " + i(D.roundPrecision(((F = m.speed) == null ? void 0 : F.severe) / 24, 2)) + " / " + i(D.roundPrecision(((G = m.speed) == null ? void 0 : G.heavy) / 24, 2)), 1)
|
|
997
991
|
])
|
|
998
992
|
], 64);
|
|
999
993
|
}), 128))
|
|
@@ -1048,7 +1042,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1048
1042
|
]),
|
|
1049
1043
|
t("div", qM, [
|
|
1050
1044
|
t("div", $M, [
|
|
1051
|
-
a[48] || (a[48] = _t('<div class="cell-item flex" style="flex:2.5;" data-v-
|
|
1045
|
+
a[48] || (a[48] = _t('<div class="cell-item flex" style="flex:2.5;" data-v-9bdb650d>Major waypoint</div><div class="cell-item flex" style="flex:2;" data-v-9bdb650d>Time</div><div class="cell-item flex" data-v-9bdb650d>Nav</div><div class="cell-item flex" data-v-9bdb650d>Dist <span class="text-units" data-v-9bdb650d>(nm)</span></div>', 4)),
|
|
1052
1046
|
(Ra = (wa = s.plan) == null ? void 0 : wa.voyage) != null && Ra.showMajorWPSpd ? (e(), n("div", tD, [...a[46] || (a[46] = [
|
|
1053
1047
|
I("SOG ", -1),
|
|
1054
1048
|
t("span", { class: "text-units" }, "(kts)", -1)
|
|
@@ -1210,7 +1204,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1210
1204
|
]),
|
|
1211
1205
|
t("tbody", null, [
|
|
1212
1206
|
(e(!0), n(u, null, O((Tl = (vl = (yl = (ml = (ul = s.plan) == null ? void 0 : ul.speeds) == null ? void 0 : ml[o.speedIndex]) == null ? void 0 : yl.speed) == null ? void 0 : vl.sample) == null ? void 0 : Tl.hours, (m, Rt) => {
|
|
1213
|
-
var ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G, P,
|
|
1207
|
+
var ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G, P, L, H, tt, Dt;
|
|
1214
1208
|
return e(), n("tr", { key: Rt }, [
|
|
1215
1209
|
t("td", null, i(D.computeUTCTime(m.eta)), 1),
|
|
1216
1210
|
t("td", wD, [
|
|
@@ -1270,7 +1264,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1270
1264
|
t("td", null, i(D.roundPrecision((F = (V = m.meteo) == null ? void 0 : V.current) == null ? void 0 : F.kts, 1)), 1),
|
|
1271
1265
|
t("td", null, i(D.roundPrecision(m.cFactor, 1)), 1),
|
|
1272
1266
|
D.isArctic ? (e(), n("td", HD, i(D.roundPrecision((P = (G = m.meteo) == null ? void 0 : G.ice) == null ? void 0 : P.sit, 2)), 1)) : g("", !0),
|
|
1273
|
-
D.isArctic ? (e(), n("td", XD, i(((
|
|
1267
|
+
D.isArctic ? (e(), n("td", XD, i(((H = (L = m.meteo) == null ? void 0 : L.ice) == null ? void 0 : H.sic) >= 0 ? D.roundPrecision(((Dt = (tt = m.meteo) == null ? void 0 : tt.ice) == null ? void 0 : Dt.sic) * 100, 0) : "-"), 1)) : g("", !0)
|
|
1274
1268
|
]);
|
|
1275
1269
|
}), 128))
|
|
1276
1270
|
])
|
|
@@ -1288,7 +1282,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1288
1282
|
], 64))
|
|
1289
1283
|
]);
|
|
1290
1284
|
}
|
|
1291
|
-
const qD = /* @__PURE__ */ Ya(Zo, [["render", KD], ["__scopeId", "data-v-
|
|
1285
|
+
const qD = /* @__PURE__ */ Ya(Zo, [["render", KD], ["__scopeId", "data-v-9bdb650d"]]), ff = {
|
|
1292
1286
|
install(d) {
|
|
1293
1287
|
d.component("PlanReport", qD);
|
|
1294
1288
|
}
|
|
@@ -1325,20 +1319,20 @@ const $D = {
|
|
|
1325
1319
|
},
|
|
1326
1320
|
computePosition() {
|
|
1327
1321
|
return function(d) {
|
|
1328
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
1322
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
1329
1323
|
};
|
|
1330
1324
|
}
|
|
1331
1325
|
}
|
|
1332
1326
|
}, tN = { class: "cover-box" }, aN = { class: "cover-content" }, iN = { class: "cover-title" }, lN = { class: "cover-info" }, sN = { class: "info-item" }, dN = { class: "info-item" }, eN = { class: "info-item" }, nN = { style: { "font-weight": "600" } }, oN = { class: "info-item" }, MN = { style: { "font-weight": "600" } }, DN = { class: "info-item" }, NN = { class: "info-item" }, rN = { class: "info-item" }, IN = { class: "info-item" }, gN = { class: "info-item" }, cN = { class: "text" };
|
|
1333
1327
|
function AN(d, a, s, c, o, D) {
|
|
1334
|
-
var
|
|
1328
|
+
var v, r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B;
|
|
1335
1329
|
return e(), n("div", tN, [
|
|
1336
1330
|
t("div", aN, [
|
|
1337
1331
|
t("div", iN, i(s.name), 1),
|
|
1338
1332
|
t("div", lN, [
|
|
1339
1333
|
t("div", sN, [
|
|
1340
1334
|
a[0] || (a[0] = t("span", { class: "text-label" }, "Reference No : ", -1)),
|
|
1341
|
-
I(i((r = (
|
|
1335
|
+
I(i((r = (v = s.report) == null ? void 0 : v.voyage) == null ? void 0 : r.number), 1)
|
|
1342
1336
|
]),
|
|
1343
1337
|
t("div", dN, [
|
|
1344
1338
|
a[1] || (a[1] = t("span", { class: "text-label" }, "Report Date : ", -1)),
|
|
@@ -1371,7 +1365,7 @@ function AN(d, a, s, c, o, D) {
|
|
|
1371
1365
|
]),
|
|
1372
1366
|
t("div", gN, [
|
|
1373
1367
|
a[8] || (a[8] = t("span", { class: "text-label" }, "Load Condition : ", -1)),
|
|
1374
|
-
t("span", cN, i((B = (
|
|
1368
|
+
t("span", cN, i((B = (Z = s.report) == null ? void 0 : Z.voyage) == null ? void 0 : B.loadCondition), 1)
|
|
1375
1369
|
])
|
|
1376
1370
|
])
|
|
1377
1371
|
])
|
|
@@ -1432,12 +1426,12 @@ const mN = {
|
|
|
1432
1426
|
},
|
|
1433
1427
|
computeLng() {
|
|
1434
1428
|
return function(d) {
|
|
1435
|
-
return
|
|
1429
|
+
return dt.lng2pretty(d);
|
|
1436
1430
|
};
|
|
1437
1431
|
},
|
|
1438
1432
|
computeLat() {
|
|
1439
1433
|
return function(d) {
|
|
1440
|
-
return
|
|
1434
|
+
return dt.lat2pretty(d);
|
|
1441
1435
|
};
|
|
1442
1436
|
},
|
|
1443
1437
|
computeAbtSpeed() {
|
|
@@ -1467,7 +1461,7 @@ const mN = {
|
|
|
1467
1461
|
},
|
|
1468
1462
|
computePrecision() {
|
|
1469
1463
|
return function(d, a = 3) {
|
|
1470
|
-
return
|
|
1464
|
+
return dt.roundPrecision(d, a);
|
|
1471
1465
|
};
|
|
1472
1466
|
}
|
|
1473
1467
|
},
|
|
@@ -1485,7 +1479,7 @@ const mN = {
|
|
|
1485
1479
|
prepare() {
|
|
1486
1480
|
var d, a;
|
|
1487
1481
|
this.remarks = this.report.remarks || "Please double click to modify remark", this.exclusion = [], this.noons = [], (a = (d = this.report) == null ? void 0 : d.segments) == null || a.forEach((s, c) => {
|
|
1488
|
-
var
|
|
1482
|
+
var v, r;
|
|
1489
1483
|
s.multiFOCons && (this.multiFOCons.hsFoCons += s.multiFOCons.hsFoCons, this.multiFOCons.lsFoCons += s.multiFOCons.lsFoCons), s.excluded.detail.forEach((A) => {
|
|
1490
1484
|
const E = {
|
|
1491
1485
|
time: Et(A.begin).utc().format("MMM-DD/HHmm[Z]") + " - " + Et(A.end).utc().format("MMM-DD/HHmm[Z]"),
|
|
@@ -1496,7 +1490,7 @@ const mN = {
|
|
|
1496
1490
|
};
|
|
1497
1491
|
this.exclusion.push(E);
|
|
1498
1492
|
});
|
|
1499
|
-
const D = (r = (
|
|
1493
|
+
const D = (r = (v = s == null ? void 0 : s.inventory) == null ? void 0 : v.sample) == null ? void 0 : r.hours.filter((A) => A.noon);
|
|
1500
1494
|
this.noons.push([D]);
|
|
1501
1495
|
});
|
|
1502
1496
|
},
|
|
@@ -1719,7 +1713,7 @@ const mN = {
|
|
|
1719
1713
|
};
|
|
1720
1714
|
function gg(d, a, s, c, o, D) {
|
|
1721
1715
|
var r, A, E;
|
|
1722
|
-
const
|
|
1716
|
+
const v = X("Editor");
|
|
1723
1717
|
return e(), n("div", yN, [
|
|
1724
1718
|
t("div", vN, [
|
|
1725
1719
|
a[3] || (a[3] = t("div", { class: "header-block" }, [
|
|
@@ -1740,7 +1734,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1740
1734
|
])
|
|
1741
1735
|
], -1)),
|
|
1742
1736
|
(e(!0), n(u, null, O((r = s.report) == null ? void 0 : r.segments, (l, x) => {
|
|
1743
|
-
var Y, h, f, b, Q, z, p, C, k, T,
|
|
1737
|
+
var Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht;
|
|
1744
1738
|
return e(), n("div", {
|
|
1745
1739
|
key: "summary" + x,
|
|
1746
1740
|
class: "segment-box"
|
|
@@ -1802,14 +1796,14 @@ function gg(d, a, s, c, o, D) {
|
|
|
1802
1796
|
t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "fo", "Under")), 1)
|
|
1803
1797
|
]),
|
|
1804
1798
|
t("td", null, [
|
|
1805
|
-
t("span", null, i((
|
|
1799
|
+
t("span", null, i((Z = (T = l == null ? void 0 : l.extend) == null ? void 0 : T.cp) == null ? void 0 : Z.dgo) + " |", 1),
|
|
1806
1800
|
a[9] || (a[9] = t("span", { style: { "vertical-align": "super" } }, "+", -1)),
|
|
1807
1801
|
t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "dgo", "Over")) + ",", 1),
|
|
1808
1802
|
a[10] || (a[10] = t("span", { style: { "vertical-align": "super" } }, "-", -1)),
|
|
1809
1803
|
t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "dgo", "Under")), 1)
|
|
1810
1804
|
]),
|
|
1811
1805
|
t("td", null, [
|
|
1812
|
-
(w = (B = s.report) == null ? void 0 : B.voyage) != null && w.showCpRemark ? (e(), n("span", ON, i((
|
|
1806
|
+
(w = (B = s.report) == null ? void 0 : B.voyage) != null && w.showCpRemark ? (e(), n("span", ON, i((K = (W = l == null ? void 0 : l.extend) == null ? void 0 : W.cp) == null ? void 0 : K.alias), 1)) : g("", !0)
|
|
1813
1807
|
])
|
|
1814
1808
|
])
|
|
1815
1809
|
])
|
|
@@ -1823,7 +1817,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1823
1817
|
a[12] || (a[12] = t("span", { class: "unit" }, "hrs", -1))
|
|
1824
1818
|
]),
|
|
1825
1819
|
l.goodWx.distance ? (e(), n("div", QN, [
|
|
1826
|
-
((
|
|
1820
|
+
((q = l == null ? void 0 : l.timeConclusion) == null ? void 0 : q.conclusionStatus) === "Gain" ? (e(), n("span", kN, "Time Gained")) : (($ = l == null ? void 0 : l.timeConclusion) == null ? void 0 : $.conclusionStatus) === "Lost" ? (e(), n("span", SN, "Time Lost")) : (e(), n("span", wN, "No Time Lost/Gained"))
|
|
1827
1821
|
])) : (e(), n("div", RN, i(o.noGoodWxDay), 1)),
|
|
1828
1822
|
l.goodWx.distance ? (e(), n("div", VN, [
|
|
1829
1823
|
((at = l == null ? void 0 : l.timeConclusion) == null ? void 0 : at.conclusionStatus) === "Gain" ? (e(), n("div", FN, [
|
|
@@ -1844,7 +1838,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1844
1838
|
a[18] || (a[18] = t("span", { class: "unit" }, "mt", -1))
|
|
1845
1839
|
]),
|
|
1846
1840
|
l.goodWx.distance ? (e(), n("div", _N, [
|
|
1847
|
-
((_ = (
|
|
1841
|
+
((_ = (et = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : et.fo) == null ? void 0 : _.conclusionStatus) === "Saving" ? (e(), n("span", JN, "FO Saving")) : ((nt = (y = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : y.fo) == null ? void 0 : nt.conclusionStatus) === "Over" ? (e(), n("span", HN, "FO Over-consumption")) : (e(), n("span", XN, "No FO Over-consumption/Saving"))
|
|
1848
1842
|
])) : (e(), n("div", KN, i(o.noGoodWxDay), 1)),
|
|
1849
1843
|
l.goodWx.distance ? (e(), n("div", qN, [
|
|
1850
1844
|
((gt = (It = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : It.fo) == null ? void 0 : gt.conclusionStatus) === "Saving" ? (e(), n("div", $N, [
|
|
@@ -1865,7 +1859,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1865
1859
|
a[24] || (a[24] = t("span", { class: "unit" }, "mt", -1))
|
|
1866
1860
|
]),
|
|
1867
1861
|
l.goodWx.distance ? (e(), n("div", e1, [
|
|
1868
|
-
((
|
|
1862
|
+
((Mt = (ot = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : ot.dgo) == null ? void 0 : Mt.conclusionStatus) === "Saving" ? (e(), n("span", n1, "DO/GO Saving")) : ((ft = (J = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : J.dgo) == null ? void 0 : ft.conclusionStatus) === "Over" ? (e(), n("span", o1, "DO/GO Over-consumption")) : (e(), n("span", M1, "No DO/GO Over-consumption/Saving"))
|
|
1869
1863
|
])) : (e(), n("div", D1, i(o.noGoodWxDay), 1)),
|
|
1870
1864
|
l.goodWx.distance ? (e(), n("div", N1, [
|
|
1871
1865
|
((pt = (bt = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : bt.dgo) == null ? void 0 : pt.conclusionStatus) === "Saving" ? (e(), n("div", r1, [
|
|
@@ -1945,7 +1939,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1945
1939
|
t("div", {
|
|
1946
1940
|
class: S(D.computeBlankHtml((E = s.report) == null ? void 0 : E.remarks) ? "remark-block bg-blue-light-2 print-hidden" : "remark-block bg-blue-light-2 page-avoid")
|
|
1947
1941
|
}, [
|
|
1948
|
-
o.editable ? (e(), St(
|
|
1942
|
+
o.editable ? (e(), St(v, {
|
|
1949
1943
|
key: 0,
|
|
1950
1944
|
modelValue: o.remarks,
|
|
1951
1945
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => o.remarks = l),
|
|
@@ -1967,7 +1961,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1967
1961
|
])
|
|
1968
1962
|
], -1)),
|
|
1969
1963
|
(e(!0), n(u, null, O(s.report.segments, (l, x) => {
|
|
1970
|
-
var Y, h, f, b, Q, z, p, C, k, T,
|
|
1964
|
+
var Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt, rt, Kt, va, Ta, xa, za, ja, Ua, Ut, ba, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, sl, dl, el, nl, ol, Ml, Dl, Nl, rl, Il, gl, cl, Al, ul, ml, yl, vl, Tl, m, Rt, ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il, Ul, fl, El, bl, pl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Vl, Fl, Gl, Pl, Wl, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ts, as, is, ls, ss, ds, es, ns, os, Ms, Ds, Ns, rs, Is, gs, cs, As, us, ms, ys, vs, Ts, xs, zs, js, Us, fs, Es, bs, ps, Os, hs, Cs, Ys, Qs, ks, Ss, ws, Rs, Vs, Fs, Gs, Ps, Ws, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, qs, $s, td, ad, id, ld, sd, dd, ed, nd, od, Md, Dd, Nd, rd, Id, gd, cd, Ad, ud, md, yd, vd, Td, xd, zd, jd, Ud, fd, Ed, bd, pd, Od, hd, Cd, Yd, Qd, kd, Sd, wd, Rd, Vd, Fd, Gd, Pd, Wd, Zd, Ld, Bd, _d, Jd, Hd, Xd, Kd, qd, $d, te, ae, ie, le, se, de, ee, ne, oe, Me, De, Ne, re, Ie, ge, ce, Ae, ue, me, ye, ve, Te, xe, ze, je, Ue, fe, Ee, be, pe, Oe, he, Ce, Ye, Qe, ke;
|
|
1971
1965
|
return e(), n("div", {
|
|
1972
1966
|
key: x,
|
|
1973
1967
|
class: "segment-block"
|
|
@@ -2016,26 +2010,26 @@ function gg(d, a, s, c, o, D) {
|
|
|
2016
2010
|
t("span", { class: "text-units" }, "(nm)")
|
|
2017
2011
|
], -1)),
|
|
2018
2012
|
t("td", h1, i((k = (C = l == null ? void 0 : l.goodWx) == null ? void 0 : C.outEca) == null ? void 0 : k.distance), 1),
|
|
2019
|
-
t("td", C1, i((
|
|
2013
|
+
t("td", C1, i((Z = (T = l == null ? void 0 : l.goodWx) == null ? void 0 : T.inEca) == null ? void 0 : Z.distance), 1),
|
|
2020
2014
|
t("td", null, i((w = (B = l == null ? void 0 : l.allWx) == null ? void 0 : B.outEca) == null ? void 0 : w.distance), 1),
|
|
2021
|
-
t("td", null, i((
|
|
2015
|
+
t("td", null, i((K = (W = l == null ? void 0 : l.allWx) == null ? void 0 : W.inEca) == null ? void 0 : K.distance), 1)
|
|
2022
2016
|
]),
|
|
2023
2017
|
t("tr", null, [
|
|
2024
2018
|
a[38] || (a[38] = t("td", { class: "bg-blue-light-2" }, [
|
|
2025
2019
|
I("Total Time "),
|
|
2026
2020
|
t("span", { class: "text-units" }, "(hrs)")
|
|
2027
2021
|
], -1)),
|
|
2028
|
-
t("td", Y1, i((
|
|
2022
|
+
t("td", Y1, i(($ = (q = l == null ? void 0 : l.goodWx) == null ? void 0 : q.outEca) == null ? void 0 : $.time), 1),
|
|
2029
2023
|
t("td", Q1, i((it = (at = l == null ? void 0 : l.goodWx) == null ? void 0 : at.inEca) == null ? void 0 : it.time), 1),
|
|
2030
2024
|
t("td", null, i((st = (lt = l == null ? void 0 : l.allWx) == null ? void 0 : lt.outEca) == null ? void 0 : st.time), 1),
|
|
2031
|
-
t("td", null, i((_ = (
|
|
2025
|
+
t("td", null, i((_ = (et = l == null ? void 0 : l.allWx) == null ? void 0 : et.inEca) == null ? void 0 : _.time), 1)
|
|
2032
2026
|
]),
|
|
2033
2027
|
t("tr", null, [
|
|
2034
2028
|
a[39] || (a[39] = t("td", { class: "bg-blue-light-2" }, [
|
|
2035
2029
|
I("Average Speed "),
|
|
2036
2030
|
t("span", { class: "text-units" }, "(kts)")
|
|
2037
2031
|
], -1)),
|
|
2038
|
-
t("td", k1, i(((
|
|
2032
|
+
t("td", k1, i(((nt = (y = l == null ? void 0 : l.goodWx) == null ? void 0 : y.outEca) == null ? void 0 : nt.avgSpd) || "--"), 1),
|
|
2039
2033
|
t("td", S1, i(((gt = (It = l == null ? void 0 : l.goodWx) == null ? void 0 : It.inEca) == null ? void 0 : gt.avgSpd) || "--"), 1),
|
|
2040
2034
|
t("td", null, i(((At = (ct = l == null ? void 0 : l.allWx) == null ? void 0 : ct.outEca) == null ? void 0 : At.avgSpd) || "--"), 1),
|
|
2041
2035
|
t("td", null, i(((mt = (ut = l == null ? void 0 : l.allWx) == null ? void 0 : ut.inEca) == null ? void 0 : mt.avgSpd) || "--"), 1)
|
|
@@ -2046,8 +2040,8 @@ function gg(d, a, s, c, o, D) {
|
|
|
2046
2040
|
t("span", { class: "text-units" }, "(mt)")
|
|
2047
2041
|
], -1)),
|
|
2048
2042
|
t("td", w1, i(((U = (yt = l == null ? void 0 : l.goodWx) == null ? void 0 : yt.outEca) == null ? void 0 : U.sumFoCons) || "--"), 1),
|
|
2049
|
-
t("td", R1, i(((
|
|
2050
|
-
t("td", null, i(((ft = (
|
|
2043
|
+
t("td", R1, i(((Mt = (ot = l == null ? void 0 : l.goodWx) == null ? void 0 : ot.inEca) == null ? void 0 : Mt.sumFoCons) || "--"), 1),
|
|
2044
|
+
t("td", null, i(((ft = (J = l == null ? void 0 : l.allWx) == null ? void 0 : J.outEca) == null ? void 0 : ft.sumFoCons) || "--"), 1),
|
|
2051
2045
|
t("td", null, i(((pt = (bt = l == null ? void 0 : l.allWx) == null ? void 0 : bt.inEca) == null ? void 0 : pt.sumFoCons) || "--"), 1)
|
|
2052
2046
|
]),
|
|
2053
2047
|
t("tr", null, [
|
|
@@ -2332,12 +2326,12 @@ function gg(d, a, s, c, o, D) {
|
|
|
2332
2326
|
]),
|
|
2333
2327
|
t("div", Pr, [
|
|
2334
2328
|
t("div", Wr, [
|
|
2335
|
-
t("div", null, i((P = (G = s.report) == null ? void 0 : G.weather) != null && P.noExtrapolation ? (
|
|
2329
|
+
t("div", null, i((P = (G = s.report) == null ? void 0 : G.weather) != null && P.noExtrapolation ? (L = l == null ? void 0 : l.goodWx) == null ? void 0 : L.distance : (H = l == null ? void 0 : l.allWx) == null ? void 0 : H.distance), 1),
|
|
2336
2330
|
a[109] || (a[109] = t("div", { class: "line" }, null, -1)),
|
|
2337
|
-
t("div", null, i((
|
|
2331
|
+
t("div", null, i((tt = l == null ? void 0 : l.timeConclusion) == null ? void 0 : tt.minusAbtSpd), 1)
|
|
2338
2332
|
]),
|
|
2339
2333
|
a[110] || (a[110] = t("div", null, "=", -1)),
|
|
2340
|
-
t("div", null, i((
|
|
2334
|
+
t("div", null, i((Dt = l == null ? void 0 : l.timeConclusion) == null ? void 0 : Dt.timeAtMinusAbtSpd) + " (hrs)", 1),
|
|
2341
2335
|
a[111] || (a[111] = t("div", null, "(b')", -1))
|
|
2342
2336
|
])
|
|
2343
2337
|
]),
|
|
@@ -2873,17 +2867,17 @@ const Ag = {
|
|
|
2873
2867
|
},
|
|
2874
2868
|
computeLng() {
|
|
2875
2869
|
return function(d) {
|
|
2876
|
-
return
|
|
2870
|
+
return dt.lng2pretty(d);
|
|
2877
2871
|
};
|
|
2878
2872
|
},
|
|
2879
2873
|
computeLat() {
|
|
2880
2874
|
return function(d) {
|
|
2881
|
-
return
|
|
2875
|
+
return dt.lat2pretty(d);
|
|
2882
2876
|
};
|
|
2883
2877
|
},
|
|
2884
2878
|
computePrecision() {
|
|
2885
2879
|
return function(d, a = 2, s = "0.0") {
|
|
2886
|
-
return d ?
|
|
2880
|
+
return d ? dt.roundPrecision(d, a) : s;
|
|
2887
2881
|
};
|
|
2888
2882
|
}
|
|
2889
2883
|
},
|
|
@@ -2899,8 +2893,8 @@ const Ag = {
|
|
|
2899
2893
|
},
|
|
2900
2894
|
methods: {
|
|
2901
2895
|
prepare() {
|
|
2902
|
-
var d, a, s, c, o, D,
|
|
2903
|
-
this.showCF = ((a = (d = this.report) == null ? void 0 : d.weather) == null ? void 0 : a.showCF) ?? !1, this.showAisDistance = ((c = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : c.showAisDistance) ?? !0, this.showSig = ((D = (o = this.report) == null ? void 0 : o.weather) == null ? void 0 : D.showSig) ?? !0, this.showSwell = ((r = (
|
|
2896
|
+
var d, a, s, c, o, D, v, r, A, E, l, x;
|
|
2897
|
+
this.showCF = ((a = (d = this.report) == null ? void 0 : d.weather) == null ? void 0 : a.showCF) ?? !1, this.showAisDistance = ((c = (s = this.report) == null ? void 0 : s.weather) == null ? void 0 : c.showAisDistance) ?? !0, this.showSig = ((D = (o = this.report) == null ? void 0 : o.weather) == null ? void 0 : D.showSig) ?? !0, this.showSwell = ((r = (v = this.report) == null ? void 0 : v.weather) == null ? void 0 : r.showSwell) ?? !0, this.showWave = ((E = (A = this.report) == null ? void 0 : A.weather) == null ? void 0 : E.showWave) ?? !0, this.showWaterTemp = ((x = (l = this.report) == null ? void 0 : l.weather) == null ? void 0 : x.waterTempSwitch) || !1;
|
|
2904
2898
|
}
|
|
2905
2899
|
}
|
|
2906
2900
|
}, ug = { class: "report-inventory" }, mg = { class: "section summary-section" }, yg = { class: "summary-block" }, vg = { class: "orm-report-table inventory-table" }, Tg = {
|
|
@@ -2960,7 +2954,7 @@ const Ag = {
|
|
|
2960
2954
|
class: "label"
|
|
2961
2955
|
}, Vg = { class: "summary-tbody" };
|
|
2962
2956
|
function Fg(d, a, s, c, o, D) {
|
|
2963
|
-
var
|
|
2957
|
+
var v;
|
|
2964
2958
|
return e(), n("div", ug, [
|
|
2965
2959
|
t("div", mg, [
|
|
2966
2960
|
a[5] || (a[5] = t("div", { class: "header-block" }, [
|
|
@@ -3016,8 +3010,8 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3016
3010
|
])
|
|
3017
3011
|
], -1)),
|
|
3018
3012
|
t("tbody", null, [
|
|
3019
|
-
(e(!0), n(u, null, O((
|
|
3020
|
-
var E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
3013
|
+
(e(!0), n(u, null, O((v = s.report) == null ? void 0 : v.segments, (r, A) => {
|
|
3014
|
+
var E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $;
|
|
3021
3015
|
return e(), n(u, { key: A }, [
|
|
3022
3016
|
t("tr", null, [
|
|
3023
3017
|
t("td", Tg, i(A + 1), 1),
|
|
@@ -3041,16 +3035,16 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3041
3035
|
t("td", null, i(D.computePrecision((C = r == null ? void 0 : r.badWx) == null ? void 0 : C.distance, 2, "0.0")), 1),
|
|
3042
3036
|
t("td", null, i(D.computePrecision((k = r == null ? void 0 : r.badWx) == null ? void 0 : k.time, 2, "0.0")), 1),
|
|
3043
3037
|
t("td", null, i(D.computePrecision((T = r == null ? void 0 : r.badWx) == null ? void 0 : T.avgSpd, 2, "0.0")), 1),
|
|
3044
|
-
t("td", null, i(D.computePrecision((
|
|
3038
|
+
t("td", null, i(D.computePrecision((Z = r == null ? void 0 : r.badWx) == null ? void 0 : Z.sumFoCons, 3, "0.000")), 1),
|
|
3045
3039
|
t("td", null, i(D.computePrecision((B = r == null ? void 0 : r.badWx) == null ? void 0 : B.sumDgoCons, 3, "0.000")), 1)
|
|
3046
3040
|
]),
|
|
3047
3041
|
t("tr", null, [
|
|
3048
3042
|
a[3] || (a[3] = t("td", { class: "label" }, "Excluded Period", -1)),
|
|
3049
3043
|
t("td", null, i(D.computePrecision((w = r == null ? void 0 : r.excluded) == null ? void 0 : w.sumDistance, 2, "0.0")), 1),
|
|
3050
|
-
t("td", null, i(D.computePrecision((
|
|
3051
|
-
t("td", null, i(D.computePrecision((
|
|
3052
|
-
t("td", null, i(D.computePrecision((
|
|
3053
|
-
t("td", null, i(D.computePrecision((
|
|
3044
|
+
t("td", null, i(D.computePrecision((W = r == null ? void 0 : r.excluded) == null ? void 0 : W.sumDuration, 2, "0.0")), 1),
|
|
3045
|
+
t("td", null, i(D.computePrecision((K = r == null ? void 0 : r.excluded) == null ? void 0 : K.avgSpd, 2, "0.0")), 1),
|
|
3046
|
+
t("td", null, i(D.computePrecision((q = r == null ? void 0 : r.excluded) == null ? void 0 : q.sumFoCons, 3, "0.000")), 1),
|
|
3047
|
+
t("td", null, i(D.computePrecision(($ = r == null ? void 0 : r.excluded) == null ? void 0 : $.sumDgoCons, 3, "0.000")), 1)
|
|
3054
3048
|
])
|
|
3055
3049
|
], 64);
|
|
3056
3050
|
}), 128))
|
|
@@ -3243,7 +3237,7 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3243
3237
|
]),
|
|
3244
3238
|
t("tbody", Vg, [
|
|
3245
3239
|
(e(!0), n(u, null, O(s.inventory, (r, A) => {
|
|
3246
|
-
var E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
3240
|
+
var E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st;
|
|
3247
3241
|
return e(), n("tr", { key: A }, [
|
|
3248
3242
|
t("td", {
|
|
3249
3243
|
class: S(r.segLength ? "no-border-bottom" : "no-border")
|
|
@@ -3298,15 +3292,15 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3298
3292
|
o.showSwell ? (e(), n("td", {
|
|
3299
3293
|
key: 6,
|
|
3300
3294
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
3301
|
-
}, i(r.type === "BOSP" ? "-" : ((B = (
|
|
3295
|
+
}, i(r.type === "BOSP" ? "-" : ((B = (Z = (T = r.meteo) == null ? void 0 : T.wave) == null ? void 0 : Z.swell) == null ? void 0 : B.height) ?? "-"), 3)) : g("", !0),
|
|
3302
3296
|
o.showSig ? (e(), n("td", {
|
|
3303
3297
|
key: 7,
|
|
3304
3298
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
3305
|
-
}, i(r.type === "BOSP" ? "-" : ((
|
|
3299
|
+
}, i(r.type === "BOSP" ? "-" : ((K = (W = (w = r.meteo) == null ? void 0 : w.wave) == null ? void 0 : W.sig) == null ? void 0 : K.height) ?? "-"), 3)) : g("", !0),
|
|
3306
3300
|
o.showCF ? (e(), n("td", {
|
|
3307
3301
|
key: 8,
|
|
3308
3302
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
3309
|
-
}, i(r.type === "BOSP" ? "-" : ((
|
|
3303
|
+
}, i(r.type === "BOSP" ? "-" : (($ = (q = r.meteo) == null ? void 0 : q.current) == null ? void 0 : $.direction) ?? "-"), 3)) : g("", !0),
|
|
3310
3304
|
o.showCF ? (e(), n("td", {
|
|
3311
3305
|
key: 9,
|
|
3312
3306
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
@@ -3401,7 +3395,7 @@ const Pg = {
|
|
|
3401
3395
|
},
|
|
3402
3396
|
computePosition() {
|
|
3403
3397
|
return function(d) {
|
|
3404
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
3398
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
3405
3399
|
};
|
|
3406
3400
|
}
|
|
3407
3401
|
},
|
|
@@ -3435,7 +3429,7 @@ const Pg = {
|
|
|
3435
3429
|
excluded: 9
|
|
3436
3430
|
};
|
|
3437
3431
|
let o = 0, D = 0;
|
|
3438
|
-
const
|
|
3432
|
+
const v = this.inventory.filter((z) => z.noon) || [], r = [];
|
|
3439
3433
|
this.inventory.forEach((z, p) => {
|
|
3440
3434
|
var C, k;
|
|
3441
3435
|
p === 0 && r.push(z.utc), z.type === "EOSP" && ((C = this.inventory[p + 1]) == null ? void 0 : C.type) === "BOSP" && (r.push(z.utc), r.push((k = this.inventory[p + 1]) == null ? void 0 : k.utc)), p === this.inventory.length - 1 && r.push(z.utc);
|
|
@@ -3445,12 +3439,12 @@ const Pg = {
|
|
|
3445
3439
|
for (let k = 0; k <= C + 1; k++)
|
|
3446
3440
|
a.push(this.computeUTCTime(Et(r[p]).clone().utc().add(k, "m").format(), "MM-DD/HHmm[Z]"));
|
|
3447
3441
|
}
|
|
3448
|
-
}),
|
|
3449
|
-
var k, T,
|
|
3442
|
+
}), v.forEach((z, p) => {
|
|
3443
|
+
var k, T, Z, B, w, W, K, q, $, at, it, lt, st, et;
|
|
3450
3444
|
const C = this.computeUTCTime(z.utc, "MM-DD/HHmm[Z]");
|
|
3451
|
-
if (z.noon && !d.some((_) => _.slice(0, 5) === z.utc.slice(5, 10)) && d.push(C), p ===
|
|
3445
|
+
if (z.noon && !d.some((_) => _.slice(0, 5) === z.utc.slice(5, 10)) && d.push(C), p === v.length - 1 && (d = d.filter((_) => _.slice(0, 5) !== z.utc.slice(5, 10)), d.push(C)), o = Math.ceil(((k = z.noon) == null ? void 0 : k.foCons) > o ? (T = z.noon) == null ? void 0 : T.foCons : o), o = Math.ceil(((Z = z.cp) == null ? void 0 : Z.fo) > o ? (B = z.cp) == null ? void 0 : B.fo : o), D = Math.ceil(((w = z.noon) == null ? void 0 : w.dgoCons) > D ? (W = z.noon) == null ? void 0 : W.dgoCons : D), D = Math.ceil(((K = z.cp) == null ? void 0 : K.dgo) > D ? (q = z.cp) == null ? void 0 : q.dgo : D), s.push([
|
|
3452
3446
|
C,
|
|
3453
|
-
(
|
|
3447
|
+
($ = z.noon) == null ? void 0 : $.avgSpd,
|
|
3454
3448
|
(at = z.noon) == null ? void 0 : at.foCons,
|
|
3455
3449
|
(it = z.noon) == null ? void 0 : it.dgoCons,
|
|
3456
3450
|
z.avgSpdCalc,
|
|
@@ -3459,13 +3453,13 @@ const Pg = {
|
|
|
3459
3453
|
z.cp.dgo,
|
|
3460
3454
|
z.cp.fo,
|
|
3461
3455
|
z.excluded ? 100 : 0
|
|
3462
|
-
]), p <
|
|
3463
|
-
const _ =
|
|
3456
|
+
]), p < v.length - 1) {
|
|
3457
|
+
const _ = v[p + 1];
|
|
3464
3458
|
s.push([
|
|
3465
3459
|
C,
|
|
3466
3460
|
(lt = _.noon) == null ? void 0 : lt.avgSpd,
|
|
3467
3461
|
(st = _.noon) == null ? void 0 : st.foCons,
|
|
3468
|
-
(
|
|
3462
|
+
(et = _.noon) == null ? void 0 : et.dgoCons,
|
|
3469
3463
|
_.avgSpdCalc,
|
|
3470
3464
|
_.cp.speed,
|
|
3471
3465
|
_.goodWx && !_.excluded ? 100 : 0,
|
|
@@ -3925,41 +3919,41 @@ const Pg = {
|
|
|
3925
3919
|
excluded: 8
|
|
3926
3920
|
};
|
|
3927
3921
|
let o = 4;
|
|
3928
|
-
const D = this.inventory || [],
|
|
3922
|
+
const D = this.inventory || [], v = [];
|
|
3929
3923
|
D.forEach((f, b) => {
|
|
3930
3924
|
var Q, z;
|
|
3931
|
-
b === 0 &&
|
|
3932
|
-
}),
|
|
3925
|
+
b === 0 && v.push(f.utc), f.type === "EOSP" && ((Q = D[b + 1]) == null ? void 0 : Q.type) === "BOSP" && (v.push(f.utc), v.push((z = D[b + 1]) == null ? void 0 : z.utc)), b === D.length - 1 && v.push(f.utc);
|
|
3926
|
+
}), v.forEach((f, b) => {
|
|
3933
3927
|
if (b % 2 === 0) {
|
|
3934
|
-
const Q = Et(
|
|
3928
|
+
const Q = Et(v[b + 1]).diff(Et(v[b]), "minute", !0);
|
|
3935
3929
|
for (let z = 0; z <= Q + 1; z++)
|
|
3936
|
-
a.push(this.computeUTCTime(Et(
|
|
3930
|
+
a.push(this.computeUTCTime(Et(v[b]).clone().utc().add(z, "m").format(), "MM-DD/HHmm[Z]"));
|
|
3937
3931
|
}
|
|
3938
3932
|
}), D.forEach((f, b) => {
|
|
3939
|
-
var z, p, C, k, T,
|
|
3933
|
+
var z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt;
|
|
3940
3934
|
const Q = this.computeUTCTime(f.utc, "MM-DD/HHmm[Z]");
|
|
3941
|
-
if (f.noon && !d.some((
|
|
3935
|
+
if (f.noon && !d.some((J) => J.slice(0, 5) === f.utc.slice(5, 10)) && d.push(Q), b === D.length - 1 && (d = d.filter((J) => J.slice(0, 5) !== f.utc.slice(5, 10)), d.push(Q)), o = Math.ceil(((C = (p = (z = f.meteo) == null ? void 0 : z.wave) == null ? void 0 : p.sig) == null ? void 0 : C.height) > o ? (Z = (T = (k = f.meteo) == null ? void 0 : k.wave) == null ? void 0 : T.sig) == null ? void 0 : Z.height : o), s.push([
|
|
3942
3936
|
Q,
|
|
3943
|
-
((B = f.noon) == null ? void 0 : B.windBF) || ((
|
|
3944
|
-
(
|
|
3945
|
-
(at = (
|
|
3937
|
+
((B = f.noon) == null ? void 0 : B.windBF) || ((W = (w = f.meteo) == null ? void 0 : w.wind) == null ? void 0 : W.scale),
|
|
3938
|
+
(q = (K = f.meteo) == null ? void 0 : K.wind) == null ? void 0 : q.scale,
|
|
3939
|
+
(at = ($ = f.meteo) == null ? void 0 : $.wind) == null ? void 0 : at.direction,
|
|
3946
3940
|
(it = f.noon) == null ? void 0 : it.seasHt,
|
|
3947
|
-
(
|
|
3941
|
+
(et = (st = (lt = f.meteo) == null ? void 0 : lt.wave) == null ? void 0 : st.sig) == null ? void 0 : et.height,
|
|
3948
3942
|
f.dailyAvgCf ?? ((_ = s[s.length - 1]) == null ? void 0 : _[c.anlyCurFct]),
|
|
3949
3943
|
f.goodWx && !f.excluded ? 20 : 0,
|
|
3950
3944
|
f.excluded ? 20 : 0
|
|
3951
3945
|
]), b < D.length - 1) {
|
|
3952
|
-
const
|
|
3946
|
+
const J = D[b + 1];
|
|
3953
3947
|
s.push([
|
|
3954
3948
|
Q,
|
|
3955
|
-
((
|
|
3956
|
-
(ct = (gt =
|
|
3957
|
-
(ut = (At =
|
|
3958
|
-
(mt =
|
|
3959
|
-
(
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3949
|
+
((y = f.noon) == null ? void 0 : y.windBF) || ((It = (nt = f.meteo) == null ? void 0 : nt.wind) == null ? void 0 : It.scale),
|
|
3950
|
+
(ct = (gt = J.meteo) == null ? void 0 : gt.wind) == null ? void 0 : ct.scale,
|
|
3951
|
+
(ut = (At = J.meteo) == null ? void 0 : At.wind) == null ? void 0 : ut.direction,
|
|
3952
|
+
(mt = J.noon) == null ? void 0 : mt.seasHt,
|
|
3953
|
+
(ot = (U = (yt = f.meteo) == null ? void 0 : yt.wave) == null ? void 0 : U.sig) == null ? void 0 : ot.height,
|
|
3954
|
+
J.dailyAvgCf ?? ((Mt = s[s.length - 1]) == null ? void 0 : Mt[c.anlyCurFct]),
|
|
3955
|
+
J.goodWx && !J.excluded ? 20 : 0,
|
|
3956
|
+
J.excluded ? 20 : 0
|
|
3963
3957
|
]);
|
|
3964
3958
|
}
|
|
3965
3959
|
});
|
|
@@ -4281,7 +4275,7 @@ const Pg = {
|
|
|
4281
4275
|
style: { flex: "1", "text-transform": "uppercase" }
|
|
4282
4276
|
}, gc = ["src"];
|
|
4283
4277
|
function cc(d, a, s, c, o, D) {
|
|
4284
|
-
var
|
|
4278
|
+
var v, r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W;
|
|
4285
4279
|
return e(), n("div", Wg, [
|
|
4286
4280
|
t("div", Zg, [
|
|
4287
4281
|
a[0] || (a[0] = t("div", { class: "header-block" }, [
|
|
@@ -4312,7 +4306,7 @@ function cc(d, a, s, c, o, D) {
|
|
|
4312
4306
|
]),
|
|
4313
4307
|
t("div", ac, [
|
|
4314
4308
|
a[2] || (a[2] = t("label", { class: "text-label flex-end" }, "Vessel", -1)),
|
|
4315
|
-
t("span", ic, i((r = (
|
|
4309
|
+
t("span", ic, i((r = (v = s.report) == null ? void 0 : v.vessel) == null ? void 0 : r.name), 1),
|
|
4316
4310
|
t("span", lc, "(" + i((E = (A = s.report) == null ? void 0 : A.vessel) == null ? void 0 : E.type) + ")", 1)
|
|
4317
4311
|
]),
|
|
4318
4312
|
t("div", sc, [
|
|
@@ -4327,7 +4321,7 @@ function cc(d, a, s, c, o, D) {
|
|
|
4327
4321
|
t("div", Mc, [
|
|
4328
4322
|
a[5] || (a[5] = t("label", { class: "text-label flex-end" }, "Arrival Port", -1)),
|
|
4329
4323
|
t("span", Dc, i(((p = (z = s.report) == null ? void 0 : z.arrival) == null ? void 0 : p.portName) || ((k = (C = s.report) == null ? void 0 : C.arrival) == null ? void 0 : k.name)), 1),
|
|
4330
|
-
t("span", Nc, i(D.computeUTCTime((
|
|
4324
|
+
t("span", Nc, i(D.computeUTCTime((Z = (T = s.report) == null ? void 0 : T.arrival) == null ? void 0 : Z.utcTime, "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
4331
4325
|
]),
|
|
4332
4326
|
t("div", rc, [
|
|
4333
4327
|
a[6] || (a[6] = t("label", { class: "text-label flex-end" }, "Load Condition", -1)),
|
|
@@ -4337,7 +4331,7 @@ function cc(d, a, s, c, o, D) {
|
|
|
4337
4331
|
a[7] || (a[7] = _t('<div class="legend-block" data-v-34b7edf0><div data-v-34b7edf0>LEGEND</div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div data-v-34b7edf0>08/12</div><div data-v-34b7edf0><div data-v-34b7edf0>08 - Day of the month</div><div data-v-34b7edf0>12 - Hours of the day</div></div></div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div data-v-34b7edf0><i class="iconfont" style="font-size:30px;font-weight:600;color:var(--orm-black-6);" data-v-34b7edf0></i></div><div data-v-34b7edf0><div data-v-34b7edf0>Wind from N (000)</div><div data-v-34b7edf0>Each bard = 10 kts</div><div data-v-34b7edf0>1/2 bard = 5 kts</div></div></div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div data-v-34b7edf0>W 4</div><div data-v-34b7edf0>Sig. Wave from West, 4 meters</div></div><div class="legend-item flex-space bg-blue-light" data-v-34b7edf0><div class="good-wx" data-v-34b7edf0>Date</div><div data-v-34b7edf0>Good weather days</div></div></div>', 1))
|
|
4338
4332
|
]),
|
|
4339
4333
|
t("img", {
|
|
4340
|
-
src: (
|
|
4334
|
+
src: (W = s.report) == null ? void 0 : W.chartUrl,
|
|
4341
4335
|
alt: ""
|
|
4342
4336
|
}, null, 8, gc)
|
|
4343
4337
|
])
|
|
@@ -4395,8 +4389,8 @@ const uc = {
|
|
|
4395
4389
|
const Y = `<p>${x}</p>`;
|
|
4396
4390
|
c = c + Y;
|
|
4397
4391
|
}), c = c + "</div>") : c = a.body;
|
|
4398
|
-
const o = document.getElementById("col1"), D = document.getElementById("col2"),
|
|
4399
|
-
if (
|
|
4392
|
+
const o = document.getElementById("col1"), D = document.getElementById("col2"), v = (o == null ? void 0 : o.offsetHeight) || 0, r = (D == null ? void 0 : D.offsetHeight) || 0;
|
|
4393
|
+
if (v <= r) {
|
|
4400
4394
|
let x = `<div class="${a.to.includes("op@ormwx.com") || a.source === "VRT" ? "vrpt-mail-item vrpt-item-left vrpt-inbox" : "vrpt-mail-item vrpt-item-left vrpt-outbox"}">
|
|
4401
4395
|
<div class="vrpt-date">Date: ${a.date}</div>
|
|
4402
4396
|
<div class="vrpt-from">From: ${a.from}</div>
|
|
@@ -4478,11 +4472,11 @@ const Tc = {
|
|
|
4478
4472
|
const d = [];
|
|
4479
4473
|
(s = (a = this.report) == null ? void 0 : a.segments) == null || s.forEach((c) => {
|
|
4480
4474
|
const o = c.extend.cp;
|
|
4481
|
-
let D,
|
|
4475
|
+
let D, v, r = !1;
|
|
4482
4476
|
c.inventory.sample.hours.forEach((A, E) => {
|
|
4483
|
-
D || (D = A), (!
|
|
4477
|
+
D || (D = A), (!v || r) && (v = A, r = !1), D.segIndex === A.segIndex ? D.segLength = (D.segLength || 0) + 1 : (D = A, D.segLength = 1), v.noonLength = (v.noonLength || 0) + 1;
|
|
4484
4478
|
let l = A.type.charAt(0);
|
|
4485
|
-
["N", "M", "E"].includes(l) && (r = !0,
|
|
4479
|
+
["N", "M", "E"].includes(l) && (r = !0, v.dailyAvgCf = A.dailyAvgCf, v.avgSpdCalc = A.avgSpdCalc, v.distanceCalc = A.distanceCalc, v.noon && (v.noon.foCons = A.noon.foCons, v.noon.dgoCons = A.noon.dgoCons)), A.abbrev = l, l = l === "M" ? "*" : l === "A" ? "" : l, A.time = `${l} ${this.computeUTCTime(A.utc, "MMM-DD/HHmm[Z]")}`, A._lng = dt.lng2pretty(A.lng), A._lat = dt.lat2pretty(A.lat), A.cp = o, A.goodWx = A.type === "BOSP" ? !1 : A.goodWx, d.push(A);
|
|
4486
4480
|
});
|
|
4487
4481
|
}), d.sort((c, o) => c.positionTime - o.positionTime), this.inventory = d;
|
|
4488
4482
|
}
|
|
@@ -4496,11 +4490,11 @@ const Tc = {
|
|
|
4496
4490
|
};
|
|
4497
4491
|
function Uc(d, a, s, c, o, D) {
|
|
4498
4492
|
var h, f, b;
|
|
4499
|
-
const
|
|
4493
|
+
const v = X("Cover"), r = X("IdmLoading"), A = X("VoySummary"), E = X("Inventory"), l = X("Chart"), x = X("Email"), Y = X("IdmSign");
|
|
4500
4494
|
return e(), n("div", {
|
|
4501
4495
|
class: S((f = (h = s.report) == null ? void 0 : h.weather) != null && f.referenceOnly ? "orm-voyage-report watermark" : "orm-voyage-report")
|
|
4502
4496
|
}, [
|
|
4503
|
-
Nt(
|
|
4497
|
+
Nt(v, {
|
|
4504
4498
|
report: s.report,
|
|
4505
4499
|
name: "Voyage Analysis Report"
|
|
4506
4500
|
}, null, 8, ["report"]),
|
|
@@ -4596,8 +4590,8 @@ const Ec = {
|
|
|
4596
4590
|
watch: {
|
|
4597
4591
|
report: {
|
|
4598
4592
|
handler() {
|
|
4599
|
-
var d, a, s, c, o, D,
|
|
4600
|
-
this.reservations4Route = (a = (d = this.report) == null ? void 0 : d.reservations) == null ? void 0 : a.filter((l) => l.type === "VOYAGE"), this.reservations4Point = (c = (s = this.report) == null ? void 0 : s.reservations) == null ? void 0 : c.filter((l) => l.type === "FORECAST"), this.reservations4Annual = (D = (o = this.report) == null ? void 0 : o.reservations) == null ? void 0 : D.filter((l) => l.type === "ANNUAL"), this.account = (
|
|
4593
|
+
var d, a, s, c, o, D, v, r, A, E;
|
|
4594
|
+
this.reservations4Route = (a = (d = this.report) == null ? void 0 : d.reservations) == null ? void 0 : a.filter((l) => l.type === "VOYAGE"), this.reservations4Point = (c = (s = this.report) == null ? void 0 : s.reservations) == null ? void 0 : c.filter((l) => l.type === "FORECAST"), this.reservations4Annual = (D = (o = this.report) == null ? void 0 : o.reservations) == null ? void 0 : D.filter((l) => l.type === "ANNUAL"), this.account = (v = this.report) == null ? void 0 : v.account, this.totalInUS = (A = (r = this.report) == null ? void 0 : r.reservations) == null ? void 0 : A.reduce((l, x) => Math.round((l + x.amount) * 100) / 100, 0), (E = this.reservations4Route) != null && E.length ? this.maxColspans = this.report.showPort ? 9 : 7 : this.maxColspans = 3;
|
|
4601
4595
|
},
|
|
4602
4596
|
immediate: !0
|
|
4603
4597
|
}
|
|
@@ -4614,10 +4608,10 @@ const Ec = {
|
|
|
4614
4608
|
style: { "margin-top": "20px", padding: "8px" }
|
|
4615
4609
|
}, eA = ["innerHTML"], nA = { style: { "page-break-inside": "avoid !important" } }, oA = { class: "section company-section" }, MA = { class: "company-content" }, DA = { class: "company-item" }, NA = { class: "company-item" }, rA = { class: "company-item" }, IA = { class: "company-item" }, gA = { class: "company-item" }, cA = { class: "company-item" }, AA = { class: "company-item" }, uA = { class: "company-item" }, mA = { class: "company-item" }, yA = { class: "company-item" }, vA = { class: "company-item" }, TA = { class: "company-item" }, xA = { class: "company-item" }, zA = { class: "company-item" }, jA = { class: "section sign-section" }, UA = { class: "flex-space" }, fA = { class: "sign-block" };
|
|
4616
4610
|
function EA(d, a, s, c, o, D) {
|
|
4617
|
-
var r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
4618
|
-
const
|
|
4611
|
+
var r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt;
|
|
4612
|
+
const v = X("IdmBrand");
|
|
4619
4613
|
return e(), n("div", bc, [
|
|
4620
|
-
Nt(
|
|
4614
|
+
Nt(v, {
|
|
4621
4615
|
name: "INVOICE",
|
|
4622
4616
|
issued: s.report.createdAt
|
|
4623
4617
|
}, null, 8, ["issued"]),
|
|
@@ -4761,7 +4755,7 @@ function EA(d, a, s, c, o, D) {
|
|
|
4761
4755
|
}, "MEMO", -1)),
|
|
4762
4756
|
t("div", {
|
|
4763
4757
|
class: "invoice-item",
|
|
4764
|
-
innerHTML: (
|
|
4758
|
+
innerHTML: (Z = (T = s.report) == null ? void 0 : T.memo) == null ? void 0 : Z.replace(`
|
|
4765
4759
|
`, "<br/>")
|
|
4766
4760
|
}, null, 8, eA)
|
|
4767
4761
|
])) : g("", !0)
|
|
@@ -4776,19 +4770,19 @@ function EA(d, a, s, c, o, D) {
|
|
|
4776
4770
|
((B = s.report) == null ? void 0 : B.paymentType) === "CNY" ? (e(), n(u, { key: 0 }, [
|
|
4777
4771
|
t("div", DA, [
|
|
4778
4772
|
a[22] || (a[22] = t("label", null, "Bank", -1)),
|
|
4779
|
-
t("span", null, i((
|
|
4773
|
+
t("span", null, i((q = (K = o.account) == null ? void 0 : K[(W = (w = s.report) == null ? void 0 : w.paymentType) == null ? void 0 : W.toLowerCase()]) == null ? void 0 : q.bank), 1)
|
|
4780
4774
|
]),
|
|
4781
4775
|
t("div", NA, [
|
|
4782
4776
|
a[23] || (a[23] = t("label", null, "Account", -1)),
|
|
4783
|
-
t("span", null, i((lt = (it = o.account) == null ? void 0 : it[(at = (
|
|
4777
|
+
t("span", null, i((lt = (it = o.account) == null ? void 0 : it[(at = ($ = s.report) == null ? void 0 : $.paymentType) == null ? void 0 : at.toLowerCase()]) == null ? void 0 : lt.number), 1)
|
|
4784
4778
|
]),
|
|
4785
4779
|
t("div", rA, [
|
|
4786
4780
|
a[24] || (a[24] = t("label", null, "Title", -1)),
|
|
4787
|
-
t("span", null, i((
|
|
4781
|
+
t("span", null, i((y = (_ = o.account) == null ? void 0 : _[(et = (st = s.report) == null ? void 0 : st.paymentType) == null ? void 0 : et.toLowerCase()]) == null ? void 0 : y.title), 1)
|
|
4788
4782
|
]),
|
|
4789
4783
|
t("div", IA, [
|
|
4790
4784
|
a[25] || (a[25] = t("label", null, "Addr", -1)),
|
|
4791
|
-
t("span", null, i((ct = (gt = o.account) == null ? void 0 : gt[(It = (
|
|
4785
|
+
t("span", null, i((ct = (gt = o.account) == null ? void 0 : gt[(It = (nt = s.report) == null ? void 0 : nt.paymentType) == null ? void 0 : It.toLowerCase()]) == null ? void 0 : ct.address), 1)
|
|
4792
4786
|
]),
|
|
4793
4787
|
t("div", gA, [
|
|
4794
4788
|
a[26] || (a[26] = t("label", null, "Tel", -1)),
|
|
@@ -4796,7 +4790,7 @@ function EA(d, a, s, c, o, D) {
|
|
|
4796
4790
|
]),
|
|
4797
4791
|
t("div", cA, [
|
|
4798
4792
|
a[27] || (a[27] = t("label", null, "Tax ID", -1)),
|
|
4799
|
-
t("span", null, i((
|
|
4793
|
+
t("span", null, i((J = (Mt = o.account) == null ? void 0 : Mt[(ot = (U = s.report) == null ? void 0 : U.paymentType) == null ? void 0 : ot.toLowerCase()]) == null ? void 0 : J.taxId), 1)
|
|
4800
4794
|
])
|
|
4801
4795
|
], 64)) : (e(), n(u, { key: 1 }, [
|
|
4802
4796
|
t("div", AA, [
|
|
@@ -4978,7 +4972,7 @@ const CA = {
|
|
|
4978
4972
|
class: "buttons"
|
|
4979
4973
|
};
|
|
4980
4974
|
function SA(d, a, s, c, o, D) {
|
|
4981
|
-
const
|
|
4975
|
+
const v = X("ElTag"), r = X("ElInput"), A = X("IdmEditor"), E = X("ElInputNumber"), l = X("ElDatePicker"), x = X("ElOption"), Y = X("ElSelect"), h = X("ElRadio"), f = X("ElRadioGroup"), b = X("ElCheckbox"), Q = X("ElCheckboxGroup"), z = X("Edit"), p = X("ElIcon"), C = X("ElButton"), k = X("Close");
|
|
4982
4976
|
return e(), n("div", YA, [
|
|
4983
4977
|
t("div", {
|
|
4984
4978
|
class: "group",
|
|
@@ -5153,7 +5147,7 @@ function SA(d, a, s, c, o, D) {
|
|
|
5153
5147
|
}, 8, ["modelValue", "size", "onChange"])) : g("", !0)
|
|
5154
5148
|
], 64)) : (e(), n(u, { key: 1 }, [
|
|
5155
5149
|
typeof s.raw == "boolean" ? (e(), n(u, { key: 0 }, [
|
|
5156
|
-
s.raw ? (e(), St(
|
|
5150
|
+
s.raw ? (e(), St(v, {
|
|
5157
5151
|
key: 0,
|
|
5158
5152
|
size: "small",
|
|
5159
5153
|
type: "success",
|
|
@@ -5164,7 +5158,7 @@ function SA(d, a, s, c, o, D) {
|
|
|
5164
5158
|
I(i(s.value), 1)
|
|
5165
5159
|
]),
|
|
5166
5160
|
_: 1
|
|
5167
|
-
}, 8, ["onDblclick"])) : (e(), St(
|
|
5161
|
+
}, 8, ["onDblclick"])) : (e(), St(v, {
|
|
5168
5162
|
key: 1,
|
|
5169
5163
|
size: "small",
|
|
5170
5164
|
type: "info",
|
|
@@ -5274,7 +5268,7 @@ const RA = {
|
|
|
5274
5268
|
computed: {
|
|
5275
5269
|
computeExcludedDist() {
|
|
5276
5270
|
return function(d) {
|
|
5277
|
-
const a = Math.round(((d == null ? void 0 : d.actualDist) - (d == null ? void 0 : d.sailingDistance) - (d == null ? void 0 : d.extraDist)) *
|
|
5271
|
+
const a = Math.round(((d == null ? void 0 : d.actualDist) - (d == null ? void 0 : d.sailingDistance) - (d == null ? void 0 : d.extraDist)) * 100) / 100;
|
|
5278
5272
|
return a < 0 ? "-" : a;
|
|
5279
5273
|
};
|
|
5280
5274
|
},
|
|
@@ -5286,12 +5280,12 @@ const RA = {
|
|
|
5286
5280
|
// 经纬度转换
|
|
5287
5281
|
computedLngLat() {
|
|
5288
5282
|
return function(d, a) {
|
|
5289
|
-
return `${
|
|
5283
|
+
return `${dt.lat2pretty(d).pretty} / ${dt.lng2pretty(a).pretty}`;
|
|
5290
5284
|
};
|
|
5291
5285
|
},
|
|
5292
5286
|
computePosition() {
|
|
5293
5287
|
return function(d) {
|
|
5294
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
5288
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
5295
5289
|
};
|
|
5296
5290
|
},
|
|
5297
5291
|
computeBlankHtml() {
|
|
@@ -5360,7 +5354,7 @@ const RA = {
|
|
|
5360
5354
|
this.$emit("refresh", (s = a == null ? void 0 : a.data) == null ? void 0 : s.data), this.extraPortList = (o = (c = a == null ? void 0 : a.data) == null ? void 0 : c.data) == null ? void 0 : o.extraPorts;
|
|
5361
5355
|
},
|
|
5362
5356
|
async handleCommit(d, a, s, c) {
|
|
5363
|
-
var
|
|
5357
|
+
var v;
|
|
5364
5358
|
this.editable = !1;
|
|
5365
5359
|
const o = a == null ? void 0 : a.indexOf(".");
|
|
5366
5360
|
let D = {};
|
|
@@ -5385,7 +5379,7 @@ const RA = {
|
|
|
5385
5379
|
Authorization: this.token
|
|
5386
5380
|
}
|
|
5387
5381
|
}
|
|
5388
|
-
), A = (
|
|
5382
|
+
), A = (v = r == null ? void 0 : r.data) == null ? void 0 : v.data;
|
|
5389
5383
|
this.$emit("refresh", A), this.extraPortList = A == null ? void 0 : A.extraPorts;
|
|
5390
5384
|
}
|
|
5391
5385
|
}
|
|
@@ -5510,10 +5504,10 @@ const RA = {
|
|
|
5510
5504
|
class: ""
|
|
5511
5505
|
}, tT = ["innerHTML"], aT = { key: 1 }, iT = { class: "section map-section" }, lT = { class: "report-map" }, sT = ["src"];
|
|
5512
5506
|
function dT(d, a, s, c, o, D) {
|
|
5513
|
-
var l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
5514
|
-
const
|
|
5507
|
+
var l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua;
|
|
5508
|
+
const v = X("IdmBrand"), r = X("EditableItem"), A = X("ElButton"), E = X("Editor");
|
|
5515
5509
|
return e(), n("div", VA, [
|
|
5516
|
-
Nt(
|
|
5510
|
+
Nt(v, { name: "Voyage Deviation Report" }),
|
|
5517
5511
|
t("div", FA, [
|
|
5518
5512
|
t("div", GA, [
|
|
5519
5513
|
t("div", PA, [
|
|
@@ -5533,13 +5527,13 @@ function dT(d, a, s, c, o, D) {
|
|
|
5533
5527
|
t("div", HA, [
|
|
5534
5528
|
t("div", XA, [
|
|
5535
5529
|
a[12] || (a[12] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
5536
|
-
(k = (C = s.report) == null ? void 0 : C.departure) != null && k.name ? (e(), n("span", KA, i((
|
|
5537
|
-
t("span", $A, i(D.computeUTCTime(((
|
|
5530
|
+
(k = (C = s.report) == null ? void 0 : C.departure) != null && k.name ? (e(), n("span", KA, i((Z = (T = s.report) == null ? void 0 : T.departure) == null ? void 0 : Z.name), 1)) : (e(), n("span", qA, i(D.computePosition((B = s.report) == null ? void 0 : B.departure)), 1)),
|
|
5531
|
+
t("span", $A, i(D.computeUTCTime(((W = (w = s.report) == null ? void 0 : w.departure) == null ? void 0 : W.atd) || ((q = (K = s.report) == null ? void 0 : K.departure) == null ? void 0 : q.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
5538
5532
|
]),
|
|
5539
5533
|
t("div", tu, [
|
|
5540
5534
|
a[13] || (a[13] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
5541
|
-
(at = (
|
|
5542
|
-
t("span", lu, i(D.computeUTCTime(((_ = (
|
|
5535
|
+
(at = ($ = s.report) == null ? void 0 : $.arrival) != null && at.name ? (e(), n("span", au, i((lt = (it = s.report) == null ? void 0 : it.arrival) == null ? void 0 : lt.name), 1)) : (e(), n("span", iu, i(D.computePosition((st = s.report) == null ? void 0 : st.arrival)), 1)),
|
|
5536
|
+
t("span", lu, i(D.computeUTCTime(((_ = (et = s.report) == null ? void 0 : et.arrival) == null ? void 0 : _.ata) || ((nt = (y = s.report) == null ? void 0 : y.arrival) == null ? void 0 : nt.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
5543
5537
|
]),
|
|
5544
5538
|
t("div", su, [
|
|
5545
5539
|
a[14] || (a[14] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -5617,8 +5611,8 @@ function dT(d, a, s, c, o, D) {
|
|
|
5617
5611
|
]),
|
|
5618
5612
|
t("tr", null, [
|
|
5619
5613
|
a[18] || (a[18] = t("td", null, "Back on Track", -1)),
|
|
5620
|
-
t("td", null, i(D.computedLngLat((
|
|
5621
|
-
t("td", null, i(D.computeUTCTime((
|
|
5614
|
+
t("td", null, i(D.computedLngLat((ot = s.report) == null ? void 0 : ot.endLat, (Mt = s.report) == null ? void 0 : Mt.endLng)), 1),
|
|
5615
|
+
t("td", null, i(D.computeUTCTime((J = s.report) == null ? void 0 : J.endTime)), 1),
|
|
5622
5616
|
t("td", null, [
|
|
5623
5617
|
Nt(r, {
|
|
5624
5618
|
style: { padding: "0px" },
|
|
@@ -5885,7 +5879,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
5885
5879
|
])
|
|
5886
5880
|
], -1)),
|
|
5887
5881
|
(e(!0), n(u, null, O((Aa = (ca = s.report) == null ? void 0 : ca.extend) == null ? void 0 : Aa.rows, (M, jt) => {
|
|
5888
|
-
var rt, Kt, va, Ta, xa, za, ja, Ua, Ut, ba, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, sl, dl, el, nl, ol, Ml, Dl, Nl, rl, Il, gl, cl, Al, ul, ml, yl, vl, Tl, m, Rt, ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G, P,
|
|
5882
|
+
var rt, Kt, va, Ta, xa, za, ja, Ua, Ut, ba, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, sl, dl, el, nl, ol, Ml, Dl, Nl, rl, Il, gl, cl, Al, ul, ml, yl, vl, Tl, m, Rt, ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il, Ul, fl, El, bl, pl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Vl, Fl, Gl, Pl, Wl;
|
|
5889
5883
|
return e(), n("div", {
|
|
5890
5884
|
key: jt,
|
|
5891
5885
|
class: "seg-item",
|
|
@@ -6086,7 +6080,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6086
6080
|
t("div", Mm, [
|
|
6087
6081
|
s.report.useAbout ? (e(), n("div", Dm, "CP Speed - About")) : (e(), n("div", Nm, "CP Speed"))
|
|
6088
6082
|
]),
|
|
6089
|
-
a[74] || (a[74] = _t('<div class="sig" data-v-
|
|
6083
|
+
a[74] || (a[74] = _t('<div class="sig" data-v-46598c9b>+</div><div class="fraction flex-center" data-v-46598c9b>Weather Factor</div><div class="sig" data-v-46598c9b>+</div><div class="fraction flex-center" data-v-46598c9b>Current Factor</div><div class="sig" data-v-46598c9b>=</div>', 5)),
|
|
6090
6084
|
t("div", rm, i(M == null ? void 0 : M.cpSpd), 1),
|
|
6091
6085
|
a[75] || (a[75] = t("div", { class: "sig" }, "+", -1)),
|
|
6092
6086
|
t("div", Im, i((M == null ? void 0 : M.wxFactor) < 0 ? `(${M == null ? void 0 : M.wxFactor})` : M == null ? void 0 : M.wxFactor), 1),
|
|
@@ -6196,7 +6190,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6196
6190
|
t("div", Bm, [
|
|
6197
6191
|
s.report.useAbout ? (e(), n("div", _m, "CP Speed - About")) : (e(), n("div", Jm, "CP Speed"))
|
|
6198
6192
|
]),
|
|
6199
|
-
a[103] || (a[103] = _t('<div class="sig" data-v-
|
|
6193
|
+
a[103] || (a[103] = _t('<div class="sig" data-v-46598c9b>+</div><div class="fraction flex-center" data-v-46598c9b>Weather Factor</div><div class="sig" data-v-46598c9b>+</div><div class="fraction flex-center" data-v-46598c9b>Current Factor</div><div class="sig" data-v-46598c9b>=</div>', 5)),
|
|
6200
6194
|
t("div", Hm, i(M == null ? void 0 : M.cpSpd), 1),
|
|
6201
6195
|
a[104] || (a[104] = t("div", { class: "sig" }, "+", -1)),
|
|
6202
6196
|
t("div", Xm, i((M == null ? void 0 : M.wxFactor) < 0 ? `(${M == null ? void 0 : M.wxFactor})` : M == null ? void 0 : M.wxFactor), 1),
|
|
@@ -6234,7 +6228,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6234
6228
|
a[115] || (a[115] = t("div", { class: "fraction flex-center" }, null, -1))
|
|
6235
6229
|
]),
|
|
6236
6230
|
t("div", Dy, [
|
|
6237
|
-
a[116] || (a[116] = _t('<div class="fraction flex-center" style="width:180px;" data-v-
|
|
6231
|
+
a[116] || (a[116] = _t('<div class="fraction flex-center" style="width:180px;" data-v-46598c9b>Total extra Time</div><div class="sig" data-v-46598c9b>=</div><div class="fraction flex-center" data-v-46598c9b>Time for Actual Route</div><div class="sig" data-v-46598c9b>-</div><div class="fraction flex-center" data-v-46598c9b>Time for Route prior to deviation sailing</div><div class="sig" data-v-46598c9b>=</div>', 6)),
|
|
6238
6232
|
t("div", Ny, i((mi = M == null ? void 0 : M.timeAnalysis) == null ? void 0 : mi.actualTime), 1),
|
|
6239
6233
|
a[117] || (a[117] = t("div", { class: "sig" }, "-", -1)),
|
|
6240
6234
|
t("div", ry, i((yi = M == null ? void 0 : M.timeAnalysis) == null ? void 0 : yi.sailingTime), 1),
|
|
@@ -6408,7 +6402,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6408
6402
|
t("div", nv, i((F = (V = M == null ? void 0 : M.consAnalysis) == null ? void 0 : V.dgo) == null ? void 0 : F.totalExtraCons) + " (mt)", 1)
|
|
6409
6403
|
])
|
|
6410
6404
|
])) : ((G = s.report) == null ? void 0 : G.method) === "ConsExtrapolate" ? (e(), n("div", ov, [
|
|
6411
|
-
(
|
|
6405
|
+
(L = (P = M == null ? void 0 : M.consAnalysis) == null ? void 0 : P.fo) != null && L.realCons || (tt = (H = M == null ? void 0 : M.consAnalysis) == null ? void 0 : H.fo) != null && tt.actualCons ? (e(), n("div", Mv, [
|
|
6412
6406
|
a[170] || (a[170] = t("div", {
|
|
6413
6407
|
class: "fraction flex-center",
|
|
6414
6408
|
style: { width: "180px" }
|
|
@@ -6448,10 +6442,10 @@ function dT(d, a, s, c, o, D) {
|
|
|
6448
6442
|
])
|
|
6449
6443
|
]),
|
|
6450
6444
|
a[175] || (a[175] = t("div", { class: "sig" }, "=", -1)),
|
|
6451
|
-
t("div", Uv, i((vt = (
|
|
6445
|
+
t("div", Uv, i((vt = (Dt = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Dt.fo) == null ? void 0 : vt.sailingCons) + " (mt)", 1)
|
|
6452
6446
|
])) : g("", !0),
|
|
6453
6447
|
(xt = (Tt = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Tt.fo) != null && xt.realCons || (Ct = (zt = M == null ? void 0 : M.consAnalysis) == null ? void 0 : zt.fo) != null && Ct.actualCons ? (e(), n("div", fv, [
|
|
6454
|
-
a[176] || (a[176] = _t('<div class="fraction flex-center" style="width:180px;" data-v-
|
|
6448
|
+
a[176] || (a[176] = _t('<div class="fraction flex-center" style="width:180px;" data-v-46598c9b>FO Total Extra Consumption</div><div class="sig" data-v-46598c9b>=</div><div class="fraction flex-center" style="width:180px;" data-v-46598c9b>FO Consumption for Actual Route</div><div class="sig" data-v-46598c9b>-</div><div class="fraction flex-center" style="width:180px;" data-v-46598c9b>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-46598c9b>=</div>', 6)),
|
|
6455
6449
|
t("div", Ev, i(((Qt = (Yt = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Yt.fo) == null ? void 0 : Qt.realCons) || (($t = (qt = M == null ? void 0 : M.consAnalysis) == null ? void 0 : qt.fo) == null ? void 0 : $t.actualCons)), 1),
|
|
6456
6450
|
a[177] || (a[177] = t("div", { class: "sig" }, "-", -1)),
|
|
6457
6451
|
t("div", bv, i((aa = (ta = M == null ? void 0 : M.consAnalysis) == null ? void 0 : ta.fo) == null ? void 0 : aa.sailingCons), 1),
|
|
@@ -6501,7 +6495,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6501
6495
|
t("div", Bv, i((El = (fl = M == null ? void 0 : M.consAnalysis) == null ? void 0 : fl.dgo) == null ? void 0 : El.sailingCons) + " (mt)", 1)
|
|
6502
6496
|
])) : g("", !0),
|
|
6503
6497
|
(pl = (bl = M == null ? void 0 : M.consAnalysis) == null ? void 0 : bl.dgo) != null && pl.realCons || (hl = (Ol = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Ol.dgo) != null && hl.actualCons ? (e(), n("div", _v, [
|
|
6504
|
-
a[192] || (a[192] = _t('<div class="fraction flex-center" style="width:180px;" data-v-
|
|
6498
|
+
a[192] || (a[192] = _t('<div class="fraction flex-center" style="width:180px;" data-v-46598c9b>MGO Total Extra Consumption</div><div class="sig" data-v-46598c9b>=</div><div class="fraction flex-center" style="width:180px;" data-v-46598c9b>MGO Consumption for Actual Route</div><div class="sig" data-v-46598c9b>-</div><div class="fraction flex-center" style="width:180px;" data-v-46598c9b>MGO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-46598c9b>=</div>', 6)),
|
|
6505
6499
|
t("div", Jv, i(((Yl = (Cl = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Cl.dgo) == null ? void 0 : Yl.realCons) ?? ((kl = (Ql = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Ql.dgo) == null ? void 0 : kl.actualCons)), 1),
|
|
6506
6500
|
a[193] || (a[193] = t("div", { class: "sig" }, "-", -1)),
|
|
6507
6501
|
t("div", Hv, i((wl = (Sl = M == null ? void 0 : M.consAnalysis) == null ? void 0 : Sl.dgo) == null ? void 0 : wl.sailingCons), 1),
|
|
@@ -6558,13 +6552,13 @@ function dT(d, a, s, c, o, D) {
|
|
|
6558
6552
|
src: (ua = s.report) == null ? void 0 : ua.chartUrl,
|
|
6559
6553
|
alt: ""
|
|
6560
6554
|
}, null, 8, sT),
|
|
6561
|
-
a[197] || (a[197] = _t('<div class="legend text-tips" data-v-
|
|
6555
|
+
a[197] || (a[197] = _t('<div class="legend text-tips" data-v-46598c9b><div class="legend-item" data-v-46598c9b><div style="width:30px;height:0;border:1px solid var(--actual-route);" data-v-46598c9b></div><div data-v-46598c9b>Actual Route</div></div><div class="legend-item" data-v-46598c9b><div style="width:30px;height:0;border:1px dashed var(--prior-route);" data-v-46598c9b></div><div data-v-46598c9b>Route prior to deviation</div></div></div>', 1))
|
|
6562
6556
|
])
|
|
6563
6557
|
])
|
|
6564
6558
|
])
|
|
6565
6559
|
]);
|
|
6566
6560
|
}
|
|
6567
|
-
const eT = /* @__PURE__ */ Ya(RA, [["render", dT], ["__scopeId", "data-v-
|
|
6561
|
+
const eT = /* @__PURE__ */ Ya(RA, [["render", dT], ["__scopeId", "data-v-46598c9b"]]), pf = {
|
|
6568
6562
|
install(d) {
|
|
6569
6563
|
d.component("DeviationReport", eT);
|
|
6570
6564
|
}
|
|
@@ -6597,17 +6591,17 @@ const nT = {
|
|
|
6597
6591
|
},
|
|
6598
6592
|
computeLat() {
|
|
6599
6593
|
return function(d) {
|
|
6600
|
-
return
|
|
6594
|
+
return dt.lat2pretty(d, 3);
|
|
6601
6595
|
};
|
|
6602
6596
|
},
|
|
6603
6597
|
computeLng() {
|
|
6604
6598
|
return function(d) {
|
|
6605
|
-
return
|
|
6599
|
+
return dt.lng2pretty(d, 3);
|
|
6606
6600
|
};
|
|
6607
6601
|
},
|
|
6608
6602
|
computeRoundPrecision() {
|
|
6609
6603
|
return function(d, a = 3) {
|
|
6610
|
-
return d === "-" ? "-" :
|
|
6604
|
+
return d === "-" ? "-" : dt.roundPrecision(d, a);
|
|
6611
6605
|
};
|
|
6612
6606
|
},
|
|
6613
6607
|
computeBlankHtml() {
|
|
@@ -6617,7 +6611,7 @@ const nT = {
|
|
|
6617
6611
|
},
|
|
6618
6612
|
computePosition() {
|
|
6619
6613
|
return function(d) {
|
|
6620
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
6614
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
6621
6615
|
};
|
|
6622
6616
|
}
|
|
6623
6617
|
},
|
|
@@ -6640,10 +6634,10 @@ const nT = {
|
|
|
6640
6634
|
class: ""
|
|
6641
6635
|
}, t0 = ["innerHTML"], a0 = { key: 1 }, i0 = { class: "section table-section" }, l0 = { class: "orm-report-table" }, s0 = { rowspan: 2 }, d0 = { rowspan: 2 }, e0 = { rowspan: 2 }, n0 = { rowspan: 2 }, o0 = { class: "section map-section" }, M0 = ["src"], D0 = ["src"];
|
|
6642
6636
|
function N0(d, a, s, c, o, D) {
|
|
6643
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
6644
|
-
const
|
|
6637
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua;
|
|
6638
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
6645
6639
|
return e(), n("div", oT, [
|
|
6646
|
-
Nt(
|
|
6640
|
+
Nt(v, { name: "Voyage Stoppage Report" }),
|
|
6647
6641
|
t("div", MT, [
|
|
6648
6642
|
t("div", DT, [
|
|
6649
6643
|
t("div", NT, [
|
|
@@ -6663,13 +6657,13 @@ function N0(d, a, s, c, o, D) {
|
|
|
6663
6657
|
t("div", mT, [
|
|
6664
6658
|
t("div", yT, [
|
|
6665
6659
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
6666
|
-
(
|
|
6667
|
-
t("span", xT, i(D.computeUTCTime(((
|
|
6660
|
+
(Z = (T = s.report) == null ? void 0 : T.departure) != null && Z.name ? (e(), n("span", vT, i((w = (B = s.report) == null ? void 0 : B.departure) == null ? void 0 : w.name), 1)) : (e(), n("span", TT, i(D.computePosition((W = s.report) == null ? void 0 : W.departure)), 1)),
|
|
6661
|
+
t("span", xT, i(D.computeUTCTime(((q = (K = s.report) == null ? void 0 : K.departure) == null ? void 0 : q.atd) || ((at = ($ = s.report) == null ? void 0 : $.departure) == null ? void 0 : at.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
6668
6662
|
]),
|
|
6669
6663
|
t("div", zT, [
|
|
6670
6664
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
6671
|
-
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", jT, i((
|
|
6672
|
-
t("span", fT, i(D.computeUTCTime(((
|
|
6665
|
+
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", jT, i((et = (st = s.report) == null ? void 0 : st.destination) == null ? void 0 : et.name), 1)) : (e(), n("span", UT, i(D.computePosition((_ = s.report) == null ? void 0 : _.destination)), 1)),
|
|
6666
|
+
t("span", fT, i(D.computeUTCTime(((nt = (y = s.report) == null ? void 0 : y.destination) == null ? void 0 : nt.ata) || ((gt = (It = s.report) == null ? void 0 : It.destination) == null ? void 0 : gt.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
6673
6667
|
]),
|
|
6674
6668
|
t("div", ET, [
|
|
6675
6669
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -6695,9 +6689,9 @@ function N0(d, a, s, c, o, D) {
|
|
|
6695
6689
|
}, "", -1)),
|
|
6696
6690
|
t("span", QT, i((U = (yt = s.report) == null ? void 0 : yt.pvsr) == null ? void 0 : U.totalTime), 1),
|
|
6697
6691
|
a[10] || (a[10] = t("span", { class: "unit" }, "hrs", -1))
|
|
6698
|
-
])) : ((
|
|
6692
|
+
])) : ((Mt = (ot = s.report) == null ? void 0 : ot.pvsr) == null ? void 0 : Mt.totalTime) >= 0 ? (e(), n("div", kT, [
|
|
6699
6693
|
a[11] || (a[11] = t("i", { class: "iconfont lost" }, "", -1)),
|
|
6700
|
-
t("span", ST, i((ft = (
|
|
6694
|
+
t("span", ST, i((ft = (J = s.report) == null ? void 0 : J.pvsr) == null ? void 0 : ft.totalTime), 1),
|
|
6701
6695
|
a[12] || (a[12] = t("span", { class: "unit" }, "hrs", -1))
|
|
6702
6696
|
])) : (e(), n("div", wT, "N/A"))
|
|
6703
6697
|
])
|
|
@@ -6913,7 +6907,7 @@ const I0 = {
|
|
|
6913
6907
|
},
|
|
6914
6908
|
compareTime() {
|
|
6915
6909
|
return function(d, a) {
|
|
6916
|
-
return d && a ?
|
|
6910
|
+
return d && a ? dt.roundPrecision(d - a) : "-";
|
|
6917
6911
|
};
|
|
6918
6912
|
},
|
|
6919
6913
|
computeBlankHtml() {
|
|
@@ -6923,7 +6917,7 @@ const I0 = {
|
|
|
6923
6917
|
},
|
|
6924
6918
|
computePosition() {
|
|
6925
6919
|
return function(d) {
|
|
6926
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
6920
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
6927
6921
|
};
|
|
6928
6922
|
}
|
|
6929
6923
|
},
|
|
@@ -6973,10 +6967,10 @@ const I0 = {
|
|
|
6973
6967
|
colspan: "2"
|
|
6974
6968
|
};
|
|
6975
6969
|
function Tx(d, a, s, c, o, D) {
|
|
6976
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
6977
|
-
const
|
|
6970
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt;
|
|
6971
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
6978
6972
|
return e(), n("div", g0, [
|
|
6979
|
-
Nt(
|
|
6973
|
+
Nt(v, { name: "Voyage Comparison Report" }),
|
|
6980
6974
|
t("div", c0, [
|
|
6981
6975
|
t("div", A0, [
|
|
6982
6976
|
t("div", u0, [
|
|
@@ -6997,16 +6991,16 @@ function Tx(d, a, s, c, o, D) {
|
|
|
6997
6991
|
t("div", U0, [
|
|
6998
6992
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
6999
6993
|
(p = (z = s.report) == null ? void 0 : z.departure) != null && p.name ? (e(), n("span", f0, i((k = (C = s.report) == null ? void 0 : C.departure) == null ? void 0 : k.name), 1)) : (e(), n("span", E0, i(D.computePosition((T = s.report) == null ? void 0 : T.departure)), 1)),
|
|
7000
|
-
t("span", b0, i(D.computeUTCTime(((B = (
|
|
6994
|
+
t("span", b0, i(D.computeUTCTime(((B = (Z = s.report) == null ? void 0 : Z.departure) == null ? void 0 : B.atd) || ((W = (w = s.report) == null ? void 0 : w.departure) == null ? void 0 : W.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7001
6995
|
]),
|
|
7002
6996
|
t("div", p0, [
|
|
7003
6997
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
7004
|
-
(
|
|
7005
|
-
t("span", C0, i(D.computeUTCTime(((st = (lt = s.report) == null ? void 0 : lt.arrival) == null ? void 0 : st.ata) || ((_ = (
|
|
6998
|
+
(q = (K = s.report) == null ? void 0 : K.arrival) != null && q.name ? (e(), n("span", O0, i((at = ($ = s.report) == null ? void 0 : $.arrival) == null ? void 0 : at.name), 1)) : (e(), n("span", h0, i(D.computePosition((it = s.report) == null ? void 0 : it.arrival)), 1)),
|
|
6999
|
+
t("span", C0, i(D.computeUTCTime(((st = (lt = s.report) == null ? void 0 : lt.arrival) == null ? void 0 : st.ata) || ((_ = (et = s.report) == null ? void 0 : et.arrival) == null ? void 0 : _.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7006
7000
|
]),
|
|
7007
7001
|
t("div", Y0, [
|
|
7008
7002
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
7009
|
-
t("span", Q0, i((
|
|
7003
|
+
t("span", Q0, i((nt = (y = s.report) == null ? void 0 : y.voyage) == null ? void 0 : nt.loadCondition), 1)
|
|
7010
7004
|
])
|
|
7011
7005
|
])
|
|
7012
7006
|
]),
|
|
@@ -7086,15 +7080,15 @@ function Tx(d, a, s, c, o, D) {
|
|
|
7086
7080
|
I("compared with Recommended route")
|
|
7087
7081
|
], -1)),
|
|
7088
7082
|
t("div", q0, [
|
|
7089
|
-
((
|
|
7083
|
+
((ot = s.report) == null ? void 0 : ot.diffDgoCons) < 0 ? (e(), n("div", $0, [
|
|
7090
7084
|
a[23] || (a[23] = t("span", {
|
|
7091
7085
|
class: "text",
|
|
7092
7086
|
style: { "font-size": "14px", "margin-left": "4px", "font-weight": "normal" }
|
|
7093
7087
|
}, "Saving", -1)),
|
|
7094
7088
|
a[24] || (a[24] = t("i", { class: "iconfont gain" }, "", -1)),
|
|
7095
|
-
t("span", tx, i(Math.abs((
|
|
7089
|
+
t("span", tx, i(Math.abs((Mt = s.report) == null ? void 0 : Mt.diffDgoCons)), 1),
|
|
7096
7090
|
a[25] || (a[25] = t("span", { class: "unit" }, "mt", -1))
|
|
7097
|
-
])) : ((
|
|
7091
|
+
])) : ((J = s.report) == null ? void 0 : J.diffDgoCons) > 0 ? (e(), n("div", ax, [
|
|
7098
7092
|
a[26] || (a[26] = t("span", {
|
|
7099
7093
|
class: "text",
|
|
7100
7094
|
style: { "font-size": "14px", "margin-left": "4px", "font-weight": "normal" }
|
|
@@ -7367,17 +7361,17 @@ const zx = {
|
|
|
7367
7361
|
},
|
|
7368
7362
|
computeLat() {
|
|
7369
7363
|
return function(d) {
|
|
7370
|
-
return
|
|
7364
|
+
return dt.lat2pretty(d, 2);
|
|
7371
7365
|
};
|
|
7372
7366
|
},
|
|
7373
7367
|
computeLng() {
|
|
7374
7368
|
return function(d) {
|
|
7375
|
-
return
|
|
7369
|
+
return dt.lng2pretty(d, 2);
|
|
7376
7370
|
};
|
|
7377
7371
|
},
|
|
7378
7372
|
computePosition() {
|
|
7379
7373
|
return function(d) {
|
|
7380
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
7374
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : dt.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + dt.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
7381
7375
|
};
|
|
7382
7376
|
},
|
|
7383
7377
|
computeBlankHtml() {
|
|
@@ -7464,10 +7458,10 @@ const zx = {
|
|
|
7464
7458
|
class: "formula-item flex-evenly bg-blue-light"
|
|
7465
7459
|
}, Oz = { class: "fraction" }, hz = { class: "fraction" }, Cz = { class: "fraction" }, Yz = { class: "section vessel-report-section print-landscape" }, Qz = { class: "section-content" }, kz = { class: "orm-report-table" }, Sz = ["rowspan"];
|
|
7466
7460
|
function wz(d, a, s, c, o, D) {
|
|
7467
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
7468
|
-
const
|
|
7461
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt, rt, Kt, va, Ta, xa, za, ja, Ua, Ut, ba, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, sl, dl, el, nl, ol, Ml, Dl, Nl, rl, Il, gl, cl, Al, ul, ml, yl, vl, Tl, m, Rt, ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al, N, R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il, Ul, fl, El, bl, pl, Ol, hl, Cl, Yl, Ql, kl, Sl, wl, Rl, Vl, Fl, Gl, Pl, Wl, Bl, _l, Jl, Hl, Xl, Kl, ql, $l, ts, as, is, ls, ss, ds, es, ns, os, Ms, Ds, Ns, rs, Is, gs, cs, As, us, ms, ys, vs, Ts, xs, zs, js, Us, fs, Es, bs, ps, Os, hs, Cs, Ys, Qs, ks, Ss, ws, Rs, Vs, Fs, Gs, Ps, Ws, Zs, Ls, Bs, _s, Js, Hs, Xs, Ks, qs, $s, td, ad, id, ld, sd, dd, ed, nd, od, Md, Dd, Nd, rd, Id, gd, cd, Ad, ud, md, yd, vd, Td, xd, zd, jd, Ud, fd, Ed, bd, pd, Od, hd, Cd, Yd, Qd, kd, Sd, wd, Rd, Vd, Fd, Gd, Pd, Wd, Zd, Ld, Bd, _d, Jd, Hd, Xd, Kd, qd, $d, te, ae, ie, le, se, de, ee, ne, oe, Me, De, Ne, re, Ie, ge, ce, Ae, ue, me, ye, ve, Te, xe, ze, je, Ue, fe, Ee, be, pe, Oe, he, Ce, Ye, Qe, ke, Ca, Ll, xl, Zl, Se, we, Re, Ve, Be, _e, Je, He, Xe, Ke, qe, $e, tn, an, ln, sn, dn, en, nn, on, Mn, Dn, Nn, rn, In, gn, cn, An, un, mn, yn, vn, Tn, xn, zn, jn, Un;
|
|
7462
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
7469
7463
|
return e(), n("div", jx, [
|
|
7470
|
-
Nt(
|
|
7464
|
+
Nt(v, {
|
|
7471
7465
|
style: { width: "796px", margin: "0 auto" },
|
|
7472
7466
|
name: "Energy Efficiency Analysis Report"
|
|
7473
7467
|
}),
|
|
@@ -7489,13 +7483,13 @@ function wz(d, a, s, c, o, D) {
|
|
|
7489
7483
|
t("div", Yx, [
|
|
7490
7484
|
t("div", Qx, [
|
|
7491
7485
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
7492
|
-
(
|
|
7493
|
-
t("span", wx, i(D.computeUTCTime(((
|
|
7486
|
+
(Z = (T = s.report) == null ? void 0 : T.departure) != null && Z.name ? (e(), n("span", kx, i((w = (B = s.report) == null ? void 0 : B.departure) == null ? void 0 : w.name), 1)) : (e(), n("span", Sx, i(D.computePosition((W = s.report) == null ? void 0 : W.departure)), 1)),
|
|
7487
|
+
t("span", wx, i(D.computeUTCTime(((q = (K = s.report) == null ? void 0 : K.departure) == null ? void 0 : q.atd) || ((at = ($ = s.report) == null ? void 0 : $.departure) == null ? void 0 : at.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7494
7488
|
]),
|
|
7495
7489
|
t("div", Rx, [
|
|
7496
7490
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
7497
|
-
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", Vx, i((
|
|
7498
|
-
t("span", Gx, i(D.computeUTCTime(((
|
|
7491
|
+
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", Vx, i((et = (st = s.report) == null ? void 0 : st.destination) == null ? void 0 : et.name), 1)) : (e(), n("span", Fx, i(D.computePosition((_ = s.report) == null ? void 0 : _.destination)), 1)),
|
|
7492
|
+
t("span", Gx, i(D.computeUTCTime(((nt = (y = s.report) == null ? void 0 : y.destination) == null ? void 0 : nt.ata) || ((gt = (It = s.report) == null ? void 0 : It.destination) == null ? void 0 : gt.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7499
7493
|
]),
|
|
7500
7494
|
t("div", Px, [
|
|
7501
7495
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -7538,8 +7532,8 @@ function wz(d, a, s, c, o, D) {
|
|
|
7538
7532
|
t("tr", null, [
|
|
7539
7533
|
a[11] || (a[11] = t("td", { colspan: "2" }, "Idle", -1)),
|
|
7540
7534
|
t("td", _x, [
|
|
7541
|
-
I(i((
|
|
7542
|
-
(bt = (ft = (
|
|
7535
|
+
I(i((ot = (U = (yt = (mt = (ut = s.report) == null ? void 0 : ut.eeas) == null ? void 0 : mt.extend) == null ? void 0 : yt.cp) == null ? void 0 : U.idle) == null ? void 0 : ot.fo) + " ", 1),
|
|
7536
|
+
(bt = (ft = (J = (Mt = s.report) == null ? void 0 : Mt.eeas) == null ? void 0 : J.extend) == null ? void 0 : ft.cp) != null && bt.weather ? (e(), n("span", Jx, [
|
|
7543
7537
|
a[9] || (a[9] = I("| ", -1)),
|
|
7544
7538
|
(Vt = (wt = (ht = (Ot = (pt = s.report) == null ? void 0 : pt.eeas) == null ? void 0 : Ot.extend) == null ? void 0 : ht.cp) == null ? void 0 : wt.weather) != null && Vt.consPercentage ? (e(), n("span", Hx, "+" + i((Ft = (Bt = (j = (Ht = (Jt = s.report) == null ? void 0 : Jt.eeas) == null ? void 0 : Ht.extend) == null ? void 0 : j.cp) == null ? void 0 : Bt.weather) == null ? void 0 : Ft.consOfOver) + "% , -" + i((Lt = (Zt = (Wt = (Pt = (Gt = s.report) == null ? void 0 : Gt.eeas) == null ? void 0 : Pt.extend) == null ? void 0 : Wt.cp) == null ? void 0 : Zt.weather) == null ? void 0 : Lt.consOfUnder) + "%", 1)) : (e(), n("span", Xx, "+" + i((na = (ea = (da = (sa = (Xt = s.report) == null ? void 0 : Xt.eeas) == null ? void 0 : sa.extend) == null ? void 0 : da.cp) == null ? void 0 : ea.weather) == null ? void 0 : na.consOfOver) + " , -" + i((ra = (Na = (Da = (Ma = (oa = s.report) == null ? void 0 : oa.eeas) == null ? void 0 : Ma.extend) == null ? void 0 : Da.cp) == null ? void 0 : Na.weather) == null ? void 0 : ra.consOfUnder), 1))
|
|
7545
7539
|
])) : g("", !0)
|
|
@@ -7596,7 +7590,7 @@ function wz(d, a, s, c, o, D) {
|
|
|
7596
7590
|
t("div", { class: "phase-title" }, "N/A", -1)
|
|
7597
7591
|
])])) : (e(), n("div", u2, [
|
|
7598
7592
|
t("div", null, [
|
|
7599
|
-
t("span", m2, i(((
|
|
7593
|
+
t("span", m2, i(((Dt = (tt = (H = (L = (P = s.report) == null ? void 0 : P.eeas) == null ? void 0 : L.extend) == null ? void 0 : H.summary) == null ? void 0 : tt.fo) == null ? void 0 : Dt.status) === "Saving" ? "Gain" : "Lost"), 1),
|
|
7600
7594
|
t("i", {
|
|
7601
7595
|
class: S(["iconfont", ((Ct = (zt = (xt = (Tt = (vt = s.report) == null ? void 0 : vt.eeas) == null ? void 0 : Tt.extend) == null ? void 0 : xt.summary) == null ? void 0 : zt.fo) == null ? void 0 : Ct.status) === "Saving" ? "gain" : "lost"])
|
|
7602
7596
|
}, i(((ta = ($t = (qt = (Qt = (Yt = s.report) == null ? void 0 : Yt.eeas) == null ? void 0 : Qt.extend) == null ? void 0 : qt.summary) == null ? void 0 : $t.fo) == null ? void 0 : ta.status) === "Saving" ? "" : ""), 3),
|
|
@@ -8091,7 +8085,7 @@ const Wz = {
|
|
|
8091
8085
|
},
|
|
8092
8086
|
computePortName() {
|
|
8093
8087
|
return function(d) {
|
|
8094
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
8088
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${dt.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${dt.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
8095
8089
|
};
|
|
8096
8090
|
},
|
|
8097
8091
|
computeBlankHtml() {
|
|
@@ -8141,10 +8135,10 @@ const Wz = {
|
|
|
8141
8135
|
style: { "font-weight": "bold" }
|
|
8142
8136
|
}, Uj = { class: "section leg-section" }, fj = { class: "orm-report-table" }, Ej = ["colspan"];
|
|
8143
8137
|
function bj(d, a, s, c, o, D) {
|
|
8144
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
8145
|
-
const
|
|
8138
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt;
|
|
8139
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
8146
8140
|
return e(), n("div", Zz, [
|
|
8147
|
-
Nt(
|
|
8141
|
+
Nt(v, { name: "EU ETS Compliance Cost Analysis Report" }),
|
|
8148
8142
|
t("div", Lz, [
|
|
8149
8143
|
t("div", Bz, [
|
|
8150
8144
|
t("div", _z, [
|
|
@@ -8202,13 +8196,13 @@ function bj(d, a, s, c, o, D) {
|
|
|
8202
8196
|
]),
|
|
8203
8197
|
t("div", Nj, [
|
|
8204
8198
|
a[12] || (a[12] = t("span", { class: "" }, "Covered emissions", -1)),
|
|
8205
|
-
t("span", rj, i(Math.round((((w = (B = (
|
|
8199
|
+
t("span", rj, i(Math.round((((w = (B = (Z = o.form) == null ? void 0 : Z.summary) == null ? void 0 : B.euets) == null ? void 0 : w.ratio) ?? 0) * 100)) + "%", 1)
|
|
8206
8200
|
])
|
|
8207
8201
|
]),
|
|
8208
8202
|
t("div", Ij, [
|
|
8209
8203
|
a[15] || (a[15] = t("div", { class: "text-secondary align-left" }, "EU ETS CO₂ emissions", -1)),
|
|
8210
8204
|
t("div", gj, [
|
|
8211
|
-
I(i(Math.round((((
|
|
8205
|
+
I(i(Math.round((((q = (K = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : K.euets) == null ? void 0 : q.ghg2) ?? 0) * 1e3) / 1e3), 1),
|
|
8212
8206
|
a[14] || (a[14] = t("span", {
|
|
8213
8207
|
class: "unit",
|
|
8214
8208
|
style: { "margin-left": "4px" }
|
|
@@ -8217,7 +8211,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8217
8211
|
]),
|
|
8218
8212
|
t("div", cj, [
|
|
8219
8213
|
a[17] || (a[17] = t("div", { class: "text-secondary align-left" }, "Total Fuel Consumption", -1)),
|
|
8220
|
-
(e(!0), n(u, null, O((at = (
|
|
8214
|
+
(e(!0), n(u, null, O((at = ($ = o.form) == null ? void 0 : $.summary) == null ? void 0 : at.fuels, (U) => (e(), n("div", {
|
|
8221
8215
|
key: U.type,
|
|
8222
8216
|
class: "flex-between"
|
|
8223
8217
|
}, [
|
|
@@ -8303,15 +8297,15 @@ function bj(d, a, s, c, o, D) {
|
|
|
8303
8297
|
], -1)),
|
|
8304
8298
|
t("tbody", null, [
|
|
8305
8299
|
(e(!0), n(u, null, O((lt = (it = o.form) == null ? void 0 : it.summary) == null ? void 0 : lt.fuels, (U) => {
|
|
8306
|
-
var
|
|
8300
|
+
var ot, Mt, J;
|
|
8307
8301
|
return e(), n("tr", {
|
|
8308
8302
|
key: U.type
|
|
8309
8303
|
}, [
|
|
8310
8304
|
t("td", null, i(U.type ?? "-"), 1),
|
|
8311
8305
|
t("td", null, i(U.totalCons ?? "-"), 1),
|
|
8312
|
-
t("td", null, i(((
|
|
8313
|
-
t("td", null, i(((
|
|
8314
|
-
t("td", null, i(((
|
|
8306
|
+
t("td", null, i(((ot = U.factor) == null ? void 0 : ot.co2) ?? "-"), 1),
|
|
8307
|
+
t("td", null, i(((Mt = U.factor) == null ? void 0 : Mt.ch4) ?? "-"), 1),
|
|
8308
|
+
t("td", null, i(((J = U.factor) == null ? void 0 : J.n2o) ?? "-"), 1)
|
|
8315
8309
|
]);
|
|
8316
8310
|
}), 128)),
|
|
8317
8311
|
t("tr", null, [
|
|
@@ -8320,7 +8314,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8320
8314
|
class: "label",
|
|
8321
8315
|
style: { "font-weight": "bold" }
|
|
8322
8316
|
}, "Total (ETS / MRV)", -1)),
|
|
8323
|
-
t("td", jj, i(((_ = (
|
|
8317
|
+
t("td", jj, i(((_ = (et = (st = o.form) == null ? void 0 : st.summary) == null ? void 0 : et.euets) == null ? void 0 : _.ghg2) ?? "-") + " / " + i(((It = (nt = (y = o.form) == null ? void 0 : y.summary) == null ? void 0 : nt.euets) == null ? void 0 : It.ghg) ?? "-") + " mt", 1)
|
|
8324
8318
|
])
|
|
8325
8319
|
])
|
|
8326
8320
|
]),
|
|
@@ -8392,7 +8386,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8392
8386
|
]),
|
|
8393
8387
|
t("tbody", null, [
|
|
8394
8388
|
(e(!0), n(u, null, O((yt = o.form) == null ? void 0 : yt.legs, (U) => {
|
|
8395
|
-
var
|
|
8389
|
+
var ot, Mt, J, ft, bt;
|
|
8396
8390
|
return e(), n("tr", {
|
|
8397
8391
|
key: U.id
|
|
8398
8392
|
}, [
|
|
@@ -8404,7 +8398,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8404
8398
|
t("div", null, i(D.computePortName(U == null ? void 0 : U.destPort) ?? "-"), 1),
|
|
8405
8399
|
t("div", null, i(D.computeUTCTime((U == null ? void 0 : U.category) === "SEA_VOYAGE" ? U == null ? void 0 : U.ata : U == null ? void 0 : U.atd) ?? "-"), 1)
|
|
8406
8400
|
]),
|
|
8407
|
-
t("td", null, i(((
|
|
8401
|
+
t("td", null, i(((J = (Mt = (ot = U == null ? void 0 : U.extend) == null ? void 0 : ot.euets) == null ? void 0 : Mt.category) == null ? void 0 : J.replace(/_/g, " ")) ?? "-"), 1),
|
|
8408
8402
|
t("td", null, i(Math.round((U == null ? void 0 : U.time) * 10 / 24) / 10), 1),
|
|
8409
8403
|
t("td", null, i((U == null ? void 0 : U.distance) ?? "-"), 1),
|
|
8410
8404
|
(e(!0), n(u, null, O((bt = (ft = o.form) == null ? void 0 : ft.summary) == null ? void 0 : bt.fuels, (pt) => {
|
|
@@ -8458,7 +8452,7 @@ const Oj = {
|
|
|
8458
8452
|
},
|
|
8459
8453
|
computePortName() {
|
|
8460
8454
|
return function(d) {
|
|
8461
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
8455
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${dt.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${dt.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
8462
8456
|
};
|
|
8463
8457
|
},
|
|
8464
8458
|
computeBlankHtml() {
|
|
@@ -8495,10 +8489,10 @@ const Oj = {
|
|
|
8495
8489
|
style: { "margin-top": "20px" }
|
|
8496
8490
|
}, D5 = { class: "section leg-section" }, N5 = { class: "orm-report-table" }, r5 = ["colspan"];
|
|
8497
8491
|
function I5(d, a, s, c, o, D) {
|
|
8498
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
8499
|
-
const
|
|
8492
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht;
|
|
8493
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
8500
8494
|
return e(), n("div", hj, [
|
|
8501
|
-
Nt(
|
|
8495
|
+
Nt(v, { name: "FuelEU Compliance Cost Analysis Report" }),
|
|
8502
8496
|
t("div", Cj, [
|
|
8503
8497
|
t("div", Yj, [
|
|
8504
8498
|
t("div", Qj, [
|
|
@@ -8553,7 +8547,7 @@ function I5(d, a, s, c, o, D) {
|
|
|
8553
8547
|
t("div", Xj, [
|
|
8554
8548
|
a[13] || (a[13] = t("div", { class: "text-secondary align-left" }, "GHG Intensity", -1)),
|
|
8555
8549
|
t("div", Kj, [
|
|
8556
|
-
I(i(((
|
|
8550
|
+
I(i(((Z = (T = (k = o.form) == null ? void 0 : k.summary) == null ? void 0 : T.fueleu) == null ? void 0 : Z.actualGhgi) ?? "-"), 1),
|
|
8557
8551
|
a[11] || (a[11] = t("span", {
|
|
8558
8552
|
class: "unit",
|
|
8559
8553
|
style: { "margin-left": "4px" }
|
|
@@ -8564,12 +8558,12 @@ function I5(d, a, s, c, o, D) {
|
|
|
8564
8558
|
class: "",
|
|
8565
8559
|
style: { "margin-right": "4px" }
|
|
8566
8560
|
}, "Target", -1)),
|
|
8567
|
-
t("span", $j, i(((
|
|
8561
|
+
t("span", $j, i(((W = (w = (B = o.form) == null ? void 0 : B.summary) == null ? void 0 : w.fueleu) == null ? void 0 : W.targetGhgi) ?? "-"), 1)
|
|
8568
8562
|
])
|
|
8569
8563
|
]),
|
|
8570
8564
|
t("div", t5, [
|
|
8571
8565
|
a[15] || (a[15] = t("div", { class: "text-secondary align-left" }, "Total Fuel Consumption", -1)),
|
|
8572
|
-
(e(!0), n(u, null, O((
|
|
8566
|
+
(e(!0), n(u, null, O((q = (K = o.form) == null ? void 0 : K.summary) == null ? void 0 : q.fuels, (j) => (e(), n("div", {
|
|
8573
8567
|
key: j.type,
|
|
8574
8568
|
class: "flex-between",
|
|
8575
8569
|
style: { width: "100%" }
|
|
@@ -8695,7 +8689,7 @@ function I5(d, a, s, c, o, D) {
|
|
|
8695
8689
|
])
|
|
8696
8690
|
], -1)),
|
|
8697
8691
|
t("tbody", null, [
|
|
8698
|
-
(e(!0), n(u, null, O((at = (
|
|
8692
|
+
(e(!0), n(u, null, O((at = ($ = o.form) == null ? void 0 : $.summary) == null ? void 0 : at.fuels, (j) => {
|
|
8699
8693
|
var Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt;
|
|
8700
8694
|
return e(), n("tr", {
|
|
8701
8695
|
key: j.type
|
|
@@ -8778,11 +8772,11 @@ function I5(d, a, s, c, o, D) {
|
|
|
8778
8772
|
t("tbody", null, [
|
|
8779
8773
|
t("tr", null, [
|
|
8780
8774
|
t("td", null, i(((st = (lt = (it = o.form) == null ? void 0 : it.summary) == null ? void 0 : lt.fueleu) == null ? void 0 : st.targetGhgi) ?? "-"), 1),
|
|
8781
|
-
t("td", null, i(((
|
|
8782
|
-
t("td", null, i(((gt = (It = (
|
|
8775
|
+
t("td", null, i(((y = (_ = (et = o.form) == null ? void 0 : et.summary) == null ? void 0 : _.fueleu) == null ? void 0 : y.energy2) ?? "-"), 1),
|
|
8776
|
+
t("td", null, i(((gt = (It = (nt = o.form) == null ? void 0 : nt.summary) == null ? void 0 : It.fueleu) == null ? void 0 : gt.wttGhgi) ?? "-"), 1),
|
|
8783
8777
|
t("td", null, i(((ut = (At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.fueleu) == null ? void 0 : ut.ttwGhgi) ?? "-"), 1),
|
|
8784
8778
|
t("td", null, i(((U = (yt = (mt = o.form) == null ? void 0 : mt.summary) == null ? void 0 : yt.fueleu) == null ? void 0 : U.actualGhgi) ?? "-"), 1),
|
|
8785
|
-
t("td", null, i(((
|
|
8779
|
+
t("td", null, i(((J = (Mt = (ot = o.form) == null ? void 0 : ot.summary) == null ? void 0 : Mt.fueleu) == null ? void 0 : J.balance) ?? "-"), 1),
|
|
8786
8780
|
t("td", null, i(((pt = (bt = (ft = o.form) == null ? void 0 : ft.summary) == null ? void 0 : bt.fueleu) == null ? void 0 : pt.penalty) ?? "-"), 1)
|
|
8787
8781
|
])
|
|
8788
8782
|
])
|
|
@@ -8913,12 +8907,12 @@ const c5 = {
|
|
|
8913
8907
|
// 经纬度转换
|
|
8914
8908
|
computedLngLat() {
|
|
8915
8909
|
return function(d, a) {
|
|
8916
|
-
return `${
|
|
8910
|
+
return `${dt.lat2pretty(d).pretty} / ${dt.lng2pretty(a).pretty}`;
|
|
8917
8911
|
};
|
|
8918
8912
|
},
|
|
8919
8913
|
computePortName() {
|
|
8920
8914
|
return function(d) {
|
|
8921
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
8915
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${dt.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${dt.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
8922
8916
|
};
|
|
8923
8917
|
},
|
|
8924
8918
|
computeNum() {
|
|
@@ -8935,25 +8929,25 @@ const c5 = {
|
|
|
8935
8929
|
return (d, a, s = !0) => {
|
|
8936
8930
|
var o, D;
|
|
8937
8931
|
let c = 0;
|
|
8938
|
-
return (D = (o = this.form) == null ? void 0 : o[d]) == null || D.forEach((
|
|
8932
|
+
return (D = (o = this.form) == null ? void 0 : o[d]) == null || D.forEach((v) => {
|
|
8939
8933
|
var r, A, E;
|
|
8940
|
-
c += ((E = (A = (r =
|
|
8934
|
+
c += ((E = (A = (r = v.fuels) == null ? void 0 : r.filter((l) => l.type === a && l.areaRate === (s ? 1 : 0.5))) == null ? void 0 : A[0]) == null ? void 0 : E.cons) || 0;
|
|
8941
8935
|
}), Math.round(c * 1e3) / 1e3;
|
|
8942
8936
|
};
|
|
8943
8937
|
},
|
|
8944
8938
|
computedFuelInSummary() {
|
|
8945
8939
|
return (d, a = "euets", s) => {
|
|
8946
|
-
var o, D,
|
|
8947
|
-
const c = (
|
|
8940
|
+
var o, D, v;
|
|
8941
|
+
const c = (v = (D = (o = this.form) == null ? void 0 : o.summary) == null ? void 0 : D.fuels) == null ? void 0 : v.find((r) => r.type === d);
|
|
8948
8942
|
return c ? c[`${a}_cover_${s}`] : 0;
|
|
8949
8943
|
};
|
|
8950
8944
|
},
|
|
8951
8945
|
computedFuelInLegs() {
|
|
8952
8946
|
return (d, a = "euets", s) => {
|
|
8953
8947
|
var o, D;
|
|
8954
|
-
const c = (D = (o = this.form) == null ? void 0 : o.legs) == null ? void 0 : D.reduce((
|
|
8948
|
+
const c = (D = (o = this.form) == null ? void 0 : o.legs) == null ? void 0 : D.reduce((v, r) => {
|
|
8955
8949
|
const A = r.fuels.filter((E) => E.type === d && E[`${a}Rate`] === s);
|
|
8956
|
-
return
|
|
8950
|
+
return v + A.reduce((E, l) => E + l.consumption, 0);
|
|
8957
8951
|
}, 0);
|
|
8958
8952
|
return Math.round(c * 1e5) / 1e5;
|
|
8959
8953
|
};
|
|
@@ -8962,15 +8956,15 @@ const c5 = {
|
|
|
8962
8956
|
return (d, a, s = 1) => {
|
|
8963
8957
|
var o, D;
|
|
8964
8958
|
const c = [...((o = this.form) == null ? void 0 : o.atSea) || [], ...((D = this.form) == null ? void 0 : D.ports) || []];
|
|
8965
|
-
return c == null ? void 0 : c.filter((
|
|
8959
|
+
return c == null ? void 0 : c.filter((v) => {
|
|
8966
8960
|
var r;
|
|
8967
|
-
return (r =
|
|
8961
|
+
return (r = v == null ? void 0 : v.fuels) == null ? void 0 : r.some((A) => A.type === d && A[`${a}`] === s);
|
|
8968
8962
|
});
|
|
8969
8963
|
};
|
|
8970
8964
|
},
|
|
8971
8965
|
computePrecision() {
|
|
8972
8966
|
return function(d, a = 4, s = "0.0") {
|
|
8973
|
-
return d ?
|
|
8967
|
+
return d ? dt.roundPrecision(d, a) : s;
|
|
8974
8968
|
};
|
|
8975
8969
|
}
|
|
8976
8970
|
},
|
|
@@ -9038,10 +9032,10 @@ const c5 = {
|
|
|
9038
9032
|
style: { "page-break-inside": "avoid" }
|
|
9039
9033
|
}, mU = { key: 0 }, yU = { key: 0 }, vU = { key: 0 }, TU = { key: 0 }, xU = { key: 0 }, zU = { key: 0 };
|
|
9040
9034
|
function jU(d, a, s, c, o, D) {
|
|
9041
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
9042
|
-
const
|
|
9035
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _, y, nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht, j, Bt, Ft, Gt, Pt, Wt, Zt, Lt, Xt, sa, da, ea, na, oa, Ma, Da, Na, ra, Ia, ga, ca, Aa, ua, M, jt, rt, Kt, va, Ta, xa, za, ja, Ua, Ut, ba, ka, Sa, wa, Ra, Va, Fa, Ga, Pa, Wa, Za, La, Ba, _a, Ja, Ha, Xa, Ka, sl, dl, el, nl, ol, Ml, Dl, Nl, rl, Il, gl, cl, Al, ul, ml, yl, vl, Tl, m, Rt, ma, ya, fa, pa, qa, $a, ti, ai, ii, li, si, di, ei, ni, oi, Mi, Di, Ni, ri, Ii, gi, ci, Ai, ui, mi, yi, vi, Ti, xi, zi, ji, Ui, fi, Ei, bi, pi, Oi, hi, Ci, Yi, Qi, ki, Si, wi, Ri, Vi, Fi, Gi, Pi, Wi, Zi, Li, Bi, _i, Ji, Hi, Xi, Ki, qi, $i, tl, al;
|
|
9036
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
9043
9037
|
return e(), n("div", A5, [
|
|
9044
|
-
Nt(
|
|
9038
|
+
Nt(v, { name: "EU ETS & FuelEU Compliance Cost Report" }),
|
|
9045
9039
|
t("div", u5, [
|
|
9046
9040
|
t("div", m5, [
|
|
9047
9041
|
t("div", y5, [
|
|
@@ -9084,14 +9078,14 @@ function jU(d, a, s, c, o, D) {
|
|
|
9084
9078
|
t("div", k5, [
|
|
9085
9079
|
a[9] || (a[9] = t("div", { class: "text-secondary align-left" }, "EUAs", -1)),
|
|
9086
9080
|
t("div", S5, [
|
|
9087
|
-
I(i(Math.round((((B = (
|
|
9088
|
-
t("span", w5, i(Math.round((((
|
|
9081
|
+
I(i(Math.round((((B = (Z = (T = o.form) == null ? void 0 : T.summary) == null ? void 0 : Z.euets) == null ? void 0 : B.euas) ?? 0) * 1e3) / 1e3) + " ", 1),
|
|
9082
|
+
t("span", w5, i(Math.round((((K = (W = (w = o.form) == null ? void 0 : w.summary) == null ? void 0 : W.euets) == null ? void 0 : K.ratio) ?? 0) * 100)) + "%", 1)
|
|
9089
9083
|
])
|
|
9090
9084
|
]),
|
|
9091
9085
|
t("div", R5, [
|
|
9092
9086
|
a[11] || (a[11] = t("div", { class: "text-secondary align-left" }, "EUAs Cost", -1)),
|
|
9093
9087
|
t("div", V5, [
|
|
9094
|
-
I(i(Math.round((((at = (
|
|
9088
|
+
I(i(Math.round((((at = ($ = (q = o.form) == null ? void 0 : q.summary) == null ? void 0 : $.euets) == null ? void 0 : at.cost) ?? 0) * 1e3) / 1e3) + " ", 1),
|
|
9095
9089
|
a[10] || (a[10] = t("span", {
|
|
9096
9090
|
class: "unit",
|
|
9097
9091
|
style: { "margin-left": "4px" }
|
|
@@ -9111,7 +9105,7 @@ function jU(d, a, s, c, o, D) {
|
|
|
9111
9105
|
t("div", P5, [
|
|
9112
9106
|
a[15] || (a[15] = t("div", { class: "text-secondary align-left" }, "FuelEU Penalty", -1)),
|
|
9113
9107
|
t("div", W5, [
|
|
9114
|
-
I(i(((
|
|
9108
|
+
I(i(((y = (_ = (et = o.form) == null ? void 0 : et.summary) == null ? void 0 : _.fueleu) == null ? void 0 : y.penalty) ?? "-"), 1),
|
|
9115
9109
|
a[14] || (a[14] = t("span", {
|
|
9116
9110
|
class: "unit",
|
|
9117
9111
|
style: { "margin-left": "4px" }
|
|
@@ -9151,7 +9145,7 @@ function jU(d, a, s, c, o, D) {
|
|
|
9151
9145
|
], 32))
|
|
9152
9146
|
])
|
|
9153
9147
|
], 2),
|
|
9154
|
-
((It = (
|
|
9148
|
+
((It = (nt = o.form) == null ? void 0 : nt.legs) == null ? void 0 : It.filter((N) => N.category === "SEA_VOYAGE").length) > 0 ? (e(), n("div", J5, [
|
|
9155
9149
|
a[24] || (a[24] = t("div", { class: "header-block" }, [
|
|
9156
9150
|
t("div", { class: "bg-block" }, [
|
|
9157
9151
|
t("i", { class: "iconfont icon-baobiao" }),
|
|
@@ -9219,17 +9213,17 @@ function jU(d, a, s, c, o, D) {
|
|
|
9219
9213
|
t("td", null, i(Math.round((N == null ? void 0 : N.time) * 10 / 24) / 10), 1),
|
|
9220
9214
|
t("td", null, i((N == null ? void 0 : N.distance) || "-"), 1),
|
|
9221
9215
|
(e(!0), n(u, null, O((G = (F = o.form) == null ? void 0 : F.summary) == null ? void 0 : G.fuels, (P) => {
|
|
9222
|
-
var
|
|
9216
|
+
var L;
|
|
9223
9217
|
return e(), n("td", {
|
|
9224
9218
|
key: P.type
|
|
9225
|
-
}, i(((
|
|
9219
|
+
}, i(((L = N.fuels.find((H) => H.type === P.type)) == null ? void 0 : L.consumption) ?? "-"), 1);
|
|
9226
9220
|
}), 128))
|
|
9227
9221
|
]);
|
|
9228
9222
|
}), 128))
|
|
9229
9223
|
])
|
|
9230
9224
|
])
|
|
9231
9225
|
])) : g("", !0),
|
|
9232
|
-
((
|
|
9226
|
+
((Mt = (ot = o.form) == null ? void 0 : ot.legs) == null ? void 0 : Mt.filter((N) => N.category === "PORT_CALL").length) > 0 ? (e(), n("div", $5, [
|
|
9233
9227
|
a[31] || (a[31] = t("div", { class: "header-block" }, [
|
|
9234
9228
|
t("div", { class: "bg-block" }, [
|
|
9235
9229
|
t("i", { class: "iconfont icon-baobiao" }),
|
|
@@ -9265,7 +9259,7 @@ function jU(d, a, s, c, o, D) {
|
|
|
9265
9259
|
], -1)),
|
|
9266
9260
|
t("th", {
|
|
9267
9261
|
class: "label",
|
|
9268
|
-
colspan: (bt = (ft = (
|
|
9262
|
+
colspan: (bt = (ft = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : ft.fuels) == null ? void 0 : bt.length
|
|
9269
9263
|
}, [...a[25] || (a[25] = [
|
|
9270
9264
|
I("Fuel consumption ", -1),
|
|
9271
9265
|
t("br", null, null, -1),
|
|
@@ -9289,11 +9283,11 @@ function jU(d, a, s, c, o, D) {
|
|
|
9289
9283
|
t("td", null, i(D.computeUTCTime(N == null ? void 0 : N.ata) ?? "-"), 1),
|
|
9290
9284
|
t("td", null, i(D.computeUTCTime(N == null ? void 0 : N.atd) ?? "-"), 1),
|
|
9291
9285
|
t("td", null, i(Math.round((N == null ? void 0 : N.time) * 10 / 24) / 10), 1),
|
|
9292
|
-
(e(!0), n(u, null, O((P = (G = o.form) == null ? void 0 : G.summary) == null ? void 0 : P.fuels, (
|
|
9293
|
-
var
|
|
9286
|
+
(e(!0), n(u, null, O((P = (G = o.form) == null ? void 0 : G.summary) == null ? void 0 : P.fuels, (L) => {
|
|
9287
|
+
var H;
|
|
9294
9288
|
return e(), n("td", {
|
|
9295
|
-
key:
|
|
9296
|
-
}, i(((
|
|
9289
|
+
key: L.type
|
|
9290
|
+
}, i(((H = N.fuels.find((tt) => tt.type === L.type)) == null ? void 0 : H.consumption) ?? "-"), 1);
|
|
9297
9291
|
}), 128))
|
|
9298
9292
|
]);
|
|
9299
9293
|
}), 128))
|
|
@@ -9358,15 +9352,15 @@ function jU(d, a, s, c, o, D) {
|
|
|
9358
9352
|
], -1)),
|
|
9359
9353
|
t("tbody", null, [
|
|
9360
9354
|
(e(!0), n(u, null, O((Jt = (Vt = o.form) == null ? void 0 : Vt.summary) == null ? void 0 : Jt.fuels, (N) => {
|
|
9361
|
-
var R, V, F, G, P,
|
|
9355
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt;
|
|
9362
9356
|
return e(), n("tr", {
|
|
9363
9357
|
key: N.type
|
|
9364
9358
|
}, [
|
|
9365
9359
|
t("td", null, i(N.type), 1),
|
|
9366
9360
|
t("td", null, i(N.totalCons), 1),
|
|
9367
9361
|
t("td", null, i(((R = N.factor) == null ? void 0 : R.lcv) ?? "-"), 1),
|
|
9368
|
-
t("td", null, i(((
|
|
9369
|
-
t("td", null, i(((Tt = (vt = (
|
|
9362
|
+
t("td", null, i(((L = (P = (G = (F = (V = o.form) == null ? void 0 : V.summary) == null ? void 0 : F.fueleu) == null ? void 0 : G.fuels) == null ? void 0 : P[N.type]) == null ? void 0 : L.wtw) ?? "-"), 1),
|
|
9363
|
+
t("td", null, i(((Tt = (vt = (Dt = (tt = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : tt.euets) == null ? void 0 : Dt.fuels) == null ? void 0 : vt[N.type]) == null ? void 0 : Tt.euas) ?? "-"), 1),
|
|
9370
9364
|
t("td", null, i(((Qt = (Yt = (Ct = (zt = (xt = o.form) == null ? void 0 : xt.summary) == null ? void 0 : zt.fueleu) == null ? void 0 : Ct.fuels) == null ? void 0 : Yt[N.type]) == null ? void 0 : Qt.wtwEmission) ?? "-"), 1)
|
|
9371
9365
|
]);
|
|
9372
9366
|
}), 128))
|
|
@@ -9487,12 +9481,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9487
9481
|
a[43] || (a[43] = t("td", null, "CO₂ emitted", -1)),
|
|
9488
9482
|
a[44] || (a[44] = t("td", null, "tCO₂eq", -1)),
|
|
9489
9483
|
(e(!0), n(u, null, O((Xt = (Lt = o.form) == null ? void 0 : Lt.summary) == null ? void 0 : Xt.fuels, (N) => {
|
|
9490
|
-
var R, V, F, G, P,
|
|
9484
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la;
|
|
9491
9485
|
return e(), n("td", {
|
|
9492
9486
|
key: N == null ? void 0 : N.type
|
|
9493
9487
|
}, [
|
|
9494
9488
|
t("span", null, i((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.cons), 1),
|
|
9495
|
-
t("span", null, " * " + i((vt = (
|
|
9489
|
+
t("span", null, " * " + i((vt = (Dt = (tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.euets) == null ? void 0 : tt.fuels) == null ? void 0 : Dt[N == null ? void 0 : N.type]) == null ? void 0 : vt.factor.co2), 1),
|
|
9496
9490
|
t("span", null, " * " + i((qt = (Qt = (Yt = (Ct = (zt = (xt = (Tt = o.form) == null ? void 0 : Tt.summary) == null ? void 0 : xt.euets) == null ? void 0 : zt.fuels) == null ? void 0 : Ct[N == null ? void 0 : N.type]) == null ? void 0 : Yt.gwp) == null ? void 0 : Qt.euets) == null ? void 0 : qt.CO2), 1),
|
|
9497
9491
|
t("span", null, " = " + i((la = (ia = (aa = (ta = ($t = o.form) == null ? void 0 : $t.summary) == null ? void 0 : ta.euets) == null ? void 0 : aa.fuels) == null ? void 0 : ia[N == null ? void 0 : N.type]) == null ? void 0 : la.co2), 1)
|
|
9498
9492
|
]);
|
|
@@ -9502,12 +9496,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9502
9496
|
a[45] || (a[45] = t("td", null, "CH₄ emitted", -1)),
|
|
9503
9497
|
a[46] || (a[46] = t("td", null, "tCO₂eq", -1)),
|
|
9504
9498
|
(e(!0), n(u, null, O((da = (sa = o.form) == null ? void 0 : sa.summary) == null ? void 0 : da.fuels, (N) => {
|
|
9505
|
-
var R, V, F, G, P,
|
|
9499
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la;
|
|
9506
9500
|
return e(), n("td", {
|
|
9507
9501
|
key: N.type
|
|
9508
9502
|
}, [
|
|
9509
9503
|
t("span", null, i((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.cons), 1),
|
|
9510
|
-
t("span", null, " * " + i((vt = (
|
|
9504
|
+
t("span", null, " * " + i((vt = (Dt = (tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.euets) == null ? void 0 : tt.fuels) == null ? void 0 : Dt[N.type]) == null ? void 0 : vt.factor.ch4), 1),
|
|
9511
9505
|
t("span", null, " * " + i((qt = (Qt = (Yt = (Ct = (zt = (xt = (Tt = o.form) == null ? void 0 : Tt.summary) == null ? void 0 : xt.euets) == null ? void 0 : zt.fuels) == null ? void 0 : Ct[N.type]) == null ? void 0 : Yt.gwp) == null ? void 0 : Qt.euets) == null ? void 0 : qt.CH4), 1),
|
|
9512
9506
|
t("span", null, " = " + i((la = (ia = (aa = (ta = ($t = o.form) == null ? void 0 : $t.summary) == null ? void 0 : ta.euets) == null ? void 0 : aa.fuels) == null ? void 0 : ia[N.type]) == null ? void 0 : la.ch4), 1)
|
|
9513
9507
|
]);
|
|
@@ -9517,12 +9511,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9517
9511
|
a[47] || (a[47] = t("td", null, "N₂O emitted", -1)),
|
|
9518
9512
|
a[48] || (a[48] = t("td", null, "tCO₂eq", -1)),
|
|
9519
9513
|
(e(!0), n(u, null, O((na = (ea = o.form) == null ? void 0 : ea.summary) == null ? void 0 : na.fuels, (N) => {
|
|
9520
|
-
var R, V, F, G, P,
|
|
9514
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la;
|
|
9521
9515
|
return e(), n("td", {
|
|
9522
9516
|
key: N == null ? void 0 : N.type
|
|
9523
9517
|
}, [
|
|
9524
9518
|
t("span", null, i((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.euets) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.cons), 1),
|
|
9525
|
-
t("span", null, " * " + i((vt = (
|
|
9519
|
+
t("span", null, " * " + i((vt = (Dt = (tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.euets) == null ? void 0 : tt.fuels) == null ? void 0 : Dt[N == null ? void 0 : N.type]) == null ? void 0 : vt.factor.n2o), 1),
|
|
9526
9520
|
t("span", null, " * " + i((qt = (Qt = (Yt = (Ct = (zt = (xt = (Tt = o.form) == null ? void 0 : Tt.summary) == null ? void 0 : xt.euets) == null ? void 0 : zt.fuels) == null ? void 0 : Ct[N == null ? void 0 : N.type]) == null ? void 0 : Yt.gwp) == null ? void 0 : Qt.euets) == null ? void 0 : qt.N2O), 1),
|
|
9527
9521
|
t("span", null, " = " + i((la = (ia = (aa = (ta = ($t = o.form) == null ? void 0 : $t.summary) == null ? void 0 : ta.euets) == null ? void 0 : aa.fuels) == null ? void 0 : ia[N == null ? void 0 : N.type]) == null ? void 0 : la.n2o), 1)
|
|
9528
9522
|
]);
|
|
@@ -9629,13 +9623,13 @@ function jU(d, a, s, c, o, D) {
|
|
|
9629
9623
|
], -1)),
|
|
9630
9624
|
t("tbody", null, [
|
|
9631
9625
|
(e(!0), n(u, null, O((Sa = (ka = o.form) == null ? void 0 : ka.summary) == null ? void 0 : Sa.fuels, (N) => {
|
|
9632
|
-
var R, V, F, G, P,
|
|
9626
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il, Ul, fl, El, bl, pl, Ol, hl, Cl, Yl, Ql, kl;
|
|
9633
9627
|
return e(), n("tr", {
|
|
9634
9628
|
key: N.type
|
|
9635
9629
|
}, [
|
|
9636
9630
|
t("td", null, i(N == null ? void 0 : N.type), 1),
|
|
9637
|
-
t("td", null, i(((
|
|
9638
|
-
t("td", null, i(((xt = (Tt = (vt = (
|
|
9631
|
+
t("td", null, i(((L = (P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : L.lcv) || "-"), 1),
|
|
9632
|
+
t("td", null, i(((xt = (Tt = (vt = (Dt = (tt = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : tt.fueleu) == null ? void 0 : Dt.fuels) == null ? void 0 : vt[N == null ? void 0 : N.type]) == null ? void 0 : Tt.factor) == null ? void 0 : xt.wtt) || "-"), 1),
|
|
9639
9633
|
t("td", null, i((($t = (qt = (Qt = (Yt = (Ct = (zt = o.form) == null ? void 0 : zt.summary) == null ? void 0 : Ct.fueleu) == null ? void 0 : Yt.fuels) == null ? void 0 : Qt[N == null ? void 0 : N.type]) == null ? void 0 : qt.factor) == null ? void 0 : $t.co2) || "-"), 1),
|
|
9640
9634
|
t("td", null, i(((ha = (Oa = (la = (ia = (aa = (ta = o.form) == null ? void 0 : ta.summary) == null ? void 0 : aa.fueleu) == null ? void 0 : ia.fuels) == null ? void 0 : la[N == null ? void 0 : N.type]) == null ? void 0 : Oa.factor) == null ? void 0 : ha.ch4) || "-"), 1),
|
|
9641
9635
|
t("td", null, i(((pl = (bl = (El = (fl = (Ul = (il = o.form) == null ? void 0 : il.summary) == null ? void 0 : Ul.fueleu) == null ? void 0 : fl.fuels) == null ? void 0 : El[N == null ? void 0 : N.type]) == null ? void 0 : bl.factor) == null ? void 0 : pl.n2o) || "-"), 1),
|
|
@@ -9704,22 +9698,22 @@ function jU(d, a, s, c, o, D) {
|
|
|
9704
9698
|
a[72] || (a[72] = t("td", null, "LCV", -1)),
|
|
9705
9699
|
a[73] || (a[73] = t("td", null, "MJ/g", -1)),
|
|
9706
9700
|
(e(!0), n(u, null, O((Ba = (La = o.form) == null ? void 0 : La.summary) == null ? void 0 : Ba.fuels, (N) => {
|
|
9707
|
-
var R, V, F, G, P,
|
|
9701
|
+
var R, V, F, G, P, L;
|
|
9708
9702
|
return e(), n("td", {
|
|
9709
9703
|
key: N.type
|
|
9710
|
-
}, i((
|
|
9704
|
+
}, i((L = (P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.factor) == null ? void 0 : L.lcv), 1);
|
|
9711
9705
|
}), 128))
|
|
9712
9706
|
]),
|
|
9713
9707
|
t("tr", null, [
|
|
9714
9708
|
a[74] || (a[74] = t("td", null, "Energy use in scope", -1)),
|
|
9715
9709
|
a[75] || (a[75] = t("td", null, "10⁶MJ", -1)),
|
|
9716
9710
|
(e(!0), n(u, null, O((Ja = (_a = o.form) == null ? void 0 : _a.summary) == null ? void 0 : Ja.fuels, (N) => {
|
|
9717
|
-
var R, V, F, G, P,
|
|
9711
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt;
|
|
9718
9712
|
return e(), n("td", {
|
|
9719
9713
|
key: N.type
|
|
9720
9714
|
}, [
|
|
9721
9715
|
t("span", null, i(((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N.type]) == null ? void 0 : P.cons) ?? "-"), 1),
|
|
9722
|
-
t("span", null, " * " + i(((Tt = (vt = (
|
|
9716
|
+
t("span", null, " * " + i(((Tt = (vt = (Dt = (tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.fueleu) == null ? void 0 : tt.fuels) == null ? void 0 : Dt[N.type]) == null ? void 0 : vt.factor) == null ? void 0 : Tt.lcv) || "-"), 1),
|
|
9723
9717
|
t("span", null, " = " + i((Qt = (Yt = (Ct = (zt = (xt = o.form) == null ? void 0 : xt.summary) == null ? void 0 : zt.fueleu) == null ? void 0 : Ct.fuels) == null ? void 0 : Yt[N.type]) == null ? void 0 : Qt.energy), 1)
|
|
9724
9718
|
]);
|
|
9725
9719
|
}), 128))
|
|
@@ -9728,22 +9722,22 @@ function jU(d, a, s, c, o, D) {
|
|
|
9728
9722
|
a[76] || (a[76] = t("td", null, "WtT GHG", -1)),
|
|
9729
9723
|
a[77] || (a[77] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9730
9724
|
(e(!0), n(u, null, O((Xa = (Ha = o.form) == null ? void 0 : Ha.summary) == null ? void 0 : Xa.fuels, (N) => {
|
|
9731
|
-
var R, V, F, G, P,
|
|
9725
|
+
var R, V, F, G, P, L;
|
|
9732
9726
|
return e(), n("td", {
|
|
9733
9727
|
key: N == null ? void 0 : N.type
|
|
9734
|
-
}, i(((
|
|
9728
|
+
}, i(((L = (P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : L.wtt) || "-"), 1);
|
|
9735
9729
|
}), 128))
|
|
9736
9730
|
]),
|
|
9737
9731
|
t("tr", null, [
|
|
9738
9732
|
a[78] || (a[78] = t("td", null, "TtW CO2", -1)),
|
|
9739
9733
|
a[79] || (a[79] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9740
9734
|
(e(!0), n(u, null, O((sl = (Ka = o.form) == null ? void 0 : Ka.summary) == null ? void 0 : sl.fuels, (N) => {
|
|
9741
|
-
var R, V, F, G, P,
|
|
9735
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha;
|
|
9742
9736
|
return e(), n("td", {
|
|
9743
9737
|
key: N.type
|
|
9744
9738
|
}, [
|
|
9745
|
-
t("span", null, i(((
|
|
9746
|
-
t("span", null, " / " + i(((xt = (Tt = (vt = (
|
|
9739
|
+
t("span", null, i(((L = (P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : L.co2) || "-"), 1),
|
|
9740
|
+
t("span", null, " / " + i(((xt = (Tt = (vt = (Dt = (tt = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : tt.fueleu) == null ? void 0 : Dt.fuels) == null ? void 0 : vt[N == null ? void 0 : N.type]) == null ? void 0 : Tt.factor) == null ? void 0 : xt.lcv) || "-"), 1),
|
|
9747
9741
|
t("span", null, " x " + i(((ta = ($t = (qt = (Qt = (Yt = (Ct = (zt = o.form) == null ? void 0 : zt.summary) == null ? void 0 : Ct.fueleu) == null ? void 0 : Yt.fuels) == null ? void 0 : Qt[N == null ? void 0 : N.type]) == null ? void 0 : qt.gwp) == null ? void 0 : $t.fuelEU) == null ? void 0 : ta.CO2) || "-"), 1),
|
|
9748
9742
|
t("span", null, " = " + i(((ha = (Oa = (la = (ia = (aa = o.form) == null ? void 0 : aa.summary) == null ? void 0 : ia.fueleu) == null ? void 0 : la.fuels) == null ? void 0 : Oa[N == null ? void 0 : N.type]) == null ? void 0 : ha.rawTtw.co2) || "-"), 1)
|
|
9749
9743
|
]);
|
|
@@ -9753,12 +9747,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9753
9747
|
a[80] || (a[80] = t("td", null, "TtW CH4", -1)),
|
|
9754
9748
|
a[81] || (a[81] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9755
9749
|
(e(!0), n(u, null, O((el = (dl = o.form) == null ? void 0 : dl.summary) == null ? void 0 : el.fuels, (N) => {
|
|
9756
|
-
var R, V, F, G, P,
|
|
9750
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il;
|
|
9757
9751
|
return e(), n("td", {
|
|
9758
9752
|
key: N == null ? void 0 : N.type
|
|
9759
9753
|
}, [
|
|
9760
|
-
t("span", null, i(((
|
|
9761
|
-
t("span", null, " / " + i(((xt = (Tt = (vt = (
|
|
9754
|
+
t("span", null, i(((L = (P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : L.ch4) || "-"), 1),
|
|
9755
|
+
t("span", null, " / " + i(((xt = (Tt = (vt = (Dt = (tt = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : tt.fueleu) == null ? void 0 : Dt.fuels) == null ? void 0 : vt[N == null ? void 0 : N.type]) == null ? void 0 : Tt.factor) == null ? void 0 : xt.lcv) || "-"), 1),
|
|
9762
9756
|
t("span", null, " x " + i(((ta = ($t = (qt = (Qt = (Yt = (Ct = (zt = o.form) == null ? void 0 : zt.summary) == null ? void 0 : Ct.fueleu) == null ? void 0 : Yt.fuels) == null ? void 0 : Qt[N == null ? void 0 : N.type]) == null ? void 0 : qt.gwp) == null ? void 0 : $t.fuelEU) == null ? void 0 : ta.CH4) || "-"), 1),
|
|
9763
9757
|
t("span", null, " = " + i(((il = (ha = (Oa = (la = (ia = (aa = o.form) == null ? void 0 : aa.summary) == null ? void 0 : ia.fueleu) == null ? void 0 : la.fuels) == null ? void 0 : Oa[N == null ? void 0 : N.type]) == null ? void 0 : ha.rawTtw) == null ? void 0 : il.ch4) || "-"), 1)
|
|
9764
9758
|
]);
|
|
@@ -9768,12 +9762,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9768
9762
|
a[82] || (a[82] = t("td", null, "TtW N2O", -1)),
|
|
9769
9763
|
a[83] || (a[83] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9770
9764
|
(e(!0), n(u, null, O((ol = (nl = o.form) == null ? void 0 : nl.summary) == null ? void 0 : ol.fuels, (N) => {
|
|
9771
|
-
var R, V, F, G, P,
|
|
9765
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il;
|
|
9772
9766
|
return e(), n("td", {
|
|
9773
9767
|
key: N == null ? void 0 : N.type
|
|
9774
9768
|
}, [
|
|
9775
|
-
t("span", null, i(((
|
|
9776
|
-
t("span", null, " / " + i(((xt = (Tt = (vt = (
|
|
9769
|
+
t("span", null, i(((L = (P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N == null ? void 0 : N.type]) == null ? void 0 : P.factor) == null ? void 0 : L.n2o) || "-"), 1),
|
|
9770
|
+
t("span", null, " / " + i(((xt = (Tt = (vt = (Dt = (tt = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : tt.fueleu) == null ? void 0 : Dt.fuels) == null ? void 0 : vt[N == null ? void 0 : N.type]) == null ? void 0 : Tt.factor) == null ? void 0 : xt.lcv) || "-"), 1),
|
|
9777
9771
|
t("span", null, " x " + i(((ta = ($t = (qt = (Qt = (Yt = (Ct = (zt = o.form) == null ? void 0 : zt.summary) == null ? void 0 : Ct.fueleu) == null ? void 0 : Yt.fuels) == null ? void 0 : Qt[N == null ? void 0 : N.type]) == null ? void 0 : qt.gwp) == null ? void 0 : $t.fuelEU) == null ? void 0 : ta.N2O) || "-"), 1),
|
|
9778
9772
|
t("span", null, " = " + i(((il = (ha = (Oa = (la = (ia = (aa = o.form) == null ? void 0 : aa.summary) == null ? void 0 : ia.fueleu) == null ? void 0 : la.fuels) == null ? void 0 : Oa[N == null ? void 0 : N.type]) == null ? void 0 : ha.rawTtw) == null ? void 0 : il.n2o) || "-"), 1)
|
|
9779
9773
|
]);
|
|
@@ -9816,10 +9810,10 @@ function jU(d, a, s, c, o, D) {
|
|
|
9816
9810
|
a[90] || (a[90] = t("td", null, "10⁶MJ", -1)),
|
|
9817
9811
|
(Al = (cl = (gl = o.form) == null ? void 0 : gl.summary) == null ? void 0 : cl.fueleu) != null && Al.fuels ? (e(), n("td", mU, [
|
|
9818
9812
|
(e(!0), n(u, null, O(Object.keys((yl = (ml = (ul = o.form) == null ? void 0 : ul.summary) == null ? void 0 : ml.fueleu) == null ? void 0 : yl.fuels), (N) => {
|
|
9819
|
-
var R, V, F, G, P,
|
|
9813
|
+
var R, V, F, G, P, L, H, tt;
|
|
9820
9814
|
return e(), n("span", { key: N }, [
|
|
9821
9815
|
I(i((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.energy) + " ", 1),
|
|
9822
|
-
N !== Object.keys((
|
|
9816
|
+
N !== Object.keys((tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.fueleu) == null ? void 0 : tt.fuels).pop() ? (e(), n("span", yU, "+")) : g("", !0)
|
|
9823
9817
|
]);
|
|
9824
9818
|
}), 128)),
|
|
9825
9819
|
t("span", null, " = " + i((m = (Tl = (vl = o.form) == null ? void 0 : vl.summary) == null ? void 0 : Tl.fueleu) == null ? void 0 : m.energy), 1)
|
|
@@ -9831,10 +9825,10 @@ function jU(d, a, s, c, o, D) {
|
|
|
9831
9825
|
(ya = (ma = (Rt = o.form) == null ? void 0 : Rt.summary) == null ? void 0 : ma.fueleu) != null && ya.fuels ? (e(), n("td", vU, [
|
|
9832
9826
|
a[91] || (a[91] = t("span", null, "(", -1)),
|
|
9833
9827
|
(e(!0), n(u, null, O(Object.keys((qa = (pa = (fa = o.form) == null ? void 0 : fa.summary) == null ? void 0 : pa.fueleu) == null ? void 0 : qa.fuels), (N) => {
|
|
9834
|
-
var R, V, F, G, P,
|
|
9828
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt;
|
|
9835
9829
|
return e(), n("span", { key: N }, [
|
|
9836
9830
|
t("span", null, i((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.wtt), 1),
|
|
9837
|
-
t("span", null, " * " + i((vt = (
|
|
9831
|
+
t("span", null, " * " + i((vt = (Dt = (tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.fueleu) == null ? void 0 : tt.fuels) == null ? void 0 : Dt[N]) == null ? void 0 : vt.energy), 1),
|
|
9838
9832
|
N !== Object.keys((zt = (xt = (Tt = o.form) == null ? void 0 : Tt.summary) == null ? void 0 : xt.fueleu) == null ? void 0 : zt.fuels).pop() ? (e(), n("span", TU, "+")) : g("", !0)
|
|
9839
9833
|
]);
|
|
9840
9834
|
}), 128)),
|
|
@@ -9849,10 +9843,10 @@ function jU(d, a, s, c, o, D) {
|
|
|
9849
9843
|
(Di = (Mi = (oi = o.form) == null ? void 0 : oi.summary) == null ? void 0 : Mi.fueleu) != null && Di.fuels ? (e(), n("td", xU, [
|
|
9850
9844
|
a[95] || (a[95] = t("span", null, "(", -1)),
|
|
9851
9845
|
(e(!0), n(u, null, O(Object.keys((Ii = (ri = (Ni = o.form) == null ? void 0 : Ni.summary) == null ? void 0 : ri.fueleu) == null ? void 0 : Ii.fuels), (N) => {
|
|
9852
|
-
var R, V, F, G, P,
|
|
9846
|
+
var R, V, F, G, P, L, H, tt, Dt, vt, Tt, xt, zt;
|
|
9853
9847
|
return e(), n("span", { key: N }, [
|
|
9854
9848
|
t("span", null, i((P = (G = (F = (V = (R = o.form) == null ? void 0 : R.summary) == null ? void 0 : V.fueleu) == null ? void 0 : F.fuels) == null ? void 0 : G[N]) == null ? void 0 : P.ttw), 1),
|
|
9855
|
-
t("span", null, " * " + i((vt = (
|
|
9849
|
+
t("span", null, " * " + i((vt = (Dt = (tt = (H = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : H.fueleu) == null ? void 0 : tt.fuels) == null ? void 0 : Dt[N]) == null ? void 0 : vt.energy), 1),
|
|
9856
9850
|
N !== Object.keys((zt = (xt = (Tt = o.form) == null ? void 0 : Tt.summary) == null ? void 0 : xt.fueleu) == null ? void 0 : zt.fuels).pop() ? (e(), n("span", zU, "+")) : g("", !0)
|
|
9857
9851
|
]);
|
|
9858
9852
|
}), 128)),
|
|
@@ -9931,7 +9925,7 @@ const fU = {
|
|
|
9931
9925
|
},
|
|
9932
9926
|
computePortName() {
|
|
9933
9927
|
return function(d) {
|
|
9934
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
9928
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${dt.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${dt.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
9935
9929
|
};
|
|
9936
9930
|
},
|
|
9937
9931
|
computeBlankHtml() {
|
|
@@ -9974,10 +9968,10 @@ const fU = {
|
|
|
9974
9968
|
class: ""
|
|
9975
9969
|
}, af = ["innerHTML"], lf = { key: 1 }, sf = { class: "section co2-emissions-section" }, df = { class: "orm-report-table" }, ef = { class: "section leg-section" }, nf = { class: "orm-report-table" }, of = ["colspan"], Mf = { style: { "margin-top": "4px" } }, Df = { style: { "margin-top": "4px" } };
|
|
9976
9970
|
function Nf(d, a, s, c, o, D) {
|
|
9977
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
9978
|
-
const
|
|
9971
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, Z, B, w, W, K, q, $, at, it, lt, st, et, _;
|
|
9972
|
+
const v = X("IdmBrand"), r = X("Editor");
|
|
9979
9973
|
return e(), n("div", EU, [
|
|
9980
|
-
Nt(
|
|
9974
|
+
Nt(v, { name: "UK ETS Compliance Cost Analysis Report" }),
|
|
9981
9975
|
t("div", bU, [
|
|
9982
9976
|
t("div", pU, [
|
|
9983
9977
|
t("div", OU, [
|
|
@@ -10046,7 +10040,7 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10046
10040
|
style: { "align-self": "start", "margin-bottom": "12px" }
|
|
10047
10041
|
}, "UK ETS CO₂ emissions", -1)),
|
|
10048
10042
|
t("div", HU, [
|
|
10049
|
-
I(i(Math.round((((w = (B = (
|
|
10043
|
+
I(i(Math.round((((w = (B = (Z = o.form) == null ? void 0 : Z.summary) == null ? void 0 : B.ukets) == null ? void 0 : w.ghg2) ?? 0) * 1e3) / 1e3), 1),
|
|
10050
10044
|
a[13] || (a[13] = t("span", {
|
|
10051
10045
|
class: "unit",
|
|
10052
10046
|
style: { "margin-left": "4px" }
|
|
@@ -10058,14 +10052,14 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10058
10052
|
class: "text-secondary",
|
|
10059
10053
|
style: { "align-self": "start", "margin-bottom": "12px" }
|
|
10060
10054
|
}, "Total Fuel Consumption", -1)),
|
|
10061
|
-
(e(!0), n(u, null, O((
|
|
10062
|
-
key:
|
|
10055
|
+
(e(!0), n(u, null, O((K = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : K.fuels, (y) => (e(), n("div", {
|
|
10056
|
+
key: y.type,
|
|
10063
10057
|
style: { width: "100%" },
|
|
10064
10058
|
class: "flex-between"
|
|
10065
10059
|
}, [
|
|
10066
|
-
t("div", KU, i(
|
|
10060
|
+
t("div", KU, i(y.type ?? "-"), 1),
|
|
10067
10061
|
t("div", qU, [
|
|
10068
|
-
I(i((
|
|
10062
|
+
I(i((y == null ? void 0 : y.uketsCons) ?? "-"), 1),
|
|
10069
10063
|
a[15] || (a[15] = t("span", {
|
|
10070
10064
|
class: "unit",
|
|
10071
10065
|
style: { "margin-left": "4px" }
|
|
@@ -10089,15 +10083,15 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10089
10083
|
o.editable ? (e(), St(r, {
|
|
10090
10084
|
key: 0,
|
|
10091
10085
|
modelValue: o.remarks,
|
|
10092
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
10086
|
+
"onUpdate:modelValue": a[0] || (a[0] = (y) => o.remarks = y),
|
|
10093
10087
|
class: "editor",
|
|
10094
10088
|
height: "80px",
|
|
10095
|
-
onBlur: a[1] || (a[1] = (
|
|
10089
|
+
onBlur: a[1] || (a[1] = (y) => D.handleCommit(y))
|
|
10096
10090
|
}, null, 8, ["modelValue"])) : g("", !0)
|
|
10097
10091
|
])) : (e(), n("div", {
|
|
10098
10092
|
key: 1,
|
|
10099
10093
|
class: "remark-block bg-blue-light-2",
|
|
10100
|
-
onDblclick: a[2] || (a[2] = (
|
|
10094
|
+
onDblclick: a[2] || (a[2] = (y) => o.editable = !0)
|
|
10101
10095
|
}, [
|
|
10102
10096
|
D.computeBlankHtml(o.remarks) ? (e(), n("div", lf, "Please double click to modify remark")) : (e(), n("div", {
|
|
10103
10097
|
key: 0,
|
|
@@ -10156,20 +10150,20 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10156
10150
|
])
|
|
10157
10151
|
], -1)),
|
|
10158
10152
|
t("tbody", null, [
|
|
10159
|
-
(e(!0), n(u, null, O((
|
|
10160
|
-
var
|
|
10153
|
+
(e(!0), n(u, null, O(($ = (q = o.form) == null ? void 0 : q.summary) == null ? void 0 : $.fuels, (y) => {
|
|
10154
|
+
var nt, It, gt, ct, At, ut, mt, yt, U, ot, Mt, J, ft, bt, pt, Ot, ht, wt, Vt;
|
|
10161
10155
|
return e(), n("tr", {
|
|
10162
|
-
key:
|
|
10156
|
+
key: y.type
|
|
10163
10157
|
}, [
|
|
10164
|
-
t("td", null, i(
|
|
10165
|
-
t("td", null, i((
|
|
10166
|
-
t("td", null, i(((
|
|
10167
|
-
t("td", null, i(((It =
|
|
10168
|
-
t("td", null, i(((gt =
|
|
10169
|
-
t("td", null, i(((mt = (ut = (At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.ukets) == null ? void 0 : ut.fuels[
|
|
10170
|
-
t("td", null, i(((
|
|
10171
|
-
t("td", null, i(((pt = (bt = (ft = (
|
|
10172
|
-
t("td", null, i(((Vt = (wt = (ht = (Ot = o.form) == null ? void 0 : Ot.summary) == null ? void 0 : ht.ukets) == null ? void 0 : wt.fuels[
|
|
10158
|
+
t("td", null, i(y.type ?? "-"), 1),
|
|
10159
|
+
t("td", null, i((y == null ? void 0 : y.uketsCons) ?? "-"), 1),
|
|
10160
|
+
t("td", null, i(((nt = y == null ? void 0 : y.factor) == null ? void 0 : nt.co2) ?? "-"), 1),
|
|
10161
|
+
t("td", null, i(((It = y == null ? void 0 : y.factor) == null ? void 0 : It.ch4) ?? "-"), 1),
|
|
10162
|
+
t("td", null, i(((gt = y == null ? void 0 : y.factor) == null ? void 0 : gt.n2o) ?? "-"), 1),
|
|
10163
|
+
t("td", null, i(((mt = (ut = (At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.ukets) == null ? void 0 : ut.fuels[y.type]) == null ? void 0 : mt.co2) ?? "-"), 1),
|
|
10164
|
+
t("td", null, i(((Mt = (ot = (U = (yt = o.form) == null ? void 0 : yt.summary) == null ? void 0 : U.ukets) == null ? void 0 : ot.fuels[y.type]) == null ? void 0 : Mt.ch4) ?? "-"), 1),
|
|
10165
|
+
t("td", null, i(((pt = (bt = (ft = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : ft.ukets) == null ? void 0 : bt.fuels[y.type]) == null ? void 0 : pt.n2o) ?? "-"), 1),
|
|
10166
|
+
t("td", null, i(((Vt = (wt = (ht = (Ot = o.form) == null ? void 0 : Ot.summary) == null ? void 0 : ht.ukets) == null ? void 0 : wt.fuels[y.type]) == null ? void 0 : Vt.ukas) ?? 0), 1)
|
|
10173
10167
|
]);
|
|
10174
10168
|
}), 128))
|
|
10175
10169
|
])
|
|
@@ -10233,37 +10227,37 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10233
10227
|
}, "UKAs", -1))
|
|
10234
10228
|
]),
|
|
10235
10229
|
t("tr", null, [
|
|
10236
|
-
(e(!0), n(u, null, O((
|
|
10237
|
-
key:
|
|
10230
|
+
(e(!0), n(u, null, O((et = (st = o.form) == null ? void 0 : st.summary) == null ? void 0 : et.fuels, (y) => (e(), n("th", {
|
|
10231
|
+
key: y.type,
|
|
10238
10232
|
class: "label"
|
|
10239
|
-
}, i(
|
|
10233
|
+
}, i(y.type), 1))), 128))
|
|
10240
10234
|
])
|
|
10241
10235
|
]),
|
|
10242
10236
|
t("tbody", null, [
|
|
10243
|
-
(e(!0), n(u, null, O((_ = o.form) == null ? void 0 : _.legs, (
|
|
10244
|
-
var
|
|
10237
|
+
(e(!0), n(u, null, O((_ = o.form) == null ? void 0 : _.legs, (y) => {
|
|
10238
|
+
var nt, It, gt, ct, At, ut, mt, yt, U;
|
|
10245
10239
|
return e(), n("tr", {
|
|
10246
|
-
key:
|
|
10240
|
+
key: y.id
|
|
10247
10241
|
}, [
|
|
10248
10242
|
t("td", null, [
|
|
10249
|
-
t("div", null, i(D.computePortName(
|
|
10250
|
-
t("div", Mf, i(D.computeUTCTime((
|
|
10243
|
+
t("div", null, i(D.computePortName(y == null ? void 0 : y.deptPort) ?? "-"), 1),
|
|
10244
|
+
t("div", Mf, i(D.computeUTCTime((y == null ? void 0 : y.category) === "SEA_VOYAGE" ? y == null ? void 0 : y.atd : y == null ? void 0 : y.ata) ?? "-"), 1)
|
|
10251
10245
|
]),
|
|
10252
10246
|
t("td", null, [
|
|
10253
|
-
t("div", null, i(D.computePortName(
|
|
10254
|
-
t("div", Df, i(D.computeUTCTime((
|
|
10247
|
+
t("div", null, i(D.computePortName(y == null ? void 0 : y.destPort) ?? "-"), 1),
|
|
10248
|
+
t("div", Df, i(D.computeUTCTime((y == null ? void 0 : y.category) === "SEA_VOYAGE" ? y == null ? void 0 : y.ata : y == null ? void 0 : y.atd) ?? "-"), 1)
|
|
10255
10249
|
]),
|
|
10256
|
-
t("td", null, i(((gt = (It = (
|
|
10257
|
-
t("td", null, i(Math.round((
|
|
10258
|
-
t("td", null, i((
|
|
10259
|
-
(e(!0), n(u, null, O((At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.fuels, (
|
|
10260
|
-
var
|
|
10250
|
+
t("td", null, i(((gt = (It = (nt = y == null ? void 0 : y.extend) == null ? void 0 : nt.ukets) == null ? void 0 : It.category) == null ? void 0 : gt.replace(/_/g, " ")) ?? "-"), 1),
|
|
10251
|
+
t("td", null, i(Math.round((y == null ? void 0 : y.time) * 10 / 24) / 10), 1),
|
|
10252
|
+
t("td", null, i((y == null ? void 0 : y.distance) ?? "-"), 1),
|
|
10253
|
+
(e(!0), n(u, null, O((At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.fuels, (ot) => {
|
|
10254
|
+
var Mt, J;
|
|
10261
10255
|
return e(), n("td", {
|
|
10262
|
-
key:
|
|
10263
|
-
}, i(((
|
|
10256
|
+
key: ot.type
|
|
10257
|
+
}, i(((J = (Mt = y.fuels) == null ? void 0 : Mt.find((ft) => ft.type === ot.type)) == null ? void 0 : J.consumption) ?? 0), 1);
|
|
10264
10258
|
}), 128)),
|
|
10265
|
-
t("td", null, i(((mt = (ut =
|
|
10266
|
-
t("td", null, i(((U = (yt =
|
|
10259
|
+
t("td", null, i(((mt = (ut = y == null ? void 0 : y.extend) == null ? void 0 : ut.ukets) == null ? void 0 : mt.ghg2) ?? 0), 1),
|
|
10260
|
+
t("td", null, i(((U = (yt = y == null ? void 0 : y.extend) == null ? void 0 : yt.ukets) == null ? void 0 : U.ukas) ?? 0), 1)
|
|
10267
10261
|
]);
|
|
10268
10262
|
}), 128))
|
|
10269
10263
|
])
|
|
@@ -10328,9 +10322,9 @@ const If = {
|
|
|
10328
10322
|
}, gf = { class: "orm-md-report" }, cf = { class: "content-box" };
|
|
10329
10323
|
function Af(d, a, s, c, o, D) {
|
|
10330
10324
|
var E, l, x, Y;
|
|
10331
|
-
const
|
|
10325
|
+
const v = X("IdmBrand"), r = X("MdEditor"), A = X("MdPreview");
|
|
10332
10326
|
return e(), n("div", gf, [
|
|
10333
|
-
Nt(
|
|
10327
|
+
Nt(v, {
|
|
10334
10328
|
name: o.locale === "zhHans" ? (E = s.report) == null ? void 0 : E.nameCn : (l = s.report) == null ? void 0 : l.name
|
|
10335
10329
|
}, null, 8, ["name"]),
|
|
10336
10330
|
t("div", cf, [
|