babylonjs-node-editor 7.37.1 → 7.37.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.
@@ -1314,7 +1314,7 @@ declare module "babylonjs-node-editor/styleHelper" {
1314
1314
  * @param source document to copy styles from
1315
1315
  * @param target document or shadow root to copy styles to
1316
1316
  */
1317
- export function CopyStyles(source: Document, target: Document): void;
1317
+ export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
1318
1318
 
1319
1319
  }
1320
1320
  declare module "babylonjs-node-editor/stringTools" {
@@ -1950,6 +1950,7 @@ export class StateManager {
1950
1950
  isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
1951
1951
  isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
1952
1952
  applyNodePortDesign: (data: IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
1953
+ getPortColor: (portData: IPortData) => string;
1953
1954
  storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
1954
1955
  getEditorDataMap: () => {
1955
1956
  [key: number]: number;
@@ -5657,7 +5658,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
5657
5658
  * @param source document to copy styles from
5658
5659
  * @param target document or shadow root to copy styles to
5659
5660
  */
5660
- export function CopyStyles(source: Document, target: Document): void;
5661
+ export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
5661
5662
 
5662
5663
 
5663
5664
 
@@ -6341,6 +6342,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
6341
6342
  isElbowConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
6342
6343
  isDebugConnectionAllowed: (nodeA: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeEditor.SharedUIComponents.NodePort) => boolean;
6343
6344
  applyNodePortDesign: (data: BABYLON.NodeEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
6345
+ getPortColor: (portData: BABYLON.NodeEditor.SharedUIComponents.IPortData) => string;
6344
6346
  storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.GraphFrame>) => void;
6345
6347
  getEditorDataMap: () => {
6346
6348
  [key: number]: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-editor",
3
- "version": "7.37.1",
3
+ "version": "7.37.2",
4
4
  "main": "babylon.nodeEditor.js",
5
5
  "types": "babylon.nodeEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.37.1"
17
+ "babylonjs": "^7.37.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",