earthsdk3-cesium 3.0.7-beta.21 → 3.0.7-beta.23

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.
Files changed (24) hide show
  1. package/dist/earthsdk3-cesium.iife.js +6 -6
  2. package/dist/earthsdk3-cesium.js +48 -56
  3. package/dist/earthsdk3-cesium.umd.cjs +6 -6
  4. package/dist/types/CzmObjects/base/InnerClass/Widget/Widget3D.d.ts.map +1 -1
  5. package/dist/types/CzmObjects/base/InnerClass/XbsjGroundPolylinePrimitive/GroundPolylinePrimitive.d.ts +148 -0
  6. package/dist/types/CzmObjects/general/CzmESImageLabel/index.d.ts.map +1 -1
  7. package/dist/types/CzmObjects/general/CzmESPoi2D/index.d.ts.map +1 -1
  8. package/dist/types/CzmObjects/general/CzmESSignalTransmission/XbsjPolyline/XbsjPolylineGeometry.d.ts +3 -0
  9. package/dist/types/CzmObjects/general/CzmESSignalTransmission/XbsjPolyline/xbsjCreateODLinesPrimitive.d.ts +29 -0
  10. package/dist/types/CzmObjects/general/CzmESTextLabel/index.d.ts.map +1 -1
  11. package/dist/types/CzmObjects/general/CzmESVideoFusion/XbsjCameraVideo/XbsjCameraVideo.d.ts +18 -0
  12. package/dist/types/CzmObjects/general/CzmESViewShed/XbsjViewshed/XbsjViewshed.d.ts +16 -0
  13. package/dist/types/ESCesiumViewer/BackGroundImage/BackGroundImage.d.ts +5 -0
  14. package/dist/types/ESCesiumViewer/LocalSkyBox/SkyAtmosphere.d.ts +14 -0
  15. package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/GaussianSplatPipelineStage.d.ts +12 -0
  16. package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/GaussianSplatTexturePipelineStage.d.ts +11 -0
  17. package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/temp_wasm/pkg/wasm_splats.d.ts +75 -0
  18. package/dist/types/ESCesiumViewer/initCesiumViewer/GaussianSplattingExtend/temp_wasm/pkg/wasm_splats_bg.wasm.d.ts +27 -0
  19. package/dist/types/ESCesiumViewer/initCesiumViewer/fixGoogleEarth/cesiumFixGoogleEarth.d.ts +1 -0
  20. package/dist/types/__declares/cesium.d.ts +405 -0
  21. package/dist/types/utils/czmUtils/todo/generateCartesianArc/czm/generateCartesianArc.d.ts +8 -0
  22. package/dist/types/utils/generalUtils/geoPolylineToBezierSpline/bezierSpline/index.d.ts +37 -0
  23. package/dist/types/utils/generalUtils/geoPolylineToBezierSpline/bezierSpline/lib/spline.d.ts +62 -0
  24. package/package.json +1 -1
@@ -18156,18 +18156,13 @@ class xg extends G {
18156
18156
  })), Ht(this, a, () => {
18157
18157
  const u = l.getEngineObject(a);
18158
18158
  this.ad(u.lastHoverResultChanged.don((p, f) => {
18159
- if (!((p == null ? void 0 : p.sceneObject) == (f == null ? void 0 : f.sceneObject) || (p == null ? void 0 : p.sceneObject) != a && (f == null ? void 0 : f.sceneObject) != a)) {
18160
- do
18161
- (p == null ? void 0 : p.sceneObject) == null && (this._eventInfo = {
18162
- type: "mouseLeave",
18163
- add: { mousePos: p == null ? void 0 : p.screenPosition }
18164
- }), (f == null ? void 0 : f.sceneObject) == null && (this._eventInfo = {
18165
- type: "mouseEnter",
18166
- add: { mousePos: p == null ? void 0 : p.screenPosition }
18167
- });
18168
- while (!1);
18169
- a.widgetEvent.emit(this._eventInfo);
18170
- }
18159
+ (p == null ? void 0 : p.sceneObject) == (f == null ? void 0 : f.sceneObject) || (p == null ? void 0 : p.sceneObject) != a && (f == null ? void 0 : f.sceneObject) != a || (p != null && p.sceneObject && (this._eventInfo = {
18160
+ type: "mouseEnter",
18161
+ add: { mousePos: p == null ? void 0 : p.screenPosition }
18162
+ }, p.sceneObject.widgetEvent.emit(this._eventInfo)), f != null && f.sceneObject && (this._eventInfo = {
18163
+ type: "mouseLeave",
18164
+ add: { mousePos: p == null ? void 0 : p.screenPosition }
18165
+ }, f.sceneObject.widgetEvent.emit(this._eventInfo)));
18171
18166
  }));
18172
18167
  });
