babylonjs-node-editor 7.6.0 → 7.6.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.
@@ -408,7 +408,7 @@ declare module BABYLON.NodeEditor {
408
408
  getPortByName(name: string): BABYLON.NodeEditor.SharedUIComponents.IPortData | null;
409
409
  dispose(): void;
410
410
  prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
411
- get invisibleEndpoints(): import("core/Materials/Node/Blocks").NodeMaterialTeleportOutBlock[] | null;
411
+ get invisibleEndpoints(): BABYLON.NodeMaterialTeleportOutBlock[] | null;
412
412
  constructor(data: BABYLON.NodeMaterialBlock, nodeContainer: BABYLON.NodeEditor.SharedUIComponents.INodeContainer);
413
413
  }
414
414
 
@@ -1219,7 +1219,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1219
1219
  disabled?: boolean;
1220
1220
  lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
1221
1221
  }
1222
- export class ColorComponentEntry extends React.Component<IColorComponentEntryProps> {
1222
+ export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
1223
1223
  constructor(props: IColorComponentEntryProps);
1224
1224
  updateValue(valueString: string): void;
1225
1225
  lock(): void;
@@ -1237,7 +1237,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1237
1237
  /**
1238
1238
  * Interface used to specify creation options for color picker
1239
1239
  */
1240
- export interface IColorPickerProps {
1240
+ export interface IColorPickerComponentProps {
1241
1241
  color: BABYLON.Color3 | BABYLON.Color4;
1242
1242
  linearhint?: boolean;
1243
1243
  debugMode?: boolean;
@@ -1255,13 +1255,13 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1255
1255
  /**
1256
1256
  * Class used to create a color picker
1257
1257
  */
1258
- export class ColorPicker extends React.Component<IColorPickerProps, IColorPickerState> {
1258
+ export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
1259
1259
  private _saturationRef;
1260
1260
  private _hueRef;
1261
1261
  private _isSaturationPointerDown;
1262
1262
  private _isHuePointerDown;
1263
- constructor(props: IColorPickerProps);
1264
- shouldComponentUpdate(nextProps: IColorPickerProps, nextState: IColorPickerState): boolean;
1263
+ constructor(props: IColorPickerComponentProps);
1264
+ shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
1265
1265
  onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
1266
1266
  onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
1267
1267
  onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
@@ -1288,7 +1288,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1288
1288
  onChange: (value: string) => void;
1289
1289
  lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
1290
1290
  }
1291
- export class HexColor extends React.Component<IHexColorProps, {
1291
+ export class HexColorComponent extends React.Component<IHexColorProps, {
1292
1292
  hex: string;
1293
1293
  }> {
1294
1294
  constructor(props: IHexColorProps);
@@ -1800,7 +1800,7 @@ declare module BABYLON.NodeEditor {
1800
1800
 
1801
1801
  }
1802
1802
  declare module BABYLON.NodeEditor.SharedUIComponents {
1803
- export interface IColorPickerComponentProps {
1803
+ export interface IColorPickerLineComponentProps {
1804
1804
  value: BABYLON.Color4 | BABYLON.Color3;
1805
1805
  linearHint?: boolean;
1806
1806
  onColorChanged: (newOne: string) => void;
@@ -1815,14 +1815,14 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1815
1815
  color: BABYLON.Color3 | BABYLON.Color4;
1816
1816
  hex: string;
1817
1817
  }
1818
- export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
1818
+ export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
1819
1819
  private _floatRef;
1820
1820
  private _floatHostRef;
1821
1821
  private _coverRef;
1822
- constructor(props: IColorPickerComponentProps);
1822
+ constructor(props: IColorPickerLineComponentProps);
1823
1823
  syncPositions(): void;
1824
- shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
1825
- getHexString(props?: Readonly<IColorPickerComponentProps> & Readonly<{
1824
+ shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
1825
+ getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
1826
1826
  children?: React.ReactNode;
1827
1827
  }>): string;
1828
1828
  componentDidUpdate(): void;
@@ -2106,7 +2106,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2106
2106
  highlighted?: boolean;
2107
2107
  parentContainerId: string;
2108
2108
  }
2109
- export var GraphNode: React.FC<IGraphNodeProps>;
2109
+ export var SingleGraphNode: React.FC<IGraphNodeProps>;
2110
2110
 
2111
2111
 
2112
2112
 
@@ -2393,7 +2393,7 @@ declare module BABYLON.NodeEditor {
2393
2393
 
2394
2394
  }
2395
2395
  declare module BABYLON.NodeEditor.SharedUIComponents {
2396
- export interface IColorLineComponentProps {
2396
+ export interface IColorLineProps {
2397
2397
  label: string;
2398
2398
  target?: any;
2399
2399
  propertyName: string;
@@ -2409,10 +2409,10 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2409
2409
  isExpanded: boolean;
2410
2410
  color: BABYLON.Color4;
2411
2411
  }
2412
- export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
2413
- constructor(props: IColorLineComponentProps);
2414
- shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
2415
- getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
2412
+ export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
2413
+ constructor(props: IColorLineProps);
2414
+ shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
2415
+ getValue(props?: Readonly<IColorLineProps> & Readonly<{
2416
2416
  children?: React.ReactNode;
2417
2417
  }>): BABYLON.Color4;
2418
2418
  setColorFromString(colorString: string): void;
@@ -2435,7 +2435,7 @@ declare module BABYLON.NodeEditor {
2435
2435
 
2436
2436
  }
2437
2437
  declare module BABYLON.NodeEditor.SharedUIComponents {
2438
- export interface IColorPickerComponentProps {
2438
+ export interface IColorPickerLineProps {
2439
2439
  value: BABYLON.Color4 | BABYLON.Color3;
2440
2440
  linearHint?: boolean;
2441
2441
  onColorChanged: (newOne: string) => void;
@@ -2449,13 +2449,13 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2449
2449
  color: BABYLON.Color3 | BABYLON.Color4;
2450
2450
  hex: string;
2451
2451
  }
2452
- export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
2452
+ export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
2453
2453
  private _floatRef;
2454
2454
  private _floatHostRef;
2455
- constructor(props: IColorPickerComponentProps);
2455
+ constructor(props: IColorPickerLineProps);
2456
2456
  syncPositions(): void;
2457
- shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
2458
- getHexString(props?: Readonly<IColorPickerComponentProps> & Readonly<{
2457
+ shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
2458
+ getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
2459
2459
  children?: React.ReactNode;
2460
2460
  }>): string;
2461
2461
  componentDidUpdate(): void;
@@ -2486,18 +2486,18 @@ declare module BABYLON.NodeEditor {
2486
2486
 
2487
2487
  }
2488
2488
  declare module BABYLON.NodeEditor.SharedUIComponents {
2489
- interface IFileButtonLineComponentProps {
2489
+ interface IFileButtonLineProps {
2490
2490
  label: string;
2491
2491
  onClick: (file: File) => void;
2492
2492
  accept: string;
2493
2493
  icon?: string;
2494
2494
  iconLabel?: string;
2495
2495
  }
2496
- export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
2496
+ export class FileButtonLine extends React.Component<IFileButtonLineProps> {
2497
2497
  private static _IDGenerator;
2498
2498
  private _id;
2499
2499
  private _uploadInputRef;
2500
- constructor(props: IFileButtonLineComponentProps);
2500
+ constructor(props: IFileButtonLineProps);
2501
2501
  onChange(evt: any): void;
2502
2502
  render(): import("react/jsx-runtime").JSX.Element;
2503
2503
  }
@@ -2815,7 +2815,7 @@ declare module BABYLON.NodeEditor {
2815
2815
 
2816
2816
  }
2817
2817
  declare module BABYLON.NodeEditor.SharedUIComponents {
2818
- interface INumericInputComponentProps {
2818
+ interface INumericInputProps {
2819
2819
  label: string;
2820
2820
  value: number;
2821
2821
  step?: number;
@@ -2825,16 +2825,16 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2825
2825
  iconLabel?: string;
2826
2826
  lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2827
2827
  }
2828
- export class NumericInputComponent extends React.Component<INumericInputComponentProps, {
2828
+ export class NumericInput extends React.Component<INumericInputProps, {
2829
2829
  value: string;
2830
2830
  }> {
2831
2831
  static defaultProps: {
2832
2832
  step: number;
2833
2833
  };
2834
2834
  private _localChange;
2835
- constructor(props: INumericInputComponentProps);
2835
+ constructor(props: INumericInputProps);
2836
2836
  componentWillUnmount(): void;
2837
- shouldComponentUpdate(nextProps: INumericInputComponentProps, nextState: {
2837
+ shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
2838
2838
  value: string;
2839
2839
  }): boolean;
2840
2840
  updateValue(valueString: string): void;
@@ -2852,7 +2852,7 @@ declare module BABYLON.NodeEditor {
2852
2852
  }
2853
2853
  declare module BABYLON.NodeEditor.SharedUIComponents {
2854
2854
  export var Null_Value: number;
2855
- export interface IOptionsLineComponentProps {
2855
+ export interface IOptionsLineProps {
2856
2856
  label: string;
2857
2857
  target: any;
2858
2858
  propertyName: string;
@@ -2868,15 +2868,15 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2868
2868
  valuesAreStrings?: boolean;
2869
2869
  defaultIfNull?: number;
2870
2870
  }
2871
- export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
2871
+ export class OptionsLine extends React.Component<IOptionsLineProps, {
2872
2872
  value: number | string;
2873
2873
  }> {
2874
2874
  private _localChange;
2875
2875
  private _remapValueIn;
2876
2876
  private _remapValueOut;
2877
2877
  private _getValue;
2878
- constructor(props: IOptionsLineComponentProps);
2879
- shouldComponentUpdate(nextProps: IOptionsLineComponentProps, nextState: {
2878
+ constructor(props: IOptionsLineProps);
2879
+ shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
2880
2880
  value: number;
2881
2881
  }): boolean;
2882
2882
  raiseOnPropertyChanged(newValue: number, previousValue: number): void;