@babylonjs/inspector 7.25.0 → 7.25.2
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;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "7.25.
|
3
|
+
"version": "7.25.2",
|
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.25.
|
36
|
-
"@babylonjs/gui": "^7.25.
|
37
|
-
"@babylonjs/gui-editor": "^7.25.
|
38
|
-
"@babylonjs/loaders": "^7.25.
|
39
|
-
"@babylonjs/materials": "^7.25.
|
40
|
-
"@babylonjs/serializers": "^7.25.
|
35
|
+
"@babylonjs/core": "^7.25.2",
|
36
|
+
"@babylonjs/gui": "^7.25.2",
|
37
|
+
"@babylonjs/gui-editor": "^7.25.2",
|
38
|
+
"@babylonjs/loaders": "^7.25.2",
|
39
|
+
"@babylonjs/materials": "^7.25.2",
|
40
|
+
"@babylonjs/serializers": "^7.25.2",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|