babylonjs-node-geometry-editor 7.32.3 → 7.32.5
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.
|
@@ -538,7 +538,6 @@ declare module "babylonjs-node-geometry-editor/graphSystem/properties/genericNod
|
|
|
538
538
|
import * as React from "react";
|
|
539
539
|
import { IPropertyComponentProps } from "babylonjs-node-geometry-editor/nodeGraphSystem/interfaces/propertyComponentProps";
|
|
540
540
|
import { NodeGeometryConnectionPoint } from "babylonjs/Meshes/Node/nodeGeometryBlockConnectionPoint";
|
|
541
|
-
import { type IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
|
|
542
541
|
export class GenericPropertyComponent extends React.Component<IPropertyComponentProps> {
|
|
543
542
|
constructor(props: IPropertyComponentProps);
|
|
544
543
|
|
|
@@ -551,7 +550,6 @@ export class GeneralPropertyTabComponent extends React.Component<IPropertyCompon
|
|
|
551
550
|
}
|
|
552
551
|
export class GenericPropertyTabComponent extends React.Component<IPropertyComponentProps> {
|
|
553
552
|
constructor(props: IPropertyComponentProps);
|
|
554
|
-
forceRebuild(propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
555
553
|
|
|
556
554
|
}
|
|
557
555
|
|
|
@@ -1422,6 +1420,7 @@ import { IPortData } from "babylonjs-node-geometry-editor/nodeGraphSystem/interf
|
|
|
1422
1420
|
import { ISelectionChangedOptions } from "babylonjs-node-geometry-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
1423
1421
|
import { NodePort } from "babylonjs-node-geometry-editor/nodeGraphSystem/nodePort";
|
|
1424
1422
|
import { HistoryStack } from "babylonjs-node-geometry-editor/historyStack";
|
|
1423
|
+
import { Scene } from "babylonjs/scene";
|
|
1425
1424
|
export class StateManager {
|
|
1426
1425
|
data: any;
|
|
1427
1426
|
hostDocument: Document;
|
|
@@ -1436,7 +1435,7 @@ export class StateManager {
|
|
|
1436
1435
|
onFrameCreatedObservable: Observable<GraphFrame>;
|
|
1437
1436
|
onUpdateRequiredObservable: Observable<any>;
|
|
1438
1437
|
onGraphNodeRemovalObservable: Observable<GraphNode>;
|
|
1439
|
-
onSelectionBoxMoved: Observable<
|
|
1438
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
1440
1439
|
onCandidateLinkMoved: Observable<Nullable<Vector2>>;
|
|
1441
1440
|
onCandidatePortSelectedObservable: Observable<Nullable<FrameNodePort | NodePort>>;
|
|
1442
1441
|
onNewNodeCreatedObservable: Observable<GraphNode>;
|
|
@@ -1456,6 +1455,7 @@ export class StateManager {
|
|
|
1456
1455
|
data: any;
|
|
1457
1456
|
active: boolean;
|
|
1458
1457
|
}>;
|
|
1458
|
+
onPreviewCommandActivated: Observable<boolean>;
|
|
1459
1459
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
1460
1460
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
1461
1461
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
@@ -1464,6 +1464,7 @@ export class StateManager {
|
|
|
1464
1464
|
getEditorDataMap: () => {
|
|
1465
1465
|
[key: number]: number;
|
|
1466
1466
|
};
|
|
1467
|
+
getScene?: () => Scene;
|
|
1467
1468
|
createDefaultInputData: (rootData: any, portData: IPortData, nodeContainer: INodeContainer) => Nullable<{
|
|
1468
1469
|
data: INodeData;
|
|
1469
1470
|
name: string;
|
|
@@ -1610,6 +1611,7 @@ export class GraphNode {
|
|
|
1610
1611
|
private _headerIconImg;
|
|
1611
1612
|
private _header;
|
|
1612
1613
|
private _connections;
|
|
1614
|
+
private _optionsContainer;
|
|
1613
1615
|
private _inputsContainer;
|
|
1614
1616
|
private _outputsContainer;
|
|
1615
1617
|
private _content;
|
|
@@ -1636,6 +1638,7 @@ export class GraphNode {
|
|
|
1636
1638
|
private _displayManager;
|
|
1637
1639
|
private _isVisible;
|
|
1638
1640
|
private _enclosingFrameId;
|
|
1641
|
+
private _visualPropertiesRefresh;
|
|
1639
1642
|
addClassToVisual(className: string): void;
|
|
1640
1643
|
removeClassFromVisual(className: string): void;
|
|
1641
1644
|
get isVisible(): boolean;
|
|
@@ -1674,6 +1677,7 @@ export class GraphNode {
|
|
|
1674
1677
|
private _onUp;
|
|
1675
1678
|
private _onMove;
|
|
1676
1679
|
renderProperties(): Nullable<JSX.Element>;
|
|
1680
|
+
private _forceRebuild;
|
|
1677
1681
|
appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
|
|
1678
1682
|
dispose(): void;
|
|
1679
1683
|
}
|
|
@@ -2000,6 +2004,19 @@ export class DisplayLedger {
|
|
|
2000
2004
|
};
|
|
2001
2005
|
}
|
|
2002
2006
|
|
|
2007
|
+
}
|
|
2008
|
+
declare module "babylonjs-node-geometry-editor/nodeGraphSystem/automaticProperties" {
|
|
2009
|
+
import { IEditablePropertyOption } from "babylonjs/Decorators/nodeDecorator";
|
|
2010
|
+
import { StateManager } from "babylonjs-node-geometry-editor/nodeGraphSystem/stateManager";
|
|
2011
|
+
/**
|
|
2012
|
+
* Function used to force a rebuild of the node system
|
|
2013
|
+
* @param source source object
|
|
2014
|
+
* @param stateManager defines the state manager to use
|
|
2015
|
+
* @param propertyName name of the property that has been changed
|
|
2016
|
+
* @param notifiers list of notifiers to use
|
|
2017
|
+
*/
|
|
2018
|
+
export function ForceRebuild(source: any, stateManager: StateManager, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
2019
|
+
|
|
2003
2020
|
}
|
|
2004
2021
|
declare module "babylonjs-node-geometry-editor/nodeGraphSystem/types/framePortData" {
|
|
2005
2022
|
import { GraphFrame } from "babylonjs-node-geometry-editor/nodeGraphSystem/graphFrame";
|
|
@@ -4557,7 +4574,6 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4557
4574
|
}
|
|
4558
4575
|
export class GenericPropertyTabComponent extends React.Component<BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps> {
|
|
4559
4576
|
constructor(props: BABYLON.NodeGeometryEditor.SharedUIComponents.IPropertyComponentProps);
|
|
4560
|
-
forceRebuild(propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
4561
4577
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
4562
4578
|
}
|
|
4563
4579
|
|
|
@@ -5357,7 +5373,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5357
5373
|
onFrameCreatedObservable: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>;
|
|
5358
5374
|
onUpdateRequiredObservable: BABYLON.Observable<any>;
|
|
5359
5375
|
onGraphNodeRemovalObservable: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode>;
|
|
5360
|
-
onSelectionBoxMoved: BABYLON.Observable<
|
|
5376
|
+
onSelectionBoxMoved: BABYLON.Observable<ClientRect | DOMRect>;
|
|
5361
5377
|
onCandidateLinkMoved: BABYLON.Observable<BABYLON.Nullable<BABYLON.Vector2>>;
|
|
5362
5378
|
onCandidatePortSelectedObservable: BABYLON.Observable<BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort>>;
|
|
5363
5379
|
onNewNodeCreatedObservable: BABYLON.Observable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphNode>;
|
|
@@ -5377,6 +5393,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5377
5393
|
data: any;
|
|
5378
5394
|
active: boolean;
|
|
5379
5395
|
}>;
|
|
5396
|
+
onPreviewCommandActivated: BABYLON.Observable<boolean>;
|
|
5380
5397
|
exportData: (data: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => string;
|
|
5381
5398
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
5382
5399
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
@@ -5385,6 +5402,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5385
5402
|
getEditorDataMap: () => {
|
|
5386
5403
|
[key: number]: number;
|
|
5387
5404
|
};
|
|
5405
|
+
getScene?: () => BABYLON.Scene;
|
|
5388
5406
|
createDefaultInputData: (rootData: any, portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, nodeContainer: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeContainer) => BABYLON.Nullable<{
|
|
5389
5407
|
data: BABYLON.NodeGeometryEditor.SharedUIComponents.INodeData;
|
|
5390
5408
|
name: string;
|
|
@@ -5540,6 +5558,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5540
5558
|
private _headerIconImg;
|
|
5541
5559
|
private _header;
|
|
5542
5560
|
private _connections;
|
|
5561
|
+
private _optionsContainer;
|
|
5543
5562
|
private _inputsContainer;
|
|
5544
5563
|
private _outputsContainer;
|
|
5545
5564
|
private _content;
|
|
@@ -5566,6 +5585,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5566
5585
|
private _displayManager;
|
|
5567
5586
|
private _isVisible;
|
|
5568
5587
|
private _enclosingFrameId;
|
|
5588
|
+
private _visualPropertiesRefresh;
|
|
5569
5589
|
addClassToVisual(className: string): void;
|
|
5570
5590
|
removeClassFromVisual(className: string): void;
|
|
5571
5591
|
get isVisible(): boolean;
|
|
@@ -5604,6 +5624,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5604
5624
|
private _onUp;
|
|
5605
5625
|
private _onMove;
|
|
5606
5626
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
5627
|
+
private _forceRebuild;
|
|
5607
5628
|
appendVisual(root: HTMLDivElement, owner: BABYLON.NodeGeometryEditor.SharedUIComponents.GraphCanvasComponent): void;
|
|
5608
5629
|
dispose(): void;
|
|
5609
5630
|
}
|
|
@@ -5930,6 +5951,23 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5930
5951
|
|
|
5931
5952
|
|
|
5932
5953
|
|
|
5954
|
+
}
|
|
5955
|
+
declare module BABYLON.NodeGeometryEditor {
|
|
5956
|
+
|
|
5957
|
+
|
|
5958
|
+
}
|
|
5959
|
+
declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
5960
|
+
/**
|
|
5961
|
+
* Function used to force a rebuild of the node system
|
|
5962
|
+
* @param source source object
|
|
5963
|
+
* @param stateManager defines the state manager to use
|
|
5964
|
+
* @param propertyName name of the property that has been changed
|
|
5965
|
+
* @param notifiers list of notifiers to use
|
|
5966
|
+
*/
|
|
5967
|
+
export function ForceRebuild(source: any, stateManager: BABYLON.NodeGeometryEditor.SharedUIComponents.StateManager, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
5968
|
+
|
|
5969
|
+
|
|
5970
|
+
|
|
5933
5971
|
}
|
|
5934
5972
|
declare module BABYLON.NodeGeometryEditor {
|
|
5935
5973
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.32.
|
|
3
|
+
"version": "7.32.5",
|
|
4
4
|
"main": "babylon.nodeGeometryEditor.js",
|
|
5
5
|
"types": "babylon.nodeGeometryEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.32.
|
|
17
|
+
"babylonjs": "^7.32.5"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|