@idmui/spot 0.6.9 → 0.7.0
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.
|
@@ -13873,7 +13873,7 @@ function(t) {
|
|
|
13873
13873
|
*/
|
|
13874
13874
|
function(t) {
|
|
13875
13875
|
function A() {
|
|
13876
|
-
return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-
|
|
13876
|
+
return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-472546da.js")).catch(function(e) {
|
|
13877
13877
|
return Promise.reject(new Error("Could not load canvg: " + e));
|
|
13878
13878
|
}).then(function(e) {
|
|
13879
13879
|
return e.default ? e.default : e;
|
|
@@ -15156,7 +15156,7 @@ const sm = {
|
|
|
15156
15156
|
const M = await this.convertSvgUrlToBase64((K = rA.weather) == null ? void 0 : K.url);
|
|
15157
15157
|
i.push({ symbol: "image://" + M });
|
|
15158
15158
|
} else
|
|
15159
|
-
i.push({ symbol: "", symbolSize: 0 });
|
|
15159
|
+
i.push({ symbol: "image://", symbolSize: 0 });
|
|
15160
15160
|
a.push((T = rA.weather) == null ? void 0 : T.name), c.push((tA = (aA = rA.weather) == null ? void 0 : aA.wind) == null ? void 0 : tA.bearing);
|
|
15161
15161
|
const oA = document.createElement("canvas"), mA = oA.getContext("2d");
|
|
15162
15162
|
oA.width = g.width, oA.height = g.height;
|
|
@@ -15542,10 +15542,10 @@ const sm = {
|
|
|
15542
15542
|
const jA = await this.convertSvgUrlToBase64(($ = vA.weather) == null ? void 0 : $.url);
|
|
15543
15543
|
(rA = this.meteogramData) == null || rA.weatherIcons.push({ symbol: "image://" + jA, symbolSize: 30 });
|
|
15544
15544
|
} else
|
|
15545
|
-
this.hoursTableData.weatherIcons.push({ symbol: "", symbolSize: 0 });
|
|
15545
|
+
this.hoursTableData.weatherIcons.push({ symbol: "image://", symbolSize: 0 });
|
|
15546
15546
|
(mA = this.meteogramData) == null || mA.weatherNames.push((oA = vA.weather) == null ? void 0 : oA.name);
|
|
15547
15547
|
} else
|
|
15548
|
-
(Q = this.meteogramData) == null || Q.weatherIcons.push({ symbol: "", symbolSize: 0 }), (N = this.meteogramData) == null || N.weatherNames.push("");
|
|
15548
|
+
(Q = this.meteogramData) == null || Q.weatherIcons.push({ symbol: "image://", symbolSize: 0 }), (N = this.meteogramData) == null || N.weatherNames.push("");
|
|
15549
15549
|
if (_ % 3 === 0 ? (Y = this.meteogramData) == null || Y.windDir.push((M = (P = vA.weather) == null ? void 0 : P.wind) == null ? void 0 : M.bearing) : (W = this.meteogramData) == null || W.windDir.push(void 0), _ % 3 === 0) {
|
|
15550
15550
|
const jA = document.createElement("canvas"), UA = jA.getContext("2d");
|
|
15551
15551
|
jA.width = n.width, jA.height = n.height;
|
|
@@ -15612,10 +15612,10 @@ const sm = {
|
|
|
15612
15612
|
const te = await this.convertSvgUrlToBase64((Q = bA.weather) == null ? void 0 : Q.url);
|
|
15613
15613
|
(N = this.meteogramData) == null || N.weatherIcons.push({ symbol: "image://" + te, symbolSize: 30 });
|
|
15614
15614
|
} else
|
|
15615
|
-
this.hoursTableData.weatherIcons.push({ symbol: "", symbolSize: 0 });
|
|
15615
|
+
this.hoursTableData.weatherIcons.push({ symbol: "image://", symbolSize: 0 });
|
|
15616
15616
|
(M = this.meteogramData) == null || M.weatherNames.push((P = bA.weather) == null ? void 0 : P.name);
|
|
15617
15617
|
} else
|
|
15618
|
-
(Y = this.meteogramData) == null || Y.weatherIcons.push({ symbol: "", symbolSize: 0 }), (W = this.meteogramData) == null || W.weatherNames.push("");
|
|
15618
|
+
(Y = this.meteogramData) == null || Y.weatherIcons.push({ symbol: "image://", symbolSize: 0 }), (W = this.meteogramData) == null || W.weatherNames.push("");
|
|
15619
15619
|
if (UA % 6 === 0 ? (R = this.meteogramData) == null || R.windDir.push((hA = (nA = bA.weather) == null ? void 0 : nA.wind) == null ? void 0 : hA.bearing) : (yA = this.meteogramData) == null || yA.windDir.push(void 0), UA % 6 === 0) {
|
|
15620
15620
|
const te = document.createElement("canvas"), se = te.getContext("2d");
|
|
15621
15621
|
te.width = o.width, te.height = o.height;
|
|
@@ -18656,7 +18656,7 @@ function Xv(t, A, e, r, n, i) {
|
|
|
18656
18656
|
}, 8, ["modelValue", "title"])
|
|
18657
18657
|
]);
|
|
18658
18658
|
}
|
|
18659
|
-
const Vv = /* @__PURE__ */ nh(sm, [["render", Xv], ["__scopeId", "data-v-
|
|
18659
|
+
const Vv = /* @__PURE__ */ nh(sm, [["render", Xv], ["__scopeId", "data-v-69dd72c0"]]), YC = {
|
|
18660
18660
|
install(t) {
|
|
18661
18661
|
t.component("SpotWeather", Vv);
|
|
18662
18662
|
}
|
|
@@ -18852,10 +18852,10 @@ const Wv = {
|
|
|
18852
18852
|
const jA = await this.convertSvgUrlToBase64(($ = vA.weather) == null ? void 0 : $.url);
|
|
18853
18853
|
(rA = this.meteogramData) == null || rA.weatherIcons.push({ symbol: "image://" + jA, symbolSize: 30 });
|
|
18854
18854
|
} else
|
|
18855
|
-
this.hoursTableData.weatherIcons.push({ symbol: "", symbolSize: 0 });
|
|
18855
|
+
this.hoursTableData.weatherIcons.push({ symbol: "image://", symbolSize: 0 });
|
|
18856
18856
|
(mA = this.meteogramData) == null || mA.weatherNames.push((oA = vA.weather) == null ? void 0 : oA.name);
|
|
18857
18857
|
} else
|
|
18858
|
-
(Q = this.meteogramData) == null || Q.weatherIcons.push({ symbol: "", symbolSize: 0 }), (N = this.meteogramData) == null || N.weatherNames.push("");
|
|
18858
|
+
(Q = this.meteogramData) == null || Q.weatherIcons.push({ symbol: "image://", symbolSize: 0 }), (N = this.meteogramData) == null || N.weatherNames.push("");
|
|
18859
18859
|
if (_ % 3 === 0 ? (Y = this.meteogramData) == null || Y.windDir.push((M = (P = vA.weather) == null ? void 0 : P.wind) == null ? void 0 : M.bearing) : (W = this.meteogramData) == null || W.windDir.push(void 0), _ % 3 === 0) {
|
|
18860
18860
|
const jA = document.createElement("canvas"), UA = jA.getContext("2d");
|
|
18861
18861
|
jA.width = n.width, jA.height = n.height;
|
|
@@ -18922,10 +18922,10 @@ const Wv = {
|
|
|
18922
18922
|
const te = await this.convertSvgUrlToBase64((Q = bA.weather) == null ? void 0 : Q.url);
|
|
18923
18923
|
(N = this.meteogramData) == null || N.weatherIcons.push({ symbol: "image://" + te, symbolSize: 30 });
|
|
18924
18924
|
} else
|
|
18925
|
-
this.hoursTableData.weatherIcons.push({ symbol: "", symbolSize: 0 });
|
|
18925
|
+
this.hoursTableData.weatherIcons.push({ symbol: "image://", symbolSize: 0 });
|
|
18926
18926
|
(M = this.meteogramData) == null || M.weatherNames.push((P = bA.weather) == null ? void 0 : P.name);
|
|
18927
18927
|
} else
|
|
18928
|
-
(Y = this.meteogramData) == null || Y.weatherIcons.push({ symbol: "", symbolSize: 0 }), (W = this.meteogramData) == null || W.weatherNames.push("");
|
|
18928
|
+
(Y = this.meteogramData) == null || Y.weatherIcons.push({ symbol: "image://", symbolSize: 0 }), (W = this.meteogramData) == null || W.weatherNames.push("");
|
|
18929
18929
|
if (UA % 6 === 0 ? (R = this.meteogramData) == null || R.windDir.push((hA = (nA = bA.weather) == null ? void 0 : nA.wind) == null ? void 0 : hA.bearing) : (yA = this.meteogramData) == null || yA.windDir.push(void 0), UA % 6 === 0) {
|
|
18930
18930
|
const te = document.createElement("canvas"), se = te.getContext("2d");
|
|
18931
18931
|
te.width = o.width, te.height = o.height;
|
|
@@ -19971,7 +19971,7 @@ function kC(t, A, e, r, n, i) {
|
|
|
19971
19971
|
]),
|
|
19972
19972
|
S("div", rC, [
|
|
19973
19973
|
(u = n.position) != null && u.name && !((d = n.loading) != null && d.meteogramEchart) ? (QA(), xA("div", nC, A[0] || (A[0] = [
|
|
19974
|
-
bd('<div class="title flex-start" data-v-
|
|
19974
|
+
bd('<div class="title flex-start" data-v-52acda28><div style="margin-right:20px;" data-v-52acda28>Meteogram</div></div><div id="weather-icons" data-v-52acda28></div><div id="weather-condition" data-v-52acda28></div><div id="wave-swell" data-v-52acda28></div>', 4)
|
|
19975
19975
|
]))) : (B = n.loading) != null && B.meteogramEchart ? (QA(), xA("div", iC, A[1] || (A[1] = [
|
|
19976
19976
|
S("img", {
|
|
19977
19977
|
style: { height: "200px" },
|
|
@@ -20194,7 +20194,7 @@ function kC(t, A, e, r, n, i) {
|
|
|
20194
20194
|
])
|
|
20195
20195
|
]);
|
|
20196
20196
|
}
|
|
20197
|
-
const OC = /* @__PURE__ */ nh(Wv, [["render", kC], ["__scopeId", "data-v-
|
|
20197
|
+
const OC = /* @__PURE__ */ nh(Wv, [["render", kC], ["__scopeId", "data-v-52acda28"]]), qC = {
|
|
20198
20198
|
install(t) {
|
|
20199
20199
|
t.component("SpotReport", OC);
|
|
20200
20200
|
}
|
package/dist/index.js
CHANGED