@idmwx/idmui-gl4 0.4.2 → 0.4.3
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 +2 -2
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7950,7 +7950,7 @@ const dl = {
|
|
|
7950
7950
|
var t, i, a, r, s, c, n, u, h, g, f, y, M, T, L, P, C, v, S, b, k, _, I, W, V, U, Y, $, ee, K, se, me, pe, he, q, A, ne, fe, be, ke, ze;
|
|
7951
7951
|
this.currentHourData = {}, this.positionGmt = (i = (t = o == null ? void 0 : o.weather) == null ? void 0 : t[0]) == null ? void 0 : i.timezone, this.positionOffset = (r = (a = o == null ? void 0 : o.weather) == null ? void 0 : a[0]) == null ? void 0 : r.offset;
|
|
7952
7952
|
const e = ((s = qe.pickHourly(o, D(this.form.dateTime))) == null ? void 0 : s[0]) || {};
|
|
7953
|
-
this.currentHourData.utc = e.utc, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((g = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((M = (y = e == null ? void 0 : e.weather) == null ? void 0 : y.wind) == null ? void 0 : M.kts, 1) ?? "-", this.currentHourData.windDir = (L = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : L.direction, this.currentHourData.windLevel = this.roundPrecision((C = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : C.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((S = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : S.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((k = (b = e == null ? void 0 : e.wave) == null ? void 0 : b.sig) == null ? void 0 : k.height, 1) ?? "-", this.currentHourData.sigwaveDir = (I = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : I.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((V = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (U = e == null ? void 0 : e.wave) == null ? void 0 : U.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (q = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ne = (A = e == null ? void 0 : e.wave) == null ? void 0 : A.swell) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((fe = e == null ? void 0 : e.current) == null ? void 0 : fe.speed, 1) ?? "-", this.currentHourData.currentDir = (be = e == null ? void 0 : e.current) == null ? void 0 : be.direction, this.currentHourData.currentSpeed = this.roundPrecision((ke = e == null ? void 0 : e.current) == null ? void 0 : ke.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ze = e == null ? void 0 : e.weather) == null ? void 0 : ze.url;
|
|
7953
|
+
this.currentHourData.utc = e.utc, this.currentHourData.lat = this.form.lat, this.currentHourData.lng = this.form.lng, this.currentHourData.temp = this.roundPrecision((c = e == null ? void 0 : e.weather) == null ? void 0 : c.temp, 0) ?? "-", this.currentHourData.precipProbability = this.roundPrecision((u = (n = e == null ? void 0 : e.weather) == null ? void 0 : n.precip) == null ? void 0 : u.probability, 0) ?? "-", this.currentHourData.precip1h = this.roundPrecision((g = (h = e == null ? void 0 : e.weather) == null ? void 0 : h.precip) == null ? void 0 : g.sum, 0) ?? "-", this.currentHourData.visibility = this.roundPrecision((f = e == null ? void 0 : e.weather) == null ? void 0 : f.visibility, 0) ?? "-", this.currentHourData.windSpeed = this.roundPrecision((M = (y = e == null ? void 0 : e.weather) == null ? void 0 : y.wind) == null ? void 0 : M.kts, 1) ?? "-", this.currentHourData.windDir = (L = (T = e == null ? void 0 : e.weather) == null ? void 0 : T.wind) == null ? void 0 : L.direction, this.currentHourData.windLevel = this.roundPrecision((C = (P = e == null ? void 0 : e.weather) == null ? void 0 : P.wind) == null ? void 0 : C.scale, 0) ?? "-", this.currentHourData.windGust = this.roundPrecision((S = (v = e == null ? void 0 : e.weather) == null ? void 0 : v.wind) == null ? void 0 : S.gusts, 1) ?? "-", this.currentHourData.sigwaveHeight = this.roundPrecision((k = (b = e == null ? void 0 : e.wave) == null ? void 0 : b.sig) == null ? void 0 : k.height, 1) ?? "-", this.currentHourData.sigwaveDir = (I = (_ = e == null ? void 0 : e.wave) == null ? void 0 : _.sig) == null ? void 0 : I.direction, this.currentHourData.sigwavePeriod = this.roundPrecision((V = (W = e == null ? void 0 : e.wave) == null ? void 0 : W.sig) == null ? void 0 : V.period, 1) ?? "-", this.currentHourData.windwaveHeight = this.roundPrecision((Y = (U = e == null ? void 0 : e.wave) == null ? void 0 : U.wd) == null ? void 0 : Y.height, 1) ?? "-", this.currentHourData.windwaveDir = (ee = ($ = e == null ? void 0 : e.wave) == null ? void 0 : $.wd) == null ? void 0 : ee.direction, this.currentHourData.windwavePeriod = this.roundPrecision((se = (K = e == null ? void 0 : e.wave) == null ? void 0 : K.wd) == null ? void 0 : se.period, 1) ?? "-", this.currentHourData.swellHeight = this.roundPrecision((pe = (me = e == null ? void 0 : e.wave) == null ? void 0 : me.swell) == null ? void 0 : pe.height, 1) ?? "-", this.currentHourData.swellDir = (q = (he = e == null ? void 0 : e.wave) == null ? void 0 : he.swell) == null ? void 0 : q.direction, this.currentHourData.swellPeriod = this.roundPrecision((ne = (A = e == null ? void 0 : e.wave) == null ? void 0 : A.swell) == null ? void 0 : ne.period, 1) ?? "-", this.currentHourData.currentSpeed = this.roundPrecision((fe = e == null ? void 0 : e.current) == null ? void 0 : fe.speed, 1) ?? "-", this.currentHourData.currentDir = (be = e == null ? void 0 : e.current) == null ? void 0 : be.direction, this.currentHourData.currentSpeed = this.roundPrecision((ke = e == null ? void 0 : e.current) == null ? void 0 : ke.speed, 1) ?? "-", this.currentHourData.seaLevel = this.roundPrecision(e == null ? void 0 : e.height, 1) ?? "-", this.currentHourData.seaTemp = this.roundPrecision(e == null ? void 0 : e.sst, 0) ?? "-", this.currentHourData.weatherUrls = (ze = e == null ? void 0 : e.weather) == null ? void 0 : ze.url;
|
|
7954
7954
|
},
|
|
7955
7955
|
handleBind() {
|
|
7956
7956
|
var o, e;
|
|
@@ -8344,7 +8344,7 @@ function fl(o, e, t, i, a, r) {
|
|
|
8344
8344
|
return [
|
|
8345
8345
|
l("div", ul, [
|
|
8346
8346
|
e[23] || (e[23] = l("i", { class: "iconfont icon-a-Spotweather text-h5 font-weight-bold menu-icon-color" }, null, -1)),
|
|
8347
|
-
l("div", gl, z(r.computeLat((b = a.
|
|
8347
|
+
l("div", gl, z(r.computeLat((b = a.currentHourData) == null ? void 0 : b.lat)) + "," + z(r.computeLng((k = a.currentHourData) == null ? void 0 : k.lng)), 1)
|
|
8348
8348
|
]),
|
|
8349
8349
|
m(n, {
|
|
8350
8350
|
icon: "",
|