@babylonjs/inspector 7.34.3 → 7.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -47753,17 +47753,17 @@ class TexturePropertyGridComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Co
47753
47753
  const texture = this.props.texture;
47754
47754
  const textureAsRTT = texture;
47755
47755
  const samplingMode = [
47756
- { label: "Nearest", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_NEAREST },
47757
- { label: "Linear", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_LINEAR },
47758
- { label: "Linear & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_LINEAR_MIPLINEAR },
47759
- { label: "Linear & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_LINEAR_MIPNEAREST },
47760
- { label: "Nearest & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_NEAREST_MIPLINEAR },
47761
- { label: "Nearest & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_NEAREST_MIPNEAREST },
47762
- { label: "Nearest/Linear", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_LINEAR },
47763
- { label: "Nearest/Linear & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_LINEAR_MIPLINEAR },
47764
- { label: "Nearest/Linear & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_LINEAR_MIPNEAREST },
47765
- { label: "Linear/Nearest", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_NEAREST },
47766
- { label: "Linear/Nearest & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_NEAREST_MIPLINEAR },
47756
+ { label: "Nearest", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_NEAREST }, // 1
47757
+ { label: "Linear", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_LINEAR }, // 2
47758
+ { label: "Linear & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_LINEAR_MIPLINEAR }, // 3
47759
+ { label: "Linear & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_LINEAR_MIPNEAREST }, // 11
47760
+ { label: "Nearest & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_NEAREST_MIPLINEAR }, // 8
47761
+ { label: "Nearest & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_NEAREST_MIPNEAREST }, // 4
47762
+ { label: "Nearest/Linear", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_LINEAR }, // 7
47763
+ { label: "Nearest/Linear & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_LINEAR_MIPLINEAR }, // 6
47764
+ { label: "Nearest/Linear & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.NEAREST_LINEAR_MIPNEAREST }, // 5
47765
+ { label: "Linear/Nearest", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_NEAREST }, // 12
47766
+ { label: "Linear/Nearest & linear mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_NEAREST_MIPLINEAR }, // 10
47767
47767
  { label: "Linear/Nearest & nearest mip", value: core_Misc_tools__WEBPACK_IMPORTED_MODULE_2__.Texture.LINEAR_NEAREST_MIPNEAREST }, // 9
47768
47768
  ];
47769
47769
  const coordinatesMode = [
@@ -50310,7 +50310,7 @@ class MetadataGridComponent extends react__WEBPACK_IMPORTED_MODULE_1__.Component
50310
50310
  const validJson = this.parsableJson(this.props.entity.metadata);
50311
50311
  const metadataPropType = this.getEntityType(this.props.entity);
50312
50312
  this.setState({
50313
- statusMessage: "",
50313
+ statusMessage: "", // loaded entity
50314
50314
  selectedEntityMetadata: this.parseMetaObject(validJson, this.props.entity.metadata),
50315
50315
  metadataPropType: metadataPropType,
50316
50316
  isValidJson: validJson,
@@ -58323,7 +58323,7 @@ const Icons = {
58323
58323
  },
58324
58324
  size40: {
58325
58325
  on: _imgs_toggleOnIcon_40px_svg__WEBPACK_IMPORTED_MODULE_8__,
58326
- mixed: "",
58326
+ mixed: "", // unneeded
58327
58327
  off: _imgs_toggleOffIcon_40px_svg__WEBPACK_IMPORTED_MODULE_9__,
58328
58328
  },
58329
58329
  };
@@ -5104,7 +5104,6 @@ export {};
5104
5104
 
5105
5105
  }
5106
5106
  declare module "@babylonjs/inspector/split/splitter" {
5107
- /// <reference types="react" />
5108
5107
  import { ControlledSize } from "@babylonjs/inspector/split/splitContext";
5109
5108
  /**
5110
5109
  * Splitter component properties
@@ -5148,7 +5147,6 @@ export const Splitter: React.FC<ISplitterProps>;
5148
5147
 
5149
5148
  }
5150
5149
  declare module "@babylonjs/inspector/split/splitContext" {
5151
- /// <reference types="react" />
5152
5150
  export enum ControlledSize {
5153
5151
  First = 0,
5154
5152
  Second = 1
@@ -5194,7 +5192,6 @@ export const SplitContext: import("react").Context<ISplitContext>;
5194
5192
 
5195
5193
  }
5196
5194
  declare module "@babylonjs/inspector/split/splitContainer" {
5197
- /// <reference types="react" />
5198
5195
  import { SplitDirection } from "@babylonjs/inspector/split/splitContext";
5199
5196
  /**
5200
5197
  * Split container properties
@@ -5315,8 +5312,8 @@ export class StateManager {
5315
5312
  type: string;
5316
5313
  targetX: number;
5317
5314
  targetY: number;
5318
- needRepositioning?: boolean | undefined;
5319
- smartAdd?: boolean | undefined;
5315
+ needRepositioning?: boolean;
5316
+ smartAdd?: boolean;
5320
5317
  }>;
5321
5318
  onHighlightNodeObservable: Observable<{
5322
5319
  data: any;
@@ -5463,7 +5460,6 @@ export class NodeLedger {
5463
5460
 
5464
5461
  }
5465
5462
  declare module "@babylonjs/inspector/nodeGraphSystem/graphNode" {
5466
- /// <reference types="react" />
5467
5463
  import { Nullable } from "@babylonjs/core/types";
5468
5464
  import { GraphCanvasComponent } from "@babylonjs/inspector/nodeGraphSystem/graphCanvas";
5469
5465
  import { NodePort } from "@babylonjs/inspector/nodeGraphSystem/nodePort";
@@ -6813,7 +6809,7 @@ export class ColorPickerLine extends React.Component<IColorPickerLineProps, ICol
6813
6809
  syncPositions(): void;
6814
6810
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
6815
6811
  getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
6816
- children?: React.ReactNode;
6812
+ children?: React.ReactNode | undefined;
6817
6813
  }>): string;
6818
6814
  componentDidUpdate(): void;
6819
6815
  componentDidMount(): void;
@@ -6848,7 +6844,7 @@ export class ColorLine extends React.Component<IColorLineProps, IColorLineCompon
6848
6844
  constructor(props: IColorLineProps);
6849
6845
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
6850
6846
  getValue(props?: Readonly<IColorLineProps> & Readonly<{
6851
- children?: React.ReactNode;
6847
+ children?: React.ReactNode | undefined;
6852
6848
  }>): Color4;
6853
6849
  setColorFromString(colorString: string): void;
6854
6850
  setColor(newColor: Color4): void;
@@ -6982,7 +6978,6 @@ export function JoinClassNames(styleObject: any, ...names: string[]): string;
6982
6978
 
6983
6979
  }
6984
6980
  declare module "@babylonjs/inspector/components/Toggle" {
6985
- /// <reference types="react" />
6986
6981
  export type ToggleProps = {
6987
6982
  toggled: "on" | "mixed" | "off";
6988
6983
  onToggle?: () => void;
@@ -7029,7 +7024,6 @@ export const Label: React.FC<LabelProps>;
7029
7024
 
7030
7025
  }
7031
7026
  declare module "@babylonjs/inspector/components/Icon" {
7032
- /// <reference types="react" />
7033
7027
  export type IconProps = {
7034
7028
  color?: "dark" | "light";
7035
7029
  icon: string;
@@ -7038,7 +7032,6 @@ export const Icon: React.FC<IconProps>;
7038
7032
 
7039
7033
  }
7040
7034
  declare module "@babylonjs/inspector/components/Button" {
7041
- /// <reference types="react" />
7042
7035
  export type ButtonProps = {
7043
7036
  disabled?: boolean;
7044
7037
  active?: boolean;
@@ -7226,7 +7219,6 @@ export const GraphLine: FC<IGraphLineProps>;
7226
7219
 
7227
7220
  }
7228
7221
  declare module "@babylonjs/inspector/components/reactGraphSystem/GraphContextManager" {
7229
- /// <reference types="react" />
7230
7222
  /**
7231
7223
  * this context is used to pass callbacks to the graph nodes and connections
7232
7224
  */
@@ -7401,7 +7393,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerLineCo
7401
7393
  syncPositions(): void;
7402
7394
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
7403
7395
  getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
7404
- children?: React.ReactNode;
7396
+ children?: React.ReactNode | undefined;
7405
7397
  }>): string;
7406
7398
  componentDidUpdate(): void;
7407
7399
  componentDidMount(): void;
@@ -7436,7 +7428,7 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
7436
7428
  constructor(props: IColorLineComponentProps);
7437
7429
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
7438
7430
  getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
7439
- children?: React.ReactNode;
7431
+ children?: React.ReactNode | undefined;
7440
7432
  }>): Color4;
7441
7433
  setColorFromString(colorString: string): void;
7442
7434
  setColor(newColor: Color4): void;
@@ -7571,7 +7563,6 @@ export enum ResizeDirections {
7571
7563
 
7572
7564
  }
7573
7565
  declare module "@babylonjs/inspector/components/layout/LayoutContext" {
7574
- /// <reference types="react" />
7575
7566
  import { Layout } from "@babylonjs/inspector/components/layout/types";
7576
7567
  export const LayoutContext: import("react").Context<{
7577
7568
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.34.3",
3
+ "version": "7.35.0",
4
4
  "module": "dist/babylon.inspector.bundle.max.js",
5
5
  "main": "dist/babylon.inspector.bundle.max.js",
6
6
  "typings": "dist/babylon.inspector.module.d.ts",
@@ -32,12 +32,12 @@
32
32
  "@types/react-dom": ">=16.0.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@babylonjs/core": "^7.34.3",
36
- "@babylonjs/gui": "^7.34.3",
37
- "@babylonjs/gui-editor": "^7.34.3",
38
- "@babylonjs/loaders": "^7.34.3",
39
- "@babylonjs/materials": "^7.34.3",
40
- "@babylonjs/serializers": "^7.34.3",
35
+ "@babylonjs/core": "^7.35.0",
36
+ "@babylonjs/gui": "^7.35.0",
37
+ "@babylonjs/gui-editor": "^7.35.0",
38
+ "@babylonjs/loaders": "^7.35.0",
39
+ "@babylonjs/materials": "^7.35.0",
40
+ "@babylonjs/serializers": "^7.35.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"