@idmui/spot 1.7.7 → 1.8.0

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.
@@ -125,7 +125,7 @@ declare namespace _sfc_main {
125
125
  function getRotatedArrowBase64(angle: any): string;
126
126
  function getRotatedArrow2Base64(angle: any): string;
127
127
  function handleClickDownload(): void;
128
- function handleDownloadPDF1(): void;
128
+ function handleDownloadPDF1(): Promise<void>;
129
129
  function handleDownloadPDF2(): Promise<false | undefined>;
130
130
  }
131
131
  }
@@ -16618,7 +16618,7 @@ function(A) {
16618
16618
  var i = r.getContext("2d");
16619
16619
  i.fillStyle = "#fff", i.fillRect(0, 0, r.width, r.height);
16620
16620
  var a = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
16621
- return (u1.canvg ? Promise.resolve(u1.canvg) : import("./index.es-203ab916.js")).catch(function(f) {
16621
+ return (u1.canvg ? Promise.resolve(u1.canvg) : import("./index.es-1229ab46.js")).catch(function(f) {
16622
16622
  return Promise.reject(new Error("Could not load canvg: " + f));
16623
16623
  }).then(function(f) {
16624
16624
  return f.default ? f.default : f;
@@ -17576,7 +17576,7 @@ const ng = {
17576
17576
  dateRangeZ: [],
17577
17577
  datePickerOptions: {},
17578
17578
  selectDate: void 0,
17579
- gateway: "https://cbe.idmwx.com",
17579
+ gateway: "https://cbe.ormwx.com",
17580
17580
  messageInstance: void 0,
17581
17581
  locale: "en",
17582
17582
  theme: "light"
@@ -19966,7 +19966,7 @@ const ng = {
19966
19966
  handleClickDownload() {
19967
19967
  this.menuIndex === 4 ? this.handleDownloadPDF2() : this.showDownloadDialog = !0;
19968
19968
  },
19969
- handleDownloadPDF1() {
19969
+ async handleDownloadPDF1() {
19970
19970
  var M, z;
19971
19971
  this.showDownloadDialog = !1, this.$emit("download", !0);
19972
19972
  let A = 7, e, t = 1, o = {};
@@ -20007,7 +20007,7 @@ const ng = {
20007
20007
  theme: this.theme || "light",
20008
20008
  type: "FORECAST"
20009
20009
  });
20010
- const b = Ot.post(`${this.gateway}/api/als/spots`, o, {
20010
+ const b = await Ot.post(`${this.gateway}/api/als/spots`, o, {
20011
20011
  headers: {
20012
20012
  Authorization: this.token
20013
20013
  }
@@ -21651,7 +21651,7 @@ function o8(A, e, t, o, b, M) {
21651
21651
  }, 8, ["modelValue"])
21652
21652
  ]);
21653
21653
  }
21654
- const b8 = /* @__PURE__ */ Nr(ng, [["render", o8], ["__scopeId", "data-v-11caacd1"]]), lL = {
21654
+ const b8 = /* @__PURE__ */ Nr(ng, [["render", o8], ["__scopeId", "data-v-21d48081"]]), lL = {
21655
21655
  install(A) {
21656
21656
  A.component("SpotWeather", b8);
21657
21657
  }
@@ -23005,7 +23005,7 @@ function bL(A, e, t, o, b, M) {
23005
23005
  ]),
23006
23006
  R("div", u8, [
23007
23007
  (r = b.position) != null && r.name && !((i = b.loading) != null && i.meteogramEchart) ? (L0(), m0("div", q8, [...e[4] || (e[4] = [
23008
- c4('<div class="title flex-start" data-v-16e04efd><div style="margin-right:20px;" data-v-16e04efd>Meteogram</div></div><div id="weather-icons" data-v-16e04efd></div><div id="weather-condition" data-v-16e04efd></div><div id="wave-swell" data-v-16e04efd></div>', 4)
23008
+ c4('<div class="title flex-start" data-v-966b74d8><div style="margin-right:20px;" data-v-966b74d8>Meteogram</div></div><div id="weather-icons" data-v-966b74d8></div><div id="weather-condition" data-v-966b74d8></div><div id="wave-swell" data-v-966b74d8></div>', 4)
23009
23009
  ])])) : (a = b.loading) != null && a.meteogramEchart ? (L0(), m0("div", h8, [...e[5] || (e[5] = [
23010
23010
  R("img", {
23011
23011
  style: { height: "200px" },
@@ -23322,7 +23322,7 @@ function bL(A, e, t, o, b, M) {
23322
23322
  ])
23323
23323
  ]);
23324
23324
  }
23325
- const ML = /* @__PURE__ */ Nr(M8, [["render", bL], ["__scopeId", "data-v-16e04efd"]]), dL = {
23325
+ const ML = /* @__PURE__ */ Nr(M8, [["render", bL], ["__scopeId", "data-v-966b74d8"]]), dL = {
23326
23326
  install(A) {
23327
23327
  A.component("SpotReport", ML);
23328
23328
  }
@@ -1,4 +1,4 @@
1
- import { c as Qe, _ as Ha, g as Lo } from "./index-0785cabb.js";
1
+ import { c as Qe, _ as Ha, g as Lo } from "./index-876e1901.js";
2
2
  import "moment";
3
3
  import "@element-plus/icons-vue";
4
4
  import "@idm-plugin/geo";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { d as s, b as g, a as h, S as l } from "./index-0785cabb.js";
1
+ import { d as s, b as g, a as h, S as l } from "./index-876e1901.js";
2
2
  import "moment";
3
3
  import "@element-plus/icons-vue";
4
4
  import "@idm-plugin/geo";