@idmui/spot 1.1.7 → 1.1.8
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.
|
@@ -82,6 +82,11 @@ declare namespace _sfc_main {
|
|
|
82
82
|
export namespace menuIndex {
|
|
83
83
|
function handler(): void;
|
|
84
84
|
}
|
|
85
|
+
export namespace positionGmt {
|
|
86
|
+
export function handler(): void;
|
|
87
|
+
const immediate_1: boolean;
|
|
88
|
+
export { immediate_1 as immediate };
|
|
89
|
+
}
|
|
85
90
|
}
|
|
86
91
|
function mounted(): void;
|
|
87
92
|
namespace methods {
|
|
@@ -16609,7 +16609,7 @@ function(A) {
|
|
|
16609
16609
|
var i = n.getContext("2d");
|
|
16610
16610
|
i.fillStyle = "#fff", i.fillRect(0, 0, n.width, n.height);
|
|
16611
16611
|
var a = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, l = this;
|
|
16612
|
-
return (l1.canvg ? Promise.resolve(l1.canvg) : import("./index.es-
|
|
16612
|
+
return (l1.canvg ? Promise.resolve(l1.canvg) : import("./index.es-9026f5ff.js")).catch(function(f) {
|
|
16613
16613
|
return Promise.reject(new Error("Could not load canvg: " + f));
|
|
16614
16614
|
}).then(function(f) {
|
|
16615
16615
|
return f.default ? f.default : f;
|
|
@@ -17656,6 +17656,12 @@ const zg = {
|
|
|
17656
17656
|
seasonalEchart: !0
|
|
17657
17657
|
}, this.handleRender();
|
|
17658
17658
|
}
|
|
17659
|
+
},
|
|
17660
|
+
positionGmt: {
|
|
17661
|
+
handler() {
|
|
17662
|
+
console.log(999, this.positionGmt);
|
|
17663
|
+
},
|
|
17664
|
+
immediate: !0
|
|
17659
17665
|
}
|
|
17660
17666
|
},
|
|
17661
17667
|
mounted() {
|
|
@@ -17784,7 +17790,7 @@ const zg = {
|
|
|
17784
17790
|
});
|
|
17785
17791
|
(M == null ? void 0 : M.data.code) === 0 && (this.meteoData = {
|
|
17786
17792
|
...M == null ? void 0 : M.data.data
|
|
17787
|
-
}, this.etime = (b = M == null ? void 0 : M.data) == null ? void 0 : b.etime, this.positionGmt = (n = (p = (z = this.meteoData) == null ? void 0 : z.weather) == null ? void 0 : p[0]) == null ? void 0 : n.timezone, this.positionOffset = (l = (a = (i = this.meteoData) == null ? void 0 : i.weather) == null ? void 0 : a[0]) == null ? void 0 : l.offset, this.issuedDate = b1(this.etime).utc().format("MMM-DD/HHmm[Z], YYYY"));
|
|
17793
|
+
}, this.etime = (b = M == null ? void 0 : M.data) == null ? void 0 : b.etime, this.positionGmt = (n = (p = (z = this.meteoData) == null ? void 0 : z.weather) == null ? void 0 : p[0]) == null ? void 0 : n.timezone, console.log(888, this.positionGmt), this.positionOffset = (l = (a = (i = this.meteoData) == null ? void 0 : i.weather) == null ? void 0 : a[0]) == null ? void 0 : l.offset, this.issuedDate = b1(this.etime).utc().format("MMM-DD/HHmm[Z], YYYY"));
|
|
17788
17794
|
},
|
|
17789
17795
|
async fetchHistoryMeteo(A) {
|
|
17790
17796
|
var z, p, n, i, a, l, f;
|
|
@@ -17803,7 +17809,7 @@ const zg = {
|
|
|
17803
17809
|
Authorization: this.token
|
|
17804
17810
|
}
|
|
17805
17811
|
});
|
|
17806
|
-
(b == null ? void 0 : b.data.code) === 0 && (this.meteoData = b == null ? void 0 : b.data.data, this.meteoData.showDateSelect = !1, this.etime = (z = b == null ? void 0 : b.data) == null ? void 0 : z.etime, this.positionGmt = (i = (n = (p = this.meteoData) == null ? void 0 : p.weather) == null ? void 0 : n[0]) == null ? void 0 : i.timezone, this.positionOffset = (f = (l = (a = this.meteoData) == null ? void 0 : a.weather) == null ? void 0 : l[0]) == null ? void 0 : f.offset, this.issuedDate = b1(this.etime).utc().format("MMM-DD/HHmm[Z], YYYY"));
|
|
17812
|
+
(b == null ? void 0 : b.data.code) === 0 && (this.meteoData = b == null ? void 0 : b.data.data, this.meteoData.showDateSelect = !1, this.etime = (z = b == null ? void 0 : b.data) == null ? void 0 : z.etime, this.positionGmt = (i = (n = (p = this.meteoData) == null ? void 0 : p.weather) == null ? void 0 : n[0]) == null ? void 0 : i.timezone, console.log(777, this.positionGmt), this.positionOffset = (f = (l = (a = this.meteoData) == null ? void 0 : a.weather) == null ? void 0 : l[0]) == null ? void 0 : f.offset, this.issuedDate = b1(this.etime).utc().format("MMM-DD/HHmm[Z], YYYY"));
|
|
17807
17813
|
},
|
|
17808
17814
|
async handleRender() {
|
|
17809
17815
|
if (this.disposeEcharts(), this.menuIndex === 1) {
|
|
@@ -21537,7 +21543,7 @@ function A8(A, e, t, o, M, b) {
|
|
|
21537
21543
|
}, 8, ["modelValue", "title"])
|
|
21538
21544
|
]);
|
|
21539
21545
|
}
|
|
21540
|
-
const e8 = /* @__PURE__ */ Nn(zg, [["render", A8], ["__scopeId", "data-v-
|
|
21546
|
+
const e8 = /* @__PURE__ */ Nn(zg, [["render", A8], ["__scopeId", "data-v-7ed2dfcb"]]), aL = {
|
|
21541
21547
|
install(A) {
|
|
21542
21548
|
A.component("SpotWeather", e8);
|
|
21543
21549
|
}
|
package/dist/index.js
CHANGED