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.
@@ -1,5 +1,5 @@
1
- import { n as R, as as S, h as E, aM 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, K as m, V as p, b as D } from "./three-vendor-fDCVai2b.js";
2
- import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-CKzRVToz.js";
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 K {
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 O {
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 Z {
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 U {
704
+ class Z {
705
705
  textureCache;
706
706
  currentUrl = null;
707
707
  loadProgress = 0;
708
708
  onProgressCallback;
709
709
  constructor() {
710
- this.textureCache = new Z();
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 W {
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 Y {
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 Y(), this.sceneModule = new V(t.sphereRadius), this.cameraModule = new K(
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 O(n, !0), this.controlModule = new X(
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 U(), this.worldToScreen = new w(
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 W(
1292
+ ), this.annotationManager = new U(
1293
1293
  n,
1294
1294
  this.cameraModule.getCamera(),
1295
1295
  this.renderModule.getRenderer(),