mftsccs-browser 3.2.11-beta → 3.2.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
|
@@ -5114,11 +5114,9 @@ class BinaryTypeTree {
|
|
|
5114
5114
|
return this.root;
|
|
5115
5115
|
}
|
|
5116
5116
|
else {
|
|
5117
|
-
let event = new CustomEvent(`${node.key}`, {
|
|
5117
|
+
//let event = new CustomEvent(`${node.key}`, {detail: node.value[0]});
|
|
5118
5118
|
// console.log("this is the fired event", event);
|
|
5119
5119
|
// dispatchEvent(event);
|
|
5120
|
-
console.log("this is type dispatch", node.key);
|
|
5121
|
-
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(node.key, { detail: node.value[0] });
|
|
5122
5120
|
// console.log("this is the fired event", event);
|
|
5123
5121
|
this.root = this.root.addType(this.root, node.key, node.value[0]);
|
|
5124
5122
|
}
|
|
@@ -6151,6 +6149,8 @@ class ConnectionNode {
|
|
|
6151
6149
|
addNode(passedNode, node, height) {
|
|
6152
6150
|
// try{
|
|
6153
6151
|
if (node == null) {
|
|
6152
|
+
console.log("this is the node event on connection add", passedNode.value.ofTheConceptId);
|
|
6153
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(passedNode.value.ofTheConceptId);
|
|
6154
6154
|
//node = passedNode;
|
|
6155
6155
|
//ConnectionBinaryTree.connectionAll.push(node.value);
|
|
6156
6156
|
return passedNode;
|
|
@@ -6540,9 +6540,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6540
6540
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6541
6541
|
/* harmony export */ ConnectionOfNode: () => (/* binding */ ConnectionOfNode)
|
|
6542
6542
|
/* harmony export */ });
|
|
6543
|
-
/* harmony import */ var
|
|
6543
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../app */ "./src/app.ts");
|
|
6544
|
+
/* harmony import */ var _NodePrimitive__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NodePrimitive */ "./src/DataStructures/ConnectionBinaryTree/NodePrimitive.ts");
|
|
6544
6545
|
|
|
6545
|
-
|
|
6546
|
+
|
|
6547
|
+
class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_1__.NodePrimitive {
|
|
6546
6548
|
constructor(key, value, leftNode, rightNode) {
|
|
6547
6549
|
super(key, value, leftNode, rightNode);
|
|
6548
6550
|
this.key = "";
|
|
@@ -6558,6 +6560,7 @@ class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__.NodeP
|
|
|
6558
6560
|
//node= passedNode;
|
|
6559
6561
|
// let event = new Event(`${passedNode.key}`);
|
|
6560
6562
|
// dispatchEvent(event);
|
|
6563
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(passedNode.key);
|
|
6561
6564
|
return passedNode;
|
|
6562
6565
|
}
|
|
6563
6566
|
let LeftNode = node.leftNode;
|
|
@@ -10539,6 +10542,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10539
10542
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10540
10543
|
/* harmony export */ TypeNode: () => (/* binding */ TypeNode)
|
|
10541
10544
|
/* harmony export */ });
|
|
10545
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
10546
|
+
|
|
10542
10547
|
class TypeNode {
|
|
10543
10548
|
constructor(key, value) {
|
|
10544
10549
|
this.value = [];
|
|
@@ -10552,6 +10557,8 @@ class TypeNode {
|
|
|
10552
10557
|
addType(node, key, value) {
|
|
10553
10558
|
var _a, _b, _c, _d;
|
|
10554
10559
|
if (node == null) {
|
|
10560
|
+
console.log("this is type dispatch", key);
|
|
10561
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10555
10562
|
return new TypeNode(key, value);
|
|
10556
10563
|
}
|
|
10557
10564
|
if (key < node.key) {
|
|
@@ -10562,6 +10569,8 @@ class TypeNode {
|
|
|
10562
10569
|
}
|
|
10563
10570
|
else {
|
|
10564
10571
|
// If key already exists, insert unique value into the set
|
|
10572
|
+
console.log("this is type dispatch already exist", key);
|
|
10573
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10565
10574
|
node.value.push(value);
|
|
10566
10575
|
return node;
|
|
10567
10576
|
}
|