babylonjs-gui-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.
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1240,6 +1240,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1240
1240
|
* Resets the stack
|
|
1241
1241
|
*/
|
|
1242
1242
|
reset(): void;
|
|
1243
|
+
/**
|
|
1244
|
+
* Remove the n-1 element of the stack
|
|
1245
|
+
*/
|
|
1246
|
+
collapseLastTwo(): void;
|
|
1243
1247
|
private _generateJSONDiff;
|
|
1244
1248
|
private _applyJSONDiff;
|
|
1245
1249
|
private _copy;
|
|
@@ -1623,6 +1627,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1623
1627
|
hostDocument: Document;
|
|
1624
1628
|
lockObject: any;
|
|
1625
1629
|
modalIsDisplayed: boolean;
|
|
1630
|
+
historyStack: BABYLON.GuiEditor.SharedUIComponents.HistoryStack;
|
|
1626
1631
|
onSearchBoxRequiredObservable: Observable<{
|
|
1627
1632
|
x: number;
|
|
1628
1633
|
y: number;
|
|
@@ -1553,6 +1553,10 @@ export class HistoryStack implements IDisposable {
|
|
|
1553
1553
|
* Resets the stack
|
|
1554
1554
|
*/
|
|
1555
1555
|
reset(): void;
|
|
1556
|
+
/**
|
|
1557
|
+
* Remove the n-1 element of the stack
|
|
1558
|
+
*/
|
|
1559
|
+
collapseLastTwo(): void;
|
|
1556
1560
|
private _generateJSONDiff;
|
|
1557
1561
|
private _applyJSONDiff;
|
|
1558
1562
|
private _copy;
|
|
@@ -1920,11 +1924,13 @@ import { INodeData } from "babylonjs-gui-editor/nodeGraphSystem/interfaces/nodeD
|
|
|
1920
1924
|
import { IPortData } from "babylonjs-gui-editor/nodeGraphSystem/interfaces/portData";
|
|
1921
1925
|
import { ISelectionChangedOptions } from "babylonjs-gui-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
1922
1926
|
import { NodePort } from "babylonjs-gui-editor/nodeGraphSystem/nodePort";
|
|
1927
|
+
import { HistoryStack } from "babylonjs-gui-editor/historyStack";
|
|
1923
1928
|
export class StateManager {
|
|
1924
1929
|
data: any;
|
|
1925
1930
|
hostDocument: Document;
|
|
1926
1931
|
lockObject: any;
|
|
1927
1932
|
modalIsDisplayed: boolean;
|
|
1933
|
+
historyStack: HistoryStack;
|
|
1928
1934
|
onSearchBoxRequiredObservable: Observable<{
|
|
1929
1935
|
x: number;
|
|
1930
1936
|
y: number;
|
|
@@ -5883,6 +5889,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
5883
5889
|
* Resets the stack
|
|
5884
5890
|
*/
|
|
5885
5891
|
reset(): void;
|
|
5892
|
+
/**
|
|
5893
|
+
* Remove the n-1 element of the stack
|
|
5894
|
+
*/
|
|
5895
|
+
collapseLastTwo(): void;
|
|
5886
5896
|
private _generateJSONDiff;
|
|
5887
5897
|
private _applyJSONDiff;
|
|
5888
5898
|
private _copy;
|
|
@@ -6266,6 +6276,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6266
6276
|
hostDocument: Document;
|
|
6267
6277
|
lockObject: any;
|
|
6268
6278
|
modalIsDisplayed: boolean;
|
|
6279
|
+
historyStack: BABYLON.GuiEditor.SharedUIComponents.HistoryStack;
|
|
6269
6280
|
onSearchBoxRequiredObservable: Observable<{
|
|
6270
6281
|
x: number;
|
|
6271
6282
|
y: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui-editor",
|
|
3
|
-
"version": "7.27.
|
|
3
|
+
"version": "7.27.2",
|
|
4
4
|
"main": "babylon.guiEditor.max.js",
|
|
5
5
|
"types": "babylon.guiEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.27.
|
|
18
|
-
"babylonjs-gui": "^7.27.
|
|
17
|
+
"babylonjs": "^7.27.2",
|
|
18
|
+
"babylonjs-gui": "^7.27.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|