babylonjs-gui-editor 7.26.0 → 7.26.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.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
|
@@ -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;
|
|
@@ -6410,6 +6420,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6410
6420
|
get nodeB(): BABYLON.GuiEditor.SharedUIComponents.GraphNode | undefined;
|
|
6411
6421
|
intersectsWith(rect: DOMRect): boolean;
|
|
6412
6422
|
update(endX?: number, endY?: number, straight?: boolean): void;
|
|
6423
|
+
get path(): SVGPathElement;
|
|
6424
|
+
get selectionPath(): SVGPathElement;
|
|
6413
6425
|
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);
|
|
6414
6426
|
onClick(evt: MouseEvent): void;
|
|
6415
6427
|
dispose(notify?: boolean): void;
|
|
@@ -6494,6 +6506,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6494
6506
|
set enclosingFrameId(value: number);
|
|
6495
6507
|
set isSelected(value: boolean);
|
|
6496
6508
|
setIsSelected(value: boolean, marqueeSelection: boolean): void;
|
|
6509
|
+
get rootElement(): HTMLDivElement;
|
|
6497
6510
|
constructor(content: BABYLON.GuiEditor.SharedUIComponents.INodeData, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager);
|
|
6498
6511
|
isOverlappingFrame(frame: BABYLON.GuiEditor.SharedUIComponents.GraphFrame): boolean;
|
|
6499
6512
|
getPortForPortData(portData: BABYLON.GuiEditor.SharedUIComponents.IPortData): BABYLON.GuiEditor.SharedUIComponents.NodePort | null;
|
|
@@ -6543,6 +6556,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6543
6556
|
private _headerTextElement;
|
|
6544
6557
|
private _headerCollapseElement;
|
|
6545
6558
|
private _headerCloseElement;
|
|
6559
|
+
private _headerFocusElement;
|
|
6546
6560
|
private _commentsElement;
|
|
6547
6561
|
private _portContainer;
|
|
6548
6562
|
private _outputPortContainer;
|
|
@@ -6572,6 +6586,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6572
6586
|
private readonly _closeSVG;
|
|
6573
6587
|
private readonly _expandSVG;
|
|
6574
6588
|
private readonly _collapseSVG;
|
|
6589
|
+
private readonly _focusSVG;
|
|
6575
6590
|
get id(): number;
|
|
6576
6591
|
get isCollapsed(): boolean;
|
|
6577
6592
|
private _createInputPort;
|
|
@@ -6600,6 +6615,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6600
6615
|
get comments(): string;
|
|
6601
6616
|
set comments(comments: string);
|
|
6602
6617
|
constructor(candidate: Nullable<HTMLDivElement>, canvas: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent, doNotCaptureNodes?: boolean);
|
|
6618
|
+
private _isFocused;
|
|
6619
|
+
/**
|
|
6620
|
+
* Enter/leave focus mode
|
|
6621
|
+
*/
|
|
6622
|
+
switchFocusMode(): void;
|
|
6603
6623
|
refresh(): void;
|
|
6604
6624
|
addNode(node: BABYLON.GuiEditor.SharedUIComponents.GraphNode): void;
|
|
6605
6625
|
removeNode(node: BABYLON.GuiEditor.SharedUIComponents.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.1",
|
|
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.26.
|
|
18
|
-
"babylonjs-gui": "^7.26.
|
|
17
|
+
"babylonjs": "^7.26.1",
|
|
18
|
+
"babylonjs-gui": "^7.26.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"react": "^17.0.2",
|
|
28
28
|
"react-contextmenu": "RaananW/react-contextmenu",
|
|
29
29
|
"react-dom": "^17.0.2",
|
|
30
|
-
"sass-loader": "^
|
|
30
|
+
"sass-loader": "^16.0.0",
|
|
31
31
|
"source-map-loader": "^4.0.0",
|
|
32
32
|
"ts-loader": "^9.2.6",
|
|
33
33
|
"webpack": "^5.73.0",
|