@babylonjs/shared-ui-components 8.2.0 → 8.2.1
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/colorPicker/colorComponentEntry.d.ts +1 -1
- package/colorPicker/colorPicker.d.ts +1 -1
- package/colorPicker/hexColor.d.ts +1 -1
- package/components/colorPicker/ColorComponentEntry.d.ts +1 -1
- package/components/colorPicker/ColorPicker.d.ts +1 -1
- package/components/colorPicker/HexColor.d.ts +1 -1
- package/components/layout/DraggableIcon.d.ts +1 -1
- package/components/layout/FlexibleGridLayout.d.ts +1 -1
- package/components/layout/FlexibleResizeBar.d.ts +1 -1
- package/components/layout/FlexibleTab.d.ts +1 -1
- package/components/layout/FlexibleTabsContainer.d.ts +1 -1
- package/components/layout/LayoutContext.d.ts +1 -1
- package/components/layout/utils.d.ts +1 -1
- package/components/lines/ColorLineComponent.d.ts +2 -2
- package/components/lines/ColorPickerLineComponent.d.ts +1 -1
- package/components/lines/NumericInputComponent.d.ts +1 -1
- package/components/reactGraphSystem/useGraphContext.d.ts +1 -1
- package/lines/checkBoxLineComponent.d.ts +1 -1
- package/lines/color3LineComponent.d.ts +2 -2
- package/lines/color4LineComponent.d.ts +2 -2
- package/lines/colorLineComponent.d.ts +2 -2
- package/lines/colorPickerComponent.d.ts +1 -1
- package/lines/floatLineComponent.d.ts +2 -2
- package/lines/hexLineComponent.d.ts +2 -2
- package/lines/lineContainerComponent.d.ts +1 -1
- package/lines/matrixLineComponent.d.ts +2 -2
- package/lines/numericInputComponent.d.ts +1 -1
- package/lines/optionsLineComponent.d.ts +1 -1
- package/lines/sliderLineComponent.d.ts +2 -2
- package/lines/targetsProxy.d.ts +1 -1
- package/lines/textInputLineComponent.d.ts +2 -2
- package/lines/vector2LineComponent.d.ts +2 -2
- package/lines/vector3LineComponent.d.ts +2 -2
- package/lines/vector4LineComponent.d.ts +2 -2
- package/nodeGraphSystem/automaticProperties.d.ts +1 -1
- package/nodeGraphSystem/frameNodePort.d.ts +6 -6
- package/nodeGraphSystem/graphCanvas.d.ts +9 -9
- package/nodeGraphSystem/graphFrame.d.ts +4 -4
- package/nodeGraphSystem/graphNode.d.ts +7 -7
- package/nodeGraphSystem/interfaces/displayManager.d.ts +3 -3
- package/nodeGraphSystem/interfaces/nodeContainer.d.ts +2 -2
- package/nodeGraphSystem/interfaces/nodeData.d.ts +1 -1
- package/nodeGraphSystem/interfaces/portData.d.ts +1 -1
- package/nodeGraphSystem/interfaces/propertyComponentProps.d.ts +2 -2
- package/nodeGraphSystem/interfaces/selectionChangedOptions.d.ts +5 -5
- package/nodeGraphSystem/nodeLink.d.ts +4 -4
- package/nodeGraphSystem/nodePort.d.ts +6 -6
- package/nodeGraphSystem/propertyLedger.d.ts +1 -1
- package/nodeGraphSystem/searchBox.d.ts +1 -1
- package/nodeGraphSystem/stateManager.d.ts +9 -9
- package/nodeGraphSystem/tools.d.ts +4 -4
- package/nodeGraphSystem/typeLedger.d.ts +4 -4
- package/nodeGraphSystem/types/framePortData.d.ts +2 -2
- package/package.json +1 -1
- package/split/splitContainer.d.ts +1 -1
- package/split/splitter.d.ts +1 -1
- package/tabs/propertyGrids/gui/checkboxPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/colorPickerPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/commonControlPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/controlPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/ellipsePropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/gridPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/imagePropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/inputTextPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/linePropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/radioButtonPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/rectanglePropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/sliderPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/stackPanelPropertyGridComponent.d.ts +2 -2
- package/tabs/propertyGrids/gui/textBlockPropertyGridComponent.d.ts +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color.js";
|
3
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
4
4
|
import "./colorPicker.scss";
|
5
5
|
/**
|
6
6
|
* Interface used to specify creation options for color picker
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color.js";
|
3
|
-
import type { LockObject } from "../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { LockObject } from "../../tabs/propertyGrids/lockObject.js";
|
4
4
|
/**
|
5
5
|
* Interface used to specify creation options for color picker
|
6
6
|
*/
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
import { Color4 } from "@babylonjs/core/Maths/math.color.js";
|
4
|
-
import type { PropertyChangedEvent } from "../../propertyChangedEvent";
|
5
|
-
import type { LockObject } from "../../tabs/propertyGrids/lockObject";
|
4
|
+
import type { PropertyChangedEvent } from "../../propertyChangedEvent.js";
|
5
|
+
import type { LockObject } from "../../tabs/propertyGrids/lockObject.js";
|
6
6
|
export interface IColorLineComponentProps {
|
7
7
|
label: string;
|
8
8
|
target: any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Color4, Color3 } from "@babylonjs/core/Maths/math.color.js";
|
3
|
-
import type { LockObject } from "../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { LockObject } from "../../tabs/propertyGrids/lockObject.js";
|
4
4
|
export interface IColorPickerLineComponentProps {
|
5
5
|
value: Color4 | Color3;
|
6
6
|
linearHint?: boolean;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "./../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "./../propertyChangedEvent.js";
|
4
4
|
import type { IconDefinition } from "@fortawesome/fontawesome-common-types";
|
5
5
|
export interface ICheckBoxLineComponentProps {
|
6
6
|
label?: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
5
5
|
export interface IColor3LineComponentProps {
|
6
6
|
label: string;
|
7
7
|
target: any;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
5
5
|
export interface IColor4LineComponentProps {
|
6
6
|
label: string;
|
7
7
|
target?: any;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
import { Color4 } from "@babylonjs/core/Maths/math.color.js";
|
4
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
5
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
4
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
5
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
6
6
|
export interface IColorLineProps {
|
7
7
|
label: string;
|
8
8
|
target?: any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Color4, Color3 } from "@babylonjs/core/Maths/math.color.js";
|
3
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
4
4
|
export interface IColorPickerLineProps {
|
5
5
|
value: Color4 | Color3;
|
6
6
|
linearHint?: boolean;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
5
5
|
interface IFloatLineComponentProps {
|
6
6
|
label: string;
|
7
7
|
target: any;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
5
5
|
interface IHexLineComponentProps {
|
6
6
|
label: string;
|
7
7
|
target: any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
import type { ISelectedLineContainer } from "./iSelectedLineContainer";
|
2
|
+
import type { ISelectedLineContainer } from "./iSelectedLineContainer.js";
|
3
3
|
interface ILineContainerComponentProps {
|
4
4
|
selection?: ISelectedLineContainer;
|
5
5
|
title: string;
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
2
2
|
import type { Vector3, Vector4 } from "@babylonjs/core/Maths/math.vector.js";
|
3
3
|
import { Matrix } from "@babylonjs/core/Maths/math.vector.js";
|
4
4
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
5
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
6
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
5
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
6
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
7
7
|
interface IMatrixLineComponentProps {
|
8
8
|
label: string;
|
9
9
|
target: any;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
4
|
import type { IInspectableOptions } from "@babylonjs/core/Misc/iInspectable.js";
|
5
5
|
export declare const Null_Value: number;
|
6
6
|
export interface IOptionsLineProps {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
5
5
|
interface ISliderLineComponentProps {
|
6
6
|
label: string;
|
7
7
|
target?: any;
|
package/lines/targetsProxy.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
1
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
export declare const conflictingValuesPlaceholder = "\u2014";
|
4
4
|
/**
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
5
5
|
export interface ITextInputLineComponentProps {
|
6
6
|
label?: string;
|
7
7
|
lockObject?: LockObject;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
3
3
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
4
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
5
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
4
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
5
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface IVector2LineComponentProps {
|
7
7
|
label: string;
|
8
8
|
target: any;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
3
3
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
4
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
5
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
4
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
5
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface IVector3LineComponentProps {
|
7
7
|
label: string;
|
8
8
|
target?: any;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import { Vector4 } from "@babylonjs/core/Maths/math.vector.js";
|
3
3
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
4
|
-
import type { PropertyChangedEvent } from "../propertyChangedEvent";
|
5
|
-
import type { LockObject } from "../tabs/propertyGrids/lockObject";
|
4
|
+
import type { PropertyChangedEvent } from "../propertyChangedEvent.js";
|
5
|
+
import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface IVector4LineComponentProps {
|
7
7
|
label: string;
|
8
8
|
target?: any;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { IEditablePropertyOption } from "@babylonjs/core/Decorators/nodeDecorator.js";
|
2
|
-
import type { StateManager } from "./stateManager";
|
2
|
+
import type { StateManager } from "./stateManager.js";
|
3
3
|
/**
|
4
4
|
* Function used to force a rebuild of the node system
|
5
5
|
* @param source source object
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import type { IDisplayManager } from "./interfaces/displayManager";
|
1
|
+
import type { IDisplayManager } from "./interfaces/displayManager.js";
|
2
2
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
import type { Nullable } from "@babylonjs/core/types.js";
|
4
|
-
import type { IPortData } from "./interfaces/portData";
|
5
|
-
import { NodePort } from "./nodePort";
|
6
|
-
import type { GraphNode } from "./graphNode";
|
7
|
-
import type { FramePortPosition } from "./graphFrame";
|
8
|
-
import type { StateManager } from "./stateManager";
|
4
|
+
import type { IPortData } from "./interfaces/portData.js";
|
5
|
+
import { NodePort } from "./nodePort.js";
|
6
|
+
import type { GraphNode } from "./graphNode.js";
|
7
|
+
import type { FramePortPosition } from "./graphFrame.js";
|
8
|
+
import type { StateManager } from "./stateManager.js";
|
9
9
|
export declare class FrameNodePort extends NodePort {
|
10
10
|
portData: IPortData;
|
11
11
|
node: GraphNode;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
import { GraphNode } from "./graphNode";
|
2
|
+
import { GraphNode } from "./graphNode.js";
|
3
3
|
import type { Nullable } from "@babylonjs/core/types.js";
|
4
|
-
import { NodeLink } from "./nodeLink";
|
5
|
-
import { NodePort } from "./nodePort";
|
6
|
-
import { GraphFrame } from "./graphFrame";
|
7
|
-
import type { IEditorData, IFrameData } from "./interfaces/nodeLocationInfo";
|
8
|
-
import type { StateManager } from "./stateManager";
|
9
|
-
import type { INodeData } from "./interfaces/nodeData";
|
10
|
-
import type { IPortData } from "./interfaces/portData";
|
11
|
-
import type { INodeContainer } from "./interfaces/nodeContainer";
|
4
|
+
import { NodeLink } from "./nodeLink.js";
|
5
|
+
import { NodePort } from "./nodePort.js";
|
6
|
+
import { GraphFrame } from "./graphFrame.js";
|
7
|
+
import type { IEditorData, IFrameData } from "./interfaces/nodeLocationInfo.js";
|
8
|
+
import type { StateManager } from "./stateManager.js";
|
9
|
+
import type { INodeData } from "./interfaces/nodeData.js";
|
10
|
+
import type { IPortData } from "./interfaces/portData.js";
|
11
|
+
import type { INodeContainer } from "./interfaces/nodeContainer.js";
|
12
12
|
export interface IGraphCanvasComponentProps {
|
13
13
|
stateManager: StateManager;
|
14
14
|
onEmitNewNode: (nodeData: INodeData) => GraphNode;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import type { GraphNode } from "./graphNode";
|
2
|
-
import type { GraphCanvasComponent } from "./graphCanvas";
|
1
|
+
import type { GraphNode } from "./graphNode.js";
|
2
|
+
import type { GraphCanvasComponent } from "./graphCanvas.js";
|
3
3
|
import type { Nullable } from "@babylonjs/core/types.js";
|
4
4
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
5
5
|
import { Color3 } from "@babylonjs/core/Maths/math.color.js";
|
6
|
-
import { FrameNodePort } from "./frameNodePort";
|
7
|
-
import type { IFrameData } from "./interfaces/nodeLocationInfo";
|
6
|
+
import { FrameNodePort } from "./frameNodePort.js";
|
7
|
+
import type { IFrameData } from "./interfaces/nodeLocationInfo.js";
|
8
8
|
export declare enum FramePortPosition {
|
9
9
|
Top = 0,
|
10
10
|
Middle = 1,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
|
-
import type { GraphCanvasComponent } from "./graphCanvas";
|
3
|
-
import { NodePort } from "./nodePort";
|
4
|
-
import type { GraphFrame } from "./graphFrame";
|
5
|
-
import type { NodeLink } from "./nodeLink";
|
6
|
-
import type { StateManager } from "./stateManager";
|
7
|
-
import type { INodeData } from "./interfaces/nodeData";
|
8
|
-
import type { IPortData } from "./interfaces/portData";
|
2
|
+
import type { GraphCanvasComponent } from "./graphCanvas.js";
|
3
|
+
import { NodePort } from "./nodePort.js";
|
4
|
+
import type { GraphFrame } from "./graphFrame.js";
|
5
|
+
import type { NodeLink } from "./nodeLink.js";
|
6
|
+
import type { StateManager } from "./stateManager.js";
|
7
|
+
import type { INodeData } from "./interfaces/nodeData.js";
|
8
|
+
import type { IPortData } from "./interfaces/portData.js";
|
9
9
|
import type { IEditablePropertyOption } from "@babylonjs/core/Decorators/nodeDecorator.js";
|
10
10
|
export declare class GraphNode {
|
11
11
|
content: INodeData;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
|
-
import type { StateManager } from "../stateManager";
|
3
|
-
import type { INodeData } from "./nodeData";
|
4
|
-
import type { IPortData } from "./portData";
|
2
|
+
import type { StateManager } from "../stateManager.js";
|
3
|
+
import type { INodeData } from "./nodeData.js";
|
4
|
+
import type { IPortData } from "./portData.js";
|
5
5
|
export interface VisualContentDescription {
|
6
6
|
[key: string]: HTMLElement;
|
7
7
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { GraphNode } from "../graphNode";
|
2
|
-
import type { INodeData } from "./nodeData";
|
1
|
+
import type { GraphNode } from "../graphNode.js";
|
2
|
+
import type { INodeData } from "./nodeData.js";
|
3
3
|
export interface INodeContainer {
|
4
4
|
nodes: GraphNode[];
|
5
5
|
appendNode(data: INodeData): GraphNode;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { StateManager } from "../stateManager";
|
2
|
-
import type { INodeData } from "./nodeData";
|
1
|
+
import type { StateManager } from "../stateManager.js";
|
2
|
+
import type { INodeData } from "./nodeData.js";
|
3
3
|
export interface IPropertyComponentProps {
|
4
4
|
stateManager: StateManager;
|
5
5
|
nodeData: INodeData;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
|
-
import type { GraphFrame } from "../graphFrame";
|
3
|
-
import type { GraphNode } from "../graphNode";
|
4
|
-
import type { NodeLink } from "../nodeLink";
|
5
|
-
import type { NodePort } from "../nodePort";
|
6
|
-
import type { FramePortData } from "../types/framePortData";
|
2
|
+
import type { GraphFrame } from "../graphFrame.js";
|
3
|
+
import type { GraphNode } from "../graphNode.js";
|
4
|
+
import type { NodeLink } from "../nodeLink.js";
|
5
|
+
import type { NodePort } from "../nodePort.js";
|
6
|
+
import type { FramePortData } from "../types/framePortData.js";
|
7
7
|
export interface ISelectionChangedOptions {
|
8
8
|
selection: Nullable<GraphNode | NodeLink | GraphFrame | NodePort | FramePortData>;
|
9
9
|
forceKeepSelection?: boolean;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
2
|
-
import type { FrameNodePort } from "./frameNodePort";
|
3
|
-
import type { NodePort } from "./nodePort";
|
4
|
-
import type { GraphNode } from "./graphNode";
|
5
|
-
import type { GraphCanvasComponent } from "./graphCanvas";
|
2
|
+
import type { FrameNodePort } from "./frameNodePort.js";
|
3
|
+
import type { NodePort } from "./nodePort.js";
|
4
|
+
import type { GraphNode } from "./graphNode.js";
|
5
|
+
import type { GraphCanvasComponent } from "./graphCanvas.js";
|
6
6
|
export declare class NodeLink {
|
7
7
|
private _graphCanvas;
|
8
8
|
private _portA;
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import type { Nullable } from "@babylonjs/core/types.js";
|
2
2
|
import type { Observer } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
4
|
-
import type { GraphNode } from "./graphNode";
|
5
|
-
import type { StateManager } from "./stateManager";
|
6
|
-
import type { ISelectionChangedOptions } from "./interfaces/selectionChangedOptions";
|
7
|
-
import type { FrameNodePort } from "./frameNodePort";
|
8
|
-
import type { IDisplayManager } from "./interfaces/displayManager";
|
9
|
-
import { type IPortData } from "./interfaces/portData";
|
4
|
+
import type { GraphNode } from "./graphNode.js";
|
5
|
+
import type { StateManager } from "./stateManager.js";
|
6
|
+
import type { ISelectionChangedOptions } from "./interfaces/selectionChangedOptions.js";
|
7
|
+
import type { FrameNodePort } from "./frameNodePort.js";
|
8
|
+
import type { IDisplayManager } from "./interfaces/displayManager.js";
|
9
|
+
import { type IPortData } from "./interfaces/portData.js";
|
10
10
|
export declare class NodePort {
|
11
11
|
portData: IPortData;
|
12
12
|
node: GraphNode;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { ComponentClass } from "react";
|
2
|
-
import type { IPropertyComponentProps } from "./interfaces/propertyComponentProps";
|
2
|
+
import type { IPropertyComponentProps } from "./interfaces/propertyComponentProps.js";
|
3
3
|
export declare class PropertyLedger {
|
4
4
|
static DefaultControl: ComponentClass<IPropertyComponentProps>;
|
5
5
|
static RegisteredControls: {
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import type { Vector2 } from "@babylonjs/core/Maths/math.vector.js";
|
2
2
|
import { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
3
|
import type { Nullable } from "@babylonjs/core/types.js";
|
4
|
-
import type { FrameNodePort } from "./frameNodePort";
|
5
|
-
import type { GraphFrame } from "./graphFrame";
|
6
|
-
import type { GraphNode } from "./graphNode";
|
7
|
-
import type { INodeContainer } from "./interfaces/nodeContainer";
|
8
|
-
import type { INodeData } from "./interfaces/nodeData";
|
9
|
-
import type { IPortData } from "./interfaces/portData";
|
10
|
-
import type { ISelectionChangedOptions } from "./interfaces/selectionChangedOptions";
|
11
|
-
import type { NodePort } from "./nodePort";
|
12
|
-
import type { HistoryStack } from "../historyStack";
|
4
|
+
import type { FrameNodePort } from "./frameNodePort.js";
|
5
|
+
import type { GraphFrame } from "./graphFrame.js";
|
6
|
+
import type { GraphNode } from "./graphNode.js";
|
7
|
+
import type { INodeContainer } from "./interfaces/nodeContainer.js";
|
8
|
+
import type { INodeData } from "./interfaces/nodeData.js";
|
9
|
+
import type { IPortData } from "./interfaces/portData.js";
|
10
|
+
import type { ISelectionChangedOptions } from "./interfaces/selectionChangedOptions.js";
|
11
|
+
import type { NodePort } from "./nodePort.js";
|
12
|
+
import type { HistoryStack } from "../historyStack.js";
|
13
13
|
import type { Scene } from "@babylonjs/core/scene.js";
|
14
14
|
export declare class StateManager {
|
15
15
|
data: any;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { GraphCanvasComponent } from "./graphCanvas";
|
2
|
-
import type { GraphNode } from "./graphNode";
|
3
|
-
import type { NodeLink } from "./nodeLink";
|
4
|
-
import type { FramePortData } from "./types/framePortData";
|
1
|
+
import type { GraphCanvasComponent } from "./graphCanvas.js";
|
2
|
+
import type { GraphNode } from "./graphNode.js";
|
3
|
+
import type { NodeLink } from "./nodeLink.js";
|
4
|
+
import type { FramePortData } from "./types/framePortData.js";
|
5
5
|
export declare const IsFramePortData: (variableToCheck: any) => variableToCheck is FramePortData;
|
6
6
|
export declare const RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode>, visitedLinks?: Set<NodeLink>, canvas?: GraphCanvasComponent) => void;
|
7
7
|
export declare 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;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import type { INodeContainer } from "./interfaces/nodeContainer";
|
2
|
-
import type { INodeData } from "./interfaces/nodeData";
|
3
|
-
import type { IPortData } from "./interfaces/portData";
|
4
|
-
import type { NodePort } from "./nodePort";
|
1
|
+
import type { INodeContainer } from "./interfaces/nodeContainer.js";
|
2
|
+
import type { INodeData } from "./interfaces/nodeData.js";
|
3
|
+
import type { IPortData } from "./interfaces/portData.js";
|
4
|
+
import type { NodePort } from "./nodePort.js";
|
5
5
|
export declare class TypeLedger {
|
6
6
|
static PortDataBuilder: (port: NodePort, nodeContainer: INodeContainer) => IPortData;
|
7
7
|
static NodeDataBuilder: (data: any, nodeContainer: INodeContainer) => INodeData;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { GraphFrame } from "../graphFrame";
|
2
|
-
import type { FrameNodePort } from "../frameNodePort";
|
1
|
+
import type { GraphFrame } from "../graphFrame.js";
|
2
|
+
import type { FrameNodePort } from "../frameNodePort.js";
|
3
3
|
export type FramePortData = {
|
4
4
|
frame: GraphFrame;
|
5
5
|
port: FrameNodePort;
|
package/package.json
CHANGED
package/split/splitter.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { Checkbox } from "@babylonjs/gui/2D/controls/checkbox.js";
|
6
6
|
interface ICheckboxPropertyGridComponentProps {
|
7
7
|
checkbox: Checkbox;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
4
|
import type { ColorPicker } from "@babylonjs/gui/2D/controls/colorpicker.js";
|
5
|
-
import type { LockObject } from "../lockObject";
|
5
|
+
import type { LockObject } from "../lockObject.js";
|
6
6
|
interface IColorPickerPropertyGridComponentProps {
|
7
7
|
colorPicker: ColorPicker;
|
8
8
|
lockObject: LockObject;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
4
|
import { Control } from "@babylonjs/gui/2D/controls/control.js";
|
5
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
5
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface ICommonControlPropertyGridComponentProps {
|
7
7
|
controls?: Control[];
|
8
8
|
control?: Control;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
4
|
import type { Control } from "@babylonjs/gui/2D/controls/control.js";
|
5
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
5
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface IControlPropertyGridComponentProps {
|
7
7
|
control: Control;
|
8
8
|
lockObject: LockObject;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { Ellipse } from "@babylonjs/gui/2D/controls/ellipse.js";
|
6
6
|
interface IEllipsePropertyGridComponentProps {
|
7
7
|
ellipse: Ellipse;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { Grid } from "@babylonjs/gui/2D/controls/grid.js";
|
6
6
|
interface IGridPropertyGridComponentProps {
|
7
7
|
grid: Grid;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { ImageBasedSlider } from "@babylonjs/gui/2D/controls/sliders/imageBasedSlider.js";
|
6
6
|
interface IImageBasedSliderPropertyGridComponentProps {
|
7
7
|
imageBasedSlider: ImageBasedSlider;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import { Image } from "@babylonjs/gui/2D/controls/image.js";
|
6
6
|
interface IImagePropertyGridComponentProps {
|
7
7
|
image: Image;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
4
|
import type { InputText } from "@babylonjs/gui/2D/controls/inputText.js";
|
5
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
5
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface IInputTextPropertyGridComponentProps {
|
7
7
|
inputText: InputText;
|
8
8
|
lockObject: LockObject;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { Line } from "@babylonjs/gui/2D/controls/line.js";
|
6
6
|
interface ILinePropertyGridComponentProps {
|
7
7
|
line: Line;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { RadioButton } from "@babylonjs/gui/2D/controls/radioButton.js";
|
6
6
|
interface IRadioButtonPropertyGridComponentProps {
|
7
7
|
radioButtons: RadioButton[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { Rectangle } from "@babylonjs/gui/2D/controls/rectangle.js";
|
6
6
|
interface IRectanglePropertyGridComponentProps {
|
7
7
|
rectangle: Rectangle;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { ScrollViewer } from "@babylonjs/gui/2D/controls/scrollViewers/scrollViewer.js";
|
6
6
|
interface IScrollViewerPropertyGridComponentProps {
|
7
7
|
scrollViewer: ScrollViewer;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../lockObject.js";
|
5
5
|
import type { Slider } from "@babylonjs/gui/2D/controls/sliders/slider.js";
|
6
6
|
interface ISliderPropertyGridComponentProps {
|
7
7
|
slider: Slider;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
4
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
5
5
|
import type { StackPanel } from "@babylonjs/gui/2D/controls/stackPanel.js";
|
6
6
|
interface IStackPanelPropertyGridComponentProps {
|
7
7
|
stackPanel: StackPanel;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import * as React from "react";
|
2
2
|
import type { Observable } from "@babylonjs/core/Misc/observable.js";
|
3
|
-
import type { PropertyChangedEvent } from "../../../propertyChangedEvent";
|
3
|
+
import type { PropertyChangedEvent } from "../../../propertyChangedEvent.js";
|
4
4
|
import type { TextBlock } from "@babylonjs/gui/2D/controls/textBlock.js";
|
5
|
-
import type { LockObject } from "../../../tabs/propertyGrids/lockObject";
|
5
|
+
import type { LockObject } from "../../../tabs/propertyGrids/lockObject.js";
|
6
6
|
interface ITextBlockPropertyGridComponentProps {
|
7
7
|
textBlock: TextBlock;
|
8
8
|
lockObject: LockObject;
|