@extscreen/es-core 2.3.24 → 2.3.26
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +14 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -801,6 +801,7 @@ class ESModule {
|
|
801
801
|
pageLimit: params.pageLimit,
|
802
802
|
backgroundColor: params.backgroundColor,
|
803
803
|
splash: params.splash,
|
804
|
+
transparent: params.transparent,
|
804
805
|
});
|
805
806
|
}
|
806
807
|
|
@@ -1552,7 +1553,7 @@ class ESSPDataModule {
|
|
1552
1553
|
});
|
1553
1554
|
}
|
1554
1555
|
}
|
1555
|
-
|
1556
|
+
return Promise.resolve(false);
|
1556
1557
|
}
|
1557
1558
|
);
|
1558
1559
|
}
|
@@ -1763,7 +1764,10 @@ class ESLocationManager {
|
|
1763
1764
|
|
1764
1765
|
getLocation() {
|
1765
1766
|
return new Promise((resolve, reject) => {
|
1766
|
-
|
1767
|
+
const params = {
|
1768
|
+
packageName: 'es.extscreen.runtime.setting'
|
1769
|
+
};
|
1770
|
+
ESSharedDataManager$1.getSharedString(params, 'location', '')
|
1767
1771
|
.then((str) => {
|
1768
1772
|
try {
|
1769
1773
|
const location = JSON.parse(str);
|
@@ -1807,9 +1811,16 @@ var ESLocation = {
|
|
1807
1811
|
|
1808
1812
|
methods: {
|
1809
1813
|
__onLocationChangedMessage(message) {
|
1814
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
1815
|
+
ESLog.d('ESLocationManager', '---------onLocationChange--------->>>>' + JSON.stringify(message));
|
1816
|
+
}
|
1817
|
+
const action = message.action;
|
1818
|
+
if (action !== 'onESLocationChanged') {
|
1819
|
+
return
|
1820
|
+
}
|
1810
1821
|
this.onLocationChange(message.extras);
|
1811
1822
|
},
|
1812
|
-
onLocationChange(
|
1823
|
+
onLocationChange(location) {
|
1813
1824
|
},
|
1814
1825
|
},
|
1815
1826
|
|