@glowjs/core 2025.12.24 → 2026.2.23

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.
@@ -872,7 +872,7 @@ export declare class App extends EventDispatcher {
872
872
  */
873
873
  eventMgr: EventMgr;
874
874
  /**
875
- * 管道管理器
875
+ * 管线管理器
876
876
  */
877
877
  pipelineMgr: PipelineMgr;
878
878
  /**
@@ -1867,6 +1867,8 @@ export declare class CameraMgr extends Base {
1867
1867
  */
1868
1868
  get person(): CameraPerson;
1869
1869
  set person(value: CameraPerson);
1870
+ get roaming(): Roaming;
1871
+ get isRoaming(): boolean;
1870
1872
  _setCameraByRoaming(): Promise<void>;
1871
1873
  /**
1872
1874
  * 获取相机是否在飞行
@@ -1902,7 +1904,7 @@ export declare class CameraMgr extends Base {
1902
1904
  */
1903
1905
  get enablePan(): boolean;
1904
1906
  set enablePan(value: boolean);
1905
- private _setButtonEnable;
1907
+ _setButtonEnable(button: 0 | 1 | 2, enable: boolean): void;
1906
1908
  /**
1907
1909
  * 获取或设置相机沿Y轴的旋转角度(弧度)
1908
1910
  */
@@ -2625,9 +2627,12 @@ export declare class EffectMgr extends Base {
2625
2627
  */
2626
2628
  export declare class Entity extends Base {
2627
2629
  /**
2628
- * 自定义检查函数,用于某些特殊用途
2630
+ * 自定义检查函数,用于管线模块查找端点实体
2629
2631
  */
2630
- static customCheckFun: (data: any) => Entity;
2632
+ static customCheckFun: (data: {
2633
+ type: "\u8BBE\u5907" | "\u7AEF\u53E3";
2634
+ fields: string[];
2635
+ }) => Entity;
2631
2636
  protected _viewInfo: ViewInfo | null;
2632
2637
  protected _cursor: string;
2633
2638
  _boundingInfoNode: TransformNode;
@@ -4359,11 +4364,11 @@ export declare class Pipe extends Entity {
4359
4364
  dispose(): void;
4360
4365
  }
4361
4366
  /**
4362
- * 管路管理器
4367
+ * 管线管理器
4363
4368
  */
4364
4369
  export declare class PipelineMgr extends Base {
4365
4370
  /**
4366
- * 管道样式列表
4371
+ * 管线样式列表
4367
4372
  */
4368
4373
  readonly pipelineStyles: PipelineStyle[];
4369
4374
  /** 连线列表 */
@@ -4373,11 +4378,14 @@ export declare class PipelineMgr extends Base {
4373
4378
  private _boundingInfo;
4374
4379
  constructor(app: App);
4375
4380
  /**
4376
- * 显示管道
4377
- * @param list 管道数据列表
4381
+ * 显示管线
4382
+ * @param list 管线数据列表
4378
4383
  * @param assetDic 资产字典,key为机柜id,value为资产列表
4379
4384
  */
4380
4385
  show(list: PipelineData[], assetDic?: Map<string, AssetData[]>): Promise<void>;
4386
+ /**
4387
+ * 重置
4388
+ */
4381
4389
  reset(): Promise<void>;
4382
4390
  private _showCurrentLevel;
4383
4391
  private _destroyCabinetAsset;
@@ -6268,6 +6276,10 @@ export declare function getJson(url: string, onProgress?: (progress: number) =>
6268
6276
  * @returns 交点
6269
6277
  */
6270
6278
  export declare function getLineIntersection(line1: Line, line2: Line): Point;
6279
+ /**
6280
+ * 获取当前页面的根地址,避免iframe跨域问题
6281
+ */
6282
+ export declare function getOrigin(): string;
6271
6283
  /**
6272
6284
  * 获取URL指定名称的参数值
6273
6285
  * @param name 参数名称
@@ -7128,7 +7140,7 @@ export type ParticleData = {
7128
7140
  maxLifeTime: number;
7129
7141
  };
7130
7142
  /**
7131
- * 管道数据
7143
+ * 管线数据
7132
7144
  */
7133
7145
  export type PipelineData = {
7134
7146
  /** 开始端点类型 */
@@ -7151,13 +7163,13 @@ export type PipelineData = {
7151
7163
  end_field3: string;
7152
7164
  /** 结束端点名称 */
7153
7165
  end_name: string;
7154
- /** 管道样式名称 */
7166
+ /** 管线样式名称 */
7155
7167
  style_name: string;
7156
7168
  /** 扩展,保留字段 */
7157
7169
  extension: string;
7158
7170
  };
7159
7171
  /**
7160
- * 管道样式
7172
+ * 管线样式
7161
7173
  */
7162
7174
  export type PipelineStyle = {
7163
7175
  /** 名称 */