@idmwx/idmui-gl4 0.0.5 → 0.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 +7 -16
- package/dist/index.umd.cjs +1 -1
- package/dist/mapbox/src/components/meteoLayer.vue.d.ts +12 -19
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1548,15 +1548,14 @@ const wa = {
|
|
|
1548
1548
|
watch: {
|
|
1549
1549
|
toggleVersion: {
|
|
1550
1550
|
handler() {
|
|
1551
|
-
this.$nextTick(() => {
|
|
1552
|
-
var a;
|
|
1553
|
-
this.right = (((a = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : a.clientWidth) || 0) + 10;
|
|
1554
|
-
});
|
|
1555
1551
|
}
|
|
1556
1552
|
},
|
|
1557
1553
|
"menuToggle.v": {
|
|
1558
1554
|
handler() {
|
|
1559
|
-
this.toggle = this.menuToggle.otherLayers
|
|
1555
|
+
this.toggle = this.menuToggle.otherLayers, this.$nextTick(() => {
|
|
1556
|
+
var a;
|
|
1557
|
+
this.right = (((a = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : a.clientWidth) || 0) + 10;
|
|
1558
|
+
});
|
|
1560
1559
|
},
|
|
1561
1560
|
immediate: !0
|
|
1562
1561
|
},
|
|
@@ -1911,9 +1910,6 @@ const ri = {
|
|
|
1911
1910
|
type: Object,
|
|
1912
1911
|
default: {}
|
|
1913
1912
|
},
|
|
1914
|
-
toggleVersion: {
|
|
1915
|
-
type: Number
|
|
1916
|
-
},
|
|
1917
1913
|
isLogin: {
|
|
1918
1914
|
type: Boolean,
|
|
1919
1915
|
default: void 0
|
|
@@ -2008,19 +2004,14 @@ const ri = {
|
|
|
2008
2004
|
}
|
|
2009
2005
|
},
|
|
2010
2006
|
watch: {
|
|
2011
|
-
|
|
2007
|
+
"menuToggle.v": {
|
|
2012
2008
|
handler() {
|
|
2013
|
-
this.$nextTick(() => {
|
|
2009
|
+
this.toggle = this.menuToggle.weatherLayers, this.$nextTick(() => {
|
|
2014
2010
|
var a;
|
|
2015
2011
|
this.right = (((a = document.getElementsByClassName("right-bar")[0]) == null ? void 0 : a.clientWidth) || 0) + 10;
|
|
2016
2012
|
});
|
|
2017
2013
|
}
|
|
2018
2014
|
},
|
|
2019
|
-
"menuToggle.v": {
|
|
2020
|
-
handler() {
|
|
2021
|
-
this.toggle = this.menuToggle.weatherLayers;
|
|
2022
|
-
}
|
|
2023
|
-
},
|
|
2024
2015
|
source: {
|
|
2025
2016
|
handler(a, e) {
|
|
2026
2017
|
a && a !== e && this.$emit("forecastModel", this.source), a && e && a !== e && this.handleConfirm();
|
|
@@ -2132,7 +2123,7 @@ const ri = {
|
|
|
2132
2123
|
this.autoActive = !this.autoActive, localStorage.setItem(this.cache.autoActiveKey, this.autoActive), this.autoActive ? (this.$emit("weather", this.activeWeatherLayersCollected, this.sourceCode), this.$emit("toggleWindFeather", localStorage.getItem(this.cache.windFeatherCollectedKey) === "true"), this.$emit("toggleCurrentIsoband", localStorage.getItem(this.cache.currentIsobandCollectedKey) === "true")) : (this.$emit("weather", [], this.sourceCode), this.$emit("toggleWindFeather", !1), this.$emit("toggleCurrentIsoband", !1));
|
|
2133
2124
|
}
|
|
2134
2125
|
}
|
|
2135
|
-
}, si = { class: "idm-gl4-
|
|
2126
|
+
}, si = { class: "idm-gl4-meteo-layers" }, li = { class: "bar-item layer-bars" }, ni = { class: "header-box flex-between" }, ci = { class: "weather-layers card-bg" }, hi = { class: "layers-title flex-between" }, pi = {
|
|
2136
2127
|
key: 0,
|
|
2137
2128
|
class: "iconfont active"
|
|
2138
2129
|
}, di = {
|