@soonspacejs/plugin-cps-soonmanager 2.13.0 → 2.13.2
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 +2 -2
- package/dist/constants.d.ts +0 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +4 -4
- package/dist/types.d.ts +4 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +9 -6
package/dist/types.d.ts
CHANGED
|
@@ -33,7 +33,6 @@ export interface ITreeData {
|
|
|
33
33
|
renderType: 'GROUP' | '3D' | 'STUB' | 'POLYGON' | 'CIRCLE' | 'WATER_SURFACE' | 'DECAL' | 'AREA' | 'FLOOR' | 'ROOM';
|
|
34
34
|
deviceCode: string | null;
|
|
35
35
|
matrix: number[];
|
|
36
|
-
path: string | null;
|
|
37
36
|
familyId: string | null;
|
|
38
37
|
children: ITreeData[];
|
|
39
38
|
visible: boolean;
|
|
@@ -48,6 +47,10 @@ export interface ITreeData {
|
|
|
48
47
|
[key: string]: any;
|
|
49
48
|
};
|
|
50
49
|
}
|
|
50
|
+
export interface IInnerTreeData extends ITreeData {
|
|
51
|
+
path: string | null;
|
|
52
|
+
children: IInnerTreeData[];
|
|
53
|
+
}
|
|
51
54
|
export type IFlatData = Pick<ITreeData, 'id' | 'pid' | 'sid' | 'name' | 'renderType' | 'deviceCode' | 'familyId'>;
|
|
52
55
|
export declare enum PoiContentTypeEnum {
|
|
53
56
|
PANEL = "PANEL",
|
package/dist/utils.d.ts
CHANGED
|
@@ -18,5 +18,5 @@ export declare function isSpace(renderType: ITreeData['renderType']): boolean;
|
|
|
18
18
|
*/
|
|
19
19
|
export declare function createSpace(ssp: SoonSpace, node: ITreeData, objectId: string): import("../../../soonspacejs/src/Library/Canvas3D").Canvas3D;
|
|
20
20
|
export declare function createWaterSurface(cpsPlugin: CpsSoonmanagerPlugin, node: ITreeData, objectId: string): import("../../../soonspacejs/src/Library/PluginObject").PluginObject | null;
|
|
21
|
-
export declare function createDecal(ssp: SoonSpace, node: ITreeData, objectId: string): Promise<import("../../../soonspacejs/src/Library/Decal").Decal | null>;
|
|
21
|
+
export declare function createDecal(ssp: SoonSpace, node: ITreeData, objectId: string, path: string | null): Promise<import("../../../soonspacejs/src/Library/Decal").Decal | null>;
|
|
22
22
|
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.2",
|
|
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": "31d61cfb34a7879b1cff3a955663415672ef2ef7",
|
|
17
17
|
"dependencyPlugins": [
|
|
18
18
|
"plugin-poi-renderer",
|
|
19
19
|
"plugin-effect",
|
|
@@ -23,16 +23,19 @@
|
|
|
23
23
|
"@soonflow/core": "0.2.13",
|
|
24
24
|
"@soonflow/plugin-soonmanager2-node": "0.2.13",
|
|
25
25
|
"@soonflow/plugin-soonmanager2-sync": "0.2.13",
|
|
26
|
+
"@types/lodash-es": "^4.17.9",
|
|
27
|
+
"@types/node-rsa": "^1.1.1",
|
|
28
|
+
"crypto-browserify": "^3.12.0",
|
|
26
29
|
"lodash-es": "^4.17.21",
|
|
27
30
|
"mqtt": "^4.3.7",
|
|
28
31
|
"node-rsa": "^1.1.1",
|
|
29
32
|
"socket.io-client": "^4.7.2"
|
|
30
33
|
},
|
|
31
34
|
"peerDependencies": {
|
|
32
|
-
"@soonspacejs/plugin-atmosphere": "2.13.
|
|
33
|
-
"@soonspacejs/plugin-effect": "2.13.
|
|
34
|
-
"@soonspacejs/plugin-poi-renderer": "2.13.
|
|
35
|
-
"soonspacejs": "2.13.
|
|
35
|
+
"@soonspacejs/plugin-atmosphere": "2.13.2",
|
|
36
|
+
"@soonspacejs/plugin-effect": "2.13.2",
|
|
37
|
+
"@soonspacejs/plugin-poi-renderer": "2.13.2",
|
|
38
|
+
"soonspacejs": "2.13.2",
|
|
36
39
|
"umanager-animation-parser": "^0.0.6"
|
|
37
40
|
}
|
|
38
41
|
}
|