@idmwx/idmui-gl3 5.0.4 → 5.0.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
@@ -6274,7 +6274,7 @@ const AM = {
6274
6274
  positionGmt: void 0,
6275
6275
  localDate: void 0,
6276
6276
  meteoMarker: void 0,
6277
- tideData: { extremes: [] },
6277
+ tideData: {},
6278
6278
  tideTableData: [],
6279
6279
  tideLoading: !1
6280
6280
  };
@@ -6304,7 +6304,7 @@ const AM = {
6304
6304
  point: {
6305
6305
  async handler() {
6306
6306
  var b;
6307
- if (this.showMeteo = !0, this.tideData = { extremes: [] }, this.meteoData = {}, this.showMeteo && this.ts) {
6307
+ if (this.showMeteo = !0, this.tideData = {}, this.meteoData = {}, this.showMeteo && this.ts) {
6308
6308
  this.handleRender();
6309
6309
  const M = K();
6310
6310
  ((b = K(this.ts)) == null ? void 0 : b.diff(M, "d", !0)) >= 0 ? await this.fetchMeteoData(this.point, this.ts, 7) : await this.fetchHistoryData(this.point, this.ts), this.initTableData(this.meteoData), this.activeIndex === 4 && this.initTideTableData(this.tideData);
@@ -6448,7 +6448,7 @@ const AM = {
6448
6448
  },
6449
6449
  async fetchTidesData(b, M, z) {
6450
6450
  this.tideLoading = !0, this.tideData = {};
6451
- let O = M ? K(M).utc().format("yyyy-MM-DD") : K().utc().format("yyyy-MM-DD"), p = {
6451
+ let O = M ? K(M).utc().format() : K().utc().format(), p = {
6452
6452
  lat: b.lat,
6453
6453
  lng: b.lng,
6454
6454
  date: O,
@@ -6460,7 +6460,7 @@ const AM = {
6460
6460
  Authorization: this.token || this.defaultMeteoToken
6461
6461
  }
6462
6462
  });
6463
- (o == null ? void 0 : o.data.code) === 0 && (this.tideData = (o == null ? void 0 : o.data.data) || { extremes: [] }, this.tideLoading = !1);
6463
+ (o == null ? void 0 : o.data.code) === 0 && (this.tideData = (o == null ? void 0 : o.data.data) || {}, this.tideLoading = !1);
6464
6464
  },
6465
6465
  async initTideTableData() {
6466
6466
  this.tideTableData = [];
@@ -6956,7 +6956,7 @@ function Ob(b, M, z, O, p, o) {
6956
6956
  [w0, p.showMeteo]
6957
6957
  ]);
6958
6958
  }
6959
- const ob = /* @__PURE__ */ k(AM, [["render", Ob], ["__scopeId", "data-v-226bf506"]]), cb = {
6959
+ const ob = /* @__PURE__ */ k(AM, [["render", Ob], ["__scopeId", "data-v-4df76f40"]]), cb = {
6960
6960
  name: "IdmWarZone",
6961
6961
  props: {
6962
6962
  map: {