babylonjs-node-geometry-editor 7.51.0 → 7.51.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.
@@ -635,6 +635,7 @@ declare module BABYLON.NodeGeometryEditor {
635
635
  private _matVertexColor;
636
636
  private _matNormals;
637
637
  private _axis;
638
+ private _toDelete;
638
639
  constructor(targetCanvas: HTMLCanvasElement, globalState: GlobalState);
639
640
  private _updateStandardMaterial;
640
641
  private _handleAnimations;
@@ -2412,27 +2413,26 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
2412
2413
  max?: number;
2413
2414
  placeholder?: string;
2414
2415
  unit?: React.ReactNode;
2415
- validator?: (input: string) => boolean;
2416
- onValidateChangeFailed?: (invalidInput: string) => void;
2416
+ validator?: (value: string) => boolean;
2417
2417
  multilines?: boolean;
2418
2418
  throttlePropertyChangedNotification?: boolean;
2419
2419
  throttlePropertyChangedNotificationDelay?: number;
2420
2420
  disabled?: boolean;
2421
2421
  }
2422
- interface ITextInputLineComponentState {
2423
- input: string;
2422
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
2423
+ value: string;
2424
2424
  dragging: boolean;
2425
- inputValid: boolean;
2426
- }
2427
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
2425
+ }> {
2428
2426
  private _localChange;
2429
2427
  constructor(props: ITextInputLineComponentProps);
2430
2428
  componentWillUnmount(): void;
2431
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
2429
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
2430
+ value: string;
2431
+ dragging: boolean;
2432
+ }): boolean;
2432
2433
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
2433
2434
  getCurrentNumericValue(value: string): number;
2434
- updateInput(input: string): void;
2435
- updateValue(adjustedInput?: string, updateState?: boolean): void;
2435
+ updateValue(value: string, valueToValidate?: string): void;
2436
2436
  incrementValue(amount: number): void;
2437
2437
  onKeyDown(event: React.KeyboardEvent): void;
2438
2438
  render(): import("react/jsx-runtime").JSX.Element;