@babylonjs/inspector 7.5.0 → 7.6.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.
@@ -95,6 +95,7 @@ export class QuaternionLineComponent extends React.Component<IQuaternionLineComp
95
95
  updateStateEulerX(value: number): void;
96
96
  updateStateEulerY(value: number): void;
97
97
  updateStateEulerZ(value: number): void;
98
+ onCopyClick(): void;
98
99
 
99
100
  }
100
101
  export {};
@@ -4506,6 +4507,15 @@ export class TreeItemSpecializedComponent extends React.Component<ITreeItemSpeci
4506
4507
  }
4507
4508
  export {};
4508
4509
 
4510
+ }
4511
+ declare module "@babylonjs/inspector/components/sceneExplorer/treeNodeDebugger" {
4512
+ global {
4513
+ interface GlobalThis {
4514
+ debugNode: any;
4515
+ }
4516
+ }
4517
+ export function setDebugNode(node: any): void;
4518
+
4509
4519
  }
4510
4520
  declare module "@babylonjs/inspector/index" {
4511
4521
  export * from "@babylonjs/inspector/inspector";
@@ -5716,6 +5726,14 @@ export type ToggleProps = {
5716
5726
  };
5717
5727
  export const Toggle: React.FC<ToggleProps>;
5718
5728
 
5729
+ }
5730
+ declare module "@babylonjs/inspector/copyCommandToClipboard" {
5731
+ export function copyCommandToClipboard(strCommand: string): void;
5732
+ export function getClassNameWithNamespace(obj: any): {
5733
+ className: string;
5734
+ babylonNamespace: string;
5735
+ };
5736
+
5719
5737
  }
5720
5738
  declare module "@babylonjs/inspector/lines/booleanLineComponent" {
5721
5739
  import * as React from "react";
@@ -5781,6 +5799,7 @@ export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponen
5781
5799
  isConflict: boolean;
5782
5800
  }): boolean;
5783
5801
  onChange(): void;
5802
+ onCopyClick(): void;
5784
5803
 
5785
5804
  }
5786
5805
 
@@ -5862,9 +5881,9 @@ export class ColorLineComponent extends React.Component<IColorLineComponentProps
5862
5881
  updateStateG(value: number): void;
5863
5882
  updateStateB(value: number): void;
5864
5883
  updateStateA(value: number): void;
5865
- copyToClipboard(): void;
5866
5884
  private _convertToColor;
5867
5885
  private _toColor3;
5886
+ onCopyClick(): void;
5868
5887
 
5869
5888
  }
5870
5889
  export {};
@@ -6005,6 +6024,7 @@ export class FloatLineComponent extends React.Component<IFloatLineComponentProps
6005
6024
  unlock(): void;
6006
6025
  incrementValue(amount: number, processStep?: boolean): void;
6007
6026
  onKeyDown(event: React.KeyboardEvent<HTMLInputElement>): void;
6027
+ onCopyClick(): void;
6008
6028
 
6009
6029
  }
6010
6030
  export {};
@@ -6286,6 +6306,7 @@ export class OptionsLineComponent extends React.Component<IOptionsLineComponentP
6286
6306
  raiseOnPropertyChanged(newValue: number, previousValue: number): void;
6287
6307
  setValue(value: string | number): void;
6288
6308
  updateValue(valueString: string): void;
6309
+ onCopyClick(): void;
6289
6310
 
6290
6311
  }
6291
6312
 
@@ -6356,6 +6377,7 @@ export class SliderLineComponent extends React.Component<ISliderLineComponentPro
6356
6377
  onChange(newValueString: any): void;
6357
6378
  onInput(newValueString: any): void;
6358
6379
  prepareDataToRead(value: number): number;
6380
+ onCopyClick(): void;
6359
6381
 
6360
6382
  }
6361
6383
  export {};
@@ -6558,6 +6580,7 @@ export class Vector3LineComponent extends React.Component<IVector3LineComponentP
6558
6580
  updateStateX(value: number): void;
6559
6581
  updateStateY(value: number): void;
6560
6582
  updateStateZ(value: number): void;
6583
+ onCopyClick(): void;
6561
6584
 
6562
6585
  }
6563
6586
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/inspector",
3
- "version": "7.5.0",
3
+ "version": "7.6.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.5.0",
36
- "@babylonjs/gui": "^7.5.0",
37
- "@babylonjs/gui-editor": "^7.5.0",
38
- "@babylonjs/loaders": "^7.5.0",
39
- "@babylonjs/materials": "^7.5.0",
40
- "@babylonjs/serializers": "^7.5.0",
35
+ "@babylonjs/core": "^7.6.0",
36
+ "@babylonjs/gui": "^7.6.0",
37
+ "@babylonjs/gui-editor": "^7.6.0",
38
+ "@babylonjs/loaders": "^7.6.0",
39
+ "@babylonjs/materials": "^7.6.0",
40
+ "@babylonjs/serializers": "^7.6.0",
41
41
  "@lts/gui": "1.0.0",
42
42
  "react": "^17.0.2",
43
43
  "react-dom": "^17.0.2"