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