@babylonjs/node-editor 5.13.1 → 5.13.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.
@@ -64130,9 +64130,7 @@ __webpack_require__.r(__webpack_exports__);
64130
64130
  /* harmony import */ var core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core/Maths/math.color */ "core/Misc/dataStorage");
64131
64131
  /* harmony import */ var core_Misc_observable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_Misc_observable__WEBPACK_IMPORTED_MODULE_0__);
64132
64132
  /* harmony import */ var _frameNodePort__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./frameNodePort */ "../../../dev/sharedUiComponents/dist/nodeGraphSystem/frameNodePort.js");
64133
- /* harmony import */ var _typeLedger__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./typeLedger */ "../../../dev/sharedUiComponents/dist/nodeGraphSystem/typeLedger.js");
64134
- /* harmony import */ var _stringTools__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../stringTools */ "../../../dev/sharedUiComponents/dist/stringTools.js");
64135
-
64133
+ /* harmony import */ var _stringTools__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../stringTools */ "../../../dev/sharedUiComponents/dist/stringTools.js");
64136
64134
 
64137
64135
 
64138
64136
 
@@ -64719,7 +64717,7 @@ class GraphFrame {
64719
64717
  return this._isCollapsed;
64720
64718
  }
64721
64719
  _createInputPort(port, node) {
64722
- const localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(_typeLedger__WEBPACK_IMPORTED_MODULE_2__.TypeLedger.PortDataBuilder(port, this._ownerCanvas), node, this._inputPortContainer, null, this._ownerCanvas.stateManager, true, GraphFrame._FramePortCounter++, this.id);
64720
+ const localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(port.portData, node, this._inputPortContainer, null, this._ownerCanvas.stateManager, true, GraphFrame._FramePortCounter++, this.id);
64723
64721
  this._frameInPorts.push(localPort);
64724
64722
  port.delegatedPort = localPort;
64725
64723
  this._controlledPorts.push(port);
@@ -64889,7 +64887,7 @@ class GraphFrame {
64889
64887
  let localPort;
64890
64888
  if (!portAdded) {
64891
64889
  portAdded = true;
64892
- localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(_typeLedger__WEBPACK_IMPORTED_MODULE_2__.TypeLedger.PortDataBuilder(port, this._ownerCanvas), link.nodeA, this._outputPortContainer, null, this._ownerCanvas.stateManager, false, GraphFrame._FramePortCounter++, this.id);
64890
+ localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(port.portData, link.nodeA, this._outputPortContainer, null, this._ownerCanvas.stateManager, false, GraphFrame._FramePortCounter++, this.id);
64893
64891
  this._frameOutPorts.push(localPort);
64894
64892
  link.isVisible = true;
64895
64893
  const onLinkDisposedObserver = link.onDisposedObservable.add((nodeLink) => {
@@ -64910,7 +64908,7 @@ class GraphFrame {
64910
64908
  this._controlledPorts.push(port);
64911
64909
  }
64912
64910
  else if (port.exposedPortPosition >= 0 && !portAdded) {
64913
- const localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(_typeLedger__WEBPACK_IMPORTED_MODULE_2__.TypeLedger.PortDataBuilder(port, this._ownerCanvas), node, this._outputPortContainer, null, this._ownerCanvas.stateManager, false, GraphFrame._FramePortCounter++, this.id);
64911
+ const localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(port.portData, node, this._outputPortContainer, null, this._ownerCanvas.stateManager, false, GraphFrame._FramePortCounter++, this.id);
64914
64912
  this._frameOutPorts.push(localPort);
64915
64913
  port.delegatedPort = localPort;
64916
64914
  this._controlledPorts.push(port);
@@ -64921,7 +64919,7 @@ class GraphFrame {
64921
64919
  return true;
64922
64920
  }
64923
64921
  else if (port.exposedOnFrame) {
64924
- const localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(_typeLedger__WEBPACK_IMPORTED_MODULE_2__.TypeLedger.PortDataBuilder(port, this._ownerCanvas), node, this._outputPortContainer, null, this._ownerCanvas.stateManager, false, GraphFrame._FramePortCounter++, this.id);
64922
+ const localPort = _frameNodePort__WEBPACK_IMPORTED_MODULE_1__.FrameNodePort.CreateFrameNodePortElement(port.portData, node, this._outputPortContainer, null, this._ownerCanvas.stateManager, false, GraphFrame._FramePortCounter++, this.id);
64925
64923
  this._frameOutPorts.push(localPort);
64926
64924
  port.delegatedPort = localPort;
64927
64925
  this._controlledPorts.push(port);
@@ -65388,7 +65386,7 @@ class GraphFrame {
65388
65386
  export() {
65389
65387
  const state = this._ownerCanvas.stateManager;
65390
65388
  const json = state.exportData(state.data);
65391
- _stringTools__WEBPACK_IMPORTED_MODULE_3__.StringTools.DownloadAsFile(state.hostDocument, json, this._name + ".json");
65389
+ _stringTools__WEBPACK_IMPORTED_MODULE_2__.StringTools.DownloadAsFile(state.hostDocument, json, this._name + ".json");
65392
65390
  }
65393
65391
  adjustPorts() {
65394
65392
  for (const node of this.nodes) {