@idmwx/idmui-gl4 0.8.9 → 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 +7 -7
- package/dist/index.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
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("
|
|
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("
|
|
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-
|
|
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("
|
|
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-
|
|
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 ?
|
|
5070
|
+
t ? this.fetchModels() : this.models = {};
|
|
5071
5071
|
},
|
|
5072
5072
|
immediate: !0
|
|
5073
5073
|
}
|
|
5074
5074
|
},
|
|
5075
5075
|
mounted() {
|
|
5076
|
-
this.fetchCache(), this.
|
|
5076
|
+
this.fetchCache(), this.fetchWeatherLayers();
|
|
5077
5077
|
},
|
|
5078
5078
|
methods: {
|
|
5079
5079
|
arraysEqual(t, e) {
|