babylonjs-node-geometry-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.
@@ -1418,7 +1418,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1418
1418
  exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => string;
1419
1419
  isElbowConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
1420
1420
  isDebugConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
1421
- applyNodePortDesign: (data: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
1421
+ applyNodePortDesign: (data: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
1422
1422
  getPortColor: (portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData) => string;
1423
1423
  storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => void;
1424
1424
  getEditorDataMap: () => {
@@ -1492,7 +1492,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1492
1492
  node: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode;
1493
1493
  protected _element: HTMLDivElement;
1494
1494
  protected _portContainer: HTMLElement;
1495
- protected _imgHost: HTMLDivElement;
1495
+ protected _imgHost: HTMLImageElement;
1496
1496
  protected _pip: HTMLDivElement;
1497
1497
  protected _stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager;
1498
1498
  protected _portLabelElement: Element;
@@ -2381,6 +2381,33 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2381
2381
 
2382
2382
 
2383
2383
 
2384
+ }
2385
+ declare module BABYLON.NodeGeometryEditor {
2386
+
2387
+
2388
+ }
2389
+ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2390
+ interface ITextureButtonLineProps {
2391
+ label: string;
2392
+ scene: BABYLON.Scene;
2393
+ onClick: (file: File) => void;
2394
+ onLink: (texture: BABYLON.BaseTexture) => void;
2395
+ accept: string;
2396
+ }
2397
+ interface ITextureButtonLineState {
2398
+ isOpen: boolean;
2399
+ }
2400
+ export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
2401
+ private static _IDGenerator;
2402
+ private _id;
2403
+ private _uploadInputRef;
2404
+ constructor(props: ITextureButtonLineProps);
2405
+ onChange(evt: any): void;
2406
+ render(): import("react/jsx-runtime").JSX.Element;
2407
+ }
2408
+
2409
+
2410
+
2384
2411
  }
2385
2412
  declare module BABYLON.NodeGeometryEditor {
2386
2413