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.
package/dist/main.bundle.js
CHANGED
|
@@ -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) {
|
|
@@ -13473,6 +13479,9 @@ function FindConceptsFromConnections() {
|
|
|
13473
13479
|
if (!ConceptList.includes(connectionList[i].toTheConceptId)) {
|
|
13474
13480
|
ConceptList.push(connectionList[i].toTheConceptId);
|
|
13475
13481
|
}
|
|
13482
|
+
if (!ConceptList.includes(connectionList[i].typeId)) {
|
|
13483
|
+
ConceptList.push(connectionList[i].typeId);
|
|
13484
|
+
}
|
|
13476
13485
|
}
|
|
13477
13486
|
yield (0,_Api_GetConceptBulk__WEBPACK_IMPORTED_MODULE_0__.GetConceptBulk)(ConceptList);
|
|
13478
13487
|
}
|
|
@@ -14794,6 +14803,7 @@ function GetConnectionDataPrefetch(connectionIds) {
|
|
|
14794
14803
|
for (let j = 0; j < connectionsAll.length; j++) {
|
|
14795
14804
|
prefetchConcepts.push(connectionsAll[j].ofTheConceptId);
|
|
14796
14805
|
prefetchConcepts.push(connectionsAll[j].toTheConceptId);
|
|
14806
|
+
prefetchConcepts.push(connectionsAll[j].typeId);
|
|
14797
14807
|
}
|
|
14798
14808
|
yield (0,_app__WEBPACK_IMPORTED_MODULE_2__.GetConceptBulk)(prefetchConcepts);
|
|
14799
14809
|
return connectionsAll;
|
|
@@ -21409,7 +21419,7 @@ class WidgetTree {
|
|
|
21409
21419
|
this.version = 0;
|
|
21410
21420
|
this.mount_child = "";
|
|
21411
21421
|
this.children = [];
|
|
21412
|
-
this.wrapper = 0;
|
|
21422
|
+
this.wrapper = '0';
|
|
21413
21423
|
this.widget = new _BuilderStatefulWidget__WEBPACK_IMPORTED_MODULE_0__.BuilderStatefulWidget();
|
|
21414
21424
|
}
|
|
21415
21425
|
}
|