mario-core 2.9.47-beta → 2.9.49-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.css CHANGED
@@ -11,6 +11,8 @@
11
11
  ._2HqmH {
12
12
  width: 100%;
13
13
  justify-content: center; }
14
+ ._2HqmH > span {
15
+ font-family: 'Poppins-Regular' !important; }
14
16
 
15
17
  ._2sew7 {
16
18
  top: -4px;
@@ -27,7 +29,6 @@
27
29
  /* style for login */
28
30
  ._3OgWF {
29
31
  display: inline-block;
30
- font-family: Lato;
31
32
  font-size: 34px;
32
33
  letter-spacing: normal;
33
34
  text-align: center;
@@ -61,7 +62,6 @@
61
62
 
62
63
  ._1Swkw {
63
64
  color: #ffffff;
64
- font-family: Lato;
65
65
  font-size: 26px;
66
66
  text-align: right;
67
67
  border-right: 3px #ffffff solid; }
@@ -72,7 +72,6 @@
72
72
 
73
73
  ._gi8vj {
74
74
  color: #ffffff;
75
- font-family: Lato;
76
75
  font-size: 20px;
77
76
  text-align: left;
78
77
  opacity: 0.8; }
@@ -114,7 +113,8 @@
114
113
  font-size: 24px;
115
114
  font-weight: bold;
116
115
  line-height: 28px;
117
- margin-bottom: 30px; }
116
+ margin-bottom: 30px;
117
+ font-family: 'Montserrat-Bold' !important; }
118
118
 
119
119
  ._21qb6 {
120
120
  margin-bottom: 5px; }
@@ -141,7 +141,8 @@
141
141
  display: block;
142
142
  border: none;
143
143
  outline: none;
144
- width: 100%; }
144
+ width: 100%;
145
+ font-family: 'Poppins-Regular' !important; }
145
146
 
146
147
  ._Ce3Kg {
147
148
  color: #2196f3;
@@ -159,7 +160,8 @@
159
160
  color: #336DDA;
160
161
  font-size: 16px;
161
162
  display: inline-block;
162
- font-weight: 500; }
163
+ font-weight: 500;
164
+ font-family: 'Poppins-Regular' !important; }
163
165
  ._3bDsd:hover {
164
166
  color: #336DDA;
165
167
  -webkit-text-decoration: revert;
@@ -238,7 +240,8 @@
238
240
  ._wWIyO ._3IL10 {
239
241
  margin: 30px 0;
240
242
  color: rgba(0, 0, 0, 0.36);
241
- font-weight: 500; }
243
+ font-weight: 500;
244
+ font-family: 'Poppins-Regular' !important; }
242
245
  ._wWIyO ._3IL10:hover {
243
246
  background-color: #2196f3;
244
247
  color: #ffffff; }
@@ -255,13 +258,16 @@
255
258
  min-height: 40vh; }
256
259
 
257
260
  ._3CWP6 ._3nuns {
258
- margin-bottom: 0; }
261
+ margin-bottom: 0;
262
+ font-family: 'Montserrat-Bold' !important; }
259
263
 
260
264
  ._3CWP6 ._PMcjT {
261
- margin-bottom: 20px; }
265
+ margin-bottom: 20px;
266
+ font-family: 'Poppins-Regular' !important; }
262
267
 
263
268
  ._3CWP6 ._3IL10 {
264
- margin-bottom: 70px; }
269
+ margin-bottom: 70px;
270
+ font-family: 'Poppins-Regular' !important; }
265
271
 
266
272
  ._3Wmco ._13Rk0 {
267
273
  padding-bottom: 60px; }
package/dist/index.js CHANGED
@@ -25,6 +25,7 @@ var fa = require('react-icons/fa');
25
25
  var dateFns = require('date-fns');
26
26
  var tinymceReact = require('@tinymce/tinymce-react');
27
27
  var differenceInCalendarYears = _interopDefault(require('date-fns/differenceInCalendarYears'));
28
+ var moment = _interopDefault(require('moment'));
28
29
  var DatePicker = _interopDefault(require('react-datepicker'));
29
30
  var toDate = _interopDefault(require('date-fns/toDate'));
30
31
  var md = require('react-icons/md');
@@ -32,7 +33,6 @@ var Creatable = _interopDefault(require('react-select/creatable'));
32
33
  var ReactNotification$1 = _interopDefault(require('react-notifications-component'));
33
34
  require('react-notifications-component/dist/theme.css');
34
35
  var ai = require('react-icons/ai');
35
- var moment = _interopDefault(require('moment'));
36
36
 
37
37
  var dashboard = "Dashboard";
38
38
  var user = "User";
@@ -203,7 +203,10 @@ var user_name = "User Name";
203
203
  var user_email = "User Email";
204
204
  var level = "Level";
205
205
  var use_for = "Use for";
