babylonjs-gui-editor 7.32.5 → 7.33.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.
@@ -1734,6 +1734,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1734
1734
  portData: BABYLON.GuiEditor.SharedUIComponents.IPortData;
1735
1735
  node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
1736
1736
  protected _element: HTMLDivElement;
1737
+ protected _portContainer: HTMLElement;
1737
1738
  protected _img: HTMLImageElement;
1738
1739
  protected _pip: HTMLDivElement;
1739
1740
  protected _stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
@@ -1743,6 +1744,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1743
1744
  protected _exposedOnFrame: boolean;
1744
1745
  delegatedPort: Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort>;
1745
1746
  get element(): HTMLDivElement;
1747
+ get container(): HTMLElement;
1746
1748
  get portName(): string;
1747
1749
  set portName(newName: string);
1748
1750
  get disabled(): boolean;
@@ -1823,7 +1825,9 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1823
1825
  private _headerContainer;
1824
1826
  private _headerIcon;
1825
1827
  private _headerIconImg;
1828
+ private _headerCollapseImg;
1826
1829
  private _header;
1830
+ private _headerCollapse;
1827
1831
  private _connections;
1828
1832
  private _optionsContainer;
1829
1833
  private _inputsContainer;
@@ -1855,6 +1859,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1855
1859
  private _visualPropertiesRefresh;
1856
1860
  addClassToVisual(className: string): void;
1857
1861
  removeClassFromVisual(className: string): void;
1862
+ get isCollapsed(): boolean;
1858
1863
  get isVisible(): boolean;
1859
1864
  set isVisible(value: boolean);
1860
1865
  private _upateNodePortNames;
@@ -1892,6 +1897,15 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
1892
1897
  private _onMove;
1893
1898
  renderProperties(): Nullable<JSX.Element>;
1894
1899
  private _forceRebuild;
1900
+ private _isCollapsed;
1901
+ /**
1902
+ * Collapse the node
1903
+ */
1904
+ collapse(): void;
1905
+ /**
1906
+ * Expand the node
1907
+ */
1908
+ expand(): void;
1895
1909
  appendVisual(root: HTMLDivElement, owner: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent): void;
1896
1910
  dispose(): void;
1897
1911
  }
@@ -2320,6 +2334,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
2320
2334
  blockId: number;
2321
2335
  x: number;
2322
2336
  y: number;
2337
+ isCollapsed: boolean;
2323
2338
  }
