iflow-engine-base-3d 3.12.0 → 3.12.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/bim-engine-sdk.es.js +2 -2
- package/dist/bim-engine-sdk.umd.js +59 -59
- package/dist/chunks/{engine-3d-DeC3IoVB.js → engine-3d-BGaePkPD.js} +861 -862
- package/dist/chunks/{sdk-assets-BbXNfc5u.js → sdk-assets-C50tXAaf.js} +5 -5
- package/dist/chunks/{sdk-runtime-H4D8DExZ.js → sdk-runtime-C-KHYNQi.js} +2 -2
- package/dist/chunks/{three-vendor-ox3_iXFc.js → three-vendor-DQQg127O.js} +39 -40
- package/dist/iflow-engine-base.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aI as w } from "./three-vendor-DQQg127O.js";
|
|
2
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() {
|
|
@@ -173,7 +173,7 @@ async function $(t) {
|
|
|
173
173
|
r.push(c), N(s, o.path, c);
|
|
174
174
|
}), D(s, r);
|
|
175
175
|
}
|
|
176
|
-
async function
|
|
176
|
+
async function V(t) {
|
|
177
177
|
await $(t ? [t] : null);
|
|
178
178
|
}
|
|
179
179
|
function G(t) {
|
|
@@ -183,7 +183,7 @@ function G(t) {
|
|
|
183
183
|
const s = a()?.[S];
|
|
184
184
|
return typeof s == "string" && s.length > 0 ? W(s, t) : u(j);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function Y(t, e) {
|
|
187
187
|
if (m(t))
|
|
188
188
|
return t;
|
|
189
189
|
const n = l(t), s = B(n);
|
|
@@ -203,9 +203,9 @@ function V(t, e) {
|
|
|
203
203
|
return f(n, r) || n;
|
|
204
204
|
}
|
|
205
205
|
export {
|
|
206
|
-
|
|
206
|
+
V as a,
|
|
207
207
|
Z as b,
|
|
208
208
|
G as g,
|
|
209
|
-
|
|
209
|
+
Y as r,
|
|
210
210
|
$ as s
|
|
211
211
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as be, e as M, V as oe, P as ke } from "./three-vendor-
|
|
1
|
+
import { R as be, e as M, V as oe, P as ke } from "./three-vendor-DQQg127O.js";
|
|
2
2
|
import { a as Ee, J as xe, l as X } from "./sdk-vendor-DYgn7sFs.js";
|
|
3
3
|
class At {
|
|
4
4
|
/**
|
|
@@ -830,7 +830,7 @@ class Pt {
|
|
|
830
830
|
e.stopImmediatePropagation();
|
|
831
831
|
};
|
|
832
832
|
}
|
|
833
|
-
const Qe = "3.12.
|
|
833
|
+
const Qe = "3.12.1", et = {
|
|
834
834
|
version: Qe
|
|
835
835
|
}, N = et.version;
|
|
836
836
|
function ie() {
|
|
@@ -43187,46 +43187,45 @@ export {
|
|
|
43187
43187
|
Ff as a3,
|
|
43188
43188
|
O1 as a4,
|
|
43189
43189
|
u0 as a5,
|
|
43190
|
-
|
|
43191
|
-
|
|
43192
|
-
|
|
43193
|
-
|
|
43194
|
-
|
|
43195
|
-
|
|
43196
|
-
|
|
43197
|
-
|
|
43198
|
-
|
|
43199
|
-
|
|
43200
|
-
|
|
43201
|
-
|
|
43202
|
-
|
|
43203
|
-
|
|
43204
|
-
|
|
43205
|
-
|
|
43206
|
-
|
|
43207
|
-
|
|
43208
|
-
|
|
43209
|
-
|
|
43210
|
-
|
|
43211
|
-
|
|
43212
|
-
|
|
43213
|
-
|
|
43214
|
-
|
|
43215
|
-
|
|
43216
|
-
|
|
43217
|
-
|
|
43218
|
-
|
|
43219
|
-
|
|
43220
|
-
|
|
43221
|
-
|
|
43222
|
-
|
|
43223
|
-
|
|
43224
|
-
|
|
43225
|
-
|
|
43226
|
-
|
|
43227
|
-
|
|
43228
|
-
|
|
43229
|
-
Vm as az,
|
|
43190
|
+
Rt as a6,
|
|
43191
|
+
Lm as a7,
|
|
43192
|
+
cn as a8,
|
|
43193
|
+
Vt as a9,
|
|
43194
|
+
Xh as aA,
|
|
43195
|
+
Qm as aB,
|
|
43196
|
+
$o as aC,
|
|
43197
|
+
It as aD,
|
|
43198
|
+
ec as aE,
|
|
43199
|
+
ws as aF,
|
|
43200
|
+
Kt as aG,
|
|
43201
|
+
Bt as aH,
|
|
43202
|
+
l0 as aI,
|
|
43203
|
+
z_ as aa,
|
|
43204
|
+
vd as ab,
|
|
43205
|
+
Sr as ac,
|
|
43206
|
+
Ln as ad,
|
|
43207
|
+
G1 as ae,
|
|
43208
|
+
ui as af,
|
|
43209
|
+
Q1 as ag,
|
|
43210
|
+
po as ah,
|
|
43211
|
+
Yf as ai,
|
|
43212
|
+
Da as aj,
|
|
43213
|
+
Me as ak,
|
|
43214
|
+
Hn as al,
|
|
43215
|
+
ip as am,
|
|
43216
|
+
xh as an,
|
|
43217
|
+
rt as ao,
|
|
43218
|
+
k1 as ap,
|
|
43219
|
+
at as aq,
|
|
43220
|
+
z1 as ar,
|
|
43221
|
+
h1 as as,
|
|
43222
|
+
Pg as at,
|
|
43223
|
+
av as au,
|
|
43224
|
+
qh as av,
|
|
43225
|
+
Ht as aw,
|
|
43226
|
+
Wm as ax,
|
|
43227
|
+
Vm as ay,
|
|
43228
|
+
Kh as az,
|
|
43230
43229
|
wt as b,
|
|
43231
43230
|
M0 as c,
|
|
43232
43231
|
qb as d,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.originRotate{width:10px;height:10px;background-color:red}.versionText{position:absolute;right:10px;color:#86d9ff;z-index:1000;bottom:10px;font-size:10px;background:transparent;pointer-events:none}.originDiv{position:absolute;top:100px;left:100px;width:30px;height:30px;border-radius:50%;z-index:1000;pointer-events:none}.tagDiv{color:gray;background:#fffc;padding:5px;font-size:12px}.catchPoint{pointer-events:none;stroke:#08dfd7;fill:transparent;stroke-width:2}.catchLine{position:absolute;width:10px;height:10px;pointer-events:none;background-color:green}.catchPlane{position:absolute;width:10px;height:10px;pointer-events:none;background-color:#ff0}.bim-mobile-roam-controls{position:absolute;left:0;right:0;bottom:max(40px,env(safe-area-inset-bottom));z-index:1200;display:flex;align-items:flex-end;justify-content:space-between;padding:0 60px;pointer-events:none;user-select:none;-webkit-user-select:none;touch-action:none}.bim-mobile-roam-pad,.bim-mobile-roam-look-group,.bim-mobile-roam-vertical-pad{pointer-events:auto}.engine-3d-search{position:absolute;inset:0;z-index:1500;display:none;pointer-events:none}.engine-3d-search--visible{display:block}.engine-3d-search__box{position:absolute;top:14%;left:50%;width:min(480px,calc(100% - 32px));transform:translate(-50%);overflow:hidden;border:1px solid rgba(148,163,184,.42);border-radius:10px;background:#0f172af5;box-shadow:0 18px 40px #00000059;color:#e2e8f0;pointer-events:auto}.engine-3d-search__input-row{display:flex;align-items:center;height:48px;gap:10px;padding:0 12px}.engine-3d-search__icon{display:flex;color:#93c5fd}.engine-3d-search__input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#f8fafc;font-size:14px}.engine-3d-search__input::placeholder{color:#94a3b8}.engine-3d-search__clear{width:24px;height:24px;border:0;border-radius:50%;background:#94a3b833;color:#e2e8f0;font-size:18px;cursor:pointer}.engine-3d-search__status{min-height:28px;box-sizing:border-box;padding:6px 14px;border-top:1px solid rgba(148,163,184,.16);color:#94a3b8;font-size:12px}.engine-3d-search__list{max-height:300px;margin:0;padding:4px 0;overflow:auto;list-style:none}.engine-3d-search__pagination{display:none;align-items:center;justify-content:space-between;padding:8px 12px;border-top:1px solid rgba(148,163,184,.16);color:#94a3b8;font-size:12px}.engine-3d-search__page-button{border:0;border-radius:4px;padding:4px 8px;background:#94a3b833;color:inherit;cursor:pointer;font-size:12px}.engine-3d-search__page-button:disabled{cursor:not-allowed;opacity:.38}.engine-3d-search__item{display:flex;align-items:center;gap:8px;padding:9px 14px;cursor:pointer}.engine-3d-search__item:hover,.engine-3d-search__item--active{background:#3b82f633}.engine-3d-search__badge{flex:0 0 auto;padding:2px 5px;border-radius:3px;background:#3b82f638;color:#93c5fd;font-size:11px}.engine-3d-search__name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.engine-3d-search__id{flex:0 1 120px;overflow:hidden;color:#94a3b8;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.engine-3d-search--light .engine-3d-search__box{border-color:#47556947;background:#fffffff7;box-shadow:0 18px 40px #0f172a2e;color:#172554}.engine-3d-search--light .engine-3d-search__input{color:#0f172a}.engine-3d-search--light .engine-3d-search__input::placeholder,.engine-3d-search--light .engine-3d-search__status,.engine-3d-search--light .engine-3d-search__id{color:#64748b}.engine-3d-search--light .engine-3d-search__clear{background:#e2e8f0;color:#334155}.engine-3d-search--light .engine-3d-search__status{border-top-color:#47556924}.engine-3d-search--light .engine-3d-search__pagination{border-top-color:#47556924;color:#64748b}.engine-3d-search--light .engine-3d-search__page-button{background:#e2e8f0;color:#334155}.engine-3d-search--light .engine-3d-search__item:hover,.engine-3d-search--light .engine-3d-search__item--active{background:#e0f2fe}.engine-3d-search--light .engine-3d-search__badge{background:#dbeafe;color:#1d4ed8}.bim-mobile-roam-move-pad{width:116px;height:116px;border:1px solid rgba(255,255,255,.34);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#14182073;box-shadow:0 4px 16px #0000003d inset,0 4px 14px #0003;touch-action:none}.bim-mobile-roam-button{width:44px;height:44px;border:1px solid rgba(255,255,255,.46);border-radius:8px;color:#fff;background:#14182094;box-shadow:0 4px 14px #00000038;font-size:15px;font-weight:600;line-height:1;touch-action:none}.bim-mobile-roam-button.is-round{width:48px;height:48px;border-radius:50%;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center}.bim-mobile-roam-button.is-active{background:#267effc7;border-color:#ffffffb8}.bim-mobile-roam-move-pad.is-active{border-color:#267effd6;background:#142c4a8a}.bim-mobile-roam-look-group{display:flex;align-items:center;gap:12px}.bim-mobile-roam-vertical-pad{display:flex;flex-direction:column;gap:10px;align-items:center}.bim-mobile-roam-look-pad{width:116px;height:116px;border:1px solid rgba(255,255,255,.34);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#14182073;box-shadow:0 4px 16px #0000003d inset,0 4px 14px #0003;touch-action:none}.bim-mobile-roam-look-pad.is-active{border-color:#267effd6;background:#142c4a8a}.bim-mobile-roam-look-knob,.bim-mobile-roam-move-knob{width:46px;height:46px;border-radius:50%;background:#ffffffb8;box-shadow:0 2px 10px #00000042}@media(max-width:520px){.bim-mobile-roam-controls{padding:0
|
|
1
|
+
.originRotate{width:10px;height:10px;background-color:red}.versionText{position:absolute;right:10px;color:#86d9ff;z-index:1000;bottom:10px;font-size:10px;background:transparent;pointer-events:none}.originDiv{position:absolute;top:100px;left:100px;width:30px;height:30px;border-radius:50%;z-index:1000;pointer-events:none}.tagDiv{color:gray;background:#fffc;padding:5px;font-size:12px}.catchPoint{pointer-events:none;stroke:#08dfd7;fill:transparent;stroke-width:2}.catchLine{position:absolute;width:10px;height:10px;pointer-events:none;background-color:green}.catchPlane{position:absolute;width:10px;height:10px;pointer-events:none;background-color:#ff0}.bim-mobile-roam-controls{position:absolute;left:0;right:0;bottom:max(40px,env(safe-area-inset-bottom));z-index:1200;display:flex;align-items:flex-end;justify-content:space-between;padding:0 60px;pointer-events:none;user-select:none;-webkit-user-select:none;touch-action:none}.bim-mobile-roam-pad,.bim-mobile-roam-look-group,.bim-mobile-roam-vertical-pad{pointer-events:auto}.engine-3d-search{position:absolute;inset:0;z-index:1500;display:none;pointer-events:none}.engine-3d-search--visible{display:block}.engine-3d-search__box{position:absolute;top:14%;left:50%;width:min(480px,calc(100% - 32px));transform:translate(-50%);overflow:hidden;border:1px solid rgba(148,163,184,.42);border-radius:10px;background:#0f172af5;box-shadow:0 18px 40px #00000059;color:#e2e8f0;pointer-events:auto}.engine-3d-search__input-row{display:flex;align-items:center;height:48px;gap:10px;padding:0 12px}.engine-3d-search__icon{display:flex;color:#93c5fd}.engine-3d-search__input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#f8fafc;font-size:14px}.engine-3d-search__input::placeholder{color:#94a3b8}.engine-3d-search__clear{width:24px;height:24px;border:0;border-radius:50%;background:#94a3b833;color:#e2e8f0;font-size:18px;cursor:pointer}.engine-3d-search__status{min-height:28px;box-sizing:border-box;padding:6px 14px;border-top:1px solid rgba(148,163,184,.16);color:#94a3b8;font-size:12px}.engine-3d-search__list{max-height:300px;margin:0;padding:4px 0;overflow:auto;list-style:none}.engine-3d-search__pagination{display:none;align-items:center;justify-content:space-between;padding:8px 12px;border-top:1px solid rgba(148,163,184,.16);color:#94a3b8;font-size:12px}.engine-3d-search__page-button{border:0;border-radius:4px;padding:4px 8px;background:#94a3b833;color:inherit;cursor:pointer;font-size:12px}.engine-3d-search__page-button:disabled{cursor:not-allowed;opacity:.38}.engine-3d-search__item{display:flex;align-items:center;gap:8px;padding:9px 14px;cursor:pointer}.engine-3d-search__item:hover,.engine-3d-search__item--active{background:#3b82f633}.engine-3d-search__badge{flex:0 0 auto;padding:2px 5px;border-radius:3px;background:#3b82f638;color:#93c5fd;font-size:11px}.engine-3d-search__name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.engine-3d-search__id{flex:0 1 120px;overflow:hidden;color:#94a3b8;text-align:right;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.engine-3d-search--light .engine-3d-search__box{border-color:#47556947;background:#fffffff7;box-shadow:0 18px 40px #0f172a2e;color:#172554}.engine-3d-search--light .engine-3d-search__input{color:#0f172a}.engine-3d-search--light .engine-3d-search__input::placeholder,.engine-3d-search--light .engine-3d-search__status,.engine-3d-search--light .engine-3d-search__id{color:#64748b}.engine-3d-search--light .engine-3d-search__clear{background:#e2e8f0;color:#334155}.engine-3d-search--light .engine-3d-search__status{border-top-color:#47556924}.engine-3d-search--light .engine-3d-search__pagination{border-top-color:#47556924;color:#64748b}.engine-3d-search--light .engine-3d-search__page-button{background:#e2e8f0;color:#334155}.engine-3d-search--light .engine-3d-search__item:hover,.engine-3d-search--light .engine-3d-search__item--active{background:#e0f2fe}.engine-3d-search--light .engine-3d-search__badge{background:#dbeafe;color:#1d4ed8}.bim-mobile-roam-move-pad{width:116px;height:116px;border:1px solid rgba(255,255,255,.34);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#14182073;box-shadow:0 4px 16px #0000003d inset,0 4px 14px #0003;touch-action:none}.bim-mobile-roam-button{width:44px;height:44px;border:1px solid rgba(255,255,255,.46);border-radius:8px;color:#fff;background:#14182094;box-shadow:0 4px 14px #00000038;font-size:15px;font-weight:600;line-height:1;touch-action:none}.bim-mobile-roam-button.is-round{width:48px;height:48px;border-radius:50%;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center}.bim-mobile-roam-button.is-active{background:#267effc7;border-color:#ffffffb8}.bim-mobile-roam-move-pad.is-active{border-color:#267effd6;background:#142c4a8a}.bim-mobile-roam-look-group{display:flex;align-items:center;gap:12px}.bim-mobile-roam-vertical-pad{display:flex;flex-direction:column;gap:10px;align-items:center}.bim-mobile-roam-look-pad{width:116px;height:116px;border:1px solid rgba(255,255,255,.34);border-radius:50%;display:flex;align-items:center;justify-content:center;background:#14182073;box-shadow:0 4px 16px #0000003d inset,0 4px 14px #0003;touch-action:none}.bim-mobile-roam-look-pad.is-active{border-color:#267effd6;background:#142c4a8a}.bim-mobile-roam-look-knob,.bim-mobile-roam-move-knob{width:46px;height:46px;border-radius:50%;background:#ffffffb8;box-shadow:0 2px 10px #00000042}@media(max-width:520px){.bim-mobile-roam-controls{padding:0 60px;bottom:max(40px,env(safe-area-inset-bottom))}.bim-mobile-roam-move-pad{width:96px;height:96px}.bim-mobile-roam-button{width:38px;height:38px;font-size:13px}.bim-mobile-roam-button.is-round{width:42px;height:42px;font-size:18px}.bim-mobile-roam-look-pad{width:96px;height:96px}.bim-mobile-roam-look-knob,.bim-mobile-roam-move-knob{width:38px;height:38px}}.ViewCube{position:absolute;width:120px;height:120px;top:0;right:0;z-index:999}.homeViewWrapper{position:absolute;cursor:pointer;pointer-events:auto;background-size:100% 100%;background-repeat:no-repeat;background-color:#fff0;color:#fff;top:10px;right:100;width:20px;height:20px;z-index:999;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.viewSettingWrapper{position:absolute;cursor:pointer;pointer-events:auto;background-size:100% 100%;background-repeat:no-repeat;font-weight:800;background-color:#fff0;color:#fff;top:30px;right:100;width:20px;height:20px;z-index:999;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cameraToggleWrapper{position:absolute;cursor:pointer;pointer-events:auto;background-color:#ffffffe6;color:#333;font-size:26px;font-weight:700;display:none;align-items:center;justify-content:center;border-radius:4px;box-shadow:0 2px 4px #0003;transition:all .3s ease;top:70px;right:90px;width:44px;height:44px;z-index:999;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.cameraToggleWrapper.show{display:flex}.cameraToggleWrapper:hover{background-color:#fff;box-shadow:0 3px 6px #0000004d;transform:scale(1.1)}.screenshotWrapper{position:absolute;cursor:pointer;pointer-events:auto;background-color:#ffffffe6;color:#333;font-size:20px;display:none;align-items:center;justify-content:center;border-radius:4px;box-shadow:0 2px 4px #0003;transition:all .3s ease;top:120px;right:90px;width:44px;height:44px;z-index:999;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.screenshotWrapper.show{display:flex}.screenshotWrapper:hover{background-color:#fff;box-shadow:0 3px 6px #0000004d;transform:scale(1.1)}.fullscreenWrapper{position:absolute;cursor:pointer;pointer-events:auto;background-color:#ffffffe6;color:#333;font-size:26px;font-weight:700;display:none;align-items:center;justify-content:center;border-radius:4px;box-shadow:0 2px 4px #0003;transition:all .3s ease;top:170px;right:90px;width:44px;height:44px;z-index:999;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.fullscreenWrapper.show{display:flex}.fullscreenWrapper:hover{background-color:#fff;box-shadow:0 3px 6px #0000004d;transform:scale(1.1)}.measure-elevation{position:absolute;pointer-events:none}.measureSvg{position:absolute;width:1920px;height:1080px}.catch-point{position:absolute;width:10px;height:10px;background-color:red;border-radius:50%;pointer-events:none}.annotation-container{position:absolute;pointer-events:none;top:0;left:0}.measureLine{position:absolute;pointer-events:none;stroke:#009bea;fill:#009bea;filter:drop-shadow(0px 0px 2px rgba(0,0,0,.3))}.measureBack{cursor:pointer;pointer-events:auto;fill:#fff;rx:5;ry:5;filter:drop-shadow(0px 0px 3px rgba(0,0,0,.3));text-align:center}.measureLabel{position:absolute;fill:#fff;font-family:tahoma;font-size:14px;stroke:#009bea;font-weight:200;pointer-events:none;text-anchor:middle}.measurePointer{fill:#009bea}.Hight{stroke:#fff;font-weight:500;filter:drop-shadow(0px 0px 2px rgb(0,195,255))}.allow-select{pointer-events:auto}.disallow-select{pointer-events:none}.angle-annotation{position:absolute;pointer-events:auto}
|