iflow-engine-base-3d 3.12.4 → 3.12.5
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 +4 -2
- package/dist/bim-engine-sdk.umd.js +263 -233
- package/dist/chunks/{engine-3d-pG0lMyGM.js → engine-3d-MRzne_ba.js} +2748 -1972
- package/dist/chunks/{sdk-assets-C50tXAaf.js → sdk-assets-d5IWmiFA.js} +5 -5
- package/dist/chunks/{sdk-runtime-DeURsgee.js → sdk-runtime-Bu2d2wDd.js} +2 -2
- package/dist/chunks/{three-vendor-DQQg127O.js → three-vendor-CABBZGAg.js} +7 -5
- package/dist/index.d.ts +21 -0
- package/package.json +1 -1
- package/dist/assets/viewcube/cn_back.png +0 -0
- package/dist/assets/viewcube/cn_bottom.png +0 -0
- package/dist/assets/viewcube/cn_front.png +0 -0
- package/dist/assets/viewcube/cn_left.png +0 -0
- package/dist/assets/viewcube/cn_right.png +0 -0
- package/dist/assets/viewcube/cn_top.png +0 -0
- package/dist/assets/viewcube/home.png +0 -0
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aK as w } from "./three-vendor-CABBZGAg.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() {
|
|
@@ -39,20 +39,20 @@ function p() {
|
|
|
39
39
|
const e = a()?.[A];
|
|
40
40
|
return typeof e == "string" && e ? `${L}${e}/` : null;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function K(t) {
|
|
43
43
|
return `${p() ?? L}${l(t)}`;
|
|
44
44
|
}
|
|
45
45
|
function U() {
|
|
46
46
|
const e = a()?.[g];
|
|
47
47
|
return e instanceof Map ? e : null;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function z() {
|
|
50
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 && (
|
|
55
|
+
t && (z().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();
|
|
@@ -190,7 +190,7 @@ function Y(t, e) {
|
|
|
190
190
|
if (s && !t.endsWith("/"))
|
|
191
191
|
return s;
|
|
192
192
|
if (t.endsWith("/") || h(n)) {
|
|
193
|
-
const o =
|
|
193
|
+
const o = K(n);
|
|
194
194
|
if (h(n))
|
|
195
195
|
return t.endsWith("/") ? u(o) : o;
|
|
196
196
|
}
|
|
@@ -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-CABBZGAg.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.5", et = {
|
|
834
834
|
version: Qe
|
|
835
835
|
}, N = et.version;
|
|
836
836
|
function ie() {
|
|
@@ -43195,11 +43195,13 @@ export {
|
|
|
43195
43195
|
Qm as aB,
|
|
43196
43196
|
$o as aC,
|
|
43197
43197
|
It as aD,
|
|
43198
|
-
|
|
43199
|
-
|
|
43200
|
-
|
|
43201
|
-
|
|
43202
|
-
|
|
43198
|
+
Kt as aE,
|
|
43199
|
+
Bt as aF,
|
|
43200
|
+
Gn as aG,
|
|
43201
|
+
oi as aH,
|
|
43202
|
+
ec as aI,
|
|
43203
|
+
ws as aJ,
|
|
43204
|
+
l0 as aK,
|
|
43203
43205
|
z_ as aa,
|
|
43204
43206
|
vd as ab,
|
|
43205
43207
|
Sr as ac,
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,13 @@ import { EngineKernelV2 } from './core/v2/EngineKernel';
|
|
|
2
2
|
import { ILoaderModule } from './api/modules/ILoaderModule';
|
|
3
3
|
import { IModel } from './api/modules/ILoaderModule';
|
|
4
4
|
import { LoadModelOptions } from './api/modules/ILoaderModule';
|
|
5
|
+
import { MaterialEditorMaterialInfo } from './core/v2/managers/materialTool';
|
|
6
|
+
import { MaterialEditorOptions } from './core/v2/managers/materialTool';
|
|
7
|
+
import { MaterialEditorTarget } from './core/v2/managers/materialTool';
|
|
8
|
+
import { MaterialMapSlot } from './core/v2/managers/materialTool';
|
|
9
|
+
import { MaterialModificationRecord } from './core/v2/managers/materialTool';
|
|
10
|
+
import { MaterialTextureInfo } from './core/v2/managers/materialTool';
|
|
11
|
+
import { MaterialTool } from './core/v2/managers/materialTool';
|
|
5
12
|
|
|
6
13
|
/**
|
|
7
14
|
* 创建 3D 引擎实例,并沿用主包的静态资源配置行为。
|
|
@@ -18,4 +25,18 @@ export { IModel }
|
|
|
18
25
|
|
|
19
26
|
export { LoadModelOptions }
|
|
20
27
|
|
|
28
|
+
export { MaterialEditorMaterialInfo }
|
|
29
|
+
|
|
30
|
+
export { MaterialEditorOptions }
|
|
31
|
+
|
|
32
|
+
export { MaterialEditorTarget }
|
|
33
|
+
|
|
34
|
+
export { MaterialMapSlot }
|
|
35
|
+
|
|
36
|
+
export { MaterialModificationRecord }
|
|
37
|
+
|
|
38
|
+
export { MaterialTextureInfo }
|
|
39
|
+
|
|
40
|
+
export { MaterialTool }
|
|
41
|
+
|
|
21
42
|
export { }
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|