@glowjs/core 2025.2.27 → 2025.3.5

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.
@@ -98,6 +98,11 @@ declare class ArchiveDoor extends Component {
98
98
  * 获取最近的密集架列
99
99
  */
100
100
  get nearest(): ArchiveCabinet;
101
+ /**
102
+ * 获取或设置与前一列的偏移位置(单位:厘米)
103
+ */
104
+ get offsetPos(): number;
105
+ set offsetPos(value: number);
101
106
  }
102
107
  declare class AutoRotate {
103
108
  /**
@@ -576,6 +581,11 @@ declare class ToolTip extends Rectangle {
576
581
  */
577
582
  get text(): string;
578
583
  set text(value: string);
584
+ /**
585
+ * 获取或设置文本颜色
586
+ */
587
+ get textColor(): string;
588
+ set textColor(value: string);
579
589
  private _onFrameUpdate;
580
590
  }
581
591
  declare class Tracker extends Base {
@@ -624,6 +634,20 @@ declare enum ArchiveCabinetGroupState {
624
634
  */
625
635
  Capacity = 8
626
636
  }
637
+ declare enum ColumnPosition {
638
+ /**
639
+ * 固定列左侧
640
+ */
641
+ Left = -1,
642
+ /**
643
+ * 固定列
644
+ */
645
+ Fixed = 0,
646
+ /**
647
+ * 固定列右侧
648
+ */
649
+ Right = 1
650
+ }
627
651
  declare enum LinkObjectType {
628
652
  /**
629
653
  * 实体
@@ -969,6 +993,10 @@ export declare class ArchiveCabinet extends Component {
969
993
  * 获取密集架对象
970
994
  */
971
995
  get group(): ArchiveCabinetGroup;
996
+ /**
997
+ * 获取是否固定列
998
+ */
999
+ get isFixed(): boolean;
972
1000
  /**
973
1001
  * 获取列号
974
1002
  */
@@ -977,6 +1005,23 @@ export declare class ArchiveCabinet extends Component {
977
1005
  * 获取列号(数字类型)
978
1006
  */
979
1007
  get columnIndex(): number;
1008
+ /**
1009
+ * 实际索引号(从0开始)
1010
+ */
1011
+ get realIndex(): number;
1012
+ /**
1013
+ * 获取前一列
1014
+ */
1015
+ get front(): ArchiveCabinet;
1016
+ /**
1017
+ * 列位置
1018
+ */
1019
+ get columnPosition(): ColumnPosition;
1020
+ /**
1021
+ * 获取或设置与前一列的偏移位置(单位:厘米)
1022
+ */
1023
+ get offsetPos(): number;
1024
+ set offsetPos(value: number);
980
1025
  /**
981
1026
  * 获取列类型,1=左活动列,0=固定列,2=右活动列
982
1027
  */
@@ -1096,6 +1141,18 @@ export declare class ArchiveCabinetGroup extends Component {
1096
1141
  * @param entity 实体(组)
1097
1142
  */
1098
1143
  constructor(entity: Entity);
1144
+ /**
1145
+ * 获取起始列号
1146
+ */
1147
+ get startIndex(): number;
1148
+ /**
1149
+ * 获取已排序的密集架列表(列号从小到大排序)
1150
+ */
1151
+ get sortedCabinets(): ArchiveCabinet[];
1152
+ /**
1153
+ * 获取排序标识,true=从左往右,false=从右往左
1154
+ */
1155
+ get sortFlag(): boolean;
1099
1156
  /**
1100
1157
  * 实体ID
1101
1158
  */
@@ -1115,6 +1172,7 @@ export declare class ArchiveCabinetGroup extends Component {
1115
1172
  */
1116
1173
  get columnPosition(): number[];
1117
1174
  set columnPosition(value: number[]);
1175
+ updateJTColumnPosition(value: number[]): void;
1118
1176
  /**
1119
1177
  * 固定列
1120
1178
  */
@@ -1432,13 +1490,13 @@ export declare class BoardCard extends Entity {
1432
1490
  */
1433
1491
  export declare class Building extends Entity {
1434
1492
  /**
1435
- * 楼层轮询停留时间(秒)
1493
+ * 鼠标移入楼层链接的颜色
1436
1494
  */
1437
- static pollingStayTime: number;
1495
+ static floorLinkColor: string;
1438
1496
  /**
1439
- * 楼层轮询展开高度(米)
1497
+ * 鼠标移入楼层链接的透明度
1440
1498
  */
1441
- static pollingExpandHeight: number;
1499
+ static floorLinkAlpha: number;
1442
1500
  /**
1443
1501
  * 是否总是显示建筑结构
1444
1502
  */
@@ -1460,7 +1518,6 @@ export declare class Building extends Entity {
1460
1518
  */
1461
1519
  expandOffset: Point3D;
1462
1520
  private _tweenExpand;
1463
- private _pooling;
1464
1521
  /**
1465
1522
  * 实例化一个建筑对象
1466
1523
  * @param app 应用
@@ -1478,18 +1535,6 @@ export declare class Building extends Entity {
1478
1535
  * 获取楼层链接外立面
1479
1536
  */
1480
1537
  get floorLinks(): Thing[];
1481
- /**
1482
- * 轮询组对象
1483
- */
1484
- get polling(): Group | null;
1485
- /**
1486
- * 获取轮询组对象内的楼层链接外立面
1487
- */
1488
- get pollingFloorLinks(): Thing[];
1489
- /**
1490
- * 显示建筑楼层轮询对象回调函数
1491
- */
1492
- displayPoolingItemCallback: (item: Thing | null) => void;
1493
1538
  /**
1494
1539
  * 获取楼层
1495
1540
  */
@@ -1506,14 +1551,6 @@ export declare class Building extends Entity {
1506
1551
  * 获取实例类型
1507
1552
  */
1508
1553
  get instanceClass(): any;
1509
- /**
1510
- * 是否要在建筑层级显示外立面和楼层链接
1511
- */
1512
- get doShowLinks(): boolean;
1513
- /**
1514
- * 开始轮询
1515
- */
1516
- private _startPolling;
1517
1554
  /**
1518
1555
  * 展开楼层
1519
1556
  * @param time 时间,默认值500,单位毫秒
@@ -1552,7 +1589,7 @@ export declare class Building extends Entity {
1552
1589
  */
1553
1590
  dispose(): void;
1554
1591
  /**
1555
- * 创建合并的网格
1592
+ * 创建合并的网格(在园区层级时调用)
1556
1593
  */
1557
1594
  buildMergedMesh(): Promise<void>;
1558
1595
  }
@@ -3830,6 +3867,10 @@ export declare class POI extends Entity {
3830
3867
  * 是否默认隐藏
3831
3868
  */
3832
3869
  defaultHidden: boolean;
3870
+ /**
3871
+ * 链接ID
3872
+ */
3873
+ linkId: string | null;
3833
3874
  /**
3834
3875
  * 像素高度
3835
3876
  */