babylonjs-inspector 7.49.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.
@@ -481,6 +481,7 @@ declare module INSPECTOR {
481
481
  isInWorldCoodinatesMode: boolean;
482
482
  }> {
483
483
  private _gizmoLayerOnPointerObserver;
484
+ private _gizmoLayerRenderObserver;
484
485
  private _onPointerObserver;
485
486
  private _onSelectionChangeObserver;
486
487
  private _selectedEntity;
@@ -499,6 +500,7 @@ declare module INSPECTOR {
499
500
  onSelect(): void;
500
501
  onCoordinatesMode(): void;
501
502
  onPickingMode(): void;
503
+ findCameraFromFrameGraph(frameGraph: BABYLON.FrameGraph): BABYLON.Nullable<BABYLON.Camera>;
502
504
  setGizmoMode(mode: number): void;
503
505
  render(): import("react/jsx-runtime").JSX.Element;
504
506
  }
@@ -5361,26 +5363,27 @@ declare module INSPECTOR.SharedUIComponents {
5361
5363
  max?: number;
5362
5364
  placeholder?: string;
5363
5365
  unit?: React.ReactNode;
5364
- validator?: (value: string) => boolean;
5366
+ validator?: (input: string) => boolean;
5367
+ onValidateChangeFailed?: (invalidInput: string) => void;
5365
5368
  multilines?: boolean;
5366
5369
  throttlePropertyChangedNotification?: boolean;
5367
5370
  throttlePropertyChangedNotificationDelay?: number;
5368
5371
  disabled?: boolean;
5369
5372
  }
5370
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
5371
- value: string;
5373
+ interface ITextInputLineComponentState {
5374
+ input: string;
5372
5375
  dragging: boolean;
5373
- }> {
5376
+ inputValid: boolean;
5377
+ }
5378
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
5374
5379
  private _localChange;
5375
5380
  constructor(props: ITextInputLineComponentProps);
5376
5381
  componentWillUnmount(): void;
5377
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
5378
- value: string;
5379
- dragging: boolean;
5380
- }): boolean;
5382
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
5381
5383
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
5382
5384
  getCurrentNumericValue(value: string): number;
5383
- updateValue(value: string, valueToValidate?: string): void;
5385
+ updateInput(input: string): void;
5386
+ updateValue(adjustedInput?: string, updateState?: boolean): void;
5384
5387
  incrementValue(amount: number): void;
5385
5388
  onKeyDown(event: React.KeyboardEvent): void;
5386
5389
  render(): import("react/jsx-runtime").JSX.Element;
@@ -579,12 +579,14 @@ export {};
579
579
 
580
580
  }
581
581
  declare module "babylonjs-inspector/components/sceneExplorer/entities/sceneTreeItemComponent" {
582
+ import { Nullable } from "babylonjs/types";
582
583
  import { Observable } from "babylonjs/Misc/observable";
583
584
  import { IExplorerExtensibilityGroup } from "babylonjs/Debug/debugLayer";
584
585
  import { Scene } from "babylonjs/scene";
585
586
  import * as React from "react";
586
587
  import { GlobalState } from "babylonjs-inspector/components/globalState";
587
588
  import { Camera } from "babylonjs/Cameras/camera";
589
+ import { FrameGraph } from "babylonjs/FrameGraph/frameGraph";
588
590
  interface ISceneTreeItemComponentProps {
589
591
  scene: Scene;
590
592
  gizmoCamera?: Camera;
@@ -601,6 +603,7 @@ export class SceneTreeItemComponent extends React.Component<ISceneTreeItemCompon
601
603
  isInWorldCoodinatesMode: boolean;
602
604
  }> {
603
605
  private _gizmoLayerOnPointerObserver;
606
+ private _gizmoLayerRenderObserver;
604
607
  private _onPointerObserver;
605
608
  private _onSelectionChangeObserver;
606
609
  private _selectedEntity;
@@ -619,6 +622,7 @@ export class SceneTreeItemComponent extends React.Component<ISceneTreeItemCompon
619
622
  onSelect(): void;
620
623
  onCoordinatesMode(): void;
621
624
  onPickingMode(): void;
625
+ findCameraFromFrameGraph(frameGraph: FrameGraph): Nullable<Camera>;
622
626
  setGizmoMode(mode: number): void;
623
627
 
624
628
  }
@@ -6308,30 +6312,32 @@ export interface ITextInputLineComponentProps {
6308
6312
  max?: number;
6309
6313
  placeholder?: string;
6310
6314
  unit?: React.ReactNode;
6311
- validator?: (value: string) => boolean;
6315
+ validator?: (input: string) => boolean;
6316
+ onValidateChangeFailed?: (invalidInput: string) => void;
6312
6317
  multilines?: boolean;
6313
6318
  throttlePropertyChangedNotification?: boolean;
6314
6319
  throttlePropertyChangedNotificationDelay?: number;
6315
6320
  disabled?: boolean;
6316
6321
  }
6317
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
6318
- value: string;
6322
+ interface ITextInputLineComponentState {
6323
+ input: string;
6319
6324
  dragging: boolean;
6320
- }> {
6325
+ inputValid: boolean;
6326
+ }
6327
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
6321
6328
  private _localChange;
6322
6329
  constructor(props: ITextInputLineComponentProps);
6323
6330
  componentWillUnmount(): void;
6324
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
6325
- value: string;
6326
- dragging: boolean;
6327
- }): boolean;
6331
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
6328
6332
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
6329
6333
  getCurrentNumericValue(value: string): number;
