babylonjs-gui-editor 6.15.0 → 6.16.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.
@@ -2686,7 +2686,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2686
2686
  private _store;
2687
2687
  constructor(props: IFloatLineComponentProps);
2688
2688
  componentWillUnmount(): void;
2689
- getValueString(value: any): string;
2689
+ getValueString(value: any, props: IFloatLineComponentProps): string;
2690
2690
  shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
2691
2691
  value: string;
2692
2692
  dragging: boolean;
@@ -3671,6 +3671,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3671
3671
  private _outputsContainer;
3672
3672
  private _content;
3673
3673
  private _comments;
3674
+ private _executionTime;
3674
3675
  private _selectionBorder;
3675
3676
  private _inputPorts;
3676
3677
  private _outputPorts;
@@ -3686,6 +3687,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3686
3687
  private _onSelectionBoxMovedObserver;
3687
3688
  private _onFrameCreatedObserver;
3688
3689
  private _onUpdateRequiredObserver;
3690
+ private _onHighlightNodeObserver;
3689
3691
  private _ownerCanvas;
3690
3692
  private _isSelected;
3691
3693
  private _displayManager;
@@ -3749,6 +3751,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3749
3751
  updateFullVisualContent?(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, visualContent: VisualContentDescription): void;
3750
3752
  getBackgroundColor(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
3751
3753
  getHeaderText(data: BABYLON.GuiEditor.SharedUIComponents.INodeData): string;
3754
+ onSelectionChanged?(data: BABYLON.GuiEditor.SharedUIComponents.INodeData, selectedData: Nullable<BABYLON.GuiEditor.SharedUIComponents.INodeData>, manager: BABYLON.GuiEditor.SharedUIComponents.StateManager): void;
3755
+ onDispose?(nodeData: BABYLON.GuiEditor.SharedUIComponents.INodeData, manager: BABYLON.GuiEditor.SharedUIComponents.StateManager): void;
3752
3756
  }
3753
3757
 
3754
3758
 
@@ -3776,12 +3780,16 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
3776
3780
  uniqueId: number;
3777
3781
  isInput: boolean;
3778
3782
  comments: string;
3783
+ executionTime?: number;
3784
+ refreshCallback?: () => void;
3779
3785
  prepareHeaderIcon: (iconDiv: HTMLDivElement, img: HTMLImageElement) => void;
3780
3786
  getClassName: () => string;
3781
3787
  dispose: () => void;
3782
3788
  getPortByName: (name: string) => Nullable<BABYLON.GuiEditor.SharedUIComponents.IPortData>;
3783
3789
  inputs: BABYLON.GuiEditor.SharedUIComponents.IPortData[];
3784
3790
  outputs: BABYLON.GuiEditor.SharedUIComponents.IPortData[];
3791
+ invisibleEndpoints?: Nullable<any[]>;
3792
+ isConnectedToOutput?: () => boolean;
3785
3793
  }
3786
3794
 
3787
3795
 
@@ -4021,11 +4029,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4021
4029
  onFrameCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>;
4022
4030
  onUpdateRequiredObservable: Observable<any>;
4023
4031
  onGraphNodeRemovalObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
4024
- onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
4032
+ onSelectionBoxMoved: Observable<DOMRect | ClientRect>;
4025
4033
  onCandidateLinkMoved: Observable<Nullable<Vector2>>;
4026
4034
  onCandidatePortSelectedObservable: Observable<Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort>>;
4027
4035
  onNewNodeCreatedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
4028
- onRebuildRequiredObservable: Observable<boolean>;
4036
+ onRebuildRequiredObservable: Observable<void>;
4029
4037
  onErrorMessageDialogRequiredObservable: Observable<string>;
4030
4038
  onExposePortOnFrameObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.GraphNode>;
4031
4039
  onGridSizeChanged: Observable<void>;
@@ -4036,6 +4044,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
4036
4044
  needRepositioning?: boolean | undefined;
4037
4045
  smartAdd?: boolean | undefined;
4038
4046
  }>;
4047
+ onHighlightNodeObservable: Observable<{
4048
+ data: any;
4049
+ active: boolean;
4050
+ }>;
4039
4051
  exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
4040
4052
  isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
4041
4053
  applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement) => void;
@@ -4057,7 +4069,7 @@ declare module BABYLON {
4057
4069
  }
4058
4070
  declare module BABYLON.GuiEditor.SharedUIComponents {
4059
4071
  export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.GuiEditor.SharedUIComponents.FramePortData;
4060
- export const RefreshNode: (node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.GuiEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.GuiEditor.SharedUIComponents.NodeLink>) => void;
4072
+ export const RefreshNode: (node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.GuiEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.GuiEditor.SharedUIComponents.NodeLink>, canvas?: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent) => void;
4061
4073
 
4062
4074
 
4063
4075