babylonjs-gui-editor 7.32.3 → 7.32.5
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 +23 -1
- package/babylon.guiEditor.module.d.ts +43 -2
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1640,7 +1640,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1640
1640
|
onFrameCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>;
|
|
1641
1641
|
onUpdateRequiredObservable: Observable<any>;
|
|
1642
1642
|
onGraphNodeRemovalObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
1643
|
-
onSelectionBoxMoved: Observable<
|
|
1643
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
1644
1644
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
1645
1645
|
onCandidatePortSelectedObservable: Observable<Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort>>;
|
|
1646
1646
|
onNewNodeCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
@@ -1660,6 +1660,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1660
1660
|
data: any;
|
|
1661
1661
|
active: boolean;
|
|
1662
1662
|
}>;
|
|
1663
|
+
onPreviewCommandActivated: Observable<boolean>;
|
|
1663
1664
|
exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
|
|
1664
1665
|
isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
1665
1666
|
isDebugConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
@@ -1668,6 +1669,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1668
1669
|
getEditorDataMap: () => {
|
|
1669
1670
|
[key: number]: number;
|
|
1670
1671
|
};
|
|
1672
|
+
getScene?: () => Scene;
|
|
1671
1673
|
createDefaultInputData: (rootData: any, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => Nullable<{
|
|
1672
1674
|
data: BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
1673
1675
|
name: string;
|
|
@@ -1823,6 +1825,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1823
1825
|
private _headerIconImg;
|
|
1824
1826
|
private _header;
|
|
1825
1827
|
private _connections;
|
|
1828
|
+
private _optionsContainer;
|
|
1826
1829
|
private _inputsContainer;
|
|
1827
1830
|
private _outputsContainer;
|
|
1828
1831
|
private _content;
|
|
@@ -1849,6 +1852,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1849
1852
|
private _displayManager;
|
|
1850
1853
|
private _isVisible;
|
|
1851
1854
|
private _enclosingFrameId;
|
|
1855
|
+
private _visualPropertiesRefresh;
|
|
1852
1856
|
addClassToVisual(className: string): void;
|
|
1853
1857
|
removeClassFromVisual(className: string): void;
|
|
1854
1858
|
get isVisible(): boolean;
|
|
@@ -1887,6 +1891,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1887
1891
|
private _onUp;
|
|
1888
1892
|
private _onMove;
|
|
1889
1893
|
renderProperties(): Nullable<JSX.Element>;
|
|
1894
|
+
private _forceRebuild;
|
|
1890
1895
|
appendVisual(root: HTMLDivElement, owner: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
1891
1896
|
dispose(): void;
|
|
1892
1897
|
}
|
|
@@ -2213,6 +2218,23 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2213
2218
|
|
|
2214
2219
|
|
|
2215
2220
|
|
|
2221
|
+
}
|
|
2222
|
+
declare module BABYLON {
|
|
2223
|
+
|
|
2224
|
+
|
|
2225
|
+
}
|
|
2226
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2227
|
+
/**
|
|
2228
|
+
* Function used to force a rebuild of the node system
|
|
2229
|
+
* @param source source object
|
|
2230
|
+
* @param stateManager defines the state manager to use
|
|
2231
|
+
* @param propertyName name of the property that has been changed
|
|
2232
|
+
* @param notifiers list of notifiers to use
|
|
2233
|
+
*/
|
|
2234
|
+
export function ForceRebuild(source: any, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
|
|
2216
2238
|
}
|
|
2217
2239
|
declare module BABYLON {
|
|
2218
2240
|
|
|
@@ -1929,6 +1929,7 @@ import { IPortData } from "babylonjs-gui-editor/nodeGraphSystem/interfaces/portD
|
|
|
1929
1929
|
import { ISelectionChangedOptions } from "babylonjs-gui-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
1930
1930
|
import { NodePort } from "babylonjs-gui-editor/nodeGraphSystem/nodePort";
|
|
1931
1931
|
import { HistoryStack } from "babylonjs-gui-editor/historyStack";
|
|
1932
|
+
import { Scene } from "babylonjs/scene";
|
|
1932
1933
|
export class StateManager {
|
|
1933
1934
|
data: any;
|
|
1934
1935
|
hostDocument: Document;
|
|
@@ -1943,7 +1944,7 @@ export class StateManager {
|
|
|
1943
1944
|
onFrameCreatedObservable: Observable<GraphFrame>;
|
|
1944
1945
|
onUpdateRequiredObservable: Observable<any>;
|
|
1945
1946
|
onGraphNodeRemovalObservable: Observable<GraphNode>;
|
|
1946
|
-
onSelectionBoxMoved: Observable<
|
|
1947
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
1947
1948
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
1948
1949
|
onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
|
|
1949
1950
|
onNewNodeCreatedObservable: Observable<GraphNode>;
|
|
@@ -1963,6 +1964,7 @@ export class StateManager {
|
|
|
1963
1964
|
data: any;
|
|
1964
1965
|
active: boolean;
|
|
1965
1966
|
}>;
|
|
1967
|
+
onPreviewCommandActivated: Observable<boolean>;
|
|
1966
1968
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
1967
1969
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
1968
1970
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
@@ -1971,6 +1973,7 @@ export class StateManager {
|
|
|
1971
1973
|
getEditorDataMap: () => {
|
|
1972
1974
|
[key: number]: number;
|
|
1973
1975
|
};
|
|
1976
|
+
getScene?: () => Scene;
|
|
1974
1977
|
createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => Nullable<{
|
|
1975
1978
|
data: INodeData;
|
|
1976
1979
|
name: string;
|
|
@@ -2117,6 +2120,7 @@ export class GraphNode {
|
|
|
2117
2120
|
private _headerIconImg;
|
|
2118
2121
|
private _header;
|
|
2119
2122
|
private _connections;
|
|
2123
|
+
private _optionsContainer;
|
|
2120
2124
|
private _inputsContainer;
|
|
2121
2125
|
private _outputsContainer;
|
|
2122
2126
|
private _content;
|
|
@@ -2143,6 +2147,7 @@ export class GraphNode {
|
|
|
2143
2147
|
private _displayManager;
|
|
2144
2148
|
private _isVisible;
|
|
2145
2149
|
private _enclosingFrameId;
|
|
2150
|
+
private _visualPropertiesRefresh;
|
|
2146
2151
|
addClassToVisual(className: string): void;
|
|
2147
2152
|
removeClassFromVisual(className: string): void;
|
|
2148
2153
|
get isVisible(): boolean;
|
|
@@ -2181,6 +2186,7 @@ export class GraphNode {
|
|
|
2181
2186
|
private _onUp;
|
|
2182
2187
|
private _onMove;
|
|
2183
2188
|
renderProperties(): Nullable<JSX.Element>;
|
|
2189
|
+
private _forceRebuild;
|
|
2184
2190
|
appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
|
|
2185
2191
|
dispose(): void;
|
|
2186
2192
|
}
|
|
@@ -2507,6 +2513,19 @@ export class DisplayLedger {
|
|
|
2507
2513
|
};
|
|
2508
2514
|
}
|
|
2509
2515
|
|
|
2516
|
+
}
|
|
2517
|
+
declare module "babylonjs-gui-editor/nodeGraphSystem/automaticProperties" {
|
|
2518
|
+
import { IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
|
|
2519
|
+
import { StateManager } from "babylonjs-gui-editor/nodeGraphSystem/stateManager";
|
|
2520
|
+
/**
|
|
2521
|
+
* Function used to force a rebuild of the node system
|
|
2522
|
+
* @param source source object
|
|
2523
|
+
* @param stateManager defines the state manager to use
|
|
2524
|
+
* @param propertyName name of the property that has been changed
|
|
2525
|
+
* @param notifiers list of notifiers to use
|
|
2526
|
+
*/
|
|
2527
|
+
export function ForceRebuild(source: any, stateManager: StateManager, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
2528
|
+
|
|
2510
2529
|
}
|
|
2511
2530
|
declare module "babylonjs-gui-editor/nodeGraphSystem/types/framePortData" {
|
|
2512
2531
|
import { GraphFrame } from "babylonjs-gui-editor/nodeGraphSystem/graphFrame";
|
|
@@ -6336,7 +6355,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6336
6355
|
onFrameCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>;
|
|
6337
6356
|
onUpdateRequiredObservable: Observable<any>;
|
|
6338
6357
|
onGraphNodeRemovalObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
6339
|
-
onSelectionBoxMoved: Observable<
|
|
6358
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
6340
6359
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
6341
6360
|
onCandidatePortSelectedObservable: Observable<Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort>>;
|
|
6342
6361
|
onNewNodeCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
|
|
@@ -6356,6 +6375,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6356
6375
|
data: any;
|
|
6357
6376
|
active: boolean;
|
|
6358
6377
|
}>;
|
|
6378
|
+
onPreviewCommandActivated: Observable<boolean>;
|
|
6359
6379
|
exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
|
|
6360
6380
|
isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
6361
6381
|
isDebugConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
@@ -6364,6 +6384,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6364
6384
|
getEditorDataMap: () => {
|
|
6365
6385
|
[key: number]: number;
|
|
6366
6386
|
};
|
|
6387
|
+
getScene?: () => Scene;
|
|
6367
6388
|
createDefaultInputData: (rootData: any, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => Nullable<{
|
|
6368
6389
|
data: BABYLON.GuiEditor.SharedUIComponents.INodeData;
|
|
6369
6390
|
name: string;
|
|
@@ -6519,6 +6540,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6519
6540
|
private _headerIconImg;
|
|
6520
6541
|
private _header;
|
|
6521
6542
|
private _connections;
|
|
6543
|
+
private _optionsContainer;
|
|
6522
6544
|
private _inputsContainer;
|
|
6523
6545
|
private _outputsContainer;
|
|
6524
6546
|
private _content;
|
|
@@ -6545,6 +6567,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6545
6567
|
private _displayManager;
|
|
6546
6568
|
private _isVisible;
|
|
6547
6569
|
private _enclosingFrameId;
|
|
6570
|
+
private _visualPropertiesRefresh;
|
|
6548
6571
|
addClassToVisual(className: string): void;
|
|
6549
6572
|
removeClassFromVisual(className: string): void;
|
|
6550
6573
|
get isVisible(): boolean;
|
|
@@ -6583,6 +6606,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6583
6606
|
private _onUp;
|
|
6584
6607
|
private _onMove;
|
|
6585
6608
|
renderProperties(): Nullable<JSX.Element>;
|
|
6609
|
+
private _forceRebuild;
|
|
6586
6610
|
appendVisual(root: HTMLDivElement, owner: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
6587
6611
|
dispose(): void;
|
|
6588
6612
|
}
|
|
@@ -6909,6 +6933,23 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6909
6933
|
|
|
6910
6934
|
|
|
6911
6935
|
|
|
6936
|
+
}
|
|
6937
|
+
declare module BABYLON {
|
|
6938
|
+
|
|
6939
|
+
|
|
6940
|
+
}
|
|
6941
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
6942
|
+
/**
|
|
6943
|
+
* Function used to force a rebuild of the node system
|
|
6944
|
+
* @param source source object
|
|
6945
|
+
* @param stateManager defines the state manager to use
|
|
6946
|
+
* @param propertyName name of the property that has been changed
|
|
6947
|
+
* @param notifiers list of notifiers to use
|
|
6948
|
+
*/
|
|
6949
|
+
export function ForceRebuild(source: any, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
6950
|
+
|
|
6951
|
+
|
|
6952
|
+
|
|
6912
6953
|
}
|
|
6913
6954
|
declare module BABYLON {
|
|
6914
6955
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui-editor",
|
|
3
|
-
"version": "7.32.
|
|
3
|
+
"version": "7.32.5",
|
|
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.32.
|
|
18
|
-
"babylonjs-gui": "^7.32.
|
|
17
|
+
"babylonjs": "^7.32.5",
|
|
18
|
+
"babylonjs-gui": "^7.32.5"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|