babylonjs-gui-editor 7.26.0 → 7.26.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 +10 -0
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +14 -14
- package/babylon.guiEditor.module.d.ts +20 -0
- package/package.json +4 -4
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1777,6 +1777,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1777
1777
|
get nodeB(): BABYLON.GuiEditor.SharedUIComponents.GraphNode | undefined;
|
|
1778
1778
|
intersectsWith(rect: DOMRect): boolean;
|
|
1779
1779
|
update(endX?: number, endY?: number, straight?: boolean): void;
|
|
1780
|
+
get path(): SVGPathElement;
|
|
1781
|
+
get selectionPath(): SVGPathElement;
|
|
1780
1782
|
constructor(graphCanvas: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent, portA: BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeA: BABYLON.GuiEditor.SharedUIComponents.GraphNode, portB?: BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB?: BABYLON.GuiEditor.SharedUIComponents.GraphNode);
|
|
1781
1783
|
onClick(evt: MouseEvent): void;
|
|
1782
1784
|
dispose(notify?: boolean): void;
|
|
@@ -1861,6 +1863,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1861
1863
|
set enclosingFrameId(value: number);
|
|
1862
1864
|
set isSelected(value: boolean);
|
|
1863
1865
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
1866
|
+
get rootElement(): HTMLDivElement;
|
|
1864
1867
|
constructor(content: BABYLON.GuiEditor.SharedUIComponents.INodeData, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager);
|
|
1865
1868
|
isOverlappingFrame(frame: BABYLON.GuiEditor.SharedUIComponents.GraphFrame): boolean;
|
|
1866
1869
|
getPortForPortData(portData: BABYLON.GuiEditor.SharedUIComponents.IPortData): BABYLON.GuiEditor.SharedUIComponents.NodePort | null;
|
|
@@ -1910,6 +1913,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1910
1913
|
private _headerTextElement;
|
|
1911
1914
|
private _headerCollapseElement;
|
|
1912
1915
|
private _headerCloseElement;
|
|
1916
|
+
private _headerFocusElement;
|
|
1913
1917
|
private _commentsElement;
|
|
1914
1918
|
private _portContainer;
|
|
1915
1919
|
private _outputPortContainer;
|
|
@@ -1939,6 +1943,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1939
1943
|
private readonly _closeSVG;
|
|
1940
1944
|
private readonly _expandSVG;
|
|
1941
1945
|
private readonly _collapseSVG;
|
|
1946
|
+
private readonly _focusSVG;
|
|
1942
1947
|
get id(): number;
|
|
1943
1948
|
get isCollapsed(): boolean;
|
|
1944
1949
|
private _createInputPort;
|
|
@@ -1967,6 +1972,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1967
1972
|
get comments(): string;
|
|
1968
1973
|
set comments(comments: string);
|
|
1969
1974
|
constructor(candidate: Nullable<HTMLDivElement>, canvas: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
1975
|
+
private _isFocused;
|
|
1976
|
+
/**
|
|
1977
|
+
* Enter/leave focus mode
|
|
1978
|
+
*/
|
|
1979
|
+
switchFocusMode(): void;
|
|
1970
1980
|
refresh(): void;
|
|
1971
1981
|
addNode(node: BABYLON.GuiEditor.SharedUIComponents.GraphNode): void;
|
|
1972
1982
|
removeNode(node: BABYLON.GuiEditor.SharedUIComponents.GraphNode): void;
|