@idmwx/idmui-gl4 0.8.8 → 0.9.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.
package/dist/index.js CHANGED
@@ -379,7 +379,7 @@ const si = {
379
379
  zone: {
380
380
  handler() {
381
381
  var t, e, o, i, a, r;
382
- this.zone ? (this.handleRender(), (t = this.map) == null || t.on("click", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleClick), (e = this.map) == null || e.on("mouseenter", [this.pointLayer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.pointLayer], this.handleLeave)) : (this.handleClear(), (i = this.map) == null || i.off("click", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleClick), (a = this.map) == null || a.off("mouseenter", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleHover), (r = this.map) == null || r.off("mouseleave", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleLeave));
382
+ this.zone ? (this.handleRender(), (t = this.map) == null || t.on("click", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.pointLayer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.pointLayer], this.handleLeave)) : (this.handleClear(), (i = this.map) == null || i.off("click", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleClick), (a = this.map) == null || a.off("mousemove", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleHover), (r = this.map) == null || r.off("mouseleave", [this.polygonLabelLayer, this.lineLabelLayer, this.pointLayer], this.handleLeave));
383
383
  },
384
384
  immediate: !0
385
385
  }
@@ -575,7 +575,7 @@ const hi = {
575
575
  port: {
576
576
  handler() {
577
577
  var t, e, o, i, a, r;
578
- this.port ? (this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mouseenter", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : (this.handleClear(), (i = this.map) == null || i.off("click", [this.layer], this.handleClick), (a = this.map) == null || a.off("mouseenter", [this.layer], this.handleHover), (r = this.map) == null || r.off("mouseleave", [this.layer], this.handleLeave));
578
+ this.port ? (this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : (this.handleClear(), (i = this.map) == null || i.off("click", [this.layer], this.handleClick), (a = this.map) == null || a.off("mousemove", [this.layer], this.handleHover), (r = this.map) == null || r.off("mouseleave", [this.layer], this.handleLeave));
579
579
  },
580
580
  immediate: !0
581
581
  }
@@ -710,7 +710,7 @@ function yi(t, e, o, i, a, r) {
710
710
  [Ge, a.showInfo]
711
711
  ]);
712
712
  }
713
- const bi = /* @__PURE__ */ Z(hi, [["render", yi], ["__scopeId", "data-v-9199bd8e"]]), wi = {
713
+ const bi = /* @__PURE__ */ Z(hi, [["render", yi], ["__scopeId", "data-v-6139e809"]]), wi = {
714
714
  name: "IdmLoadLine",
715
715
  props: {
716
716
  map: {
@@ -1362,7 +1362,7 @@ const Wi = {
1362
1362
  show: {
1363
1363
  handler() {
1364
1364
  var t, e, o, i, a, r;
1365
- this.show ? (this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mouseenter", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : (this.handleClear(), (i = this.map) == null || i.off("click", [this.layer], this.handleClick), (a = this.map) == null || a.off("mouseenter", [this.layer], this.handleHover), (r = this.map) == null || r.off("mouseleave", [this.layer], this.handleLeave));
1365
+ this.show ? (this.handleRender(), (t = this.map) == null || t.on("click", [this.layer], this.handleClick), (e = this.map) == null || e.on("mousemove", [this.layer], this.handleHover), (o = this.map) == null || o.on("mouseleave", [this.layer], this.handleLeave)) : (this.handleClear(), (i = this.map) == null || i.off("click", [this.layer], this.handleClick), (a = this.map) == null || a.off("mousemove", [this.layer], this.handleHover), (r = this.map) == null || r.off("mouseleave", [this.layer], this.handleLeave));
1366
1366
  },
1367
1367
  immediate: !0
1368
1368
  },
@@ -1447,7 +1447,7 @@ function qi(t, e, o, i, a, r) {
1447
1447
  [Ge, a.showInfo]
1448
1448
  ]);
1449
1449
  }
1450
- const Ki = /* @__PURE__ */ Z(Wi, [["render", qi], ["__scopeId", "data-v-851cf973"]]), Qi = {
1450
+ const Ki = /* @__PURE__ */ Z(Wi, [["render", qi], ["__scopeId", "data-v-a1d66213"]]), Qi = {
1451
1451
  name: "IdmIceAreas",
1452
1452
  props: {
1453
1453
  map: {
@@ -5067,13 +5067,13 @@ const wl = {
5067
5067
  },
5068
5068
  isLogin: {
5069
5069
  handler(t) {
5070
- t ? (this.fetchModels(), this.fetchWeatherLayers()) : this.models = {};
5070
+ t ? this.fetchModels() : this.models = {};
5071
5071
  },
5072
5072
  immediate: !0
5073
5073
  }
5074
5074
  },
5075
5075
  mounted() {
5076
- this.fetchCache(), this.fetchModels(), this.fetchWeatherLayers();
5076
+ this.fetchCache(), this.fetchWeatherLayers();
5077
5077
  },
5078
5078
  methods: {
5079
5079
  arraysEqual(t, e) {
@@ -9480,7 +9480,8 @@ const qs = {
9480
9480
  },
9481
9481
  methods: {
9482
9482
  handleReset() {
9483
- this.handlePause(), this.startAnimate = 0;
9483
+ var t;
9484
+ this.handlePause(), this.startAnimate = 0, (t = this.$refs.dateTimePicker) == null || t.handleReset();
9484
9485
  },
9485
9486
  handleToggle(t, e) {
9486
9487
  this.show[t] = e, console.log();
@@ -9526,6 +9527,7 @@ function ln(t, e, o, i, a, r) {
9526
9527
  }, [
9527
9528
  l("div", Qs, [
9528
9529
  h(s, B({
9530
+ ref: "dateTimePicker",
9529
9531
  "date-time": a.currentDateTimeZ,
9530
9532
  "time-zone": a.timeZone,
9531
9533
  "day-about": a.dayAbout,