@babylonjs/inspector 5.0.0-beta.8 → 5.0.0-rc.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.
@@ -465,8 +465,6 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineCompon
465
465
  isDisabled?: boolean;
466
466
  isConflict: boolean;
467
467
  }> {
468
- private static _UniqueIdSeed;
469
- private _uniqueId;
470
468
  private _localChange;
471
469
  constructor(props: ICheckBoxLineComponentProps);
472
470
  shouldComponentUpdate(nextProps: ICheckBoxLineComponentProps, nextState: {
@@ -810,6 +808,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/re
810
808
  }
811
809
  declare module "@babylonjs/inspector/components/actionTabs/tabs/debugTabComponent" {
812
810
  import { PaneComponent, IPaneComponentProps } from "@babylonjs/inspector/components/actionTabs/paneComponent";
811
+ import "@babylonjs/core/Physics/physicsEngineComponent";
813
812
  export class DebugTabComponent extends PaneComponent {
814
813
  private _physicsViewersEnabled;
815
814
  constructor(props: IPaneComponentProps);
@@ -972,13 +971,26 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/numericInputCompon
972
971
  render(): JSX.Element;
973
972
  }
974
973
  }
974
+ declare module "@babylonjs/inspector/sharedUiComponents/lines/inputArrowsComponent" {
975
+ import * as React from "react";
976
+ interface IInputArrowsComponentProps {
977
+ incrementValue: (amount: number) => void;
978
+ setDragging: (dragging: boolean) => void;
979
+ }
980
+ export class InputArrowsComponent extends React.Component<IInputArrowsComponentProps> {
981
+ private _arrowsRef;
982
+ private _drag;
983
+ private _releaseListener;
984
+ render(): JSX.Element;
985
+ }
986
+ }
975
987
  declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineComponent" {
976
988
  import * as React from "react";
977
989
  import { Observable } from "@babylonjs/core/Misc/observable";
978
990
  import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
979
991
  import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
980
992
  interface ITextInputLineComponentProps {
981
- label: string;
993
+ label?: string;
982
994
  lockObject: LockObject;
983
995
  target?: any;
984
996
  propertyName?: string;
@@ -993,18 +1005,25 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
993
1005
  unit?: string;
994
1006
  onUnitClicked?: (unit: string) => void;
995
1007
  unitLocked?: boolean;
1008
+ arrows?: boolean;
1009
+ arrowsIncrement?: (amount: number) => void;
1010
+ step?: number;
996
1011
  }
997
1012
  export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
998
1013
  value: string;
1014
+ dragging: boolean;
999
1015
  }> {
1000
1016
  private _localChange;
1001
1017
  constructor(props: ITextInputLineComponentProps);
1002
1018
  componentWillUnmount(): void;
1003
1019
  shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
1004
1020
  value: string;
1021
+ dragging: boolean;
1005
1022
  }): boolean;
1006
1023
  raiseOnPropertyChanged(newValue: string, previousValue: string): void;
1007
1024
  updateValue(value: string): void;
1025
+ incrementValue(amount: number): void;
1026
+ onKeyDown(event: React.KeyboardEvent): void;
1008
1027
  render(): JSX.Element;
1009
1028
  }
1010
1029
  }
@@ -1200,6 +1219,7 @@ declare module "@babylonjs/inspector/components/popupComponent" {
1200
1219
  private _host;
1201
1220
  constructor(props: IPopupComponentProps);
1202
1221
  componentDidMount(): void;
1222
+ onBeforeUnloadListener: () => void;
1203
1223
  openPopup(): void;
1204
1224
  componentWillUnmount(): void;
1205
1225
  getWindow(): Window | null;
@@ -1431,6 +1451,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
1431
1451
  animationIndex: number;
1432
1452
  keyIndex: number;
1433
1453
  } | null;
1454
+ hasActiveQuaternionAnimationKeyPoints(): boolean;
1434
1455
  }
1435
1456
  }
1436
1457
  declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/textInputComponent" {
@@ -2733,6 +2754,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
2733
2754
  import { TextureLinkLineComponent } from "@babylonjs/inspector/components/actionTabs/lines/textureLinkLineComponent";
2734
2755
  import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
2735
2756
  import { GlobalState } from "@babylonjs/inspector/components/globalState";
