iflow-engine-base 3.11.2 → 3.11.10
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/assets//350/267/263/350/267/263/345/215/241.glb +0 -0
- package/dist/assets//351/227/250/350/264/264.glb +0 -0
- package/dist/bim-engine-sdk.es.js +20 -18
- package/dist/bim-engine-sdk.umd.js +713 -4659
- package/dist/chunks/{engine-2d-Bhjg0s-h.js → engine-2d-qvKNkmsX.js} +4 -4
- package/dist/chunks/engine-3d-BFrs6D9y.js +16820 -0
- package/dist/chunks/{engine-720-Bpc4qBYo.js → engine-720-BUjyPT_z.js} +13 -13
- package/dist/chunks/{engine-gaussian-D58l9XLl.js → engine-gaussian-BtzqhQBu.js} +214 -213
- package/dist/chunks/{engine-gis-D760uMHg.js → engine-gis-CCukjsHp.js} +3 -3
- package/dist/chunks/{sdk-assets-BvUSl5e_.js → sdk-assets-CemZeVpH.js} +2 -2
- package/dist/chunks/{sdk-runtime-CKzRVToz.js → sdk-runtime-DE-ZoMSy.js} +3 -3
- package/dist/chunks/{sdk-vendor-DgZ0Rkal.js → sdk-vendor-8NuRpL1E.js} +1 -1
- package/dist/chunks/{three-vendor-fDCVai2b.js → three-vendor-M4ZIGmaO.js} +91 -89
- package/dist/iflow-engine-base.css +1 -1
- package/dist/index.d.ts +286 -9
- package/dist2d/dwg-preview.es.js +1 -1
- package/dist2d/dwg-preview.umd.js +1 -1
- package/distGaussian/gaussian.es.js +8 -7
- package/distGaussian/gaussian.umd.js +2 -2
- package/package.json +5 -2
- package/dist/chunks/engine-3d-DBxD5ujO.js +0 -50497
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as R,
|
|
2
|
-
import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-
|
|
1
|
+
import { n as R, au as S, h as E, aO as b, j as x, t as A, E as k, Q as F, p as I, W as y, a as v, T as f, i as P, Y as m, V as p, b as D } from "./three-vendor-M4ZIGmaO.js";
|
|
2
|
+
import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-DE-ZoMSy.js";
|
|
3
3
|
class V {
|
|
4
4
|
scene;
|
|
5
5
|
panoramaSphere = null;
|
|
@@ -101,7 +101,7 @@ class V {
|
|
|
101
101
|
this.scene.clear();
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
class
|
|
104
|
+
class O {
|
|
105
105
|
camera;
|
|
106
106
|
minFov;
|
|
107
107
|
maxFov;
|
|
@@ -199,7 +199,7 @@ class K {
|
|
|
199
199
|
this.camera = null;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
-
class
|
|
202
|
+
class K {
|
|
203
203
|
renderer;
|
|
204
204
|
container;
|
|
205
205
|
animationId = null;
|
|
@@ -623,7 +623,7 @@ class X {
|
|
|
623
623
|
this.controls.dispose();
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
class
|
|
626
|
+
class Y {
|
|
627
627
|
cache = /* @__PURE__ */ new Map();
|
|
628
628
|
loadingPromises = /* @__PURE__ */ new Map();
|
|
629
629
|
/**
|
|
@@ -701,13 +701,13 @@ class Z {
|
|
|
701
701
|
this.clear();
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
class
|
|
704
|
+
class Z {
|
|
705
705
|
textureCache;
|
|
706
706
|
currentUrl = null;
|
|
707
707
|
loadProgress = 0;
|
|
708
708
|
onProgressCallback;
|
|
709
709
|
constructor() {
|
|
710
|
-
this.textureCache = new
|
|
710
|
+
this.textureCache = new Y();
|
|
711
711
|
}
|
|
712
712
|
/**
|
|
713
713
|
* 加载全景图纹理
|
|
@@ -888,7 +888,7 @@ class C {
|
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
890
|
var d = /* @__PURE__ */ ((i) => (i.ICON = "icon", i.TEXT = "text", i.LINK = "link", i))(d || {});
|
|
891
|
-
class
|
|
891
|
+
class U {
|
|
892
892
|
annotations = /* @__PURE__ */ new Map();
|
|
893
893
|
container;
|
|
894
894
|
annotationContainer;
|
|
@@ -1164,7 +1164,7 @@ class W {
|
|
|
1164
1164
|
return `annotation-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
|
-
class
|
|
1167
|
+
class W {
|
|
1168
1168
|
listeners = /* @__PURE__ */ new Map();
|
|
1169
1169
|
/**
|
|
1170
1170
|
* 订阅事件
|
|
@@ -1273,23 +1273,23 @@ class N {
|
|
|
1273
1273
|
if (!n)
|
|
1274
1274
|
throw new Error(`Container with id "${t.containerId}" not found`);
|
|
1275
1275
|
try {
|
|
1276
|
-
this.eventModule = new
|
|
1276
|
+
this.eventModule = new W(), this.sceneModule = new V(t.sphereRadius), this.cameraModule = new O(
|
|
1277
1277
|
n,
|
|
1278
1278
|
t.fov,
|
|
1279
1279
|
t.minFov,
|
|
1280
1280
|
t.maxFov
|
|
1281
|
-
), this.renderModule = new
|
|
1281
|
+
), this.renderModule = new K(n, !0), this.controlModule = new X(
|
|
1282
1282
|
this.cameraModule,
|
|
1283
1283
|
this.renderModule.getDomElement()
|
|
1284
1284
|
);
|
|
1285
1285
|
const o = this.controlModule.getControls();
|
|
1286
1286
|
o.enableZoom = t.enableZoom, o.enableRotate = t.enableRotate, o.setRotateSpeed(t.rotateSpeed), o.setZoomSpeed(t.zoomSpeed), o.setEnableDamping(t.enableDamping), o.setDampingFactor(t.dampingFactor), o.setZoomLimits(t.minFov, t.maxFov), o.setOnViewAngleChange((a, s) => {
|
|
1287
1287
|
this.eventModule.trigger(r.ViewAngleChanged, { theta: a, phi: s });
|
|
1288
|
-
}), this.panoramaLoader = new
|
|
1288
|
+
}), this.panoramaLoader = new Z(), this.worldToScreen = new w(
|
|
1289
1289
|
this.cameraModule.getCamera(),
|
|
1290
1290
|
this.renderModule.getRenderer(),
|
|
1291
1291
|
this.sceneModule.getScene()
|
|
1292
|
-
), this.annotationManager = new
|
|
1292
|
+
), this.annotationManager = new U(
|
|
1293
1293
|
n,
|
|
1294
1294
|
this.cameraModule.getCamera(),
|
|
1295
1295
|
this.renderModule.getRenderer(),
|