babylonjs-gui-editor 7.6.0 → 7.6.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/babylon.guiEditor.d.ts +35 -35
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +27 -27
- package/babylon.guiEditor.module.d.ts +71 -71
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1385,7 +1385,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1385
1385
|
disabled?: boolean;
|
|
1386
1386
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1387
1387
|
}
|
|
1388
|
-
export class
|
|
1388
|
+
export class ColorComponentComponentEntry extends React.Component<IColorComponentEntryProps> {
|
|
1389
1389
|
constructor(props: IColorComponentEntryProps);
|
|
1390
1390
|
updateValue(valueString: string): void;
|
|
1391
1391
|
lock(): void;
|
|
@@ -1403,7 +1403,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Interface used to specify creation options for color picker
|
|
1405
1405
|
*/
|
|
1406
|
-
export interface
|
|
1406
|
+
export interface IColorPickerComponentProps {
|
|
1407
1407
|
color: Color3 | Color4;
|
|
1408
1408
|
linearhint?: boolean;
|
|
1409
1409
|
debugMode?: boolean;
|
|
@@ -1421,13 +1421,13 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1421
1421
|
/**
|
|
1422
1422
|
* Class used to create a color picker
|
|
1423
1423
|
*/
|
|
1424
|
-
export class
|
|
1424
|
+
export class ColorPickerComponent extends React.Component<IColorPickerComponentProps, IColorPickerState> {
|
|
1425
1425
|
private _saturationRef;
|
|
1426
1426
|
private _hueRef;
|
|
1427
1427
|
private _isSaturationPointerDown;
|
|
1428
1428
|
private _isHuePointerDown;
|
|
1429
|
-
constructor(props:
|
|
1430
|
-
shouldComponentUpdate(nextProps:
|
|
1429
|
+
constructor(props: IColorPickerComponentProps);
|
|
1430
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerState): boolean;
|
|
1431
1431
|
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1432
1432
|
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
1433
1433
|
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
|
@@ -1454,7 +1454,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1454
1454
|
onChange: (value: string) => void;
|
|
1455
1455
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1456
1456
|
}
|
|
1457
|
-
export class
|
|
1457
|
+
export class HexColorComponent extends React.Component<IHexColorProps, {
|
|
1458
1458
|
hex: string;
|
|
1459
1459
|
}> {
|
|
1460
1460
|
constructor(props: IHexColorProps);
|
|
@@ -1966,7 +1966,7 @@ declare module BABYLON {
|
|
|
1966
1966
|
|
|
1967
1967
|
}
|
|
1968
1968
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1969
|
-
export interface
|
|
1969
|
+
export interface IColorPickerLineComponentProps {
|
|
1970
1970
|
value: Color4 | Color3;
|
|
1971
1971
|
linearHint?: boolean;
|
|
1972
1972
|
onColorChanged: (newOne: string) => void;
|
|
@@ -1981,14 +1981,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1981
1981
|
color: Color3 | Color4;
|
|
1982
1982
|
hex: string;
|
|
1983
1983
|
}
|
|
1984
|
-
export class ColorPickerLineComponent extends React.Component<
|
|
1984
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerLineComponentProps, IColorPickerComponentState> {
|
|
1985
1985
|
private _floatRef;
|
|
1986
1986
|
private _floatHostRef;
|
|
1987
1987
|
private _coverRef;
|
|
1988
|
-
constructor(props:
|
|
1988
|
+
constructor(props: IColorPickerLineComponentProps);
|
|
1989
1989
|
syncPositions(): void;
|
|
1990
|
-
shouldComponentUpdate(nextProps:
|
|
1991
|
-
getHexString(props?: Readonly<
|
|
1990
|
+
shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
|
|
1991
|
+
getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
|
|
1992
1992
|
children?: React.ReactNode;
|
|
1993
1993
|
}>): string;
|
|
1994
1994
|
componentDidUpdate(): void;
|
|
@@ -2272,7 +2272,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2272
2272
|
highlighted?: boolean;
|
|
2273
2273
|
parentContainerId: string;
|
|
2274
2274
|
}
|
|
2275
|
-
export var
|
|
2275
|
+
export var SingleGraphNode: React.FC<IGraphNodeProps>;
|
|
2276
2276
|
|
|
2277
2277
|
|
|
2278
2278
|
|
|
@@ -2559,7 +2559,7 @@ declare module BABYLON {
|
|
|
2559
2559
|
|
|
2560
2560
|
}
|
|
2561
2561
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2562
|
-
export interface
|
|
2562
|
+
export interface IColorLineProps {
|
|
2563
2563
|
label: string;
|
|
2564
2564
|
target?: any;
|
|
2565
2565
|
propertyName: string;
|
|
@@ -2575,10 +2575,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2575
2575
|
isExpanded: boolean;
|
|
2576
2576
|
color: Color4;
|
|
2577
2577
|
}
|
|
2578
|
-
export class
|
|
2579
|
-
constructor(props:
|
|
2580
|
-
shouldComponentUpdate(nextProps:
|
|
2581
|
-
getValue(props?: Readonly<
|
|
2578
|
+
export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
|
|
2579
|
+
constructor(props: IColorLineProps);
|
|
2580
|
+
shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
|
|
2581
|
+
getValue(props?: Readonly<IColorLineProps> & Readonly<{
|
|
2582
2582
|
children?: React.ReactNode;
|
|
2583
2583
|
}>): Color4;
|
|
2584
2584
|
setColorFromString(colorString: string): void;
|
|
@@ -2601,7 +2601,7 @@ declare module BABYLON {
|
|
|
2601
2601
|
|
|
2602
2602
|
}
|
|
2603
2603
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2604
|
-
export interface
|
|
2604
|
+
export interface IColorPickerLineProps {
|
|
2605
2605
|
value: Color4 | Color3;
|
|
2606
2606
|
linearHint?: boolean;
|
|
2607
2607
|
onColorChanged: (newOne: string) => void;
|
|
@@ -2615,13 +2615,13 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2615
2615
|
color: Color3 | Color4;
|
|
2616
2616
|
hex: string;
|
|
2617
2617
|
}
|
|
2618
|
-
export class
|
|
2618
|
+
export class ColorPickerLine extends React.Component<IColorPickerLineProps, IColorPickerComponentState> {
|
|
2619
2619
|
private _floatRef;
|
|
2620
2620
|
private _floatHostRef;
|
|
2621
|
-
constructor(props:
|
|
2621
|
+
constructor(props: IColorPickerLineProps);
|
|
2622
2622
|
syncPositions(): void;
|
|
2623
|
-
shouldComponentUpdate(nextProps:
|
|
2624
|
-
getHexString(props?: Readonly<
|
|
2623
|
+
shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
|
|
2624
|
+
getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
|
|
2625
2625
|
children?: React.ReactNode;
|
|
2626
2626
|
}>): string;
|
|
2627
2627
|
componentDidUpdate(): void;
|
|
@@ -2652,18 +2652,18 @@ declare module BABYLON {
|
|
|
2652
2652
|
|
|
2653
2653
|
}
|
|
2654
2654
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2655
|
-
interface
|
|
2655
|
+
interface IFileButtonLineProps {
|
|
2656
2656
|
label: string;
|
|
2657
2657
|
onClick: (file: File) => void;
|
|
2658
2658
|
accept: string;
|
|
2659
2659
|
icon?: string;
|
|
2660
2660
|
iconLabel?: string;
|
|
2661
2661
|
}
|
|
2662
|
-
export class
|
|
2662
|
+
export class FileButtonLine extends React.Component<IFileButtonLineProps> {
|
|
2663
2663
|
private static _IDGenerator;
|
|
2664
2664
|
private _id;
|
|
2665
2665
|
private _uploadInputRef;
|
|
2666
|
-
constructor(props:
|
|
2666
|
+
constructor(props: IFileButtonLineProps);
|
|
2667
2667
|
onChange(evt: any): void;
|
|
2668
2668
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
2669
2669
|
}
|
|
@@ -2981,7 +2981,7 @@ declare module BABYLON {
|
|
|
2981
2981
|
|
|
2982
2982
|
}
|
|
2983
2983
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2984
|
-
interface
|
|
2984
|
+
interface INumericInputProps {
|
|
2985
2985
|
label: string;
|
|
2986
2986
|
value: number;
|
|
2987
2987
|
step?: number;
|
|
@@ -2991,16 +2991,16 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2991
2991
|
iconLabel?: string;
|
|
2992
2992
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2993
2993
|
}
|
|
2994
|
-
export class
|
|
2994
|
+
export class NumericInput extends React.Component<INumericInputProps, {
|
|
2995
2995
|
value: string;
|
|
2996
2996
|
}> {
|
|
2997
2997
|
static defaultProps: {
|
|
2998
2998
|
step: number;
|
|
2999
2999
|
};
|
|
3000
3000
|
private _localChange;
|
|
3001
|
-
constructor(props:
|
|
3001
|
+
constructor(props: INumericInputProps);
|
|
3002
3002
|
componentWillUnmount(): void;
|
|
3003
|
-
shouldComponentUpdate(nextProps:
|
|
3003
|
+
shouldComponentUpdate(nextProps: INumericInputProps, nextState: {
|
|
3004
3004
|
value: string;
|
|
3005
3005
|
}): boolean;
|
|
3006
3006
|
updateValue(valueString: string): void;
|
|
@@ -3018,7 +3018,7 @@ declare module BABYLON {
|
|
|
3018
3018
|
}
|
|
3019
3019
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
3020
3020
|
export var Null_Value: number;
|
|
3021
|
-
export interface
|
|
3021
|
+
export interface IOptionsLineProps {
|
|
3022
3022
|
label: string;
|
|
3023
3023
|
target: any;
|
|
3024
3024
|
propertyName: string;
|
|
@@ -3034,15 +3034,15 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
3034
3034
|
valuesAreStrings?: boolean;
|
|
3035
3035
|
defaultIfNull?: number;
|
|
3036
3036
|
}
|
|
3037
|
-
export class
|
|
3037
|
+
export class OptionsLine extends React.Component<IOptionsLineProps, {
|
|
3038
3038
|
value: number | string;
|
|
3039
3039
|
}> {
|
|
3040
3040
|
private _localChange;
|
|
3041
3041
|
private _remapValueIn;
|
|
3042
3042
|
private _remapValueOut;
|
|
3043
3043
|
private _getValue;
|
|
3044
|
-
constructor(props:
|
|
3045
|
-
shouldComponentUpdate(nextProps:
|
|
3044
|
+
constructor(props: IOptionsLineProps);
|
|
3045
|
+
shouldComponentUpdate(nextProps: IOptionsLineProps, nextState: {
|
|
3046
3046
|
value: number;
|
|
3047
3047
|
}): boolean;
|
|
3048
3048
|
raiseOnPropertyChanged(newValue: number, previousValue: number): void;
|
|
@@ -4211,9 +4211,9 @@ declare module BABYLON {
|
|
|
4211
4211
|
}
|
|
4212
4212
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
4213
4213
|
var _default: {
|
|
4214
|
-
component: typeof BABYLON.GuiEditor.SharedUIComponents.
|
|
4214
|
+
component: typeof BABYLON.GuiEditor.SharedUIComponents.ColorPickerComponent;
|
|
4215
4215
|
};
|
|
4216
|
-
export var Default: StoryObj<typeof BABYLON.GuiEditor.SharedUIComponents.
|
|
4216
|
+
export var Default: StoryObj<typeof BABYLON.GuiEditor.SharedUIComponents.ColorPickerComponent>;
|
|
4217
4217
|
|
|
4218
4218
|
|
|
4219
4219
|
|