archgine 1.0.33 → 1.0.34
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/lib/environment.worker.js +1 -1
- package/lib/extras/app.d.ts +3 -3
- package/lib/extras/interfaces.d.ts +3 -3
- package/lib/extras/svg-app.d.ts +3 -3
- package/lib/extras/svg-view.d.ts +4 -4
- package/lib/index.mjs +682 -679
- package/lib/index.umd.js +18 -18
- package/package.json +1 -1
|
@@ -3999,7 +3999,7 @@ Ms.__DOMHandler = yi;
|
|
|
3999
3999
|
Ms.normalizeLineEndings = Vc;
|
|
4000
4000
|
Ms.DOMParser = Gc;
|
|
4001
4001
|
var Uy = Ms.DOMParser;
|
|
4002
|
-
const qy = "1.0.
|
|
4002
|
+
const qy = "1.0.34";
|
|
4003
4003
|
function ky() {
|
|
4004
4004
|
return typeof window < "u" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
|
|
4005
4005
|
}
|
package/lib/extras/app.d.ts
CHANGED
|
@@ -50,9 +50,9 @@ export declare class App<Config extends IAppConfig> extends Application<Config>
|
|
|
50
50
|
setSkeletons(skeletons: string[]): void;
|
|
51
51
|
socialDistanceEnableChanged(v: boolean): void;
|
|
52
52
|
fullscreen(): void;
|
|
53
|
-
saveCameraPosition(): void;
|
|
54
|
-
restoreCameraPosition(): void;
|
|
55
|
-
clearCameraPosition(): void;
|
|
53
|
+
saveCameraPosition(id?: string): void;
|
|
54
|
+
restoreCameraPosition(id?: string): void;
|
|
55
|
+
clearCameraPosition(id?: string): void;
|
|
56
56
|
zoomIn(): void;
|
|
57
57
|
zoomOut(): void;
|
|
58
58
|
focusAt(position: Vector2, padding?: number): void;
|
|
@@ -26,9 +26,9 @@ export interface IApp {
|
|
|
26
26
|
setAssetLabels(id: string, labels?: string[]): void;
|
|
27
27
|
clearAssetLabels(): void;
|
|
28
28
|
fullscreen(): void;
|
|
29
|
-
saveCameraPosition(): void;
|
|
30
|
-
restoreCameraPosition(): void;
|
|
31
|
-
clearCameraPosition(): void;
|
|
29
|
+
saveCameraPosition(id?: string): void;
|
|
30
|
+
restoreCameraPosition(id?: string): void;
|
|
31
|
+
clearCameraPosition(id?: string): void;
|
|
32
32
|
zoomIn(): void;
|
|
33
33
|
zoomOut(): void;
|
|
34
34
|
focusAt(position: Vector2, padding?: number): void;
|
package/lib/extras/svg-app.d.ts
CHANGED
|
@@ -79,9 +79,9 @@ export declare class SvgApp<Config extends ISvgAppConfig> extends EventDispatche
|
|
|
79
79
|
setAssetLabels(id: string, labels?: string[]): void;
|
|
80
80
|
clearAssetLabels(): void;
|
|
81
81
|
fullscreen(): void;
|
|
82
|
-
saveCameraPosition(): void;
|
|
83
|
-
restoreCameraPosition(): void;
|
|
84
|
-
clearCameraPosition(): void;
|
|
82
|
+
saveCameraPosition(id?: string): void;
|
|
83
|
+
restoreCameraPosition(id?: string): void;
|
|
84
|
+
clearCameraPosition(id?: string): void;
|
|
85
85
|
zoomIn(): void;
|
|
86
86
|
zoomOut(): void;
|
|
87
87
|
focusAt(position: Vector2, padding?: number): void;
|
package/lib/extras/svg-view.d.ts
CHANGED
|
@@ -47,7 +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
|
-
setByBox(box: Box2): void;
|
|
50
|
+
setByBox(box: Box2, animate?: boolean): void;
|
|
51
51
|
zoomIn(): void;
|
|
52
52
|
zoomOut(): void;
|
|
53
53
|
zoomToSelectEnableChanged(v: boolean): void;
|
|
@@ -59,9 +59,9 @@ export declare class SvgView<Config extends ISvgViewConfig> extends EventDispatc
|
|
|
59
59
|
resetCameraByBoundingBox(box: IBox2, animate?: boolean): Promise<void>;
|
|
60
60
|
animateCamera(from: ICamera2Position, to: ICamera2Position): Promise<void>;
|
|
61
61
|
fullscreen(): void;
|
|
62
|
-
saveCameraPosition(): void;
|
|
63
|
-
restoreCameraPosition(): void;
|
|
64
|
-
clearCameraPosition(): void;
|
|
62
|
+
saveCameraPosition(id?: string): void;
|
|
63
|
+
restoreCameraPosition(id?: string): void;
|
|
64
|
+
clearCameraPosition(id?: string): void;
|
|
65
65
|
bindControllerEvents(): void;
|
|
66
66
|
unbindControllerEvents(): void;
|
|
67
67
|
handlePanStart(e: IEvent): void;
|