archgine 1.0.59 → 1.0.61

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.
@@ -12,6 +12,7 @@ export declare class AppCvs<Config extends IApplicationConfig> extends Applicati
12
12
  mainScene: MainScene<Config>;
13
13
  animateScene: AnimateScene<Config>;
14
14
  director: AppDirector<Config>;
15
+ requestHeader: any;
15
16
  private _url?;
16
17
  private _layers?;
17
18
  private _tic?;
@@ -24,6 +25,7 @@ export declare class AppCvs<Config extends IApplicationConfig> extends Applicati
24
25
  bindEvents(): void;
25
26
  unbindEvents(): void;
26
27
  handleCameraChanged(): void;
28
+ setRequestHeader(requestHeader: any): AppCvs<any>;
27
29
  trans2LoadingScene(): Promise<void>;
28
30
  load(url?: string, layers?: string[]): Promise<void>;
29
31
  pushResources2Scene(res?: IObject2[]): void;
@@ -4010,7 +4010,7 @@ Fu.__DOMHandler = Eu;
4010
4010
  Fu.normalizeLineEndings = Le;
4011
4011
  Fu.DOMParser = Ie;
4012
4012
  var gr = Fu.DOMParser;
4013
- const Er = "1.0.59";
4013
+ const Er = "1.0.61";
4014
4014
  function vr() {
4015
4015
  return typeof window < "u" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
4016
4016
  }
@@ -8,6 +8,7 @@ export declare class Adapter extends EventDispatcher {
8
8
  params: IApplicationConfig;
9
9
  boundingBox: Box2;
10
10
  offset: Vector2;
11
+ requestHeader: any;
11
12
  resources: Record<string, IObject2[]>;
12
13
  _resourcesMap: Record<string, IObject2>;
13
14
  _resourcesTree: ITree[];
@@ -21,6 +22,7 @@ export declare class Adapter extends EventDispatcher {
21
22
  constructor(config?: IApplicationConfig);
22
23
  destroy(): void;
23
24
  clear(): void;
25
+ setRequestHeader(requestHeader: any): Adapter;
24
26
  load(url: string, layers?: string[]): Promise<void>;
25
27
  init(str?: string): Promise<void>;
26
28
  loadBySax(url: string, layers?: string[]): Promise<void>;
@@ -22,6 +22,7 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
22
22
  view: SvgView<Config>;
23
23
  scene: SvgScene<Config> | undefined;
24
24
  loadingScene: SvgScene<Config>;
25
+ emptyScene: SvgScene<Config>;
25
26
  mainScene: SvgScene<Config>;
26
27
  zoomToSelectEnable: boolean;
27
28
  zoomBox: Box2;
@@ -41,6 +42,7 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
41
42
  removeScene(scene: Scene): void;
42
43
  trans2MainScene(): void;
43
44
  trans2LoadingScene(): void;
45
+ trans2EmptyScene(): void;
44
46
  start(): void;
45
47
  /** @description application's lifeCycle */
46
48
  running(time: DOMHighResTimeStamp): void;