babylonjs-inspector 7.24.0 → 7.25.1
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.inspector.d.ts
CHANGED
|
@@ -3655,6 +3655,55 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
3655
3655
|
|
|
3656
3656
|
|
|
3657
3657
|
|
|
3658
|
+
}
|
|
3659
|
+
declare module INSPECTOR {
|
|
3660
|
+
|
|
3661
|
+
|
|
3662
|
+
}
|
|
3663
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
3664
|
+
/**
|
|
3665
|
+
* Class handling undo / redo operations
|
|
3666
|
+
*/
|
|
3667
|
+
export class HistoryStack implements BABYLON.IDisposable {
|
|
3668
|
+
private _history;
|
|
3669
|
+
private _redoStack;
|
|
3670
|
+
private readonly _maxHistoryLength;
|
|
3671
|
+
private _locked;
|
|
3672
|
+
private _dataProvider;
|
|
3673
|
+
private _applyUpdate;
|
|
3674
|
+
/**
|
|
3675
|
+
* Constructor
|
|
3676
|
+
* @param dataProvider defines the data provider function
|
|
3677
|
+
* @param applyUpdate defines the code to execute when undo/redo operation is required
|
|
3678
|
+
*/
|
|
3679
|
+
constructor(dataProvider: () => any, applyUpdate: (data: any) => void);
|
|
3680
|
+
/**
|
|
3681
|
+
* Resets the stack
|
|
3682
|
+
*/
|
|
3683
|
+
reset(): void;
|
|
3684
|
+
private _generateJSONDiff;
|
|
3685
|
+
private _applyJSONDiff;
|
|
3686
|
+
private _rebuildState;
|
|
3687
|
+
/**
|
|
3688
|
+
* Stores the current state
|
|
3689
|
+
*/
|
|
3690
|
+
store(): void;
|
|
3691
|
+
/**
|
|
3692
|
+
* Undo the latest operation
|
|
3693
|
+
*/
|
|
3694
|
+
undo(): void;
|
|
3695
|
+
/**
|
|
3696
|
+
* Redo the latest undo operation
|
|
3697
|
+
*/
|
|
3698
|
+
redo(): void;
|
|
3699
|
+
/**
|
|
3700
|
+
* Disposes the stack
|
|
3701
|
+
*/
|
|
3702
|
+
dispose(): void;
|
|
3703
|
+
}
|
|
3704
|
+
|
|
3705
|
+
|
|
3706
|
+
|
|
3658
3707
|
}
|
|
3659
3708
|
declare module INSPECTOR {
|
|
3660
3709
|
|
|
@@ -4028,6 +4077,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4028
4077
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort>>;
|
|
4029
4078
|
onNewNodeCreatedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
4030
4079
|
onRebuildRequiredObservable: BABYLON.Observable<void>;
|
|
4080
|
+
onNodeMovedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
4031
4081
|
onErrorMessageDialogRequiredObservable: BABYLON.Observable<string>;
|
|
4032
4082
|
onExposePortOnFrameObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
4033
4083
|
onGridSizeChanged: BABYLON.Observable<void>;
|
|
@@ -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/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>;
|
|
@@ -11392,6 +11437,55 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
11392
11437
|
|
|
11393
11438
|
|
|
11394
11439
|
|
|
11440
|
+
}
|
|
11441
|
+
declare module INSPECTOR {
|
|
11442
|
+
|
|
11443
|
+
|
|
11444
|
+
}
|
|
11445
|
+
declare module INSPECTOR.SharedUIComponents {
|
|
11446
|
+
/**
|
|
11447
|
+
* Class handling undo / redo operations
|
|
11448
|
+
*/
|
|
11449
|
+
export class HistoryStack implements BABYLON.IDisposable {
|
|
11450
|
+
private _history;
|
|
11451
|
+
private _redoStack;
|
|
11452
|
+
private readonly _maxHistoryLength;
|
|
11453
|
+
private _locked;
|
|
11454
|
+
private _dataProvider;
|
|
11455
|
+
private _applyUpdate;
|
|
11456
|
+
/**
|
|
11457
|
+
* Constructor
|
|
11458
|
+
* @param dataProvider defines the data provider function
|
|
11459
|
+
* @param applyUpdate defines the code to execute when undo/redo operation is required
|
|
11460
|
+
*/
|
|
11461
|
+
constructor(dataProvider: () => any, applyUpdate: (data: any) => void);
|
|
11462
|
+
/**
|
|
11463
|
+
* Resets the stack
|
|
11464
|
+
*/
|
|
11465
|
+
reset(): void;
|
|
11466
|
+
private _generateJSONDiff;
|
|
11467
|
+
private _applyJSONDiff;
|
|
11468
|
+
private _rebuildState;
|
|
11469
|
+
/**
|
|
11470
|
+
* Stores the current state
|
|
11471
|
+
*/
|
|
11472
|
+
store(): void;
|
|
11473
|
+
/**
|
|
11474
|
+
* Undo the latest operation
|
|
11475
|
+
*/
|
|
11476
|
+
undo(): void;
|
|
11477
|
+
/**
|
|
11478
|
+
* Redo the latest undo operation
|
|
11479
|
+
*/
|
|
11480
|
+
redo(): void;
|
|
11481
|
+
/**
|
|
11482
|
+
* Disposes the stack
|
|
11483
|
+
*/
|
|
11484
|
+
dispose(): void;
|
|
11485
|
+
}
|
|
11486
|
+
|
|
11487
|
+
|
|
11488
|
+
|
|
11395
11489
|
}
|
|
11396
11490
|
declare module INSPECTOR {
|
|
11397
11491
|
|
|
@@ -11765,6 +11859,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
11765
11859
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort>>;
|
|
11766
11860
|
onNewNodeCreatedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
11767
11861
|
onRebuildRequiredObservable: BABYLON.Observable<void>;
|
|
11862
|
+
onNodeMovedObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
11768
11863
|
onErrorMessageDialogRequiredObservable: BABYLON.Observable<string>;
|
|
11769
11864
|
onExposePortOnFrameObservable: BABYLON.Observable<INSPECTOR.SharedUIComponents.GraphNode>;
|
|
11770
11865
|
onGridSizeChanged: BABYLON.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
|
"main": "babylon.inspector.bundle.max.js",
|
|
5
5
|
"types": "babylon.inspector.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"build:dev": "webpack --env development",
|
|
12
12
|
"build:prod": "webpack --env production",
|
|
13
13
|
"build:declaration": "build-tools -c pud --config ./config.json",
|
|
14
|
-
"clean": "rimraf dist && rimraf babylon*.*"
|
|
14
|
+
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.
|
|
18
|
-
"babylonjs-gui": "^7.
|
|
19
|
-
"babylonjs-gui-editor": "^7.
|
|
20
|
-
"babylonjs-loaders": "^7.
|
|
21
|
-
"babylonjs-materials": "^7.
|
|
22
|
-
"babylonjs-serializers": "^7.
|
|
17
|
+
"babylonjs": "^7.25.1",
|
|
18
|
+
"babylonjs-gui": "^7.25.1",
|
|
19
|
+
"babylonjs-gui-editor": "^7.25.1",
|
|
20
|
+
"babylonjs-loaders": "^7.25.1",
|
|
21
|
+
"babylonjs-materials": "^7.25.1",
|
|
22
|
+
"babylonjs-serializers": "^7.25.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|