@idmwx/idmui-report 3.3.4 → 3.3.6
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default _sfc_main;
|
|
2
2
|
declare namespace _sfc_main {
|
|
3
|
+
const name: string;
|
|
3
4
|
const components: undefined;
|
|
4
5
|
namespace props {
|
|
5
6
|
namespace report {
|
|
@@ -8,6 +9,11 @@ declare namespace _sfc_main {
|
|
|
8
9
|
export { _default as default };
|
|
9
10
|
}
|
|
10
11
|
}
|
|
12
|
+
const emits: string[];
|
|
13
|
+
function data(): {
|
|
14
|
+
inventory: never[];
|
|
15
|
+
loading: boolean;
|
|
16
|
+
};
|
|
11
17
|
namespace computed {
|
|
12
18
|
function computeUTCTime(): (time: any, format?: string) => string;
|
|
13
19
|
}
|
|
@@ -18,10 +24,6 @@ declare namespace _sfc_main {
|
|
|
18
24
|
}
|
|
19
25
|
export { report_1 as report };
|
|
20
26
|
}
|
|
21
|
-
function data(): {
|
|
22
|
-
inventory: never[];
|
|
23
|
-
loading: boolean;
|
|
24
|
-
};
|
|
25
27
|
namespace methods {
|
|
26
28
|
function commit(content: any): void;
|
|
27
29
|
function prepare(): void;
|
package/dist/index.js
CHANGED
|
@@ -5857,6 +5857,7 @@ function H4(s, c, o, u, i, l) {
|
|
|
5857
5857
|
}
|
|
5858
5858
|
const G4 = /* @__PURE__ */ Ht(L4, [["render", H4], ["__scopeId", "data-v-61638416"]]);
|
|
5859
5859
|
const $4 = {
|
|
5860
|
+
name: "FliVygSummary",
|
|
5860
5861
|
components: {
|
|
5861
5862
|
Editor: no
|
|
5862
5863
|
},
|
|
@@ -5934,7 +5935,7 @@ const $4 = {
|
|
|
5934
5935
|
className: "",
|
|
5935
5936
|
timeCon: ""
|
|
5936
5937
|
};
|
|
5937
|
-
return c == "No" ? (o.conclusion = "
|
|
5938
|
+
return c == "No" ? (o.conclusion = "No Time Lost/Gained", o.className = "", o.timeCon = "") : c == "Lost" ? (o.conclusion = "Time Lost", o.className = "error", o.timeCon = `${s.timeLost} hrs`) : (o.conclusion = "Time Gained", o.className = "success", o.timeCon = `${s.timeGain} hrs`), o;
|
|
5938
5939
|
};
|
|
5939
5940
|
},
|
|
5940
5941
|
// 油耗结论计算
|
|
@@ -5945,7 +5946,7 @@ const $4 = {
|
|
|
5945
5946
|
className: "",
|
|
5946
5947
|
cons: ""
|
|
5947
5948
|
};
|
|
5948
|
-
return o === "No" ? (u.conclusion = "
|
|
5949
|
+
return o === "No" ? (u.conclusion = "No Over/Under", u.className = "", u.cons = "") : o === "Over" ? (c === "FO" ? u.conclusion = "FO Over" : u.conclusion = "DO/GO Over", u.className = "error", u.cons = `${s.overCons} mt`) : (c === "FO" ? u.conclusion = "FO Under" : u.conclusion = "DO/GO Under", u.className = "success", u.cons = `${s.saving} mt`), u;
|
|
5949
5950
|
};
|
|
5950
5951
|
},
|
|
5951
5952
|
// 判断单位
|
|
@@ -6040,7 +6041,7 @@ const $4 = {
|
|
|
6040
6041
|
});
|
|
6041
6042
|
}
|
|
6042
6043
|
}
|
|
6043
|
-
}, p = (s) => (he("data-v-
|
|
6044
|
+
}, p = (s) => (he("data-v-a89976df"), s = s(), ve(), s), R4 = /* @__PURE__ */ p(() => /* @__PURE__ */ t("div", { class: "fli-logo-title" }, [
|
|
6044
6045
|
/* @__PURE__ */ t("img", {
|
|
6045
6046
|
src: "https://img.idmwx.com/asset/fli_logo.png",
|
|
6046
6047
|
class: "bgImg"
|
|
@@ -7282,7 +7283,7 @@ function n6(s, c, o, u, i, l) {
|
|
|
7282
7283
|
])
|
|
7283
7284
|
], 2);
|
|
7284
7285
|
}
|
|
7285
|
-
const d6 = /* @__PURE__ */ Ht($4, [["render", n6], ["__scopeId", "data-v-
|
|
7286
|
+
const d6 = /* @__PURE__ */ Ht($4, [["render", n6], ["__scopeId", "data-v-a89976df"]]);
|
|
7286
7287
|
const c6 = {
|
|
7287
7288
|
components: {},
|
|
7288
7289
|
props: {
|
|
@@ -10357,9 +10358,10 @@ function TL(s, c, o, u, i, l) {
|
|
|
10357
10358
|
}
|
|
10358
10359
|
const OL = /* @__PURE__ */ Ht(IB, [["render", TL], ["__scopeId", "data-v-24e80f66"]]);
|
|
10359
10360
|
const EL = {
|
|
10361
|
+
name: "OrmVoyageIndex",
|
|
10360
10362
|
components: {
|
|
10361
10363
|
Brand: lo,
|
|
10362
|
-
|
|
10364
|
+
VoySummary: wF,
|
|
10363
10365
|
Inventory: RB,
|
|
10364
10366
|
Chart: OL,
|
|
10365
10367
|
Loading: Cl
|
|
@@ -10370,6 +10372,13 @@ const EL = {
|
|
|
10370
10372
|
default: () => ({})
|
|
10371
10373
|
}
|
|
10372
10374
|
},
|
|
10375
|
+
emits: ["commit"],
|
|
10376
|
+
data() {
|
|
10377
|
+
return {
|
|
10378
|
+
inventory: [],
|
|
10379
|
+
loading: !0
|
|
10380
|
+
};
|
|
10381
|
+
},
|
|
10373
10382
|
computed: {
|
|
10374
10383
|
computeUTCTime() {
|
|
10375
10384
|
return function(s, c = "MMM-DD/HHmm[Z]") {
|
|
@@ -10387,12 +10396,6 @@ const EL = {
|
|
|
10387
10396
|
immediate: !0
|
|
10388
10397
|
}
|
|
10389
10398
|
},
|
|
10390
|
-
data() {
|
|
10391
|
-
return {
|
|
10392
|
-
inventory: [],
|
|
10393
|
-
loading: !0
|
|
10394
|
-
};
|
|
10395
|
-
},
|
|
10396
10399
|
methods: {
|
|
10397
10400
|
commit(s) {
|
|
10398
10401
|
this.$emit("commit", s);
|
|
@@ -10406,7 +10409,7 @@ const EL = {
|
|
|
10406
10409
|
u.inventory.sample.hours.forEach((m, T) => {
|
|
10407
10410
|
l || (l = m), (!y || r) && (y = m, r = !1), l.segIndex === m.segIndex ? l.segLength = (l.segLength || 0) + 1 : (l = m, l.segLength = 1), y.noonLength = (y.noonLength || 0) + 1;
|
|
10408
10411
|
let O = m.type.charAt(0);
|
|
10409
|
-
["N", "M", "E"].includes(O) && (r = !0, y.dailyAvgCf = m.dailyAvgCf, y.avgSpdCalc = m.avgSpdCalc, y.distanceCalc = m.distanceCalc, y.noonUtc = m.utc
|
|
10412
|
+
["N", "M", "E"].includes(O) && (r = !0, y.dailyAvgCf = m.dailyAvgCf, y.avgSpdCalc = m.avgSpdCalc, y.distanceCalc = m.distanceCalc, y.noonUtc = m.utc), m.abbrev = O, O = O === "M" ? "*" : O === "A" ? "" : O, m.time = `${O} ${this.computeUTCTime(m.utc, "MMM-DD/HHmm[Z]")}`, m._lng = ie.lng2pretty(m.lng), m._lat = ie.lat2pretty(m.lat), m.cp = i, s.push(m);
|
|
10410
10413
|
});
|
|
10411
10414
|
}), s.sort((u, i) => u.date - i.date), this.inventory = s;
|
|
10412
10415
|
}
|
|
@@ -10414,7 +10417,7 @@ const EL = {
|
|
|
10414
10417
|
};
|
|
10415
10418
|
function PL(s, c, o, u, i, l) {
|
|
10416
10419
|
var x, k;
|
|
10417
|
-
const y = lt("Brand"), r = lt("Loading"), m = lt("
|
|
10420
|
+
const y = lt("Brand"), r = lt("Loading"), m = lt("VoySummary"), T = lt("Inventory"), O = lt("Chart");
|
|
10418
10421
|
return n(), d("div", {
|
|
10419
10422
|
class: A((k = (x = o.report) == null ? void 0 : x.weather) != null && k.referenceOnly ? "report-section watermark" : "report-section")
|
|
10420
10423
|
}, [
|
|
@@ -10443,7 +10446,7 @@ function PL(s, c, o, u, i, l) {
|
|
|
10443
10446
|
}, null, 8, ["report", "inventory"])
|
|
10444
10447
|
], 2);
|
|
10445
10448
|
}
|
|
10446
|
-
const WL = /* @__PURE__ */ Ht(EL, [["render", PL], ["__scopeId", "data-v-
|
|
10449
|
+
const WL = /* @__PURE__ */ Ht(EL, [["render", PL], ["__scopeId", "data-v-f77ce72a"]]), dot = {
|
|
10447
10450
|
install(s) {
|
|
10448
10451
|
s.component("OpiVoyageReport", G4), s.component("FliVoyageReport", w6), s.component("OrmVoyageReport", WL);
|
|
10449
10452
|
}
|