2757
+ import "@babylonjs/core/Rendering/prePassRendererSceneComponent";
2758
+ import "@babylonjs/core/Rendering/subSurfaceSceneComponent";
2736
2759
  interface IPBRMaterialPropertyGridComponentProps {
2737
2760
  globalState: GlobalState;
2738
2761
  material: PBRMaterial;
@@ -2798,6 +2821,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sc
2798
2821
  import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
2799
2822
  import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
2800
2823
  import { GlobalState } from "@babylonjs/inspector/components/globalState";
2824
+ import "@babylonjs/core/Physics/physicsEngineComponent";
2801
2825
  interface IScenePropertyGridComponentProps {
2802
2826
  globalState: GlobalState;
2803
2827
  scene: Scene;
@@ -3011,6 +3035,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
3011
3035
  import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
3012
3036
  import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
3013
3037
  import { GlobalState } from "@babylonjs/inspector/components/globalState";
3038
+ import "@babylonjs/core/Physics/physicsEngineComponent";
3014
3039
  interface IMeshPropertyGridComponentProps {
3015
3040
  globalState: GlobalState;
3016
3041
  mesh: Mesh;
@@ -4423,6 +4448,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/meshTreeI
4423
4448
  import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh";
4424
4449
  import * as React from "react";
4425
4450
  import { GlobalState } from "@babylonjs/inspector/components/globalState";
4451
+ import "@babylonjs/core/Rendering/boundingBoxRenderer";
4426
4452
  interface IMeshTreeItemComponentProps {
4427
4453
  mesh: AbstractMesh;
4428
4454
  extensibilityGroups?: IExplorerExtensibilityGroup[];
@@ -4859,6 +4885,9 @@ declare module "@babylonjs/inspector/components/sceneExplorer/sceneExplorerCompo
4859
4885
  import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
4860
4886
  import { Scene } from "@babylonjs/core/scene";
4861
4887
  import { GlobalState } from "@babylonjs/inspector/components/globalState";
4888
+ import "@babylonjs/core/Sprites/spriteSceneComponent";
4889
+ import "@babylonjs/core/Audio/audioSceneComponent";
4890
+ import "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent";
4862
4891
  interface ISceneExplorerFilterComponentProps {
4863
4892
  onFilter: (filter: string) => void;
4864
4893
  }
@@ -5041,6 +5070,16 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/iconButtonLineComp
5041
5070
  render(): JSX.Element;
5042
5071
  }
5043
5072
  }
5073
+ declare module "@babylonjs/inspector/sharedUiComponents/lines/iconComponent" {
5074
+ import * as React from "react";
5075
+ interface IIconComponentProps {
5076
+ icon: string;
5077
+ label?: string;
5078
+ }
5079
+ export class IconComponent extends React.Component<IIconComponentProps> {
5080
+ render(): JSX.Element;
5081
+ }
5082
+ }
5044
5083
  declare module "@babylonjs/inspector/sharedUiComponents/lines/popup" {
5045
5084
  export class Popup {
5046
5085
  static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  },
5
5
  "name": "@babylonjs/inspector",
6
6
  "description": "The Babylon.js inspector.",
7
- "version": "5.0.0-beta.8",
7
+ "version": "5.0.0-rc.1",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/BabylonJS/Babylon.js.git"
@@ -27,12 +27,12 @@
27
27
  ],
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
- "@babylonjs/core": "5.0.0-beta.8",
31
- "@babylonjs/gui": "5.0.0-beta.8",
32
- "@babylonjs/loaders": "5.0.0-beta.8",
33
- "@babylonjs/materials": "5.0.0-beta.8",
34
- "@babylonjs/serializers": "5.0.0-beta.8",
35
- "babylonjs-gltf2interface": "5.0.0-beta.8",
30
+ "@babylonjs/core": "5.0.0-rc.1",
31
+ "@babylonjs/gui": "5.0.0-rc.1",
32
+ "@babylonjs/loaders": "5.0.0-rc.1",
33
+ "@babylonjs/materials": "5.0.0-rc.1",
34
+ "@babylonjs/serializers": "5.0.0-rc.1",
35
+ "babylonjs-gltf2interface": "5.0.0-rc.1",
36
36
  "tslib": "^2.3.1"
37
37
  },
38
38
  "peerDependencies": {