@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.
Files changed (72) hide show
  1. package/colorPicker/colorComponentEntry.d.ts +1 -1
  2. package/colorPicker/colorPicker.d.ts +1 -1
  3. package/colorPicker/hexColor.d.ts +1 -1
  4. package/components/colorPicker/ColorComponentEntry.d.ts +1 -1
  5. package/components/colorPicker/ColorPicker.d.ts +1 -1
  6. package/components/colorPicker/HexColor.d.ts +1 -1
  7. package/components/layout/DraggableIcon.d.ts +1 -1
  8. package/components/layout/FlexibleGridLayout.d.ts +1 -1
  9. package/components/layout/FlexibleResizeBar.d.ts +1 -1
  10. package/components/layout/FlexibleTab.d.ts +1 -1
  11. package/components/layout/FlexibleTabsContainer.d.ts +1 -1
  12. package/components/layout/LayoutContext.d.ts +1 -1
  13. package/components/layout/utils.d.ts +1 -1
  14. package/components/lines/ColorLineComponent.d.ts +2 -2
  15. package/components/lines/ColorPickerLineComponent.d.ts +1 -1
  16. package/components/lines/NumericInputComponent.d.ts +1 -1
  17. package/components/reactGraphSystem/useGraphContext.d.ts +1 -1
  18. package/lines/checkBoxLineComponent.d.ts +1 -1
  19. package/lines/color3LineComponent.d.ts +2 -2
  20. package/lines/color4LineComponent.d.ts +2 -2
  21. package/lines/colorLineComponent.d.ts +2 -2
  22. package/lines/colorPickerComponent.d.ts +1 -1
  23. package/lines/floatLineComponent.d.ts +2 -2
  24. package/lines/hexLineComponent.d.ts +2 -2
  25. package/lines/lineContainerComponent.d.ts +1 -1
  26. package/lines/matrixLineComponent.d.ts +2 -2
  27. package/lines/numericInputComponent.d.ts +1 -1
  28. package/lines/optionsLineComponent.d.ts +1 -1
  29. package/lines/sliderLineComponent.d.ts +2 -2
  30. package/lines/targetsProxy.d.ts +1 -1
  31. package/lines/textInputLineComponent.d.ts +2 -2
  32. package/lines/vector2LineComponent.d.ts +2 -2
  33. package/lines/vector3LineComponent.d.ts +2 -2
  34. package/lines/vector4LineComponent.d.ts +2 -2
  35. package/nodeGraphSystem/automaticProperties.d.ts +1 -1
  36. package/nodeGraphSystem/frameNodePort.d.ts +6 -6
  37. package/nodeGraphSystem/graphCanvas.d.ts +9 -9
  38. package/nodeGraphSystem/graphFrame.d.ts +4 -4
  39. package/nodeGraphSystem/graphNode.d.ts +7 -7
  40. package/nodeGraphSystem/interfaces/displayManager.d.ts +3 -3
  41. package/nodeGraphSystem/interfaces/nodeContainer.d.ts +2 -2
  42. package/nodeGraphSystem/interfaces/nodeData.d.ts +1 -1
  43. package/nodeGraphSystem/interfaces/portData.d.ts +1 -1
  44. package/nodeGraphSystem/interfaces/propertyComponentProps.d.ts +2 -2
  45. package/nodeGraphSystem/interfaces/selectionChangedOptions.d.ts +5 -5
  46. package/nodeGraphSystem/nodeLink.d.ts +4 -4
  47. package/nodeGraphSystem/nodePort.d.ts +6 -6
  48. package/nodeGraphSystem/propertyLedger.d.ts +1 -1
  49. package/nodeGraphSystem/searchBox.d.ts +1 -1
  50. package/nodeGraphSystem/stateManager.d.ts +9 -9
  51. package/nodeGraphSystem/tools.d.ts +4 -4
  52. package/nodeGraphSystem/typeLedger.d.ts +4 -4
  53. package/nodeGraphSystem/types/framePortData.d.ts +2 -2
  54. package/package.json +1 -1
  55. package/split/splitContainer.d.ts +1 -1
  56. package/split/splitter.d.ts +1 -1
  57. package/tabs/propertyGrids/gui/checkboxPropertyGridComponent.d.ts +2 -2
  58. package/tabs/propertyGrids/gui/colorPickerPropertyGridComponent.d.ts +2 -2
  59. package/tabs/propertyGrids/gui/commonControlPropertyGridComponent.d.ts +2 -2
  60. package/tabs/propertyGrids/gui/controlPropertyGridComponent.d.ts +2 -2
  61. package/tabs/propertyGrids/gui/ellipsePropertyGridComponent.d.ts +2 -2
  62. package/tabs/propertyGrids/gui/gridPropertyGridComponent.d.ts +2 -2
  63. package/tabs/propertyGrids/gui/imageBasedSliderPropertyGridComponent.d.ts +2 -2
  64. package/tabs/propertyGrids/gui/imagePropertyGridComponent.d.ts +2 -2
  65. package/tabs/propertyGrids/gui/inputTextPropertyGridComponent.d.ts +2 -2
  66. package/tabs/propertyGrids/gui/linePropertyGridComponent.d.ts +2 -2
  67. package/tabs/propertyGrids/gui/radioButtonPropertyGridComponent.d.ts +2 -2
  68. package/tabs/propertyGrids/gui/rectanglePropertyGridComponent.d.ts +2 -2
  69. package/tabs/propertyGrids/gui/scrollViewerPropertyGridComponent.d.ts +2 -2
  70. package/tabs/propertyGrids/gui/sliderPropertyGridComponent.d.ts +2 -2
  71. package/tabs/propertyGrids/gui/stackPanelPropertyGridComponent.d.ts +2 -2
  72. package/tabs/propertyGrids/gui/textBlockPropertyGridComponent.d.ts +2 -2
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { LockObject } from "../tabs/propertyGrids/lockObject";
2
+ import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
3
3
  export interface IColorComponentEntryProps {
4
4
  value: number;
5
5
  label: string;
@@ -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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { LockObject } from "../tabs/propertyGrids/lockObject";
2
+ import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
3
3
  export interface IHexColorProps {
4
4
  value: string;
5
5
  expectedLength: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { LockObject } from "../../tabs/propertyGrids/lockObject";
2
+ import type { LockObject } from "../../tabs/propertyGrids/lockObject.js";
3
3
  export interface IColorComponentEntryProps {
4
4
  value: number;
5
5
  label: string;
@@ -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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { LockObject } from "../../tabs/propertyGrids/lockObject";
2
+ import type { LockObject } from "../../tabs/propertyGrids/lockObject.js";
3
3
  export interface IHexColorProps {
4
4
  value: string;
5
5
  expectedLength: number;
@@ -1,5 +1,5 @@
1
1
  import type { FC } from "react";
2
- import type { ElementTypes, TabDrag } from "./types";
2
+ import type { ElementTypes, TabDrag } from "./types.js";
3
3
  /**
4
4
  * Arguments for the DraggableIcon component.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { FC } from "react";
2
- import type { Layout } from "./types";
2
+ import type { Layout } from "./types.js";
3
3
  /**
4
4
  * Arguments for the Layout component.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { FC } from "react";
2
- import { ResizeDirections } from "./types";
2
+ import { ResizeDirections } from "./types.js";
3
3
  /**
4
4
  * Arguments for the ResizeBar component.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { FC } from "react";
2
- import type { TabDrag } from "./types";
2
+ import type { TabDrag } from "./types.js";
3
3
  /**
4
4
  * Arguments for the FlexibleTab component.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { FC } from "react";
2
- import type { LayoutTab } from "./types";
2
+ import type { LayoutTab } from "./types.js";
3
3
  /**
4
4
  * Arguments for the TabsContainer component.
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { Layout } from "./types";
1
+ import type { Layout } from "./types.js";
2
2
  export declare const LayoutContext: import("react").Context<{
3
3
  /**
4
4
  * The layout object
@@ -1,4 +1,4 @@
1
- import type { Layout, LayoutColumn, LayoutTabsRow } from "./types";
1
+ import type { Layout, LayoutColumn, LayoutTabsRow } from "./types.js";
2
2
  /**
3
3
  * Given a column and row number in the layout, return the corresponding column/row
4
4
  * @param layout
@@ -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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { LockObject } from "../../tabs/propertyGrids/lockObject";
2
+ import type { LockObject } from "../../tabs/propertyGrids/lockObject.js";
3
3
  interface INumericInputComponentProps {
4
4
  label: string;
5
5
  labelTooltip?: string;
@@ -2,4 +2,4 @@
2
2
  * utility hook to assist using the graph context
3
3
  * @returns
4
4
  */
5
- export declare const useGraphContext: () => import("./GraphContextManager").IGraphContext;
5
+ export declare const useGraphContext: () => import("./GraphContextManager.js").IGraphContext;
@@ -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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { LockObject } from "../tabs/propertyGrids/lockObject";
2
+ import type { LockObject } from "../tabs/propertyGrids/lockObject.js";
3
3
  interface INumericInputProps {
4
4
  label: string;
5
5
  labelTooltip?: string;
@@ -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;
@@ -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
1
  import type { Nullable } from "@babylonjs/core/types.js";
2
- import type { IPortData } from "./portData";
2
+ import type { IPortData } from "./portData.js";
3
3
  export interface INodeData {
4
4
  data: any;
5
5
  name: string;
@@ -1,5 +1,5 @@
1
1
  import type { Nullable } from "@babylonjs/core/types.js";
2
- import type { GraphNode } from "../graphNode";
2
+ import type { GraphNode } from "../graphNode.js";
3
3
  export declare enum PortDataDirection {
4
4
  /** Input */
5
5
  Input = 0,
@@ -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,5 +1,5 @@
1
1
  import * as React from "react";
2
- import type { StateManager } from "./stateManager";
2
+ import type { StateManager } from "./stateManager.js";
3
3
  import "./searchBox.scss";
4
4
  export interface ISearchBoxComponentProps {
5
5
  stateManager: StateManager;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/shared-ui-components",
3
- "version": "8.2.0",
3
+ "version": "8.2.1",
4
4
  "main": "index.js",
5
5
  "module": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,5 +1,5 @@
1
1
  import type { PropsWithChildren } from "react";
2
- import { SplitDirection } from "./splitContext";
2
+ import { SplitDirection } from "./splitContext.js";
3
3
  /**
4
4
  * Split container properties
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { ControlledSize } from "./splitContext";
1
+ import type { ControlledSize } from "./splitContext.js";
2
2
  /**
3
3
  * Splitter component properties
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
  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;