babylonjs-inspector 7.53.3 → 7.54.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.d.ts +14 -3
- package/babylon.inspector.module.d.ts +28 -6
- package/package.json +7 -7
package/babylon.inspector.d.ts
CHANGED
|
@@ -4310,7 +4310,17 @@ declare module INSPECTOR {
|
|
|
4310
4310
|
declare module INSPECTOR.SharedUIComponents {
|
|
4311
4311
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is INSPECTOR.SharedUIComponents.FramePortData;
|
|
4312
4312
|
export const RefreshNode: (node: INSPECTOR.SharedUIComponents.GraphNode, visitedNodes?: Set<INSPECTOR.SharedUIComponents.GraphNode>, visitedLinks?: Set<INSPECTOR.SharedUIComponents.NodeLink>, canvas?: INSPECTOR.SharedUIComponents.GraphCanvasComponent) => void;
|
|
4313
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
4313
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
4314
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
4315
|
+
acceptedConnectionPointTypes: number[];
|
|
4316
|
+
excludedConnectionPointTypes: number[];
|
|
4317
|
+
type: number;
|
|
4318
|
+
}, skips?: number[]): string[];
|
|
4319
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
4320
|
+
acceptedConnectionPointTypes: number[];
|
|
4321
|
+
excludedConnectionPointTypes: number[];
|
|
4322
|
+
type: number;
|
|
4323
|
+
}, skips?: number[]): string;
|
|
4314
4324
|
|
|
4315
4325
|
|
|
4316
4326
|
|
|
@@ -4358,7 +4368,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4358
4368
|
exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
|
|
4359
4369
|
isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
4360
4370
|
isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
4361
|
-
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement,
|
|
4371
|
+
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
4362
4372
|
getPortColor: (portData: INSPECTOR.SharedUIComponents.IPortData) => string;
|
|
4363
4373
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => void;
|
|
4364
4374
|
getEditorDataMap: () => {
|
|
@@ -4432,7 +4442,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
4432
4442
|
node: INSPECTOR.SharedUIComponents.GraphNode;
|
|
4433
4443
|
protected _element: HTMLDivElement;
|
|
4434
4444
|
protected _portContainer: HTMLElement;
|
|
4435
|
-
protected
|
|
4445
|
+
protected _imgHost: HTMLDivElement;
|
|
4436
4446
|
protected _pip: HTMLDivElement;
|
|
4437
4447
|
protected _stateManager: INSPECTOR.SharedUIComponents.StateManager;
|
|
4438
4448
|
protected _portLabelElement: Element;
|
|
@@ -4519,6 +4529,7 @@ declare module INSPECTOR {
|
|
|
4519
4529
|
declare module INSPECTOR.SharedUIComponents {
|
|
4520
4530
|
export class GraphNode {
|
|
4521
4531
|
content: INSPECTOR.SharedUIComponents.INodeData;
|
|
4532
|
+
private static _IdGenerator;
|
|
4522
4533
|
private _visual;
|
|
4523
4534
|
private _headerContainer;
|
|
4524
4535
|
private _headerIcon;
|
|
@@ -5306,7 +5306,17 @@ import { NodeLink } from "babylonjs-inspector/nodeGraphSystem/nodeLink";
|
|
|
5306
5306
|
import { FramePortData } from "babylonjs-inspector/nodeGraphSystem/types/framePortData";
|
|
5307
5307
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is FramePortData;
|
|
5308
5308
|
export const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink>, canvas?: GraphCanvasComponent) => void;
|
|
5309
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
5309
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
5310
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
5311
|
+
acceptedConnectionPointTypes: number[];
|
|
5312
|
+
excludedConnectionPointTypes: number[];
|
|
5313
|
+
type: number;
|
|
5314
|
+
}, skips?: number[]): string[];
|
|
5315
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
5316
|
+
acceptedConnectionPointTypes: number[];
|
|
5317
|
+
excludedConnectionPointTypes: number[];
|
|
5318
|
+
type: number;
|
|
5319
|
+
}, skips?: number[]): string;
|
|
5310
5320
|
|
|
5311
5321
|
}
|
|
5312
5322
|
declare module "babylonjs-inspector/nodeGraphSystem/stateManager" {
|
|
@@ -5361,7 +5371,7 @@ export class StateManager {
|
|
|
5361
5371
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
5362
5372
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
5363
5373
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
5364
|
-
applyNodePortDesign: (data: IPortData, element: HTMLElement,
|
|
5374
|
+
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
5365
5375
|
getPortColor: (portData: IPortData) => string;
|
|
5366
5376
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
|
5367
5377
|
getEditorDataMap: () => {
|
|
@@ -5431,7 +5441,7 @@ export class NodePort {
|
|
|
5431
5441
|
node: GraphNode;
|
|
5432
5442
|
protected _element: HTMLDivElement;
|
|
5433
5443
|
protected _portContainer: HTMLElement;
|
|
5434
|
-
protected
|
|
5444
|
+
protected _imgHost: HTMLDivElement;
|
|
5435
5445
|
protected _pip: HTMLDivElement;
|
|
5436
5446
|
protected _stateManager: StateManager;
|
|
5437
5447
|
protected _portLabelElement: Element;
|
|
@@ -5514,6 +5524,7 @@ import { IPortData } from "babylonjs-inspector/nodeGraphSystem/interfaces/portDa
|
|
|
5514
5524
|
import { IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
|
|
5515
5525
|
export class GraphNode {
|
|
5516
5526
|
content: INodeData;
|
|
5527
|
+
private static _IdGenerator;
|
|
5517
5528
|
private _visual;
|
|
5518
5529
|
private _headerContainer;
|
|
5519
5530
|
private _headerIcon;
|
|
@@ -12462,7 +12473,17 @@ declare module INSPECTOR {
|
|
|
12462
12473
|
declare module INSPECTOR.SharedUIComponents {
|
|
12463
12474
|
export const IsFramePortData: (variableToCheck: any) => variableToCheck is INSPECTOR.SharedUIComponents.FramePortData;
|
|
12464
12475
|
export const RefreshNode: (node: INSPECTOR.SharedUIComponents.GraphNode, visitedNodes?: Set<INSPECTOR.SharedUIComponents.GraphNode>, visitedLinks?: Set<INSPECTOR.SharedUIComponents.NodeLink>, canvas?: INSPECTOR.SharedUIComponents.GraphCanvasComponent) => void;
|
|
12465
|
-
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void
|
|
12476
|
+
export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>, additionalClassName?: string) => void;
|
|
12477
|
+
export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
|
|
12478
|
+
acceptedConnectionPointTypes: number[];
|
|
12479
|
+
excludedConnectionPointTypes: number[];
|
|
12480
|
+
type: number;
|
|
12481
|
+
}, skips?: number[]): string[];
|
|
12482
|
+
export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
|
|
12483
|
+
acceptedConnectionPointTypes: number[];
|
|
12484
|
+
excludedConnectionPointTypes: number[];
|
|
12485
|
+
type: number;
|
|
12486
|
+
}, skips?: number[]): string;
|
|
12466
12487
|
|
|
12467
12488
|
|
|
12468
12489
|
|
|
@@ -12510,7 +12531,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12510
12531
|
exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
|
|
12511
12532
|
isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
12512
12533
|
isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
|
|
12513
|
-
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement,
|
|
12534
|
+
applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
|
|
12514
12535
|
getPortColor: (portData: INSPECTOR.SharedUIComponents.IPortData) => string;
|
|
12515
12536
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => void;
|
|
12516
12537
|
getEditorDataMap: () => {
|
|
@@ -12584,7 +12605,7 @@ declare module INSPECTOR.SharedUIComponents {
|
|
|
12584
12605
|
node: INSPECTOR.SharedUIComponents.GraphNode;
|
|
12585
12606
|
protected _element: HTMLDivElement;
|
|
12586
12607
|
protected _portContainer: HTMLElement;
|
|
12587
|
-
protected
|
|
12608
|
+
protected _imgHost: HTMLDivElement;
|
|
12588
12609
|
protected _pip: HTMLDivElement;
|
|
12589
12610
|
protected _stateManager: INSPECTOR.SharedUIComponents.StateManager;
|
|
12590
12611
|
protected _portLabelElement: Element;
|
|
@@ -12671,6 +12692,7 @@ declare module INSPECTOR {
|
|
|
12671
12692
|
declare module INSPECTOR.SharedUIComponents {
|
|
12672
12693
|
export class GraphNode {
|
|
12673
12694
|
content: INSPECTOR.SharedUIComponents.INodeData;
|
|
12695
|
+
private static _IdGenerator;
|
|
12674
12696
|
private _visual;
|
|
12675
12697
|
private _headerContainer;
|
|
12676
12698
|
private _headerIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-inspector",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.54.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.
|
|
18
|
-
"babylonjs-gui": "^7.
|
|
19
|
-
"babylonjs-gui-editor": "^7.
|
|
20
|
-
"babylonjs-loaders": "^7.
|
|
21
|
-
"babylonjs-materials": "^7.
|
|
22
|
-
"babylonjs-serializers": "^7.
|
|
17
|
+
"babylonjs": "^7.54.0",
|
|
18
|
+
"babylonjs-gui": "^7.54.0",
|
|
19
|
+
"babylonjs-gui-editor": "^7.54.0",
|
|
20
|
+
"babylonjs-loaders": "^7.54.0",
|
|
21
|
+
"babylonjs-materials": "^7.54.0",
|
|
22
|
+
"babylonjs-serializers": "^7.54.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@dev/build-tools": "1.0.0",
|