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.modern.js
CHANGED
|
@@ -8040,7 +8040,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
8040
8040
|
};
|
|
8041
8041
|
|
|
8042
8042
|
var viewNotification = function viewNotification(notification) {
|
|
8043
|
-
var _JSON$parse, _JSON$parse2,
|
|
8043
|
+
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;
|
|
8044
8044
|
|
|
8045
8045
|
var source = notification.source,
|
|
8046
8046
|
extraData = notification.extraData;
|
|
@@ -8055,23 +8055,23 @@ var useNotificationList = function useNotificationList() {
|
|
|
8055
8055
|
break;
|
|
8056
8056
|
|
|
8057
8057
|
case "Class Reflection":
|
|
8058
|
-
window.open("/start-reflection/" + ((
|
|
8058
|
+
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]));
|
|
8059
8059
|
break;
|
|
8060
8060
|
|
|
8061
8061
|
case "Class Reflection Completed":
|
|
8062
|
-
window.open("/result-reflection/" + ((
|
|
8062
|
+
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]));
|
|
8063
8063
|
break;
|
|
8064
8064
|
|
|
8065
8065
|
case "External Reflection Completed":
|
|
8066
|
-
window.open("/result-reflection/" + ((
|
|
8066
|
+
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");
|
|
8067
8067
|
break;
|
|
8068
8068
|
|
|
8069
8069
|
case "NewSessionCreated":
|
|
8070
|
-
window.open("/start-question/" + ((_JSON$
|
|
8070
|
+
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]));
|
|
8071
8071
|
break;
|
|
8072
8072
|
|
|
8073
8073
|
case "NewSessionComplete":
|
|
8074
|
-
window.open("/start-question/" + ((_JSON$
|
|
8074
|
+
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]));
|
|
8075
8075
|
break;
|
|
8076
8076
|
|
|
8077
8077
|
case "ActionPointReminder":
|