babylonjs-node-editor 7.27.0 → 7.27.2

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.
@@ -1497,6 +1497,10 @@ export class HistoryStack implements IDisposable {
1497
1497
  * Resets the stack
1498
1498
  */
1499
1499
  reset(): void;
1500
+ /**
1501
+ * Remove the n-1 element of the stack
1502
+ */
1503
+ collapseLastTwo(): void;
1500
1504
  private _generateJSONDiff;
1501
1505
  private _applyJSONDiff;
1502
1506
  private _copy;
@@ -1864,11 +1868,13 @@ import { INodeData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/node
1864
1868
  import { IPortData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/portData";
1865
1869
  import { ISelectionChangedOptions } from "babylonjs-node-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
1866
1870
  import { NodePort } from "babylonjs-node-editor/nodeGraphSystem/nodePort";
1871
+ import { HistoryStack } from "babylonjs-node-editor/historyStack";
1867
1872
  export class StateManager {
1868
1873
  data: any;
1869
1874
  hostDocument: Document;
1870
1875
  lockObject: any;
1871
1876
  modalIsDisplayed: boolean;
1877
+ historyStack: HistoryStack;
1872
1878
  onSearchBoxRequiredObservable: Observable<{
1873
1879
  x: number;
1874
1880
  y: number;
@@ -5687,6 +5693,10 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
5687
5693
  * Resets the stack
5688
5694
  */
5689
5695
  reset(): void;
5696
+ /**
5697
+ * Remove the n-1 element of the stack
5698
+ */
5699
+ collapseLastTwo(): void;
5690
5700
  private _generateJSONDiff;
5691
5701
  private _applyJSONDiff;
5692
5702
  private _copy;
@@ -6070,6 +6080,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
6070
6080
  hostDocument: Document;
6071
6081
  lockObject: any;
6072
6082
  modalIsDisplayed: boolean;
6083
+ historyStack: BABYLON.NodeEditor.SharedUIComponents.HistoryStack;
6073
6084
  onSearchBoxRequiredObservable: BABYLON.Observable<{
6074
6085
  x: number;
6075
6086
  y: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-editor",
3
- "version": "7.27.0",
3
+ "version": "7.27.2",
4
4
  "main": "babylon.nodeEditor.js",
5
5
  "types": "babylon.nodeEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.27.0"
17
+ "babylonjs": "^7.27.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",