18173
18168
  {
@@ -38833,18 +38828,13 @@ class k4 extends G {
38833
38828
  })), Ht(this, e, () => {
38834
38829
  const p = n.getEngineObject(e);
38835
38830
  this.ad(p.lastHoverResultChanged.don((f, g) => {
38836
- if (!((f == null ? void 0 : f.sceneObject) == (g == null ? void 0 : g.sceneObject) || (f == null ? void 0 : f.sceneObject) != e && (g == null ? void 0 : g.sceneObject) != e)) {
38837
- do
38838
- (f == null ? void 0 : f.sceneObject) == null && (this._eventInfo = {
38839
- type: "mouseLeave",
38840
- add: { mousePos: f == null ? void 0 : f.screenPosition }
38841
- }), (g == null ? void 0 : g.sceneObject) == null && (this._eventInfo = {
38842
- type: "mouseEnter",
38843
- add: { mousePos: f == null ? void 0 : f.screenPosition }
38844
- });
38845
- while (!1);
38846
- e.widgetEvent.emit(this._eventInfo);
38847
- }
38831
+ (f == null ? void 0 : f.sceneObject) == (g == null ? void 0 : g.sceneObject) || (f == null ? void 0 : f.sceneObject) != e && (g == null ? void 0 : g.sceneObject) != e || (f != null && f.sceneObject && (this._eventInfo = {
38832
+ type: "mouseEnter",
38833
+ add: { mousePos: f == null ? void 0 : f.screenPosition }
38834
+ }, f.sceneObject.widgetEvent.emit(this._eventInfo)), g != null && g.sceneObject && (this._eventInfo = {
38835
+ type: "mouseLeave",
38836
+ add: { mousePos: f == null ? void 0 : f.screenPosition }
38837
+ }, g.sceneObject.widgetEvent.emit(this._eventInfo)));
38848
38838
  }));
38849
38839
  });
