@idmui/extend 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Plan/src/index.vue.d.ts +1 -1
- package/dist/index.js +358 -352
- 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 K, 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 et } 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 y = K("Toolbar"), r = K("Editor");
|
|
76
76
|
return e(), n("div", Ro, [
|
|
77
|
-
Oo(Nt(
|
|
77
|
+
Oo(Nt(y, {
|
|
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, o) {
|
|
184
|
+
let D = 0;
|
|
185
|
+
return s && a && (D = et.guessTimeZoneOffset(a, s)), `${Et(d).utcOffset(o ?? c ?? D).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, y;
|
|
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((y = (D = d == null ? void 0 : d.speeds) == null ? void 0 : D[0]) == null ? void 0 : y.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, y, 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 = (y = d == null ? void 0 : d.speeds) == null ? void 0 : y[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, y = [];
|
|
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}`), y.push(A), A.suspend && (c != null && c.useRouteParam) && y.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 y;
|
|
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, y, r, A;
|
|
259
|
+
const s = (A = (r = (y = (D = d == null ? void 0 : d.speeds) == null ? void 0 : D[a]) == null ? void 0 : y.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) ? "-" : et.padNumber(d, 3, 0);
|
|
281
281
|
};
|
|
282
282
|
},
|
|
283
283
|
computeLat() {
|
|
284
|
-
return (d, a = 4) =>
|
|
284
|
+
return (d, a = 4) => et.lat2pretty(d, a).pretty;
|
|
285
285
|
},
|
|
286
286
|
computeLng() {
|
|
287
|
-
return (d, a = 4) =>
|
|
287
|
+
return (d, a = 4) => et.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) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.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, y, 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 = (y = this.weatherPrinciple) == null ? void 0 : y.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, y, r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L;
|
|
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 && ((y = (D = (o = d.meteo) == null ? void 0 : o.wave) == null ? void 0 : D.sig) == null ? void 0 : y.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) >= ((L = (T = this.weatherPrinciple) == null ? void 0 : T.heavy) == null ? void 0 : L.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, L, 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
|
|
360
|
-
const
|
|
361
|
-
if (
|
|
362
|
-
const
|
|
363
|
-
d.push(
|
|
364
|
-
|
|
365
|
-
(it =
|
|
366
|
-
(st = (lt =
|
|
367
|
-
(
|
|
368
|
-
(_ =
|
|
369
|
-
(
|
|
358
|
+
(L = (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 || L.forEach((w) => {
|
|
359
|
+
var q, $, tt, at, it, lt, st, nt, _, v;
|
|
360
|
+
const Z = w.meteo;
|
|
361
|
+
if (Z) {
|
|
362
|
+
const ot = Et(Z.utc).utc().format("MMM-DD/HHmm[Z]");
|
|
363
|
+
d.push(ot), c = Math.ceil((($ = (q = Z.wave) == null ? void 0 : q.sig) == null ? void 0 : $.height) > c ? (at = (tt = Z.wave) == null ? void 0 : tt.sig) == null ? void 0 : at.height : c), a.push([
|
|
364
|
+
ot,
|
|
365
|
+
(it = Z.wind) == null ? void 0 : it.kts,
|
|
366
|
+
(st = (lt = Z.wave) == null ? void 0 : lt.sig) == null ? void 0 : st.height,
|
|
367
|
+
(nt = Z.wind) == null ? void 0 : nt.direction,
|
|
368
|
+
(_ = Z.wind) == null ? void 0 : _.degree,
|
|
369
|
+
(v = Z.wind) == null ? void 0 : v.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])), y = 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 - y) / 5 / 0.5) * 0.5, Y = 5 * A, h = 5 * E, f = 5 * l, b = y + 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: y,
|
|
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, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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 y = K("IdmBrand"), r = K("IdmLoading"), A = K("ElTooltip"), E = K("Editor");
|
|
745
745
|
return e(), n("div", Lo, [
|
|
746
|
-
Nt(
|
|
746
|
+
Nt(y, {
|
|
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 = (L = (T = s.plan) == null ? void 0 : T.voyage) == null ? void 0 : L.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(((q = (Z = s.plan) == null ? void 0 : Z.voyage) == null ? void 0 : q.voyNum) || ((tt = ($ = s.plan) == null ? void 0 : $.voyage) == null ? void 0 : tt.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((_ = (nt = (st = s.plan) == null ? void 0 : st.leg) == null ? void 0 : nt.departure) == null ? void 0 : _.name), 1)) : (e(), n("span", dM, i(D.computePosition((ot = (v = s.plan) == null ? void 0 : v.leg) == null ? void 0 : ot.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) || ((Dt = (Mt = (U = (yt = s.plan) == null ? void 0 : yt.speeds) == null ? void 0 : U[o.speedIndex]) == null ? void 0 : Mt.speed) == null ? void 0 : Dt.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 = (H = s.plan) == null ? void 0 : H.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, P, W, J, X, dt;
|
|
903
903
|
return e(), n(u, { key: Rt }, [
|
|
904
904
|
t("tr", null, [
|
|
905
905
|
t("td", UM, i(Rt + 1), 1),
|
|
@@ -918,17 +918,23 @@ 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(
|
|
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),
|
|
922
928
|
a[33] || (a[33] = t("br", null, null, -1)),
|
|
923
|
-
I(" " + i(D.computeUTCTime((
|
|
929
|
+
I(" " + i(D.computeUTCTime((Ui = m.speed) == null ? void 0 : Ui.eta)), 1)
|
|
924
930
|
]),
|
|
925
931
|
t("td", hM, i(D.computeSuspend(m.speed)), 1),
|
|
926
|
-
t("td", CM, i(D.roundPrecision((
|
|
932
|
+
t("td", CM, i(D.roundPrecision((fi = m.speed) == null ? void 0 : fi.totalFoCons, 3)), 1),
|
|
927
933
|
t("td", YM, [
|
|
928
|
-
t("span", null, i(D.roundPrecision((
|
|
929
|
-
(
|
|
934
|
+
t("span", null, i(D.roundPrecision((Ei = m.speed) == null ? void 0 : Ei.totalDgoCons, 3)), 1),
|
|
935
|
+
(pi = (bi = m.speed) == null ? void 0 : bi.extend) != null && pi.totalDgoConsInECA ? (e(), n("span", QM, " + " + i(D.roundPrecision((Oi = m.speed.extend) == null ? void 0 : Oi.totalDgoConsInECA, 3)) + "*", 1)) : g("", !0)
|
|
930
936
|
]),
|
|
931
|
-
D.showCost ? (e(), n("td", kM, i((
|
|
937
|
+
D.showCost ? (e(), n("td", kM, i((Yi = D.roundPrecision(((Ci = (hi = m == null ? void 0 : m.speed) == null ? void 0 : hi.cost) == null ? void 0 : Ci.total) / 1e3, 2)) == null ? void 0 : Yi.toLocaleString("en-US")) + "k", 1)) : g("", !0),
|
|
932
938
|
t("td", {
|
|
933
939
|
rowspan: D.showCost ? 1 : 2
|
|
934
940
|
}, i(D.computeTimeDiff(s.plan, Rt)), 9, SM),
|
|
@@ -938,7 +944,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
938
944
|
placement: "top",
|
|
939
945
|
trigger: "hover",
|
|
940
946
|
width: 300,
|
|
941
|
-
content: (
|
|
947
|
+
content: (ki = (Qi = s.weatherPrinciple) == null ? void 0 : Qi.dangerous) == null ? void 0 : ki.pretty
|
|
942
948
|
}, {
|
|
943
949
|
default: Qa(() => [...a[34] || (a[34] = [
|
|
944
950
|
t("span", { style: { cursor: "pointer" } }, "Danger", -1)
|
|
@@ -951,7 +957,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
951
957
|
placement: "top",
|
|
952
958
|
trigger: "hover",
|
|
953
959
|
width: 300,
|
|
954
|
-
content: (
|
|
960
|
+
content: (wi = (Si = s.weatherPrinciple) == null ? void 0 : Si.severe) == null ? void 0 : wi.pretty
|
|
955
961
|
}, {
|
|
956
962
|
default: Qa(() => [...a[35] || (a[35] = [
|
|
957
963
|
t("span", { style: { cursor: "pointer" } }, "Severe", -1)
|
|
@@ -964,7 +970,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
964
970
|
placement: "top",
|
|
965
971
|
trigger: "hover",
|
|
966
972
|
width: 300,
|
|
967
|
-
content: (
|
|
973
|
+
content: (Vi = (Ri = s.weatherPrinciple) == null ? void 0 : Ri.heavy) == null ? void 0 : Vi.pretty
|
|
968
974
|
}, {
|
|
969
975
|
default: Qa(() => [...a[36] || (a[36] = [
|
|
970
976
|
t("span", { style: { cursor: "pointer" } }, "Heavy", -1)
|
|
@@ -975,19 +981,19 @@ function KD(d, a, s, c, o, D) {
|
|
|
975
981
|
]),
|
|
976
982
|
t("tr", null, [
|
|
977
983
|
t("td", null, [
|
|
978
|
-
((
|
|
979
|
-
t("div", null, "FO: " + i((
|
|
980
|
-
t("div", null, "DO: " + i((
|
|
984
|
+
((Fi = m.speed) == null ? void 0 : Fi.label) !== "Combined" ? (e(), n("div", wM, "FO: " + i((Pi = (Gi = m.speed) == null ? void 0 : Gi.cpCopy) == null ? void 0 : Pi.fo) + " / DO: " + i((Zi = (Wi = m.speed) == null ? void 0 : Wi.cpCopy) == null ? void 0 : Zi.dgo), 1)) : (e(), n(u, { key: 1 }, [
|
|
985
|
+
t("div", null, "FO: " + i((Bi = (Li = m.speed) == null ? void 0 : Li.extend) == null ? void 0 : Bi.cps[0].fo) + " / " + i((Ji = (_i = m.speed) == null ? void 0 : _i.extend) == null ? void 0 : Ji.cps[1].fo), 1),
|
|
986
|
+
t("div", null, "DO: " + i((Xi = (Hi = m.speed) == null ? void 0 : Hi.extend) == null ? void 0 : Xi.cps[0].dgo) + " / " + i((qi = (Ki = m.speed) == null ? void 0 : Ki.extend) == null ? void 0 : qi.cps[1].dgo), 1)
|
|
981
987
|
], 64))
|
|
982
988
|
]),
|
|
983
989
|
t("td", RM, [
|
|
984
|
-
t("span", null, i(D.roundPrecision((
|
|
985
|
-
(
|
|
990
|
+
t("span", null, i(D.roundPrecision(($i = m.speed) == null ? void 0 : $i.totalHrs, 1)), 1),
|
|
991
|
+
(al = (tl = m.speed) == null ? void 0 : tl.extend) != null && al.hoursInECA ? (e(), n("span", VM, " (" + i(D.roundPrecision(m.speed.extend.hoursInECA, 1)) + " in ECA)", 1)) : g("", !0)
|
|
986
992
|
]),
|
|
987
|
-
t("td", null, i(D.roundPrecision((
|
|
988
|
-
D.showCost ? (e(), n("td", FM, i(D.roundPrecision(((
|
|
993
|
+
t("td", null, i(D.roundPrecision((N = m.speed) == null ? void 0 : N.avgSpeed, 2)) + " / " + i(D.roundPrecision((R = m.speed) == null ? void 0 : R.wxFactor, 2)) + " / " + i(D.roundPrecision((V = m.speed) == null ? void 0 : V.cFactor, 2)), 1),
|
|
994
|
+
D.showCost ? (e(), n("td", FM, i(D.roundPrecision(((G = (F = m == null ? void 0 : m.speed) == null ? void 0 : F.cost) == null ? void 0 : G.hire) / 1e3, 2).toLocaleString("en-US")) + "k / " + i(D.roundPrecision(((W = (P = m == null ? void 0 : m.speed) == null ? void 0 : P.cost) == null ? void 0 : W.bunker) / 1e3, 2).toLocaleString("en-US")) + "k ", 1)) : g("", !0),
|
|
989
995
|
D.showCost ? (e(), n("td", GM, i(D.computeCostDiff(s.plan, Rt)), 1)) : g("", !0),
|
|
990
|
-
t("td", null, i(D.roundPrecision(((
|
|
996
|
+
t("td", null, i(D.roundPrecision(((J = m.speed) == null ? void 0 : J.dangerous) / 24, 2)) + " / " + i(D.roundPrecision(((X = m.speed) == null ? void 0 : X.severe) / 24, 2)) + " / " + i(D.roundPrecision(((dt = m.speed) == null ? void 0 : dt.heavy) / 24, 2)), 1)
|
|
991
997
|
])
|
|
992
998
|
], 64);
|
|
993
999
|
}), 128))
|
|
@@ -1042,7 +1048,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1042
1048
|
]),
|
|
1043
1049
|
t("div", qM, [
|
|
1044
1050
|
t("div", $M, [
|
|
1045
|
-
a[48] || (a[48] = _t('<div class="cell-item flex" style="flex:2.5;" data-v-
|
|
1051
|
+
a[48] || (a[48] = _t('<div class="cell-item flex" style="flex:2.5;" data-v-23649a47>Major waypoint</div><div class="cell-item flex" style="flex:2;" data-v-23649a47>Time</div><div class="cell-item flex" data-v-23649a47>Nav</div><div class="cell-item flex" data-v-23649a47>Dist <span class="text-units" data-v-23649a47>(nm)</span></div>', 4)),
|
|
1046
1052
|
(Ra = (wa = s.plan) == null ? void 0 : wa.voyage) != null && Ra.showMajorWPSpd ? (e(), n("div", tD, [...a[46] || (a[46] = [
|
|
1047
1053
|
I("SOG ", -1),
|
|
1048
1054
|
t("span", { class: "text-units" }, "(kts)", -1)
|
|
@@ -1204,7 +1210,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1204
1210
|
]),
|
|
1205
1211
|
t("tbody", null, [
|
|
1206
1212
|
(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) => {
|
|
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,
|
|
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, W, J, X, dt;
|
|
1208
1214
|
return e(), n("tr", { key: Rt }, [
|
|
1209
1215
|
t("td", null, i(D.computeUTCTime(m.eta)), 1),
|
|
1210
1216
|
t("td", wD, [
|
|
@@ -1264,7 +1270,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1264
1270
|
t("td", null, i(D.roundPrecision((F = (V = m.meteo) == null ? void 0 : V.current) == null ? void 0 : F.kts, 1)), 1),
|
|
1265
1271
|
t("td", null, i(D.roundPrecision(m.cFactor, 1)), 1),
|
|
1266
1272
|
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),
|
|
1267
|
-
D.isArctic ? (e(), n("td", XD, i(((
|
|
1273
|
+
D.isArctic ? (e(), n("td", XD, i(((J = (W = m.meteo) == null ? void 0 : W.ice) == null ? void 0 : J.sic) >= 0 ? D.roundPrecision(((dt = (X = m.meteo) == null ? void 0 : X.ice) == null ? void 0 : dt.sic) * 100, 0) : "-"), 1)) : g("", !0)
|
|
1268
1274
|
]);
|
|
1269
1275
|
}), 128))
|
|
1270
1276
|
])
|
|
@@ -1282,7 +1288,7 @@ function KD(d, a, s, c, o, D) {
|
|
|
1282
1288
|
], 64))
|
|
1283
1289
|
]);
|
|
1284
1290
|
}
|
|
1285
|
-
const qD = /* @__PURE__ */ Ya(Zo, [["render", KD], ["__scopeId", "data-v-
|
|
1291
|
+
const qD = /* @__PURE__ */ Ya(Zo, [["render", KD], ["__scopeId", "data-v-23649a47"]]), ff = {
|
|
1286
1292
|
install(d) {
|
|
1287
1293
|
d.component("PlanReport", qD);
|
|
1288
1294
|
}
|
|
@@ -1319,20 +1325,20 @@ const $D = {
|
|
|
1319
1325
|
},
|
|
1320
1326
|
computePosition() {
|
|
1321
1327
|
return function(d) {
|
|
1322
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
1328
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
1323
1329
|
};
|
|
1324
1330
|
}
|
|
1325
1331
|
}
|
|
1326
1332
|
}, 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" };
|
|
1327
1333
|
function AN(d, a, s, c, o, D) {
|
|
1328
|
-
var
|
|
1334
|
+
var y, r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B;
|
|
1329
1335
|
return e(), n("div", tN, [
|
|
1330
1336
|
t("div", aN, [
|
|
1331
1337
|
t("div", iN, i(s.name), 1),
|
|
1332
1338
|
t("div", lN, [
|
|
1333
1339
|
t("div", sN, [
|
|
1334
1340
|
a[0] || (a[0] = t("span", { class: "text-label" }, "Reference No : ", -1)),
|
|
1335
|
-
I(i((r = (
|
|
1341
|
+
I(i((r = (y = s.report) == null ? void 0 : y.voyage) == null ? void 0 : r.number), 1)
|
|
1336
1342
|
]),
|
|
1337
1343
|
t("div", dN, [
|
|
1338
1344
|
a[1] || (a[1] = t("span", { class: "text-label" }, "Report Date : ", -1)),
|
|
@@ -1365,7 +1371,7 @@ function AN(d, a, s, c, o, D) {
|
|
|
1365
1371
|
]),
|
|
1366
1372
|
t("div", gN, [
|
|
1367
1373
|
a[8] || (a[8] = t("span", { class: "text-label" }, "Load Condition : ", -1)),
|
|
1368
|
-
t("span", cN, i((B = (
|
|
1374
|
+
t("span", cN, i((B = (L = s.report) == null ? void 0 : L.voyage) == null ? void 0 : B.loadCondition), 1)
|
|
1369
1375
|
])
|
|
1370
1376
|
])
|
|
1371
1377
|
])
|
|
@@ -1426,12 +1432,12 @@ const mN = {
|
|
|
1426
1432
|
},
|
|
1427
1433
|
computeLng() {
|
|
1428
1434
|
return function(d) {
|
|
1429
|
-
return
|
|
1435
|
+
return et.lng2pretty(d);
|
|
1430
1436
|
};
|
|
1431
1437
|
},
|
|
1432
1438
|
computeLat() {
|
|
1433
1439
|
return function(d) {
|
|
1434
|
-
return
|
|
1440
|
+
return et.lat2pretty(d);
|
|
1435
1441
|
};
|
|
1436
1442
|
},
|
|
1437
1443
|
computeAbtSpeed() {
|
|
@@ -1461,7 +1467,7 @@ const mN = {
|
|
|
1461
1467
|
},
|
|
1462
1468
|
computePrecision() {
|
|
1463
1469
|
return function(d, a = 3) {
|
|
1464
|
-
return
|
|
1470
|
+
return et.roundPrecision(d, a);
|
|
1465
1471
|
};
|
|
1466
1472
|
}
|
|
1467
1473
|
},
|
|
@@ -1479,7 +1485,7 @@ const mN = {
|
|
|
1479
1485
|
prepare() {
|
|
1480
1486
|
var d, a;
|
|
1481
1487
|
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) => {
|
|
1482
|
-
var
|
|
1488
|
+
var y, r;
|
|
1483
1489
|
s.multiFOCons && (this.multiFOCons.hsFoCons += s.multiFOCons.hsFoCons, this.multiFOCons.lsFoCons += s.multiFOCons.lsFoCons), s.excluded.detail.forEach((A) => {
|
|
1484
1490
|
const E = {
|
|
1485
1491
|
time: Et(A.begin).utc().format("MMM-DD/HHmm[Z]") + " - " + Et(A.end).utc().format("MMM-DD/HHmm[Z]"),
|
|
@@ -1490,7 +1496,7 @@ const mN = {
|
|
|
1490
1496
|
};
|
|
1491
1497
|
this.exclusion.push(E);
|
|
1492
1498
|
});
|
|
1493
|
-
const D = (r = (
|
|
1499
|
+
const D = (r = (y = s == null ? void 0 : s.inventory) == null ? void 0 : y.sample) == null ? void 0 : r.hours.filter((A) => A.noon);
|
|
1494
1500
|
this.noons.push([D]);
|
|
1495
1501
|
});
|
|
1496
1502
|
},
|
|
@@ -1713,7 +1719,7 @@ const mN = {
|
|
|
1713
1719
|
};
|
|
1714
1720
|
function gg(d, a, s, c, o, D) {
|
|
1715
1721
|
var r, A, E;
|
|
1716
|
-
const
|
|
1722
|
+
const y = K("Editor");
|
|
1717
1723
|
return e(), n("div", yN, [
|
|
1718
1724
|
t("div", vN, [
|
|
1719
1725
|
a[3] || (a[3] = t("div", { class: "header-block" }, [
|
|
@@ -1734,7 +1740,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1734
1740
|
])
|
|
1735
1741
|
], -1)),
|
|
1736
1742
|
(e(!0), n(u, null, O((r = s.report) == null ? void 0 : r.segments, (l, x) => {
|
|
1737
|
-
var Y, h, f, b, Q, z, p, C, k, T,
|
|
1743
|
+
var Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht;
|
|
1738
1744
|
return e(), n("div", {
|
|
1739
1745
|
key: "summary" + x,
|
|
1740
1746
|
class: "segment-box"
|
|
@@ -1796,14 +1802,14 @@ function gg(d, a, s, c, o, D) {
|
|
|
1796
1802
|
t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "fo", "Under")), 1)
|
|
1797
1803
|
]),
|
|
1798
1804
|
t("td", null, [
|
|
1799
|
-
t("span", null, i((
|
|
1805
|
+
t("span", null, i((L = (T = l == null ? void 0 : l.extend) == null ? void 0 : T.cp) == null ? void 0 : L.dgo) + " |", 1),
|
|
1800
1806
|
a[9] || (a[9] = t("span", { style: { "vertical-align": "super" } }, "+", -1)),
|
|
1801
1807
|
t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "dgo", "Over")) + ",", 1),
|
|
1802
1808
|
a[10] || (a[10] = t("span", { style: { "vertical-align": "super" } }, "-", -1)),
|
|
1803
1809
|
t("span", null, i(D.computeAbtCons(l == null ? void 0 : l.fuelConclusion, "dgo", "Under")), 1)
|
|
1804
1810
|
]),
|
|
1805
1811
|
t("td", null, [
|
|
1806
|
-
(w = (B = s.report) == null ? void 0 : B.voyage) != null && w.showCpRemark ? (e(), n("span", ON, i((
|
|
1812
|
+
(w = (B = s.report) == null ? void 0 : B.voyage) != null && w.showCpRemark ? (e(), n("span", ON, i((q = (Z = l == null ? void 0 : l.extend) == null ? void 0 : Z.cp) == null ? void 0 : q.alias), 1)) : g("", !0)
|
|
1807
1813
|
])
|
|
1808
1814
|
])
|
|
1809
1815
|
])
|
|
@@ -1817,7 +1823,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1817
1823
|
a[12] || (a[12] = t("span", { class: "unit" }, "hrs", -1))
|
|
1818
1824
|
]),
|
|
1819
1825
|
l.goodWx.distance ? (e(), n("div", QN, [
|
|
1820
|
-
((
|
|
1826
|
+
(($ = l == null ? void 0 : l.timeConclusion) == null ? void 0 : $.conclusionStatus) === "Gain" ? (e(), n("span", kN, "Time Gained")) : ((tt = l == null ? void 0 : l.timeConclusion) == null ? void 0 : tt.conclusionStatus) === "Lost" ? (e(), n("span", SN, "Time Lost")) : (e(), n("span", wN, "No Time Lost/Gained"))
|
|
1821
1827
|
])) : (e(), n("div", RN, i(o.noGoodWxDay), 1)),
|
|
1822
1828
|
l.goodWx.distance ? (e(), n("div", VN, [
|
|
1823
1829
|
((at = l == null ? void 0 : l.timeConclusion) == null ? void 0 : at.conclusionStatus) === "Gain" ? (e(), n("div", FN, [
|
|
@@ -1838,7 +1844,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1838
1844
|
a[18] || (a[18] = t("span", { class: "unit" }, "mt", -1))
|
|
1839
1845
|
]),
|
|
1840
1846
|
l.goodWx.distance ? (e(), n("div", _N, [
|
|
1841
|
-
((_ = (
|
|
1847
|
+
((_ = (nt = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : nt.fo) == null ? void 0 : _.conclusionStatus) === "Saving" ? (e(), n("span", JN, "FO Saving")) : ((ot = (v = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : v.fo) == null ? void 0 : ot.conclusionStatus) === "Over" ? (e(), n("span", HN, "FO Over-consumption")) : (e(), n("span", XN, "No FO Over-consumption/Saving"))
|
|
1842
1848
|
])) : (e(), n("div", KN, i(o.noGoodWxDay), 1)),
|
|
1843
1849
|
l.goodWx.distance ? (e(), n("div", qN, [
|
|
1844
1850
|
((gt = (It = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : It.fo) == null ? void 0 : gt.conclusionStatus) === "Saving" ? (e(), n("div", $N, [
|
|
@@ -1859,7 +1865,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1859
1865
|
a[24] || (a[24] = t("span", { class: "unit" }, "mt", -1))
|
|
1860
1866
|
]),
|
|
1861
1867
|
l.goodWx.distance ? (e(), n("div", e1, [
|
|
1862
|
-
((
|
|
1868
|
+
((Dt = (Mt = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : Mt.dgo) == null ? void 0 : Dt.conclusionStatus) === "Saving" ? (e(), n("span", n1, "DO/GO Saving")) : ((ft = (H = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : H.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"))
|
|
1863
1869
|
])) : (e(), n("div", D1, i(o.noGoodWxDay), 1)),
|
|
1864
1870
|
l.goodWx.distance ? (e(), n("div", N1, [
|
|
1865
1871
|
((pt = (bt = l == null ? void 0 : l.fuelConclusion) == null ? void 0 : bt.dgo) == null ? void 0 : pt.conclusionStatus) === "Saving" ? (e(), n("div", r1, [
|
|
@@ -1939,7 +1945,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1939
1945
|
t("div", {
|
|
1940
1946
|
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")
|
|
1941
1947
|
}, [
|
|
1942
|
-
o.editable ? (e(), St(
|
|
1948
|
+
o.editable ? (e(), St(y, {
|
|
1943
1949
|
key: 0,
|
|
1944
1950
|
modelValue: o.remarks,
|
|
1945
1951
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => o.remarks = l),
|
|
@@ -1961,7 +1967,7 @@ function gg(d, a, s, c, o, D) {
|
|
|
1961
1967
|
])
|
|
1962
1968
|
], -1)),
|
|
1963
1969
|
(e(!0), n(u, null, O(s.report.segments, (l, x) => {
|
|
1964
|
-
var Y, h, f, b, Q, z, p, C, k, T,
|
|
1970
|
+
var Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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, W, J, X, 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;
|
|
1965
1971
|
return e(), n("div", {
|
|
1966
1972
|
key: x,
|
|
1967
1973
|
class: "segment-block"
|
|
@@ -2010,26 +2016,26 @@ function gg(d, a, s, c, o, D) {
|
|
|
2010
2016
|
t("span", { class: "text-units" }, "(nm)")
|
|
2011
2017
|
], -1)),
|
|
2012
2018
|
t("td", h1, i((k = (C = l == null ? void 0 : l.goodWx) == null ? void 0 : C.outEca) == null ? void 0 : k.distance), 1),
|
|
2013
|
-
t("td", C1, i((
|
|
2019
|
+
t("td", C1, i((L = (T = l == null ? void 0 : l.goodWx) == null ? void 0 : T.inEca) == null ? void 0 : L.distance), 1),
|
|
2014
2020
|
t("td", null, i((w = (B = l == null ? void 0 : l.allWx) == null ? void 0 : B.outEca) == null ? void 0 : w.distance), 1),
|
|
2015
|
-
t("td", null, i((
|
|
2021
|
+
t("td", null, i((q = (Z = l == null ? void 0 : l.allWx) == null ? void 0 : Z.inEca) == null ? void 0 : q.distance), 1)
|
|
2016
2022
|
]),
|
|
2017
2023
|
t("tr", null, [
|
|
2018
2024
|
a[38] || (a[38] = t("td", { class: "bg-blue-light-2" }, [
|
|
2019
2025
|
I("Total Time "),
|
|
2020
2026
|
t("span", { class: "text-units" }, "(hrs)")
|
|
2021
2027
|
], -1)),
|
|
2022
|
-
t("td", Y1, i((
|
|
2028
|
+
t("td", Y1, i((tt = ($ = l == null ? void 0 : l.goodWx) == null ? void 0 : $.outEca) == null ? void 0 : tt.time), 1),
|
|
2023
2029
|
t("td", Q1, i((it = (at = l == null ? void 0 : l.goodWx) == null ? void 0 : at.inEca) == null ? void 0 : it.time), 1),
|
|
2024
2030
|
t("td", null, i((st = (lt = l == null ? void 0 : l.allWx) == null ? void 0 : lt.outEca) == null ? void 0 : st.time), 1),
|
|
2025
|
-
t("td", null, i((_ = (
|
|
2031
|
+
t("td", null, i((_ = (nt = l == null ? void 0 : l.allWx) == null ? void 0 : nt.inEca) == null ? void 0 : _.time), 1)
|
|
2026
2032
|
]),
|
|
2027
2033
|
t("tr", null, [
|
|
2028
2034
|
a[39] || (a[39] = t("td", { class: "bg-blue-light-2" }, [
|
|
2029
2035
|
I("Average Speed "),
|
|
2030
2036
|
t("span", { class: "text-units" }, "(kts)")
|
|
2031
2037
|
], -1)),
|
|
2032
|
-
t("td", k1, i(((
|
|
2038
|
+
t("td", k1, i(((ot = (v = l == null ? void 0 : l.goodWx) == null ? void 0 : v.outEca) == null ? void 0 : ot.avgSpd) || "--"), 1),
|
|
2033
2039
|
t("td", S1, i(((gt = (It = l == null ? void 0 : l.goodWx) == null ? void 0 : It.inEca) == null ? void 0 : gt.avgSpd) || "--"), 1),
|
|
2034
2040
|
t("td", null, i(((At = (ct = l == null ? void 0 : l.allWx) == null ? void 0 : ct.outEca) == null ? void 0 : At.avgSpd) || "--"), 1),
|
|
2035
2041
|
t("td", null, i(((mt = (ut = l == null ? void 0 : l.allWx) == null ? void 0 : ut.inEca) == null ? void 0 : mt.avgSpd) || "--"), 1)
|
|
@@ -2040,8 +2046,8 @@ function gg(d, a, s, c, o, D) {
|
|
|
2040
2046
|
t("span", { class: "text-units" }, "(mt)")
|
|
2041
2047
|
], -1)),
|
|
2042
2048
|
t("td", w1, i(((U = (yt = l == null ? void 0 : l.goodWx) == null ? void 0 : yt.outEca) == null ? void 0 : U.sumFoCons) || "--"), 1),
|
|
2043
|
-
t("td", R1, i(((
|
|
2044
|
-
t("td", null, i(((ft = (
|
|
2049
|
+
t("td", R1, i(((Dt = (Mt = l == null ? void 0 : l.goodWx) == null ? void 0 : Mt.inEca) == null ? void 0 : Dt.sumFoCons) || "--"), 1),
|
|
2050
|
+
t("td", null, i(((ft = (H = l == null ? void 0 : l.allWx) == null ? void 0 : H.outEca) == null ? void 0 : ft.sumFoCons) || "--"), 1),
|
|
2045
2051
|
t("td", null, i(((pt = (bt = l == null ? void 0 : l.allWx) == null ? void 0 : bt.inEca) == null ? void 0 : pt.sumFoCons) || "--"), 1)
|
|
2046
2052
|
]),
|
|
2047
2053
|
t("tr", null, [
|
|
@@ -2326,12 +2332,12 @@ function gg(d, a, s, c, o, D) {
|
|
|
2326
2332
|
]),
|
|
2327
2333
|
t("div", Pr, [
|
|
2328
2334
|
t("div", Wr, [
|
|
2329
|
-
t("div", null, i((P = (G = s.report) == null ? void 0 : G.weather) != null && P.noExtrapolation ? (
|
|
2335
|
+
t("div", null, i((P = (G = s.report) == null ? void 0 : G.weather) != null && P.noExtrapolation ? (W = l == null ? void 0 : l.goodWx) == null ? void 0 : W.distance : (J = l == null ? void 0 : l.allWx) == null ? void 0 : J.distance), 1),
|
|
2330
2336
|
a[109] || (a[109] = t("div", { class: "line" }, null, -1)),
|
|
2331
|
-
t("div", null, i((
|
|
2337
|
+
t("div", null, i((X = l == null ? void 0 : l.timeConclusion) == null ? void 0 : X.minusAbtSpd), 1)
|
|
2332
2338
|
]),
|
|
2333
2339
|
a[110] || (a[110] = t("div", null, "=", -1)),
|
|
2334
|
-
t("div", null, i((
|
|
2340
|
+
t("div", null, i((dt = l == null ? void 0 : l.timeConclusion) == null ? void 0 : dt.timeAtMinusAbtSpd) + " (hrs)", 1),
|
|
2335
2341
|
a[111] || (a[111] = t("div", null, "(b')", -1))
|
|
2336
2342
|
])
|
|
2337
2343
|
]),
|
|
@@ -2867,17 +2873,17 @@ const Ag = {
|
|
|
2867
2873
|
},
|
|
2868
2874
|
computeLng() {
|
|
2869
2875
|
return function(d) {
|
|
2870
|
-
return
|
|
2876
|
+
return et.lng2pretty(d);
|
|
2871
2877
|
};
|
|
2872
2878
|
},
|
|
2873
2879
|
computeLat() {
|
|
2874
2880
|
return function(d) {
|
|
2875
|
-
return
|
|
2881
|
+
return et.lat2pretty(d);
|
|
2876
2882
|
};
|
|
2877
2883
|
},
|
|
2878
2884
|
computePrecision() {
|
|
2879
2885
|
return function(d, a = 2, s = "0.0") {
|
|
2880
|
-
return d ?
|
|
2886
|
+
return d ? et.roundPrecision(d, a) : s;
|
|
2881
2887
|
};
|
|
2882
2888
|
}
|
|
2883
2889
|
},
|
|
@@ -2893,8 +2899,8 @@ const Ag = {
|
|
|
2893
2899
|
},
|
|
2894
2900
|
methods: {
|
|
2895
2901
|
prepare() {
|
|
2896
|
-
var d, a, s, c, o, D,
|
|
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 = (
|
|
2902
|
+
var d, a, s, c, o, D, y, r, A, E, l, x;
|
|
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 = (y = this.report) == null ? void 0 : y.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;
|
|
2898
2904
|
}
|
|
2899
2905
|
}
|
|
2900
2906
|
}, ug = { class: "report-inventory" }, mg = { class: "section summary-section" }, yg = { class: "summary-block" }, vg = { class: "orm-report-table inventory-table" }, Tg = {
|
|
@@ -2954,7 +2960,7 @@ const Ag = {
|
|
|
2954
2960
|
class: "label"
|
|
2955
2961
|
}, Vg = { class: "summary-tbody" };
|
|
2956
2962
|
function Fg(d, a, s, c, o, D) {
|
|
2957
|
-
var
|
|
2963
|
+
var y;
|
|
2958
2964
|
return e(), n("div", ug, [
|
|
2959
2965
|
t("div", mg, [
|
|
2960
2966
|
a[5] || (a[5] = t("div", { class: "header-block" }, [
|
|
@@ -3010,8 +3016,8 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3010
3016
|
])
|
|
3011
3017
|
], -1)),
|
|
3012
3018
|
t("tbody", null, [
|
|
3013
|
-
(e(!0), n(u, null, O((
|
|
3014
|
-
var E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
3019
|
+
(e(!0), n(u, null, O((y = s.report) == null ? void 0 : y.segments, (r, A) => {
|
|
3020
|
+
var E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt;
|
|
3015
3021
|
return e(), n(u, { key: A }, [
|
|
3016
3022
|
t("tr", null, [
|
|
3017
3023
|
t("td", Tg, i(A + 1), 1),
|
|
@@ -3035,16 +3041,16 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3035
3041
|
t("td", null, i(D.computePrecision((C = r == null ? void 0 : r.badWx) == null ? void 0 : C.distance, 2, "0.0")), 1),
|
|
3036
3042
|
t("td", null, i(D.computePrecision((k = r == null ? void 0 : r.badWx) == null ? void 0 : k.time, 2, "0.0")), 1),
|
|
3037
3043
|
t("td", null, i(D.computePrecision((T = r == null ? void 0 : r.badWx) == null ? void 0 : T.avgSpd, 2, "0.0")), 1),
|
|
3038
|
-
t("td", null, i(D.computePrecision((
|
|
3044
|
+
t("td", null, i(D.computePrecision((L = r == null ? void 0 : r.badWx) == null ? void 0 : L.sumFoCons, 3, "0.000")), 1),
|
|
3039
3045
|
t("td", null, i(D.computePrecision((B = r == null ? void 0 : r.badWx) == null ? void 0 : B.sumDgoCons, 3, "0.000")), 1)
|
|
3040
3046
|
]),
|
|
3041
3047
|
t("tr", null, [
|
|
3042
3048
|
a[3] || (a[3] = t("td", { class: "label" }, "Excluded Period", -1)),
|
|
3043
3049
|
t("td", null, i(D.computePrecision((w = r == null ? void 0 : r.excluded) == null ? void 0 : w.sumDistance, 2, "0.0")), 1),
|
|
3044
|
-
t("td", null, i(D.computePrecision((
|
|
3045
|
-
t("td", null, i(D.computePrecision((
|
|
3046
|
-
t("td", null, i(D.computePrecision((
|
|
3047
|
-
t("td", null, i(D.computePrecision((
|
|
3050
|
+
t("td", null, i(D.computePrecision((Z = r == null ? void 0 : r.excluded) == null ? void 0 : Z.sumDuration, 2, "0.0")), 1),
|
|
3051
|
+
t("td", null, i(D.computePrecision((q = r == null ? void 0 : r.excluded) == null ? void 0 : q.avgSpd, 2, "0.0")), 1),
|
|
3052
|
+
t("td", null, i(D.computePrecision(($ = r == null ? void 0 : r.excluded) == null ? void 0 : $.sumFoCons, 3, "0.000")), 1),
|
|
3053
|
+
t("td", null, i(D.computePrecision((tt = r == null ? void 0 : r.excluded) == null ? void 0 : tt.sumDgoCons, 3, "0.000")), 1)
|
|
3048
3054
|
])
|
|
3049
3055
|
], 64);
|
|
3050
3056
|
}), 128))
|
|
@@ -3237,7 +3243,7 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3237
3243
|
]),
|
|
3238
3244
|
t("tbody", Vg, [
|
|
3239
3245
|
(e(!0), n(u, null, O(s.inventory, (r, A) => {
|
|
3240
|
-
var E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
3246
|
+
var E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st;
|
|
3241
3247
|
return e(), n("tr", { key: A }, [
|
|
3242
3248
|
t("td", {
|
|
3243
3249
|
class: S(r.segLength ? "no-border-bottom" : "no-border")
|
|
@@ -3292,15 +3298,15 @@ function Fg(d, a, s, c, o, D) {
|
|
|
3292
3298
|
o.showSwell ? (e(), n("td", {
|
|
3293
3299
|
key: 6,
|
|
3294
3300
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
3295
|
-
}, i(r.type === "BOSP" ? "-" : ((B = (
|
|
3301
|
+
}, i(r.type === "BOSP" ? "-" : ((B = (L = (T = r.meteo) == null ? void 0 : T.wave) == null ? void 0 : L.swell) == null ? void 0 : B.height) ?? "-"), 3)) : g("", !0),
|
|
3296
3302
|
o.showSig ? (e(), n("td", {
|
|
3297
3303
|
key: 7,
|
|
3298
3304
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
3299
|
-
}, i(r.type === "BOSP" ? "-" : ((
|
|
3305
|
+
}, i(r.type === "BOSP" ? "-" : ((q = (Z = (w = r.meteo) == null ? void 0 : w.wave) == null ? void 0 : Z.sig) == null ? void 0 : q.height) ?? "-"), 3)) : g("", !0),
|
|
3300
3306
|
o.showCF ? (e(), n("td", {
|
|
3301
3307
|
key: 8,
|
|
3302
3308
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
3303
|
-
}, i(r.type === "BOSP" ? "-" : ((
|
|
3309
|
+
}, i(r.type === "BOSP" ? "-" : ((tt = ($ = r.meteo) == null ? void 0 : $.current) == null ? void 0 : tt.direction) ?? "-"), 3)) : g("", !0),
|
|
3304
3310
|
o.showCF ? (e(), n("td", {
|
|
3305
3311
|
key: 9,
|
|
3306
3312
|
class: S(r.excluded ? "excluded" : r.goodWx ? "good-wx" : "")
|
|
@@ -3395,7 +3401,7 @@ const Pg = {
|
|
|
3395
3401
|
},
|
|
3396
3402
|
computePosition() {
|
|
3397
3403
|
return function(d) {
|
|
3398
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
3404
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
3399
3405
|
};
|
|
3400
3406
|
}
|
|
3401
3407
|
},
|
|
@@ -3429,7 +3435,7 @@ const Pg = {
|
|
|
3429
3435
|
excluded: 9
|
|
3430
3436
|
};
|
|
3431
3437
|
let o = 0, D = 0;
|
|
3432
|
-
const
|
|
3438
|
+
const y = this.inventory.filter((z) => z.noon) || [], r = [];
|
|
3433
3439
|
this.inventory.forEach((z, p) => {
|
|
3434
3440
|
var C, k;
|
|
3435
3441
|
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);
|
|
@@ -3439,12 +3445,12 @@ const Pg = {
|
|
|
3439
3445
|
for (let k = 0; k <= C + 1; k++)
|
|
3440
3446
|
a.push(this.computeUTCTime(Et(r[p]).clone().utc().add(k, "m").format(), "MM-DD/HHmm[Z]"));
|
|
3441
3447
|
}
|
|
3442
|
-
}),
|
|
3443
|
-
var k, T,
|
|
3448
|
+
}), y.forEach((z, p) => {
|
|
3449
|
+
var k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt;
|
|
3444
3450
|
const C = this.computeUTCTime(z.utc, "MM-DD/HHmm[Z]");
|
|
3445
|
-
if (z.noon && !d.some((_) => _.slice(0, 5) === z.utc.slice(5, 10)) && d.push(C), p ===
|
|
3451
|
+
if (z.noon && !d.some((_) => _.slice(0, 5) === z.utc.slice(5, 10)) && d.push(C), p === y.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(((L = z.cp) == null ? void 0 : L.fo) > o ? (B = z.cp) == null ? void 0 : B.fo : o), D = Math.ceil(((w = z.noon) == null ? void 0 : w.dgoCons) > D ? (Z = z.noon) == null ? void 0 : Z.dgoCons : D), D = Math.ceil(((q = z.cp) == null ? void 0 : q.dgo) > D ? ($ = z.cp) == null ? void 0 : $.dgo : D), s.push([
|
|
3446
3452
|
C,
|
|
3447
|
-
(
|
|
3453
|
+
(tt = z.noon) == null ? void 0 : tt.avgSpd,
|
|
3448
3454
|
(at = z.noon) == null ? void 0 : at.foCons,
|
|
3449
3455
|
(it = z.noon) == null ? void 0 : it.dgoCons,
|
|
3450
3456
|
z.avgSpdCalc,
|
|
@@ -3453,13 +3459,13 @@ const Pg = {
|
|
|
3453
3459
|
z.cp.dgo,
|
|
3454
3460
|
z.cp.fo,
|
|
3455
3461
|
z.excluded ? 100 : 0
|
|
3456
|
-
]), p <
|
|
3457
|
-
const _ =
|
|
3462
|
+
]), p < y.length - 1) {
|
|
3463
|
+
const _ = y[p + 1];
|
|
3458
3464
|
s.push([
|
|
3459
3465
|
C,
|
|
3460
3466
|
(lt = _.noon) == null ? void 0 : lt.avgSpd,
|
|
3461
3467
|
(st = _.noon) == null ? void 0 : st.foCons,
|
|
3462
|
-
(
|
|
3468
|
+
(nt = _.noon) == null ? void 0 : nt.dgoCons,
|
|
3463
3469
|
_.avgSpdCalc,
|
|
3464
3470
|
_.cp.speed,
|
|
3465
3471
|
_.goodWx && !_.excluded ? 100 : 0,
|
|
@@ -3919,41 +3925,41 @@ const Pg = {
|
|
|
3919
3925
|
excluded: 8
|
|
3920
3926
|
};
|
|
3921
3927
|
let o = 4;
|
|
3922
|
-
const D = this.inventory || [],
|
|
3928
|
+
const D = this.inventory || [], y = [];
|
|
3923
3929
|
D.forEach((f, b) => {
|
|
3924
3930
|
var Q, z;
|
|
3925
|
-
b === 0 &&
|
|
3926
|
-
}),
|
|
3931
|
+
b === 0 && y.push(f.utc), f.type === "EOSP" && ((Q = D[b + 1]) == null ? void 0 : Q.type) === "BOSP" && (y.push(f.utc), y.push((z = D[b + 1]) == null ? void 0 : z.utc)), b === D.length - 1 && y.push(f.utc);
|
|
3932
|
+
}), y.forEach((f, b) => {
|
|
3927
3933
|
if (b % 2 === 0) {
|
|
3928
|
-
const Q = Et(
|
|
3934
|
+
const Q = Et(y[b + 1]).diff(Et(y[b]), "minute", !0);
|
|
3929
3935
|
for (let z = 0; z <= Q + 1; z++)
|
|
3930
|
-
a.push(this.computeUTCTime(Et(
|
|
3936
|
+
a.push(this.computeUTCTime(Et(y[b]).clone().utc().add(z, "m").format(), "MM-DD/HHmm[Z]"));
|
|
3931
3937
|
}
|
|
3932
3938
|
}), D.forEach((f, b) => {
|
|
3933
|
-
var z, p, C, k, T,
|
|
3939
|
+
var z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt;
|
|
3934
3940
|
const Q = this.computeUTCTime(f.utc, "MM-DD/HHmm[Z]");
|
|
3935
|
-
if (f.noon && !d.some((
|
|
3941
|
+
if (f.noon && !d.some((H) => H.slice(0, 5) === f.utc.slice(5, 10)) && d.push(Q), b === D.length - 1 && (d = d.filter((H) => H.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 ? (L = (T = (k = f.meteo) == null ? void 0 : k.wave) == null ? void 0 : T.sig) == null ? void 0 : L.height : o), s.push([
|
|
3936
3942
|
Q,
|
|
3937
|
-
((B = f.noon) == null ? void 0 : B.windBF) || ((
|
|
3938
|
-
(
|
|
3939
|
-
(at = (
|
|
3943
|
+
((B = f.noon) == null ? void 0 : B.windBF) || ((Z = (w = f.meteo) == null ? void 0 : w.wind) == null ? void 0 : Z.scale),
|
|
3944
|
+
($ = (q = f.meteo) == null ? void 0 : q.wind) == null ? void 0 : $.scale,
|
|
3945
|
+
(at = (tt = f.meteo) == null ? void 0 : tt.wind) == null ? void 0 : at.direction,
|
|
3940
3946
|
(it = f.noon) == null ? void 0 : it.seasHt,
|
|
3941
|
-
(
|
|
3947
|
+
(nt = (st = (lt = f.meteo) == null ? void 0 : lt.wave) == null ? void 0 : st.sig) == null ? void 0 : nt.height,
|
|
3942
3948
|
f.dailyAvgCf ?? ((_ = s[s.length - 1]) == null ? void 0 : _[c.anlyCurFct]),
|
|
3943
3949
|
f.goodWx && !f.excluded ? 20 : 0,
|
|
3944
3950
|
f.excluded ? 20 : 0
|
|
3945
3951
|
]), b < D.length - 1) {
|
|
3946
|
-
const
|
|
3952
|
+
const H = D[b + 1];
|
|
3947
3953
|
s.push([
|
|
3948
3954
|
Q,
|
|
3949
|
-
((
|
|
3950
|
-
(ct = (gt =
|
|
3951
|
-
(ut = (At =
|
|
3952
|
-
(mt =
|
|
3953
|
-
(
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3955
|
+
((v = f.noon) == null ? void 0 : v.windBF) || ((It = (ot = f.meteo) == null ? void 0 : ot.wind) == null ? void 0 : It.scale),
|
|
3956
|
+
(ct = (gt = H.meteo) == null ? void 0 : gt.wind) == null ? void 0 : ct.scale,
|
|
3957
|
+
(ut = (At = H.meteo) == null ? void 0 : At.wind) == null ? void 0 : ut.direction,
|
|
3958
|
+
(mt = H.noon) == null ? void 0 : mt.seasHt,
|
|
3959
|
+
(Mt = (U = (yt = f.meteo) == null ? void 0 : yt.wave) == null ? void 0 : U.sig) == null ? void 0 : Mt.height,
|
|
3960
|
+
H.dailyAvgCf ?? ((Dt = s[s.length - 1]) == null ? void 0 : Dt[c.anlyCurFct]),
|
|
3961
|
+
H.goodWx && !H.excluded ? 20 : 0,
|
|
3962
|
+
H.excluded ? 20 : 0
|
|
3957
3963
|
]);
|
|
3958
3964
|
}
|
|
3959
3965
|
});
|
|
@@ -4275,7 +4281,7 @@ const Pg = {
|
|
|
4275
4281
|
style: { flex: "1", "text-transform": "uppercase" }
|
|
4276
4282
|
}, gc = ["src"];
|
|
4277
4283
|
function cc(d, a, s, c, o, D) {
|
|
4278
|
-
var
|
|
4284
|
+
var y, r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z;
|
|
4279
4285
|
return e(), n("div", Wg, [
|
|
4280
4286
|
t("div", Zg, [
|
|
4281
4287
|
a[0] || (a[0] = t("div", { class: "header-block" }, [
|
|
@@ -4306,7 +4312,7 @@ function cc(d, a, s, c, o, D) {
|
|
|
4306
4312
|
]),
|
|
4307
4313
|
t("div", ac, [
|
|
4308
4314
|
a[2] || (a[2] = t("label", { class: "text-label flex-end" }, "Vessel", -1)),
|
|
4309
|
-
t("span", ic, i((r = (
|
|
4315
|
+
t("span", ic, i((r = (y = s.report) == null ? void 0 : y.vessel) == null ? void 0 : r.name), 1),
|
|
4310
4316
|
t("span", lc, "(" + i((E = (A = s.report) == null ? void 0 : A.vessel) == null ? void 0 : E.type) + ")", 1)
|
|
4311
4317
|
]),
|
|
4312
4318
|
t("div", sc, [
|
|
@@ -4321,7 +4327,7 @@ function cc(d, a, s, c, o, D) {
|
|
|
4321
4327
|
t("div", Mc, [
|
|
4322
4328
|
a[5] || (a[5] = t("label", { class: "text-label flex-end" }, "Arrival Port", -1)),
|
|
4323
4329
|
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),
|
|
4324
|
-
t("span", Nc, i(D.computeUTCTime((
|
|
4330
|
+
t("span", Nc, i(D.computeUTCTime((L = (T = s.report) == null ? void 0 : T.arrival) == null ? void 0 : L.utcTime, "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
4325
4331
|
]),
|
|
4326
4332
|
t("div", rc, [
|
|
4327
4333
|
a[6] || (a[6] = t("label", { class: "text-label flex-end" }, "Load Condition", -1)),
|
|
@@ -4331,7 +4337,7 @@ function cc(d, a, s, c, o, D) {
|
|
|
4331
4337
|
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))
|
|
4332
4338
|
]),
|
|
4333
4339
|
t("img", {
|
|
4334
|
-
src: (
|
|
4340
|
+
src: (Z = s.report) == null ? void 0 : Z.chartUrl,
|
|
4335
4341
|
alt: ""
|
|
4336
4342
|
}, null, 8, gc)
|
|
4337
4343
|
])
|
|
@@ -4389,8 +4395,8 @@ const uc = {
|
|
|
4389
4395
|
const Y = `<p>${x}</p>`;
|
|
4390
4396
|
c = c + Y;
|
|
4391
4397
|
}), c = c + "</div>") : c = a.body;
|
|
4392
|
-
const o = document.getElementById("col1"), D = document.getElementById("col2"),
|
|
4393
|
-
if (
|
|
4398
|
+
const o = document.getElementById("col1"), D = document.getElementById("col2"), y = (o == null ? void 0 : o.offsetHeight) || 0, r = (D == null ? void 0 : D.offsetHeight) || 0;
|
|
4399
|
+
if (y <= r) {
|
|
4394
4400
|
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"}">
|
|
4395
4401
|
<div class="vrpt-date">Date: ${a.date}</div>
|
|
4396
4402
|
<div class="vrpt-from">From: ${a.from}</div>
|
|
@@ -4472,11 +4478,11 @@ const Tc = {
|
|
|
4472
4478
|
const d = [];
|
|
4473
4479
|
(s = (a = this.report) == null ? void 0 : a.segments) == null || s.forEach((c) => {
|
|
4474
4480
|
const o = c.extend.cp;
|
|
4475
|
-
let D,
|
|
4481
|
+
let D, y, r = !1;
|
|
4476
4482
|
c.inventory.sample.hours.forEach((A, E) => {
|
|
4477
|
-
D || (D = A), (!
|
|
4483
|
+
D || (D = A), (!y || r) && (y = A, r = !1), D.segIndex === A.segIndex ? D.segLength = (D.segLength || 0) + 1 : (D = A, D.segLength = 1), y.noonLength = (y.noonLength || 0) + 1;
|
|
4478
4484
|
let l = A.type.charAt(0);
|
|
4479
|
-
["N", "M", "E"].includes(l) && (r = !0,
|
|
4485
|
+
["N", "M", "E"].includes(l) && (r = !0, y.dailyAvgCf = A.dailyAvgCf, y.avgSpdCalc = A.avgSpdCalc, y.distanceCalc = A.distanceCalc, y.noon && (y.noon.foCons = A.noon.foCons, y.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 = et.lng2pretty(A.lng), A._lat = et.lat2pretty(A.lat), A.cp = o, A.goodWx = A.type === "BOSP" ? !1 : A.goodWx, d.push(A);
|
|
4480
4486
|
});
|
|
4481
4487
|
}), d.sort((c, o) => c.positionTime - o.positionTime), this.inventory = d;
|
|
4482
4488
|
}
|
|
@@ -4490,11 +4496,11 @@ const Tc = {
|
|
|
4490
4496
|
};
|
|
4491
4497
|
function Uc(d, a, s, c, o, D) {
|
|
4492
4498
|
var h, f, b;
|
|
4493
|
-
const
|
|
4499
|
+
const y = K("Cover"), r = K("IdmLoading"), A = K("VoySummary"), E = K("Inventory"), l = K("Chart"), x = K("Email"), Y = K("IdmSign");
|
|
4494
4500
|
return e(), n("div", {
|
|
4495
4501
|
class: S((f = (h = s.report) == null ? void 0 : h.weather) != null && f.referenceOnly ? "orm-voyage-report watermark" : "orm-voyage-report")
|
|
4496
4502
|
}, [
|
|
4497
|
-
Nt(
|
|
4503
|
+
Nt(y, {
|
|
4498
4504
|
report: s.report,
|
|
4499
4505
|
name: "Voyage Analysis Report"
|
|
4500
4506
|
}, null, 8, ["report"]),
|
|
@@ -4590,8 +4596,8 @@ const Ec = {
|
|
|
4590
4596
|
watch: {
|
|
4591
4597
|
report: {
|
|
4592
4598
|
handler() {
|
|
4593
|
-
var d, a, s, c, o, D,
|
|
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 = (
|
|
4599
|
+
var d, a, s, c, o, D, y, r, A, E;
|
|
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 = (y = this.report) == null ? void 0 : y.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;
|
|
4595
4601
|
},
|
|
4596
4602
|
immediate: !0
|
|
4597
4603
|
}
|
|
@@ -4608,10 +4614,10 @@ const Ec = {
|
|
|
4608
4614
|
style: { "margin-top": "20px", padding: "8px" }
|
|
4609
4615
|
}, 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" };
|
|
4610
4616
|
function EA(d, a, s, c, o, D) {
|
|
4611
|
-
var r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
4612
|
-
const
|
|
4617
|
+
var r, A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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;
|
|
4618
|
+
const y = K("IdmBrand");
|
|
4613
4619
|
return e(), n("div", bc, [
|
|
4614
|
-
Nt(
|
|
4620
|
+
Nt(y, {
|
|
4615
4621
|
name: "INVOICE",
|
|
4616
4622
|
issued: s.report.createdAt
|
|
4617
4623
|
}, null, 8, ["issued"]),
|
|
@@ -4755,7 +4761,7 @@ function EA(d, a, s, c, o, D) {
|
|
|
4755
4761
|
}, "MEMO", -1)),
|
|
4756
4762
|
t("div", {
|
|
4757
4763
|
class: "invoice-item",
|
|
4758
|
-
innerHTML: (
|
|
4764
|
+
innerHTML: (L = (T = s.report) == null ? void 0 : T.memo) == null ? void 0 : L.replace(`
|
|
4759
4765
|
`, "<br/>")
|
|
4760
4766
|
}, null, 8, eA)
|
|
4761
4767
|
])) : g("", !0)
|
|
@@ -4770,19 +4776,19 @@ function EA(d, a, s, c, o, D) {
|
|
|
4770
4776
|
((B = s.report) == null ? void 0 : B.paymentType) === "CNY" ? (e(), n(u, { key: 0 }, [
|
|
4771
4777
|
t("div", DA, [
|
|
4772
4778
|
a[22] || (a[22] = t("label", null, "Bank", -1)),
|
|
4773
|
-
t("span", null, i((
|
|
4779
|
+
t("span", null, i(($ = (q = o.account) == null ? void 0 : q[(Z = (w = s.report) == null ? void 0 : w.paymentType) == null ? void 0 : Z.toLowerCase()]) == null ? void 0 : $.bank), 1)
|
|
4774
4780
|
]),
|
|
4775
4781
|
t("div", NA, [
|
|
4776
4782
|
a[23] || (a[23] = t("label", null, "Account", -1)),
|
|
4777
|
-
t("span", null, i((lt = (it = o.account) == null ? void 0 : it[(at = (
|
|
4783
|
+
t("span", null, i((lt = (it = o.account) == null ? void 0 : it[(at = (tt = s.report) == null ? void 0 : tt.paymentType) == null ? void 0 : at.toLowerCase()]) == null ? void 0 : lt.number), 1)
|
|
4778
4784
|
]),
|
|
4779
4785
|
t("div", rA, [
|
|
4780
4786
|
a[24] || (a[24] = t("label", null, "Title", -1)),
|
|
4781
|
-
t("span", null, i((
|
|
4787
|
+
t("span", null, i((v = (_ = o.account) == null ? void 0 : _[(nt = (st = s.report) == null ? void 0 : st.paymentType) == null ? void 0 : nt.toLowerCase()]) == null ? void 0 : v.title), 1)
|
|
4782
4788
|
]),
|
|
4783
4789
|
t("div", IA, [
|
|
4784
4790
|
a[25] || (a[25] = t("label", null, "Addr", -1)),
|
|
4785
|
-
t("span", null, i((ct = (gt = o.account) == null ? void 0 : gt[(It = (
|
|
4791
|
+
t("span", null, i((ct = (gt = o.account) == null ? void 0 : gt[(It = (ot = s.report) == null ? void 0 : ot.paymentType) == null ? void 0 : It.toLowerCase()]) == null ? void 0 : ct.address), 1)
|
|
4786
4792
|
]),
|
|
4787
4793
|
t("div", gA, [
|
|
4788
4794
|
a[26] || (a[26] = t("label", null, "Tel", -1)),
|
|
@@ -4790,7 +4796,7 @@ function EA(d, a, s, c, o, D) {
|
|
|
4790
4796
|
]),
|
|
4791
4797
|
t("div", cA, [
|
|
4792
4798
|
a[27] || (a[27] = t("label", null, "Tax ID", -1)),
|
|
4793
|
-
t("span", null, i((
|
|
4799
|
+
t("span", null, i((H = (Dt = o.account) == null ? void 0 : Dt[(Mt = (U = s.report) == null ? void 0 : U.paymentType) == null ? void 0 : Mt.toLowerCase()]) == null ? void 0 : H.taxId), 1)
|
|
4794
4800
|
])
|
|
4795
4801
|
], 64)) : (e(), n(u, { key: 1 }, [
|
|
4796
4802
|
t("div", AA, [
|
|
@@ -4972,7 +4978,7 @@ const CA = {
|
|
|
4972
4978
|
class: "buttons"
|
|
4973
4979
|
};
|
|
4974
4980
|
function SA(d, a, s, c, o, D) {
|
|
4975
|
-
const
|
|
4981
|
+
const y = K("ElTag"), r = K("ElInput"), A = K("IdmEditor"), E = K("ElInputNumber"), l = K("ElDatePicker"), x = K("ElOption"), Y = K("ElSelect"), h = K("ElRadio"), f = K("ElRadioGroup"), b = K("ElCheckbox"), Q = K("ElCheckboxGroup"), z = K("Edit"), p = K("ElIcon"), C = K("ElButton"), k = K("Close");
|
|
4976
4982
|
return e(), n("div", YA, [
|
|
4977
4983
|
t("div", {
|
|
4978
4984
|
class: "group",
|
|
@@ -5147,7 +5153,7 @@ function SA(d, a, s, c, o, D) {
|
|
|
5147
5153
|
}, 8, ["modelValue", "size", "onChange"])) : g("", !0)
|
|
5148
5154
|
], 64)) : (e(), n(u, { key: 1 }, [
|
|
5149
5155
|
typeof s.raw == "boolean" ? (e(), n(u, { key: 0 }, [
|
|
5150
|
-
s.raw ? (e(), St(
|
|
5156
|
+
s.raw ? (e(), St(y, {
|
|
5151
5157
|
key: 0,
|
|
5152
5158
|
size: "small",
|
|
5153
5159
|
type: "success",
|
|
@@ -5158,7 +5164,7 @@ function SA(d, a, s, c, o, D) {
|
|
|
5158
5164
|
I(i(s.value), 1)
|
|
5159
5165
|
]),
|
|
5160
5166
|
_: 1
|
|
5161
|
-
}, 8, ["onDblclick"])) : (e(), St(
|
|
5167
|
+
}, 8, ["onDblclick"])) : (e(), St(y, {
|
|
5162
5168
|
key: 1,
|
|
5163
5169
|
size: "small",
|
|
5164
5170
|
type: "info",
|
|
@@ -5280,12 +5286,12 @@ const RA = {
|
|
|
5280
5286
|
// 经纬度转换
|
|
5281
5287
|
computedLngLat() {
|
|
5282
5288
|
return function(d, a) {
|
|
5283
|
-
return `${
|
|
5289
|
+
return `${et.lat2pretty(d).pretty} / ${et.lng2pretty(a).pretty}`;
|
|
5284
5290
|
};
|
|
5285
5291
|
},
|
|
5286
5292
|
computePosition() {
|
|
5287
5293
|
return function(d) {
|
|
5288
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
5294
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
5289
5295
|
};
|
|
5290
5296
|
},
|
|
5291
5297
|
computeBlankHtml() {
|
|
@@ -5354,7 +5360,7 @@ const RA = {
|
|
|
5354
5360
|
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;
|
|
5355
5361
|
},
|
|
5356
5362
|
async handleCommit(d, a, s, c) {
|
|
5357
|
-
var
|
|
5363
|
+
var y;
|
|
5358
5364
|
this.editable = !1;
|
|
5359
5365
|
const o = a == null ? void 0 : a.indexOf(".");
|
|
5360
5366
|
let D = {};
|
|
@@ -5379,7 +5385,7 @@ const RA = {
|
|
|
5379
5385
|
Authorization: this.token
|
|
5380
5386
|
}
|
|
5381
5387
|
}
|
|
5382
|
-
), A = (
|
|
5388
|
+
), A = (y = r == null ? void 0 : r.data) == null ? void 0 : y.data;
|
|
5383
5389
|
this.$emit("refresh", A), this.extraPortList = A == null ? void 0 : A.extraPorts;
|
|
5384
5390
|
}
|
|
5385
5391
|
}
|
|
@@ -5504,10 +5510,10 @@ const RA = {
|
|
|
5504
5510
|
class: ""
|
|
5505
5511
|
}, tT = ["innerHTML"], aT = { key: 1 }, iT = { class: "section map-section" }, lT = { class: "report-map" }, sT = ["src"];
|
|
5506
5512
|
function dT(d, a, s, c, o, D) {
|
|
5507
|
-
var l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
5508
|
-
const
|
|
5513
|
+
var l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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;
|
|
5514
|
+
const y = K("IdmBrand"), r = K("EditableItem"), A = K("ElButton"), E = K("Editor");
|
|
5509
5515
|
return e(), n("div", VA, [
|
|
5510
|
-
Nt(
|
|
5516
|
+
Nt(y, { name: "Voyage Deviation Report" }),
|
|
5511
5517
|
t("div", FA, [
|
|
5512
5518
|
t("div", GA, [
|
|
5513
5519
|
t("div", PA, [
|
|
@@ -5527,13 +5533,13 @@ function dT(d, a, s, c, o, D) {
|
|
|
5527
5533
|
t("div", HA, [
|
|
5528
5534
|
t("div", XA, [
|
|
5529
5535
|
a[12] || (a[12] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
5530
|
-
(k = (C = s.report) == null ? void 0 : C.departure) != null && k.name ? (e(), n("span", KA, i((
|
|
5531
|
-
t("span", $A, i(D.computeUTCTime(((
|
|
5536
|
+
(k = (C = s.report) == null ? void 0 : C.departure) != null && k.name ? (e(), n("span", KA, i((L = (T = s.report) == null ? void 0 : T.departure) == null ? void 0 : L.name), 1)) : (e(), n("span", qA, i(D.computePosition((B = s.report) == null ? void 0 : B.departure)), 1)),
|
|
5537
|
+
t("span", $A, i(D.computeUTCTime(((Z = (w = s.report) == null ? void 0 : w.departure) == null ? void 0 : Z.atd) || (($ = (q = s.report) == null ? void 0 : q.departure) == null ? void 0 : $.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
5532
5538
|
]),
|
|
5533
5539
|
t("div", tu, [
|
|
5534
5540
|
a[13] || (a[13] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
5535
|
-
(at = (
|
|
5536
|
-
t("span", lu, i(D.computeUTCTime(((_ = (
|
|
5541
|
+
(at = (tt = s.report) == null ? void 0 : tt.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)),
|
|
5542
|
+
t("span", lu, i(D.computeUTCTime(((_ = (nt = s.report) == null ? void 0 : nt.arrival) == null ? void 0 : _.ata) || ((ot = (v = s.report) == null ? void 0 : v.arrival) == null ? void 0 : ot.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
5537
5543
|
]),
|
|
5538
5544
|
t("div", su, [
|
|
5539
5545
|
a[14] || (a[14] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -5611,8 +5617,8 @@ function dT(d, a, s, c, o, D) {
|
|
|
5611
5617
|
]),
|
|
5612
5618
|
t("tr", null, [
|
|
5613
5619
|
a[18] || (a[18] = t("td", null, "Back on Track", -1)),
|
|
5614
|
-
t("td", null, i(D.computedLngLat((
|
|
5615
|
-
t("td", null, i(D.computeUTCTime((
|
|
5620
|
+
t("td", null, i(D.computedLngLat((Mt = s.report) == null ? void 0 : Mt.endLat, (Dt = s.report) == null ? void 0 : Dt.endLng)), 1),
|
|
5621
|
+
t("td", null, i(D.computeUTCTime((H = s.report) == null ? void 0 : H.endTime)), 1),
|
|
5616
5622
|
t("td", null, [
|
|
5617
5623
|
Nt(r, {
|
|
5618
5624
|
style: { padding: "0px" },
|
|
@@ -5879,7 +5885,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
5879
5885
|
])
|
|
5880
5886
|
], -1)),
|
|
5881
5887
|
(e(!0), n(u, null, O((Aa = (ca = s.report) == null ? void 0 : ca.extend) == null ? void 0 : Aa.rows, (M, jt) => {
|
|
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,
|
|
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, W, J, X, 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;
|
|
5883
5889
|
return e(), n("div", {
|
|
5884
5890
|
key: jt,
|
|
5885
5891
|
class: "seg-item",
|
|
@@ -6402,7 +6408,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6402
6408
|
t("div", nv, i((F = (V = M == null ? void 0 : M.consAnalysis) == null ? void 0 : V.dgo) == null ? void 0 : F.totalExtraCons) + " (mt)", 1)
|
|
6403
6409
|
])
|
|
6404
6410
|
])) : ((G = s.report) == null ? void 0 : G.method) === "ConsExtrapolate" ? (e(), n("div", ov, [
|
|
6405
|
-
(
|
|
6411
|
+
(W = (P = M == null ? void 0 : M.consAnalysis) == null ? void 0 : P.fo) != null && W.realCons || (X = (J = M == null ? void 0 : M.consAnalysis) == null ? void 0 : J.fo) != null && X.actualCons ? (e(), n("div", Mv, [
|
|
6406
6412
|
a[170] || (a[170] = t("div", {
|
|
6407
6413
|
class: "fraction flex-center",
|
|
6408
6414
|
style: { width: "180px" }
|
|
@@ -6442,7 +6448,7 @@ function dT(d, a, s, c, o, D) {
|
|
|
6442
6448
|
])
|
|
6443
6449
|
]),
|
|
6444
6450
|
a[175] || (a[175] = t("div", { class: "sig" }, "=", -1)),
|
|
6445
|
-
t("div", Uv, i((vt = (
|
|
6451
|
+
t("div", Uv, i((vt = (dt = M == null ? void 0 : M.consAnalysis) == null ? void 0 : dt.fo) == null ? void 0 : vt.sailingCons) + " (mt)", 1)
|
|
6446
6452
|
])) : g("", !0),
|
|
6447
6453
|
(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, [
|
|
6448
6454
|
a[176] || (a[176] = _t('<div class="fraction flex-center" style="width:180px;" data-v-138d9d92>FO Total Extra Consumption</div><div class="sig" data-v-138d9d92>=</div><div class="fraction flex-center" style="width:180px;" data-v-138d9d92>FO Consumption for Actual Route</div><div class="sig" data-v-138d9d92>-</div><div class="fraction flex-center" style="width:180px;" data-v-138d9d92>FO Consumption for Route prior to deviation sailing</div><div class="sig" data-v-138d9d92>=</div>', 6)),
|
|
@@ -6591,17 +6597,17 @@ const nT = {
|
|
|
6591
6597
|
},
|
|
6592
6598
|
computeLat() {
|
|
6593
6599
|
return function(d) {
|
|
6594
|
-
return
|
|
6600
|
+
return et.lat2pretty(d, 3);
|
|
6595
6601
|
};
|
|
6596
6602
|
},
|
|
6597
6603
|
computeLng() {
|
|
6598
6604
|
return function(d) {
|
|
6599
|
-
return
|
|
6605
|
+
return et.lng2pretty(d, 3);
|
|
6600
6606
|
};
|
|
6601
6607
|
},
|
|
6602
6608
|
computeRoundPrecision() {
|
|
6603
6609
|
return function(d, a = 3) {
|
|
6604
|
-
return d === "-" ? "-" :
|
|
6610
|
+
return d === "-" ? "-" : et.roundPrecision(d, a);
|
|
6605
6611
|
};
|
|
6606
6612
|
},
|
|
6607
6613
|
computeBlankHtml() {
|
|
@@ -6611,7 +6617,7 @@ const nT = {
|
|
|
6611
6617
|
},
|
|
6612
6618
|
computePosition() {
|
|
6613
6619
|
return function(d) {
|
|
6614
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
6620
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
6615
6621
|
};
|
|
6616
6622
|
}
|
|
6617
6623
|
},
|
|
@@ -6634,10 +6640,10 @@ const nT = {
|
|
|
6634
6640
|
class: ""
|
|
6635
6641
|
}, 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"];
|
|
6636
6642
|
function N0(d, a, s, c, o, D) {
|
|
6637
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
6638
|
-
const
|
|
6643
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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;
|
|
6644
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
6639
6645
|
return e(), n("div", oT, [
|
|
6640
|
-
Nt(
|
|
6646
|
+
Nt(y, { name: "Voyage Stoppage Report" }),
|
|
6641
6647
|
t("div", MT, [
|
|
6642
6648
|
t("div", DT, [
|
|
6643
6649
|
t("div", NT, [
|
|
@@ -6657,13 +6663,13 @@ function N0(d, a, s, c, o, D) {
|
|
|
6657
6663
|
t("div", mT, [
|
|
6658
6664
|
t("div", yT, [
|
|
6659
6665
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
6660
|
-
(
|
|
6661
|
-
t("span", xT, i(D.computeUTCTime(((
|
|
6666
|
+
(L = (T = s.report) == null ? void 0 : T.departure) != null && L.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((Z = s.report) == null ? void 0 : Z.departure)), 1)),
|
|
6667
|
+
t("span", xT, i(D.computeUTCTime((($ = (q = s.report) == null ? void 0 : q.departure) == null ? void 0 : $.atd) || ((at = (tt = s.report) == null ? void 0 : tt.departure) == null ? void 0 : at.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
6662
6668
|
]),
|
|
6663
6669
|
t("div", zT, [
|
|
6664
6670
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
6665
|
-
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", jT, i((
|
|
6666
|
-
t("span", fT, i(D.computeUTCTime(((
|
|
6671
|
+
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", jT, i((nt = (st = s.report) == null ? void 0 : st.destination) == null ? void 0 : nt.name), 1)) : (e(), n("span", UT, i(D.computePosition((_ = s.report) == null ? void 0 : _.destination)), 1)),
|
|
6672
|
+
t("span", fT, i(D.computeUTCTime(((ot = (v = s.report) == null ? void 0 : v.destination) == null ? void 0 : ot.ata) || ((gt = (It = s.report) == null ? void 0 : It.destination) == null ? void 0 : gt.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
6667
6673
|
]),
|
|
6668
6674
|
t("div", ET, [
|
|
6669
6675
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -6689,9 +6695,9 @@ function N0(d, a, s, c, o, D) {
|
|
|
6689
6695
|
}, "", -1)),
|
|
6690
6696
|
t("span", QT, i((U = (yt = s.report) == null ? void 0 : yt.pvsr) == null ? void 0 : U.totalTime), 1),
|
|
6691
6697
|
a[10] || (a[10] = t("span", { class: "unit" }, "hrs", -1))
|
|
6692
|
-
])) : ((
|
|
6698
|
+
])) : ((Dt = (Mt = s.report) == null ? void 0 : Mt.pvsr) == null ? void 0 : Dt.totalTime) >= 0 ? (e(), n("div", kT, [
|
|
6693
6699
|
a[11] || (a[11] = t("i", { class: "iconfont lost" }, "", -1)),
|
|
6694
|
-
t("span", ST, i((ft = (
|
|
6700
|
+
t("span", ST, i((ft = (H = s.report) == null ? void 0 : H.pvsr) == null ? void 0 : ft.totalTime), 1),
|
|
6695
6701
|
a[12] || (a[12] = t("span", { class: "unit" }, "hrs", -1))
|
|
6696
6702
|
])) : (e(), n("div", wT, "N/A"))
|
|
6697
6703
|
])
|
|
@@ -6907,7 +6913,7 @@ const I0 = {
|
|
|
6907
6913
|
},
|
|
6908
6914
|
compareTime() {
|
|
6909
6915
|
return function(d, a) {
|
|
6910
|
-
return d && a ?
|
|
6916
|
+
return d && a ? et.roundPrecision(d - a) : "-";
|
|
6911
6917
|
};
|
|
6912
6918
|
},
|
|
6913
6919
|
computeBlankHtml() {
|
|
@@ -6917,7 +6923,7 @@ const I0 = {
|
|
|
6917
6923
|
},
|
|
6918
6924
|
computePosition() {
|
|
6919
6925
|
return function(d) {
|
|
6920
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
6926
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
6921
6927
|
};
|
|
6922
6928
|
}
|
|
6923
6929
|
},
|
|
@@ -6967,10 +6973,10 @@ const I0 = {
|
|
|
6967
6973
|
colspan: "2"
|
|
6968
6974
|
};
|
|
6969
6975
|
function Tx(d, a, s, c, o, D) {
|
|
6970
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
6971
|
-
const
|
|
6976
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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;
|
|
6977
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
6972
6978
|
return e(), n("div", g0, [
|
|
6973
|
-
Nt(
|
|
6979
|
+
Nt(y, { name: "Voyage Comparison Report" }),
|
|
6974
6980
|
t("div", c0, [
|
|
6975
6981
|
t("div", A0, [
|
|
6976
6982
|
t("div", u0, [
|
|
@@ -6991,16 +6997,16 @@ function Tx(d, a, s, c, o, D) {
|
|
|
6991
6997
|
t("div", U0, [
|
|
6992
6998
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
6993
6999
|
(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)),
|
|
6994
|
-
t("span", b0, i(D.computeUTCTime(((B = (
|
|
7000
|
+
t("span", b0, i(D.computeUTCTime(((B = (L = s.report) == null ? void 0 : L.departure) == null ? void 0 : B.atd) || ((Z = (w = s.report) == null ? void 0 : w.departure) == null ? void 0 : Z.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
6995
7001
|
]),
|
|
6996
7002
|
t("div", p0, [
|
|
6997
7003
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
6998
|
-
(
|
|
6999
|
-
t("span", C0, i(D.computeUTCTime(((st = (lt = s.report) == null ? void 0 : lt.arrival) == null ? void 0 : st.ata) || ((_ = (
|
|
7004
|
+
($ = (q = s.report) == null ? void 0 : q.arrival) != null && $.name ? (e(), n("span", O0, i((at = (tt = s.report) == null ? void 0 : tt.arrival) == null ? void 0 : at.name), 1)) : (e(), n("span", h0, i(D.computePosition((it = s.report) == null ? void 0 : it.arrival)), 1)),
|
|
7005
|
+
t("span", C0, i(D.computeUTCTime(((st = (lt = s.report) == null ? void 0 : lt.arrival) == null ? void 0 : st.ata) || ((_ = (nt = s.report) == null ? void 0 : nt.arrival) == null ? void 0 : _.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7000
7006
|
]),
|
|
7001
7007
|
t("div", Y0, [
|
|
7002
7008
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
7003
|
-
t("span", Q0, i((
|
|
7009
|
+
t("span", Q0, i((ot = (v = s.report) == null ? void 0 : v.voyage) == null ? void 0 : ot.loadCondition), 1)
|
|
7004
7010
|
])
|
|
7005
7011
|
])
|
|
7006
7012
|
]),
|
|
@@ -7080,15 +7086,15 @@ function Tx(d, a, s, c, o, D) {
|
|
|
7080
7086
|
I("compared with Recommended route")
|
|
7081
7087
|
], -1)),
|
|
7082
7088
|
t("div", q0, [
|
|
7083
|
-
((
|
|
7089
|
+
((Mt = s.report) == null ? void 0 : Mt.diffDgoCons) < 0 ? (e(), n("div", $0, [
|
|
7084
7090
|
a[23] || (a[23] = t("span", {
|
|
7085
7091
|
class: "text",
|
|
7086
7092
|
style: { "font-size": "14px", "margin-left": "4px", "font-weight": "normal" }
|
|
7087
7093
|
}, "Saving", -1)),
|
|
7088
7094
|
a[24] || (a[24] = t("i", { class: "iconfont gain" }, "", -1)),
|
|
7089
|
-
t("span", tx, i(Math.abs((
|
|
7095
|
+
t("span", tx, i(Math.abs((Dt = s.report) == null ? void 0 : Dt.diffDgoCons)), 1),
|
|
7090
7096
|
a[25] || (a[25] = t("span", { class: "unit" }, "mt", -1))
|
|
7091
|
-
])) : ((
|
|
7097
|
+
])) : ((H = s.report) == null ? void 0 : H.diffDgoCons) > 0 ? (e(), n("div", ax, [
|
|
7092
7098
|
a[26] || (a[26] = t("span", {
|
|
7093
7099
|
class: "text",
|
|
7094
7100
|
style: { "font-size": "14px", "margin-left": "4px", "font-weight": "normal" }
|
|
@@ -7361,17 +7367,17 @@ const zx = {
|
|
|
7361
7367
|
},
|
|
7362
7368
|
computeLat() {
|
|
7363
7369
|
return function(d) {
|
|
7364
|
-
return
|
|
7370
|
+
return et.lat2pretty(d, 2);
|
|
7365
7371
|
};
|
|
7366
7372
|
},
|
|
7367
7373
|
computeLng() {
|
|
7368
7374
|
return function(d) {
|
|
7369
|
-
return
|
|
7375
|
+
return et.lng2pretty(d, 2);
|
|
7370
7376
|
};
|
|
7371
7377
|
},
|
|
7372
7378
|
computePosition() {
|
|
7373
7379
|
return function(d) {
|
|
7374
|
-
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" :
|
|
7380
|
+
return !d || d.lng === null || d.lng === void 0 || isNaN(d.lng) || d.lat === null || d.lat === void 0 || isNaN(d.lat) ? "-" : et.lat2pretty(d == null ? void 0 : d.lat, 2).pretty + ", " + et.lng2pretty(d == null ? void 0 : d.lng, 2).pretty;
|
|
7375
7381
|
};
|
|
7376
7382
|
},
|
|
7377
7383
|
computeBlankHtml() {
|
|
@@ -7458,10 +7464,10 @@ const zx = {
|
|
|
7458
7464
|
class: "formula-item flex-evenly bg-blue-light"
|
|
7459
7465
|
}, 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"];
|
|
7460
7466
|
function wz(d, a, s, c, o, D) {
|
|
7461
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
7462
|
-
const
|
|
7467
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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, W, J, X, 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;
|
|
7468
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
7463
7469
|
return e(), n("div", jx, [
|
|
7464
|
-
Nt(
|
|
7470
|
+
Nt(y, {
|
|
7465
7471
|
style: { width: "796px", margin: "0 auto" },
|
|
7466
7472
|
name: "Energy Efficiency Analysis Report"
|
|
7467
7473
|
}),
|
|
@@ -7483,13 +7489,13 @@ function wz(d, a, s, c, o, D) {
|
|
|
7483
7489
|
t("div", Yx, [
|
|
7484
7490
|
t("div", Qx, [
|
|
7485
7491
|
a[6] || (a[6] = t("span", { class: "label text-label" }, "Departure", -1)),
|
|
7486
|
-
(
|
|
7487
|
-
t("span", wx, i(D.computeUTCTime(((
|
|
7492
|
+
(L = (T = s.report) == null ? void 0 : T.departure) != null && L.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((Z = s.report) == null ? void 0 : Z.departure)), 1)),
|
|
7493
|
+
t("span", wx, i(D.computeUTCTime((($ = (q = s.report) == null ? void 0 : q.departure) == null ? void 0 : $.atd) || ((at = (tt = s.report) == null ? void 0 : tt.departure) == null ? void 0 : at.etd), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7488
7494
|
]),
|
|
7489
7495
|
t("div", Rx, [
|
|
7490
7496
|
a[7] || (a[7] = t("span", { class: "label text-label" }, "Arrival", -1)),
|
|
7491
|
-
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", Vx, i((
|
|
7492
|
-
t("span", Gx, i(D.computeUTCTime(((
|
|
7497
|
+
(lt = (it = s.report) == null ? void 0 : it.destination) != null && lt.name ? (e(), n("span", Vx, i((nt = (st = s.report) == null ? void 0 : st.destination) == null ? void 0 : nt.name), 1)) : (e(), n("span", Fx, i(D.computePosition((_ = s.report) == null ? void 0 : _.destination)), 1)),
|
|
7498
|
+
t("span", Gx, i(D.computeUTCTime(((ot = (v = s.report) == null ? void 0 : v.destination) == null ? void 0 : ot.ata) || ((gt = (It = s.report) == null ? void 0 : It.destination) == null ? void 0 : gt.eta), "MMM-DD/HHmm[Z], YYYY")), 1)
|
|
7493
7499
|
]),
|
|
7494
7500
|
t("div", Px, [
|
|
7495
7501
|
a[8] || (a[8] = t("span", { class: "label text-label" }, "Load Condition", -1)),
|
|
@@ -7532,8 +7538,8 @@ function wz(d, a, s, c, o, D) {
|
|
|
7532
7538
|
t("tr", null, [
|
|
7533
7539
|
a[11] || (a[11] = t("td", { colspan: "2" }, "Idle", -1)),
|
|
7534
7540
|
t("td", _x, [
|
|
7535
|
-
I(i((
|
|
7536
|
-
(bt = (ft = (
|
|
7541
|
+
I(i((Mt = (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 : Mt.fo) + " ", 1),
|
|
7542
|
+
(bt = (ft = (H = (Dt = s.report) == null ? void 0 : Dt.eeas) == null ? void 0 : H.extend) == null ? void 0 : ft.cp) != null && bt.weather ? (e(), n("span", Jx, [
|
|
7537
7543
|
a[9] || (a[9] = I("| ", -1)),
|
|
7538
7544
|
(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))
|
|
7539
7545
|
])) : g("", !0)
|
|
@@ -7590,7 +7596,7 @@ function wz(d, a, s, c, o, D) {
|
|
|
7590
7596
|
t("div", { class: "phase-title" }, "N/A", -1)
|
|
7591
7597
|
])])) : (e(), n("div", u2, [
|
|
7592
7598
|
t("div", null, [
|
|
7593
|
-
t("span", m2, i(((
|
|
7599
|
+
t("span", m2, i(((dt = (X = (J = (W = (P = s.report) == null ? void 0 : P.eeas) == null ? void 0 : W.extend) == null ? void 0 : J.summary) == null ? void 0 : X.fo) == null ? void 0 : dt.status) === "Saving" ? "Gain" : "Lost"), 1),
|
|
7594
7600
|
t("i", {
|
|
7595
7601
|
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"])
|
|
7596
7602
|
}, 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),
|
|
@@ -8085,7 +8091,7 @@ const Wz = {
|
|
|
8085
8091
|
},
|
|
8086
8092
|
computePortName() {
|
|
8087
8093
|
return function(d) {
|
|
8088
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
8094
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${et.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${et.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
8089
8095
|
};
|
|
8090
8096
|
},
|
|
8091
8097
|
computeBlankHtml() {
|
|
@@ -8135,10 +8141,10 @@ const Wz = {
|
|
|
8135
8141
|
style: { "font-weight": "bold" }
|
|
8136
8142
|
}, Uj = { class: "section leg-section" }, fj = { class: "orm-report-table" }, Ej = ["colspan"];
|
|
8137
8143
|
function bj(d, a, s, c, o, D) {
|
|
8138
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
8139
|
-
const
|
|
8144
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt;
|
|
8145
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
8140
8146
|
return e(), n("div", Zz, [
|
|
8141
|
-
Nt(
|
|
8147
|
+
Nt(y, { name: "EU ETS Compliance Cost Analysis Report" }),
|
|
8142
8148
|
t("div", Lz, [
|
|
8143
8149
|
t("div", Bz, [
|
|
8144
8150
|
t("div", _z, [
|
|
@@ -8196,13 +8202,13 @@ function bj(d, a, s, c, o, D) {
|
|
|
8196
8202
|
]),
|
|
8197
8203
|
t("div", Nj, [
|
|
8198
8204
|
a[12] || (a[12] = t("span", { class: "" }, "Covered emissions", -1)),
|
|
8199
|
-
t("span", rj, i(Math.round((((w = (B = (
|
|
8205
|
+
t("span", rj, i(Math.round((((w = (B = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : B.euets) == null ? void 0 : w.ratio) ?? 0) * 100)) + "%", 1)
|
|
8200
8206
|
])
|
|
8201
8207
|
]),
|
|
8202
8208
|
t("div", Ij, [
|
|
8203
8209
|
a[15] || (a[15] = t("div", { class: "text-secondary align-left" }, "EU ETS CO₂ emissions", -1)),
|
|
8204
8210
|
t("div", gj, [
|
|
8205
|
-
I(i(Math.round((((
|
|
8211
|
+
I(i(Math.round(((($ = (q = (Z = o.form) == null ? void 0 : Z.summary) == null ? void 0 : q.euets) == null ? void 0 : $.ghg2) ?? 0) * 1e3) / 1e3), 1),
|
|
8206
8212
|
a[14] || (a[14] = t("span", {
|
|
8207
8213
|
class: "unit",
|
|
8208
8214
|
style: { "margin-left": "4px" }
|
|
@@ -8211,7 +8217,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8211
8217
|
]),
|
|
8212
8218
|
t("div", cj, [
|
|
8213
8219
|
a[17] || (a[17] = t("div", { class: "text-secondary align-left" }, "Total Fuel Consumption", -1)),
|
|
8214
|
-
(e(!0), n(u, null, O((at = (
|
|
8220
|
+
(e(!0), n(u, null, O((at = (tt = o.form) == null ? void 0 : tt.summary) == null ? void 0 : at.fuels, (U) => (e(), n("div", {
|
|
8215
8221
|
key: U.type,
|
|
8216
8222
|
class: "flex-between"
|
|
8217
8223
|
}, [
|
|
@@ -8297,15 +8303,15 @@ function bj(d, a, s, c, o, D) {
|
|
|
8297
8303
|
], -1)),
|
|
8298
8304
|
t("tbody", null, [
|
|
8299
8305
|
(e(!0), n(u, null, O((lt = (it = o.form) == null ? void 0 : it.summary) == null ? void 0 : lt.fuels, (U) => {
|
|
8300
|
-
var
|
|
8306
|
+
var Mt, Dt, H;
|
|
8301
8307
|
return e(), n("tr", {
|
|
8302
8308
|
key: U.type
|
|
8303
8309
|
}, [
|
|
8304
8310
|
t("td", null, i(U.type ?? "-"), 1),
|
|
8305
8311
|
t("td", null, i(U.totalCons ?? "-"), 1),
|
|
8306
|
-
t("td", null, i(((
|
|
8307
|
-
t("td", null, i(((
|
|
8308
|
-
t("td", null, i(((
|
|
8312
|
+
t("td", null, i(((Mt = U.factor) == null ? void 0 : Mt.co2) ?? "-"), 1),
|
|
8313
|
+
t("td", null, i(((Dt = U.factor) == null ? void 0 : Dt.ch4) ?? "-"), 1),
|
|
8314
|
+
t("td", null, i(((H = U.factor) == null ? void 0 : H.n2o) ?? "-"), 1)
|
|
8309
8315
|
]);
|
|
8310
8316
|
}), 128)),
|
|
8311
8317
|
t("tr", null, [
|
|
@@ -8314,7 +8320,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8314
8320
|
class: "label",
|
|
8315
8321
|
style: { "font-weight": "bold" }
|
|
8316
8322
|
}, "Total (ETS / MRV)", -1)),
|
|
8317
|
-
t("td", jj, i(((_ = (
|
|
8323
|
+
t("td", jj, i(((_ = (nt = (st = o.form) == null ? void 0 : st.summary) == null ? void 0 : nt.euets) == null ? void 0 : _.ghg2) ?? "-") + " / " + i(((It = (ot = (v = o.form) == null ? void 0 : v.summary) == null ? void 0 : ot.euets) == null ? void 0 : It.ghg) ?? "-") + " mt", 1)
|
|
8318
8324
|
])
|
|
8319
8325
|
])
|
|
8320
8326
|
]),
|
|
@@ -8386,7 +8392,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8386
8392
|
]),
|
|
8387
8393
|
t("tbody", null, [
|
|
8388
8394
|
(e(!0), n(u, null, O((yt = o.form) == null ? void 0 : yt.legs, (U) => {
|
|
8389
|
-
var
|
|
8395
|
+
var Mt, Dt, H, ft, bt;
|
|
8390
8396
|
return e(), n("tr", {
|
|
8391
8397
|
key: U.id
|
|
8392
8398
|
}, [
|
|
@@ -8398,7 +8404,7 @@ function bj(d, a, s, c, o, D) {
|
|
|
8398
8404
|
t("div", null, i(D.computePortName(U == null ? void 0 : U.destPort) ?? "-"), 1),
|
|
8399
8405
|
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)
|
|
8400
8406
|
]),
|
|
8401
|
-
t("td", null, i(((
|
|
8407
|
+
t("td", null, i(((H = (Dt = (Mt = U == null ? void 0 : U.extend) == null ? void 0 : Mt.euets) == null ? void 0 : Dt.category) == null ? void 0 : H.replace(/_/g, " ")) ?? "-"), 1),
|
|
8402
8408
|
t("td", null, i(Math.round((U == null ? void 0 : U.time) * 10 / 24) / 10), 1),
|
|
8403
8409
|
t("td", null, i((U == null ? void 0 : U.distance) ?? "-"), 1),
|
|
8404
8410
|
(e(!0), n(u, null, O((bt = (ft = o.form) == null ? void 0 : ft.summary) == null ? void 0 : bt.fuels, (pt) => {
|
|
@@ -8452,7 +8458,7 @@ const Oj = {
|
|
|
8452
8458
|
},
|
|
8453
8459
|
computePortName() {
|
|
8454
8460
|
return function(d) {
|
|
8455
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
8461
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${et.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${et.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
8456
8462
|
};
|
|
8457
8463
|
},
|
|
8458
8464
|
computeBlankHtml() {
|
|
@@ -8489,10 +8495,10 @@ const Oj = {
|
|
|
8489
8495
|
style: { "margin-top": "20px" }
|
|
8490
8496
|
}, D5 = { class: "section leg-section" }, N5 = { class: "orm-report-table" }, r5 = ["colspan"];
|
|
8491
8497
|
function I5(d, a, s, c, o, D) {
|
|
8492
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
8493
|
-
const
|
|
8498
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, ft, bt, pt, Ot, ht, wt, Vt, Jt, Ht;
|
|
8499
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
8494
8500
|
return e(), n("div", hj, [
|
|
8495
|
-
Nt(
|
|
8501
|
+
Nt(y, { name: "FuelEU Compliance Cost Analysis Report" }),
|
|
8496
8502
|
t("div", Cj, [
|
|
8497
8503
|
t("div", Yj, [
|
|
8498
8504
|
t("div", Qj, [
|
|
@@ -8547,7 +8553,7 @@ function I5(d, a, s, c, o, D) {
|
|
|
8547
8553
|
t("div", Xj, [
|
|
8548
8554
|
a[13] || (a[13] = t("div", { class: "text-secondary align-left" }, "GHG Intensity", -1)),
|
|
8549
8555
|
t("div", Kj, [
|
|
8550
|
-
I(i(((
|
|
8556
|
+
I(i(((L = (T = (k = o.form) == null ? void 0 : k.summary) == null ? void 0 : T.fueleu) == null ? void 0 : L.actualGhgi) ?? "-"), 1),
|
|
8551
8557
|
a[11] || (a[11] = t("span", {
|
|
8552
8558
|
class: "unit",
|
|
8553
8559
|
style: { "margin-left": "4px" }
|
|
@@ -8558,12 +8564,12 @@ function I5(d, a, s, c, o, D) {
|
|
|
8558
8564
|
class: "",
|
|
8559
8565
|
style: { "margin-right": "4px" }
|
|
8560
8566
|
}, "Target", -1)),
|
|
8561
|
-
t("span", $j, i(((
|
|
8567
|
+
t("span", $j, i(((Z = (w = (B = o.form) == null ? void 0 : B.summary) == null ? void 0 : w.fueleu) == null ? void 0 : Z.targetGhgi) ?? "-"), 1)
|
|
8562
8568
|
])
|
|
8563
8569
|
]),
|
|
8564
8570
|
t("div", t5, [
|
|
8565
8571
|
a[15] || (a[15] = t("div", { class: "text-secondary align-left" }, "Total Fuel Consumption", -1)),
|
|
8566
|
-
(e(!0), n(u, null, O((
|
|
8572
|
+
(e(!0), n(u, null, O(($ = (q = o.form) == null ? void 0 : q.summary) == null ? void 0 : $.fuels, (j) => (e(), n("div", {
|
|
8567
8573
|
key: j.type,
|
|
8568
8574
|
class: "flex-between",
|
|
8569
8575
|
style: { width: "100%" }
|
|
@@ -8689,7 +8695,7 @@ function I5(d, a, s, c, o, D) {
|
|
|
8689
8695
|
])
|
|
8690
8696
|
], -1)),
|
|
8691
8697
|
t("tbody", null, [
|
|
8692
|
-
(e(!0), n(u, null, O((at = (
|
|
8698
|
+
(e(!0), n(u, null, O((at = (tt = o.form) == null ? void 0 : tt.summary) == null ? void 0 : at.fuels, (j) => {
|
|
8693
8699
|
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;
|
|
8694
8700
|
return e(), n("tr", {
|
|
8695
8701
|
key: j.type
|
|
@@ -8772,11 +8778,11 @@ function I5(d, a, s, c, o, D) {
|
|
|
8772
8778
|
t("tbody", null, [
|
|
8773
8779
|
t("tr", null, [
|
|
8774
8780
|
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),
|
|
8775
|
-
t("td", null, i(((
|
|
8776
|
-
t("td", null, i(((gt = (It = (
|
|
8781
|
+
t("td", null, i(((v = (_ = (nt = o.form) == null ? void 0 : nt.summary) == null ? void 0 : _.fueleu) == null ? void 0 : v.energy2) ?? "-"), 1),
|
|
8782
|
+
t("td", null, i(((gt = (It = (ot = o.form) == null ? void 0 : ot.summary) == null ? void 0 : It.fueleu) == null ? void 0 : gt.wttGhgi) ?? "-"), 1),
|
|
8777
8783
|
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),
|
|
8778
8784
|
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),
|
|
8779
|
-
t("td", null, i(((
|
|
8785
|
+
t("td", null, i(((H = (Dt = (Mt = o.form) == null ? void 0 : Mt.summary) == null ? void 0 : Dt.fueleu) == null ? void 0 : H.balance) ?? "-"), 1),
|
|
8780
8786
|
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)
|
|
8781
8787
|
])
|
|
8782
8788
|
])
|
|
@@ -8907,12 +8913,12 @@ const c5 = {
|
|
|
8907
8913
|
// 经纬度转换
|
|
8908
8914
|
computedLngLat() {
|
|
8909
8915
|
return function(d, a) {
|
|
8910
|
-
return `${
|
|
8916
|
+
return `${et.lat2pretty(d).pretty} / ${et.lng2pretty(a).pretty}`;
|
|
8911
8917
|
};
|
|
8912
8918
|
},
|
|
8913
8919
|
computePortName() {
|
|
8914
8920
|
return function(d) {
|
|
8915
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
8921
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${et.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${et.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
8916
8922
|
};
|
|
8917
8923
|
},
|
|
8918
8924
|
computeNum() {
|
|
@@ -8929,25 +8935,25 @@ const c5 = {
|
|
|
8929
8935
|
return (d, a, s = !0) => {
|
|
8930
8936
|
var o, D;
|
|
8931
8937
|
let c = 0;
|
|
8932
|
-
return (D = (o = this.form) == null ? void 0 : o[d]) == null || D.forEach((
|
|
8938
|
+
return (D = (o = this.form) == null ? void 0 : o[d]) == null || D.forEach((y) => {
|
|
8933
8939
|
var r, A, E;
|
|
8934
|
-
c += ((E = (A = (r =
|
|
8940
|
+
c += ((E = (A = (r = y.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;
|
|
8935
8941
|
}), Math.round(c * 1e3) / 1e3;
|
|
8936
8942
|
};
|
|
8937
8943
|
},
|
|
8938
8944
|
computedFuelInSummary() {
|
|
8939
8945
|
return (d, a = "euets", s) => {
|
|
8940
|
-
var o, D,
|
|
8941
|
-
const c = (
|
|
8946
|
+
var o, D, y;
|
|
8947
|
+
const c = (y = (D = (o = this.form) == null ? void 0 : o.summary) == null ? void 0 : D.fuels) == null ? void 0 : y.find((r) => r.type === d);
|
|
8942
8948
|
return c ? c[`${a}_cover_${s}`] : 0;
|
|
8943
8949
|
};
|
|
8944
8950
|
},
|
|
8945
8951
|
computedFuelInLegs() {
|
|
8946
8952
|
return (d, a = "euets", s) => {
|
|
8947
8953
|
var o, D;
|
|
8948
|
-
const c = (D = (o = this.form) == null ? void 0 : o.legs) == null ? void 0 : D.reduce((
|
|
8954
|
+
const c = (D = (o = this.form) == null ? void 0 : o.legs) == null ? void 0 : D.reduce((y, r) => {
|
|
8949
8955
|
const A = r.fuels.filter((E) => E.type === d && E[`${a}Rate`] === s);
|
|
8950
|
-
return
|
|
8956
|
+
return y + A.reduce((E, l) => E + l.consumption, 0);
|
|
8951
8957
|
}, 0);
|
|
8952
8958
|
return Math.round(c * 1e5) / 1e5;
|
|
8953
8959
|
};
|
|
@@ -8956,15 +8962,15 @@ const c5 = {
|
|
|
8956
8962
|
return (d, a, s = 1) => {
|
|
8957
8963
|
var o, D;
|
|
8958
8964
|
const c = [...((o = this.form) == null ? void 0 : o.atSea) || [], ...((D = this.form) == null ? void 0 : D.ports) || []];
|
|
8959
|
-
return c == null ? void 0 : c.filter((
|
|
8965
|
+
return c == null ? void 0 : c.filter((y) => {
|
|
8960
8966
|
var r;
|
|
8961
|
-
return (r =
|
|
8967
|
+
return (r = y == null ? void 0 : y.fuels) == null ? void 0 : r.some((A) => A.type === d && A[`${a}`] === s);
|
|
8962
8968
|
});
|
|
8963
8969
|
};
|
|
8964
8970
|
},
|
|
8965
8971
|
computePrecision() {
|
|
8966
8972
|
return function(d, a = 4, s = "0.0") {
|
|
8967
|
-
return d ?
|
|
8973
|
+
return d ? et.roundPrecision(d, a) : s;
|
|
8968
8974
|
};
|
|
8969
8975
|
}
|
|
8970
8976
|
},
|
|
@@ -9032,10 +9038,10 @@ const c5 = {
|
|
|
9032
9038
|
style: { "page-break-inside": "avoid" }
|
|
9033
9039
|
}, mU = { key: 0 }, yU = { key: 0 }, vU = { key: 0 }, TU = { key: 0 }, xU = { key: 0 }, zU = { key: 0 };
|
|
9034
9040
|
function jU(d, a, s, c, o, D) {
|
|
9035
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
9036
|
-
const
|
|
9041
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _, v, ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, 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;
|
|
9042
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
9037
9043
|
return e(), n("div", A5, [
|
|
9038
|
-
Nt(
|
|
9044
|
+
Nt(y, { name: "EU ETS & FuelEU Compliance Cost Report" }),
|
|
9039
9045
|
t("div", u5, [
|
|
9040
9046
|
t("div", m5, [
|
|
9041
9047
|
t("div", y5, [
|
|
@@ -9078,14 +9084,14 @@ function jU(d, a, s, c, o, D) {
|
|
|
9078
9084
|
t("div", k5, [
|
|
9079
9085
|
a[9] || (a[9] = t("div", { class: "text-secondary align-left" }, "EUAs", -1)),
|
|
9080
9086
|
t("div", S5, [
|
|
9081
|
-
I(i(Math.round((((B = (
|
|
9082
|
-
t("span", w5, i(Math.round((((
|
|
9087
|
+
I(i(Math.round((((B = (L = (T = o.form) == null ? void 0 : T.summary) == null ? void 0 : L.euets) == null ? void 0 : B.euas) ?? 0) * 1e3) / 1e3) + " ", 1),
|
|
9088
|
+
t("span", w5, i(Math.round((((q = (Z = (w = o.form) == null ? void 0 : w.summary) == null ? void 0 : Z.euets) == null ? void 0 : q.ratio) ?? 0) * 100)) + "%", 1)
|
|
9083
9089
|
])
|
|
9084
9090
|
]),
|
|
9085
9091
|
t("div", R5, [
|
|
9086
9092
|
a[11] || (a[11] = t("div", { class: "text-secondary align-left" }, "EUAs Cost", -1)),
|
|
9087
9093
|
t("div", V5, [
|
|
9088
|
-
I(i(Math.round((((at = (
|
|
9094
|
+
I(i(Math.round((((at = (tt = ($ = o.form) == null ? void 0 : $.summary) == null ? void 0 : tt.euets) == null ? void 0 : at.cost) ?? 0) * 1e3) / 1e3) + " ", 1),
|
|
9089
9095
|
a[10] || (a[10] = t("span", {
|
|
9090
9096
|
class: "unit",
|
|
9091
9097
|
style: { "margin-left": "4px" }
|
|
@@ -9105,7 +9111,7 @@ function jU(d, a, s, c, o, D) {
|
|
|
9105
9111
|
t("div", P5, [
|
|
9106
9112
|
a[15] || (a[15] = t("div", { class: "text-secondary align-left" }, "FuelEU Penalty", -1)),
|
|
9107
9113
|
t("div", W5, [
|
|
9108
|
-
I(i(((
|
|
9114
|
+
I(i(((v = (_ = (nt = o.form) == null ? void 0 : nt.summary) == null ? void 0 : _.fueleu) == null ? void 0 : v.penalty) ?? "-"), 1),
|
|
9109
9115
|
a[14] || (a[14] = t("span", {
|
|
9110
9116
|
class: "unit",
|
|
9111
9117
|
style: { "margin-left": "4px" }
|
|
@@ -9145,7 +9151,7 @@ function jU(d, a, s, c, o, D) {
|
|
|
9145
9151
|
], 32))
|
|
9146
9152
|
])
|
|
9147
9153
|
], 2),
|
|
9148
|
-
((It = (
|
|
9154
|
+
((It = (ot = o.form) == null ? void 0 : ot.legs) == null ? void 0 : It.filter((N) => N.category === "SEA_VOYAGE").length) > 0 ? (e(), n("div", J5, [
|
|
9149
9155
|
a[24] || (a[24] = t("div", { class: "header-block" }, [
|
|
9150
9156
|
t("div", { class: "bg-block" }, [
|
|
9151
9157
|
t("i", { class: "iconfont icon-baobiao" }),
|
|
@@ -9213,17 +9219,17 @@ function jU(d, a, s, c, o, D) {
|
|
|
9213
9219
|
t("td", null, i(Math.round((N == null ? void 0 : N.time) * 10 / 24) / 10), 1),
|
|
9214
9220
|
t("td", null, i((N == null ? void 0 : N.distance) || "-"), 1),
|
|
9215
9221
|
(e(!0), n(u, null, O((G = (F = o.form) == null ? void 0 : F.summary) == null ? void 0 : G.fuels, (P) => {
|
|
9216
|
-
var
|
|
9222
|
+
var W;
|
|
9217
9223
|
return e(), n("td", {
|
|
9218
9224
|
key: P.type
|
|
9219
|
-
}, i(((
|
|
9225
|
+
}, i(((W = N.fuels.find((J) => J.type === P.type)) == null ? void 0 : W.consumption) ?? "-"), 1);
|
|
9220
9226
|
}), 128))
|
|
9221
9227
|
]);
|
|
9222
9228
|
}), 128))
|
|
9223
9229
|
])
|
|
9224
9230
|
])
|
|
9225
9231
|
])) : g("", !0),
|
|
9226
|
-
((
|
|
9232
|
+
((Dt = (Mt = o.form) == null ? void 0 : Mt.legs) == null ? void 0 : Dt.filter((N) => N.category === "PORT_CALL").length) > 0 ? (e(), n("div", $5, [
|
|
9227
9233
|
a[31] || (a[31] = t("div", { class: "header-block" }, [
|
|
9228
9234
|
t("div", { class: "bg-block" }, [
|
|
9229
9235
|
t("i", { class: "iconfont icon-baobiao" }),
|
|
@@ -9259,7 +9265,7 @@ function jU(d, a, s, c, o, D) {
|
|
|
9259
9265
|
], -1)),
|
|
9260
9266
|
t("th", {
|
|
9261
9267
|
class: "label",
|
|
9262
|
-
colspan: (bt = (ft = (
|
|
9268
|
+
colspan: (bt = (ft = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : ft.fuels) == null ? void 0 : bt.length
|
|
9263
9269
|
}, [...a[25] || (a[25] = [
|
|
9264
9270
|
I("Fuel consumption ", -1),
|
|
9265
9271
|
t("br", null, null, -1),
|
|
@@ -9283,11 +9289,11 @@ function jU(d, a, s, c, o, D) {
|
|
|
9283
9289
|
t("td", null, i(D.computeUTCTime(N == null ? void 0 : N.ata) ?? "-"), 1),
|
|
9284
9290
|
t("td", null, i(D.computeUTCTime(N == null ? void 0 : N.atd) ?? "-"), 1),
|
|
9285
9291
|
t("td", null, i(Math.round((N == null ? void 0 : N.time) * 10 / 24) / 10), 1),
|
|
9286
|
-
(e(!0), n(u, null, O((P = (G = o.form) == null ? void 0 : G.summary) == null ? void 0 : P.fuels, (
|
|
9287
|
-
var
|
|
9292
|
+
(e(!0), n(u, null, O((P = (G = o.form) == null ? void 0 : G.summary) == null ? void 0 : P.fuels, (W) => {
|
|
9293
|
+
var J;
|
|
9288
9294
|
return e(), n("td", {
|
|
9289
|
-
key:
|
|
9290
|
-
}, i(((
|
|
9295
|
+
key: W.type
|
|
9296
|
+
}, i(((J = N.fuels.find((X) => X.type === W.type)) == null ? void 0 : J.consumption) ?? "-"), 1);
|
|
9291
9297
|
}), 128))
|
|
9292
9298
|
]);
|
|
9293
9299
|
}), 128))
|
|
@@ -9352,15 +9358,15 @@ function jU(d, a, s, c, o, D) {
|
|
|
9352
9358
|
], -1)),
|
|
9353
9359
|
t("tbody", null, [
|
|
9354
9360
|
(e(!0), n(u, null, O((Jt = (Vt = o.form) == null ? void 0 : Vt.summary) == null ? void 0 : Jt.fuels, (N) => {
|
|
9355
|
-
var R, V, F, G, P,
|
|
9361
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt;
|
|
9356
9362
|
return e(), n("tr", {
|
|
9357
9363
|
key: N.type
|
|
9358
9364
|
}, [
|
|
9359
9365
|
t("td", null, i(N.type), 1),
|
|
9360
9366
|
t("td", null, i(N.totalCons), 1),
|
|
9361
9367
|
t("td", null, i(((R = N.factor) == null ? void 0 : R.lcv) ?? "-"), 1),
|
|
9362
|
-
t("td", null, i(((
|
|
9363
|
-
t("td", null, i(((Tt = (vt = (
|
|
9368
|
+
t("td", null, i(((W = (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 : W.wtw) ?? "-"), 1),
|
|
9369
|
+
t("td", null, i(((Tt = (vt = (dt = (X = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : X.euets) == null ? void 0 : dt.fuels) == null ? void 0 : vt[N.type]) == null ? void 0 : Tt.euas) ?? "-"), 1),
|
|
9364
9370
|
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)
|
|
9365
9371
|
]);
|
|
9366
9372
|
}), 128))
|
|
@@ -9481,12 +9487,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9481
9487
|
a[43] || (a[43] = t("td", null, "CO₂ emitted", -1)),
|
|
9482
9488
|
a[44] || (a[44] = t("td", null, "tCO₂eq", -1)),
|
|
9483
9489
|
(e(!0), n(u, null, O((Xt = (Lt = o.form) == null ? void 0 : Lt.summary) == null ? void 0 : Xt.fuels, (N) => {
|
|
9484
|
-
var R, V, F, G, P,
|
|
9490
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la;
|
|
9485
9491
|
return e(), n("td", {
|
|
9486
9492
|
key: N == null ? void 0 : N.type
|
|
9487
9493
|
}, [
|
|
9488
9494
|
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),
|
|
9489
|
-
t("span", null, " * " + i((vt = (
|
|
9495
|
+
t("span", null, " * " + i((vt = (dt = (X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.euets) == null ? void 0 : X.fuels) == null ? void 0 : dt[N == null ? void 0 : N.type]) == null ? void 0 : vt.factor.co2), 1),
|
|
9490
9496
|
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),
|
|
9491
9497
|
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)
|
|
9492
9498
|
]);
|
|
@@ -9496,12 +9502,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9496
9502
|
a[45] || (a[45] = t("td", null, "CH₄ emitted", -1)),
|
|
9497
9503
|
a[46] || (a[46] = t("td", null, "tCO₂eq", -1)),
|
|
9498
9504
|
(e(!0), n(u, null, O((da = (sa = o.form) == null ? void 0 : sa.summary) == null ? void 0 : da.fuels, (N) => {
|
|
9499
|
-
var R, V, F, G, P,
|
|
9505
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la;
|
|
9500
9506
|
return e(), n("td", {
|
|
9501
9507
|
key: N.type
|
|
9502
9508
|
}, [
|
|
9503
9509
|
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),
|
|
9504
|
-
t("span", null, " * " + i((vt = (
|
|
9510
|
+
t("span", null, " * " + i((vt = (dt = (X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.euets) == null ? void 0 : X.fuels) == null ? void 0 : dt[N.type]) == null ? void 0 : vt.factor.ch4), 1),
|
|
9505
9511
|
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),
|
|
9506
9512
|
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)
|
|
9507
9513
|
]);
|
|
@@ -9511,12 +9517,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9511
9517
|
a[47] || (a[47] = t("td", null, "N₂O emitted", -1)),
|
|
9512
9518
|
a[48] || (a[48] = t("td", null, "tCO₂eq", -1)),
|
|
9513
9519
|
(e(!0), n(u, null, O((na = (ea = o.form) == null ? void 0 : ea.summary) == null ? void 0 : na.fuels, (N) => {
|
|
9514
|
-
var R, V, F, G, P,
|
|
9520
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la;
|
|
9515
9521
|
return e(), n("td", {
|
|
9516
9522
|
key: N == null ? void 0 : N.type
|
|
9517
9523
|
}, [
|
|
9518
9524
|
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),
|
|
9519
|
-
t("span", null, " * " + i((vt = (
|
|
9525
|
+
t("span", null, " * " + i((vt = (dt = (X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.euets) == null ? void 0 : X.fuels) == null ? void 0 : dt[N == null ? void 0 : N.type]) == null ? void 0 : vt.factor.n2o), 1),
|
|
9520
9526
|
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),
|
|
9521
9527
|
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)
|
|
9522
9528
|
]);
|
|
@@ -9623,13 +9629,13 @@ function jU(d, a, s, c, o, D) {
|
|
|
9623
9629
|
], -1)),
|
|
9624
9630
|
t("tbody", null, [
|
|
9625
9631
|
(e(!0), n(u, null, O((Sa = (ka = o.form) == null ? void 0 : ka.summary) == null ? void 0 : Sa.fuels, (N) => {
|
|
9626
|
-
var R, V, F, G, P,
|
|
9632
|
+
var R, V, F, G, P, W, J, X, 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;
|
|
9627
9633
|
return e(), n("tr", {
|
|
9628
9634
|
key: N.type
|
|
9629
9635
|
}, [
|
|
9630
9636
|
t("td", null, i(N == null ? void 0 : N.type), 1),
|
|
9631
|
-
t("td", null, i(((
|
|
9632
|
-
t("td", null, i(((xt = (Tt = (vt = (
|
|
9637
|
+
t("td", null, i(((W = (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 : W.lcv) || "-"), 1),
|
|
9638
|
+
t("td", null, i(((xt = (Tt = (vt = (dt = (X = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : X.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),
|
|
9633
9639
|
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),
|
|
9634
9640
|
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),
|
|
9635
9641
|
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),
|
|
@@ -9698,22 +9704,22 @@ function jU(d, a, s, c, o, D) {
|
|
|
9698
9704
|
a[72] || (a[72] = t("td", null, "LCV", -1)),
|
|
9699
9705
|
a[73] || (a[73] = t("td", null, "MJ/g", -1)),
|
|
9700
9706
|
(e(!0), n(u, null, O((Ba = (La = o.form) == null ? void 0 : La.summary) == null ? void 0 : Ba.fuels, (N) => {
|
|
9701
|
-
var R, V, F, G, P,
|
|
9707
|
+
var R, V, F, G, P, W;
|
|
9702
9708
|
return e(), n("td", {
|
|
9703
9709
|
key: N.type
|
|
9704
|
-
}, i((
|
|
9710
|
+
}, i((W = (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 : W.lcv), 1);
|
|
9705
9711
|
}), 128))
|
|
9706
9712
|
]),
|
|
9707
9713
|
t("tr", null, [
|
|
9708
9714
|
a[74] || (a[74] = t("td", null, "Energy use in scope", -1)),
|
|
9709
9715
|
a[75] || (a[75] = t("td", null, "10⁶MJ", -1)),
|
|
9710
9716
|
(e(!0), n(u, null, O((Ja = (_a = o.form) == null ? void 0 : _a.summary) == null ? void 0 : Ja.fuels, (N) => {
|
|
9711
|
-
var R, V, F, G, P,
|
|
9717
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt;
|
|
9712
9718
|
return e(), n("td", {
|
|
9713
9719
|
key: N.type
|
|
9714
9720
|
}, [
|
|
9715
9721
|
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),
|
|
9716
|
-
t("span", null, " * " + i(((Tt = (vt = (
|
|
9722
|
+
t("span", null, " * " + i(((Tt = (vt = (dt = (X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.fueleu) == null ? void 0 : X.fuels) == null ? void 0 : dt[N.type]) == null ? void 0 : vt.factor) == null ? void 0 : Tt.lcv) || "-"), 1),
|
|
9717
9723
|
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)
|
|
9718
9724
|
]);
|
|
9719
9725
|
}), 128))
|
|
@@ -9722,22 +9728,22 @@ function jU(d, a, s, c, o, D) {
|
|
|
9722
9728
|
a[76] || (a[76] = t("td", null, "WtT GHG", -1)),
|
|
9723
9729
|
a[77] || (a[77] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9724
9730
|
(e(!0), n(u, null, O((Xa = (Ha = o.form) == null ? void 0 : Ha.summary) == null ? void 0 : Xa.fuels, (N) => {
|
|
9725
|
-
var R, V, F, G, P,
|
|
9731
|
+
var R, V, F, G, P, W;
|
|
9726
9732
|
return e(), n("td", {
|
|
9727
9733
|
key: N == null ? void 0 : N.type
|
|
9728
|
-
}, i(((
|
|
9734
|
+
}, i(((W = (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 : W.wtt) || "-"), 1);
|
|
9729
9735
|
}), 128))
|
|
9730
9736
|
]),
|
|
9731
9737
|
t("tr", null, [
|
|
9732
9738
|
a[78] || (a[78] = t("td", null, "TtW CO2", -1)),
|
|
9733
9739
|
a[79] || (a[79] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9734
9740
|
(e(!0), n(u, null, O((sl = (Ka = o.form) == null ? void 0 : Ka.summary) == null ? void 0 : sl.fuels, (N) => {
|
|
9735
|
-
var R, V, F, G, P,
|
|
9741
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha;
|
|
9736
9742
|
return e(), n("td", {
|
|
9737
9743
|
key: N.type
|
|
9738
9744
|
}, [
|
|
9739
|
-
t("span", null, i(((
|
|
9740
|
-
t("span", null, " / " + i(((xt = (Tt = (vt = (
|
|
9745
|
+
t("span", null, i(((W = (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 : W.co2) || "-"), 1),
|
|
9746
|
+
t("span", null, " / " + i(((xt = (Tt = (vt = (dt = (X = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : X.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),
|
|
9741
9747
|
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),
|
|
9742
9748
|
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)
|
|
9743
9749
|
]);
|
|
@@ -9747,12 +9753,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9747
9753
|
a[80] || (a[80] = t("td", null, "TtW CH4", -1)),
|
|
9748
9754
|
a[81] || (a[81] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9749
9755
|
(e(!0), n(u, null, O((el = (dl = o.form) == null ? void 0 : dl.summary) == null ? void 0 : el.fuels, (N) => {
|
|
9750
|
-
var R, V, F, G, P,
|
|
9756
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il;
|
|
9751
9757
|
return e(), n("td", {
|
|
9752
9758
|
key: N == null ? void 0 : N.type
|
|
9753
9759
|
}, [
|
|
9754
|
-
t("span", null, i(((
|
|
9755
|
-
t("span", null, " / " + i(((xt = (Tt = (vt = (
|
|
9760
|
+
t("span", null, i(((W = (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 : W.ch4) || "-"), 1),
|
|
9761
|
+
t("span", null, " / " + i(((xt = (Tt = (vt = (dt = (X = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : X.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),
|
|
9756
9762
|
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),
|
|
9757
9763
|
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)
|
|
9758
9764
|
]);
|
|
@@ -9762,12 +9768,12 @@ function jU(d, a, s, c, o, D) {
|
|
|
9762
9768
|
a[82] || (a[82] = t("td", null, "TtW N2O", -1)),
|
|
9763
9769
|
a[83] || (a[83] = t("td", null, "gCO₂eq/MJ", -1)),
|
|
9764
9770
|
(e(!0), n(u, null, O((ol = (nl = o.form) == null ? void 0 : nl.summary) == null ? void 0 : ol.fuels, (N) => {
|
|
9765
|
-
var R, V, F, G, P,
|
|
9771
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt, Ct, Yt, Qt, qt, $t, ta, aa, ia, la, Oa, ha, il;
|
|
9766
9772
|
return e(), n("td", {
|
|
9767
9773
|
key: N == null ? void 0 : N.type
|
|
9768
9774
|
}, [
|
|
9769
|
-
t("span", null, i(((
|
|
9770
|
-
t("span", null, " / " + i(((xt = (Tt = (vt = (
|
|
9775
|
+
t("span", null, i(((W = (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 : W.n2o) || "-"), 1),
|
|
9776
|
+
t("span", null, " / " + i(((xt = (Tt = (vt = (dt = (X = (J = o.form) == null ? void 0 : J.summary) == null ? void 0 : X.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),
|
|
9771
9777
|
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),
|
|
9772
9778
|
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)
|
|
9773
9779
|
]);
|
|
@@ -9810,10 +9816,10 @@ function jU(d, a, s, c, o, D) {
|
|
|
9810
9816
|
a[90] || (a[90] = t("td", null, "10⁶MJ", -1)),
|
|
9811
9817
|
(Al = (cl = (gl = o.form) == null ? void 0 : gl.summary) == null ? void 0 : cl.fueleu) != null && Al.fuels ? (e(), n("td", mU, [
|
|
9812
9818
|
(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) => {
|
|
9813
|
-
var R, V, F, G, P,
|
|
9819
|
+
var R, V, F, G, P, W, J, X;
|
|
9814
9820
|
return e(), n("span", { key: N }, [
|
|
9815
9821
|
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),
|
|
9816
|
-
N !== Object.keys((
|
|
9822
|
+
N !== Object.keys((X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.fueleu) == null ? void 0 : X.fuels).pop() ? (e(), n("span", yU, "+")) : g("", !0)
|
|
9817
9823
|
]);
|
|
9818
9824
|
}), 128)),
|
|
9819
9825
|
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)
|
|
@@ -9825,10 +9831,10 @@ function jU(d, a, s, c, o, D) {
|
|
|
9825
9831
|
(ya = (ma = (Rt = o.form) == null ? void 0 : Rt.summary) == null ? void 0 : ma.fueleu) != null && ya.fuels ? (e(), n("td", vU, [
|
|
9826
9832
|
a[91] || (a[91] = t("span", null, "(", -1)),
|
|
9827
9833
|
(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) => {
|
|
9828
|
-
var R, V, F, G, P,
|
|
9834
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt;
|
|
9829
9835
|
return e(), n("span", { key: N }, [
|
|
9830
9836
|
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),
|
|
9831
|
-
t("span", null, " * " + i((vt = (
|
|
9837
|
+
t("span", null, " * " + i((vt = (dt = (X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.fueleu) == null ? void 0 : X.fuels) == null ? void 0 : dt[N]) == null ? void 0 : vt.energy), 1),
|
|
9832
9838
|
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)
|
|
9833
9839
|
]);
|
|
9834
9840
|
}), 128)),
|
|
@@ -9843,10 +9849,10 @@ function jU(d, a, s, c, o, D) {
|
|
|
9843
9849
|
(Di = (Mi = (oi = o.form) == null ? void 0 : oi.summary) == null ? void 0 : Mi.fueleu) != null && Di.fuels ? (e(), n("td", xU, [
|
|
9844
9850
|
a[95] || (a[95] = t("span", null, "(", -1)),
|
|
9845
9851
|
(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) => {
|
|
9846
|
-
var R, V, F, G, P,
|
|
9852
|
+
var R, V, F, G, P, W, J, X, dt, vt, Tt, xt, zt;
|
|
9847
9853
|
return e(), n("span", { key: N }, [
|
|
9848
9854
|
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),
|
|
9849
|
-
t("span", null, " * " + i((vt = (
|
|
9855
|
+
t("span", null, " * " + i((vt = (dt = (X = (J = (W = o.form) == null ? void 0 : W.summary) == null ? void 0 : J.fueleu) == null ? void 0 : X.fuels) == null ? void 0 : dt[N]) == null ? void 0 : vt.energy), 1),
|
|
9850
9856
|
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)
|
|
9851
9857
|
]);
|
|
9852
9858
|
}), 128)),
|
|
@@ -9925,7 +9931,7 @@ const fU = {
|
|
|
9925
9931
|
},
|
|
9926
9932
|
computePortName() {
|
|
9927
9933
|
return function(d) {
|
|
9928
|
-
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${
|
|
9934
|
+
return d ? d != null && d.name ? d == null ? void 0 : d.name : `${et.lat2pretty(d == null ? void 0 : d.lat).pretty}, ${et.lng2pretty(d == null ? void 0 : d.lng).pretty}` : "-";
|
|
9929
9935
|
};
|
|
9930
9936
|
},
|
|
9931
9937
|
computeBlankHtml() {
|
|
@@ -9968,10 +9974,10 @@ const fU = {
|
|
|
9968
9974
|
class: ""
|
|
9969
9975
|
}, 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" } };
|
|
9970
9976
|
function Nf(d, a, s, c, o, D) {
|
|
9971
|
-
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T,
|
|
9972
|
-
const
|
|
9977
|
+
var A, E, l, x, Y, h, f, b, Q, z, p, C, k, T, L, B, w, Z, q, $, tt, at, it, lt, st, nt, _;
|
|
9978
|
+
const y = K("IdmBrand"), r = K("Editor");
|
|
9973
9979
|
return e(), n("div", EU, [
|
|
9974
|
-
Nt(
|
|
9980
|
+
Nt(y, { name: "UK ETS Compliance Cost Analysis Report" }),
|
|
9975
9981
|
t("div", bU, [
|
|
9976
9982
|
t("div", pU, [
|
|
9977
9983
|
t("div", OU, [
|
|
@@ -10040,7 +10046,7 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10040
10046
|
style: { "align-self": "start", "margin-bottom": "12px" }
|
|
10041
10047
|
}, "UK ETS CO₂ emissions", -1)),
|
|
10042
10048
|
t("div", HU, [
|
|
10043
|
-
I(i(Math.round((((w = (B = (
|
|
10049
|
+
I(i(Math.round((((w = (B = (L = o.form) == null ? void 0 : L.summary) == null ? void 0 : B.ukets) == null ? void 0 : w.ghg2) ?? 0) * 1e3) / 1e3), 1),
|
|
10044
10050
|
a[13] || (a[13] = t("span", {
|
|
10045
10051
|
class: "unit",
|
|
10046
10052
|
style: { "margin-left": "4px" }
|
|
@@ -10052,14 +10058,14 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10052
10058
|
class: "text-secondary",
|
|
10053
10059
|
style: { "align-self": "start", "margin-bottom": "12px" }
|
|
10054
10060
|
}, "Total Fuel Consumption", -1)),
|
|
10055
|
-
(e(!0), n(u, null, O((
|
|
10056
|
-
key:
|
|
10061
|
+
(e(!0), n(u, null, O((q = (Z = o.form) == null ? void 0 : Z.summary) == null ? void 0 : q.fuels, (v) => (e(), n("div", {
|
|
10062
|
+
key: v.type,
|
|
10057
10063
|
style: { width: "100%" },
|
|
10058
10064
|
class: "flex-between"
|
|
10059
10065
|
}, [
|
|
10060
|
-
t("div", KU, i(
|
|
10066
|
+
t("div", KU, i(v.type ?? "-"), 1),
|
|
10061
10067
|
t("div", qU, [
|
|
10062
|
-
I(i((
|
|
10068
|
+
I(i((v == null ? void 0 : v.uketsCons) ?? "-"), 1),
|
|
10063
10069
|
a[15] || (a[15] = t("span", {
|
|
10064
10070
|
class: "unit",
|
|
10065
10071
|
style: { "margin-left": "4px" }
|
|
@@ -10083,15 +10089,15 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10083
10089
|
o.editable ? (e(), St(r, {
|
|
10084
10090
|
key: 0,
|
|
10085
10091
|
modelValue: o.remarks,
|
|
10086
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
10092
|
+
"onUpdate:modelValue": a[0] || (a[0] = (v) => o.remarks = v),
|
|
10087
10093
|
class: "editor",
|
|
10088
10094
|
height: "80px",
|
|
10089
|
-
onBlur: a[1] || (a[1] = (
|
|
10095
|
+
onBlur: a[1] || (a[1] = (v) => D.handleCommit(v))
|
|
10090
10096
|
}, null, 8, ["modelValue"])) : g("", !0)
|
|
10091
10097
|
])) : (e(), n("div", {
|
|
10092
10098
|
key: 1,
|
|
10093
10099
|
class: "remark-block bg-blue-light-2",
|
|
10094
|
-
onDblclick: a[2] || (a[2] = (
|
|
10100
|
+
onDblclick: a[2] || (a[2] = (v) => o.editable = !0)
|
|
10095
10101
|
}, [
|
|
10096
10102
|
D.computeBlankHtml(o.remarks) ? (e(), n("div", lf, "Please double click to modify remark")) : (e(), n("div", {
|
|
10097
10103
|
key: 0,
|
|
@@ -10150,20 +10156,20 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10150
10156
|
])
|
|
10151
10157
|
], -1)),
|
|
10152
10158
|
t("tbody", null, [
|
|
10153
|
-
(e(!0), n(u, null, O((
|
|
10154
|
-
var
|
|
10159
|
+
(e(!0), n(u, null, O((tt = ($ = o.form) == null ? void 0 : $.summary) == null ? void 0 : tt.fuels, (v) => {
|
|
10160
|
+
var ot, It, gt, ct, At, ut, mt, yt, U, Mt, Dt, H, ft, bt, pt, Ot, ht, wt, Vt;
|
|
10155
10161
|
return e(), n("tr", {
|
|
10156
|
-
key:
|
|
10162
|
+
key: v.type
|
|
10157
10163
|
}, [
|
|
10158
|
-
t("td", null, i(
|
|
10159
|
-
t("td", null, i((
|
|
10160
|
-
t("td", null, i(((
|
|
10161
|
-
t("td", null, i(((It =
|
|
10162
|
-
t("td", null, i(((gt =
|
|
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[
|
|
10164
|
-
t("td", null, i(((
|
|
10165
|
-
t("td", null, i(((pt = (bt = (ft = (
|
|
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[
|
|
10164
|
+
t("td", null, i(v.type ?? "-"), 1),
|
|
10165
|
+
t("td", null, i((v == null ? void 0 : v.uketsCons) ?? "-"), 1),
|
|
10166
|
+
t("td", null, i(((ot = v == null ? void 0 : v.factor) == null ? void 0 : ot.co2) ?? "-"), 1),
|
|
10167
|
+
t("td", null, i(((It = v == null ? void 0 : v.factor) == null ? void 0 : It.ch4) ?? "-"), 1),
|
|
10168
|
+
t("td", null, i(((gt = v == null ? void 0 : v.factor) == null ? void 0 : gt.n2o) ?? "-"), 1),
|
|
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[v.type]) == null ? void 0 : mt.co2) ?? "-"), 1),
|
|
10170
|
+
t("td", null, i(((Dt = (Mt = (U = (yt = o.form) == null ? void 0 : yt.summary) == null ? void 0 : U.ukets) == null ? void 0 : Mt.fuels[v.type]) == null ? void 0 : Dt.ch4) ?? "-"), 1),
|
|
10171
|
+
t("td", null, i(((pt = (bt = (ft = (H = o.form) == null ? void 0 : H.summary) == null ? void 0 : ft.ukets) == null ? void 0 : bt.fuels[v.type]) == null ? void 0 : pt.n2o) ?? "-"), 1),
|
|
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[v.type]) == null ? void 0 : Vt.ukas) ?? 0), 1)
|
|
10167
10173
|
]);
|
|
10168
10174
|
}), 128))
|
|
10169
10175
|
])
|
|
@@ -10227,37 +10233,37 @@ function Nf(d, a, s, c, o, D) {
|
|
|
10227
10233
|
}, "UKAs", -1))
|
|
10228
10234
|
]),
|
|
10229
10235
|
t("tr", null, [
|
|
10230
|
-
(e(!0), n(u, null, O((
|
|
10231
|
-
key:
|
|
10236
|
+
(e(!0), n(u, null, O((nt = (st = o.form) == null ? void 0 : st.summary) == null ? void 0 : nt.fuels, (v) => (e(), n("th", {
|
|
10237
|
+
key: v.type,
|
|
10232
10238
|
class: "label"
|
|
10233
|
-
}, i(
|
|
10239
|
+
}, i(v.type), 1))), 128))
|
|
10234
10240
|
])
|
|
10235
10241
|
]),
|
|
10236
10242
|
t("tbody", null, [
|
|
10237
|
-
(e(!0), n(u, null, O((_ = o.form) == null ? void 0 : _.legs, (
|
|
10238
|
-
var
|
|
10243
|
+
(e(!0), n(u, null, O((_ = o.form) == null ? void 0 : _.legs, (v) => {
|
|
10244
|
+
var ot, It, gt, ct, At, ut, mt, yt, U;
|
|
10239
10245
|
return e(), n("tr", {
|
|
10240
|
-
key:
|
|
10246
|
+
key: v.id
|
|
10241
10247
|
}, [
|
|
10242
10248
|
t("td", null, [
|
|
10243
|
-
t("div", null, i(D.computePortName(
|
|
10244
|
-
t("div", Mf, i(D.computeUTCTime((
|
|
10249
|
+
t("div", null, i(D.computePortName(v == null ? void 0 : v.deptPort) ?? "-"), 1),
|
|
10250
|
+
t("div", Mf, i(D.computeUTCTime((v == null ? void 0 : v.category) === "SEA_VOYAGE" ? v == null ? void 0 : v.atd : v == null ? void 0 : v.ata) ?? "-"), 1)
|
|
10245
10251
|
]),
|
|
10246
10252
|
t("td", null, [
|
|
10247
|
-
t("div", null, i(D.computePortName(
|
|
10248
|
-
t("div", Df, i(D.computeUTCTime((
|
|
10253
|
+
t("div", null, i(D.computePortName(v == null ? void 0 : v.destPort) ?? "-"), 1),
|
|
10254
|
+
t("div", Df, i(D.computeUTCTime((v == null ? void 0 : v.category) === "SEA_VOYAGE" ? v == null ? void 0 : v.ata : v == null ? void 0 : v.atd) ?? "-"), 1)
|
|
10249
10255
|
]),
|
|
10250
|
-
t("td", null, i(((gt = (It = (
|
|
10251
|
-
t("td", null, i(Math.round((
|
|
10252
|
-
t("td", null, i((
|
|
10253
|
-
(e(!0), n(u, null, O((At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.fuels, (
|
|
10254
|
-
var
|
|
10256
|
+
t("td", null, i(((gt = (It = (ot = v == null ? void 0 : v.extend) == null ? void 0 : ot.ukets) == null ? void 0 : It.category) == null ? void 0 : gt.replace(/_/g, " ")) ?? "-"), 1),
|
|
10257
|
+
t("td", null, i(Math.round((v == null ? void 0 : v.time) * 10 / 24) / 10), 1),
|
|
10258
|
+
t("td", null, i((v == null ? void 0 : v.distance) ?? "-"), 1),
|
|
10259
|
+
(e(!0), n(u, null, O((At = (ct = o.form) == null ? void 0 : ct.summary) == null ? void 0 : At.fuels, (Mt) => {
|
|
10260
|
+
var Dt, H;
|
|
10255
10261
|
return e(), n("td", {
|
|
10256
|
-
key:
|
|
10257
|
-
}, i(((
|
|
10262
|
+
key: Mt.type
|
|
10263
|
+
}, i(((H = (Dt = v.fuels) == null ? void 0 : Dt.find((ft) => ft.type === Mt.type)) == null ? void 0 : H.consumption) ?? 0), 1);
|
|
10258
10264
|
}), 128)),
|
|
10259
|
-
t("td", null, i(((mt = (ut =
|
|
10260
|
-
t("td", null, i(((U = (yt =
|
|
10265
|
+
t("td", null, i(((mt = (ut = v == null ? void 0 : v.extend) == null ? void 0 : ut.ukets) == null ? void 0 : mt.ghg2) ?? 0), 1),
|
|
10266
|
+
t("td", null, i(((U = (yt = v == null ? void 0 : v.extend) == null ? void 0 : yt.ukets) == null ? void 0 : U.ukas) ?? 0), 1)
|
|
10261
10267
|
]);
|
|
10262
10268
|
}), 128))
|
|
10263
10269
|
])
|
|
@@ -10322,9 +10328,9 @@ const If = {
|
|
|
10322
10328
|
}, gf = { class: "orm-md-report" }, cf = { class: "content-box" };
|
|
10323
10329
|
function Af(d, a, s, c, o, D) {
|
|
10324
10330
|
var E, l, x, Y;
|
|
10325
|
-
const
|
|
10331
|
+
const y = K("IdmBrand"), r = K("MdEditor"), A = K("MdPreview");
|
|
10326
10332
|
return e(), n("div", gf, [
|
|
10327
|
-
Nt(
|
|
10333
|
+
Nt(y, {
|
|
10328
10334
|
name: o.locale === "zhHans" ? (E = s.report) == null ? void 0 : E.nameCn : (l = s.report) == null ? void 0 : l.name
|
|
10329
10335
|
}, null, 8, ["name"]),
|
|
10330
10336
|
t("div", cf, [
|