6330
- updateValue(value: string, valueToValidate?: string): void;
6334
+ updateInput(input: string): void;
6335
+ updateValue(adjustedInput?: string, updateState?: boolean): void;
6331
6336
  incrementValue(amount: number): void;
6332
6337
  onKeyDown(event: React.KeyboardEvent): void;
6333
6338
 
6334
6339
  }
6340
+ export {};
6335
6341
 
6336
6342
  }
6337
6343
  declare module "babylonjs-inspector/lines/targetsProxy" {
@@ -8614,6 +8620,7 @@ declare module INSPECTOR {
8614
8620
  isInWorldCoodinatesMode: boolean;
8615
8621
  }> {
8616
8622
  private _gizmoLayerOnPointerObserver;
8623
+ private _gizmoLayerRenderObserver;
8617
8624
  private _onPointerObserver;
8618
8625
  private _onSelectionChangeObserver;
8619
8626
  private _selectedEntity;
@@ -8632,6 +8639,7 @@ declare module INSPECTOR {
8632
8639
  onSelect(): void;
8633
8640
  onCoordinatesMode(): void;
8634
8641
  onPickingMode(): void;
8642
+ findCameraFromFrameGraph(frameGraph: BABYLON.FrameGraph): BABYLON.Nullable<BABYLON.Camera>;
8635
8643
  setGizmoMode(mode: number): void;
8636
8644
  render(): import("react/jsx-runtime").JSX.Element;
8637
8645
  }
@@ -13494,26 +13502,27 @@ declare module INSPECTOR.SharedUIComponents {
13494
13502
  max?: number;
13495
13503
  placeholder?: string;
13496
13504
  unit?: React.ReactNode;
13497
- validator?: (value: string) => boolean;
13505
+ validator?: (input: string) => boolean;
13506
+ onValidateChangeFailed?: (invalidInput: string) => void;
13498
13507
  multilines?: boolean;
13499
13508
  throttlePropertyChangedNotification?: boolean;
13500
13509
  throttlePropertyChangedNotificationDelay?: number;
13501
13510
  disabled?: boolean;
13502
13511
  }
13503
- export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
13504
- value: string;
13512
+ interface ITextInputLineComponentState {
13513
+ input: string;
13505
13514
  dragging: boolean;
13506
- }> {
13515
+ inputValid: boolean;
13516
+ }
13517
+ export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
13507
13518
  private _localChange;
13508
13519
  constructor(props: ITextInputLineComponentProps);
13509
13520
  componentWillUnmount(): void;
13510
- shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
13511
- value: string;
13512
- dragging: boolean;
13513
- }): boolean;
13521
+ shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
13514
13522
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
13515
13523
  getCurrentNumericValue(value: string): number;
13516
- updateValue(value: string, valueToValidate?: string): void;
13524
+ updateInput(input: string): void;
13525
+ updateValue(adjustedInput?: string, updateState?: boolean): void;
13517
13526
  incrementValue(amount: number): void;
13518
13527
  onKeyDown(event: React.KeyboardEvent): void;
13519
13528
  render(): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "7.49.0",
3
+ "version": "7.51.0",
4
4
  "main": "babylon.inspector.bundle.max.js",
5
5
  "types": "babylon.inspector.module.d.ts",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.49.0",
18
- "babylonjs-gui": "^7.49.0",
19
- "babylonjs-gui-editor": "^7.49.0",
20
- "babylonjs-loaders": "^7.49.0",
21
- "babylonjs-materials": "^7.49.0",
22
- "babylonjs-serializers": "^7.49.0"
17
+ "babylonjs": "^7.51.0",
18
+ "babylonjs-gui": "^7.51.0",
19
+ "babylonjs-gui-editor": "^7.51.0",
20
+ "babylonjs-loaders": "^7.51.0",
21
+ "babylonjs-materials": "^7.51.0",
22
+ "babylonjs-serializers": "^7.51.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",