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.
@@ -1,4 +1,4 @@
1
- import { aI as w } from "./three-vendor-DQQg127O.js";
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 z(t) {
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 K() {
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 && (K().forEach((e) => URL.revokeObjectURL(e)), delete t[g], delete t[b], delete t[A]);
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 = z(n);
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-DQQg127O.js";
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.4", et = {
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
- ec as aE,
43199
- ws as aF,
43200
- Kt as aG,
43201
- Bt as aH,
43202
- l0 as aI,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iflow-engine-base-3d",
3
- "version": "3.12.4",
3
+ "version": "3.12.5",
4
4
  "description": "BIM Engine SDK for Vue2, Vue3, React and HTML",
5
5
  "main": "./dist/bim-engine-sdk.umd.js",
6
6
  "module": "./dist/bim-engine-sdk.es.js",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file