mario-core 2.6.2 → 2.6.6

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.css CHANGED
@@ -110,7 +110,7 @@
110
110
  font-size: 24px;
111
111
  font-weight: bold;
112
112
  line-height: 28px;
113
- margin-bottom: 20px; }
113
+ margin-bottom: 30px; }
114
114
 
115
115
  ._21qb6 {
116
116
  margin-bottom: 5px; }
@@ -301,6 +301,10 @@
301
301
  height: 100%;
302
302
  border-radius: 0 5px 5px 0 !important; }
303
303
 
304
+ ._2kOvJ {
305
+ width: 50%;
306
+ margin-bottom: 25px; }
307
+
304
308
  ._39l0X {
305
309
  padding: 0; }
306
310
  ._39l0X > ._1BMwK {
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ function _catch(body, recover) {
46
46
  return result;
47
47
  }
48
48
 
49
- var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","red-background":"_jOY7o","login":"_F-hjL","img-box":"_2v-L_","img-login":"_3ncTL","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","block-form":"_2e7fZ","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
49
+ var styles = {"notification-count":"_2sew7","text-introduction":"_3OgWF","btn-trans-border":"_r9cAh","contact":"_NszFe","learn-more":"_MDjzH","title-quote":"_1Swkw","descriptions-quote":"_gi8vj","descriptions-icon":"_3SOdX","box-login":"_38Lo1","block-verification":"_1OzGy","block-login":"_wWIyO","title-login":"_3nuns","title-forgot-password":"_21qb6","btn-close":"_NhW9l","btn-login":"_3IL10","return-to-login":"_Ce3Kg","recover-account":"_2t6d9","link-to-login":"_3bDsd","remember":"_11FZt","term-and-conditions":"_3LXoI","descriptions-forgot-pass":"_PMcjT","content-icon":"_2rZY6","title-icon":"_y9lM2","nav-home":"_1TT1q","box-introduction":"_32V6L","icon":"_20YJX","form-user-name":"_39BJD","checkbox-remember":"_2K9b2","block-reset-password":"_23Sua","block-forgot-pass":"_3CWP6","page-not-login":"_3Wmco","content-quote":"_13Rk0","home-page":"_o6HKW","red-background":"_jOY7o","login":"_F-hjL","img-box":"_2v-L_","img-login":"_3ncTL","img-login-rectangle":"_2kOvJ","c-main":"_39l0X","container-fluid":"_1BMwK","input-file-label":"_1XNpH","delete-avatar-button":"_1z5h9","header-logo":"_Gewcf","sidebar-logo":"_1hXpy","nav-mobile":"_1qjbW","filter-media-file":"_1I62C","div":"_3cLcM","dropdown-menu":"_1krbH","header-avatar":"_RQaHE","dropdown-content":"_3ys4W","dropdown-change":"_ToOW_","item-address":"_3sQlR","item-logout":"_3bqSM","title-address":"_1jgSI","img-avatar":"_35Ttz","item-contact":"_1wc7o","logout":"_1_9tV","content-text":"_3S4f2","hide-in-mobile":"_1INnO","block-form":"_2e7fZ","hide-in-desktop":"_2LIqK","control-input":"_2Zz97","custom-control":"_3-yp5"};
50
50
 
51
51
  var style = {
52
52
  fontSize: "0.85rem"
@@ -133,10 +133,9 @@ var COLORS = {
133
133
  SUCCESS: "#28a745",
134
134
  INFO: "#007bff"
135
135
  };
136
- var DATE_FORMAT = "yyyy-MM-DD";
137
- var DATE_RESULT = "DD-MM-yyyy";
138
- var FULL_DATE_RESULT = "DD-MM-yyyy HH:mm";
139
- var FULL_DATE_FORMAT = "yyyy-MM-DD HH:mm";
136
+ var DATE_FORMAT = "yyyy-MM-dd";
137
+ var DATE_RESULT = "dd-MM-yyyy";
138
+ var FULL_DATE_RESULT = "dd-MM-yyyy HH:mm";
140
139
  var DATE_MIN_VALUE = "0001-01-01T00:00:00";
141
140
  var LICENSE_AGGRID = "Alhanko&Johnson_BASE23_single_1_Devs__22_November_2020_[v2]_MTYwNjAwMzIwMDAwMA==d452f38afc893671cad92795e95d52a1";
142
141
  var BASE_URL = function () {
@@ -503,11 +502,12 @@ var BlockLogin = function BlockLogin(_ref) {
503
502
  onSubmit: handleSubmit
504
503
  }, React__default.createElement("div", {
505
504
  className: "" + styles["block-form"]
506
- }, React__default.createElement("p", {
505
+ }, React__default.createElement("img", {
506
+ src: "/images/Icon-Rectangle.png",
507
+ className: "" + styles["img-login-rectangle"]
508
+ }), React__default.createElement("p", {
507
509
  className: "" + styles["title-login"]
508
- }, "Sign in"), React__default.createElement("p", {
509
- className: "recover-account"
510
- }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit."), React__default.createElement(reactstrap.FormGroup, {
510
+ }, "Sign in"), React__default.createElement(reactstrap.FormGroup, {
511
511
  className: "" + styles["form-user-name"]
512
512
  }, React__default.createElement(reactstrap.Input, {
513
513
  type: "text",
@@ -5154,7 +5154,7 @@ var utcToLocalTime = (function (time, FORMAT) {
5154
5154
  if (time === DATE_MIN_VALUE) return "";
5155
5155
 
5156
5156
  try {
5157
- return moment.utc(time).local().format(FORMAT || DATE_FORMAT);
5157
+ return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
5158
5158
  } catch (_unused) {
5159
5159
  return "";
5160
5160
  }
@@ -5202,7 +5202,7 @@ var useNotificationList = function useNotificationList() {
5202
5202
  };
5203
5203
 
5204
5204
  var viewNotification = function viewNotification(notification) {
5205
- var _JSON$parse, _JSON$parse2;
5205
+ var _JSON$parse, _JSON$parse2, _JSON$parse3, _JSON$parse4;
5206
5206
 
5207
5207
  var source = notification.source,
5208
5208
  extraData = notification.extraData;
@@ -5212,8 +5212,12 @@ var useNotificationList = function useNotificationList() {
5212
5212
  window.open("/player/diagnosticsurvey/" + Number(extraData));
5213
5213
  break;
5214
5214
 
5215
+ case "NewConferenceCreated":
5216
+ window.open("/start-conference/" + ((_JSON$parse = JSON.parse(extraData)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse[0]) + "/" + ((_JSON$parse2 = JSON.parse(extraData)) === null || _JSON$parse2 === void 0 ? void 0 : _JSON$parse2[1]) + "/conferenceRubric");
5217
+ break;
5218
+
5215
5219
  case "NewSessionCreated":
5216
- window.open("/start-question/" + ((_JSON$parse = JSON.parse(extraData)) === null || _JSON$parse === void 0 ? void 0 : _JSON$parse[0]) + "/" + ((_JSON$parse2 = JSON.parse(extraData)) === null || _JSON$parse2 === void 0 ? void 0 : _JSON$parse2[1]));
5220
+ 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]));
5217
5221
  break;
5218
5222
 
5219
5223
  case "CertificateApproved":
@@ -5374,7 +5378,7 @@ var NotificationList = function NotificationList() {
5374
5378
  className: "align-middle"
5375
5379
  }, record.text), React__default.createElement("td", {
5376
5380
  className: "align-middle"
5377
- }, utcToLocalTime(record.time, FULL_DATE_FORMAT)), React__default.createElement("td", {
5381
+ }, utcToLocalTime(record.time, "yyyy-MM-DD HH:mm")), React__default.createElement("td", {
5378
5382
  className: styles["control-input"] + " text-center align-middle"
5379
5383
  }, React__default.createElement(reactstrap.CustomInput, {
5380
5384
  type: "checkbox",
@@ -5385,7 +5389,7 @@ var NotificationList = function NotificationList() {
5385
5389
  }
5386
5390
  })), React__default.createElement("td", {
5387
5391
  className: "text-center align-middle"
5388
- }, ["AssessmentAssignment", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
5392
+ }, ["AssessmentAssignment", "NewConferenceCreated", "NewSessionCreated", "CertificateApproved"].includes(record.source) && React__default.createElement(ai.AiOutlineEye, {
5389
5393
  className: "cursor-pointer",
5390
5394
  size: ICON_SIZE,
5391
5395
  title: "Detail",