@glowjs/core 2023.6.8 → 2023.6.19
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.
|
@@ -5,6 +5,7 @@ import { Component } from '../Component';
|
|
|
5
5
|
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
6
6
|
import { ArchiveCabinetGroupCount } from './ArchiveCabinetGroupCount';
|
|
7
7
|
import { ArchiveCabinetGroupState } from './ArchiveCabinetGroupState';
|
|
8
|
+
import { ArchiveGrid } from './ArchiveGrid';
|
|
8
9
|
/**
|
|
9
10
|
* 密集架组(库区)
|
|
10
11
|
*/
|
|
@@ -63,6 +64,10 @@ export declare class ArchiveCabinetGroup extends Component {
|
|
|
63
64
|
* 组告警变化事件
|
|
64
65
|
*/
|
|
65
66
|
onAlarmChanged: (group: ArchiveCabinetGroup) => void;
|
|
67
|
+
/**
|
|
68
|
+
* 层位右键菜单事件
|
|
69
|
+
*/
|
|
70
|
+
onGridRightMenu: (grid: ArchiveGrid, left: number, top: number) => void;
|
|
66
71
|
/**
|
|
67
72
|
* 实例化一个密集架组对象
|
|
68
73
|
* @param entity 实体(组)
|
|
@@ -33,7 +33,7 @@ export declare class ResPool extends Base {
|
|
|
33
33
|
* @param id 编号
|
|
34
34
|
* @param optimized 是否优化网格
|
|
35
35
|
*/
|
|
36
|
-
getRes(id: string, optimized?: boolean): Promise<Texture | InstantiatedEntries | NodeMaterial | undefined>;
|
|
36
|
+
getRes(id: string, optimized?: boolean, archiveGrid?: boolean): Promise<Texture | InstantiatedEntries | NodeMaterial | undefined>;
|
|
37
37
|
/**
|
|
38
38
|
* 判断指定编号的的资源是否已缓存
|
|
39
39
|
* @param id 编号
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glowjs/core",
|
|
3
|
-
"version": "2023.06.
|
|
3
|
+
"version": "2023.06.19",
|
|
4
4
|
"description": "GlowJS数字孪生引擎核心库。",
|
|
5
5
|
"main": "./dist/glow.core.js",
|
|
6
6
|
"types": "./dist/typings/index.d.ts",
|
|
@@ -45,11 +45,11 @@
|
|
|
45
45
|
"license": "ISC",
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@babel/plugin-transform-runtime": "^7.18.10",
|
|
48
|
-
"@babylonjs/core": "^
|
|
49
|
-
"@babylonjs/gui": "^
|
|
50
|
-
"@babylonjs/inspector": "^
|
|
51
|
-
"@babylonjs/loaders": "^
|
|
52
|
-
"@babylonjs/materials": "^
|
|
48
|
+
"@babylonjs/core": "^6.7.0",
|
|
49
|
+
"@babylonjs/gui": "^6.7.0",
|
|
50
|
+
"@babylonjs/inspector": "^6.7.0",
|
|
51
|
+
"@babylonjs/loaders": "^6.7.0",
|
|
52
|
+
"@babylonjs/materials": "^6.7.0",
|
|
53
53
|
"@tweenjs/tween.js": "^18.6.4",
|
|
54
54
|
"earcut": "^2.2.2",
|
|
55
55
|
"heatmap.js": "^2.0.5",
|