@idmwx/idmui-gl4 0.4.1 → 0.4.2

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
@@ -7482,8 +7482,7 @@ const ll = {
7482
7482
  default: 3
7483
7483
  },
7484
7484
  timeZone: {
7485
- type: Number,
7486
- default: 8
7485
+ type: Number
7487
7486
  },
7488
7487
  dateTime: {
7489
7488
  type: String
@@ -8273,12 +8272,12 @@ function fl(o, e, t, i, a, r) {
8273
8272
  density: "compact",
8274
8273
  height: "30",
8275
8274
  class: "text-none flex-1-1-0",
8276
- color: a.form.forecastModel === "ECWMF" ? "primary" : "",
8275
+ color: a.form.forecastModel === "ECMWF" ? "primary" : "",
8277
8276
  "base-color": "grey-lighten-1",
8278
- value: "ECWMF"
8277
+ value: "ECMWF"
8279
8278
  }, {
8280
8279
  default: d(() => e[16] || (e[16] = [
8281
- H("ECWMF", -1)
8280
+ H("ECMWF", -1)
8282
8281
  ])),
8283
8282
  _: 1,
8284
8283
  __: [16]
@@ -8998,7 +8997,7 @@ const _l = {
8998
8997
  //hour
8999
8998
  intervalOptions: [3, 6, 12, 24],
9000
8999
  showTimezone: !1,
9001
- timeZone: Number(localStorage.getItem("idm-timeZone-gl4")) ?? 8,
9000
+ timeZone: localStorage.getItem("idm-timeZone-gl4") ? Number(localStorage.getItem("idm-timeZone-gl4")) : D().utcOffset() / 60,
9002
9001
  offsets: [-12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
9003
9002
  source: ""
9004
9003
  };