206
+ var admin_training = "Admin training";
206
207
  var teacher_training = "Teacher training";
208
+ var created_time = "Create time";
209
+ var total_reflections = "Total reflections:";
207
210
  var student_training = "Student training";
208
211
  var create_destination = "Create Destination";
209
212
  var total_of_designation = "Total of Designation";
@@ -679,7 +682,10 @@ var lang_us = {
679
682
  user_email: user_email,
680
683
  level: level,
681
684
  use_for: use_for,
685
+ admin_training: admin_training,
682
686
  teacher_training: teacher_training,
687
+ created_time: created_time,
688
+ total_reflections: total_reflections,
683
689
  student_training: student_training,
684
690
  create_destination: create_destination,
685
691
  total_of_designation: total_of_designation,
@@ -1159,7 +1165,10 @@ var user_name$1 = "User Name";
1159
1165
  var user_email$1 = "User Email";
1160
1166
  var level$1 = "Level";
1161
1167
  var use_for$1 = "Use for";
1168
+ var admin_training$1 = "Admin training";
1162
1169
  var teacher_training$1 = "Teacher training";
1170
+ var created_time$1 = "Create time";
1171
+ var total_reflections$1 = "Total reflections:";
1163
1172
  var student_training$1 = "Student training";
1164
1173
  var create_destination$1 = "Create Destination";
1165
1174
  var total_of_designation$1 = "Total of Designation";
@@ -1635,7 +1644,10 @@ var lang_uk = {
1635
1644
  user_email: user_email$1,
1636
1645
  level: level$1,
1637
1646
  use_for: use_for$1,
1647
+ admin_training: admin_training$1,
1638
1648
  teacher_training: teacher_training$1,
1649
+ created_time: created_time$1,
1650
+ total_reflections: total_reflections$1,
1639
1651
  student_training: student_training$1,
1640
1652
  create_destination: create_destination$1,
1641
1653
  total_of_designation: total_of_designation$1,
@@ -4531,6 +4543,9 @@ var defaultparams = [{
4531
4543
  }, {
4532
4544
  label: "$MESSAGE$",
4533
4545
  meaning: "Message"
4546
+ }, {
4547
+ label: "$DOMAIN$",
4548
+ meaning: "Domain"
4534
4549
  }];
4535
4550
 
4536
4551
  var MailSubject = function MailSubject(_ref) {
@@ -6550,6 +6565,16 @@ SearchBoxContainer.defaultProps = {
6550
6565
  placeholder: "Type something to search"
6551
6566
  };
6552
6567
 
6568
+ var utcToLocalTime = (function (time, FORMAT) {
6569
+ if (time === DATE_MIN_VALUE) return "";
6570
+
6571
+ try {
6572
+ return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
6573
+ } catch (_unused) {
6574
+ return "";
6575
+ }
6576
+ });
6577
+
6553
6578
  var header$2 = "User";
6554
6579
 
6555
6580
  var UserList = function UserList() {
@@ -6609,6 +6634,8 @@ var UserList = function UserList() {
6609
6634
  }, t("role")), React__default.createElement("th", {
6610
6635
  className: "align-top"
6611
6636
  }, t("active_status")), React__default.createElement("th", {
6637
+ className: "align-top"
6638
+ }, t("created_time")), React__default.createElement("th", {
6612
6639
  className: "text-center"
6613
6640
  }, t("action")))), React__default.createElement("tbody", null, userList.map(function (record) {
6614
6641
  return React__default.createElement("tr", {
@@ -6629,6 +6656,8 @@ var UserList = function UserList() {
6629
6656
  }, !!record.roles && record.roles.join(", ")), React__default.createElement("td", {
6630
6657
  className: "align-middle"
6631
6658
  }, record.isActive ? t("active") : t("inactive")), React__default.createElement("td", {
6659
+ className: "align-middle"
6660
+ }, utcToLocalTime(record === null || record === void 0 ? void 0 : record.createTime, "yyyy-MM-DD HH:mm")), React__default.createElement("td", {
6632
6661
  className: "text-center align-middle"
6633
6662
  }, React__default.createElement(DeleteButtonIcon, {
6634
6663
  onClick: function onClick() {
@@ -7663,16 +7692,6 @@ var NotificationStatusSelector = function NotificationStatusSelector(_ref) {
7663
7692
 
7664
7693
  var NotificationStatusSelector$1 = React.memo(NotificationStatusSelector);
7665
7694
 
7666
- var utcToLocalTime = (function (time, FORMAT) {
7667
- if (time === DATE_MIN_VALUE) return "";
7668
-
7669
- try {
7670
- return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
7671
- } catch (_unused) {
7672
- return "";
7673
- }
7674
- });
7675
-
7676
7695
  var defaultFilters = {
7677
7696
  currentPage: 1,
7678
7697
  pageSize: 30,