babylonjs-gui-editor 7.54.0 → 7.54.2

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.
@@ -1884,7 +1884,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1884
1884
  exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
1885
1885
  isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
1886
1886
  isDebugConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
1887
- applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
1887
+ applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
1888
1888
  getPortColor: (portData: BABYLON.GuiEditor.SharedUIComponents.IPortData) => string;
1889
1889
  storeEditorData: (serializationObject: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => void;
1890
1890
  getEditorDataMap: () => {
@@ -1958,7 +1958,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1958
1958
  node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
1959
1959
  protected _element: HTMLDivElement;
1960
1960
  protected _portContainer: HTMLElement;
1961
- protected _imgHost: HTMLDivElement;
1961
+ protected _imgHost: HTMLImageElement;
1962
1962
  protected _pip: HTMLDivElement;
1963
1963
  protected _stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
1964
1964
  protected _portLabelElement: Element;
@@ -2847,6 +2847,33 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2847
2847
 
2848
2848
 
2849
2849
 
2850
+ }
2851
+ declare module BABYLON {
2852
+
2853
+
2854
+ }
2855
+ declare module BABYLON.GuiEditor.SharedUIComponents {
2856
+ interface ITextureButtonLineProps {
2857
+ label: string;
2858
+ scene: Scene;
2859
+ onClick: (file: File) => void;
2860
+ onLink: (texture: BaseTexture) => void;
2861
+ accept: string;
2862
+ }
2863
+ interface ITextureButtonLineState {
2864
+ isOpen: boolean;
2865
+ }
2866
+ export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
2867
+ private static _IDGenerator;
2868
+ private _id;
2869
+ private _uploadInputRef;
2870
+ constructor(props: ITextureButtonLineProps);
2871
+ onChange(evt: any): void;
2872
+ render(): import("react/jsx-runtime").JSX.Element;
2873
+ }
2874
+
2875
+
2876
+
2850
2877
  }
2851
2878
  declare module BABYLON {
2852
2879