iflow-engine-base 3.12.7 → 3.12.8

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
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, a3 as m, V as p, b as D } from "./three-vendor-BL-jpeTM.js";
2
- import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-CN4hyUTd.js";
2
+ import { C as L, W as w, E as T, c as z, r as _ } from "./sdk-runtime-CEMbe8J8.js";
3
3
  class V {
4
4
  scene;
5
5
  panoramaSphere = null;
@@ -1,5 +1,5 @@
1
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, aP as ze, aQ as Pt, aR as at, a2 as Bt, aS as ms, aT as yn, aU as xn, aV as In, aW as Tn, a1 as wn, aX as En, aY as Bn, l as lt, aZ as As, a_ as gs, a$ as vn, k as Cs, b0 as Fn, t as Je, ay as Ss, D as Kt, ap as bn, w as ys, q as Dn, Y as We, b1 as qe, aF as xs, s as Mn, b2 as Rn, ag as Pn, b3 as On, b4 as nn, aH as Is, b5 as kn, am as Ln, b6 as Ne, b7 as mt, p as Hn } from "./three-vendor-BL-jpeTM.js";
2
- import { C as Un, c as zn, E as _n, r as Qn } from "./sdk-runtime-CN4hyUTd.js";
2
+ import { C as Un, c as zn, E as _n, r as Qn } from "./sdk-runtime-CEMbe8J8.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();
@@ -1,6 +1,6 @@
1
- import { g as xX, J as KN } from "./sdk-vendor-DH77myYg.js";
1
+ import { g as xX, J as KN } from "./sdk-vendor-CE8iRE87.js";
2
2
  import { b8 as Ii, b9 as TX } from "./three-vendor-BL-jpeTM.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-CN4hyUTd.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-CEMbe8J8.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;
@@ -2,7 +2,7 @@ import { ba as w } from "./three-vendor-BL-jpeTM.js";
2
2
  const S = "__BIM_ENGINE_SDK_ASSET_BASE__", b = "__BIM_ENGINE_SDK_ASSET_FILE_MAP__", g = "__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-DH77myYg.js").then((t) => t.j).then((t) => t.default ?? t)), _;
5
+ return _ || (_ = import("./sdk-vendor-CE8iRE87.js").then((t) => t.j).then((t) => t.default ?? t)), _;
6
6
  }
7
7
  function a() {
8
8
  return typeof globalThis < "u" ? globalThis : null;
@@ -1,5 +1,5 @@
1
1
  import { R as ve, b as B, V as ce, H as Te, bb as Ce } from "./three-vendor-BL-jpeTM.js";
2
- import { a as pe, J as ne, p as Ae, l as J } from "./sdk-vendor-DH77myYg.js";
2
+ import { a as pe, J as ne, p as Ae, l as J } from "./sdk-vendor-CE8iRE87.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.7", st = {
1059
+ const ot = "3.12.8", st = {
1060
1060
  version: ot
1061
1061
  }, V = st.version;
1062
1062
  function se() {
@@ -1,4 +1,4 @@
1
- import { c as ja, g as X0, a as f1 } from "./engine-gis-CxTiU6c4.js";
1
+ import { c as ja, g as X0, a as f1 } from "./engine-gis-Ce7y2a0F.js";
2
2
  function d1(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const i = e[r];
package/dist/index.d.ts CHANGED
@@ -2533,6 +2533,8 @@ declare class EngineKernelV2 {
2533
2533
  modelExplode: ModelExplode;
2534
2534
  /** 材质编辑器,提供 DOM 面板、材质修改记录读取和一键还原能力。 */
2535
2535
  materialTool: MaterialTool;
2536
+ rxQuotaListMapper: RxQuotaListMapper;
2537
+ filterLoaderModel: FilterLoaderModel;
2536
2538
  models: any[];
2537
2539
  reactBoundingClientRect: {
2538
2540
  left: number;
@@ -3267,6 +3269,23 @@ declare interface FabricDrawStyle {
3267
3269
 
3268
3270
  declare type FabricDrawType = 'none' | 'line' | 'arrow' | 'rect' | 'circle' | 'text' | 'cloudline';
3269
3271
 
3272
+ declare class FilterLoaderModel {
3273
+ private engine;
3274
+ private continusIds;
3275
+ constructor(engine: any);
3276
+ /**
3277
+ * 基于已加载的属性数据构建当前模型的过滤 id 集合。
3278
+ * 默认不过滤,业务侧只需要把 shouldFilterId 换成真实规则即可。
3279
+ */
3280
+ buildContinueIds(url: string): void;
3281
+ setContinueIds(url: string, ids: Array<string | number>): void;
3282
+ getContinueIds(url: string): number[];
3283
+ getContinueIdSet(url: string): Set<number>;
3284
+ hasContinueId(url: string, id: string | number): boolean;
3285
+ clear(url?: string): void;
3286
+ private shouldFilterId;
3287
+ }
3288
+
3270
3289
  declare interface GaussianFpsInfo {
3271
3290
  fps: number;
3272
3291
  frameTimeMs: number;
@@ -5737,6 +5756,7 @@ declare class ModelEdge {
5737
5756
  private groupVisibleBeforeExplode;
5738
5757
  private highlightVisibleBeforeExplode;
5739
5758
  private getModelEntry;
5759
+ private getFilteredIdSet;
5740
5760
  private getOrCreateItemIndex;
5741
5761
  private getEdgePointsByIndex;
5742
5762
  private getLineByUrl;
@@ -6308,8 +6328,12 @@ declare class ModelProperties {
6308
6328
  constructor(engine: any);
6309
6329
  init(): void;
6310
6330
  updateExtended(url: string, data: any): void;
6331
+ loadProperties(url: string, callback: any): void;
6311
6332
  getModelPropertiesWithName(url: string, id: string, names: [], callback: (properties: any) => void): void;
6312
- getModelProperties(url: string, id: string, callback: (properties: any) => void): void;
6333
+ getModelProperties(url: string, id: string, callback: (properties: any) => void): {
6334
+ properties: any[];
6335
+ materials: any[];
6336
+ };
6313
6337
  }
6314
6338
 
6315
6339
  declare class ModelToolModule {
@@ -7495,6 +7519,21 @@ export declare interface RoamLookDirection {
7495
7519
  vertical?: 1 | -1;
7496
7520
  }
7497
7521
 
7522
+ declare class RxQuotaListMapper {
7523
+ private engine;
7524
+ private codeMap;
7525
+ private continusIds;
7526
+ constructor(engine: any);
7527
+ loadNodeMap(model_: any): void;
7528
+ seachModels(codes: string[]): {
7529
+ id: number;
7530
+ name: string;
7531
+ url: string;
7532
+ attibute: any[];
7533
+ }[];
7534
+ private setelementInfo;
7535
+ }
7536
+
7498
7537
  export declare interface SceneModelData extends Required<Omit<ModelPlaceOptions, 'id'>> {
7499
7538
  id: string;
7500
7539
  materials: SceneModelMaterial[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iflow-engine-base",
3
- "version": "3.12.7",
3
+ "version": "3.12.8",
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",