@babylonjs/inspector 7.24.0 → 7.25.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -4679,6 +4679,50 @@ export class PropertyChangedEvent {
|
|
4679
4679
|
allowNullValue?: boolean;
|
4680
4680
|
}
|
4681
4681
|
|
4682
|
+
}
|
4683
|
+
declare module "@babylonjs/inspector/historyStack" {
|
4684
|
+
import { IDisposable } from "@babylonjs/core/scene";
|
4685
|
+
/**
|
4686
|
+
* Class handling undo / redo operations
|
4687
|
+
*/
|
4688
|
+
export class HistoryStack implements IDisposable {
|
4689
|
+
private _history;
|
4690
|
+
private _redoStack;
|
4691
|
+
private readonly _maxHistoryLength;
|
4692
|
+
private _locked;
|
4693
|
+
private _dataProvider;
|
4694
|
+
private _applyUpdate;
|
4695
|
+
/**
|
4696
|
+
* Constructor
|
4697
|
+
* @param dataProvider defines the data provider function
|
4698
|
+
* @param applyUpdate defines the code to execute when undo/redo operation is required
|
4699
|
+
*/
|
4700
|
+
constructor(dataProvider: () => any, applyUpdate: (data: any) => void);
|
4701
|
+
/**
|
4702
|
+
* Resets the stack
|
4703
|
+
*/
|
4704
|
+
reset(): void;
|
4705
|
+
private _generateJSONDiff;
|
4706
|
+
private _applyJSONDiff;
|
4707
|
+
private _rebuildState;
|
4708
|
+
/**
|
4709
|
+
* Stores the current state
|
4710
|
+
*/
|
4711
|
+
store(): void;
|
4712
|
+
/**
|
4713
|
+
* Undo the latest operation
|
4714
|
+
*/
|
4715
|
+
undo(): void;
|
4716
|
+
/**
|
4717
|
+
* Redo the latest undo operation
|
4718
|
+
*/
|
4719
|
+
redo(): void;
|
4720
|
+
/**
|
4721
|
+
* Disposes the stack
|
4722
|
+
*/
|
4723
|
+
dispose(): void;
|
4724
|
+
}
|
4725
|
+
|
4682
4726
|
}
|
4683
4727
|
declare module "@babylonjs/inspector/copyCommandToClipboard" {
|
4684
4728
|
export function copyCommandToClipboard(strCommand: string): void;
|
@@ -5043,6 +5087,7 @@ export class StateManager {
|
|
5043
5087
|
onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
|
5044
5088
|
onNewNodeCreatedObservable: Observable<GraphNode>;
|
5045
5089
|
onRebuildRequiredObservable: Observable<void>;
|
5090
|
+
onNodeMovedObservable: Observable<GraphNode>;
|
5046
5091
|
onErrorMessageDialogRequiredObservable: Observable<string>;
|
5047
5092
|
onExposePortOnFrameObservable: Observable<GraphNode>;
|
5048
5093
|
onGridSizeChanged: Observable<void>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.25.1",
|
4
4
|
"module": "dist/babylon.inspector.bundle.max.js",
|
5
5
|
"main": "dist/babylon.inspector.bundle.max.js",
|
6
6
|
"typings": "dist/babylon.inspector.module.d.ts",
|
@@ -32,12 +32,12 @@
|
|
32
32
|
"@types/react-dom": ">=16.0.9"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@babylonjs/core": "^7.
|
36
|
-
"@babylonjs/gui": "^7.
|
37
|
-
"@babylonjs/gui-editor": "^7.
|
38
|
-
"@babylonjs/loaders": "^7.
|
39
|
-
"@babylonjs/materials": "^7.
|
40
|
-
"@babylonjs/serializers": "^7.
|
35
|
+
"@babylonjs/core": "^7.25.1",
|
36
|
+
"@babylonjs/gui": "^7.25.1",
|
37
|
+
"@babylonjs/gui-editor": "^7.25.1",
|
38
|
+
"@babylonjs/loaders": "^7.25.1",
|
39
|
+
"@babylonjs/materials": "^7.25.1",
|
40
|
+
"@babylonjs/serializers": "^7.25.1",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|