38850
38840
  const r = e.sizeByContent, l = ((p) => {
@@ -39641,21 +39631,28 @@ const q4 = {
39641
39631
  e.sizeByContent && d.domSize ? (b = d.domSize.width / 100, A = d.domSize.height / 100) : (b = e.size[0] / 100, A = e.size[1] / 100), p ? d.czmCustomPrimitive.localPosition = [g * b + (-C[0] - v[0] + u[0] * (p[0] - 0.5)) / 100, 0, 0.5 * A + (-C[1] - v[1] + u[1] * (p[1] - 0.5)) / 100] : d.czmCustomPrimitive.localPosition = [0, 0, 0];
39642
39632
  }
39643
39633
  };
39644
- this.ad(l.don(c)), this.ad(new pe(this.customWidgetComponent.objChanged, () => {
39645
- if (this.customWidgetComponent.obj == null) return;
39646
- const d = new G(), u = this.customWidgetComponent.obj, p = () => {
39647
- var f, g, v, C;
39648
- u && (u instanceof hs ? (((f = e.style) == null ? void 0 : f.textBoxMode) ?? gt.defaults.style.textBoxMode) == "hover" ? (u.czmGeoCustomDivPoi.show = !1, this.d(this.widgetComponent.obj.czmGeoCustomDivPoi.pickedEvent.don((P) => {
39649
- var x, b;
39650
- const y = (x = wa(P, "pickResult")) == null ? void 0 : x.pointerEvent;
39651
- y && (u.czmGeoCustomDivPoi.show = e.show && (((b = e.style) == null ? void 0 : b.textBoxShow) ?? gt.defaults.style.textBoxShow) && y.type == "mouseenter");
39652
- }))) : u.czmGeoCustomDivPoi.show = e.show && (((g = e.style) == null ? void 0 : g.textBoxShow) ?? gt.defaults.style.textBoxShow) : (((v = e.style) == null ? void 0 : v.textBoxMode) ?? gt.defaults.style.textBoxMode) == "hover" ? (u.czmCustomPrimitive.show = !1, this.d(e.widgetEvent.don((P) => {
39653
- var y;
39654
- P && (u.czmCustomPrimitive.show = e.show && (((y = e.style) == null ? void 0 : y.textBoxShow) ?? gt.defaults.style.textBoxShow) && P.type == "mouseEnter");
39655
- }))) : u.czmCustomPrimitive.show = e.show && (((C = e.style) == null ? void 0 : C.textBoxShow) ?? gt.defaults.style.textBoxShow));
39656
- };
39657
- return p(), d.ad(e.styleChanged.don(p)), d;
39658
- }));
39634
+ this.ad(l.don(c));
39635
+ {
39636
+ const d = this.ad(U(
39637
+ this.customWidgetComponent.objChanged,
39638
+ this.widgetComponent.objChanged
39639
+ ));
39640
+ this.ad(new pe(d, () => {
39641
+ if (this.customWidgetComponent.obj == null || this.widgetComponent.obj == null) return;
39642
+ const u = new G(), p = this.customWidgetComponent.obj, f = () => {
39643
+ var g, v, C, P;
39644
+ p && (p instanceof hs ? (((g = e.style) == null ? void 0 : g.textBoxMode) ?? gt.defaults.style.textBoxMode) == "hover" ? (p.czmGeoCustomDivPoi.show = !1, this.d(this.widgetComponent.obj.czmGeoCustomDivPoi.pickedEvent.don((y) => {
39645
+ var b, A;
39646
+ const x = (b = wa(y, "pickResult")) == null ? void 0 : b.pointerEvent;
39647
+ x && (p.czmGeoCustomDivPoi.show = e.show && (((A = e.style) == null ? void 0 : A.textBoxShow) ?? gt.defaults.style.textBoxShow) && x.type == "mouseenter");
39648
+ }))) : p.czmGeoCustomDivPoi.show = e.show && (((v = e.style) == null ? void 0 : v.textBoxShow) ?? gt.defaults.style.textBoxShow) : (((C = e.style) == null ? void 0 : C.textBoxMode) ?? gt.defaults.style.textBoxMode) == "hover" ? (p.czmCustomPrimitive.show = !1, this.d(e.widgetEvent.don((y) => {
39649
+ var x;
39650
+ y && (p.czmCustomPrimitive.show = e.show && (((x = e.style) == null ? void 0 : x.textBoxShow) ?? gt.defaults.style.textBoxShow) && y.type == "mouseEnter");
39651
+ }))) : p.czmCustomPrimitive.show = e.show && (((P = e.style) == null ? void 0 : P.textBoxShow) ?? gt.defaults.style.textBoxShow));
39652
+ };
39653
+ return f(), u.ad(e.styleChanged.don(f)), u;
39654
+ }));
39655
+ }
39659
39656
  }
39660
39657
  }
