@idmui/extend 1.4.3 → 1.4.5
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/index.js +37 -37
- package/dist/index.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -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 = 2) => et.lat2pretty(e, a).pretty;
|
|
285
285
|
},
|
|
286
286
|
computeLng() {
|
|
287
|
-
return (e, a =
|
|
287
|
+
return (e, a = 2) => 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-4ec0c6b4>Major waypoint</div><div class="cell-item flex" style="flex:2;" data-v-4ec0c6b4>Time</div><div class="cell-item flex" data-v-4ec0c6b4>Nav</div><div class="cell-item flex" data-v-4ec0c6b4>Dist <span class="text-units" data-v-4ec0c6b4>(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)
|
|
@@ -1118,27 +1118,27 @@ function HD(e, a, s, A, d, D) {
|
|
|
1118
1118
|
t("br"),
|
|
1119
1119
|
t("span", { class: "text-units" }, "(lat/lon)")
|
|
1120
1120
|
], -1)),
|
|
1121
|
+
a[53] || (a[53] = t("th", {
|
|
1122
|
+
rowspan: "2",
|
|
1123
|
+
colspan: "1"
|
|
1124
|
+
}, [
|
|
1125
|
+
r("Vis."),
|
|
1126
|
+
t("br"),
|
|
1127
|
+
t("span", { class: "text-units" }, "(nm)")
|
|
1128
|
+
], -1)),
|
|
1121
1129
|
t("th", {
|
|
1122
1130
|
colspan: (Il = (rl = s.plan) == null ? void 0 : rl.voyage) != null && Il.sendRptWithBF ? 3 : 2
|
|
1123
1131
|
}, "Wind", 8, hD),
|
|
1124
|
-
a[
|
|
1132
|
+
a[54] || (a[54] = t("th", { rowspan: "2" }, [
|
|
1125
1133
|
r("Sea"),
|
|
1126
1134
|
t("br"),
|
|
1127
1135
|
r("HT "),
|
|
1128
1136
|
t("br"),
|
|
1129
1137
|
t("span", { class: "text-units" }, "(m)")
|
|
1130
1138
|
], -1)),
|
|
1131
|
-
a[
|
|
1132
|
-
a[
|
|
1133
|
-
a[
|
|
1134
|
-
a[57] || (a[57] = t("th", {
|
|
1135
|
-
rowspan: "2",
|
|
1136
|
-
colspan: "1"
|
|
1137
|
-
}, [
|
|
1138
|
-
r("Vis."),
|
|
1139
|
-
t("br"),
|
|
1140
|
-
t("span", { class: "text-units" }, "(nm)")
|
|
1141
|
-
], -1)),
|
|
1139
|
+
a[55] || (a[55] = t("th", { colspan: "3" }, "Swell", -1)),
|
|
1140
|
+
a[56] || (a[56] = t("th", { colspan: "3" }, "Sig", -1)),
|
|
1141
|
+
a[57] || (a[57] = t("th", { colspan: "3" }, "Current", -1)),
|
|
1142
1142
|
D.isArctic ? (n(), o("th", CD, "Ice")) : I("", !0)
|
|
1143
1143
|
]),
|
|
1144
1144
|
t("tr", null, [
|
|
@@ -1202,56 +1202,56 @@ function HD(e, a, s, A, d, D) {
|
|
|
1202
1202
|
t("td", null, [
|
|
1203
1203
|
t("div", SD, i(D.computeLat(m.lat)) + ", " + i(D.computeLng(m.lng)), 1)
|
|
1204
1204
|
]),
|
|
1205
|
+
t("td", null, i(D.roundPrecision((ma = m.meteo) == null ? void 0 : ma.visibility, 1)), 1),
|
|
1205
1206
|
t("td", null, [
|
|
1206
|
-
((
|
|
1207
|
-
t("span", null, i((
|
|
1207
|
+
((fa = (ya = m.meteo) == null ? void 0 : ya.wind) == null ? void 0 : fa.kts) !== null && ((qa = (ba = m.meteo) == null ? void 0 : ba.wind) != null && qa.direction) ? (n(), o("div", wD, [
|
|
1208
|
+
t("span", null, i((ti = ($a = m.meteo) == null ? void 0 : $a.wind) == null ? void 0 : ti.direction), 1),
|
|
1208
1209
|
t("i", {
|
|
1209
1210
|
class: "iconfont icon-jiantouicon",
|
|
1210
|
-
style: el(D.computeDegree("wind", (
|
|
1211
|
+
style: el(D.computeDegree("wind", (ii = (ai = m.meteo) == null ? void 0 : ai.wind) == null ? void 0 : ii.degree, !1))
|
|
1211
1212
|
}, null, 4)
|
|
1212
1213
|
])) : (n(), o("span", RD, "-"))
|
|
1213
1214
|
]),
|
|
1214
1215
|
t("td", {
|
|
1215
1216
|
class: V(D.computedWindClass(m))
|
|
1216
|
-
}, i(D.roundPrecision((
|
|
1217
|
-
(
|
|
1218
|
-
t("td", null, i(D.roundPrecision((
|
|
1217
|
+
}, i(D.roundPrecision((si = (li = m.meteo) == null ? void 0 : li.wind) == null ? void 0 : si.kts, 1)), 3),
|
|
1218
|
+
(ni = (ei = s.plan) == null ? void 0 : ei.voyage) != null && ni.sendRptWithBF ? (n(), o("td", VD, i((di = (oi = m.meteo) == null ? void 0 : oi.wind) == null ? void 0 : di.scale), 1)) : I("", !0),
|
|
1219
|
+
t("td", null, i(D.roundPrecision((Ni = (Di = (Mi = m.meteo) == null ? void 0 : Mi.wave) == null ? void 0 : Di.wd) == null ? void 0 : Ni.height, 1)), 1),
|
|
1219
1220
|
t("td", null, [
|
|
1220
|
-
((
|
|
1221
|
-
t("span", null, i((
|
|
1221
|
+
((Ii = (ri = (ci = m.meteo) == null ? void 0 : ci.wave) == null ? void 0 : ri.swell) == null ? void 0 : Ii.height) !== null && ((ui = (Ai = (gi = m.meteo) == null ? void 0 : gi.wave) == null ? void 0 : Ai.swell) != null && ui.direction) ? (n(), o("div", FD, [
|
|
1222
|
+
t("span", null, i((vi = (yi = (mi = m.meteo) == null ? void 0 : mi.wave) == null ? void 0 : yi.swell) == null ? void 0 : vi.direction), 1),
|
|
1222
1223
|
t("i", {
|
|
1223
1224
|
class: "iconfont icon-jiantouicon",
|
|
1224
|
-
style: el(D.computeDegree("swell", (
|
|
1225
|
+
style: el(D.computeDegree("swell", (zi = (xi = (Ti = m.meteo) == null ? void 0 : Ti.wave) == null ? void 0 : xi.swell) == null ? void 0 : zi.degree, !1))
|
|
1225
1226
|
}, null, 4)
|
|
1226
1227
|
])) : (n(), o("span", GD, "-"))
|
|
1227
1228
|
]),
|
|
1228
|
-
t("td", null, i(D.roundPrecision((
|
|
1229
|
-
t("td", null, i(D.roundPrecision((
|
|
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, 1)), 1),
|
|
1230
1231
|
t("td", PD, [
|
|
1231
|
-
((
|
|
1232
|
-
t("span", null, i((
|
|
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
|
+
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),
|
|
1233
1234
|
t("i", {
|
|
1234
1235
|
class: "iconfont icon-jiantouicon",
|
|
1235
|
-
style: el(D.computeDegree("wave", (
|
|
1236
|
+
style: el(D.computeDegree("wave", (Gi = (Fi = (Vi = m.meteo) == null ? void 0 : Vi.wave) == null ? void 0 : Fi.sig) == null ? void 0 : Gi.degree, !1))
|
|
1236
1237
|
}, null, 4)
|
|
1237
1238
|
])) : (n(), o("span", ZD, "-"))
|
|
1238
1239
|
]),
|
|
1239
1240
|
t("td", {
|
|
1240
1241
|
class: V(D.computedSigClass(m))
|
|
1241
|
-
}, i(D.roundPrecision((
|
|
1242
|
-
t("td", null, i(D.roundPrecision((
|
|
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, 1)), 1),
|
|
1243
1244
|
t("td", null, [
|
|
1244
|
-
((
|
|
1245
|
-
t("span", null, i((
|
|
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
|
+
t("span", null, i(($i = (qi = m.meteo) == null ? void 0 : qi.current) == null ? void 0 : $i.direction), 1),
|
|
1246
1247
|
t("i", {
|
|
1247
1248
|
class: "iconfont icon-jiantouicon",
|
|
1248
|
-
style: el(D.computeDegree("current", (
|
|
1249
|
+
style: el(D.computeDegree("current", (al = (tl = m.meteo) == null ? void 0 : tl.current) == null ? void 0 : al.degree, !0))
|
|
1249
1250
|
}, null, 4)
|
|
1250
1251
|
])) : (n(), o("span", BD, "-"))
|
|
1251
1252
|
]),
|
|
1252
|
-
t("td", null, i(D.roundPrecision((
|
|
1253
|
+
t("td", null, i(D.roundPrecision((ll = (il = m.meteo) == null ? void 0 : il.current) == null ? void 0 : ll.kts, 1)), 1),
|
|
1253
1254
|
t("td", null, i(D.roundPrecision(m.cFactor, 1)), 1),
|
|
1254
|
-
t("td", null, i(D.roundPrecision((ll = m.meteo) == null ? void 0 : ll.visibility, 1)), 1),
|
|
1255
1255
|
D.isArctic ? (n(), o("td", _D, i(D.roundPrecision((w = (N = m.meteo) == null ? void 0 : N.ice) == null ? void 0 : w.sit, 2)), 1)) : I("", !0),
|
|
1256
1256
|
D.isArctic ? (n(), o("td", JD, i(((F = (R = m.meteo) == null ? void 0 : R.ice) == null ? void 0 : F.sic) >= 0 ? D.roundPrecision(((P = (G = m.meteo) == null ? void 0 : G.ice) == null ? void 0 : P.sic) * 100, 0) : "-"), 1)) : I("", !0)
|
|
1257
1257
|
]);
|
|
@@ -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-4ec0c6b4"]]), yU = {
|
|
1275
1275
|
install(e) {
|
|
1276
1276
|
e.component("PlanReport", XD);
|
|
1277
1277
|
}
|