mftsccs-browser 3.2.10-beta → 3.2.12-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
|
}
|
|
@@ -10539,6 +10537,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10539
10537
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10540
10538
|
/* harmony export */ TypeNode: () => (/* binding */ TypeNode)
|
|
10541
10539
|
/* harmony export */ });
|
|
10540
|
+
/* harmony import */ var _app__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../app */ "./src/app.ts");
|
|
10541
|
+
|
|
10542
10542
|
class TypeNode {
|
|
10543
10543
|
constructor(key, value) {
|
|
10544
10544
|
this.value = [];
|
|
@@ -10552,6 +10552,8 @@ class TypeNode {
|
|
|
10552
10552
|
addType(node, key, value) {
|
|
10553
10553
|
var _a, _b, _c, _d;
|
|
10554
10554
|
if (node == null) {
|
|
10555
|
+
console.log("this is type dispatch", key);
|
|
10556
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10555
10557
|
return new TypeNode(key, value);
|
|
10556
10558
|
}
|
|
10557
10559
|
if (key < node.key) {
|
|
@@ -10562,6 +10564,8 @@ class TypeNode {
|
|
|
10562
10564
|
}
|
|
10563
10565
|
else {
|
|
10564
10566
|
// If key already exists, insert unique value into the set
|
|
10567
|
+
console.log("this is type dispatch", key);
|
|
10568
|
+
(0,_app__WEBPACK_IMPORTED_MODULE_0__.dispatchIdEvent)(key, { detail: value });
|
|
10565
10569
|
node.value.push(value);
|
|
10566
10570
|
return node;
|
|
10567
10571
|
}
|
|
@@ -24052,6 +24056,7 @@ class DependencyObserver {
|
|
|
24052
24056
|
* @param id this is the type id which needs to be tracked
|
|
24053
24057
|
*/
|
|
24054
24058
|
listenToEventType(id) {
|
|
24059
|
+
console.log("listening to the id event type", id);
|
|
24055
24060
|
window.addEventListener(`${id}`, (event) => {
|
|
24056
24061
|
console.log("this is the event for type", id, event);
|
|
24057
24062
|
if (!this.isUpdating) {
|
|
@@ -24105,6 +24110,7 @@ class DependencyObserver {
|
|
|
24105
24110
|
* @param id Of the concept id that needs to be listened.
|
|
24106
24111
|
*/
|
|
24107
24112
|
listenToEvent(id) {
|
|
24113
|
+
console.log("listening to the id event", id);
|
|
24108
24114
|
window.addEventListener(`${id}`, (event) => {
|
|
24109
24115
|
console.log("this is the event for id", id, event);
|
|
24110
24116
|
if (!this.isUpdating) {
|
|
@@ -24130,9 +24136,9 @@ class DependencyObserver {
|
|
|
24130
24136
|
}
|
|
24131
24137
|
if (!that.compositionIds.includes(conn.ofTheConceptId)) {
|
|
24132
24138
|
that.compositionIds.push(conn.ofTheConceptId);
|
|
24133
|
-
|
|
24134
|
-
|
|
24135
|
-
|
|
24139
|
+
if (!that.newIds.includes(conn.ofTheConceptId)) {
|
|
24140
|
+
that.newIds.push(conn.ofTheConceptId);
|
|
24141
|
+
}
|
|
24136
24142
|
}
|
|
24137
24143
|
});
|
|
24138
24144
|
}
|