mftsccs-browser 2.0.11-beta → 2.0.13-beta

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.
@@ -1783,6 +1783,9 @@ function GetConcept(id) {
1783
1783
  }
1784
1784
  }
1785
1785
  let result = (0,_app__WEBPACK_IMPORTED_MODULE_3__.CreateDefaultConcept)();
1786
+ if (id == 0 || id == undefined || id == null) {
1787
+ return result;
1788
+ }
1786
1789
  var conceptUse = yield _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_0__.ConceptsData.GetConcept(id);
1787
1790
  let isNpc = _DataStructures_ConceptData__WEBPACK_IMPORTED_MODULE_0__.ConceptsData.GetNpc(id);
1788
1791
  if (conceptUse.id != 0 || isNpc) {
@@ -5288,6 +5291,9 @@ class ConceptsData {
5288
5291
  (0,_app__WEBPACK_IMPORTED_MODULE_5__.handleServiceWorkerException)(error);
5289
5292
  }
5290
5293
  }
5294
+ if (id == 0 || id == undefined || id == null) {
5295
+ return (0,_Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();
5296
+ }
5291
5297
  var myConcept = (0,_Services_CreateDefaultConcept__WEBPACK_IMPORTED_MODULE_4__.CreateDefaultConcept)();
5292
5298
  var node = yield _BinaryTree__WEBPACK_IMPORTED_MODULE_1__.BinaryTree.getNodeFromTree(id);
5293
5299
  if (node === null || node === void 0 ? void 0 : node.value) {
@@ -14077,6 +14083,9 @@ function FindConceptsFromConnections() {
14077
14083
  if (!ConceptList.includes(connectionList[i].toTheConceptId)) {
14078
14084
  ConceptList.push(connectionList[i].toTheConceptId);
14079
14085
  }
14086
+ if (!ConceptList.includes(connectionList[i].typeId)) {
14087
+ ConceptList.push(connectionList[i].typeId);
14088
+ }
14080
14089
  }
14081
14090
  yield (0,_Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_0__.GetConceptBulk)(ConceptList);
14082
14091
  }
@@ -15398,6 +15407,7 @@ function GetConnectionDataPrefetch(connectionIds) {
15398
15407
  for (let j = 0; j < connectionsAll.length; j++) {
15399
15408
  prefetchConcepts.push(connectionsAll[j].ofTheConceptId);
15400
15409
  prefetchConcepts.push(connectionsAll[j].toTheConceptId);
15410
+ prefetchConcepts.push(connectionsAll[j].typeId);
15401
15411
  }
15402
15412
  yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.GetConceptBulk)(prefetchConcepts);
15403
15413
  return connectionsAll;
@@ -22013,7 +22023,7 @@ class WidgetTree {
22013
22023
  this.version = 0;
22014
22024
  this.mount_child = "";
22015
22025
  this.children = [];
22016
- this.wrapper = 0;
22026
+ this.wrapper = '0';
22017
22027
  this.widget = new _BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_0__.BuilderStatefulWidget();
22018
22028
  }
22019
22029
  }