@soonspacejs/plugin-cps-soonmanager 2.13.9 → 2.13.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/License/decrypt-v1.d.ts +2 -2
- package/dist/License/decrypt-v2.d.ts +3 -3
- package/dist/License/encryptInfo.d.ts +16 -16
- package/dist/License/types.d.ts +8 -8
- package/dist/WaterMark/index.d.ts +31 -31
- package/dist/batch-update-poi/index.d.ts +15 -15
- package/dist/batch-update-poi/types.d.ts +15 -16
- package/dist/batch-update-poi/utils.d.ts +18 -18
- package/dist/constants.d.ts +48 -48
- package/dist/data-source/index.d.ts +15 -15
- package/dist/data-source/request-types.d.ts +193 -193
- package/dist/data-source/types.d.ts +37 -37
- package/dist/data-source/utils/http-request.d.ts +72 -72
- package/dist/data-source/utils/http.d.ts +4 -4
- package/dist/data-source/utils/index.d.ts +4 -4
- package/dist/data-source/utils/mqtt.d.ts +4 -4
- package/dist/data-source/utils/socket.d.ts +4 -4
- package/dist/data-source/utils/utils.d.ts +18 -18
- package/dist/index.d.ts +255 -255
- package/dist/index.esm.js +4 -4
- package/dist/types.d.ts +338 -338
- package/dist/update-poi/index.d.ts +11 -11
- package/dist/update-poi/type.d.ts +7 -7
- package/dist/utils.d.ts +23 -23
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IProperties } from '@soonspacejs/plugin-cps-soonmanager';
|
|
2
|
-
export type IUpdatePoi = {
|
|
3
|
-
target: IProperties;
|
|
4
|
-
property: string;
|
|
5
|
-
value: string;
|
|
6
|
-
source: 'unknow' | 'code';
|
|
7
|
-
};
|
|
1
|
+
import { IProperties } from '@soonspacejs/plugin-cps-soonmanager';
|
|
2
|
+
export type IUpdatePoi = {
|
|
3
|
+
target: IProperties;
|
|
4
|
+
property: string;
|
|
5
|
+
value: string;
|
|
6
|
+
source: 'unknow' | 'code';
|
|
7
|
+
};
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import SoonSpace, { BaseObject3D } from 'soonspacejs';
|
|
2
|
-
import { TAnimationFrame } from 'umanager-animation-parser';
|
|
3
|
-
import { BaseTreeNode, IKeyframe, ITreeData } from './types';
|
|
4
|
-
import CpsSoonmanagerPlugin from '.';
|
|
5
|
-
/**
|
|
6
|
-
* 解码
|
|
7
|
-
* @param encodedStr
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
export declare function decodeString(encodedStr: string): string;
|
|
11
|
-
export declare const mapTreeNodeByKey: <T, K extends keyof T
|
|
12
|
-
export declare function isSpace(renderType: ITreeData['renderType']):
|
|
13
|
-
/**
|
|
14
|
-
* 创建空间
|
|
15
|
-
* @param ssp
|
|
16
|
-
* @param node
|
|
17
|
-
* @returns
|
|
18
|
-
*/
|
|
19
|
-
export declare function createSpace(ssp: SoonSpace, node: ITreeData, objectId: string): import("
|
|
20
|
-
export declare function createWaterSurface(cpsPlugin: CpsSoonmanagerPlugin, node: ITreeData, objectId: string): import("
|
|
21
|
-
export declare function createDecal(ssp: SoonSpace, node: ITreeData, objectId: string, path: string | null): Promise<import("
|
|
22
|
-
export declare function createGs3d(ssp: SoonSpace, node: ITreeData, path: string | null): Promise<BaseObject3D>;
|
|
23
|
-
export declare function transformKeyframes(keyframes: IKeyframe[]): TAnimationFrame[];
|
|
1
|
+
import SoonSpace, { BaseObject3D } from 'soonspacejs';
|
|
2
|
+
import { TAnimationFrame } from 'umanager-animation-parser';
|
|
3
|
+
import { BaseTreeNode, IKeyframe, ITreeData } from './types';
|
|
4
|
+
import CpsSoonmanagerPlugin from '.';
|
|
5
|
+
/**
|
|
6
|
+
* 解码
|
|
7
|
+
* @param encodedStr
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
export declare function decodeString(encodedStr: string): string;
|
|
11
|
+
export declare const mapTreeNodeByKey: <T, K extends keyof BaseTreeNode<T>, V>(tree: BaseTreeNode<T>[], key: K, map?: Map<V, BaseTreeNode<T>>) => Map<V, BaseTreeNode<T>>;
|
|
12
|
+
export declare function isSpace(renderType: ITreeData['renderType']): renderType is "AREA" | "FLOOR" | "ROOM";
|
|
13
|
+
/**
|
|
14
|
+
* 创建空间
|
|
15
|
+
* @param ssp
|
|
16
|
+
* @param node
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
export declare function createSpace(ssp: SoonSpace, node: ITreeData, objectId: string): import("soonspacejs").Canvas3D;
|
|
20
|
+
export declare function createWaterSurface(cpsPlugin: CpsSoonmanagerPlugin, node: ITreeData, objectId: string): import("soonspacejs").PluginObject | null;
|
|
21
|
+
export declare function createDecal(ssp: SoonSpace, node: ITreeData, objectId: string, path: string | null): Promise<import("soonspacejs").Decal | null>;
|
|
22
|
+
export declare function createGs3d(ssp: SoonSpace, node: ITreeData, path: string | null): Promise<BaseObject3D>;
|
|
23
|
+
export declare function transformKeyframes(keyframes: IKeyframe[]): TAnimationFrame[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soonspacejs/plugin-cps-soonmanager",
|
|
3
3
|
"pluginName": "CpsSoonmanagerPlugin",
|
|
4
|
-
"version": "2.13.
|
|
4
|
+
"version": "2.13.11",
|
|
5
5
|
"description": "Sync cps soonmanager data plugin for SoonSpace.js",
|
|
6
6
|
"main": "dist/index.esm.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
],
|
|
14
14
|
"author": "xunwei",
|
|
15
15
|
"license": "UNLICENSED",
|
|
16
|
-
"gitHead": "
|
|
16
|
+
"gitHead": "08bf9efb38c291f22ca044b936fd49269c716bbb",
|
|
17
17
|
"dependencyPlugins": [
|
|
18
18
|
"plugin-poi-renderer",
|
|
19
19
|
"plugin-effect",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"socket.io-client": "^4.7.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@soonspacejs/plugin-atmosphere": "2.13.
|
|
37
|
-
"@soonspacejs/plugin-effect": "2.13.
|
|
38
|
-
"@soonspacejs/plugin-gs3d-loader": "2.13.
|
|
39
|
-
"@soonspacejs/plugin-poi-renderer": "2.13.
|
|
40
|
-
"soonspacejs": "2.13.
|
|
36
|
+
"@soonspacejs/plugin-atmosphere": "2.13.11",
|
|
37
|
+
"@soonspacejs/plugin-effect": "2.13.11",
|
|
38
|
+
"@soonspacejs/plugin-gs3d-loader": "2.13.11",
|
|
39
|
+
"@soonspacejs/plugin-poi-renderer": "2.13.11",
|
|
40
|
+
"soonspacejs": "2.13.11",
|
|
41
41
|
"umanager-animation-parser": "^0.0.6"
|
|
42
42
|
}
|
|
43
43
|
}
|