iflow-engine-base 3.7.10 → 3.7.12

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/index.d.ts CHANGED
@@ -295,6 +295,7 @@ declare class CameraModule {
295
295
  getOrthographicVisibleHeight(camera?: THREE.OrthographicCamera): number;
296
296
  setOrthographicVisibleHeight(visibleHeight: number, camera?: THREE.OrthographicCamera): void;
297
297
  private getViewDirection;
298
+ private getStableCameraUp;
298
299
  private updateComposerCamera;
299
300
  private applySwitchedCamera;
300
301
  switchCurrentCamera(): void;
@@ -314,7 +315,7 @@ declare class CameraModule {
314
315
  x: number;
315
316
  y: number;
316
317
  z: number;
317
- }, distance?: number): void;
318
+ }, stableUp?: any): void;
318
319
  }
319
320
 
320
321
  declare class CameraModule2d {
@@ -517,6 +518,7 @@ declare class Clipping {
517
518
  clippingStencil: any;
518
519
  clippingCSGSimple: ClippingCSGOptimizedSimple | null;
519
520
  currentClippingMode: string;
521
+ sectionCatchFace: any;
520
522
  fillCutFace: boolean;
521
523
  constructor(engine: any);
522
524
  init(): void;
@@ -731,6 +733,7 @@ declare class ControlModule {
731
733
  handleMouseDown(event: MouseEvent): void;
732
734
  handleMouseClick(event: MouseEvent): void;
733
735
  update(): void;
736
+ dispose(): void;
734
737
  }
735
738
 
736
739
  declare class ControlModule2d {
@@ -1472,6 +1475,7 @@ declare class EngineKernelV2 {
1472
1475
  private options;
1473
1476
  private deviceType;
1474
1477
  private animationId;
1478
+ private isDisposed;
1475
1479
  private isRenderingPaused;
1476
1480
  private controlsEnabledBeforePause;
1477
1481
  private animate;
@@ -1549,7 +1553,7 @@ declare class EngineKernelV2 {
1549
1553
  private container;
1550
1554
  constructor(options: any);
1551
1555
  updateVersionDisplay(): void;
1552
- updateLightPosition(camera: any, directionalLight: any): void;
1556
+ updateLightPosition(camera: any, directionalLight: any, updataRotate?: boolean): void;
1553
1557
  /**
1554
1558
  * 自适应渲染降级:将渲染模式降低一级
1555
1559
  */
@@ -1585,6 +1589,9 @@ declare class EngineKernelV2 {
1585
1589
  /**
1586
1590
  * 清理材质及其纹理
1587
1591
  */
1592
+ private invokeIfExists;
1593
+ private disposeSceneAttachments;
1594
+ private disposeSceneAttachment;
1588
1595
  private disposeMaterial;
1589
1596
  }
1590
1597
 
@@ -2091,6 +2098,9 @@ declare class FabricDraw {
2091
2098
  private syncStyleFromSelection;
2092
2099
  private readStyleFromObject;
2093
2100
  private isTextObject;
2101
+ private createTextStyle;
2102
+ private getTextOutlineColor;
2103
+ private isWhiteTextColor;
2094
2104
  private isInputElement;
2095
2105
  private applyCanvasInteractive;
2096
2106
  private parseNumber;
@@ -2485,6 +2495,7 @@ declare class InteractionModule {
2485
2495
  init(): void;
2486
2496
  active(): void;
2487
2497
  disActive(): void;
2498
+ dispose(): void;
2488
2499
  handelKeyCtrlUp(): void;
2489
2500
  handelKeyCtrlDown(): void;
2490
2501
  handelKeyShiftUp(): void;
@@ -2510,6 +2521,9 @@ declare class InteractionModule {
2510
2521
  private isBoxSelectionModifierDown;
2511
2522
  private isBoxDeselectMode;
2512
2523
  private collectModelsInSelection;
2524
+ private getIgnoredSelectionIdsByUrl;
2525
+ private isBoxVisibleUnderClipping;
2526
+ private getActiveClippingPlanes;
2513
2527
  private applyBoxSelection;
2514
2528
  private applyBoxDeselection;
2515
2529
  private excludeHighlightedModels;
@@ -2830,6 +2844,7 @@ declare class LinkElement2d3d {
2830
2844
  constructor(engine: any);
2831
2845
  private active;
2832
2846
  private disActive;
2847
+ dispose(): void;
2833
2848
  private readonly listenElementClick;
2834
2849
  }
2835
2850
 
@@ -2838,6 +2853,7 @@ declare class LinkView2d3d {
2838
2853
  constructor(engine: any);
2839
2854
  private active;
2840
2855
  private disActive;
2856
+ dispose(): void;
2841
2857
  private readonly listenViewUpdate;
2842
2858
  private applyPosition;
2843
2859
  private applyRotation;
@@ -2958,6 +2974,7 @@ declare class Measure {
2958
2974
  private angleMeasure;
2959
2975
  private areaMeasure;
2960
2976
  private slopeMeasure;
2977
+ private faceDistanceMeasure;
2961
2978
  private tools;
2962
2979
  private annotationContainer;
2963
2980
  private annotationData;
@@ -2970,6 +2987,7 @@ declare class Measure {
2970
2987
  saveSetting(setting: any): void;
2971
2988
  getSetting(): any;
2972
2989
  update(): void;
2990
+ dispose(): void;
2973
2991
  }
2974
2992
 
2975
2993
  /**
@@ -3139,6 +3157,9 @@ declare class ModelToolModule {
3139
3157
  split_merge_model(model: any): void;
3140
3158
  un_split_merge_model(model: any): void;
3141
3159
  private shouldKeepSplitState;
3160
+ private areAllGroupsHidden;
3161
+ private getEngineModelByUrl;
3162
+ private appendUniqueIds;
3142
3163
  private restoreSplitModelsOnIdle;
3143
3164
  getSceneModel(index: number): any;
3144
3165
  updateMaterial(): void;
@@ -3146,7 +3167,7 @@ declare class ModelToolModule {
3146
3167
  unhighlightModel(models: any): void;
3147
3168
  unhighlightAllModels(isClear?: boolean): void;
3148
3169
  hideModel(models: any): void;
3149
- showModel(models: any): void;
3170
+ showModel(models: any, skipStateCleanup?: boolean): void;
3150
3171
  isolateModel(models: any): void;
3151
3172
  translucentOtherModel(models: any): void;
3152
3173
  setModelColor(model: any, color: string): void;
@@ -3762,6 +3783,7 @@ declare class RangeScale {
3762
3783
  * @param boundingBox - 要适应的包围盒
3763
3784
  */
3764
3785
  private fitCameraToBoundingBox;
3786
+ dispose(): void;
3765
3787
  }
3766
3788
 
3767
3789
  declare type RenderMode = 'simple' | 'balance' | 'advanced';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iflow-engine-base",
3
- "version": "3.7.10",
3
+ "version": "3.7.12",
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",