mario-core 2.9.59-beta → 2.9.61-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/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8042,7 +8042,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
8042
8042
|
};
|
|
8043
8043
|
|
|
8044
8044
|
var viewNotification = function viewNotification(notification) {
|
|
8045
|
-
var _JSON$parse, _JSON$parse2,
|
|
8045
|
+
var _JSON$parse, _JSON$parse2, _extraData$replace, _extraData$replace$sp, _extraData$replace2, _extraData$replace2$s, _extraData$replace3, _extraData$replace3$s, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6;
|
|
8046
8046
|
|
|
8047
8047
|
var source = notification.source,
|
|
8048
8048
|
extraData = notification.extraData;
|
|
@@ -8057,23 +8057,23 @@ var useNotificationList = function useNotificationList() {
|
|
|
8057
8057
|
break;
|
|
8058
8058
|
|
|
8059
8059
|
case "Class Reflection":
|
|
8060
|
-
window.open("/start-reflection/" + ((
|
|
8060
|
+
window.open("/start-reflection/" + (extraData === null || extraData === void 0 ? void 0 : (_extraData$replace = extraData.replace(/[\[\]]/g, '')) === null || _extraData$replace === void 0 ? void 0 : (_extraData$replace$sp = _extraData$replace.split(',')) === null || _extraData$replace$sp === void 0 ? void 0 : _extraData$replace$sp[1]));
|
|
8061
8061
|
break;
|
|
8062
8062
|
|
|
8063
8063
|
case "Class Reflection Completed":
|
|
8064
|
-
window.open("/result-reflection/" + ((
|
|
8064
|
+
window.open("/result-reflection/" + (extraData === null || extraData === void 0 ? void 0 : (_extraData$replace2 = extraData.replace(/[\[\]]/g, '')) === null || _extraData$replace2 === void 0 ? void 0 : (_extraData$replace2$s = _extraData$replace2.split(',')) === null || _extraData$replace2$s === void 0 ? void 0 : _extraData$replace2$s[1]));
|
|
8065
8065
|
break;
|
|
8066
8066
|
|
|
8067
8067
|
case "External Reflection Completed":
|
|
8068
|
-
window.open("/result-reflection/" + ((
|
|
8068
|
+
window.open("/result-reflection/" + (extraData === null || extraData === void 0 ? void 0 : (_extraData$replace3 = extraData.replace(/[\[\]]/g, '')) === null || _extraData$replace3 === void 0 ? void 0 : (_extraData$replace3$s = _extraData$replace3.split(',')) === null || _extraData$replace3$s === void 0 ? void 0 : _extraData$replace3$s[1]) + "/external");
|
|
8069
8069
|
break;
|
|
8070
8070
|
|
|
8071
8071
|
case "NewSessionCreated":
|
|
8072
|
-
window.open("/start-question/" + ((_JSON$
|
|
8072
|
+
window.open("/start-question/" + ((_JSON$parse3 = JSON.parse(extraData)) === null || _JSON$parse3 === void 0 ? void 0 : _JSON$parse3[0]) + "/" + ((_JSON$parse4 = JSON.parse(extraData)) === null || _JSON$parse4 === void 0 ? void 0 : _JSON$parse4[1]));
|
|
8073
8073
|
break;
|
|
8074
8074
|
|
|
8075
8075
|
case "NewSessionComplete":
|
|
8076
|
-
window.open("/start-question/" + ((_JSON$
|
|
8076
|
+
window.open("/start-question/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[0]) + "/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]));
|
|
8077
8077
|
break;
|
|
8078
8078
|
|
|
8079
8079
|
case "ActionPointReminder":
|