@idmui/extend 1.4.5 → 1.4.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.
- package/dist/Comparison/src/index.vue.d.ts +1 -1
- package/dist/Eeas/src/index.vue.d.ts +2 -2
- package/dist/Eu/src/index.vue.d.ts +1 -1
- package/dist/Plan/src/index.vue.d.ts +3 -3
- package/dist/Stoppage/src/index.vue.d.ts +3 -3
- package/dist/Voyage/src/inventory.vue.d.ts +3 -3
- package/dist/Voyage/src/summary.vue.d.ts +3 -3
- package/dist/index.js +8 -8
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
|
@@ -17,7 +17,7 @@ declare namespace _sfc_main {
|
|
|
17
17
|
};
|
|
18
18
|
namespace computed {
|
|
19
19
|
function computeUTCTime(): (time: any, format?: string) => string;
|
|
20
|
-
function compareTime(): (actual: any, recmd: any) =>
|
|
20
|
+
function compareTime(): (actual: any, recmd: any) => number | "-";
|
|
21
21
|
function computeBlankHtml(): (html: any) => boolean;
|
|
22
22
|
function computePosition(): (point: any) => string;
|
|
23
23
|
}
|
|
@@ -17,8 +17,8 @@ declare namespace _sfc_main {
|
|
|
17
17
|
};
|
|
18
18
|
namespace computed {
|
|
19
19
|
function computeUTCTime(): (time: any, format?: string) => string;
|
|
20
|
-
function computeLat(): (lat: any) =>
|
|
21
|
-
function computeLng(): (lng: any) =>
|
|
20
|
+
function computeLat(): (lat: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
21
|
+
function computeLng(): (lng: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
22
22
|
function computePosition(): (point: any) => string;
|
|
23
23
|
function computeBlankHtml(): (html: any) => boolean;
|
|
24
24
|
}
|
|
@@ -32,7 +32,7 @@ declare namespace _sfc_main {
|
|
|
32
32
|
function computedFuelInSummary(): (fuelType: any, cagetory: string | undefined, rate: any) => any;
|
|
33
33
|
function computedFuelInLegs(): (fuelType: any, cagetory: string | undefined, rate: any) => number;
|
|
34
34
|
function computedFuels(): (fuelType: any, category: any, rate?: number) => any[];
|
|
35
|
-
function computePrecision(): (val: any, precision?: number, _default?: string) =>
|
|
35
|
+
function computePrecision(): (val: any, precision?: number, _default?: string) => string | number;
|
|
36
36
|
}
|
|
37
37
|
namespace watch {
|
|
38
38
|
export namespace report_1 {
|
|
@@ -49,9 +49,9 @@ declare namespace _sfc_main {
|
|
|
49
49
|
function computeDay(): (plan: any, index?: number) => number;
|
|
50
50
|
function computeSuspend(): (speed: any) => number | "-";
|
|
51
51
|
function computeModel(): (speed: any) => string;
|
|
52
|
-
function computeCog(): (cog: any) =>
|
|
53
|
-
function computeLat(): (lat: any, precision?: number) =>
|
|
54
|
-
function computeLng(): (lng: any, precision?: number) =>
|
|
52
|
+
function computeCog(): (cog: any) => string;
|
|
53
|
+
function computeLat(): (lat: any, precision?: number) => string;
|
|
54
|
+
function computeLng(): (lng: any, precision?: number) => string;
|
|
55
55
|
function computePosition(): (point: any) => string;
|
|
56
56
|
function computedWindClass(): (row: any) => string;
|
|
57
57
|
function computedSigClass(): (row: any) => string;
|
|
@@ -17,9 +17,9 @@ declare namespace _sfc_main {
|
|
|
17
17
|
};
|
|
18
18
|
namespace computed {
|
|
19
19
|
function computeUTCTime(): (time: any, format?: string) => string;
|
|
20
|
-
function computeLat(): (lat: any) =>
|
|
21
|
-
function computeLng(): (lng: any) =>
|
|
22
|
-
function computeRoundPrecision(): (data: any, precision?: number) =>
|
|
20
|
+
function computeLat(): (lat: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
21
|
+
function computeLng(): (lng: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
22
|
+
function computeRoundPrecision(): (data: any, precision?: number) => number | "-";
|
|
23
23
|
function computeBlankHtml(): (html: any) => boolean;
|
|
24
24
|
function computePosition(): (point: any) => string;
|
|
25
25
|
}
|
|
@@ -33,9 +33,9 @@ declare namespace _sfc_main {
|
|
|
33
33
|
function computeTDClass(): (item: any) => string;
|
|
34
34
|
function computeWxColspan(): number;
|
|
35
35
|
function computeUTCTime(): (time: any, format?: string) => string;
|
|
36
|
-
function computeLng(): (lng: any) =>
|
|
37
|
-
function computeLat(): (lat: any) =>
|
|
38
|
-
function computePrecision(): (val: any, precision?: number, _default?: string) =>
|
|
36
|
+
function computeLng(): (lng: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
37
|
+
function computeLat(): (lat: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
38
|
+
function computePrecision(): (val: any, precision?: number, _default?: string) => string | number;
|
|
39
39
|
}
|
|
40
40
|
namespace watch {
|
|
41
41
|
export namespace report_1 {
|
|
@@ -26,12 +26,12 @@ declare namespace _sfc_main {
|
|
|
26
26
|
function computeDuration(): (end: any, begin: any) => number;
|
|
27
27
|
function computeUTCTime(): (time: any, format?: string) => string;
|
|
28
28
|
function computeWeatherDef(): (weather: any) => string;
|
|
29
|
-
function computeLng(): (lng: any) =>
|
|
30
|
-
function computeLat(): (lat: any) =>
|
|
29
|
+
function computeLng(): (lng: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
30
|
+
function computeLat(): (lat: any) => import("@idm-plugin/geo").LngLatPretty;
|
|
31
31
|
function computeAbtSpeed(): (timeConclusion: any, speed: any, category: any) => any;
|
|
32
32
|
function computeAbtCons(): (fuelConclusion: any, category: any, status: any) => string | undefined;
|
|
33
33
|
function computeBlankHtml(): (html: any) => boolean;
|
|
34
|
-
function computePrecision(): (val: any, precision?: number) =>
|
|
34
|
+
function computePrecision(): (val: any, precision?: number) => number;
|
|
35
35
|
}
|
|
36
36
|
namespace watch {
|
|
37
37
|
export namespace report_1 {
|
package/dist/index.js
CHANGED
|
@@ -281,10 +281,10 @@ const Zd = {
|
|
|
281
281
|
};
|
|
282
282
|
},
|
|
283
283
|
computeLat() {
|
|
284
|
-
return (e, a =
|
|
284
|
+
return (e, a = 4) => et.lat2pretty(e, a).pretty;
|
|
285
285
|
},
|
|
286
286
|
computeLng() {
|
|
287
|
-
return (e, a =
|
|
287
|
+
return (e, a = 4) => et.lng2pretty(e, a).pretty;
|
|
288
288
|
},
|
|
289
289
|
computePosition() {
|
|
290
290
|
return function(e) {
|
|
@@ -1031,7 +1031,7 @@ function HD(e, a, s, A, d, D) {
|
|
|
1031
1031
|
]),
|
|
1032
1032
|
t("div", qM, [
|
|
1033
1033
|
t("div", $M, [
|
|
1034
|
-
a[48] || (a[48] = Ht('<div class="cell-item flex" style="flex:2.5;" data-v-
|
|
1034
|
+
a[48] || (a[48] = Ht('<div class="cell-item flex" style="flex:2.5;" data-v-c256165e>Major waypoint</div><div class="cell-item flex" style="flex:2;" data-v-c256165e>Time</div><div class="cell-item flex" data-v-c256165e>Nav</div><div class="cell-item flex" data-v-c256165e>Dist <span class="text-units" data-v-c256165e>(nm)</span></div>', 4)),
|
|
1035
1035
|
(Ra = (wa = s.plan) == null ? void 0 : wa.voyage) != null && Ra.showMajorWPSpd ? (n(), o("div", tD, [...a[46] || (a[46] = [
|
|
1036
1036
|
r("SOG ", -1),
|
|
1037
1037
|
t("span", { class: "text-units" }, "(kts)", -1)
|
|
@@ -1183,12 +1183,12 @@ function HD(e, a, s, A, d, D) {
|
|
|
1183
1183
|
t("span", { class: "text-units" }, "(kts)")
|
|
1184
1184
|
], -1)),
|
|
1185
1185
|
D.isArctic ? (n(), o("th", QD, [...a[58] || (a[58] = [
|
|
1186
|
-
r("
|
|
1186
|
+
r("Sit", -1),
|
|
1187
1187
|
t("br", null, null, -1),
|
|
1188
1188
|
t("span", { class: "text-units" }, "(m)", -1)
|
|
1189
1189
|
])])) : I("", !0),
|
|
1190
1190
|
D.isArctic ? (n(), o("th", kD, [...a[59] || (a[59] = [
|
|
1191
|
-
r("
|
|
1191
|
+
r("Sic ", -1),
|
|
1192
1192
|
t("br", null, null, -1),
|
|
1193
1193
|
t("span", { class: "text-units" }, "(%)", -1)
|
|
1194
1194
|
])])) : I("", !0)
|
|
@@ -1227,7 +1227,7 @@ function HD(e, a, s, A, d, D) {
|
|
|
1227
1227
|
])) : (n(), o("span", GD, "-"))
|
|
1228
1228
|
]),
|
|
1229
1229
|
t("td", null, i(D.roundPrecision((fi = (Ui = (ji = m.meteo) == null ? void 0 : ji.wave) == null ? void 0 : Ui.swell) == null ? void 0 : fi.height, 1)), 1),
|
|
1230
|
-
t("td", null, i(D.roundPrecision((bi = (pi = (Ei = m.meteo) == null ? void 0 : Ei.wave) == null ? void 0 : pi.swell) == null ? void 0 : bi.period,
|
|
1230
|
+
t("td", null, i(D.roundPrecision((bi = (pi = (Ei = m.meteo) == null ? void 0 : Ei.wave) == null ? void 0 : pi.swell) == null ? void 0 : bi.period, 0)), 1),
|
|
1231
1231
|
t("td", PD, [
|
|
1232
1232
|
((Ci = (hi = (Oi = m.meteo) == null ? void 0 : Oi.wave) == null ? void 0 : hi.sig) == null ? void 0 : Ci.height) !== null && ((ki = (Qi = (Yi = m.meteo) == null ? void 0 : Yi.wave) == null ? void 0 : Qi.sig) != null && ki.direction) ? (n(), o("div", WD, [
|
|
1233
1233
|
t("span", null, i((Ri = (wi = (Si = m.meteo) == null ? void 0 : Si.wave) == null ? void 0 : wi.sig) == null ? void 0 : Ri.direction), 1),
|
|
@@ -1240,7 +1240,7 @@ function HD(e, a, s, A, d, D) {
|
|
|
1240
1240
|
t("td", {
|
|
1241
1241
|
class: V(D.computedSigClass(m))
|
|
1242
1242
|
}, i(D.roundPrecision((Zi = (Wi = (Pi = m.meteo) == null ? void 0 : Pi.wave) == null ? void 0 : Wi.sig) == null ? void 0 : Zi.height, 1)), 3),
|
|
1243
|
-
t("td", null, i(D.roundPrecision((_i = (Bi = (Li = m.meteo) == null ? void 0 : Li.wave) == null ? void 0 : Bi.sig) == null ? void 0 : _i.period,
|
|
1243
|
+
t("td", null, i(D.roundPrecision((_i = (Bi = (Li = m.meteo) == null ? void 0 : Li.wave) == null ? void 0 : Bi.sig) == null ? void 0 : _i.period, 0)), 1),
|
|
1244
1244
|
t("td", null, [
|
|
1245
1245
|
((Hi = (Ji = m.meteo) == null ? void 0 : Ji.current) == null ? void 0 : Hi.kts) !== null && ((Ki = (Xi = m.meteo) == null ? void 0 : Xi.current) != null && Ki.direction) ? (n(), o("div", LD, [
|
|
1246
1246
|
t("span", null, i(($i = (qi = m.meteo) == null ? void 0 : qi.current) == null ? void 0 : $i.direction), 1),
|
|
@@ -1271,7 +1271,7 @@ function HD(e, a, s, A, d, D) {
|
|
|
1271
1271
|
], 64))
|
|
1272
1272
|
]);
|
|
1273
1273
|
}
|
|
1274
|
-
const XD = /* @__PURE__ */ Ya(Zd, [["render", HD], ["__scopeId", "data-v-
|
|
1274
|
+
const XD = /* @__PURE__ */ Ya(Zd, [["render", HD], ["__scopeId", "data-v-c256165e"]]), yU = {
|
|
1275
1275
|
install(e) {
|
|
1276
1276
|
e.component("PlanReport", XD);
|
|
1277
1277
|
}
|