mftsccs-browser 1.1.4 → 1.1.5
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/bundle.js
CHANGED
|
@@ -5047,8 +5047,8 @@ var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _argume
|
|
|
5047
5047
|
};
|
|
5048
5048
|
|
|
5049
5049
|
class ConnectionTypeTree {
|
|
5050
|
-
static CreateCompositionKey(
|
|
5051
|
-
return
|
|
5050
|
+
static CreateCompositionKey(typeId) {
|
|
5051
|
+
return typeId;
|
|
5052
5052
|
}
|
|
5053
5053
|
/**
|
|
5054
5054
|
* This is a function to add the connectionNode to the existing tree
|
|
@@ -5075,7 +5075,7 @@ class ConnectionTypeTree {
|
|
|
5075
5075
|
*/
|
|
5076
5076
|
static addConnectionToTree(connection) {
|
|
5077
5077
|
if (connection.id > 0) {
|
|
5078
|
-
let key = this.CreateCompositionKey(connection.
|
|
5078
|
+
let key = this.CreateCompositionKey(connection.typeId);
|
|
5079
5079
|
if (this.connectionTypeRoot) {
|
|
5080
5080
|
// let event = new Event(`${key}`);
|
|
5081
5081
|
// // console.log("dispatched the of the concecpt event", event);
|
|
@@ -5122,7 +5122,7 @@ class ConnectionTypeTree {
|
|
|
5122
5122
|
// return this.connectionTypeRoot;
|
|
5123
5123
|
// }
|
|
5124
5124
|
static GetConnectionByOfTheConceptAndTypeId(ofTheConceptId, typeId) {
|
|
5125
|
-
let key = this.CreateCompositionKey(
|
|
5125
|
+
let key = this.CreateCompositionKey(typeId);
|
|
5126
5126
|
if (this.connectionTypeRoot) {
|
|
5127
5127
|
let existingNode = this.connectionTypeRoot.getFromNode(key, this.connectionTypeRoot);
|
|
5128
5128
|
if (existingNode) {
|
|
@@ -11419,6 +11419,7 @@ function GetCompositionWithIdFromMemory(id) {
|
|
|
11419
11419
|
let returnOutput = {};
|
|
11420
11420
|
// connectionList = await ConnectionData.GetConnectionsOfConcept(id);
|
|
11421
11421
|
connectionList = yield _DataStructures_ConnectionData__WEBPACK_IMPORTED_MODULE_3__.ConnectionData.GetConnectionsOfCompositionLocal(id);
|
|
11422
|
+
console.log("this is the local data composition", connectionList);
|
|
11422
11423
|
let compositionList = [];
|
|
11423
11424
|
for (let i = 0; i < connectionList.length; i++) {
|
|
11424
11425
|
if (!compositionList.includes(connectionList[i].ofTheConceptId)) {
|