babylonjs-gui-editor 7.54.0 → 7.54.2
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.
|
@@ -2161,7 +2161,7 @@ export class StateManager {
|
|
|
2161
2161
|
exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
|
|
2162
2162
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
2163
2163
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
2164
|
-
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost:
|
|
2164
|
+
applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
|
2165
2165
|
getPortColor: (portData: IPortData) => string;
|
|
2166
2166
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
|
2167
2167
|
getEditorDataMap: () => {
|
|
@@ -2231,7 +2231,7 @@ export class NodePort {
|
|
|
2231
2231
|
node: GraphNode;
|
|
2232
2232
|
protected _element: HTMLDivElement;
|
|
2233
2233
|
protected _portContainer: HTMLElement;
|
|
2234
|
-
protected _imgHost:
|
|
2234
|
+
protected _imgHost: HTMLImageElement;
|
|
2235
2235
|
protected _pip: HTMLDivElement;
|
|
2236
2236
|
protected _stateManager: StateManager;
|
|
2237
2237
|
protected _portLabelElement: Element;
|
|
@@ -3075,6 +3075,31 @@ interface IUnitButtonProps {
|
|
|
3075
3075
|
|
|
3076
3076
|
export {};
|
|
3077
3077
|
|
|
3078
|
+
}
|
|
3079
|
+
declare module "babylonjs-gui-editor/lines/textureButtonLineComponent" {
|
|
3080
|
+
import { BaseTexture } from "babylonjs/Materials/Textures/baseTexture";
|
|
3081
|
+
import { Scene } from "babylonjs/scene";
|
|
3082
|
+
import * as React from "react";
|
|
3083
|
+
interface ITextureButtonLineProps {
|
|
3084
|
+
label: string;
|
|
3085
|
+
scene: Scene;
|
|
3086
|
+
onClick: (file: File) => void;
|
|
3087
|
+
onLink: (texture: BaseTexture) => void;
|
|
3088
|
+
accept: string;
|
|
3089
|
+
}
|
|
3090
|
+
interface ITextureButtonLineState {
|
|
3091
|
+
isOpen: boolean;
|
|
3092
|
+
}
|
|
3093
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
3094
|
+
private static _IDGenerator;
|
|
3095
|
+
private _id;
|
|
3096
|
+
private _uploadInputRef;
|
|
3097
|
+
constructor(props: ITextureButtonLineProps);
|
|
3098
|
+
onChange(evt: any): void;
|
|
3099
|
+
|
|
3100
|
+
}
|
|
3101
|
+
export {};
|
|
3102
|
+
|
|
3078
3103
|
}
|
|
3079
3104
|
declare module "babylonjs-gui-editor/lines/textLineComponent" {
|
|
3080
3105
|
import * as React from "react";
|
|
@@ -6837,7 +6862,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6837
6862
|
exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
|
|
6838
6863
|
isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
6839
6864
|
isDebugConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
|
|
6840
|
-
applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost:
|
|
6865
|
+
applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
|
|
6841
6866
|
getPortColor: (portData: BABYLON.GuiEditor.SharedUIComponents.IPortData) => string;
|
|
6842
6867
|
storeEditorData: (serializationObject: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => void;
|
|
6843
6868
|
getEditorDataMap: () => {
|
|
@@ -6911,7 +6936,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
6911
6936
|
node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
|
|
6912
6937
|
protected _element: HTMLDivElement;
|
|
6913
6938
|
protected _portContainer: HTMLElement;
|
|
6914
|
-
protected _imgHost:
|
|
6939
|
+
protected _imgHost: HTMLImageElement;
|
|
6915
6940
|
protected _pip: HTMLDivElement;
|
|
6916
6941
|
protected _stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
|
|
6917
6942
|
protected _portLabelElement: Element;
|
|
@@ -7800,6 +7825,33 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
7800
7825
|
|
|
7801
7826
|
|
|
7802
7827
|
|
|
7828
|
+
}
|
|
7829
|
+
declare module BABYLON {
|
|
7830
|
+
|
|
7831
|
+
|
|
7832
|
+
}
|
|
7833
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
7834
|
+
interface ITextureButtonLineProps {
|
|
7835
|
+
label: string;
|
|
7836
|
+
scene: Scene;
|
|
7837
|
+
onClick: (file: File) => void;
|
|
7838
|
+
onLink: (texture: BaseTexture) => void;
|
|
7839
|
+
accept: string;
|
|
7840
|
+
}
|
|
7841
|
+
interface ITextureButtonLineState {
|
|
7842
|
+
isOpen: boolean;
|
|
7843
|
+
}
|
|
7844
|
+
export class TextureButtonLine extends React.Component<ITextureButtonLineProps, ITextureButtonLineState> {
|
|
7845
|
+
private static _IDGenerator;
|
|
7846
|
+
private _id;
|
|
7847
|
+
private _uploadInputRef;
|
|
7848
|
+
constructor(props: ITextureButtonLineProps);
|
|
7849
|
+
onChange(evt: any): void;
|
|
7850
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
7851
|
+
}
|
|
7852
|
+
|
|
7853
|
+
|
|
7854
|
+
|
|
7803
7855
|
}
|
|
7804
7856
|
declare module BABYLON {
|
|
7805
7857
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui-editor",
|
|
3
|
-
"version": "7.54.
|
|
3
|
+
"version": "7.54.2",
|
|
4
4
|
"main": "babylon.guiEditor.max.js",
|
|
5
5
|
"types": "babylon.guiEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.54.
|
|
18
|
-
"babylonjs-gui": "^7.54.
|
|
17
|
+
"babylonjs": "^7.54.2",
|
|
18
|
+
"babylonjs-gui": "^7.54.2"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/build-tools": "1.0.0",
|