39661
39658
  get widgetComponent() {
@@ -40316,18 +40313,13 @@ class j4 extends G {
40316
40313
  })), Ht(this, e, () => {
40317
40314
  const l = s.getEngineObject(e);
40318
40315
  this.ad(l.lastHoverResultChanged.don((c, d) => {
40319
- if (!((c == null ? void 0 : c.sceneObject) == (d == null ? void 0 : d.sceneObject) || (c == null ? void 0 : c.sceneObject) != e && (d == null ? void 0 : d.sceneObject) != e)) {
40320
- do
40321
- (c == null ? void 0 : c.sceneObject) == null && (this._eventInfo = {
40322
- type: "mouseLeave",
40323
- add: { mousePos: c == null ? void 0 : c.screenPosition }
40324
- }), (d == null ? void 0 : d.sceneObject) == null && (this._eventInfo = {
40325
- type: "mouseEnter",
40326
- add: { mousePos: c == null ? void 0 : c.screenPosition }
40327
- });
40328
- while (!1);
40329
- e.widgetEvent.emit(this._eventInfo);
40330
- }
40316
+ (c == null ? void 0 : c.sceneObject) == (d == null ? void 0 : d.sceneObject) || (c == null ? void 0 : c.sceneObject) != e && (d == null ? void 0 : d.sceneObject) != e || (c != null && c.sceneObject && (this._eventInfo = {
40317
+ type: "mouseEnter",
40318
+ add: { mousePos: c == null ? void 0 : c.screenPosition }
40319
+ }, c.sceneObject.widgetEvent.emit(this._eventInfo)), d != null && d.sceneObject && (this._eventInfo = {
40320
+ type: "mouseLeave",
40321
+ add: { mousePos: c == null ? void 0 : c.screenPosition }
40322
+ }, d.sceneObject.widgetEvent.emit(this._eventInfo)));
40331
40323
  }));
40332
40324
  });
40333
40325
  }
@@ -53493,7 +53485,7 @@ function YV() {
53493
53485
  }
53494
53486
  let og;
53495
53487
  try {
53496
- const t = "earthsdk3-cesium", i = "3.0.7-beta.21", e = "2025-06-16T03:30:33.000Z", n = "北京西部世界科技有限公司", s = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", o = "c23ced783039305cf177e3e481e98b9d5fb9213a", a = ((Date.now() - 1750044633e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${o.slice(0, 8)}.${e} (距今${a}个小时)
53488
+ const t = "earthsdk3-cesium", i = "3.0.7-beta.23", e = "2025-06-17T00:37:35.000Z", n = "北京西部世界科技有限公司", s = "地球可视化实验室 (EarthSDK&CesiumLab) https://www.bjxbsj.cn", o = "2c5a9444b24a8f9bdcd1c4dbe41e51985efa239a", a = ((Date.now() - 1750120655e3) / 36e5).toFixed(1), l = `%c🌏 ${t}%c ${i}.${o.slice(0, 8)}.${e} (距今${a}个小时)
53497
53489
  %c${s ? s + `
53498
53490
  ` : ""}当前网站正在使用${t},此软件版权归${n}所有
53499
53491
  `;
@@ -53507,7 +53499,7 @@ try {
53507
53499
  },
53508
53500
  // @ts-ignore
53509
53501
  get gituri() {
53510
- return GITURI_ && GITURI_.replace("${commitId}", "c23ced783039305cf177e3e481e98b9d5fb9213a");
53502
+ return GITURI_ && GITURI_.replace("${commitId}", "2c5a9444b24a8f9bdcd1c4dbe41e51985efa239a");
53511
53503
  },
53512
53504
  // @ts-ignore
53513
53505
  get info() {
@@ -53515,7 +53507,7 @@ try {
53515
53507
  },
53516
53508
  // @ts-ignore
53517
53509
  get date() {
53518
- return "2025-06-16T03:30:33.000Z";
53510
+ return "2025-06-17T00:37:35.000Z";
53519
53511
  },
53520
53512
  // @ts-ignore
53521
53513
  get author() {
@@ -53523,7 +53515,7 @@ try {
53523
53515
  },
53524
53516
  // @ts-ignore
53525
53517
  get version() {
53526
- return "3.0.7-beta.21";
53518
+ return "3.0.7-beta.23";
53527
53519
  },
53528
53520
  // @ts-ignore
53529
53521
  get name() {
@@ -53531,7 +53523,7 @@ try {
53531
53523
  },
53532
53524
  // @ts-ignore
53533
53525
  get commitId() {
53534
- return "c23ced783039305cf177e3e481e98b9d5fb9213a";
53526
+ return "2c5a9444b24a8f9bdcd1c4dbe41e51985efa239a";
53535
53527
  },
53536
53528
  print() {
53537
53529
  console.info(