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.
|
@@ -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
|
}
|
|
@@ -25002,6 +25006,7 @@ class DependencyObserver {
|
|
|
25002
25006
|
* @param id this is the type id which needs to be tracked
|
|
25003
25007
|
*/
|
|
25004
25008
|
listenToEventType(id) {
|
|
25009
|
+
console.log("listening to the id event type", id);
|
|
25005
25010
|
window.addEventListener(`${id}`, (event) => {
|
|
25006
25011
|
console.log("this is the event for type", id, event);
|
|
25007
25012
|
if (!this.isUpdating) {
|
|
@@ -25055,6 +25060,7 @@ class DependencyObserver {
|
|
|
25055
25060
|
* @param id Of the concept id that needs to be listened.
|
|
25056
25061
|
*/
|
|
25057
25062
|
listenToEvent(id) {
|
|
25063
|
+
console.log("listening to the id event", id);
|
|
25058
25064
|
window.addEventListener(`${id}`, (event) => {
|
|
25059
25065
|
console.log("this is the event for id", id, event);
|
|
25060
25066
|
if (!this.isUpdating) {
|
|
@@ -25080,9 +25086,9 @@ class DependencyObserver {
|
|
|
25080
25086
|
}
|
|
25081
25087
|
if (!that.compositionIds.includes(conn.ofTheConceptId)) {
|
|
25082
25088
|
that.compositionIds.push(conn.ofTheConceptId);
|
|
25083
|
-
|
|
25084
|
-
|
|
25085
|
-
|
|
25089
|
+
if (!that.newIds.includes(conn.ofTheConceptId)) {
|
|
25090
|
+
that.newIds.push(conn.ofTheConceptId);
|
|
25091
|
+
}
|
|
25086
25092
|
}
|
|
25087
25093
|
});
|
|
25088
25094
|
}
|