earthsdk3-ue 3.4.2 → 3.4.3
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/earthsdk3-ue.js
CHANGED
|
@@ -1053,7 +1053,7 @@ class to extends Be {
|
|
|
1053
1053
|
});
|
|
1054
1054
|
}, p = () => {
|
|
1055
1055
|
if (!h || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
|
|
1056
|
-
const u = this._ueFuncWithIdAndResultCallbacks.map((
|
|
1056
|
+
const u = this._ueFuncWithIdAndResultCallbacks.map(([c]) => c);
|
|
1057
1057
|
for (const [c, f] of this._ueFuncWithIdAndResultCallbacks)
|
|
1058
1058
|
this._waitingUeFuncIdAndResultCallbacks.set(c.fid, f);
|
|
1059
1059
|
this._ueFuncWithIdAndResultCallbacks.length = 0;
|
|
@@ -1458,7 +1458,7 @@ class ao extends Be {
|
|
|
1458
1458
|
});
|
|
1459
1459
|
}, g = () => {
|
|
1460
1460
|
if (!this._ue5ViewerWrapper.instance.webSocketReady || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
|
|
1461
|
-
const u = this._ueFuncWithIdAndResultCallbacks.map((
|
|
1461
|
+
const u = this._ueFuncWithIdAndResultCallbacks.map(([c]) => c);
|
|
1462
1462
|
for (const [c, f] of this._ueFuncWithIdAndResultCallbacks)
|
|
1463
1463
|
this._waitingUeFuncIdAndResultCallbacks.set(c.fid, f);
|
|
1464
1464
|
this._ueFuncWithIdAndResultCallbacks.length = 0;
|
|
@@ -1623,13 +1623,13 @@ class uo extends m {
|
|
|
1623
1623
|
} catch (n) {
|
|
1624
1624
|
console.error("ueViewer propChanged:" + n);
|
|
1625
1625
|
}
|
|
1626
|
-
})), t.useCustomInteraction = !1, this.dv(new pr(t, e)), this.dv(new L(t.statusUpdateIntervalChanged, (
|
|
1626
|
+
})), t.useCustomInteraction = !1, this.dv(new pr(t, e)), this.dv(new L(t.statusUpdateIntervalChanged, (r) => {
|
|
1627
1627
|
if ((t.statusUpdateInterval ?? 0.5) === 0) return;
|
|
1628
1628
|
const s = new m();
|
|
1629
1629
|
return s.d(i.disposableOnUeEvent("statusUpdate", (o) => {
|
|
1630
1630
|
t.statusUpdateEvent.emit(o);
|
|
1631
1631
|
})), s;
|
|
1632
|
-
}))
|
|
1632
|
+
})), this.dv(new L(t.propChangedListeningChanged, () => {
|
|
1633
1633
|
if (!(t.propChangedListening ?? !0)) return;
|
|
1634
1634
|
const n = new m();
|
|
1635
1635
|
return n.d(i.disposableOnUeEvent("propChanged", (s) => {
|
|
@@ -1733,7 +1733,7 @@ class po extends Be {
|
|
|
1733
1733
|
let g = 0;
|
|
1734
1734
|
const p = () => {
|
|
1735
1735
|
if (!h || !a || !a.UE_JSHTML5Communication || !a.UE_JSHTML5Communication.JSSendMessageToUE || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
|
|
1736
|
-
const u = this._ueFuncWithIdAndResultCallbacks.map((
|
|
1736
|
+
const u = this._ueFuncWithIdAndResultCallbacks.map(([T]) => T), c = { n: g++, tt: Date.now(), t: "c", fs: u, callid: _() };
|
|
1737
1737
|
for (const [T, B] of this._ueFuncWithIdAndResultCallbacks)
|
|
1738
1738
|
this._waitingUeFuncIdAndResultCallbacks.set(T.fid, B);
|
|
1739
1739
|
this._ueFuncWithIdAndResultCallbacks.length = 0, this._waitingUeCalls.set(c.callid, c), s.debug && (console.group(
|
|
@@ -1840,7 +1840,7 @@ class fo extends Be {
|
|
|
1840
1840
|
let o = 0;
|
|
1841
1841
|
const h = () => {
|
|
1842
1842
|
if (!n || this._ueFuncWithIdAndResultCallbacks.length === 0) return;
|
|
1843
|
-
const g = this._ueFuncWithIdAndResultCallbacks.map((
|
|
1843
|
+
const g = this._ueFuncWithIdAndResultCallbacks.map(([u]) => u), p = {
|
|
1844
1844
|
n: o++,
|
|
1845
1845
|
tt: Date.now(),
|
|
1846
1846
|
t: "c",
|
|
@@ -1919,13 +1919,13 @@ class go extends m {
|
|
|
1919
1919
|
} catch (r) {
|
|
1920
1920
|
console.error("ueViewer propChanged:" + r);
|
|
1921
1921
|
}
|
|
1922
|
-
})), this.dv(new L(e.statusUpdateIntervalChanged, (
|
|
1922
|
+
})), this.dv(new L(e.statusUpdateIntervalChanged, (i) => {
|
|
1923
1923
|
if ((e.statusUpdateInterval ?? 0.5) === 0) return;
|
|
1924
1924
|
const n = new m();
|
|
1925
1925
|
return n.d(t.disposableOnUeEvent("statusUpdate", (s) => {
|
|
1926
1926
|
e.statusUpdateEvent.emit(s);
|
|
1927
1927
|
})), n;
|
|
1928
|
-
}))
|
|
1928
|
+
})), this.dv(new L(e.propChangedListeningChanged, () => {
|
|
1929
1929
|
if (!(e.propChangedListening ?? !0)) return;
|
|
1930
1930
|
const r = new m();
|
|
1931
1931
|
return r.d(t.disposableOnUeEvent("propChanged", (n) => {
|
|
@@ -2015,13 +2015,13 @@ class wo extends m {
|
|
|
2015
2015
|
r.removeEventListener("mouseenter", s), r.removeEventListener("mouseleave", o), r.removeEventListener("mousemove", h);
|
|
2016
2016
|
});
|
|
2017
2017
|
}
|
|
2018
|
-
t.useCustomInteraction = !1, this.dv(new pr(t, r)), this.dv(new L(t.statusUpdateIntervalChanged, (
|
|
2018
|
+
t.useCustomInteraction = !1, this.dv(new pr(t, r)), this.dv(new L(t.statusUpdateIntervalChanged, (n) => {
|
|
2019
2019
|
if ((t.statusUpdateInterval ?? 0.5) === 0) return;
|
|
2020
2020
|
const o = new m();
|
|
2021
2021
|
return o.d(i.disposableOnUeEvent("statusUpdate", (h) => {
|
|
2022
2022
|
t.statusUpdateEvent.emit(h);
|
|
2023
2023
|
})), o;
|
|
2024
|
-
}))
|
|
2024
|
+
})), this.dv(new L(t.propChangedListeningChanged, () => {
|
|
2025
2025
|
if (!(t.propChangedListening ?? !0)) return;
|
|
2026
2026
|
const s = new m();
|
|
2027
2027
|
return s.d(i.disposableOnUeEvent("propChanged", (o) => {
|
|
@@ -5257,7 +5257,7 @@ const ge = class ge extends D {
|
|
|
5257
5257
|
v(ge, "type", ge.register("ESUeViewer", Yn.type, ge));
|
|
5258
5258
|
let ur = ge, We;
|
|
5259
5259
|
try {
|
|
5260
|
-
const l = "earthsdk3-ue", e = "3.4.
|
|
5260
|
+
const l = "earthsdk3-ue", e = "3.4.3", t = "2025-09-26T07:13:38.000Z", i = "北京西部世界科技有限公司", r = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", n = "3539538c038391d429fe888eb3bf9f325dd2ea18", o = ((Date.now() - 1758870818e3) / 36e5).toFixed(1), h = `%c🌏 ${l}%c ${e}.${n.slice(0, 8)}.${t} (距今${o}个小时)
|
|
5261
5261
|
%c${r ? r + `
|
|
5262
5262
|
` : ""}当前网站正在使用${l},此软件版权归${i}所有
|
|
5263
5263
|
`;
|
|
@@ -5271,7 +5271,7 @@ try {
|
|
|
5271
5271
|
},
|
|
5272
5272
|
// @ts-ignore
|
|
5273
5273
|
get gituri() {
|
|
5274
|
-
return GITURI_ && GITURI_.replace("${commitId}", "
|
|
5274
|
+
return GITURI_ && GITURI_.replace("${commitId}", "3539538c038391d429fe888eb3bf9f325dd2ea18");
|
|
5275
5275
|
},
|
|
5276
5276
|
// @ts-ignore
|
|
5277
5277
|
get info() {
|
|
@@ -5279,7 +5279,7 @@ try {
|
|
|
5279
5279
|
},
|
|
5280
5280
|
// @ts-ignore
|
|
5281
5281
|
get date() {
|
|
5282
|
-
return "2025-09-
|
|
5282
|
+
return "2025-09-26T07:13:38.000Z";
|
|
5283
5283
|
},
|
|
5284
5284
|
// @ts-ignore
|
|
5285
5285
|
get author() {
|
|
@@ -5287,7 +5287,7 @@ try {
|
|
|
5287
5287
|
},
|
|
5288
5288
|
// @ts-ignore
|
|
5289
5289
|
get version() {
|
|
5290
|
-
return "3.4.
|
|
5290
|
+
return "3.4.3";
|
|
5291
5291
|
},
|
|
5292
5292
|
// @ts-ignore
|
|
5293
5293
|
get name() {
|
|
@@ -5295,7 +5295,7 @@ try {
|
|
|
5295
5295
|
},
|
|
5296
5296
|
// @ts-ignore
|
|
5297
5297
|
get commitId() {
|
|
5298
|
-
return "
|
|
5298
|
+
return "3539538c038391d429fe888eb3bf9f325dd2ea18";
|
|
5299
5299
|
},
|
|
5300
5300
|
print(a = !1) {
|
|
5301
5301
|
!a && window._xe2_no_copy_print || console.info(
|