@idmui/spot 1.1.7 → 1.1.9
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-1a5c8c76.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;
|
|
@@ -17563,6 +17563,7 @@ const zg = {
|
|
|
17563
17563
|
computeHourLT() {
|
|
17564
17564
|
return function(A) {
|
|
17565
17565
|
if (A) {
|
|
17566
|
+
console.log(994, this.positionGmt);
|
|
17566
17567
|
const e = O1(A).tz(this.positionGmt);
|
|
17567
17568
|
return `${e == null ? void 0 : e.format("HH")}`;
|
|
17568
17569
|
}
|
|
@@ -17590,6 +17591,7 @@ const zg = {
|
|
|
17590
17591
|
computeMMMDDLT() {
|
|
17591
17592
|
return function(A) {
|
|
17592
17593
|
if (A) {
|
|
17594
|
+
console.log(995, this.positionGmt);
|
|
17593
17595
|
const e = O1(A).tz(this.positionGmt);
|
|
17594
17596
|
return `${e == null ? void 0 : e.format("MMM-DD")}`;
|
|
17595
17597
|
}
|
|
@@ -17656,6 +17658,12 @@ const zg = {
|
|
|
17656
17658
|
seasonalEchart: !0
|
|
17657
17659
|
}, this.handleRender();
|
|
17658
17660
|
}
|
|
17661
|
+
},
|
|
17662
|
+
positionGmt: {
|
|
17663
|
+
handler() {
|
|
17664
|
+
console.log(999, this.positionGmt);
|
|
17665
|
+
},
|
|
17666
|
+
immediate: !0
|
|
17659
17667
|
}
|
|
17660
17668
|
},
|
|
17661
17669
|
mounted() {
|
|
@@ -17784,7 +17792,7 @@ const zg = {
|
|
|
17784
17792
|
});
|
|
17785
17793
|
(M == null ? void 0 : M.data.code) === 0 && (this.meteoData = {
|
|
17786
17794
|
...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"));
|
|
17795
|
+
}, 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
17796
|
},
|
|
17789
17797
|
async fetchHistoryMeteo(A) {
|
|
17790
17798
|
var z, p, n, i, a, l, f;
|
|
@@ -17803,7 +17811,7 @@ const zg = {
|
|
|
17803
17811
|
Authorization: this.token
|
|
17804
17812
|
}
|
|
17805
17813
|
});
|
|
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"));
|
|
17814
|
+
(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
17815
|
},
|
|
17808
17816
|
async handleRender() {
|
|
17809
17817
|
if (this.disposeEcharts(), this.menuIndex === 1) {
|
|
@@ -21537,7 +21545,7 @@ function A8(A, e, t, o, M, b) {
|
|
|
21537
21545
|
}, 8, ["modelValue", "title"])
|
|
21538
21546
|
]);
|
|
21539
21547
|
}
|
|
21540
|
-
const e8 = /* @__PURE__ */ Nn(zg, [["render", A8], ["__scopeId", "data-v-
|
|
21548
|
+
const e8 = /* @__PURE__ */ Nn(zg, [["render", A8], ["__scopeId", "data-v-d0318cfe"]]), aL = {
|
|
21541
21549
|
install(A) {
|
|
21542
21550
|
A.component("SpotWeather", e8);
|
|
21543
21551
|
}
|
package/dist/index.js
CHANGED