@glowjs/core 2022.7.24 → 2023.4.4
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/glow.core.js +1 -1
- package/dist/typings/camera/AutoRotate.d.ts +36 -0
- package/dist/typings/camera/CameraMgr.d.ts +14 -4
- package/dist/typings/core/App.d.ts +10 -0
- package/dist/typings/core/AppOptions.d.ts +8 -2
- package/dist/typings/effect/EffectMgr.d.ts +1 -2
- package/dist/typings/effect/HighLight.d.ts +2 -1
- package/dist/typings/effect/SkyBox.d.ts +5 -0
- package/dist/typings/effect/SkyBoxSource.d.ts +4 -0
- package/dist/typings/entity/Entity.d.ts +18 -5
- package/dist/typings/entity/Floor.d.ts +1 -1
- package/dist/typings/entity/LeakLine.d.ts +3 -4
- package/dist/typings/entity/Path.d.ts +1 -45
- package/dist/typings/entity/Room.d.ts +5 -0
- package/dist/typings/entity/Thing.d.ts +2 -2
- package/dist/typings/entity/Tracker.d.ts +34 -0
- package/dist/typings/entity/component/Animator.d.ts +1 -1
- package/dist/typings/entity/component/Style.d.ts +1 -24
- package/dist/typings/entity/component/archive/ArchiveBox.d.ts +5 -2
- package/dist/typings/entity/component/archive/ArchiveCabinet.d.ts +82 -0
- package/dist/typings/entity/component/archive/ArchiveCabinetGroup.d.ts +118 -0
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupCount.d.ts +16 -0
- package/dist/typings/entity/component/archive/ArchiveCabinetGroupState.d.ts +21 -0
- package/dist/typings/entity/component/archive/ArchiveGrid.d.ts +27 -4
- package/dist/typings/entity/component/archive/ArchiveMgr.d.ts +19 -0
- package/dist/typings/entity/component/archive/createArchiveGrid.d.ts +6 -0
- package/dist/typings/entity/component/archive/createColumnTag.d.ts +6 -0
- package/dist/typings/entity/component/archive/events/onAppMove.d.ts +6 -0
- package/dist/typings/entity/component/archive/events/onAppRightDoubleClick.d.ts +6 -0
- package/dist/typings/entity/component/archive/events/onGroupLeftDoubleClick.d.ts +8 -0
- package/dist/typings/entity/component/archive/events/onGroupPointerLeave.d.ts +6 -0
- package/dist/typings/entity/component/archive/events/onGroupRightClick.d.ts +8 -0
- package/dist/typings/entity/component/archive/events/onLevelChanged.d.ts +8 -0
- package/dist/typings/entity/component/archive/getCapacityOriginBox.d.ts +6 -0
- package/dist/typings/entity/component/cabinet/Cabinet.d.ts +106 -5
- package/dist/typings/entity/component/cabinet/CabinetCapacityData.d.ts +17 -0
- package/dist/typings/entity/component/cabinet/CabinetMgr.d.ts +47 -0
- package/dist/typings/entity/component/cabinet/RackMounted.d.ts +14 -0
- package/dist/typings/entity/component/cabinet/events/onAppMove.d.ts +6 -0
- package/dist/typings/entity/component/cabinet/events/onAppRightDoubleClick.d.ts +6 -0
- package/dist/typings/entity/component/cabinet/events/onCabinetLeftDoubleClick.d.ts +7 -0
- package/dist/typings/entity/component/cabinet/events/onCabinetPointerLeave.d.ts +2 -0
- package/dist/typings/entity/component/cabinet/events/onCabinetRightClick.d.ts +3 -0
- package/dist/typings/entity/component/cabinet/events/onLevelChanged.d.ts +8 -0
- package/dist/typings/entity/component/roaming/Roaming.d.ts +6 -2
- package/dist/typings/entity/path/Path.d.ts +48 -0
- package/dist/typings/entity/path/attachDrag.d.ts +2 -0
- package/dist/typings/entity/path/createLineMeshData.d.ts +3 -0
- package/dist/typings/entity/path/createPointInstance.d.ts +5 -0
- package/dist/typings/entity/path/detachDrag.d.ts +2 -0
- package/dist/typings/entity/path/dragData.d.ts +9 -0
- package/dist/typings/entity/path/getLineMaterial.d.ts +2 -0
- package/dist/typings/entity/util/box.d.ts +9 -0
- package/dist/typings/entity/util/getPathIconMesh.d.ts +7 -0
- package/dist/typings/entity/util/getPathLineMesh.d.ts +2 -0
- package/dist/typings/entity/util/hideAllBoundingBox.d.ts +6 -0
- package/dist/typings/entity/util/smoothTube.d.ts +7 -0
- package/dist/typings/event/EventMgr.d.ts +1 -1
- package/dist/typings/event/KeyCode.d.ts +2 -1
- package/dist/typings/gui/Billboard.d.ts +9 -1
- package/dist/typings/gui/GradientRectangle.d.ts +1 -1
- package/dist/typings/gui/LinkTip.d.ts +30 -0
- package/dist/typings/gui/getTextWidth.d.ts +6 -0
- package/dist/typings/index.d.ts +9 -4
- package/dist/typings/misc/SystemResId.d.ts +11 -3
- package/dist/typings/misc/math/vec/isClockwise.d.ts +6 -0
- package/dist/typings/res/ResOptions.d.ts +5 -0
- package/dist/typings/res/ResPool.d.ts +2 -2
- package/dist/typings/res/registerBuffer.d.ts +6 -0
- package/dist/typings/runtime/RunTime.d.ts +45 -0
- package/dist/typings/runtime/index.d.ts +1 -0
- package/package.json +8 -7
- package/dist/typings/entity/component/archive/Archive.d.ts +0 -6
- package/dist/typings/entity/component/archive/IndependentArchive.d.ts +0 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Mesh } from '../../../runtime';
|
|
1
2
|
import { ArchiveBox } from './ArchiveBox';
|
|
2
|
-
import {
|
|
3
|
+
import { ArchiveCabinet } from './ArchiveCabinet';
|
|
3
4
|
/**
|
|
4
5
|
* 档案格(层位)
|
|
5
6
|
*/
|
|
@@ -9,8 +10,30 @@ export declare class ArchiveGrid {
|
|
|
9
10
|
*/
|
|
10
11
|
readonly boxes: ArchiveBox[];
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* 所属列
|
|
13
14
|
*/
|
|
14
|
-
readonly
|
|
15
|
-
|
|
15
|
+
readonly cabinet: ArchiveCabinet;
|
|
16
|
+
/**
|
|
17
|
+
* 节号
|
|
18
|
+
*/
|
|
19
|
+
readonly sectionId: string;
|
|
20
|
+
/**
|
|
21
|
+
* 层号
|
|
22
|
+
*/
|
|
23
|
+
readonly layerId: string;
|
|
24
|
+
/**
|
|
25
|
+
* 实例化档案格对象
|
|
26
|
+
* @param cabinet 所属列
|
|
27
|
+
* @param sectionId 节号
|
|
28
|
+
* @param layerId 层号
|
|
29
|
+
*/
|
|
30
|
+
constructor(cabinet: ArchiveCabinet, sectionId: string, layerId: string);
|
|
31
|
+
/**
|
|
32
|
+
* 获取网格
|
|
33
|
+
*/
|
|
34
|
+
get mesh(): Mesh;
|
|
35
|
+
/**
|
|
36
|
+
* 获取层位在列的哪面,false=左,true=右
|
|
37
|
+
*/
|
|
38
|
+
get side(): boolean;
|
|
16
39
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { ArchiveGrid } from '../../..';
|
|
1
2
|
import { Entity } from '../../Entity';
|
|
2
3
|
import { Component } from '../Component';
|
|
3
4
|
import { ArchiveCabinetGroup } from './ArchiveCabinetGroup';
|
|
5
|
+
import { ArchiveCabinetGroupCount } from './ArchiveCabinetGroupCount';
|
|
4
6
|
/**
|
|
5
7
|
* 档案管理
|
|
6
8
|
*/
|
|
@@ -9,9 +11,26 @@ export declare class ArchiveMgr extends Component {
|
|
|
9
11
|
* 密集架组(库区)列表
|
|
10
12
|
*/
|
|
11
13
|
readonly groups: ArchiveCabinetGroup[];
|
|
14
|
+
/**
|
|
15
|
+
* 当前选中的密集架
|
|
16
|
+
*/
|
|
17
|
+
_selected: ArchiveCabinetGroup;
|
|
18
|
+
/**
|
|
19
|
+
* 定位的层位
|
|
20
|
+
*/
|
|
21
|
+
_tracked: ArchiveGrid;
|
|
12
22
|
/**
|
|
13
23
|
* 实例化一个档案管理对象
|
|
14
24
|
* @param entity 实体(楼层或园区)
|
|
15
25
|
*/
|
|
16
26
|
constructor(entity: Entity);
|
|
27
|
+
/**
|
|
28
|
+
* 显示容量
|
|
29
|
+
* @param countList 统计数据
|
|
30
|
+
*/
|
|
31
|
+
showCapcity(countList: ArchiveCabinetGroupCount[]): void;
|
|
32
|
+
/**
|
|
33
|
+
* 重置
|
|
34
|
+
*/
|
|
35
|
+
hideCapacity(): void;
|
|
17
36
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
import { ArchiveCabinetGroup } from '../ArchiveCabinetGroup';
|
|
3
|
+
/**
|
|
4
|
+
* 密集架左键双击事件
|
|
5
|
+
* @param this 密集架
|
|
6
|
+
* @param ev 事件参数
|
|
7
|
+
*/
|
|
8
|
+
export declare function onGroupLeftDoubleClick(this: ArchiveCabinetGroup, ev: EventArg): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventArg } from '../../../../event/EventArg';
|
|
2
|
+
import { ArchiveCabinetGroup } from '../ArchiveCabinetGroup';
|
|
3
|
+
/**
|
|
4
|
+
* 密集架右键点击事件
|
|
5
|
+
* @param this 密集架对象
|
|
6
|
+
* @param ev 事件参数
|
|
7
|
+
*/
|
|
8
|
+
export declare function onGroupRightClick(this: ArchiveCabinetGroup, ev: EventArg): void;
|
|
@@ -1,22 +1,123 @@
|
|
|
1
1
|
import { TransformNode } from '../../../runtime';
|
|
2
2
|
import { Entity } from '../../Entity';
|
|
3
|
-
import { Thing } from '../../Thing';
|
|
4
3
|
import { Component } from '../Component';
|
|
4
|
+
import { CabinetCapacityData } from './CabinetCapacityData';
|
|
5
|
+
import { RackMounted } from './RackMounted';
|
|
5
6
|
/**
|
|
6
7
|
* 机柜
|
|
7
8
|
*/
|
|
8
9
|
export declare class Cabinet extends Component {
|
|
9
10
|
/**
|
|
10
|
-
*
|
|
11
|
+
* 机柜标签样式配置
|
|
11
12
|
*/
|
|
12
|
-
static
|
|
13
|
+
static tagStyleConfig: {
|
|
14
|
+
show: boolean;
|
|
15
|
+
hasBackground: boolean;
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
fontSize: number;
|
|
18
|
+
fontColor: string;
|
|
19
|
+
};
|
|
20
|
+
private _eventIds;
|
|
21
|
+
private _tagMesh;
|
|
22
|
+
_showAssetId: string;
|
|
23
|
+
/**
|
|
24
|
+
* 数据
|
|
25
|
+
*/
|
|
26
|
+
data: {
|
|
27
|
+
cabinet_id: string;
|
|
28
|
+
cabinet_name: string;
|
|
29
|
+
area_id: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* 资产设备列表
|
|
33
|
+
*/
|
|
34
|
+
readonly assets: RackMounted[];
|
|
35
|
+
/**
|
|
36
|
+
* 进入机柜事件
|
|
37
|
+
*/
|
|
38
|
+
onEnterCabinet: (cabinet: Cabinet) => void;
|
|
39
|
+
/**
|
|
40
|
+
* 退出机柜事件
|
|
41
|
+
*/
|
|
42
|
+
onExistCabinet: (cabinet: Cabinet) => void;
|
|
43
|
+
/**
|
|
44
|
+
* 机柜右键菜单事件
|
|
45
|
+
*/
|
|
46
|
+
onCabinetRightMenu: (cabinet: Cabinet, left: number, top: number) => void;
|
|
13
47
|
/**
|
|
14
48
|
* 实例化一个机柜对象
|
|
15
49
|
* @param entity 实体
|
|
16
50
|
*/
|
|
17
51
|
constructor(entity: Entity);
|
|
18
52
|
/**
|
|
19
|
-
*
|
|
53
|
+
* 获取实体ID
|
|
54
|
+
*/
|
|
55
|
+
get entityId(): string;
|
|
56
|
+
/**
|
|
57
|
+
* 获取机柜ID
|
|
58
|
+
*/
|
|
59
|
+
get cabinetId(): string;
|
|
60
|
+
/**
|
|
61
|
+
* 获取机柜名称
|
|
62
|
+
*/
|
|
63
|
+
get cabinetName(): string;
|
|
64
|
+
/**
|
|
65
|
+
* 显示容量
|
|
66
|
+
* @param data 容量数据
|
|
67
|
+
*/
|
|
68
|
+
showCapacity(data: CabinetCapacityData): void;
|
|
69
|
+
/**
|
|
70
|
+
* 隐藏容量
|
|
71
|
+
*/
|
|
72
|
+
hideCapacity(): void;
|
|
73
|
+
/**
|
|
74
|
+
* 隐藏
|
|
75
|
+
*/
|
|
76
|
+
hide(): void;
|
|
77
|
+
/**
|
|
78
|
+
* 显示
|
|
79
|
+
*/
|
|
80
|
+
show(): void;
|
|
81
|
+
/**
|
|
82
|
+
* 前面居中显示
|
|
83
|
+
* @param callback 回调函数
|
|
84
|
+
*/
|
|
85
|
+
frontOn(callback?: () => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* 后面居中显示
|
|
88
|
+
* @param callback 回调函数
|
|
89
|
+
*/
|
|
90
|
+
backOn(callback?: () => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* 获取挂接点
|
|
93
|
+
* @param flag 标记,true=前面,false=后面
|
|
94
|
+
*/
|
|
95
|
+
getPoint(flag?: boolean): TransformNode;
|
|
96
|
+
/**
|
|
97
|
+
* 手动触发退出机柜事件
|
|
98
|
+
*/
|
|
99
|
+
triggerExist(): void;
|
|
100
|
+
/**
|
|
101
|
+
* 添加编号
|
|
102
|
+
*/
|
|
103
|
+
private _afterBuild;
|
|
104
|
+
/**
|
|
105
|
+
* 更新顶部编号标签
|
|
106
|
+
*/
|
|
107
|
+
updateTag(): void;
|
|
108
|
+
/**
|
|
109
|
+
* 添加资产
|
|
110
|
+
* @param item 机架设备
|
|
111
|
+
* @param flag 挂接点标记,true=前面,false=后面
|
|
112
|
+
*/
|
|
113
|
+
add(item: RackMounted, flag?: boolean): void;
|
|
114
|
+
/**
|
|
115
|
+
* 加载资产
|
|
116
|
+
* @param list 资产配置列表
|
|
117
|
+
*/
|
|
118
|
+
loadAssets(list: any[]): Promise<void>;
|
|
119
|
+
/***
|
|
120
|
+
* 清理资产
|
|
20
121
|
*/
|
|
21
|
-
|
|
122
|
+
clear(): void;
|
|
22
123
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Entity } from '../../Entity';
|
|
2
|
+
import { Component } from '../Component';
|
|
3
|
+
import { Cabinet } from './Cabinet';
|
|
4
|
+
import { CabinetCapacityData } from './CabinetCapacityData';
|
|
5
|
+
import { RackMounted } from './RackMounted';
|
|
6
|
+
/**
|
|
7
|
+
* 机柜管理器
|
|
8
|
+
*/
|
|
9
|
+
export declare class CabinetMgr extends Component {
|
|
10
|
+
/**
|
|
11
|
+
* 资产模型配置字典
|
|
12
|
+
*/
|
|
13
|
+
static readonly assetModelConfigDic: Map<string, any>;
|
|
14
|
+
/**
|
|
15
|
+
* 获取资产模型配置
|
|
16
|
+
* @param model_id 模型ID
|
|
17
|
+
* @param uheight U高
|
|
18
|
+
*/
|
|
19
|
+
static getAssetModelConfig(model_id: string, uheight: number): any;
|
|
20
|
+
/**
|
|
21
|
+
* 当前场景机柜列表
|
|
22
|
+
*/
|
|
23
|
+
readonly cabinets: Cabinet[];
|
|
24
|
+
_capacity: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* 当前选中的机柜
|
|
27
|
+
*/
|
|
28
|
+
_selected: Cabinet;
|
|
29
|
+
/**
|
|
30
|
+
* 定位的资产设备
|
|
31
|
+
*/
|
|
32
|
+
_tracked: RackMounted;
|
|
33
|
+
/**
|
|
34
|
+
* 实例化一个机柜管理器对象
|
|
35
|
+
* @param entity 实体(楼层或园区)
|
|
36
|
+
*/
|
|
37
|
+
constructor(entity: Entity);
|
|
38
|
+
/**
|
|
39
|
+
* 显示容量
|
|
40
|
+
* @param data 容量数据
|
|
41
|
+
*/
|
|
42
|
+
showCapacity(data: CabinetCapacityData[]): void;
|
|
43
|
+
/**
|
|
44
|
+
* 隐藏容量
|
|
45
|
+
*/
|
|
46
|
+
hideCapacity(): void;
|
|
47
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { App } from '../../../core/App';
|
|
2
2
|
import { Entity } from '../../Entity';
|
|
3
3
|
import { ResImageSource } from './ResImageSource';
|
|
4
|
+
import { Cabinet } from '../../..';
|
|
4
5
|
/**
|
|
5
6
|
* 机架设备
|
|
6
7
|
*/
|
|
@@ -26,6 +27,11 @@ export declare class RackMounted extends Entity {
|
|
|
26
27
|
private _frontImg;
|
|
27
28
|
private _backImg;
|
|
28
29
|
private _backgroundColor;
|
|
30
|
+
data: any;
|
|
31
|
+
/**
|
|
32
|
+
* 机柜
|
|
33
|
+
*/
|
|
34
|
+
cabinet: Cabinet;
|
|
29
35
|
/**
|
|
30
36
|
* 实例化一个机架设备
|
|
31
37
|
* @param app 应用
|
|
@@ -71,6 +77,10 @@ export declare class RackMounted extends Entity {
|
|
|
71
77
|
*/
|
|
72
78
|
get backgroundColor(): string;
|
|
73
79
|
set backgroundColor(value: string);
|
|
80
|
+
/**
|
|
81
|
+
* 居中显示
|
|
82
|
+
*/
|
|
83
|
+
frontOn(): void;
|
|
74
84
|
/**
|
|
75
85
|
* 序列化成JSON对象
|
|
76
86
|
*/
|
|
@@ -89,4 +99,8 @@ export declare class RackMounted extends Entity {
|
|
|
89
99
|
* 拆毁
|
|
90
100
|
*/
|
|
91
101
|
unbuild(): void;
|
|
102
|
+
/**
|
|
103
|
+
* 释放
|
|
104
|
+
*/
|
|
105
|
+
dispose(): void;
|
|
92
106
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { EventArg } from '../../../event/EventArg';
|
|
2
2
|
import { Point3D } from '../../../misc';
|
|
3
3
|
import { Entity } from '../../Entity';
|
|
4
|
+
import { Path } from '../../Path';
|
|
4
5
|
import { Component } from '../Component';
|
|
5
6
|
/**
|
|
6
7
|
* 漫游
|
|
@@ -11,7 +12,7 @@ export declare class Roaming extends Component {
|
|
|
11
12
|
/**
|
|
12
13
|
* 路径
|
|
13
14
|
*/
|
|
14
|
-
|
|
15
|
+
_path: Path;
|
|
15
16
|
/**
|
|
16
17
|
* 角色
|
|
17
18
|
*/
|
|
@@ -79,5 +80,8 @@ export declare class Roaming extends Component {
|
|
|
79
80
|
private _setAppEvents;
|
|
80
81
|
private _onLeftClick;
|
|
81
82
|
private _onAfterFrame;
|
|
82
|
-
|
|
83
|
+
/**
|
|
84
|
+
* 结束路径编辑
|
|
85
|
+
*/
|
|
86
|
+
endPathEdit(): Promise<void>;
|
|
83
87
|
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { App } from '../../core/App';
|
|
2
|
+
import { Point3D } from '../../misc/Point3D';
|
|
3
|
+
import { Entity } from '../Entity';
|
|
4
|
+
/**
|
|
5
|
+
* 路径
|
|
6
|
+
*/
|
|
7
|
+
export declare class Path extends Entity {
|
|
8
|
+
private static _index;
|
|
9
|
+
/**
|
|
10
|
+
* 路径点集合
|
|
11
|
+
*/
|
|
12
|
+
readonly points: Point3D[];
|
|
13
|
+
/**
|
|
14
|
+
* 是否需要创建
|
|
15
|
+
*/
|
|
16
|
+
needBuild: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 实例化一个路径对象
|
|
19
|
+
* @param app 应用
|
|
20
|
+
*/
|
|
21
|
+
constructor(app: App);
|
|
22
|
+
/**
|
|
23
|
+
* 序列化成JSON对象
|
|
24
|
+
*/
|
|
25
|
+
toJson(): any;
|
|
26
|
+
/**
|
|
27
|
+
* 从JSON对象反序列化(仅生成层级树)
|
|
28
|
+
* @param json JSON对象
|
|
29
|
+
*/
|
|
30
|
+
fromJson(json: any): void;
|
|
31
|
+
/**
|
|
32
|
+
* 创建(仅当前层级可见对象)
|
|
33
|
+
* @param force 是否强制
|
|
34
|
+
*/
|
|
35
|
+
build(force?: boolean): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* 拆毁(删掉网格,仅保留层级树
|
|
38
|
+
*/
|
|
39
|
+
unbuild(): void;
|
|
40
|
+
/**
|
|
41
|
+
* 附加拖动功能
|
|
42
|
+
*/
|
|
43
|
+
attachDrag(): void;
|
|
44
|
+
/**
|
|
45
|
+
* 移除拖动功能
|
|
46
|
+
*/
|
|
47
|
+
detachDrag(): void;
|
|
48
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventDispatcher } from '../event/EventDispatcher';
|
|
2
|
+
import { AdvancedDynamicTexture } from '../runtime';
|
|
2
3
|
import { BillboardOptions } from './BillboardOptions';
|
|
3
4
|
import { Point3D } from '../misc';
|
|
4
5
|
/**
|
|
@@ -8,7 +9,7 @@ export declare class Billboard extends EventDispatcher {
|
|
|
8
9
|
/**
|
|
9
10
|
* 2D广告牌根
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
+
static _root2d: AdvancedDynamicTexture | null;
|
|
12
13
|
private _data;
|
|
13
14
|
/**
|
|
14
15
|
* 锚点
|
|
@@ -79,6 +80,13 @@ export declare class Billboard extends EventDispatcher {
|
|
|
79
80
|
*/
|
|
80
81
|
get data(): any;
|
|
81
82
|
set data(value: any);
|
|
83
|
+
/**
|
|
84
|
+
* 设置颜色
|
|
85
|
+
* @param value 值
|
|
86
|
+
*/
|
|
87
|
+
setColor(value: {
|
|
88
|
+
[key: string]: string;
|
|
89
|
+
}): void;
|
|
82
90
|
private _observer;
|
|
83
91
|
private _scale;
|
|
84
92
|
private _direction;
|