mario-core 2.9.53-beta → 2.9.54-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 +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8024,7 +8024,7 @@ var useNotificationList = function useNotificationList() {
|
|
|
8024
8024
|
};
|
|
8025
8025
|
|
|
8026
8026
|
var viewNotification = function viewNotification(notification) {
|
|
8027
|
-
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8;
|
|
8027
|
+
var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4, _JSON$parse5, _JSON$parse6, _JSON$parse7, _JSON$parse8, _JSON$parse9, _JSON$parse10;
|
|
8028
8028
|
|
|
8029
8029
|
var source = notification.source,
|
|
8030
8030
|
extraData = notification.extraData;
|
|
@@ -8042,12 +8042,20 @@ var useNotificationList = function useNotificationList() {
|
|
|
8042
8042
|
window.open("/start-reflection/" + ((_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]));
|
|
8043
8043
|
break;
|
|
8044
8044
|
|
|
8045
|
+
case "Class Reflection Completed":
|
|
8046
|
+
window.open("/result-reflection/" + ((_JSON$parse5 = JSON.parse(extraData)) === null || _JSON$parse5 === void 0 ? void 0 : _JSON$parse5[1]));
|
|
8047
|
+
break;
|
|
8048
|
+
|
|
8049
|
+
case "External Reflection Completed":
|
|
8050
|
+
window.open("/result-reflection/" + ((_JSON$parse6 = JSON.parse(extraData)) === null || _JSON$parse6 === void 0 ? void 0 : _JSON$parse6[1]) + "/external");
|
|
8051
|
+
break;
|
|
8052
|
+
|
|
8045
8053
|
case "NewSessionCreated":
|
|
8046
|
-
window.open("/start-question/" + ((_JSON$
|
|
8054
|
+
window.open("/start-question/" + ((_JSON$parse7 = JSON.parse(extraData)) === null || _JSON$parse7 === void 0 ? void 0 : _JSON$parse7[0]) + "/" + ((_JSON$parse8 = JSON.parse(extraData)) === null || _JSON$parse8 === void 0 ? void 0 : _JSON$parse8[1]));
|
|
8047
8055
|
break;
|
|
8048
8056
|
|
|
8049
8057
|
case "NewSessionComplete":
|
|
8050
|
-
window.open("/start-question/" + ((_JSON$
|
|
8058
|
+
window.open("/start-question/" + ((_JSON$parse9 = JSON.parse(extraData)) === null || _JSON$parse9 === void 0 ? void 0 : _JSON$parse9[0]) + "/" + ((_JSON$parse10 = JSON.parse(extraData)) === null || _JSON$parse10 === void 0 ? void 0 : _JSON$parse10[1]));
|
|
8051
8059
|
break;
|
|
8052
8060
|
|
|
8053
8061
|
case "ActionPointReminder":
|
|
@@ -8279,7 +8287,7 @@ var NotificationList = function NotificationList() {
|
|
|
8279
8287
|
}
|
|
8280
8288
|
})), React__default.createElement("td", {
|
|
8281
8289
|
className: "text-center align-middle"
|
|
8282
|
-
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
|
|
8290
|
+
}, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved", "Class Reflection", "NewSessionComplete", "ActionPointReminder", "SendNotiPLP", "SendNotiGOAL", "Class Reflection Completed", "External Reflection Completed"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
|
|
8283
8291
|
className: "cursor-pointer",
|
|
8284
8292
|
size: ICON_SIZE,
|
|
8285
8293
|
title: "Detail",
|