babylonjs-node-editor 5.22.1 → 5.24.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.
@@ -440,7 +440,8 @@ declare module BABYLON.NodeEditor {
440
440
  shouldDisplayPortLabels(): boolean;
441
441
  getHeaderText(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
442
442
  getBackgroundColor(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
443
- updatePreviewContent(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
443
+ updatePreviewContent(_nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData, _contentArea: HTMLDivElement): void;
444
+ updateFullVisualContent(data: BABYLON.NodeEditor.SharedUIComponents.INodeData, visualContent: BABYLON.NodeEditor.SharedUIComponents.VisualContentDescription): void;
444
445
  }
445
446
 
446
447
 
@@ -465,7 +466,7 @@ declare module BABYLON.NodeEditor {
465
466
 
466
467
 
467
468
  export class InputDisplayManager implements BABYLON.NodeEditor.SharedUIComponents.IDisplayManager {
468
- getHeaderClass(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): "" | "constant" | "inspector";
469
+ getHeaderClass(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
469
470
  shouldDisplayPortLabels(): boolean;
470
471
  getHeaderText(nodeData: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
471
472
  static GetBaseType(type: BABYLON.NodeMaterialBlockConnectionPointTypes): string;
@@ -1074,6 +1075,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1074
1075
  export interface MessageDialogProps {
1075
1076
  message: string;
1076
1077
  isError: boolean;
1078
+ onClose?: () => void;
1077
1079
  }
1078
1080
  export var MessageDialog: React.FC<MessageDialogProps>;
1079
1081
 
@@ -2365,6 +2367,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2365
2367
  private _outputsContainer;
2366
2368
  private _content;
2367
2369
  private _comments;
2370
+ private _selectionBorder;
2368
2371
  private _inputPorts;
2369
2372
  private _outputPorts;
2370
2373
  private _links;
@@ -2430,10 +2433,14 @@ declare module BABYLON.NodeEditor {
2430
2433
 
2431
2434
  }
2432
2435
  declare module BABYLON.NodeEditor.SharedUIComponents {
2433
- export interface IDisplayManager {
2436
+ export interface VisualContentDescription {
2437
+ [key: string]: HTMLElement;
2438
+ }
2439
+ export interface IDisplayManager {
2434
2440
  getHeaderClass(data: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
2435
2441
  shouldDisplayPortLabels(data: BABYLON.NodeEditor.SharedUIComponents.IPortData): boolean;
2436
2442
  updatePreviewContent(data: BABYLON.NodeEditor.SharedUIComponents.INodeData, contentArea: HTMLDivElement): void;
2443
+ updateFullVisualContent?(data: BABYLON.NodeEditor.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
2437
2444
  getBackgroundColor(data: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
2438
2445
  getHeaderText(data: BABYLON.NodeEditor.SharedUIComponents.INodeData): string;
2439
2446
  }