@idmui/spot 0.8.8 → 0.9.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-becf3053.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;
|
|
@@ -15157,7 +15157,7 @@ const sm = {
|
|
|
15157
15157
|
const J = ee(this.pickedDate).clone().add(q, "d").format();
|
|
15158
15158
|
t.push(oe(J).tz(this.positionGmt).format("yyyy-MM-DD")), A.push(this.computeMMMDDLT(J)), e.push(q === 0 ? "Today" : this.computeWeekLT(J));
|
|
15159
15159
|
const rA = ((_ = or.pickDaily(this.meteoData, J)) == null ? void 0 : _[0]) || {};
|
|
15160
|
-
if (r.push(this.roundPrecision((W = (V = rA.weather) == null ? void 0 : V.temp) == null ? void 0 : W.min, 0)), n.push(this.roundPrecision((X = (Z = rA.weather) == null ? void 0 : Z.temp) == null ? void 0 : X.max, 0)), o.push(this.roundPrecision((Y = (k = rA.weather) == null ? void 0 : k.wind) == null ? void 0 : Y.kts, 1) ?? "- kts"), u.push(this.roundPrecision((E = (uA = rA.weather) == null ? void 0 : uA.precip) == null ? void 0 : E.sum, 1) ?? "- mm"), (F = rA.weather) != null && F.url) {
|
|
15160
|
+
if (r.push(this.roundPrecision(((W = (V = rA.weather) == null ? void 0 : V.temp) == null ? void 0 : W.min) - 5, 0)), n.push(this.roundPrecision((X = (Z = rA.weather) == null ? void 0 : Z.temp) == null ? void 0 : X.max, 0)), o.push(this.roundPrecision((Y = (k = rA.weather) == null ? void 0 : k.wind) == null ? void 0 : Y.kts, 1) ?? "- kts"), u.push(this.roundPrecision((E = (uA = rA.weather) == null ? void 0 : uA.precip) == null ? void 0 : E.sum, 1) ?? "- mm"), (F = rA.weather) != null && F.url) {
|
|
15161
15161
|
const N = await this.convertSvgUrlToBase64((K = rA.weather) == null ? void 0 : K.url);
|
|
15162
15162
|
i.push({ symbol: "image://" + N });
|
|
15163
15163
|
} else
|
|
@@ -15728,7 +15728,7 @@ const sm = {
|
|
|
15728
15728
|
let c = "", u = [];
|
|
15729
15729
|
t === 7 ? (c = "Precip.1h ( mm ) ", u = [
|
|
15730
15730
|
{
|
|
15731
|
-
gte:
|
|
15731
|
+
gte: 20,
|
|
15732
15732
|
color: "rgba(197, 5, 58, 1)",
|
|
15733
15733
|
label: "Heavy Rainstorm, >=20mm"
|
|
15734
15734
|
},
|
|
@@ -18691,7 +18691,7 @@ function Xv(t, A, e, r, n, i) {
|
|
|
18691
18691
|
}, 8, ["modelValue", "title"])
|
|
18692
18692
|
]);
|
|
18693
18693
|
}
|
|
18694
|
-
const Vv = /* @__PURE__ */ nh(sm, [["render", Xv], ["__scopeId", "data-v-
|
|
18694
|
+
const Vv = /* @__PURE__ */ nh(sm, [["render", Xv], ["__scopeId", "data-v-bea0fcb9"]]), JC = {
|
|
18695
18695
|
install(t) {
|
|
18696
18696
|
t.component("SpotWeather", Vv);
|
|
18697
18697
|
}
|
package/dist/index.js
CHANGED