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.
- package/babylon.nodeEditor.d.ts +34 -34
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +55 -47
- package/babylon.nodeEditor.module.d.ts +69 -68
- package/package.json +2 -2
|
@@ -606,6 +606,7 @@ import { NodeMaterialBlock } from "babylonjs/Materials/Node/nodeMaterialBlock";
|
|
|
606
606
|
import { INodeContainer } from "babylonjs-node-editor/nodeGraphSystem/interfaces/nodeContainer";
|
|
607
607
|
import { INodeData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/nodeData";
|
|
608
608
|
import { IPortData } from "babylonjs-node-editor/nodeGraphSystem/interfaces/portData";
|
|
609
|
+
import { NodeMaterialTeleportOutBlock } from "babylonjs/Materials/Node/Blocks/Teleport/teleportOutBlock";
|
|
609
610
|
export class BlockNodeData implements INodeData {
|
|
610
611
|
data: NodeMaterialBlock;
|
|
611
612
|
private _inputs;
|
|
@@ -621,7 +622,7 @@ export class BlockNodeData implements INodeData {
|
|
|
621
622
|
getPortByName(name: string): IPortData | null;
|
|
622
623
|
dispose(): void;
|
|
623
624
|
prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
|
|
624
|
-
get invisibleEndpoints():
|
|
625
|
+
get invisibleEndpoints(): NodeMaterialTeleportOutBlock[] | null;
|
|
625
626
|
constructor(data: NodeMaterialBlock, nodeContainer: INodeContainer);
|
|
626
627
|
}
|
|
627
628
|
|
|
@@ -1593,7 +1594,7 @@ export interface IColorComponentEntryProps {
|
|
|
1593
1594
|
disabled?: boolean;
|
|
1594
1595
|
lockObject: LockObject;
|
|
1595
1596
|
}
|
|
1596
|
-
export class
|
|
1597
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
1597
1598
|
constructor(props: IColorComponentEntryProps);
|
|
1598
1599
|
updateValue(valueString: string): void;
|
|
1599
1600
|
lock(): void;
|
|
@@ -1609,7 +1610,7 @@ import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject"
|
|
|
1609
1610
|
/**
|
|
1610
1611
|
* Interface used to specify creation options for color picker
|
|
1611
1612
|
*/
|
|
1612
|
-
export interface
|
|
1613
|
+
export interface IColorPickerComponentProps {
|
|
1613
1614
|
color: Color3 | Color4;
|
|
1614
1615
|
linearhint?: boolean;
|
|
1615
1616
|
debugMode?: boolean;
|
|
@@ -1627,13 +1628,13 @@ export interface IColorPickerState {
|
|
|
1627
1628
|
/**
|
|
1628
1629
|
* Class used to create a color picker
|
|
1629
1630
|
*/
|
|
1630
|
-
export class
|
|
1631
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
1631
1632
|
private _saturationRef;
|
|
1632
1633
|
private _hueRef;
|
|
1633
1634
|
private _isSaturationPointerDown;
|
|
1634
1635
|
private _isHuePointerDown;
|
|
1635
|
-
constructor(props:
|
|
1636
|
-
shouldComponentUpdate(nextProps:
|
|
1636
|
+
constructor(props: IColorPickerComponentProps);
|
|
1637
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
1637
1638
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1638
1639
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1639
1640
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -1657,7 +1658,7 @@ export interface IHexColorProps {
|
|
|
1657
1658
|
onChange: (value: string) => void;
|
|
1658
1659
|
lockObject: LockObject;
|
|
1659
1660
|
}
|
|
1660
|
-
export class
|
|
1661
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
1661
1662
|
hex: string;
|
|
1662
1663
|
}> {
|
|
1663
1664
|
constructor(props: IHexColorProps);
|
|
@@ -2116,7 +2117,7 @@ declare module "babylonjs-node-editor/components/lines/ColorPickerLineComponent"
|
|
|
2116
2117
|
import * as React from "react";
|
|
2117
2118
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
2118
2119
|
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2119
|
-
export interface
|
|
2120
|
+
export interface IColorPickerLineComponentProps {
|
|
2120
2121
|
value: Color4 | Color3;
|
|
2121
2122
|
linearHint?: boolean;
|
|
2122
2123
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2131,14 +2132,14 @@ interface IColorPickerComponentState {
|
|
|
2131
2132
|
color: Color3 | Color4;
|
|
2132
2133
|
hex: string;
|
|
2133
2134
|
}
|
|
2134
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
2135
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
2135
2136
|
private _floatRef;
|
|
2136
2137
|
private _floatHostRef;
|
|
2137
2138
|
private _coverRef;
|
|
2138
|
-
constructor(props:
|
|
2139
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
2139
2140
|
syncPositions(): void;
|
|
2140
|
-
shouldComponentUpdate(nextProps:
|
|
2141
|
-
getHexString(props?: Readonly<
|
|
2141
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
2142
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
2142
2143
|
children?: React.ReactNode;
|
|
2143
2144
|
}>): string;
|
|
2144
2145
|
componentDidUpdate(): void;
|
|
@@ -2383,7 +2384,7 @@ export interface IGraphNodeProps {
|
|
|
2383
2384
|
highlighted?: boolean;
|
|
2384
2385
|
parentContainerId: string;
|
|
2385
2386
|
}
|
|
2386
|
-
export const
|
|
2387
|
+
export const SingleGraphNode: FC<IGraphNodeProps>;
|
|
2387
2388
|
|
|
2388
2389
|
}
|
|
2389
2390
|
declare module "babylonjs-node-editor/components/reactGraphSystem/GraphNodesContainer" {
|
|
@@ -2632,7 +2633,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
2632
2633
|
import { Color4 } from "babylonjs/Maths/math.color";
|
|
2633
2634
|
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
2634
2635
|
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2635
|
-
export interface
|
|
2636
|
+
export interface IColorLineProps {
|
|
2636
2637
|
label: string;
|
|
2637
2638
|
target?: any;
|
|
2638
2639
|
propertyName: string;
|
|
@@ -2648,10 +2649,10 @@ interface IColorLineComponentState {
|
|
|
2648
2649
|
isExpanded: boolean;
|
|
2649
2650
|
color: Color4;
|
|
2650
2651
|
}
|
|
2651
|
-
export class
|
|
2652
|
-
constructor(props:
|
|
2653
|
-
shouldComponentUpdate(nextProps:
|
|
2654
|
-
getValue(props?: Readonly<
|
|
2652
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
2653
|
+
constructor(props: IColorLineProps);
|
|
2654
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
2655
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
2655
2656
|
children?: React.ReactNode;
|
|
2656
2657
|
}>): Color4;
|
|
2657
2658
|
setColorFromString(colorString: string): void;
|
|
@@ -2673,7 +2674,7 @@ declare module "babylonjs-node-editor/lines/colorPickerComponent" {
|
|
|
2673
2674
|
import * as React from "react";
|
|
2674
2675
|
import { Color4, Color3 } from "babylonjs/Maths/math.color";
|
|
2675
2676
|
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
2676
|
-
export interface
|
|
2677
|
+
export interface IColorPickerLineProps {
|
|
2677
2678
|
value: Color4 | Color3;
|
|
2678
2679
|
linearHint?: boolean;
|
|
2679
2680
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2687,13 +2688,13 @@ interface IColorPickerComponentState {
|
|
|
2687
2688
|
color: Color3 | Color4;
|
|
2688
2689
|
hex: string;
|
|
2689
2690
|
}
|
|
2690
|
-
export class
|
|
2691
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
2691
2692
|
private _floatRef;
|
|
2692
2693
|
private _floatHostRef;
|
|
2693
|
-
constructor(props:
|
|
2694
|
+
constructor(props: IColorPickerLineProps);
|
|
2694
2695
|
syncPositions(): void;
|
|
2695
|
-
shouldComponentUpdate(nextProps:
|
|
2696
|
-
getHexString(props?: Readonly<
|
|
2696
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
2697
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
2697
2698
|
children?: React.ReactNode;
|
|
2698
2699
|
}>): string;
|
|
2699
2700
|
componentDidUpdate(): void;
|
|
@@ -2717,18 +2718,18 @@ export class DraggableLineComponent extends React.Component<IButtonLineComponent
|
|
|
2717
2718
|
}
|
|
2718
2719
|
declare module "babylonjs-node-editor/lines/fileButtonLineComponent" {
|
|
2719
2720
|
import * as React from "react";
|
|
2720
|
-
interface
|
|
2721
|
+
interface IFileButtonLineProps {
|
|
2721
2722
|
label: string;
|
|
2722
2723
|
onClick: (file: File) => void;
|
|
2723
2724
|
accept: string;
|
|
2724
2725
|
icon?: string;
|
|
2725
2726
|
iconLabel?: string;
|
|
2726
2727
|
}
|
|
2727
|
-
export class
|
|
2728
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
2728
2729
|
private static _IDGenerator;
|
|
2729
2730
|
private _id;
|
|
2730
2731
|
private _uploadInputRef;
|
|
2731
|
-
constructor(props:
|
|
2732
|
+
constructor(props: IFileButtonLineProps);
|
|
2732
2733
|
onChange(evt: any): void;
|
|
2733
2734
|
|
|
2734
2735
|
}
|
|
@@ -3019,7 +3020,7 @@ export {};
|
|
|
3019
3020
|
declare module "babylonjs-node-editor/lines/numericInputComponent" {
|
|
3020
3021
|
import * as React from "react";
|
|
3021
3022
|
import { LockObject } from "babylonjs-node-editor/tabs/propertyGrids/lockObject";
|
|
3022
|
-
interface
|
|
3023
|
+
interface INumericInputProps {
|
|
3023
3024
|
label: string;
|
|
3024
3025
|
value: number;
|
|
3025
3026
|
step?: number;
|
|
@@ -3029,16 +3030,16 @@ interface INumericInputComponentProps {
|
|
|
3029
3030
|
iconLabel?: string;
|
|
3030
3031
|
lockObject: LockObject;
|
|
3031
3032
|
}
|
|
3032
|
-
export class
|
|
3033
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
3033
3034
|
value: string;
|
|
3034
3035
|
}> {
|
|
3035
3036
|
static defaultProps: {
|
|
3036
3037
|
step: number;
|
|
3037
3038
|
};
|
|
3038
3039
|
private _localChange;
|
|
3039
|
-
constructor(props:
|
|
3040
|
+
constructor(props: INumericInputProps);
|
|
3040
3041
|
componentWillUnmount(): void;
|
|
3041
|
-
shouldComponentUpdate(nextProps:
|
|
3042
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
3042
3043
|
value: string;
|
|
3043
3044
|
}): boolean;
|
|
3044
3045
|
updateValue(valueString: string): void;
|
|
@@ -3056,7 +3057,7 @@ import { Observable } from "babylonjs/Misc/observable";
|
|
|
3056
3057
|
import { PropertyChangedEvent } from "babylonjs-node-editor/propertyChangedEvent";
|
|
3057
3058
|
import { IInspectableOptions } from "babylonjs/Misc/iInspectable";
|
|
3058
3059
|
export const Null_Value: number;
|
|
3059
|
-
export interface
|
|
3060
|
+
export interface IOptionsLineProps {
|
|
3060
3061
|
label: string;
|
|
3061
3062
|
target: any;
|
|
3062
3063
|
propertyName: string;
|
|
@@ -3072,15 +3073,15 @@ export interface IOptionsLineComponentProps {
|
|
|
3072
3073
|
valuesAreStrings?: boolean;
|
|
3073
3074
|
defaultIfNull?: number;
|
|
3074
3075
|
}
|
|
3075
|
-
export class
|
|
3076
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
3076
3077
|
value: number | string;
|
|
3077
3078
|
}> {
|
|
3078
3079
|
private _localChange;
|
|
3079
3080
|
private _remapValueIn;
|
|
3080
3081
|
private _remapValueOut;
|
|
3081
3082
|
private _getValue;
|
|
3082
|
-
constructor(props:
|
|
3083
|
-
shouldComponentUpdate(nextProps:
|
|
3083
|
+
constructor(props: IOptionsLineProps);
|
|
3084
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
3084
3085
|
value: number;
|
|
3085
3086
|
}): boolean;
|
|
3086
3087
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
@@ -4897,7 +4898,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4897
4898
|
getPortByName(name: string): BABYLON.NodeEditor.SharedUIComponents.IPortData | null;
|
|
4898
4899
|
dispose(): void;
|
|
4899
4900
|
prepareHeaderIcon(iconDiv: HTMLDivElement, img: HTMLImageElement): void;
|
|
4900
|
-
get invisibleEndpoints():
|
|
4901
|
+
get invisibleEndpoints(): BABYLON.NodeMaterialTeleportOutBlock[] | null;
|
|
4901
4902
|
constructor(data: BABYLON.NodeMaterialBlock, nodeContainer: BABYLON.NodeEditor.SharedUIComponents.INodeContainer);
|
|
4902
4903
|
}
|
|
4903
4904
|
|
|
@@ -5708,7 +5709,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5708
5709
|
disabled?: boolean;
|
|
5709
5710
|
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
5710
5711
|
}
|
|
5711
|
-
export class
|
|
5712
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
5712
5713
|
constructor(props: IColorComponentEntryProps);
|
|
5713
5714
|
updateValue(valueString: string): void;
|
|
5714
5715
|
lock(): void;
|
|
@@ -5726,7 +5727,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5726
5727
|
/**
|
|
5727
5728
|
* Interface used to specify creation options for color picker
|
|
5728
5729
|
*/
|
|
5729
|
-
export interface
|
|
5730
|
+
export interface IColorPickerComponentProps {
|
|
5730
5731
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
5731
5732
|
linearhint?: boolean;
|
|
5732
5733
|
debugMode?: boolean;
|
|
@@ -5744,13 +5745,13 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5744
5745
|
/**
|
|
5745
5746
|
* Class used to create a color picker
|
|
5746
5747
|
*/
|
|
5747
|
-
export class
|
|
5748
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
5748
5749
|
private _saturationRef;
|
|
5749
5750
|
private _hueRef;
|
|
5750
5751
|
private _isSaturationPointerDown;
|
|
5751
5752
|
private _isHuePointerDown;
|
|
5752
|
-
constructor(props:
|
|
5753
|
-
shouldComponentUpdate(nextProps:
|
|
5753
|
+
constructor(props: IColorPickerComponentProps);
|
|
5754
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
5754
5755
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
5755
5756
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
5756
5757
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -5777,7 +5778,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5777
5778
|
onChange: (value: string) => void;
|
|
5778
5779
|
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
5779
5780
|
}
|
|
5780
|
-
export class
|
|
5781
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
5781
5782
|
hex: string;
|
|
5782
5783
|
}> {
|
|
5783
5784
|
constructor(props: IHexColorProps);
|
|
@@ -6289,7 +6290,7 @@ declare module BABYLON.NodeEditor {
|
|
|
6289
6290
|
|
|
6290
6291
|
}
|
|
6291
6292
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6292
|
-
export interface
|
|
6293
|
+
export interface IColorPickerLineComponentProps {
|
|
6293
6294
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
6294
6295
|
linearHint?: boolean;
|
|
6295
6296
|
onColorChanged: (newOne: string) => void;
|
|
@@ -6304,14 +6305,14 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6304
6305
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
6305
6306
|
hex: string;
|
|
6306
6307
|
}
|
|
6307
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
6308
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
6308
6309
|
private _floatRef;
|
|
6309
6310
|
private _floatHostRef;
|
|
6310
6311
|
private _coverRef;
|
|
6311
|
-
constructor(props:
|
|
6312
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
6312
6313
|
syncPositions(): void;
|
|
6313
|
-
shouldComponentUpdate(nextProps:
|
|
6314
|
-
getHexString(props?: Readonly<
|
|
6314
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
6315
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
6315
6316
|
children?: React.ReactNode;
|
|
6316
6317
|
}>): string;
|
|
6317
6318
|
componentDidUpdate(): void;
|
|
@@ -6595,7 +6596,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6595
6596
|
highlighted?: boolean;
|
|
6596
6597
|
parentContainerId: string;
|
|
6597
6598
|
}
|
|
6598
|
-
export var
|
|
6599
|
+
export var SingleGraphNode: React.FC<IGraphNodeProps>;
|
|
6599
6600
|
|
|
6600
6601
|
|
|
6601
6602
|
|
|
@@ -6882,7 +6883,7 @@ declare module BABYLON.NodeEditor {
|
|
|
6882
6883
|
|
|
6883
6884
|
}
|
|
6884
6885
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6885
|
-
export interface
|
|
6886
|
+
export interface IColorLineProps {
|
|
6886
6887
|
label: string;
|
|
6887
6888
|
target?: any;
|
|
6888
6889
|
propertyName: string;
|
|
@@ -6898,10 +6899,10 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6898
6899
|
isExpanded: boolean;
|
|
6899
6900
|
color: BABYLON.Color4;
|
|
6900
6901
|
}
|
|
6901
|
-
export class
|
|
6902
|
-
constructor(props:
|
|
6903
|
-
shouldComponentUpdate(nextProps:
|
|
6904
|
-
getValue(props?: Readonly<
|
|
6902
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
6903
|
+
constructor(props: IColorLineProps);
|
|
6904
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
6905
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
6905
6906
|
children?: React.ReactNode;
|
|
6906
6907
|
}>): BABYLON.Color4;
|
|
6907
6908
|
setColorFromString(colorString: string): void;
|
|
@@ -6924,7 +6925,7 @@ declare module BABYLON.NodeEditor {
|
|
|
6924
6925
|
|
|
6925
6926
|
}
|
|
6926
6927
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6927
|
-
export interface
|
|
6928
|
+
export interface IColorPickerLineProps {
|
|
6928
6929
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
6929
6930
|
linearHint?: boolean;
|
|
6930
6931
|
onColorChanged: (newOne: string) => void;
|
|
@@ -6938,13 +6939,13 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6938
6939
|
color: BABYLON.Color3 | BABYLON.Color4;
|
|
6939
6940
|
hex: string;
|
|
6940
6941
|
}
|
|
6941
|
-
export class
|
|
6942
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
6942
6943
|
private _floatRef;
|
|
6943
6944
|
private _floatHostRef;
|
|
6944
|
-
constructor(props:
|
|
6945
|
+
constructor(props: IColorPickerLineProps);
|
|
6945
6946
|
syncPositions(): void;
|
|
6946
|
-
shouldComponentUpdate(nextProps:
|
|
6947
|
-
getHexString(props?: Readonly<
|
|
6947
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
6948
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
6948
6949
|
children?: React.ReactNode;
|
|
6949
6950
|
}>): string;
|
|
6950
6951
|
componentDidUpdate(): void;
|
|
@@ -6975,18 +6976,18 @@ declare module BABYLON.NodeEditor {
|
|
|
6975
6976
|
|
|
6976
6977
|
}
|
|
6977
6978
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6978
|
-
interface
|
|
6979
|
+
interface IFileButtonLineProps {
|
|
6979
6980
|
label: string;
|
|
6980
6981
|
onClick: (file: File) => void;
|
|
6981
6982
|
accept: string;
|
|
6982
6983
|
icon?: string;
|
|
6983
6984
|
iconLabel?: string;
|
|
6984
6985
|
}
|
|
6985
|
-
export class
|
|
6986
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
6986
6987
|
private static _IDGenerator;
|
|
6987
6988
|
private _id;
|
|
6988
6989
|
private _uploadInputRef;
|
|
6989
|
-
constructor(props:
|
|
6990
|
+
constructor(props: IFileButtonLineProps);
|
|
6990
6991
|
onChange(evt: any): void;
|
|
6991
6992
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
6992
6993
|
}
|
|
@@ -7304,7 +7305,7 @@ declare module BABYLON.NodeEditor {
|
|
|
7304
7305
|
|
|
7305
7306
|
}
|
|
7306
7307
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
7307
|
-
interface
|
|
7308
|
+
interface INumericInputProps {
|
|
7308
7309
|
label: string;
|
|
7309
7310
|
value: number;
|
|
7310
7311
|
step?: number;
|
|
@@ -7314,16 +7315,16 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
7314
7315
|
iconLabel?: string;
|
|
7315
7316
|
lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
|
|
7316
7317
|
}
|
|
7317
|
-
export class
|
|
7318
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
7318
7319
|
value: string;
|
|
7319
7320
|
}> {
|
|
7320
7321
|
static defaultProps: {
|
|
7321
7322
|
step: number;
|
|
7322
7323
|
};
|
|
7323
7324
|
private _localChange;
|
|
7324
|
-
constructor(props:
|
|
7325
|
+
constructor(props: INumericInputProps);
|
|
7325
7326
|
componentWillUnmount(): void;
|
|
7326
|
-
shouldComponentUpdate(nextProps:
|
|
7327
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
7327
7328
|
value: string;
|
|
7328
7329
|
}): boolean;
|
|
7329
7330
|
updateValue(valueString: string): void;
|
|
@@ -7341,7 +7342,7 @@ declare module BABYLON.NodeEditor {
|
|
|
7341
7342
|
}
|
|
7342
7343
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
7343
7344
|
export var Null_Value: number;
|
|
7344
|
-
export interface
|
|
7345
|
+
export interface IOptionsLineProps {
|
|
7345
7346
|
label: string;
|
|
7346
7347
|
target: any;
|
|
7347
7348
|
propertyName: string;
|
|
@@ -7357,15 +7358,15 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
7357
7358
|
valuesAreStrings?: boolean;
|
|
7358
7359
|
defaultIfNull?: number;
|
|
7359
7360
|
}
|
|
7360
|
-
export class
|
|
7361
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
7361
7362
|
value: number | string;
|
|
7362
7363
|
}> {
|
|
7363
7364
|
private _localChange;
|
|
7364
7365
|
private _remapValueIn;
|
|
7365
7366
|
private _remapValueOut;
|
|
7366
7367
|
private _getValue;
|
|
7367
|
-
constructor(props:
|
|
7368
|
-
shouldComponentUpdate(nextProps:
|
|
7368
|
+
constructor(props: IOptionsLineProps);
|
|
7369
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
7369
7370
|
value: number;
|
|
7370
7371
|
}): boolean;
|
|
7371
7372
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.1",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.6.
|
|
17
|
+
"babylonjs": "^7.6.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|