babylonjs-node-editor 7.50.0 → 7.51.0
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 +10 -9
- package/babylon.nodeEditor.js +1 -1
- package/babylon.nodeEditor.js.map +1 -1
- package/babylon.nodeEditor.max.js +69607 -69604
- package/babylon.nodeEditor.module.d.ts +21 -18
- package/package.json +2 -2
package/babylon.nodeEditor.d.ts
CHANGED
|
@@ -2658,26 +2658,27 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2658
2658
|
max?: number;
|
|
2659
2659
|
placeholder?: string;
|
|
2660
2660
|
unit?: React.ReactNode;
|
|
2661
|
-
validator?: (
|
|
2661
|
+
validator?: (input: string) => boolean;
|
|
2662
|
+
onValidateChangeFailed?: (invalidInput: string) => void;
|
|
2662
2663
|
multilines?: boolean;
|
|
2663
2664
|
throttlePropertyChangedNotification?: boolean;
|
|
2664
2665
|
throttlePropertyChangedNotificationDelay?: number;
|
|
2665
2666
|
disabled?: boolean;
|
|
2666
2667
|
}
|
|
2667
|
-
|
|
2668
|
-
|
|
2668
|
+
interface ITextInputLineComponentState {
|
|
2669
|
+
input: string;
|
|
2669
2670
|
dragging: boolean;
|
|
2670
|
-
|
|
2671
|
+
inputValid: boolean;
|
|
2672
|
+
}
|
|
2673
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
|
2671
2674
|
private _localChange;
|
|
2672
2675
|
constructor(props: ITextInputLineComponentProps);
|
|
2673
2676
|
componentWillUnmount(): void;
|
|
2674
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
|
2675
|
-
value: string;
|
|
2676
|
-
dragging: boolean;
|
|
2677
|
-
}): boolean;
|
|
2677
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
|
|
2678
2678
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
2679
2679
|
getCurrentNumericValue(value: string): number;
|
|
2680
|
-
|
|
2680
|
+
updateInput(input: string): void;
|
|
2681
|
+
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
|
2681
2682
|
incrementValue(amount: number): void;
|
|
2682
2683
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
2683
2684
|
render(): import("react/jsx-runtime").JSX.Element;
|