babylonjs-node-editor 6.38.1 → 6.40.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.nodeEditor.d.ts
CHANGED
|
@@ -1349,6 +1349,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
/**
|
|
1351
1351
|
* An icon that can be dragged by the user
|
|
1352
|
+
* @param props properties
|
|
1353
|
+
* @returns draggable icon element
|
|
1352
1354
|
*/
|
|
1353
1355
|
export var DraggableIcon: React.FC<IDraggableIconProps>;
|
|
1354
1356
|
|
|
@@ -1398,6 +1400,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1398
1400
|
}
|
|
1399
1401
|
/**
|
|
1400
1402
|
* This component receives the drop events and updates the layout accordingly
|
|
1403
|
+
* @param props properties
|
|
1404
|
+
* @returns DragHandler element
|
|
1401
1405
|
*/
|
|
1402
1406
|
export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps>;
|
|
1403
1407
|
|
|
@@ -1424,6 +1428,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1424
1428
|
/**
|
|
1425
1429
|
* This component contains the drag and drop zone for the resize bars that
|
|
1426
1430
|
* allow redefining width and height of layout elements
|
|
1431
|
+
* @param props properties
|
|
1432
|
+
* @returns drop zone element
|
|
1427
1433
|
*/
|
|
1428
1434
|
export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps>;
|
|
1429
1435
|
|
|
@@ -1441,6 +1447,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1441
1447
|
}
|
|
1442
1448
|
/**
|
|
1443
1449
|
* Component responsible for mapping the layout to the actual components
|
|
1450
|
+
* @returns GridContainer element
|
|
1444
1451
|
*/
|
|
1445
1452
|
export var FlexibleGridContainer: React.FC<IFlexibleGridContainerProps>;
|
|
1446
1453
|
|
|
@@ -1463,6 +1470,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1463
1470
|
/**
|
|
1464
1471
|
* This component represents a grid layout that can be resized and rearranged
|
|
1465
1472
|
* by the user.
|
|
1473
|
+
* @param props properties
|
|
1474
|
+
* @returns layout element
|
|
1466
1475
|
*/
|
|
1467
1476
|
export var FlexibleGridLayout: React.FC<IFlexibleGridLayoutProps>;
|
|
1468
1477
|
|
|
@@ -1509,6 +1518,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1509
1518
|
};
|
|
1510
1519
|
/**
|
|
1511
1520
|
* A component that renders a bar that the user can drag to resize.
|
|
1521
|
+
* @param props properties
|
|
1522
|
+
* @returns resize bar element
|
|
1512
1523
|
*/
|
|
1513
1524
|
export var FlexibleResizeBar: React.FC<IFlexibleRowResizerProps>;
|
|
1514
1525
|
|
|
@@ -1549,6 +1560,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1549
1560
|
* to activate or drag to reorder. It also listens for
|
|
1550
1561
|
* drop events if the user wants to drop another tab
|
|
1551
1562
|
* after it.
|
|
1563
|
+
* @param props properties
|
|
1564
|
+
* @returns FlexibleTab element
|
|
1552
1565
|
*/
|
|
1553
1566
|
export var FlexibleTab: React.FC<IFlexibleTabProps>;
|
|
1554
1567
|
|
|
@@ -1583,6 +1596,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1583
1596
|
/**
|
|
1584
1597
|
* This component contains a set of tabs of which only one is visible at a time.
|
|
1585
1598
|
* The tabs can also be dragged from and to different containers.
|
|
1599
|
+
* @param props properties
|
|
1600
|
+
* @returns tabs container element
|
|
1586
1601
|
*/
|
|
1587
1602
|
export var FlexibleTabsContainer: React.FC<IFlexibleTabsContainerProps>;
|
|
1588
1603
|
|
|
@@ -1718,11 +1733,15 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1718
1733
|
export const removeLayoutRowAndRedistributePercentages: (layout: BABYLON.NodeEditor.SharedUIComponents.Layout, column: number, row: number) => void;
|
|
1719
1734
|
/**
|
|
1720
1735
|
* Add a percentage string to a number
|
|
1736
|
+
* @param p1 the percentage string
|
|
1737
|
+
* @param p2 the number
|
|
1738
|
+
* @returns the sum of the percentage string and the number
|
|
1721
1739
|
*/
|
|
1722
1740
|
export const addPercentageStringToNumber: (p1: string, p2: number) => number;
|
|
1723
1741
|
/**
|
|
1724
1742
|
* Parses a percentage string into a number
|
|
1725
1743
|
* @param p the percentage string
|
|
1744
|
+
* @returns the parsed number
|
|
1726
1745
|
*/
|
|
1727
1746
|
export const parsePercentage: (p: string) => number;
|
|
1728
1747
|
|
|
@@ -1953,6 +1972,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
1953
1972
|
/**
|
|
1954
1973
|
* This component is used to initiate a connection between two nodes. Simply
|
|
1955
1974
|
* drag the handle in a node and drop it in another node to create a connection.
|
|
1975
|
+
* @returns connector element
|
|
1956
1976
|
*/
|
|
1957
1977
|
export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
|
|
1958
1978
|
|
|
@@ -2035,6 +2055,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2035
2055
|
/**
|
|
2036
2056
|
* This component draws a SVG line between two points, with an optional marker
|
|
2037
2057
|
* indicating direction
|
|
2058
|
+
* @param props properties
|
|
2059
|
+
* @returns graph line element
|
|
2038
2060
|
*/
|
|
2039
2061
|
export var GraphLine: React.FC<IGraphLineProps>;
|
|
2040
2062
|
|
|
@@ -2094,6 +2116,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2094
2116
|
}
|
|
2095
2117
|
/**
|
|
2096
2118
|
* This component contains all the nodes and handles their dragging
|
|
2119
|
+
* @param props properties
|
|
2120
|
+
* @returns graph node container element
|
|
2097
2121
|
*/
|
|
2098
2122
|
export var GraphNodesContainer: React.FC<IGraphContainerProps>;
|
|
2099
2123
|
|
|
@@ -2202,6 +2226,8 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2202
2226
|
}
|
|
2203
2227
|
/**
|
|
2204
2228
|
* This component represents a text input that can be submitted or cancelled on buttons
|
|
2229
|
+
* @param props properties
|
|
2230
|
+
* @returns TextInputWithSubmit element
|
|
2205
2231
|
*/
|
|
2206
2232
|
export const TextInputWithSubmit: (props: ITextInputProps) => JSX.Element;
|
|
2207
2233
|
|
|
@@ -2511,6 +2537,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
2511
2537
|
unit?: React.ReactNode;
|
|
2512
2538
|
onDragStart?: (newValue: number) => void;
|
|
2513
2539
|
onDragStop?: (newValue: number) => void;
|
|
2540
|
+
disabled?: boolean;
|
|
2514
2541
|
}
|
|
2515
2542
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
|
2516
2543
|
value: string;
|