@babylonjs/inspector 5.21.0 → 5.23.0
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.
@@ -4474,6 +4474,7 @@ import * as React from "react";
|
|
4474
4474
|
export interface MessageDialogProps {
|
4475
4475
|
message: string;
|
4476
4476
|
isError: boolean;
|
4477
|
+
onClose?: () => void;
|
4477
4478
|
}
|
4478
4479
|
export const MessageDialog: React.FC<MessageDialogProps>;
|
4479
4480
|
|
@@ -5425,7 +5426,6 @@ import { StateManager } from "@babylonjs/inspector/nodeGraphSystem/stateManager"
|
|
5425
5426
|
import { INodeData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/nodeData";
|
5426
5427
|
import { IPortData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/portData";
|
5427
5428
|
import { INodeContainer } from "@babylonjs/inspector/nodeGraphSystem/interfaces/nodeContainer";
|
5428
|
-
import "@babylonjs/inspector/nodeGraphSystem/scss/graphCanvas.scss";
|
5429
5429
|
export interface IGraphCanvasComponentProps {
|
5430
5430
|
stateManager: StateManager;
|
5431
5431
|
onEmitNewNode: (nodeData: INodeData) => GraphNode;
|
@@ -5706,6 +5706,7 @@ export class GraphNode {
|
|
5706
5706
|
private _outputsContainer;
|
5707
5707
|
private _content;
|
5708
5708
|
private _comments;
|
5709
|
+
private _selectionBorder;
|
5709
5710
|
private _inputPorts;
|
5710
5711
|
private _outputPorts;
|
5711
5712
|
private _links;
|
@@ -5768,10 +5769,14 @@ export class GraphNode {
|
|
5768
5769
|
declare module "@babylonjs/inspector/nodeGraphSystem/interfaces/displayManager" {
|
5769
5770
|
import { INodeData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/nodeData";
|
5770
5771
|
import { IPortData } from "@babylonjs/inspector/nodeGraphSystem/interfaces/portData";
|
5772
|
+
export interface VisualContentDescription {
|
5773
|
+
[key: string]: HTMLElement;
|
5774
|
+
}
|
5771
5775
|
export interface IDisplayManager {
|
5772
5776
|
getHeaderClass(data: INodeData): string;
|
5773
5777
|
shouldDisplayPortLabels(data: IPortData): boolean;
|
5774
5778
|
updatePreviewContent(data: INodeData, contentArea: HTMLDivElement): void;
|
5779
|
+
updateFullVisualContent?(data: INodeData, visualContent: VisualContentDescription): void;
|
5775
5780
|
getBackgroundColor(data: INodeData): string;
|
5776
5781
|
getHeaderText(data: INodeData): string;
|
5777
5782
|
}
|
@@ -6011,10 +6016,10 @@ export class StateManager {
|
|
6011
6016
|
getEditorDataMap: () => {
|
6012
6017
|
[key: number]: number;
|
6013
6018
|
};
|
6014
|
-
createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => {
|
6019
|
+
createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => Nullable<{
|
6015
6020
|
data: INodeData;
|
6016
6021
|
name: string;
|
6017
|
-
}
|
6022
|
+
}>;
|
6018
6023
|
}
|
6019
6024
|
|
6020
6025
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.23.0",
|
4
4
|
"module": "dist/babylon.inspector.bundle.max.js",
|
5
5
|
"main": "dist/babylon.inspector.bundle.max.js",
|
6
6
|
"typings": "dist/babylon.inspector.module.d.ts",
|
@@ -22,22 +22,22 @@
|
|
22
22
|
"@fortawesome/free-solid-svg-icons": "^6.0.0"
|
23
23
|
},
|
24
24
|
"peerDependencies": {
|
25
|
-
"@babylonjs/core": "^5.
|
26
|
-
"@babylonjs/gui": "^5.
|
27
|
-
"@babylonjs/gui-editor": "^5.
|
28
|
-
"@babylonjs/loaders": "^5.
|
29
|
-
"@babylonjs/materials": "^5.
|
30
|
-
"@babylonjs/serializers": "^5.
|
25
|
+
"@babylonjs/core": "^5.22.0",
|
26
|
+
"@babylonjs/gui": "^5.22.0",
|
27
|
+
"@babylonjs/gui-editor": "^5.22.0",
|
28
|
+
"@babylonjs/loaders": "^5.22.0",
|
29
|
+
"@babylonjs/materials": "^5.22.0",
|
30
|
+
"@babylonjs/serializers": "^5.22.0",
|
31
31
|
"@types/react": ">=16.7.3",
|
32
32
|
"@types/react-dom": ">=16.0.9"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@babylonjs/core": "^5.
|
36
|
-
"@babylonjs/gui": "^5.
|
37
|
-
"@babylonjs/gui-editor": "^5.
|
38
|
-
"@babylonjs/loaders": "^5.
|
39
|
-
"@babylonjs/materials": "^5.
|
40
|
-
"@babylonjs/serializers": "^5.
|
35
|
+
"@babylonjs/core": "^5.23.0",
|
36
|
+
"@babylonjs/gui": "^5.23.0",
|
37
|
+
"@babylonjs/gui-editor": "^5.23.0",
|
38
|
+
"@babylonjs/loaders": "^5.23.0",
|
39
|
+
"@babylonjs/materials": "^5.23.0",
|
40
|
+
"@babylonjs/serializers": "^5.23.0",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2",
|