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 _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./NodePrimitive */ "./src/DataStructures/ConnectionBinaryTree/NodePrimitive.ts");
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
- class ConnectionOfNode extends _NodePrimitive__WEBPACK_IMPORTED_MODULE_0__.NodePrimitive {
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;
@@ -25814,8 +25819,8 @@ const broadcastActions = {
25814
25819
  }),
25815
25820
  dispatchEvent: (payload) => __awaiter(void 0, void 0, void 0, function* () {
25816
25821
  if (serviceWorker) {
25817
- console.log("this is dispatching the event for test", payload);
25818
25822
  let event = new CustomEvent(payload.id || '', payload.data);
25823
+ console.log("this is the dispatch final");
25819
25824
  dispatchEvent(event);
25820
25825
  }
25821
25826
  // self.clients.matchAll({ includeUncontrolled: true }).then(clients => {
@@ -25999,7 +26004,6 @@ function initConceptConnection() {
25999
26004
  * @param data any
26000
26005
  */
26001
26006
  function dispatchIdEvent(id, data = {}) {
26002
- console.log("this is the dispatch id event", id, data);
26003
26007
  if (serviceWorker || typeof window != "undefined") {
26004
26008
  // let event = new Event(`${id}`);
26005
26009
  console.log("this is the dispatch event in the undefined", id, data);