@idmui/spot 1.7.5 → 1.7.7

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.
@@ -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-5dc42b14.js")).catch(function(f) {
16621
+ return (u1.canvg ? Promise.resolve(u1.canvg) : import("./index.es-203ab916.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;
@@ -17532,7 +17532,7 @@ const ng = {
17532
17532
  // default: 'light',
17533
17533
  // },
17534
17534
  },
17535
- emits: ["url", "spotId"],
17535
+ emits: ["url", "spotId", "download"],
17536
17536
  data() {
17537
17537
  return {
17538
17538
  loading: {
@@ -19967,8 +19967,8 @@ const ng = {
19967
19967
  this.menuIndex === 4 ? this.handleDownloadPDF2() : this.showDownloadDialog = !0;
19968
19968
  },
19969
19969
  handleDownloadPDF1() {
19970
- var M;
19971
- this.showDownloadDialog = !1;
19970
+ var M, z;
19971
+ this.showDownloadDialog = !1, this.$emit("download", !0);
19972
19972
  let A = 7, e, t = 1, o = {};
19973
19973
  this.menuIndex === 1 ? (A = z1(this.dateRangeZ[1]).diff(z1(this.dateRangeZ[0]), "d", !0) + 1, e = d1(this.dateRangeZ[0] || this.etime).tz(this.positionGmt).set({ hour: 0, minute: 0, second: 0 }).format(), t = 3, o = {
19974
19974
  lat: this.position.lat,
@@ -20012,7 +20012,7 @@ const ng = {
20012
20012
  Authorization: this.token
20013
20013
  }
20014
20014
  });
20015
- this.$emit("spotId", (M = b.data) == null ? void 0 : M.id);
20015
+ this.$emit("spotId", (z = (M = b.data) == null ? void 0 : M.data) == null ? void 0 : z.id);
20016
20016
  },
20017
20017
  async handleDownloadPDF2() {
20018
20018
  var A, e;
@@ -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-f3c9040d"]]), lL = {
21654
+ const b8 = /* @__PURE__ */ Nr(ng, [["render", o8], ["__scopeId", "data-v-11caacd1"]]), lL = {
21655
21655
  install(A) {
21656
21656
  A.component("SpotWeather", b8);
21657
21657
  }
@@ -1,4 +1,4 @@
1
- import { c as Qe, _ as Ha, g as Lo } from "./index-3f5dfb07.js";
1
+ import { c as Qe, _ as Ha, g as Lo } from "./index-0785cabb.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-3f5dfb07.js";
1
+ import { d as s, b as g, a as h, S as l } from "./index-0785cabb.js";
2
2
  import "moment";
3
3
  import "@element-plus/icons-vue";
4
4
  import "@idm-plugin/geo";