babylonjs-node-editor 5.20.0 → 5.21.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.
@@ -305,6 +305,8 @@ declare module BABYLON.NodeEditor {
305
305
  }
306
306
  interface IGraphEditorState {
307
307
  showPreviewPopUp: boolean;
308
+ message: string;
309
+ isError: boolean;
308
310
  }
309
311
  interface IInternalPreviewAreaOptions extends BABYLON.IInspectorOptions {
310
312
  popup: boolean;
@@ -882,18 +884,6 @@ declare module BABYLON.NodeEditor {
882
884
  }
883
885
 
884
886
 
885
- interface IMessageDialogComponentProps {
886
- globalState: GlobalState;
887
- }
888
- export class MessageDialogComponent extends React.Component<IMessageDialogComponentProps, {
889
- message: string;
890
- isError: boolean;
891
- }> {
892
- constructor(props: IMessageDialogComponentProps);
893
- render(): JSX.Element | null;
894
- }
895
-
896
-
897
887
  export class Popup {
898
888
  static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
899
889
  static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument): void;
@@ -1076,6 +1066,19 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1076
1066
 
1077
1067
 
1078
1068
 
1069
+ }
1070
+ declare module BABYLON.NodeEditor {
1071
+
1072
+ }
1073
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1074
+ export interface MessageDialogProps {
1075
+ message: string;
1076
+ isError: boolean;
1077
+ }
1078
+ export var MessageDialog: React.FC<MessageDialogProps>;
1079
+
1080
+
1081
+
1079
1082
  }
1080
1083
  declare module BABYLON.NodeEditor {
1081
1084
 
@@ -2781,6 +2784,21 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2781
2784
 
2782
2785
 
2783
2786
 
2787
+ }
2788
+ declare module BABYLON.NodeEditor {
2789
+
2790
+ }
2791
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2792
+ /// <reference types="react" />
2793
+ var _default: {
2794
+ title: string;
2795
+ component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.MessageDialogProps>;
2796
+ };
2797
+ export var NoError: any;
2798
+ export var Error: any;
2799
+
2800
+
2801
+
2784
2802
  }
2785
2803
  declare module BABYLON.NodeEditor {
2786
2804