babylonjs-inspector 8.1.1 → 8.2.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.
- package/babylon.inspector.bundle.js +1 -1
- package/babylon.inspector.bundle.js.LICENSE.txt +12 -8
- package/babylon.inspector.bundle.js.map +1 -1
- package/babylon.inspector.bundle.max.js +13646 -9603
- package/babylon.inspector.d.ts +23 -26
- package/babylon.inspector.module.d.ts +58 -61
- package/package.json +12 -12
package/babylon.inspector.d.ts
CHANGED
|
@@ -59,8 +59,12 @@ declare module INSPECTOR {
|
|
|
59
59
|
private static _SceneExplorerHost;
|
|
60
60
|
private static _ActionTabsHost;
|
|
61
61
|
private static _EmbedHost;
|
|
62
|
-
private static _NewCanvasContainer;
|
|
63
62
|
private static _PersistentPopupHost;
|
|
63
|
+
private static _SceneExplorerRoot;
|
|
64
|
+
private static _ActionTabsRoot;
|
|
65
|
+
private static _EmbedHostRoot;
|
|
66
|
+
private static _PersistentPopupRoot;
|
|
67
|
+
private static _NewCanvasContainer;
|
|
64
68
|
private static _SceneExplorerWindow;
|
|
65
69
|
private static _ActionTabsWindow;
|
|
66
70
|
private static _EmbedHostWindow;
|
|
@@ -132,7 +136,7 @@ declare module INSPECTOR {
|
|
|
132
136
|
onKeyUp?: (evt: KeyboardEvent) => void;
|
|
133
137
|
onKeyDown?: (evt: KeyboardEvent) => void;
|
|
134
138
|
}
|
|
135
|
-
export class PopupComponent extends React.Component<IPopupComponentProps
|
|
139
|
+
export class PopupComponent extends React.Component<React.PropsWithChildren<IPopupComponentProps>, {
|
|
136
140
|
isComponentMounted: boolean;
|
|
137
141
|
blockedByBrowser: boolean;
|
|
138
142
|
}> {
|
|
@@ -255,6 +259,7 @@ declare module INSPECTOR {
|
|
|
255
259
|
isSelected: boolean;
|
|
256
260
|
}> {
|
|
257
261
|
private _wasSelected;
|
|
262
|
+
private _thisRef;
|
|
258
263
|
constructor(props: ITreeItemSelectableComponentProps);
|
|
259
264
|
switchExpandedState(): void;
|
|
260
265
|
shouldComponentUpdate(nextProps: ITreeItemSelectableComponentProps, nextState: {
|
|
@@ -4312,7 +4317,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4312
4317
|
* @param props defines the split container properties
|
|
4313
4318
|
* @returns the split container component
|
|
4314
4319
|
*/
|
|
4315
|
-
export var SplitContainer: React.FC<ISplitContainerProps
|
|
4320
|
+
export var SplitContainer: React.FC<React.PropsWithChildren<ISplitContainerProps>>;
|
|
4316
4321
|
|
|
4317
4322
|
|
|
4318
4323
|
|
|
@@ -6074,9 +6079,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6074
6079
|
constructor(props: IColorPickerLineProps);
|
|
6075
6080
|
syncPositions(): void;
|
|
6076
6081
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
6077
|
-
getHexString(props?: Readonly<IColorPickerLineProps>
|
|
6078
|
-
children?: React.ReactNode | undefined;
|
|
6079
|
-
}>): string;
|
|
6082
|
+
getHexString(props?: Readonly<IColorPickerLineProps>): string;
|
|
6080
6083
|
componentDidUpdate(): void;
|
|
6081
6084
|
componentDidMount(): void;
|
|
6082
6085
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6109,9 +6112,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6109
6112
|
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
6110
6113
|
constructor(props: IColorLineProps);
|
|
6111
6114
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
6112
|
-
getValue(props?: Readonly<IColorLineProps>
|
|
6113
|
-
children?: React.ReactNode | undefined;
|
|
6114
|
-
}>): BABYLON.Color4;
|
|
6115
|
+
getValue(props?: Readonly<IColorLineProps>): BABYLON.Color4;
|
|
6115
6116
|
setColorFromString(colorString: string): void;
|
|
6116
6117
|
setColor(newColor: BABYLON.Color4): void;
|
|
6117
6118
|
switchExpandState(): void;
|
|
@@ -6362,7 +6363,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6362
6363
|
title?: string;
|
|
6363
6364
|
backgroundColor?: string;
|
|
6364
6365
|
};
|
|
6365
|
-
export var Button: React.FC<ButtonProps
|
|
6366
|
+
export var Button: React.FC<React.PropsWithChildren<ButtonProps>>;
|
|
6366
6367
|
|
|
6367
6368
|
|
|
6368
6369
|
|
|
@@ -6452,7 +6453,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6452
6453
|
* @param props
|
|
6453
6454
|
* @returns
|
|
6454
6455
|
*/
|
|
6455
|
-
export const NodeRenderer: (props: INodeRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
6456
|
+
export const NodeRenderer: (props: React.PropsWithChildren<INodeRendererProps>) => import("react/jsx-runtime").JSX.Element;
|
|
6456
6457
|
|
|
6457
6458
|
|
|
6458
6459
|
|
|
@@ -6471,7 +6472,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6471
6472
|
* @param props properties
|
|
6472
6473
|
* @returns graph node container element
|
|
6473
6474
|
*/
|
|
6474
|
-
export var GraphNodesContainer: React.FC<IGraphContainerProps
|
|
6475
|
+
export var GraphNodesContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
|
|
6475
6476
|
|
|
6476
6477
|
|
|
6477
6478
|
|
|
@@ -6492,7 +6493,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6492
6493
|
highlighted?: boolean;
|
|
6493
6494
|
parentContainerId: string;
|
|
6494
6495
|
}
|
|
6495
|
-
export var SingleGraphNode: React.FC<IGraphNodeProps
|
|
6496
|
+
export var SingleGraphNode: React.FC<React.PropsWithChildren<IGraphNodeProps>>;
|
|
6496
6497
|
|
|
6497
6498
|
|
|
6498
6499
|
|
|
@@ -6516,7 +6517,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6516
6517
|
* @param props
|
|
6517
6518
|
* @returns
|
|
6518
6519
|
*/
|
|
6519
|
-
export var GraphLinesContainer: React.FC<IGraphLinesContainerProps
|
|
6520
|
+
export var GraphLinesContainer: React.FC<React.PropsWithChildren<IGraphLinesContainerProps>>;
|
|
6520
6521
|
|
|
6521
6522
|
|
|
6522
6523
|
|
|
@@ -6602,7 +6603,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6602
6603
|
* @param props
|
|
6603
6604
|
* @returns
|
|
6604
6605
|
*/
|
|
6605
|
-
export var GraphContainer: React.FC<IGraphContainerProps
|
|
6606
|
+
export var GraphContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
|
|
6606
6607
|
|
|
6607
6608
|
|
|
6608
6609
|
|
|
@@ -6654,7 +6655,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6654
6655
|
* drag the handle in a node and drop it in another node to create a connection.
|
|
6655
6656
|
* @returns connector element
|
|
6656
6657
|
*/
|
|
6657
|
-
export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps
|
|
6658
|
+
export var GraphConnectorHandler: React.FC<React.PropsWithChildren<IGraphConnectorHandlerProps>>;
|
|
6658
6659
|
|
|
6659
6660
|
|
|
6660
6661
|
|
|
@@ -6776,9 +6777,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6776
6777
|
constructor(props: IColorPickerLineComponentProps);
|
|
6777
6778
|
syncPositions(): void;
|
|
6778
6779
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
6779
|
-
getHexString(props?: Readonly<IColorPickerLineComponentProps>
|
|
6780
|
-
children?: React.ReactNode | undefined;
|
|
6781
|
-
}>): string;
|
|
6780
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
|
|
6782
6781
|
componentDidUpdate(): void;
|
|
6783
6782
|
componentDidMount(): void;
|
|
6784
6783
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6811,9 +6810,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
6811
6810
|
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
|
6812
6811
|
constructor(props: IColorLineComponentProps);
|
|
6813
6812
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
6814
|
-
getValue(props?: Readonly<IColorLineComponentProps>
|
|
6815
|
-
children?: React.ReactNode | undefined;
|
|
6816
|
-
}>): BABYLON.Color4;
|
|
6813
|
+
getValue(props?: Readonly<IColorLineComponentProps>): BABYLON.Color4;
|
|
6817
6814
|
setColorFromString(colorString: string): void;
|
|
6818
6815
|
setColor(newColor: BABYLON.Color4): void;
|
|
6819
6816
|
switchExpandState(): void;
|
|
@@ -7173,7 +7170,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
7173
7170
|
* @param props properties
|
|
7174
7171
|
* @returns drop zone element
|
|
7175
7172
|
*/
|
|
7176
|
-
export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps
|
|
7173
|
+
export var FlexibleDropZone: React.FC<React.PropsWithChildren<IFlexibleDropZoneProps>>;
|
|
7177
7174
|
|
|
7178
7175
|
|
|
7179
7176
|
|
|
@@ -7201,7 +7198,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
7201
7198
|
* @param props properties
|
|
7202
7199
|
* @returns DragHandler element
|
|
7203
7200
|
*/
|
|
7204
|
-
export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps
|
|
7201
|
+
export var FlexibleDragHandler: React.FC<React.PropsWithChildren<IFlexibleDragHandlerProps>>;
|
|
7205
7202
|
|
|
7206
7203
|
|
|
7207
7204
|
|
|
@@ -7226,7 +7223,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
7226
7223
|
* @param props
|
|
7227
7224
|
* @returns
|
|
7228
7225
|
*/
|
|
7229
|
-
export var FlexibleColumn: React.FC<IFlexibleColumnProps
|
|
7226
|
+
export var FlexibleColumn: React.FC<React.PropsWithChildren<IFlexibleColumnProps>>;
|
|
7230
7227
|
|
|
7231
7228
|
|
|
7232
7229
|
|
|
@@ -7435,7 +7432,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
7435
7432
|
artboardColor?: string;
|
|
7436
7433
|
artboardColorPickerColor?: string;
|
|
7437
7434
|
}
|
|
7438
|
-
export var CommandBarComponent: React.FC<ICommandBarComponentProps
|
|
7435
|
+
export var CommandBarComponent: React.FC<React.PropsWithChildren<ICommandBarComponentProps>>;
|
|
7439
7436
|
|
|
7440
7437
|
|
|
7441
7438
|
|
|
@@ -69,8 +69,12 @@ export class Inspector {
|
|
|
69
69
|
private static _SceneExplorerHost;
|
|
70
70
|
private static _ActionTabsHost;
|
|
71
71
|
private static _EmbedHost;
|
|
72
|
-
private static _NewCanvasContainer;
|
|
73
72
|
private static _PersistentPopupHost;
|
|
73
|
+
private static _SceneExplorerRoot;
|
|
74
|
+
private static _ActionTabsRoot;
|
|
75
|
+
private static _EmbedHostRoot;
|
|
76
|
+
private static _PersistentPopupRoot;
|
|
77
|
+
private static _NewCanvasContainer;
|
|
74
78
|
private static _SceneExplorerWindow;
|
|
75
79
|
private static _ActionTabsWindow;
|
|
76
80
|
private static _EmbedHostWindow;
|
|
@@ -141,6 +145,7 @@ export class PropertyChangedEvent {
|
|
|
141
145
|
}
|
|
142
146
|
declare module "babylonjs-inspector/components/popupComponent" {
|
|
143
147
|
import * as React from "react";
|
|
148
|
+
import { PropsWithChildren } from "react";
|
|
144
149
|
export interface IPopupComponentProps {
|
|
145
150
|
id: string;
|
|
146
151
|
title: string;
|
|
@@ -154,7 +159,7 @@ export interface IPopupComponentProps {
|
|
|
154
159
|
onKeyUp?: (evt: KeyboardEvent) => void;
|
|
155
160
|
onKeyDown?: (evt: KeyboardEvent) => void;
|
|
156
161
|
}
|
|
157
|
-
export class PopupComponent extends React.Component<IPopupComponentProps
|
|
162
|
+
export class PopupComponent extends React.Component<PropsWithChildren<IPopupComponentProps>, {
|
|
158
163
|
isComponentMounted: boolean;
|
|
159
164
|
blockedByBrowser: boolean;
|
|
160
165
|
}> {
|
|
@@ -307,6 +312,7 @@ export class TreeItemSelectableComponent extends React.Component<ITreeItemSelect
|
|
|
307
312
|
isSelected: boolean;
|
|
308
313
|
}> {
|
|
309
314
|
private _wasSelected;
|
|
315
|
+
private _thisRef;
|
|
310
316
|
constructor(props: ITreeItemSelectableComponentProps);
|
|
311
317
|
switchExpandedState(): void;
|
|
312
318
|
shouldComponentUpdate(nextProps: ITreeItemSelectableComponentProps, nextState: {
|
|
@@ -5270,6 +5276,7 @@ export const SplitContext: import("react").Context<ISplitContext>;
|
|
|
5270
5276
|
|
|
5271
5277
|
}
|
|
5272
5278
|
declare module "babylonjs-inspector/split/splitContainer" {
|
|
5279
|
+
import { PropsWithChildren } from "react";
|
|
5273
5280
|
import { SplitDirection } from "babylonjs-inspector/split/splitContext";
|
|
5274
5281
|
/**
|
|
5275
5282
|
* Split container properties
|
|
@@ -5326,7 +5333,7 @@ export interface ISplitContainerProps {
|
|
|
5326
5333
|
* @param props defines the split container properties
|
|
5327
5334
|
* @returns the split container component
|
|
5328
5335
|
*/
|
|
5329
|
-
export const SplitContainer: React.FC<ISplitContainerProps
|
|
5336
|
+
export const SplitContainer: React.FC<PropsWithChildren<ISplitContainerProps>>;
|
|
5330
5337
|
|
|
5331
5338
|
}
|
|
5332
5339
|
declare module "babylonjs-inspector/nodeGraphSystem/typeLedger" {
|
|
@@ -6965,9 +6972,7 @@ export class ColorPickerLine extends React.Component<IColorPickerLineProps, ICol
|
|
|
6965
6972
|
constructor(props: IColorPickerLineProps);
|
|
6966
6973
|
syncPositions(): void;
|
|
6967
6974
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
6968
|
-
getHexString(props?: Readonly<IColorPickerLineProps>
|
|
6969
|
-
children?: React.ReactNode | undefined;
|
|
6970
|
-
}>): string;
|
|
6975
|
+
getHexString(props?: Readonly<IColorPickerLineProps>): string;
|
|
6971
6976
|
componentDidUpdate(): void;
|
|
6972
6977
|
componentDidMount(): void;
|
|
6973
6978
|
|
|
@@ -7000,9 +7005,7 @@ interface IColorLineComponentState {
|
|
|
7000
7005
|
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
7001
7006
|
constructor(props: IColorLineProps);
|
|
7002
7007
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
7003
|
-
getValue(props?: Readonly<IColorLineProps>
|
|
7004
|
-
children?: React.ReactNode | undefined;
|
|
7005
|
-
}>): Color4;
|
|
7008
|
+
getValue(props?: Readonly<IColorLineProps>): Color4;
|
|
7006
7009
|
setColorFromString(colorString: string): void;
|
|
7007
7010
|
setColor(newColor: Color4): void;
|
|
7008
7011
|
switchExpandState(): void;
|
|
@@ -7189,6 +7192,7 @@ export const Icon: React.FC<IconProps>;
|
|
|
7189
7192
|
|
|
7190
7193
|
}
|
|
7191
7194
|
declare module "babylonjs-inspector/components/Button" {
|
|
7195
|
+
import { PropsWithChildren } from "react";
|
|
7192
7196
|
export type ButtonProps = {
|
|
7193
7197
|
disabled?: boolean;
|
|
7194
7198
|
active?: boolean;
|
|
@@ -7198,7 +7202,7 @@ export type ButtonProps = {
|
|
|
7198
7202
|
title?: string;
|
|
7199
7203
|
backgroundColor?: string;
|
|
7200
7204
|
};
|
|
7201
|
-
export const Button: React.FC<ButtonProps
|
|
7205
|
+
export const Button: React.FC<PropsWithChildren<ButtonProps>>;
|
|
7202
7206
|
|
|
7203
7207
|
}
|
|
7204
7208
|
declare module "babylonjs-inspector/components/reactGraphSystem/useGraphContext" {
|
|
@@ -7210,7 +7214,7 @@ export const useGraphContext: () => import("babylonjs-inspector/components/react
|
|
|
7210
7214
|
|
|
7211
7215
|
}
|
|
7212
7216
|
declare module "babylonjs-inspector/components/reactGraphSystem/NodeRenderer" {
|
|
7213
|
-
import { ComponentType } from "react";
|
|
7217
|
+
import { ComponentType, PropsWithChildren } from "react";
|
|
7214
7218
|
import { Nullable } from "babylonjs/types";
|
|
7215
7219
|
export type IVisualRecordsType = Record<string, {
|
|
7216
7220
|
x: number;
|
|
@@ -7282,7 +7286,7 @@ export interface INodeRendererProps {
|
|
|
7282
7286
|
|
|
7283
7287
|
}
|
|
7284
7288
|
declare module "babylonjs-inspector/components/reactGraphSystem/GraphNodesContainer" {
|
|
7285
|
-
import { FC } from "react";
|
|
7289
|
+
import { FC, PropsWithChildren } from "react";
|
|
7286
7290
|
export interface IGraphContainerProps {
|
|
7287
7291
|
onNodeMoved: (id: string, x: number, y: number) => void;
|
|
7288
7292
|
id: string;
|
|
@@ -7292,11 +7296,11 @@ export interface IGraphContainerProps {
|
|
|
7292
7296
|
* @param props properties
|
|
7293
7297
|
* @returns graph node container element
|
|
7294
7298
|
*/
|
|
7295
|
-
export const GraphNodesContainer: FC<IGraphContainerProps
|
|
7299
|
+
export const GraphNodesContainer: FC<PropsWithChildren<IGraphContainerProps>>;
|
|
7296
7300
|
|
|
7297
7301
|
}
|
|
7298
7302
|
declare module "babylonjs-inspector/components/reactGraphSystem/GraphNode" {
|
|
7299
|
-
import { FC } from "react";
|
|
7303
|
+
import { FC, PropsWithChildren } from "react";
|
|
7300
7304
|
export interface IGraphNodeProps {
|
|
7301
7305
|
id: string;
|
|
7302
7306
|
name: string;
|
|
@@ -7308,11 +7312,11 @@ export interface IGraphNodeProps {
|
|
|
7308
7312
|
highlighted?: boolean;
|
|
7309
7313
|
parentContainerId: string;
|
|
7310
7314
|
}
|
|
7311
|
-
export const SingleGraphNode: FC<IGraphNodeProps
|
|
7315
|
+
export const SingleGraphNode: FC<PropsWithChildren<IGraphNodeProps>>;
|
|
7312
7316
|
|
|
7313
7317
|
}
|
|
7314
7318
|
declare module "babylonjs-inspector/components/reactGraphSystem/GraphLinesContainer" {
|
|
7315
|
-
import { FC } from "react";
|
|
7319
|
+
import { FC, PropsWithChildren } from "react";
|
|
7316
7320
|
/**
|
|
7317
7321
|
* props for the GraphLineContainer
|
|
7318
7322
|
*/
|
|
@@ -7327,7 +7331,7 @@ export interface IGraphLinesContainerProps {
|
|
|
7327
7331
|
* @param props
|
|
7328
7332
|
* @returns
|
|
7329
7333
|
*/
|
|
7330
|
-
export const GraphLinesContainer: FC<IGraphLinesContainerProps
|
|
7334
|
+
export const GraphLinesContainer: FC<PropsWithChildren<IGraphLinesContainerProps>>;
|
|
7331
7335
|
|
|
7332
7336
|
}
|
|
7333
7337
|
declare module "babylonjs-inspector/components/reactGraphSystem/GraphLine" {
|
|
@@ -7388,7 +7392,7 @@ export const GraphContextManager: import("react").Context<IGraphContext>;
|
|
|
7388
7392
|
|
|
7389
7393
|
}
|
|
7390
7394
|
declare module "babylonjs-inspector/components/reactGraphSystem/GraphContainer" {
|
|
7391
|
-
import { FC } from "react";
|
|
7395
|
+
import { FC, PropsWithChildren } from "react";
|
|
7392
7396
|
export interface IGraphContainerProps {
|
|
7393
7397
|
}
|
|
7394
7398
|
/**
|
|
@@ -7397,11 +7401,11 @@ export interface IGraphContainerProps {
|
|
|
7397
7401
|
* @param props
|
|
7398
7402
|
* @returns
|
|
7399
7403
|
*/
|
|
7400
|
-
export const GraphContainer: FC<IGraphContainerProps
|
|
7404
|
+
export const GraphContainer: FC<PropsWithChildren<IGraphContainerProps>>;
|
|
7401
7405
|
|
|
7402
7406
|
}
|
|
7403
7407
|
declare module "babylonjs-inspector/components/reactGraphSystem/GraphConnectorHandle" {
|
|
7404
|
-
import { FC } from "react";
|
|
7408
|
+
import { FC, PropsWithChildren } from "react";
|
|
7405
7409
|
/**
|
|
7406
7410
|
* Props for the connector
|
|
7407
7411
|
*/
|
|
@@ -7444,7 +7448,7 @@ export interface IGraphConnectorHandlerProps {
|
|
|
7444
7448
|
* drag the handle in a node and drop it in another node to create a connection.
|
|
7445
7449
|
* @returns connector element
|
|
7446
7450
|
*/
|
|
7447
|
-
export const GraphConnectorHandler: FC<IGraphConnectorHandlerProps
|
|
7451
|
+
export const GraphConnectorHandler: FC<PropsWithChildren<IGraphConnectorHandlerProps>>;
|
|
7448
7452
|
|
|
7449
7453
|
}
|
|
7450
7454
|
declare module "babylonjs-inspector/components/lines/OptionsLineComponent" {
|
|
@@ -7549,9 +7553,7 @@ export class ColorPickerLineComponent extends React.Component<IColorPickerLineCo
|
|
|
7549
7553
|
constructor(props: IColorPickerLineComponentProps);
|
|
7550
7554
|
syncPositions(): void;
|
|
7551
7555
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
7552
|
-
getHexString(props?: Readonly<IColorPickerLineComponentProps>
|
|
7553
|
-
children?: React.ReactNode | undefined;
|
|
7554
|
-
}>): string;
|
|
7556
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
|
|
7555
7557
|
componentDidUpdate(): void;
|
|
7556
7558
|
componentDidMount(): void;
|
|
7557
7559
|
|
|
@@ -7584,9 +7586,7 @@ interface IColorLineComponentState {
|
|
|
7584
7586
|
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
|
7585
7587
|
constructor(props: IColorLineComponentProps);
|
|
7586
7588
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
7587
|
-
getValue(props?: Readonly<IColorLineComponentProps>
|
|
7588
|
-
children?: React.ReactNode | undefined;
|
|
7589
|
-
}>): Color4;
|
|
7589
|
+
getValue(props?: Readonly<IColorLineComponentProps>): Color4;
|
|
7590
7590
|
setColorFromString(colorString: string): void;
|
|
7591
7591
|
setColor(newColor: Color4): void;
|
|
7592
7592
|
switchExpandState(): void;
|
|
@@ -7886,7 +7886,7 @@ export const FlexibleGridContainer: FC<IFlexibleGridContainerProps>;
|
|
|
7886
7886
|
|
|
7887
7887
|
}
|
|
7888
7888
|
declare module "babylonjs-inspector/components/layout/FlexibleDropZone" {
|
|
7889
|
-
import { FC } from "react";
|
|
7889
|
+
import { FC, PropsWithChildren } from "react";
|
|
7890
7890
|
/**
|
|
7891
7891
|
* Arguments for the FlexibleDropZone component.
|
|
7892
7892
|
*/
|
|
@@ -7906,11 +7906,11 @@ export interface IFlexibleDropZoneProps {
|
|
|
7906
7906
|
* @param props properties
|
|
7907
7907
|
* @returns drop zone element
|
|
7908
7908
|
*/
|
|
7909
|
-
export const FlexibleDropZone: FC<IFlexibleDropZoneProps
|
|
7909
|
+
export const FlexibleDropZone: FC<PropsWithChildren<IFlexibleDropZoneProps>>;
|
|
7910
7910
|
|
|
7911
7911
|
}
|
|
7912
7912
|
declare module "babylonjs-inspector/components/layout/FlexibleDragHandler" {
|
|
7913
|
-
import { FC } from "react";
|
|
7913
|
+
import { FC, PropsWithChildren } from "react";
|
|
7914
7914
|
/**
|
|
7915
7915
|
* Arguments for the DragHandler component.
|
|
7916
7916
|
*/
|
|
@@ -7929,11 +7929,11 @@ export interface IFlexibleDragHandlerProps {
|
|
|
7929
7929
|
* @param props properties
|
|
7930
7930
|
* @returns DragHandler element
|
|
7931
7931
|
*/
|
|
7932
|
-
export const FlexibleDragHandler: FC<IFlexibleDragHandlerProps
|
|
7932
|
+
export const FlexibleDragHandler: FC<PropsWithChildren<IFlexibleDragHandlerProps>>;
|
|
7933
7933
|
|
|
7934
7934
|
}
|
|
7935
7935
|
declare module "babylonjs-inspector/components/layout/FlexibleColumn" {
|
|
7936
|
-
import { FC } from "react";
|
|
7936
|
+
import { FC, PropsWithChildren } from "react";
|
|
7937
7937
|
/**
|
|
7938
7938
|
* Arguments for the Column component.
|
|
7939
7939
|
*/
|
|
@@ -7949,7 +7949,7 @@ export interface IFlexibleColumnProps {
|
|
|
7949
7949
|
* @param props
|
|
7950
7950
|
* @returns
|
|
7951
7951
|
*/
|
|
7952
|
-
export const FlexibleColumn: FC<IFlexibleColumnProps
|
|
7952
|
+
export const FlexibleColumn: FC<PropsWithChildren<IFlexibleColumnProps>>;
|
|
7953
7953
|
|
|
7954
7954
|
}
|
|
7955
7955
|
declare module "babylonjs-inspector/components/layout/DraggableIcon" {
|
|
@@ -8114,7 +8114,7 @@ export const CommandButtonComponent: React.FC<ICommandButtonComponentProps>;
|
|
|
8114
8114
|
|
|
8115
8115
|
}
|
|
8116
8116
|
declare module "babylonjs-inspector/components/bars/CommandBarComponent" {
|
|
8117
|
-
import { FC } from "react";
|
|
8117
|
+
import { FC, PropsWithChildren } from "react";
|
|
8118
8118
|
export interface ICommandBarComponentProps {
|
|
8119
8119
|
onSaveButtonClicked?: () => void;
|
|
8120
8120
|
onSaveToSnippetButtonClicked?: () => void;
|
|
@@ -8129,7 +8129,7 @@ export interface ICommandBarComponentProps {
|
|
|
8129
8129
|
artboardColor?: string;
|
|
8130
8130
|
artboardColorPickerColor?: string;
|
|
8131
8131
|
}
|
|
8132
|
-
export const CommandBarComponent: FC<ICommandBarComponentProps
|
|
8132
|
+
export const CommandBarComponent: FC<PropsWithChildren<ICommandBarComponentProps>>;
|
|
8133
8133
|
|
|
8134
8134
|
}
|
|
8135
8135
|
declare module "babylonjs-inspector/colorPicker/hexColor" {
|
|
@@ -8288,8 +8288,12 @@ declare module INSPECTOR {
|
|
|
8288
8288
|
private static _SceneExplorerHost;
|
|
8289
8289
|
private static _ActionTabsHost;
|
|
8290
8290
|
private static _EmbedHost;
|
|
8291
|
-
private static _NewCanvasContainer;
|
|
8292
8291
|
private static _PersistentPopupHost;
|
|
8292
|
+
private static _SceneExplorerRoot;
|
|
8293
|
+
private static _ActionTabsRoot;
|
|
8294
|
+
private static _EmbedHostRoot;
|
|
8295
|
+
private static _PersistentPopupRoot;
|
|
8296
|
+
private static _NewCanvasContainer;
|
|
8293
8297
|
private static _SceneExplorerWindow;
|
|
8294
8298
|
private static _ActionTabsWindow;
|
|
8295
8299
|
private static _EmbedHostWindow;
|
|
@@ -8361,7 +8365,7 @@ declare module INSPECTOR {
|
|
|
8361
8365
|
onKeyUp?: (evt: KeyboardEvent) => void;
|
|
8362
8366
|
onKeyDown?: (evt: KeyboardEvent) => void;
|
|
8363
8367
|
}
|
|
8364
|
-
export class PopupComponent extends React.Component<IPopupComponentProps
|
|
8368
|
+
export class PopupComponent extends React.Component<React.PropsWithChildren<IPopupComponentProps>, {
|
|
8365
8369
|
isComponentMounted: boolean;
|
|
8366
8370
|
blockedByBrowser: boolean;
|
|
8367
8371
|
}> {
|
|
@@ -8484,6 +8488,7 @@ declare module INSPECTOR {
|
|
|
8484
8488
|
isSelected: boolean;
|
|
8485
8489
|
}> {
|
|
8486
8490
|
private _wasSelected;
|
|
8491
|
+
private _thisRef;
|
|
8487
8492
|
constructor(props: ITreeItemSelectableComponentProps);
|
|
8488
8493
|
switchExpandedState(): void;
|
|
8489
8494
|
shouldComponentUpdate(nextProps: ITreeItemSelectableComponentProps, nextState: {
|
|
@@ -12541,7 +12546,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12541
12546
|
* @param props defines the split container properties
|
|
12542
12547
|
* @returns the split container component
|
|
12543
12548
|
*/
|
|
12544
|
-
export var SplitContainer: React.FC<ISplitContainerProps
|
|
12549
|
+
export var SplitContainer: React.FC<React.PropsWithChildren<ISplitContainerProps>>;
|
|
12545
12550
|
|
|
12546
12551
|
|
|
12547
12552
|
|
|
@@ -14303,9 +14308,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14303
14308
|
constructor(props: IColorPickerLineProps);
|
|
14304
14309
|
syncPositions(): void;
|
|
14305
14310
|
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
14306
|
-
getHexString(props?: Readonly<IColorPickerLineProps>
|
|
14307
|
-
children?: React.ReactNode | undefined;
|
|
14308
|
-
}>): string;
|
|
14311
|
+
getHexString(props?: Readonly<IColorPickerLineProps>): string;
|
|
14309
14312
|
componentDidUpdate(): void;
|
|
14310
14313
|
componentDidMount(): void;
|
|
14311
14314
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -14338,9 +14341,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14338
14341
|
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
14339
14342
|
constructor(props: IColorLineProps);
|
|
14340
14343
|
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
14341
|
-
getValue(props?: Readonly<IColorLineProps>
|
|
14342
|
-
children?: React.ReactNode | undefined;
|
|
14343
|
-
}>): BABYLON.Color4;
|
|
14344
|
+
getValue(props?: Readonly<IColorLineProps>): BABYLON.Color4;
|
|
14344
14345
|
setColorFromString(colorString: string): void;
|
|
14345
14346
|
setColor(newColor: BABYLON.Color4): void;
|
|
14346
14347
|
switchExpandState(): void;
|
|
@@ -14591,7 +14592,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14591
14592
|
title?: string;
|
|
14592
14593
|
backgroundColor?: string;
|
|
14593
14594
|
};
|
|
14594
|
-
export var Button: React.FC<ButtonProps
|
|
14595
|
+
export var Button: React.FC<React.PropsWithChildren<ButtonProps>>;
|
|
14595
14596
|
|
|
14596
14597
|
|
|
14597
14598
|
|
|
@@ -14681,7 +14682,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14681
14682
|
* @param props
|
|
14682
14683
|
* @returns
|
|
14683
14684
|
*/
|
|
14684
|
-
export const NodeRenderer: (props: INodeRendererProps) => import("react/jsx-runtime").JSX.Element;
|
|
14685
|
+
export const NodeRenderer: (props: React.PropsWithChildren<INodeRendererProps>) => import("react/jsx-runtime").JSX.Element;
|
|
14685
14686
|
|
|
14686
14687
|
|
|
14687
14688
|
|
|
@@ -14700,7 +14701,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14700
14701
|
* @param props properties
|
|
14701
14702
|
* @returns graph node container element
|
|
14702
14703
|
*/
|
|
14703
|
-
export var GraphNodesContainer: React.FC<IGraphContainerProps
|
|
14704
|
+
export var GraphNodesContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
|
|
14704
14705
|
|
|
14705
14706
|
|
|
14706
14707
|
|
|
@@ -14721,7 +14722,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14721
14722
|
highlighted?: boolean;
|
|
14722
14723
|
parentContainerId: string;
|
|
14723
14724
|
}
|
|
14724
|
-
export var SingleGraphNode: React.FC<IGraphNodeProps
|
|
14725
|
+
export var SingleGraphNode: React.FC<React.PropsWithChildren<IGraphNodeProps>>;
|
|
14725
14726
|
|
|
14726
14727
|
|
|
14727
14728
|
|
|
@@ -14745,7 +14746,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14745
14746
|
* @param props
|
|
14746
14747
|
* @returns
|
|
14747
14748
|
*/
|
|
14748
|
-
export var GraphLinesContainer: React.FC<IGraphLinesContainerProps
|
|
14749
|
+
export var GraphLinesContainer: React.FC<React.PropsWithChildren<IGraphLinesContainerProps>>;
|
|
14749
14750
|
|
|
14750
14751
|
|
|
14751
14752
|
|
|
@@ -14831,7 +14832,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14831
14832
|
* @param props
|
|
14832
14833
|
* @returns
|
|
14833
14834
|
*/
|
|
14834
|
-
export var GraphContainer: React.FC<IGraphContainerProps
|
|
14835
|
+
export var GraphContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
|
|
14835
14836
|
|
|
14836
14837
|
|
|
14837
14838
|
|
|
@@ -14883,7 +14884,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
14883
14884
|
* drag the handle in a node and drop it in another node to create a connection.
|
|
14884
14885
|
* @returns connector element
|
|
14885
14886
|
*/
|
|
14886
|
-
export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps
|
|
14887
|
+
export var GraphConnectorHandler: React.FC<React.PropsWithChildren<IGraphConnectorHandlerProps>>;
|
|
14887
14888
|
|
|
14888
14889
|
|
|
14889
14890
|
|
|
@@ -15005,9 +15006,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
15005
15006
|
constructor(props: IColorPickerLineComponentProps);
|
|
15006
15007
|
syncPositions(): void;
|
|
15007
15008
|
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
15008
|
-
getHexString(props?: Readonly<IColorPickerLineComponentProps>
|
|
15009
|
-
children?: React.ReactNode | undefined;
|
|
15010
|
-
}>): string;
|
|
15009
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
|
|
15011
15010
|
componentDidUpdate(): void;
|
|
15012
15011
|
componentDidMount(): void;
|
|
15013
15012
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -15040,9 +15039,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
15040
15039
|
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
|
15041
15040
|
constructor(props: IColorLineComponentProps);
|
|
15042
15041
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
15043
|
-
getValue(props?: Readonly<IColorLineComponentProps>
|
|
15044
|
-
children?: React.ReactNode | undefined;
|
|
15045
|
-
}>): BABYLON.Color4;
|
|
15042
|
+
getValue(props?: Readonly<IColorLineComponentProps>): BABYLON.Color4;
|
|
15046
15043
|
setColorFromString(colorString: string): void;
|
|
15047
15044
|
setColor(newColor: BABYLON.Color4): void;
|
|
15048
15045
|
switchExpandState(): void;
|
|
@@ -15402,7 +15399,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
15402
15399
|
* @param props properties
|
|
15403
15400
|
* @returns drop zone element
|
|
15404
15401
|
*/
|
|
15405
|
-
export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps
|
|
15402
|
+
export var FlexibleDropZone: React.FC<React.PropsWithChildren<IFlexibleDropZoneProps>>;
|
|
15406
15403
|
|
|
15407
15404
|
|
|
15408
15405
|
|
|
@@ -15430,7 +15427,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
15430
15427
|
* @param props properties
|
|
15431
15428
|
* @returns DragHandler element
|
|
15432
15429
|
*/
|
|
15433
|
-
export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps
|
|
15430
|
+
export var FlexibleDragHandler: React.FC<React.PropsWithChildren<IFlexibleDragHandlerProps>>;
|
|
15434
15431
|
|
|
15435
15432
|
|
|
15436
15433
|
|
|
@@ -15455,7 +15452,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
15455
15452
|
* @param props
|
|
15456
15453
|
* @returns
|
|
15457
15454
|
*/
|
|
15458
|
-
export var FlexibleColumn: React.FC<IFlexibleColumnProps
|
|
15455
|
+
export var FlexibleColumn: React.FC<React.PropsWithChildren<IFlexibleColumnProps>>;
|
|
15459
15456
|
|
|
15460
15457
|
|
|
15461
15458
|
|
|
@@ -15664,7 +15661,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
15664
15661
|
artboardColor?: string;
|
|
15665
15662
|
artboardColorPickerColor?: string;
|
|
15666
15663
|
}
|
|
15667
|
-
export var CommandBarComponent: React.FC<ICommandBarComponentProps
|
|
15664
|
+
export var CommandBarComponent: React.FC<React.PropsWithChildren<ICommandBarComponentProps>>;
|
|
15668
15665
|
|
|
15669
15666
|
|
|
15670
15667
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-inspector",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"main": "babylon.inspector.bundle.max.js",
|
|
5
5
|
"types": "babylon.inspector.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,27 +14,27 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^8.
|
|
18
|
-
"babylonjs-gui": "^8.
|
|
19
|
-
"babylonjs-gui-editor": "^8.
|
|
20
|
-
"babylonjs-loaders": "^8.
|
|
21
|
-
"babylonjs-materials": "^8.
|
|
22
|
-
"babylonjs-serializers": "^8.
|
|
17
|
+
"babylonjs": "^8.2.0",
|
|
18
|
+
"babylonjs-gui": "^8.2.0",
|
|
19
|
+
"babylonjs-gui-editor": "^8.2.0",
|
|
20
|
+
"babylonjs-loaders": "^8.2.0",
|
|
21
|
+
"babylonjs-materials": "^8.2.0",
|
|
22
|
+
"babylonjs-serializers": "^8.2.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|
|
26
26
|
"@dev/inspector": "1.0.0",
|
|
27
27
|
"@dev/shared-ui-components": "1.0.0",
|
|
28
|
-
"@types/react": "^
|
|
29
|
-
"@types/react-dom": "^
|
|
28
|
+
"@types/react": "^18.0.0",
|
|
29
|
+
"@types/react-dom": "^18.0.0",
|
|
30
30
|
"css-loader": "^7.1.0",
|
|
31
|
-
"react": "^
|
|
31
|
+
"react": "^18.2.0",
|
|
32
32
|
"react-contextmenu": "RaananW/react-contextmenu",
|
|
33
|
-
"react-dom": "^
|
|
33
|
+
"react-dom": "^18.2.0",
|
|
34
34
|
"sass-loader": "^16.0.0",
|
|
35
35
|
"source-map-loader": "^4.0.0",
|
|
36
36
|
"ts-loader": "^9.2.6",
|
|
37
|
-
"webpack": "^5.
|
|
37
|
+
"webpack": "^5.98.0",
|
|
38
38
|
"webpack-cli": "^5.1.0",
|
|
39
39
|
"webpack-merge": "^5.8.0"
|
|
40
40
|
},
|