mftsccs-browser 3.2.12-beta → 3.2.14-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.
|
@@ -6149,6 +6149,8 @@ class ConnectionNode {
|
|
|
6149
6149
|
addNode(passedNode, node, height) {
|
|
6150
6150
|
// try{
|
|
6151
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);
|
|
6152
6154
|
//node = passedNode;
|
|
6153
6155
|
//ConnectionBinaryTree.connectionAll.push(node.value);
|
|
6154
6156
|
return passedNode;
|
|
@@ -6538,9 +6540,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6538
6540
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
6539
6541
|
/* harmony export */ ConnectionOfNode: () => (/* binding */ ConnectionOfNode)
|
|
6540
6542
|
/* harmony export */ });
|
|
6541
|
-
/* 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");
|
|
6542
6545
|
|
|
6543
|
-
|
|
6546
|
+
|
|
6547
|
+
class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_1__.NodePrimitive {
|
|
6544
6548
|
constructor(key, value, leftNode, rightNode) {
|
|
6545
6549
|
super(key, value, leftNode, rightNode);
|
|
6546
6550
|
this.key = "";
|
|
@@ -6556,6 +6560,7 @@ class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__.NodeP
|
|
|
6556
6560
|
//node= passedNode;
|
|
6557
6561
|
// let event = new Event(`${passedNode.key}`);
|
|
6558
6562
|
// dispatchEvent(event);
|
|
6563
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(passedNode.key);
|
|
6559
6564
|
return passedNode;
|
|
6560
6565
|
}
|
|
6561
6566
|
let LeftNode = node.leftNode;
|
|
@@ -10564,7 +10569,7 @@ class TypeNode {
|
|
|
10564
10569
|
}
|
|
10565
10570
|
else {
|
|
10566
10571
|
// If key already exists, insert unique value into the set
|
|
10567
|
-
console.log("this is type dispatch", key);
|
|
10572
|
+
console.log("this is type dispatch already exist", key);
|
|
10568
10573
|
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10569
10574
|
node.value.push(value);
|
|
10570
10575
|
return node;
|
|
@@ -26764,8 +26769,8 @@ const broadcastActions = {
|
|
|
26764
26769
|
}),
|
|
26765
26770
|
dispatchEvent: (payload) => __awaiter(void 0, void 0, void 0, function* () {
|
|
26766
26771
|
if (serviceWorker) {
|
|
26767
|
-
console.log("this is dispatching the event for test", payload);
|
|
26768
26772
|
let event = new CustomEvent(payload.id || '', payload.data);
|
|
26773
|
+
console.log("this is the dispatch final");
|
|
26769
26774
|
dispatchEvent(event);
|
|
26770
26775
|
}
|
|
26771
26776
|
// self.clients.matchAll({ includeUncontrolled: true }).then(clients => {
|
|
@@ -26949,7 +26954,6 @@ function initConceptConnection() {
|
|
|
26949
26954
|
* @param data any
|
|
26950
26955
|
*/
|
|
26951
26956
|
function dispatchIdEvent(id, data = {}) {
|
|
26952
|
-
console.log("this is the dispatch id event", id, data);
|
|
26953
26957
|
if (serviceWorker || typeof window != "undefined") {
|
|
26954
26958
|
// let event = new Event(`${id}`);
|
|
26955
26959
|
console.log("this is the dispatch event in the undefined", id, data);
|