iflow-engine-base 3.12.9 → 3.12.18
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/README.md +5 -1
- package/dist/bim-engine-sdk.es.js +8 -8
- package/dist/bim-engine-sdk.umd.js +1403 -941
- package/dist/chunks/{engine-2d-oKaknhEB.js → engine-2d-DAbgkG5J.js} +4 -4
- package/dist/chunks/{engine-3d-B_ZxiLB1.js → engine-3d-BKWXyaNA.js} +5227 -3768
- package/dist/chunks/{engine-720-kOT12cTn.js → engine-720-CXjyLM8c.js} +2 -2
- package/dist/chunks/{engine-gaussian-B6tci_07.js → engine-gaussian-DbfS0JjT.js} +2 -4
- package/dist/chunks/{engine-gis-CAoh6itw.js → engine-gis-BpVRGups.js} +3 -3
- package/dist/chunks/{sdk-assets-CKily9AX.js → sdk-assets-CgQD9F3v.js} +7 -7
- package/dist/chunks/{sdk-runtime-Be2ihgV0.js → sdk-runtime-Dy2AkU3-.js} +3 -3
- package/dist/chunks/{sdk-vendor-BBjHmqe0.js → sdk-vendor-CMEVZEox.js} +1 -1
- package/dist/chunks/three-vendor-CB3x8EQd.js +45039 -0
- package/dist/index.d.ts +565 -174
- package/package.json +1 -1
- package/dist/chunks/three-vendor-rsPdPJ6s.js +0 -43957
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as R, ay as S, h as E, w as b, j as x, H as A, E as k, Q as F, p as I, W as y, a as v, T as f, i as P, a4 as m, V as p, b as D } from "./three-vendor-
|
|
2
|
-
import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-
|
|
1
|
+
import { n as R, ay as S, h as E, w as b, j as x, H as A, E as k, Q as F, p as I, W as y, a as v, T as f, i as P, a4 as m, V as p, b as D } from "./three-vendor-CB3x8EQd.js";
|
|
2
|
+
import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-Dy2AkU3-.js";
|
|
3
3
|
class V {
|
|
4
4
|
scene;
|
|
5
5
|
panoramaSphere = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Js, C as st, H as Zs, V as v, b as N, O as $s, W as en, M as J, Q as ge, a as tn, f as qt, j as be, B as sn, h as ft, r as it,
|
|
2
|
-
import { C as Un, c as zn, E as _n, r as Qn } from "./sdk-runtime-
|
|
1
|
+
import { n as Js, C as st, H as Zs, V as v, b as N, O as $s, W as en, M as J, Q as ge, a as tn, f as qt, j as be, B as sn, h as ft, r as it, aV as ze, aW as Pt, aX as at, a3 as Bt, aY as ms, aZ as yn, a_ as xn, a$ as In, b0 as Tn, a2 as wn, b1 as En, b2 as Bn, l as lt, b3 as As, b4 as gs, b5 as vn, k as Cs, b6 as Fn, t as Je, ay as Ss, D as Kt, ao as bn, w as ys, q as Dn, Z as We, b7 as qe, aF as xs, s as Mn, b8 as Rn, ah as Pn, b9 as On, ba as nn, aM as Is, bb as kn, an as Ln, bc as Ne, bd as mt, p as Hn } from "./three-vendor-CB3x8EQd.js";
|
|
2
|
+
import { C as Un, c as zn, E as _n, r as Qn } from "./sdk-runtime-Dy2AkU3-.js";
|
|
3
3
|
var De = /* @__PURE__ */ ((m) => (m.LoadStart = "gaussian-load-start", m.LoadProgress = "gaussian-load-progress", m.Loaded = "gaussian-loaded", m.LoadError = "gaussian-load-error", m.SceneRemoved = "gaussian-scene-removed", m.FpsUpdated = "gaussian-fps-updated", m.ViewChanged = "gaussian-view-changed", m))(De || {});
|
|
4
4
|
class Nn {
|
|
5
5
|
listeners = /* @__PURE__ */ new Map();
|
|
@@ -562,8 +562,6 @@ class I {
|
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
fillSphericalHarmonicsArray = (function() {
|
|
565
|
-
for (let M = 0; M < 15; M++)
|
|
566
|
-
new v();
|
|
567
565
|
const e = new Ne(), s = new J(), t = new v(), n = new v(), r = new ge(), i = [], o = [], a = [], l = [], c = [], d = [], u = [], h = [], f = [], p = [], A = [], C = [], g = [], x = [], w = [], y = [], E = [], S = [], B = (M) => M, F = (M, O, L, U) => {
|
|
568
566
|
M[0] = O, M[1] = L, M[2] = U;
|
|
569
567
|
}, D = (M, O, L, U, _) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as xX, J as KN } from "./sdk-vendor-
|
|
2
|
-
import {
|
|
3
|
-
import { l as vX, L as EX, E as CX, d as JN, e as wX, c as $C, a as SX, f as IX, r as DX, h as XC } from "./sdk-runtime-
|
|
1
|
+
import { g as xX, J as KN } from "./sdk-vendor-CMEVZEox.js";
|
|
2
|
+
import { be as Ii, bf as TX } from "./three-vendor-CB3x8EQd.js";
|
|
3
|
+
import { l as vX, L as EX, E as CX, d as JN, e as wX, c as $C, a as SX, f as IX, r as DX, h as XC } from "./sdk-runtime-Dy2AkU3-.js";
|
|
4
4
|
var QN = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
5
5
|
function Fb(e) {
|
|
6
6
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const S = "__BIM_ENGINE_SDK_ASSET_BASE__",
|
|
1
|
+
import { bg as w } from "./three-vendor-CB3x8EQd.js";
|
|
2
|
+
const S = "__BIM_ENGINE_SDK_ASSET_BASE__", g = "__BIM_ENGINE_SDK_ASSET_FILE_MAP__", b = "__BIM_ENGINE_SDK_ASSET_FILE_URLS__", A = "__BIM_ENGINE_SDK_ASSET_FILE_SESSION__", j = "https://unpkg.com/iflow-engine-base@3.9.20/dist/", L = "https://__bim_engine_sdk_asset__/", M = ["assets/", "fonts/", "draco/", "basis/", "texture/", "prompt/"];
|
|
3
3
|
let _ = null;
|
|
4
4
|
async function R() {
|
|
5
|
-
return _ || (_ = import("./sdk-vendor-
|
|
5
|
+
return _ || (_ = import("./sdk-vendor-CMEVZEox.js").then((t) => t.j).then((t) => t.default ?? t)), _;
|
|
6
6
|
}
|
|
7
7
|
function a() {
|
|
8
8
|
return typeof globalThis < "u" ? globalThis : null;
|
|
@@ -43,20 +43,20 @@ function z(t) {
|
|
|
43
43
|
return `${p() ?? L}${l(t)}`;
|
|
44
44
|
}
|
|
45
45
|
function U() {
|
|
46
|
-
const e = a()?.[
|
|
46
|
+
const e = a()?.[g];
|
|
47
47
|
return e instanceof Map ? e : null;
|
|
48
48
|
}
|
|
49
49
|
function K() {
|
|
50
|
-
const e = a()?.[
|
|
50
|
+
const e = a()?.[b];
|
|
51
51
|
return Array.isArray(e) ? e : [];
|
|
52
52
|
}
|
|
53
53
|
function O() {
|
|
54
54
|
const t = a();
|
|
55
|
-
t && (K().forEach((e) => URL.revokeObjectURL(e)), delete t[
|
|
55
|
+
t && (K().forEach((e) => URL.revokeObjectURL(e)), delete t[g], delete t[b], delete t[A]);
|
|
56
56
|
}
|
|
57
57
|
function D(t, e) {
|
|
58
58
|
const n = a();
|
|
59
|
-
n && (O(), n[
|
|
59
|
+
n && (O(), n[g] = t, n[b] = e, n[A] = T());
|
|
60
60
|
}
|
|
61
61
|
function N(t, e, n) {
|
|
62
62
|
const s = l(e), r = /* @__PURE__ */ new Set([s]), o = s.indexOf("dist/");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as ve, b as B, V as ce, H as Te,
|
|
2
|
-
import { a as pe, J as ne, p as Ae, l as J } from "./sdk-vendor-
|
|
1
|
+
import { R as ve, b as B, V as ce, H as Te, bh as Ce } from "./three-vendor-CB3x8EQd.js";
|
|
2
|
+
import { a as pe, J as ne, p as Ae, l as J } from "./sdk-vendor-CMEVZEox.js";
|
|
3
3
|
class It {
|
|
4
4
|
/**
|
|
5
5
|
* 构造函数
|
|
@@ -1056,7 +1056,7 @@ class jt {
|
|
|
1056
1056
|
e.stopImmediatePropagation();
|
|
1057
1057
|
};
|
|
1058
1058
|
}
|
|
1059
|
-
const ot = "3.12.
|
|
1059
|
+
const ot = "3.12.18", st = {
|
|
1060
1060
|
version: ot
|
|
1061
1061
|
}, V = st.version;
|
|
1062
1062
|
function se() {
|