@soonspacejs/plugin-cps-soonmanager 2.13.16 → 2.13.17
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/data-source/utils/socket.d.ts +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.esm.js +4 -4
- package/dist/tiles-renderer/ArcgisTilesRenderer.d.ts +21 -0
- package/dist/tiles-renderer/ArcgisXYZTilesPlugin.d.ts +6 -0
- package/dist/tiles-renderer/index.d.ts +1 -0
- package/dist/types.d.ts +7 -0
- package/package.json +8 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Socket } from 'socket.io-client';
|
|
2
2
|
import { SourceApiListInterface, SourceEnvListInterface } from '../request-types';
|
|
3
3
|
import { SourceMessageCallbackType, SourceStatusCallbackType } from '../types';
|
|
4
|
-
export declare function requestSocket(api: SourceApiListInterface, env: SourceEnvListInterface, onStatus: SourceStatusCallbackType, onMessage: SourceMessageCallbackType): Socket<
|
|
4
|
+
export declare function requestSocket(api: SourceApiListInterface, env: SourceEnvListInterface, onStatus: SourceStatusCallbackType, onMessage: SourceMessageCallbackType): Socket<any, any>;
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import SoonFlow from '@soonflow/core';
|
|
|
7
7
|
import { AnimationPlayer } from 'umanager-animation-parser';
|
|
8
8
|
import { EventDispatcher } from 'three';
|
|
9
9
|
import { IMetadata, ITreeData, IInnerTreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap } from './types';
|
|
10
|
+
import { ArcgisTilesRenderer } from './tiles-renderer';
|
|
10
11
|
declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
11
12
|
#private;
|
|
12
13
|
readonly ssp: SoonSpace;
|
|
@@ -67,6 +68,10 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
67
68
|
* atomsphere 插件
|
|
68
69
|
*/
|
|
69
70
|
atmospherePlugin: AtmospherePlugin;
|
|
71
|
+
/**
|
|
72
|
+
* arcgis 瓦片渲染器
|
|
73
|
+
*/
|
|
74
|
+
arcgisTilesRenderer: ArcgisTilesRenderer;
|
|
70
75
|
/**
|
|
71
76
|
* 流程引擎实咧
|
|
72
77
|
*/
|
|
@@ -153,6 +158,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
153
158
|
* 加载整个场景
|
|
154
159
|
*/
|
|
155
160
|
loadScene(options?: ILoadSceneOptions): Promise<undefined>;
|
|
161
|
+
presetGis(): Promise<void>;
|
|
156
162
|
/**
|
|
157
163
|
* 预设效果
|
|
158
164
|
*/
|
|
@@ -249,6 +255,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
249
255
|
* 获取空间下辖设备
|
|
250
256
|
*/
|
|
251
257
|
getSpaceAssets<T extends BaseObject3D = BaseObject3D>(space: BaseObject3D): Promise<T[]>;
|
|
258
|
+
dispose(): void;
|
|
252
259
|
}
|
|
253
260
|
export * from './types';
|
|
254
261
|
export * from './constants';
|