@babylonjs/gui-editor 7.26.0 → 7.26.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -2074,6 +2074,8 @@ export class NodeLink {
|
|
2074
2074
|
get nodeB(): GraphNode | undefined;
|
2075
2075
|
intersectsWith(rect: DOMRect): boolean;
|
2076
2076
|
update(endX?: number, endY?: number, straight?: boolean): void;
|
2077
|
+
get path(): SVGPathElement;
|
2078
|
+
get selectionPath(): SVGPathElement;
|
2077
2079
|
constructor(graphCanvas: GraphCanvasComponent, portA: NodePort, nodeA: GraphNode, portB?: NodePort, nodeB?: GraphNode);
|
2078
2080
|
onClick(evt: MouseEvent): void;
|
2079
2081
|
dispose(notify?: boolean): void;
|
@@ -2154,6 +2156,7 @@ export class GraphNode {
|
|
2154
2156
|
set enclosingFrameId(value: number);
|
2155
2157
|
set isSelected(value: boolean);
|
2156
2158
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
2159
|
+
get rootElement(): HTMLDivElement;
|
2157
2160
|
constructor(content: INodeData, stateManager: StateManager);
|
2158
2161
|
isOverlappingFrame(frame: GraphFrame): boolean;
|
2159
2162
|
getPortForPortData(portData: IPortData): NodePort | null;
|
@@ -2204,6 +2207,7 @@ export class GraphFrame {
|
|
2204
2207
|
private _headerTextElement;
|
2205
2208
|
private _headerCollapseElement;
|
2206
2209
|
private _headerCloseElement;
|
2210
|
+
private _headerFocusElement;
|
2207
2211
|
private _commentsElement;
|
2208
2212
|
private _portContainer;
|
2209
2213
|
private _outputPortContainer;
|
@@ -2233,6 +2237,7 @@ export class GraphFrame {
|
|
2233
2237
|
private readonly _closeSVG;
|
2234
2238
|
private readonly _expandSVG;
|
2235
2239
|
private readonly _collapseSVG;
|
2240
|
+
private readonly _focusSVG;
|
2236
2241
|
get id(): number;
|
2237
2242
|
get isCollapsed(): boolean;
|
2238
2243
|
private _createInputPort;
|
@@ -2261,6 +2266,11 @@ export class GraphFrame {
|
|
2261
2266
|
get comments(): string;
|
2262
2267
|
set comments(comments: string);
|
2263
2268
|
constructor(candidate: Nullable<HTMLDivElement>, canvas: GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
2269
|
+
private _isFocused;
|
2270
|
+
/**
|
2271
|
+
* Enter/leave focus mode
|
2272
|
+
*/
|
2273
|
+
switchFocusMode(): void;
|
2264
2274
|
refresh(): void;
|
2265
2275
|
addNode(node: GraphNode): void;
|
2266
2276
|
removeNode(node: GraphNode): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/gui-editor",
|
3
|
-
"version": "7.26.
|
3
|
+
"version": "7.26.2",
|
4
4
|
"main": "dist/babylon.guiEditor.max.js",
|
5
5
|
"module": "dist/babylon.guiEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.guiEditor.max.js",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
25
25
|
},
|
26
26
|
"devDependencies": {
|
27
|
-
"@babylonjs/core": "^7.26.
|
28
|
-
"@babylonjs/gui": "^7.26.
|
27
|
+
"@babylonjs/core": "^7.26.2",
|
28
|
+
"@babylonjs/gui": "^7.26.2",
|
29
29
|
"react": "^17.0.2",
|
30
30
|
"react-dom": "^17.0.2"
|
31
31
|
},
|