babylonjs-gui-editor 7.53.2 → 7.54.0

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.
@@ -1826,7 +1826,17 @@ declare module BABYLON {
1826
1826
  declare module BABYLON.GuiEditor.SharedUIComponents {
1827
1827
  export const IsFramePortData: (variableToCheck: any) => variableToCheck is BABYLON.GuiEditor.SharedUIComponents.FramePortData;
1828
1828
  export const RefreshNode: (node: BABYLON.GuiEditor.SharedUIComponents.GraphNode, visitedNodes?: Set<BABYLON.GuiEditor.SharedUIComponents.GraphNode>, visitedLinks?: Set<BABYLON.GuiEditor.SharedUIComponents.NodeLink>, canvas?: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent) => void;
1829
- export const BuildFloatUI: (container: HTMLDivElement, document: Document, displayName: string, isInteger: boolean, source: any, propertyName: string, onChange: () => void, min?: number, max?: number, visualPropertiesRefresh?: Array<() => void>) => void;
1829
+ export 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;
1830
+ export function GetListOfAcceptedTypes<T extends Record<string, string | number>>(types: T, allValue: number, autoDetectValue: number, port: {
1831
+ acceptedConnectionPointTypes: number[];
1832
+ excludedConnectionPointTypes: number[];
1833
+ type: number;
1834
+ }, skips?: number[]): string[];
1835
+ export function GetConnectionErrorMessage<T extends Record<string, string | number>>(sourceType: number, types: T, allValue: number, autoDetectValue: number, port: {
1836
+ acceptedConnectionPointTypes: number[];
1837
+ excludedConnectionPointTypes: number[];
1838
+ type: number;
1839
+ }, skips?: number[]): string;
1830
1840
 
1831
1841
 
1832
1842
 
@@ -1874,7 +1884,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1874
1884
  exportData: (data: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => string;
1875
1885
  isElbowConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
1876
1886
  isDebugConnectionAllowed: (nodeA: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort, nodeB: BABYLON.GuiEditor.SharedUIComponents.FrameNodePort | BABYLON.GuiEditor.SharedUIComponents.NodePort) => boolean;
1877
- applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
1887
+ applyNodePortDesign: (data: BABYLON.GuiEditor.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
1878
1888
  getPortColor: (portData: BABYLON.GuiEditor.SharedUIComponents.IPortData) => string;
1879
1889
  storeEditorData: (serializationObject: any, frame?: Nullable<BABYLON.GuiEditor.SharedUIComponents.GraphFrame>) => void;
1880
1890
  getEditorDataMap: () => {
@@ -1948,7 +1958,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1948
1958
  node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
1949
1959
  protected _element: HTMLDivElement;
1950
1960
  protected _portContainer: HTMLElement;
1951
- protected _img: HTMLImageElement;
1961
+ protected _imgHost: HTMLDivElement;
1952
1962
  protected _pip: HTMLDivElement;
1953
1963
  protected _stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
1954
1964
  protected _portLabelElement: Element;
@@ -2035,6 +2045,7 @@ declare module BABYLON {
2035
2045
  declare module BABYLON.GuiEditor.SharedUIComponents {
2036
2046
  export class GraphNode {
2037
2047
  content: BABYLON.GuiEditor.SharedUIComponents.INodeData;
2048
+ private static _IdGenerator;
2038
2049
  private _visual;
2039
2050
  private _headerContainer;
2040
2051
  private _headerIcon;
@@ -2066,11 +2077,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2066
2077
  private _onUpdateRequiredObserver;
2067
2078
  private _onHighlightNodeObserver;
2068
2079
  private _ownerCanvas;
2069
- private _isSelected;
2070
2080
  private _displayManager;
2071
2081
  private _isVisible;
2072
2082
  private _enclosingFrameId;
2073
2083
  private _visualPropertiesRefresh;
2084
+ private _lastClick;
2074
2085
  addClassToVisual(className: string): void;
2075
2086
  removeClassFromVisual(className: string): void;
2076
2087
  get isCollapsed(): boolean;
@@ -2090,10 +2101,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2090
2101
  get height(): number;
2091
2102
  get id(): number;
2092
2103
  get name(): string;
2093
- get isSelected(): boolean;
2094
2104
  get enclosingFrameId(): number;
2095
2105
  set enclosingFrameId(value: number);
2096
- set isSelected(value: boolean);
2097
2106
  setIsSelected(value: boolean, marqueeSelection: boolean): void;
2098
2107
  get rootElement(): HTMLDivElement;
2099
2108
  constructor(content: BABYLON.GuiEditor.SharedUIComponents.INodeData, stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager);
@@ -2105,10 +2114,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2105
2114
  private _refreshFrames;
2106
2115
  _refreshLinks(): void;
2107
2116
  refresh(): void;
2117
+ private _expand;
2118
+ private _searchMiddle;
2108
2119
  private _onDown;
2109
2120
  cleanAccumulation(useCeil?: boolean): void;
2110
2121
  private _onUp;
2111
- private _attach;
2112
2122
  private _onMove;
2113
2123
  renderProperties(): Nullable<JSX.Element>;
2114
2124
  _forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
@@ -2326,6 +2336,8 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2326
2336
  private _candidateLinkedHasMoved;
2327
2337
  private _x;
2328
2338
  private _y;
2339
+ private _lastx;
2340
+ private _lasty;
2329
2341
  private _zoom;
2330
2342
  private _selectedNodes;
2331
2343
  private _selectedLink;
@@ -2339,6 +2351,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2339
2351
  private _frames;
2340
2352
  private _nodeDataContentList;
2341
2353
  private _altKeyIsPressed;
2354
+ private _shiftKeyIsPressed;
2342
2355
  private _multiKeyIsPressed;
2343
2356
  private _oldY;
2344
2357
  _frameIsMoving: boolean;