iflow-engine-base 3.4.10 → 3.4.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/bim-engine-sdk.es.js +4652 -4341
- package/dist/bim-engine-sdk.es.js.map +1 -1
- package/dist/bim-engine-sdk.umd.js +376 -199
- package/dist/bim-engine-sdk.umd.js.map +1 -1
- package/dist/index.d.ts +33 -3
- package/package.json +1 -1
- package/dist/fonts/simfang.ttf +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -2674,8 +2674,10 @@ declare class ModelMapperBatch {
|
|
|
2674
2674
|
|
|
2675
2675
|
declare class ModelProperties {
|
|
2676
2676
|
private engine;
|
|
2677
|
+
extended: Map<string, any>;
|
|
2677
2678
|
constructor(engine: any);
|
|
2678
2679
|
init(): void;
|
|
2680
|
+
updateExtended(url: string, data: any): void;
|
|
2679
2681
|
getModelPropertiesWithName(url: string, id: string, names: [], callback: (properties: any) => void): void;
|
|
2680
2682
|
getModelProperties(url: string, id: string, callback: (properties: any) => void): void;
|
|
2681
2683
|
}
|
|
@@ -2748,12 +2750,40 @@ declare class OctreeBox2d {
|
|
|
2748
2750
|
}
|
|
2749
2751
|
|
|
2750
2752
|
declare class OneClickEncoding {
|
|
2751
|
-
private engine;
|
|
2753
|
+
private readonly engine;
|
|
2752
2754
|
private readonly apiKey;
|
|
2753
2755
|
private readonly baseURL;
|
|
2754
2756
|
constructor(engine: any, apiKey?: string);
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
+
/**
|
|
2758
|
+
* 查询模型是否有编码(检查扩展属性中是否存在编码数据)
|
|
2759
|
+
*/
|
|
2760
|
+
exitModelCode(url: string): boolean;
|
|
2761
|
+
/**
|
|
2762
|
+
* 保存编码到缓存(localStorage),根据url去存
|
|
2763
|
+
*/
|
|
2764
|
+
savaModelCodeToStoge(url: string): void;
|
|
2765
|
+
/**
|
|
2766
|
+
* 从缓存(localStorage)读取编码数据并写入扩展属性
|
|
2767
|
+
*/
|
|
2768
|
+
readModelCodeFormStoge(url: string): void;
|
|
2769
|
+
/**
|
|
2770
|
+
* 查询模型编码 - 通过构件ID查询扩展属性中的编码信息
|
|
2771
|
+
*/
|
|
2772
|
+
getModelCode(url: string, id: number): Promise<any>;
|
|
2773
|
+
/**
|
|
2774
|
+
* 订阅编码事件
|
|
2775
|
+
*/
|
|
2776
|
+
on(event: string, callback: (data: any) => void): void;
|
|
2777
|
+
/**
|
|
2778
|
+
* 取消订阅编码事件
|
|
2779
|
+
*/
|
|
2780
|
+
off(event: string, callback: (data: any) => void): void;
|
|
2781
|
+
start(): Promise<void>;
|
|
2782
|
+
/**
|
|
2783
|
+
* 批量查询构件属性
|
|
2784
|
+
*/
|
|
2785
|
+
private queryProperties;
|
|
2786
|
+
startChat(url: string, str: string): Promise<any[]>;
|
|
2757
2787
|
chat(str: string): Promise<any>;
|
|
2758
2788
|
}
|
|
2759
2789
|
|
package/package.json
CHANGED
package/dist/fonts/simfang.ttf
DELETED
|
Binary file
|