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
|
@@ -2953,32 +2953,30 @@ export interface ITextInputLineComponentProps {
|
|
|
2953
2953
|
max?: number;
|
|
2954
2954
|
placeholder?: string;
|
|
2955
2955
|
unit?: React.ReactNode;
|
|
2956
|
-
validator?: (
|
|
2957
|
-
onValidateChangeFailed?: (invalidInput: string) => void;
|
|
2956
|
+
validator?: (value: string) => boolean;
|
|
2958
2957
|
multilines?: boolean;
|
|
2959
2958
|
throttlePropertyChangedNotification?: boolean;
|
|
2960
2959
|
throttlePropertyChangedNotificationDelay?: number;
|
|
2961
2960
|
disabled?: boolean;
|
|
2962
2961
|
}
|
|
2963
|
-
|
|
2964
|
-
|
|
2962
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
2963
|
+
value: string;
|
|
2965
2964
|
dragging: boolean;
|
|
2966
|
-
|
|
2967
|
-
}
|
|
2968
|
-
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
|
2965
|
+
}> {
|
|
2969
2966
|
private _localChange;
|
|
2970
2967
|
constructor(props: ITextInputLineComponentProps);
|
|
2971
2968
|
componentWillUnmount(): void;
|
|
2972
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
|
2969
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
|
2970
|
+
value: string;
|
|
2971
|
+
dragging: boolean;
|
|
2972
|
+
}): boolean;
|
|
2973
2973
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
2974
2974
|
getCurrentNumericValue(value: string): number;
|
|
2975
|
-
|
|
2976
|
-
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
|
2975
|
+
updateValue(value: string, valueToValidate?: string): void;
|
|
2977
2976
|
incrementValue(amount: number): void;
|
|
2978
2977
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
2979
2978
|
|
|
2980
2979
|
}
|
|
2981
|
-
export {};
|
|
2982
2980
|
|
|
2983
2981
|
}
|
|
2984
2982
|
declare module "babylonjs-node-editor/lines/targetsProxy" {
|
|
@@ -7438,27 +7436,26 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
7438
7436
|
max?: number;
|
|
7439
7437
|
placeholder?: string;
|
|
7440
7438
|
unit?: React.ReactNode;
|
|
7441
|
-
validator?: (
|
|
7442
|
-
onValidateChangeFailed?: (invalidInput: string) => void;
|
|
7439
|
+
validator?: (value: string) => boolean;
|
|
7443
7440
|
multilines?: boolean;
|
|
7444
7441
|
throttlePropertyChangedNotification?: boolean;
|
|
7445
7442
|
throttlePropertyChangedNotificationDelay?: number;
|
|
7446
7443
|
disabled?: boolean;
|
|
7447
7444
|
}
|
|
7448
|
-
|
|
7449
|
-
|
|
7445
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
|
7446
|
+
value: string;
|
|
7450
7447
|
dragging: boolean;
|
|
7451
|
-
|
|
7452
|
-
}
|
|
7453
|
-
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
|
7448
|
+
}> {
|
|
7454
7449
|
private _localChange;
|
|
7455
7450
|
constructor(props: ITextInputLineComponentProps);
|
|
7456
7451
|
componentWillUnmount(): void;
|
|
7457
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
|
7452
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
|
7453
|
+
value: string;
|
|
7454
|
+
dragging: boolean;
|
|
7455
|
+
}): boolean;
|
|
7458
7456
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
|
7459
7457
|
getCurrentNumericValue(value: string): number;
|
|
7460
|
-
|
|
7461
|
-
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
|
7458
|
+
updateValue(value: string, valueToValidate?: string): void;
|
|
7462
7459
|
incrementValue(amount: number): void;
|
|
7463
7460
|
onKeyDown(event: React.KeyboardEvent): void;
|
|
7464
7461
|
render(): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "7.51.
|
|
3
|
+
"version": "7.51.2",
|
|
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*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.51.
|
|
17
|
+
"babylonjs": "^7.51.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|