babylonjs-inspector 5.22.1 → 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.
package/babylon.inspector.d.ts
CHANGED
|
@@ -3521,6 +3521,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
3521
3521
|
export interface MessageDialogProps {
|
|
3522
3522
|
message: string;
|
|
3523
3523
|
isError: boolean;
|
|
3524
|
+
onClose?: () => void;
|
|
3524
3525
|
}
|
|
3525
3526
|
export var MessageDialog: React.FC<MessageDialogProps>;
|
|
3526
3527
|
|
|
@@ -4812,6 +4813,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4812
4813
|
private _outputsContainer;
|
|
4813
4814
|
private _content;
|
|
4814
4815
|
private _comments;
|
|
4816
|
+
private _selectionBorder;
|
|
4815
4817
|
private _inputPorts;
|
|
4816
4818
|
private _outputPorts;
|
|
4817
4819
|
private _links;
|
|
@@ -4877,10 +4879,14 @@ declare module INSPECTOR {
|
|
|
4877
4879
|
|
|
4878
4880
|
}
|
|
4879
4881
|
declare module INSPECTOR.SharedUIComponents {
|
|
4880
|
-
export interface
|
|
4882
|
+
export interface VisualContentDescription {
|
|
4883
|
+
[key: string]: HTMLElement;
|
|
4884
|
+
}
|
|
4885
|
+
export interface IDisplayManager {
|
|
4881
4886
|
getHeaderClass(data: INSPECTOR.SharedUIComponents.INodeData): string;
|
|
4882
4887
|
shouldDisplayPortLabels(data: INSPECTOR.SharedUIComponents.IPortData): boolean;
|
|
4883
4888
|
updatePreviewContent(data: INSPECTOR.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
|
|
4889
|
+
updateFullVisualContent?(data: INSPECTOR.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
|
|
4884
4890
|
getBackgroundColor(data: INSPECTOR.SharedUIComponents.INodeData): string;
|
|
4885
4891
|
getHeaderText(data: INSPECTOR.SharedUIComponents.INodeData): string;
|
|
4886
4892
|
}
|
|
@@ -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
|
}
|
|
@@ -9964,6 +9969,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
9964
9969
|
export interface MessageDialogProps {
|
|
9965
9970
|
message: string;
|
|
9966
9971
|
isError: boolean;
|
|
9972
|
+
onClose?: () => void;
|
|
9967
9973
|
}
|
|
9968
9974
|
export var MessageDialog: React.FC<MessageDialogProps>;
|
|
9969
9975
|
|
|
@@ -11255,6 +11261,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
11255
11261
|
private _outputsContainer;
|
|
11256
11262
|
private _content;
|
|
11257
11263
|
private _comments;
|
|
11264
|
+
private _selectionBorder;
|
|
11258
11265
|
private _inputPorts;
|
|
11259
11266
|
private _outputPorts;
|
|
11260
11267
|
private _links;
|
|
@@ -11320,10 +11327,14 @@ declare module INSPECTOR {
|
|
|
11320
11327
|
|
|
11321
11328
|
}
|
|
11322
11329
|
declare module INSPECTOR.SharedUIComponents {
|
|
11323
|
-
export interface
|
|
11330
|
+
export interface VisualContentDescription {
|
|
11331
|
+
[key: string]: HTMLElement;
|
|
11332
|
+
}
|
|
11333
|
+
export interface IDisplayManager {
|
|
11324
11334
|
getHeaderClass(data: INSPECTOR.SharedUIComponents.INodeData): string;
|
|
11325
11335
|
shouldDisplayPortLabels(data: INSPECTOR.SharedUIComponents.IPortData): boolean;
|
|
11326
11336
|
updatePreviewContent(data: INSPECTOR.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
|
|
11337
|
+
updateFullVisualContent?(data: INSPECTOR.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
|
|
11327
11338
|
getBackgroundColor(data: INSPECTOR.SharedUIComponents.INodeData): string;
|
|
11328
11339
|
getHeaderText(data: INSPECTOR.SharedUIComponents.INodeData): string;
|
|
11329
11340
|
}
|
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
|
"main": "babylon.inspector.bundle.max.js",
|
|
5
5
|
"types": "babylon.inspector.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
18
|
-
"babylonjs-gui": "^5.
|
|
19
|
-
"babylonjs-gui-editor": "^5.
|
|
20
|
-
"babylonjs-loaders": "^5.
|
|
21
|
-
"babylonjs-materials": "^5.
|
|
22
|
-
"babylonjs-serializers": "^5.
|
|
17
|
+
"babylonjs": "^5.23.0",
|
|
18
|
+
"babylonjs-gui": "^5.23.0",
|
|
19
|
+
"babylonjs-gui-editor": "^5.23.0",
|
|
20
|
+
"babylonjs-loaders": "^5.23.0",
|
|
21
|
+
"babylonjs-materials": "^5.23.0",
|
|
22
|
+
"babylonjs-serializers": "^5.23.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|