babylonjs-inspector 7.25.2 → 7.26.0

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.
@@ -3665,8 +3665,9 @@ declare module INSPECTOR.SharedUIComponents {
3665
3665
  * Class handling undo / redo operations
3666
3666
  */
3667
3667
  export class HistoryStack implements BABYLON.IDisposable {
3668
- private _history;
3668
+ private _historyStack;
3669
3669
  private _redoStack;
3670
+ private _activeData;
3670
3671
  private readonly _maxHistoryLength;
3671
3672
  private _locked;
3672
3673
  private _dataProvider;
@@ -3677,13 +3678,19 @@ declare module INSPECTOR.SharedUIComponents {
3677
3678
  * @param applyUpdate defines the code to execute when undo/redo operation is required
3678
3679
  */
3679
3680
  constructor(dataProvider: () => any, applyUpdate: (data: any) => void);
3681
+ /**
3682
+ * Process key event to handle undo / redo
3683
+ * @param evt defines the keyboard event to process
3684
+ * @returns true if the event was processed
3685
+ */
3686
+ processKeyEvent(evt: KeyboardEvent): boolean;
3680
3687
  /**
3681
3688
  * Resets the stack
3682
3689
  */
3683
3690
  reset(): void;
3684
3691
  private _generateJSONDiff;
3685
3692
  private _applyJSONDiff;
3686
- private _rebuildState;
3693
+ private _copy;
3687
3694
  /**
3688
3695
  * Stores the current state
3689
3696
  */
@@ -4686,8 +4686,9 @@ import { IDisposable } from "babylonjs/scene";
4686
4686
  * Class handling undo / redo operations
4687
4687
  */
4688
4688
  export class HistoryStack implements IDisposable {
4689
- private _history;
4689
+ private _historyStack;
4690
4690
  private _redoStack;
4691
+ private _activeData;
4691
4692
  private readonly _maxHistoryLength;
4692
4693
  private _locked;
4693
4694
  private _dataProvider;
@@ -4698,13 +4699,19 @@ export class HistoryStack implements IDisposable {
4698
4699
  * @param applyUpdate defines the code to execute when undo/redo operation is required
4699
4700
  */
4700
4701
  constructor(dataProvider: () => any, applyUpdate: (data: any) => void);
4702
+ /**
4703
+ * Process key event to handle undo / redo
4704
+ * @param evt defines the keyboard event to process
4705
+ * @returns true if the event was processed
4706
+ */
4707
+ processKeyEvent(evt: KeyboardEvent): boolean;
4701
4708
  /**
4702
4709
  * Resets the stack
4703
4710
  */
4704
4711
  reset(): void;
4705
4712
  private _generateJSONDiff;
4706
4713
  private _applyJSONDiff;
4707
- private _rebuildState;
4714
+ private _copy;
4708
4715
  /**
4709
4716
  * Stores the current state
4710
4717
  */
@@ -11447,8 +11454,9 @@ declare module INSPECTOR.SharedUIComponents {
11447
11454
  * Class handling undo / redo operations
11448
11455
  */
11449
11456
  export class HistoryStack implements BABYLON.IDisposable {
11450
- private _history;
11457
+ private _historyStack;
11451
11458
  private _redoStack;
11459
+ private _activeData;
11452
11460
  private readonly _maxHistoryLength;
11453
11461
  private _locked;
11454
11462
  private _dataProvider;
@@ -11459,13 +11467,19 @@ declare module INSPECTOR.SharedUIComponents {
11459
11467
  * @param applyUpdate defines the code to execute when undo/redo operation is required
11460
11468
  */
11461
11469
  constructor(dataProvider: () => any, applyUpdate: (data: any) => void);
11470
+ /**
11471
+ * Process key event to handle undo / redo
11472
+ * @param evt defines the keyboard event to process
11473
+ * @returns true if the event was processed
11474
+ */
11475
+ processKeyEvent(evt: KeyboardEvent): boolean;
11462
11476
  /**
11463
11477
  * Resets the stack
11464
11478
  */
11465
11479
  reset(): void;
11466
11480
  private _generateJSONDiff;
11467
11481
  private _applyJSONDiff;
11468
- private _rebuildState;
11482
+ private _copy;
11469
11483
  /**
11470
11484
  * Stores the current state
11471
11485
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "7.25.2",
3
+ "version": "7.26.0",
4
4
  "main": "babylon.inspector.bundle.max.js",
5
5
  "types": "babylon.inspector.module.d.ts",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.25.2",
18
- "babylonjs-gui": "^7.25.2",
19
- "babylonjs-gui-editor": "^7.25.2",
20
- "babylonjs-loaders": "^7.25.2",
21
- "babylonjs-materials": "^7.25.2",
22
- "babylonjs-serializers": "^7.25.2"
17
+ "babylonjs": "^7.26.0",
18
+ "babylonjs-gui": "^7.26.0",
19
+ "babylonjs-gui-editor": "^7.26.0",
20
+ "babylonjs-loaders": "^7.26.0",
21
+ "babylonjs-materials": "^7.26.0",
22
+ "babylonjs-serializers": "^7.26.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",