mftsccs-browser 3.2.16-beta → 3.2.18-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
|
@@ -5109,7 +5109,6 @@ class BinaryTypeTree {
|
|
|
5109
5109
|
let event = new CustomEvent(`${node.key}`, { detail: node.value[0] });
|
|
5110
5110
|
// console.log("this is the fired event", event);
|
|
5111
5111
|
// dispatchEvent(event);
|
|
5112
|
-
console.log("this is type dispatch in null", node.key);
|
|
5113
5112
|
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(node.key, { detail: node.value[0] });
|
|
5114
5113
|
return this.root;
|
|
5115
5114
|
}
|
|
@@ -6149,7 +6148,6 @@ class ConnectionNode {
|
|
|
6149
6148
|
addNode(passedNode, node, height) {
|
|
6150
6149
|
// try{
|
|
6151
6150
|
if (node == null) {
|
|
6152
|
-
console.log("this is the node event on connection add", passedNode.value.ofTheConceptId);
|
|
6153
6151
|
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(passedNode.value.ofTheConceptId);
|
|
6154
6152
|
//node = passedNode;
|
|
6155
6153
|
//ConnectionBinaryTree.connectionAll.push(node.value);
|
|
@@ -6441,7 +6439,6 @@ class ConnectionNode {
|
|
|
6441
6439
|
*/
|
|
6442
6440
|
let event = new Event(`${passedNode.value.ofTheConceptId}`);
|
|
6443
6441
|
// dispatchEvent(event);
|
|
6444
|
-
console.log("this is the remove concept event", passedNode.value.ofTheConceptId);
|
|
6445
6442
|
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(passedNode.value.ofTheConceptId);
|
|
6446
6443
|
if (passedNode.leftNode == null) {
|
|
6447
6444
|
let temp = passedNode.rightNode;
|
|
@@ -6540,11 +6537,9 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6540
6537
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6541
6538
|
/* harmony export */ ConnectionOfNode: () => (/* binding */ ConnectionOfNode)
|
|
6542
6539
|
/* harmony export */ });
|
|
6543
|
-
/* harmony import */ var
|
|
6544
|
-
/* harmony import */ var _NodePrimitive__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./NodePrimitive */ "./src/DataStructures/ConnectionBinaryTree/NodePrimitive.ts");
|
|
6545
|
-
|
|
6540
|
+
/* harmony import */ var _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NodePrimitive */ "./src/DataStructures/ConnectionBinaryTree/NodePrimitive.ts");
|
|
6546
6541
|
|
|
6547
|
-
class ConnectionOfNode extends
|
|
6542
|
+
class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__.NodePrimitive {
|
|
6548
6543
|
constructor(key, value, leftNode, rightNode) {
|
|
6549
6544
|
super(key, value, leftNode, rightNode);
|
|
6550
6545
|
this.key = "";
|
|
@@ -6560,7 +6555,7 @@ class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_1__.NodeP
|
|
|
6560
6555
|
//node= passedNode;
|
|
6561
6556
|
// let event = new Event(`${passedNode.key}`);
|
|
6562
6557
|
// dispatchEvent(event);
|
|
6563
|
-
|
|
6558
|
+
// dispatchIdEvent(passedNode.key);
|
|
6564
6559
|
return passedNode;
|
|
6565
6560
|
}
|
|
6566
6561
|
let LeftNode = node.leftNode;
|
|
@@ -10557,7 +10552,6 @@ class TypeNode {
|
|
|
10557
10552
|
addType(node, key, value) {
|
|
10558
10553
|
var _a, _b, _c, _d;
|
|
10559
10554
|
if (node == null) {
|
|
10560
|
-
console.log("this is type dispatch", key);
|
|
10561
10555
|
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10562
10556
|
return new TypeNode(key, value);
|
|
10563
10557
|
}
|
|
@@ -10571,7 +10565,6 @@ class TypeNode {
|
|
|
10571
10565
|
// If key already exists, insert unique value into the set
|
|
10572
10566
|
if (!node.value.includes(value)) {
|
|
10573
10567
|
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10574
|
-
console.log("this is type dispatch already exist", key);
|
|
10575
10568
|
node.value.push(value);
|
|
10576
10569
|
}
|
|
10577
10570
|
return node;
|
|
@@ -24117,9 +24110,7 @@ class DependencyObserver {
|
|
|
24117
24110
|
* @param id Of the concept id that needs to be listened.
|
|
24118
24111
|
*/
|
|
24119
24112
|
listenToEvent(id) {
|
|
24120
|
-
console.log("listening to the id event", id);
|
|
24121
24113
|
window.addEventListener(`${id}`, (event) => {
|
|
24122
|
-
console.log("this is the event for id", id, event);
|
|
24123
24114
|
if (!this.isUpdating) {
|
|
24124
24115
|
this.isUpdating = true;
|
|
24125
24116
|
let that = this;
|
|
@@ -24151,7 +24142,6 @@ class DependencyObserver {
|
|
|
24151
24142
|
}
|
|
24152
24143
|
that.isUpdating = false;
|
|
24153
24144
|
yield that.bind();
|
|
24154
|
-
console.log("this is the id event", id, event);
|
|
24155
24145
|
that.notify();
|
|
24156
24146
|
});
|
|
24157
24147
|
}, 200);
|
|
@@ -25822,7 +25812,6 @@ const broadcastActions = {
|
|
|
25822
25812
|
dispatchEvent: (payload) => __awaiter(void 0, void 0, void 0, function* () {
|
|
25823
25813
|
if (serviceWorker) {
|
|
25824
25814
|
let event = new CustomEvent(payload.id || '', payload.data);
|
|
25825
|
-
console.log("this is the dispatch final");
|
|
25826
25815
|
dispatchEvent(event);
|
|
25827
25816
|
}
|
|
25828
25817
|
// self.clients.matchAll({ includeUncontrolled: true }).then(clients => {
|
|
@@ -26008,7 +25997,6 @@ function initConceptConnection() {
|
|
|
26008
25997
|
function dispatchIdEvent(id, data = {}) {
|
|
26009
25998
|
if (serviceWorker || typeof window != "undefined") {
|
|
26010
25999
|
// let event = new Event(`${id}`);
|
|
26011
|
-
console.log("this is the dispatch event in the undefined", id, data);
|
|
26012
26000
|
let event = new CustomEvent(`${id}`, data);
|
|
26013
26001
|
dispatchEvent(event);
|
|
26014
26002
|
}
|