@soonspacejs/plugin-cps-soonmanager 2.9.9 → 2.9.11
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/batch-update-poi/index.d.ts +1 -3
- package/dist/index.d.ts +5 -1
- package/dist/index.esm.js +3 -3
- package/dist/types.d.ts +4 -0
- package/package.json +7 -7
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import SoonSpace from 'soonspacejs';
|
|
2
1
|
import PoiRendererPlugin from '@soonspacejs/plugin-poi-renderer';
|
|
3
2
|
import CpsManagerPlugin from '../';
|
|
4
3
|
import { ITreeData } from '../types';
|
|
@@ -8,10 +7,9 @@ declare class BatchUpdatePoi {
|
|
|
8
7
|
#private;
|
|
9
8
|
treeList: ITreeData[] | null;
|
|
10
9
|
poiList: PoiList[] | null;
|
|
11
|
-
ssp: SoonSpace;
|
|
12
10
|
plugin: PoiRendererPlugin;
|
|
13
11
|
cpsPlugin: CpsManagerPlugin;
|
|
14
|
-
constructor(treeList: ITreeData[] | null, poiList: PoiList[] | null,
|
|
12
|
+
constructor(treeList: ITreeData[] | null, poiList: PoiList[] | null, plugin: PoiRendererPlugin, cpsPlugin: CpsManagerPlugin);
|
|
15
13
|
batchPoi(api: SourceApiListInterface, data: any): void;
|
|
16
14
|
}
|
|
17
15
|
export default BatchUpdatePoi;
|
package/dist/index.d.ts
CHANGED
|
@@ -156,11 +156,15 @@ declare class CpsSoonmanagerPlugin {
|
|
|
156
156
|
* @param index
|
|
157
157
|
*/
|
|
158
158
|
flyToObjectFromVisionsData(object: BaseObject3D, index?: number, options?: AnimationOptions): Promise<void>;
|
|
159
|
+
/**
|
|
160
|
+
* 加载流程数据
|
|
161
|
+
*/
|
|
162
|
+
loadFlowData(): Promise<void>;
|
|
159
163
|
/**
|
|
160
164
|
* 执行流程
|
|
161
165
|
* @param id 流程 id
|
|
162
166
|
*/
|
|
163
|
-
runFlowById(id: string):
|
|
167
|
+
runFlowById(id: string): Promise<void>;
|
|
164
168
|
}
|
|
165
169
|
export * from './types';
|
|
166
170
|
export * from './constants';
|