@soonspacejs/plugin-cps-soonmanager 2.13.17 → 2.14.1
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/License/types.d.ts +1 -1
- package/dist/WaterMark/index.d.ts +2 -2
- package/dist/batch-update-poi/index.d.ts +2 -2
- package/dist/batch-update-poi/types.d.ts +1 -1
- package/dist/data-source/types.d.ts +1 -1
- package/dist/data-source/utils/mqtt.d.ts +1 -1
- package/dist/index.d.ts +12 -13
- package/dist/index.esm.js +43427 -5
- package/dist/tiles-renderer/ArcgisTilesRenderer.d.ts +1 -1
- package/dist/types.d.ts +2 -0
- package/dist/update-poi/index.d.ts +2 -2
- package/dist/utils.d.ts +5 -5
- package/package.json +8 -8
package/dist/License/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3D, OrthographicCamera, Vector4, Vector2 } from 'three';
|
|
2
|
-
import SoonSpace from 'soonspacejs';
|
|
2
|
+
import { default as SoonSpace } from 'soonspacejs';
|
|
3
3
|
declare class WaterMark extends Object3D {
|
|
4
4
|
readonly viewport: SoonSpace['viewport'];
|
|
5
5
|
fontSize: number;
|
|
@@ -19,7 +19,7 @@ declare class WaterMark extends Object3D {
|
|
|
19
19
|
autoRender: (time: number) => void;
|
|
20
20
|
_generateMark(str?: number[] | string): void;
|
|
21
21
|
_generateMarkForString(str?: number[] | string): void;
|
|
22
|
-
_generateMarkForImage(url?:
|
|
22
|
+
_generateMarkForImage(url?: string, width?: number, height?: number): void;
|
|
23
23
|
_calculateImageSize(canvasWidth: number, canvasHeight: number, imgWidth: number, imgHeight: number): {
|
|
24
24
|
renderWidth: number;
|
|
25
25
|
renderHeight: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import PoiRendererPlugin from '@soonspacejs/plugin-poi-renderer';
|
|
2
|
-
import CpsManagerPlugin from '../';
|
|
1
|
+
import { default as PoiRendererPlugin } from '@soonspacejs/plugin-poi-renderer';
|
|
2
|
+
import { default as CpsManagerPlugin } from '../';
|
|
3
3
|
import { ITreeData } from '../types';
|
|
4
4
|
import { SourceApiListInterface } from '../data-source/request-types';
|
|
5
5
|
import { PoiList } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import mqtt from 'mqtt';
|
|
1
|
+
import { default as mqtt } from '../../../../../../mqtt/dist/mqtt';
|
|
2
2
|
import { SourceApiListInterface, SourceEnvListInterface } from '../request-types';
|
|
3
3
|
import { SourceMessageCallbackType, SourceStatusCallbackType } from '../types';
|
|
4
4
|
export declare function requestMqtt(api: SourceApiListInterface, env: SourceEnvListInterface, onStatus: SourceStatusCallbackType, onMessage: SourceMessageCallbackType): mqtt.MqttClient;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import SoonSpace,
|
|
2
|
-
import type { BaseObject3D, Group, TopologyInfo } from 'soonspacejs';
|
|
1
|
+
import { default as SoonSpace, TopologyNodeInfo, BaseObject3D, Group, TopologyInfo } from 'soonspacejs';
|
|
3
2
|
import { PoiNodeData } from '@soonspacejs/plugin-poi-renderer';
|
|
4
|
-
import EffectPlugin from '@soonspacejs/plugin-effect';
|
|
5
|
-
import AtmospherePlugin from '@soonspacejs/plugin-atmosphere';
|
|
6
|
-
import SoonFlow from '@soonflow/core';
|
|
3
|
+
import { default as EffectPlugin } from '@soonspacejs/plugin-effect';
|
|
4
|
+
import { default as AtmospherePlugin } from '@soonspacejs/plugin-atmosphere';
|
|
5
|
+
import { default as SoonFlow } from '@soonflow/core';
|
|
7
6
|
import { AnimationPlayer } from 'umanager-animation-parser';
|
|
8
7
|
import { EventDispatcher } from 'three';
|
|
9
8
|
import { IMetadata, ITreeData, IInnerTreeData, IPoiData, ITopologyPath, ILoadSceneOptions, TPropertiesMap, TAnimationsMap, IPlayAnimationByIdOptions, TModelVisionsMap, IPresetEffectsOptions, TSpacesMap, ConstructorOptions, ISpaces, IFlatData, IProgress, IProgressEventMap } from './types';
|
|
@@ -130,7 +129,7 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
130
129
|
* 获取空间数据
|
|
131
130
|
* @returns
|
|
132
131
|
*/
|
|
133
|
-
fetchSpacesData(): Promise<Map<string, import(
|
|
132
|
+
fetchSpacesData(): Promise<Map<string, import('./types').BaseTreeNode<ISpaces>>>;
|
|
134
133
|
/**
|
|
135
134
|
* 格式化 Poi 数据完成 Poi Renderer 插件使用
|
|
136
135
|
*/
|
|
@@ -210,19 +209,19 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
210
209
|
*/
|
|
211
210
|
loadFlowData(): Promise<{
|
|
212
211
|
nodes: {
|
|
213
|
-
inputs: import(
|
|
214
|
-
outputs: import(
|
|
212
|
+
inputs: import('@soonflow/plugin-soonmanager2-sync/dist/interface').Handle[];
|
|
213
|
+
outputs: import('@soonflow/plugin-soonmanager2-sync/dist/interface').Handle[];
|
|
215
214
|
isStartNode: boolean;
|
|
216
215
|
id: string;
|
|
217
216
|
name: string;
|
|
218
217
|
flowId: string;
|
|
219
|
-
type: import(
|
|
218
|
+
type: import('@soonflow/plugin-soonmanager2-sync/dist/interface').FlowNodeTypesEnum;
|
|
220
219
|
config: string;
|
|
221
220
|
posX: number;
|
|
222
221
|
posY: number;
|
|
223
222
|
sortNum: number;
|
|
224
223
|
enable: boolean;
|
|
225
|
-
handlerList: import(
|
|
224
|
+
handlerList: import('@soonflow/plugin-soonmanager2-sync/dist/interface').Handle[];
|
|
226
225
|
}[];
|
|
227
226
|
edges: {
|
|
228
227
|
sourceNodeHandleId: string;
|
|
@@ -241,10 +240,10 @@ declare class CpsSoonmanagerPlugin extends EventDispatcher<IProgressEventMap> {
|
|
|
241
240
|
applyType: "AUTO" | "MANUAL";
|
|
242
241
|
pid: string | null;
|
|
243
242
|
nodeData: {
|
|
244
|
-
nodeList: import(
|
|
245
|
-
lineList: import(
|
|
243
|
+
nodeList: import('@soonflow/plugin-soonmanager2-sync/dist/interface').Node[];
|
|
244
|
+
lineList: import('@soonflow/plugin-soonmanager2-sync/dist/interface').Edge[];
|
|
246
245
|
};
|
|
247
|
-
subFlows: import(
|
|
246
|
+
subFlows: import('@soonflow/plugin-soonmanager2-sync/dist/interface').FlowSyncData[];
|
|
248
247
|
}[]>;
|
|
249
248
|
/**
|
|
250
249
|
* 执行流程
|