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