@onerjs/gui-editor 8.45.8 → 8.46.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.
|
@@ -730,8 +730,7 @@ declare module "@onerjs/gui-editor/components/sceneExplorer/treeItemSelectableCo
|
|
|
730
730
|
import { Nullable } from "@onerjs/core/types";
|
|
731
731
|
import { IExplorerExtensibilityGroup } from "@onerjs/core/Debug/debugLayer";
|
|
732
732
|
import * as React from "react";
|
|
733
|
-
import { GlobalState } from "@onerjs/gui-editor/globalState";
|
|
734
|
-
import { DragOverLocation } from "@onerjs/gui-editor/globalState";
|
|
733
|
+
import { GlobalState, DragOverLocation } from "@onerjs/gui-editor/globalState";
|
|
735
734
|
export interface ITreeItemSelectableComponentProps {
|
|
736
735
|
entity: any;
|
|
737
736
|
selectedEntities: any[];
|
|
@@ -912,8 +911,7 @@ declare module "@onerjs/gui-editor/components/sceneExplorer/entities/gui/control
|
|
|
912
911
|
import { IExplorerExtensibilityGroup } from "@onerjs/core/Debug/debugLayer";
|
|
913
912
|
import { Control } from "@onerjs/gui/2D/controls/control";
|
|
914
913
|
import * as React from "react";
|
|
915
|
-
import { GlobalState } from "@onerjs/gui-editor/globalState";
|
|
916
|
-
import { DragOverLocation } from "@onerjs/gui-editor/globalState";
|
|
914
|
+
import { GlobalState, DragOverLocation } from "@onerjs/gui-editor/globalState";
|
|
917
915
|
interface IControlTreeItemComponentProps {
|
|
918
916
|
control: Control;
|
|
919
917
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
|
@@ -1611,6 +1609,14 @@ export class HistoryStack implements IDisposable {
|
|
|
1611
1609
|
* Checks if there is any data in the history stack
|
|
1612
1610
|
*/
|
|
1613
1611
|
get hasData(): boolean;
|
|
1612
|
+
/**
|
|
1613
|
+
* Whether an undo operation is available
|
|
1614
|
+
*/
|
|
1615
|
+
get canUndo(): boolean;
|
|
1616
|
+
/**
|
|
1617
|
+
* Whether a redo operation is available
|
|
1618
|
+
*/
|
|
1619
|
+
get canRedo(): boolean;
|
|
1614
1620
|
/**
|
|
1615
1621
|
* Undo the latest operation
|
|
1616
1622
|
*/
|
|
@@ -2277,7 +2283,7 @@ import { StateManager } from "@onerjs/gui-editor/nodeGraphSystem/stateManager";
|
|
|
2277
2283
|
import { ISelectionChangedOptions } from "@onerjs/gui-editor/nodeGraphSystem/interfaces/selectionChangedOptions";
|
|
2278
2284
|
import { FrameNodePort } from "@onerjs/gui-editor/nodeGraphSystem/frameNodePort";
|
|
2279
2285
|
import { IDisplayManager } from "@onerjs/gui-editor/nodeGraphSystem/interfaces/displayManager";
|
|
2280
|
-
import {
|
|
2286
|
+
import { IPortData } from "@onerjs/gui-editor/nodeGraphSystem/interfaces/portData";
|
|
2281
2287
|
export class NodePort {
|
|
2282
2288
|
portData: IPortData;
|
|
2283
2289
|
node: GraphNode;
|
|
@@ -3507,8 +3513,7 @@ export {};
|
|
|
3507
3513
|
|
|
3508
3514
|
}
|
|
3509
3515
|
declare module "@onerjs/gui-editor/lines/textInputLineComponent" {
|
|
3510
|
-
import { ReactNode, KeyboardEvent } from "react";
|
|
3511
|
-
import { Component } from "react";
|
|
3516
|
+
import { ReactNode, KeyboardEvent, Component } from "react";
|
|
3512
3517
|
import { Observable } from "@onerjs/core/Misc/observable";
|
|
3513
3518
|
import { PropertyChangedEvent } from "@onerjs/gui-editor/propertyChangedEvent";
|
|
3514
3519
|
import { LockObject } from "@onerjs/gui-editor/tabs/propertyGrids/lockObject";
|
|
@@ -3741,8 +3746,7 @@ export {};
|
|
|
3741
3746
|
}
|
|
3742
3747
|
declare module "@onerjs/gui-editor/lines/matrixLineComponent" {
|
|
3743
3748
|
import * as React from "react";
|
|
3744
|
-
import { Vector3, Vector4 } from "@onerjs/core/Maths/math.vector";
|
|
3745
|
-
import { Matrix } from "@onerjs/core/Maths/math.vector";
|
|
3749
|
+
import { Vector3, Vector4, Matrix } from "@onerjs/core/Maths/math.vector";
|
|
3746
3750
|
import { Observable } from "@onerjs/core/Misc/observable";
|
|
3747
3751
|
import { PropertyChangedEvent } from "@onerjs/gui-editor/propertyChangedEvent";
|
|
3748
3752
|
import { LockObject } from "@onerjs/gui-editor/tabs/propertyGrids/lockObject";
|
|
@@ -4824,7 +4828,7 @@ declare module "@onerjs/gui-editor/fluent/primitives/lazyComponent" {
|
|
|
4824
4828
|
|
|
4825
4829
|
import { ComponentProps, ComponentType, ElementRef } from "react";
|
|
4826
4830
|
type LazyComponentProps = {
|
|
4827
|
-
spinnerSize?: any;
|
|
4831
|
+
spinnerSize?: any["size"];
|
|
4828
4832
|
spinnerLabel?: string;
|
|
4829
4833
|
};
|
|
4830
4834
|
/**
|
|
@@ -5071,7 +5075,7 @@ export type ContextMenuProps = BasePrimitiveProps & (ContextMenuWithIconProps |
|
|
|
5071
5075
|
/**
|
|
5072
5076
|
* Positioning of the menu relative to the trigger.
|
|
5073
5077
|
*/
|
|
5074
|
-
positioning?: any;
|
|
5078
|
+
positioning?: any["positioning"];
|
|
5075
5079
|
/**
|
|
5076
5080
|
* Called when the menu open state changes.
|
|
5077
5081
|
*/
|
|
@@ -5698,10 +5702,9 @@ export {};
|
|
|
5698
5702
|
}
|
|
5699
5703
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/vectorPropertyLine" {
|
|
5700
5704
|
import { FunctionComponent } from "react";
|
|
5701
|
-
import { Vector3 } from "@onerjs/core/Maths/math.vector";
|
|
5705
|
+
import { Vector3, Quaternion, Vector2, Vector4 } from "@onerjs/core/Maths/math.vector";
|
|
5702
5706
|
import { PrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
5703
5707
|
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
5704
|
-
import { Quaternion, Vector2, Vector4 } from "@onerjs/core/Maths/math.vector";
|
|
5705
5708
|
export type TensorPropertyLineProps<V extends Vector2 | Vector3 | Vector4 | Quaternion> = PropertyLineProps<V> & PrimitiveProps<V> & {
|
|
5706
5709
|
/**
|
|
5707
5710
|
* If passed, all sliders will use this for the min value
|
|
@@ -5760,8 +5763,8 @@ export {};
|
|
|
5760
5763
|
|
|
5761
5764
|
}
|
|
5762
5765
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/textPropertyLine" {
|
|
5763
|
-
import { ImmutablePrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
5764
5766
|
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
5767
|
+
import { ImmutablePrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
5765
5768
|
import { FunctionComponent } from "react";
|
|
5766
5769
|
/**
|
|
5767
5770
|
* Wraps text in a property line
|
|
@@ -5908,8 +5911,8 @@ export {};
|
|
|
5908
5911
|
|
|
5909
5912
|
}
|
|
5910
5913
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/linkPropertyLine" {
|
|
5911
|
-
import { LinkProps } from "@onerjs/gui-editor/fluent/primitives/link";
|
|
5912
5914
|
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
5915
|
+
import { LinkProps } from "@onerjs/gui-editor/fluent/primitives/link";
|
|
5913
5916
|
import { FunctionComponent } from "react";
|
|
5914
5917
|
/**
|
|
5915
5918
|
* Wraps a link in a property line
|
|
@@ -6019,8 +6022,7 @@ export {};
|
|
|
6019
6022
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/colorPropertyLine" {
|
|
6020
6023
|
import { FunctionComponent } from "react";
|
|
6021
6024
|
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
6022
|
-
import { Color3 } from "@onerjs/core/Maths/math.color";
|
|
6023
|
-
import { Color4 } from "@onerjs/core/Maths/math.color";
|
|
6025
|
+
import { Color3, Color4 } from "@onerjs/core/Maths/math.color";
|
|
6024
6026
|
import { ColorPickerProps } from "@onerjs/gui-editor/fluent/primitives/colorPicker";
|
|
6025
6027
|
export type ColorPropertyLineProps = ColorPickerProps<Color3 | Color4> & PropertyLineProps<Color3 | Color4>;
|
|
6026
6028
|
export const Color3PropertyLine: FunctionComponent<ColorPickerProps<Color3> & PropertyLineProps<Color3>>;
|
|
@@ -6028,8 +6030,8 @@ export const Color4PropertyLine: FunctionComponent<ColorPickerProps<Color4> & Pr
|
|
|
6028
6030
|
|
|
6029
6031
|
}
|
|
6030
6032
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/checkboxPropertyLine" {
|
|
6031
|
-
import { PrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
6032
6033
|
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
6034
|
+
import { PrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
6033
6035
|
import { FunctionComponent } from "react";
|
|
6034
6036
|
/**
|
|
6035
6037
|
* Wraps a checkbox in a property line
|
|
@@ -6041,8 +6043,8 @@ export const CheckboxPropertyLine: FunctionComponent<PropertyLineProps<boolean>
|
|
|
6041
6043
|
}
|
|
6042
6044
|
declare module "@onerjs/gui-editor/fluent/hoc/propertyLines/booleanBadgePropertyLine" {
|
|
6043
6045
|
import { FunctionComponent } from "react";
|
|
6044
|
-
import { ImmutablePrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
6045
6046
|
import { PropertyLineProps } from "@onerjs/gui-editor/fluent/hoc/propertyLines/propertyLine";
|
|
6047
|
+
import { ImmutablePrimitiveProps } from "@onerjs/gui-editor/fluent/primitives/primitive";
|
|
6046
6048
|
/**
|
|
6047
6049
|
* Displays an icon indicating enabled (green check) or disabled (red cross) state
|
|
6048
6050
|
* @param props - The properties for the PropertyLine, including the boolean value to display.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onerjs/gui-editor",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.46.1",
|
|
4
4
|
"main": "dist/babylon.guiEditor.js",
|
|
5
5
|
"module": "dist/babylon.guiEditor.js",
|
|
6
6
|
"esnext": "dist/babylon.guiEditor.js",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@types/react-dom": ">=16.0.9"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@onerjs/core": "8.
|
|
28
|
-
"@onerjs/gui": "8.
|
|
27
|
+
"@onerjs/core": "8.46.1",
|
|
28
|
+
"@onerjs/gui": "8.46.1",
|
|
29
29
|
"react": "^18.2.0",
|
|
30
30
|
"react-dom": "^18.2.0"
|
|
31
31
|
},
|