2324
2339
  export interface IFrameData {
2325
2340
  x: number;
@@ -2034,6 +2034,7 @@ export class NodePort {
2034
2034
  portData: IPortData;
2035
2035
  node: GraphNode;
2036
2036
  protected _element: HTMLDivElement;
2037
+ protected _portContainer: HTMLElement;
2037
2038
  protected _img: HTMLImageElement;
2038
2039
  protected _pip: HTMLDivElement;
2039
2040
  protected _stateManager: StateManager;
@@ -2043,6 +2044,7 @@ export class NodePort {
2043
2044
  protected _exposedOnFrame: boolean;
2044
2045
  delegatedPort: Nullable<FrameNodePort>;
2045
2046
  get element(): HTMLDivElement;
2047
+ get container(): HTMLElement;
2046
2048
  get portName(): string;
2047
2049
  set portName(newName: string);
2048
2050
  get disabled(): boolean;
@@ -2118,7 +2120,9 @@ export class GraphNode {
2118
2120
  private _headerContainer;
2119
2121
  private _headerIcon;
2120
2122
  private _headerIconImg;
2123
+ private _headerCollapseImg;
2121
2124
  private _header;
2125
+ private _headerCollapse;
2122
2126
  private _connections;
2123
2127
  private _optionsContainer;
2124
2128
  private _inputsContainer;
@@ -2150,6 +2154,7 @@ export class GraphNode {
2150
2154
  private _visualPropertiesRefresh;
2151
2155
  addClassToVisual(className: string): void;
2152
2156
  removeClassFromVisual(className: string): void;
2157
+ get isCollapsed(): boolean;
2153
2158
  get isVisible(): boolean;
2154
2159
  set isVisible(value: boolean);
2155
2160
  private _upateNodePortNames;
@@ -2187,6 +2192,15 @@ export class GraphNode {
2187
2192
  private _onMove;
2188
2193
  renderProperties(): Nullable<JSX.Element>;
2189
2194
  private _forceRebuild;
2195
+ private _isCollapsed;
2196
+ /**
2197
+ * Collapse the node
2198
+ */
2199
+ collapse(): void;
2200
+ /**
2201
+ * Expand the node
2202
+ */
2203
+ expand(): void;
2190
2204
  appendVisual(root: HTMLDivElement, owner: GraphCanvasComponent): void;
2191
2205
  dispose(): void;
2192
2206
  }
@@ -2595,6 +2609,7 @@ export interface INodeLocationInfo {
2595
2609
  blockId: number;
2596
2610
  x: number;
2597
2611
  y: number;
2612
+ isCollapsed: boolean;
2598
2613
  }
2599
2614
  export interface IFrameData {
2600
2615
  x: number;
@@ -6449,6 +6464,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6449
6464
  portData: BABYLON.GuiEditor.SharedUIComponents.IPortData;
6450
6465
  node: BABYLON.GuiEditor.SharedUIComponents.GraphNode;
6451
6466
  protected _element: HTMLDivElement;
6467
+ protected _portContainer: HTMLElement;
6452
6468
  protected _img: HTMLImageElement;
6453
6469
  protected _pip: HTMLDivElement;
6454
6470
  protected _stateManager: BABYLON.GuiEditor.SharedUIComponents.StateManager;
@@ -6458,6 +6474,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6458
6474
  protected _exposedOnFrame: boolean;
6459
6475
  delegatedPort: Nullable<BABYLON.GuiEditor.SharedUIComponents.FrameNodePort>;
6460
6476
  get element(): HTMLDivElement;
6477
+ get container(): HTMLElement;
6461
6478
  get portName(): string;
6462
6479
  set portName(newName: string);
6463
6480
  get disabled(): boolean;
@@ -6538,7 +6555,9 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6538
6555
  private _headerContainer;
6539
6556
  private _headerIcon;
6540
6557
  private _headerIconImg;
6558
+ private _headerCollapseImg;
6541
6559
  private _header;
6560
+ private _headerCollapse;
6542
6561
  private _connections;
6543
6562
  private _optionsContainer;
6544
6563
  private _inputsContainer;
@@ -6570,6 +6589,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6570
6589
  private _visualPropertiesRefresh;
6571
6590
  addClassToVisual(className: string): void;
6572
6591
  removeClassFromVisual(className: string): void;
6592
+ get isCollapsed(): boolean;
6573
6593
  get isVisible(): boolean;
6574
6594
  set isVisible(value: boolean);
6575
6595
  private _upateNodePortNames;
@@ -6607,6 +6627,15 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
6607
6627
  private _onMove;
6608
6628
  renderProperties(): Nullable<JSX.Element>;
6609
6629
  private _forceRebuild;
6630
+ private _isCollapsed;
6631
+ /**
6632
+ * Collapse the node
6633
+ */
6634
+ collapse(): void;
6635
+ /**
6636
+ * Expand the node
6637
+ */
6638
+ expand(): void;
6610
6639
  appendVisual(root: HTMLDivElement, owner: BABYLON.GuiEditor.SharedUIComponents.GraphCanvasComponent): void;
6611
6640
  dispose(): void;
6612
6641
  }
@@ -7035,6 +7064,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
7035
7064
  blockId: number;
7036
7065
  x: number;
7037
7066
  y: number;
7067
+ isCollapsed: boolean;
7038
7068
  }
7039
7069
  export interface IFrameData {
7040
7070
  x: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui-editor",
3
- "version": "7.32.5",
3
+ "version": "7.33.0",
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.32.5",
18
- "babylonjs-gui": "^7.32.5"
17
+ "babylonjs": "^7.33.0",
18
+ "babylonjs-gui": "^7.33.0"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@dev/build-tools": "1.0.0",