babylonjs-gui-editor 5.20.0 → 5.22.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.
@@ -204,6 +204,7 @@ declare module BABYLON {
204
204
  grids: BABYLON.GUI.Grid[];
205
205
  lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
206
206
  onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
207
+ onUpdateRequiredObservable?: Observable<void>;
207
208
  }
208
209
  export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
209
210
  constructor(props: IGridPropertyGridComponentProps);
@@ -455,6 +456,7 @@ declare module BABYLON {
455
456
  private _onParrentingChangeObserver;
456
457
  private _onNewSceneObserver;
457
458
  private _onPropertyChangedObservable;
459
+ private _onUpdateRequiredObserver;
458
460
  constructor(props: ISceneExplorerComponentProps);
459
461
  componentDidMount(): void;
460
462
  componentWillUnmount(): void;
@@ -582,7 +584,7 @@ declare module BABYLON {
582
584
  }
583
585
 
584
586
 
585
- export type DimensionProperties = "width" | "left" | "height" | "top" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingBottom" | "fontSize";
587
+ export type DimensionProperties = "width" | "left" | "height" | "top" | "paddingLeft" | "paddingRight" | "paddingTop" | "paddingBottom" | "fontSize" | "linkOffsetX" | "linkOffsetY";
586
588
  export class Rect {
587
589
  top: number;
588
590
  left: number;
@@ -1014,18 +1016,6 @@ declare module BABYLON {
1014
1016
  }
1015
1017
 
1016
1018
 
1017
- interface IMessageDialogComponentProps {
1018
- globalState: GlobalState;
1019
- }
1020
- export class MessageDialogComponent extends React.Component<IMessageDialogComponentProps, {
1021
- message: string;
1022
- isError: boolean;
1023
- }> {
1024
- constructor(props: IMessageDialogComponentProps);
1025
- render(): JSX.Element | null;
1026
- }
1027
-
1028
-
1029
1019
  export class Tools {
1030
1020
  static LookForItems(item: any, selectedEntities: any[], firstIteration?: boolean): boolean;
1031
1021
  private static _RecursiveRemoveHiddenMeshesAndHoistChildren;
@@ -1041,6 +1031,7 @@ declare module BABYLON {
1041
1031
  interface IGraphEditorState {
1042
1032
  showPreviewPopUp: boolean;
1043
1033
  toolbarExpand: boolean;
1034
+ message: string;
1044
1035
  }
1045
1036
  export class WorkbenchEditor extends React.Component<IGraphEditorProps, IGraphEditorState> {
1046
1037
  private _moveInProgress;
@@ -1049,6 +1040,7 @@ declare module BABYLON {
1049
1040
  private _popUpWindow;
1050
1041
  private _draggedItem;
1051
1042
  private _rootRef;
1043
+ private _onErrorMessageObserver;
1052
1044
  componentDidMount(): void;
1053
1045
  componentWillUnmount(): void;
1054
1046
  addToolControls: (evt: KeyboardEvent) => void;
@@ -1226,6 +1218,19 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1226
1218
 
1227
1219
 
1228
1220
 
1221
+ }
1222
+ declare module BABYLON {
1223
+
1224
+ }
1225
+ declare module BABYLON.GuiEditor.SharedUIComponents {
1226
+ export interface MessageDialogProps {
1227
+ message: string;
1228
+ isError: boolean;
1229
+ }
1230
+ export var MessageDialog: React.FC<MessageDialogProps>;
1231
+
1232
+
1233
+
1229
1234
  }
1230
1235
  declare module BABYLON {
1231
1236
 
@@ -2829,10 +2834,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2829
2834
  getEditorDataMap: () => {
2830
2835
  [key: number]: number;
2831
2836
  };
2832
- createDefaultInputData: (rootData: any, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => {
2837
+ createDefaultInputData: (rootData: any, portData: BABYLON.GuiEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.GuiEditor.SharedUIComponents.INodeContainer) => Nullable<{
2833
2838
  data: BABYLON.GuiEditor.SharedUIComponents.INodeData;
2834
2839
  name: string;
2835
- };
2840
+ }>;
2836
2841
  }
2837
2842
 
2838
2843
 
@@ -2931,6 +2936,21 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2931
2936
 
2932
2937
 
2933
2938
 
2939
+ }
2940
+ declare module BABYLON {
2941
+
2942
+ }
2943
+ declare module BABYLON.GuiEditor.SharedUIComponents {
2944
+ /// <reference types="react" />
2945
+ var _default: {
2946
+ title: string;
2947
+ component: import("react").FC<BABYLON.GuiEditor.SharedUIComponents.MessageDialogProps>;
2948
+ };
2949
+ export var NoError: any;
2950
+ export var Error: any;
2951
+
2952
+
2953
+
2934
2954
  }
2935
2955
  declare module BABYLON {
2936
2956