mftsccs-browser 1.1.9 → 1.1.11
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 +8 -6
- package/dist/bundle.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -4798,6 +4798,8 @@ class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__.NodeP
|
|
|
4798
4798
|
addNode(passedNode, node, height) {
|
|
4799
4799
|
if (node == null) {
|
|
4800
4800
|
node = passedNode;
|
|
4801
|
+
// let event = new Event(`${passedNode.key}`);
|
|
4802
|
+
// dispatchEvent(event);
|
|
4801
4803
|
return node;
|
|
4802
4804
|
}
|
|
4803
4805
|
let LeftNode = node.leftNode;
|
|
@@ -4894,9 +4896,6 @@ class ConnectionOfTheTree {
|
|
|
4894
4896
|
if (connection.id > 0) {
|
|
4895
4897
|
let key = this.CreateCompositionKey(connection.ofTheConceptId, connection.typeId);
|
|
4896
4898
|
if (this.node) {
|
|
4897
|
-
// let event = new Event(`${key}`);
|
|
4898
|
-
// // console.log("dispatched the of the concecpt event", event);
|
|
4899
|
-
// dispatchEvent(event);
|
|
4900
4899
|
let existingNode = this.node.getFromNode(key, this.node);
|
|
4901
4900
|
if (existingNode) {
|
|
4902
4901
|
let connectionList = existingNode === null || existingNode === void 0 ? void 0 : existingNode.value;
|
|
@@ -4920,6 +4919,9 @@ class ConnectionOfTheTree {
|
|
|
4920
4919
|
let connectionNode = new _ConnectionOfNode__WEBPACK_IMPORTED_MODULE_0__.ConnectionOfNode(key, list, null, null);
|
|
4921
4920
|
this.addNodeToTree(connectionNode);
|
|
4922
4921
|
}
|
|
4922
|
+
let event = new Event(`${key}`);
|
|
4923
|
+
// console.log("dispatched the of the concecpt event", event);
|
|
4924
|
+
dispatchEvent(event);
|
|
4923
4925
|
}
|
|
4924
4926
|
else {
|
|
4925
4927
|
console.log("cannot insert key id with n 0 to the connection tree", connection);
|
|
@@ -4934,9 +4936,9 @@ class ConnectionOfTheTree {
|
|
|
4934
4936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
4935
4937
|
if (this.node == null) {
|
|
4936
4938
|
this.node = connectionOfNode;
|
|
4937
|
-
let event = new Event(`${this.node.key}`);
|
|
4938
|
-
console.log("dispatched the of the concecpt event", event);
|
|
4939
|
-
dispatchEvent(event);
|
|
4939
|
+
// let event = new Event(`${this.node.key}`);
|
|
4940
|
+
// console.log("dispatched the of the concecpt event", event);
|
|
4941
|
+
// dispatchEvent(event);
|
|
4940
4942
|
return this.node;
|
|
4941
4943
|
}
|
|
4942
4944
|
else {
|