archgine 1.0.41 → 1.0.49

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.
@@ -3997,7 +3997,7 @@ Fu.__DOMHandler = Eu;
3997
3997
  Fu.normalizeLineEndings = Le;
3998
3998
  Fu.DOMParser = Ie;
3999
3999
  var gr = Fu.DOMParser;
4000
- const Er = "1.0.41";
4000
+ const Er = "1.0.49";
4001
4001
  function vr() {
4002
4002
  return typeof window < "u" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
4003
4003
  }
@@ -8,6 +8,7 @@ export interface IApp {
8
8
  resize(): void;
9
9
  start(): void;
10
10
  load(url: string, layers?: string[], lv?: number, skeletons?: string[]): any;
11
+ loadByString(str: string, layers?: string[], lv?: number): ITree[];
11
12
  setSkeletons(skeletons: string[]): void;
12
13
  getLayers(lv?: number): any[] | undefined;
13
14
  getAssetIdsByType(assetType: string): string[] | undefined;
@@ -45,10 +45,13 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
45
45
  /** @description application's lifeCycle */
46
46
  running(time: DOMHighResTimeStamp): void;
47
47
  load(url: string, layers?: string[], lv?: number, skeletons?: string[]): Promise<ITree[]>;
48
+ loadByString(str: string, layers?: string[], lv?: number): ITree[];
48
49
  setSkeletons(skeletons: string[]): void;
49
50
  getLayers(lv?: number): ITree[] | undefined;
50
51
  updateLayersVisibility(ids: string[], visible?: boolean): void;
51
52
  selectByIds(ids: string | string[]): void;
53
+ clearSelectedById(ids: string | string[]): void;
54
+ clearSelected(): void;
52
55
  getSelectedIds(): string[] | undefined;
53
56
  targetByIds(ids: string | string[]): Promise<void>;
54
57
  linkAssetsByTree(o?: ITree): void;
@@ -82,7 +85,6 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
82
85
  zoomToSelectEnableChanged(v: boolean): void;
83
86
  selectEnableChanged(v: boolean): void;
84
87
  multiSelectEnableChanged(v: boolean): void;
85
- clearSelected(): void;
86
88
  socialDistanceEnableChanged(v: boolean): void;
87
89
  getBoundingBoxById(id: string, viewTrans?: boolean): Box2 | undefined;
88
90
  setDummies(dummies: IDummyVo[]): void;
@@ -47,6 +47,7 @@ export declare class SvgView<Config extends ISvgViewConfig> extends EventDispatc
47
47
  showAssetsLabel(assetType?: string, id?: string, html?: string): void;
48
48
  hideAssetsLabel(): Promise<void>;
49
49
  bindScene(scene: SvgScene<Config>): void;
50
+ resize(): void;
50
51
  setByBox(box: Box2, animate?: boolean): Promise<void>;
51
52
  zoomIn(): void;
52
53
  zoomOut(): void;