@idmwx/idmui-gl3 4.5.5 → 4.5.6

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 CHANGED
@@ -6185,19 +6185,20 @@ const tM = {
6185
6185
  },
6186
6186
  computed: {
6187
6187
  computeDate() {
6188
- return function(b) {
6189
- const M = this.computeGmtNumber ?? Number(this.timeZone);
6190
- return b ? `${b0(b).utcOffset(M * 60).format("MMM-DD/HHmm, YYYY")}` : "-";
6188
+ return function(b, M) {
6189
+ const z = M ?? 0;
6190
+ return b ? `${b0(b).utcOffset(z * 60).format("MMM-DD/HHmm, YYYY")}` : "-";
6191
6191
  };
6192
6192
  },
6193
6193
  computeTime() {
6194
- return function(b) {
6195
- return b ? `${b0(b).format("MMM-DD,HHmm")}` : "-";
6194
+ return function(b, M) {
6195
+ const z = M ?? 0;
6196
+ return b ? `${b0(b).utcOffset(z * 60).format("MMM-DD,HHmm")}` : "-";
6196
6197
  };
6197
6198
  },
6198
6199
  computeHourL() {
6199
6200
  return function(b, M) {
6200
- const z = M ?? Number(this.timeZone);
6201
+ const z = M ?? 0;
6201
6202
  return b ? `${b0(b).utcOffset(z).format("HH")}` : "-";
6202
6203
  };
6203
6204
  },
@@ -6709,7 +6710,7 @@ function gb(b, M, z, O, p, o) {
6709
6710
  ])
6710
6711
  ]),
6711
6712
  c("div", mM, [
6712
- c("div", BM, v(o.computeTime(z.ts)), 1),
6713
+ c("div", BM, v(o.computeTime(z.ts, z.timeZone)), 1),
6713
6714
  c("div", NM, v(o.computeTimeZone), 1)
6714
6715
  ])
6715
6716
  ]),
@@ -6736,7 +6737,7 @@ function gb(b, M, z, O, p, o) {
6736
6737
  colspan: "1",
6737
6738
  class: "td-title td-col",
6738
6739
  key: Math.random()
6739
- }, v(o.computeHourL(X)), 1))), 128))
6740
+ }, v(o.computeHourL(X, z.timeZone)), 1))), 128))
6740
6741
  ]),
6741
6742
  c("tr", TM, [
6742
6743
  M[14] || (M[14] = c("th", {
@@ -6852,7 +6853,7 @@ function gb(b, M, z, O, p, o) {
6852
6853
  colspan: "1",
6853
6854
  class: "td-title td-col",
6854
6855
  key: Math.random()
6855
- }, v(o.computeHourL(X)), 1))), 128))
6856
+ }, v(o.computeHourL(X, z.timeZone)), 1))), 128))
6856
6857
  ]),
6857
6858
  c("tr", DM, [
6858
6859
  M[21] || (M[21] = c("th", {
@@ -7024,7 +7025,7 @@ function gb(b, M, z, O, p, o) {
7024
7025
  c("div", ZM, [
7025
7026
  c("div", null, [
7026
7027
  c("div", $M, "Weather forecast for " + v(o.computeLat((X = z.meteo) == null ? void 0 : X.lat)) + "," + v(o.computeLng((T = z.meteo) == null ? void 0 : T.lng)) + " ( UTC " + v(o.computeGmtTimeZone) + " )", 1),
7027
- c("div", YM, "At coordinates, issued " + v(o.computeDate(z.ts)), 1)
7028
+ c("div", YM, "At coordinates, issued " + v(o.computeDate(z.ts, o.computeGmtNumber)), 1)
7028
7029
  ]),
7029
7030
  c("div", Mb, [
7030
7031
  M[28] || (M[28] = c("span", { class: "iconfont icon" }, "", -1)),
@@ -7050,7 +7051,7 @@ function gb(b, M, z, O, p, o) {
7050
7051
  colspan: "1",
7051
7052
  class: "td-title td-col",
7052
7053
  key: Math.random()
7053
- }, v(o.computeHourL(N, this.computeGmtNumber)), 1))), 128))
7054
+ }, v(o.computeHourL(N, o.computeGmtNumber)), 1))), 128))
7054
7055
  ]),
7055
7056
  c("tr", cb, [
7056
7057
  M[29] || (M[29] = c("th", {
@@ -7063,7 +7064,7 @@ function gb(b, M, z, O, p, o) {
7063
7064
  colspan: "1",
7064
7065
  class: "td-title td-col",
7065
7066
  key: Math.random()
7066
- }, v(o.computeHourZ(N, this.computeGmtNumber)), 1))), 128))
7067
+ }, v(o.computeHourZ(N, o.computeGmtNumber)), 1))), 128))
7067
7068
  ]),
7068
7069
  c("tr", eb, [
7069
7070
  M[30] || (M[30] = c("td", {
@@ -7380,7 +7381,7 @@ function gb(b, M, z, O, p, o) {
7380
7381
  }, 8, ["modelValue"])
7381
7382
  ]);
7382
7383
  }
7383
- const yb = /* @__PURE__ */ G(tM, [["render", gb], ["__scopeId", "data-v-a003a8a9"]]), Xb = {
7384
+ const yb = /* @__PURE__ */ G(tM, [["render", gb], ["__scopeId", "data-v-98216aa2"]]), Xb = {
7384
7385
  name: "IdmWarZone",
7385
7386
  props: {
7386
7387
  map: {