iflow-engine 3.9.203 → 3.9.211

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.
@@ -64,6 +64,7 @@ export declare class Engine2d implements IBimComponent {
64
64
  * @param options 加载选项
65
65
  */
66
66
  loadDrawing(url: string, options?: DrawingLoadOptions): Promise<void>;
67
+ loadModelByViewToken(viewToken: string): Promise<void>;
67
68
  /**
68
69
  * 获取所有图层
69
70
  * @returns 图层列表
@@ -61,6 +61,7 @@ export declare class Engine720 implements IBimComponent {
61
61
  * @param _options 加载选项(预留)
62
62
  */
63
63
  loadPanorama(url: string, _options?: PanoramaLoadOptions): Promise<void>;
64
+ loadModelByViewToken(viewToken: string): Promise<void>;
64
65
  /**
65
66
  * 预加载多个全景图
66
67
  * @param urls 全景图 URL 列表
@@ -24,6 +24,7 @@ export declare class EngineGaussian implements IBimComponent {
24
24
  init(): void;
25
25
  isInitialized(): boolean;
26
26
  loadModel(url: string, options?: GaussianLoadOptions): Promise<GaussianSceneInfo | null>;
27
+ loadModelByViewToken(viewToken: string): Promise<GaussianSceneInfo | null>;
27
28
  unloadModel(id: string): Promise<void>;
28
29
  clearModels(): Promise<void>;
29
30
  setOrientationPreset(preset: GaussianOrientationPreset): void;
@@ -86,6 +86,7 @@ export declare class EngineGis implements IBimComponent {
86
86
  private initViewDropdown;
87
87
  /** 加载 GIS 3D Tiles 模型,对外只接收业务必要参数,其余显示/精度参数按文档默认值内部补齐 */
88
88
  load3DTiles(options: EngineGis3DTilesLoadOptions): Promise<EngineGisLoaded3DTilesModel | null>;
89
+ loadModelByViewToken(viewToken: string): Promise<EngineGisLoaded3DTilesModel | null>;
89
90
  /** 获取当前已加载 3D Tiles 模型的校验编辑数据 */
90
91
  getModelCalibrationItems(): GisModelCalibrationItem[];
91
92
  /** 使用 ENU 偏移和旋转校验 GIS 3D Tiles 模型 */
@@ -0,0 +1,3 @@
1
+ export declare const INTERNAL_SDK_AUTH: {
2
+ readonly endpoint: "https://open.iflowbim.cn/openapi";
3
+ };
@@ -67,6 +67,9 @@ export declare class CusBimEngine {
67
67
  getLocale(): LocaleType;
68
68
  setTheme(theme: 'dark' | 'light'): void;
69
69
  setCustomTheme(theme: ThemeConfig): void;
70
+ initialize(options?: Omit<EngineOptions, 'container'>): Promise<boolean>;
71
+ loadModel(urls: string[], options?: ModelLoadOptions): void;
72
+ loadModelByViewToken(viewToken: string): Promise<void>;
70
73
  private init;
71
74
  private updateTheme;
72
75
  private updateClientSizeDisplay;