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 +16 -10
- package/dist/index.js +30 -11
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +30 -11
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -23,6 +23,7 @@ import { FaPlus, FaTrashAlt, FaRegEdit, FaArrowLeft, FaDownload, FaTrash, FaEdit
|
|
|
23
23
|
import { format } from 'date-fns';
|
|
24
24
|
import { Editor } from '@tinymce/tinymce-react';
|
|
25
25
|
import differenceInCalendarYears from 'date-fns/differenceInCalendarYears';
|
|
26
|
+
import moment from 'moment';
|
|
26
27
|
import DatePicker from 'react-datepicker';
|
|
27
28
|
import toDate from 'date-fns/toDate';
|
|
28
29
|
import { MdAttachFile } from 'react-icons/md';
|
|
@@ -30,7 +31,6 @@ import Creatable from 'react-select/creatable';
|
|
|
30
31
|
import ReactNotification$1 from 'react-notifications-component';
|
|
31
32
|
import 'react-notifications-component/dist/theme.css';
|
|
32
33
|
import { AiOutlineEye } from 'react-icons/ai';
|
|
33
|
-
import moment from 'moment';
|
|
34
34
|
|
|
35
35
|
var dashboard = "Dashboard";
|
|
36
36
|
var user = "User";
|
|
@@ -201,7 +201,10 @@ var user_name = "User Name";
|
|
|
201
201
|
var user_email = "User Email";
|
|
202
202
|
var level = "Level";
|
|
203
203
|
var use_for = "Use for";
|
|
204
|
+
var admin_training = "Admin training";
|
|
204
205
|
var teacher_training = "Teacher training";
|
|
206
|
+
var created_time = "Create time";
|
|
207
|
+
var total_reflections = "Total reflections:";
|
|
205
208
|
var student_training = "Student training";
|
|
206
209
|
var create_destination = "Create Destination";
|
|
207
210
|
var total_of_designation = "Total of Designation";
|
|
@@ -677,7 +680,10 @@ var lang_us = {
|
|
|
677
680
|
user_email: user_email,
|
|
678
681
|
level: level,
|
|
679
682
|
use_for: use_for,
|
|
683
|
+
admin_training: admin_training,
|
|
680
684
|
teacher_training: teacher_training,
|
|
685
|
+
created_time: created_time,
|
|
686
|
+
total_reflections: total_reflections,
|
|
681
687
|
student_training: student_training,
|
|
682
688
|
create_destination: create_destination,
|
|
683
689
|
total_of_designation: total_of_designation,
|
|
@@ -1157,7 +1163,10 @@ var user_name$1 = "User Name";
|
|
|
1157
1163
|
var user_email$1 = "User Email";
|
|
1158
1164
|
var level$1 = "Level";
|
|
1159
1165
|
var use_for$1 = "Use for";
|
|
1166
|
+
var admin_training$1 = "Admin training";
|
|
1160
1167
|
var teacher_training$1 = "Teacher training";
|
|
1168
|
+
var created_time$1 = "Create time";
|
|
1169
|
+
var total_reflections$1 = "Total reflections:";
|
|
1161
1170
|
var student_training$1 = "Student training";
|
|
1162
1171
|
var create_destination$1 = "Create Destination";
|
|
1163
1172
|
var total_of_designation$1 = "Total of Designation";
|
|
@@ -1633,7 +1642,10 @@ var lang_uk = {
|
|
|
1633
1642
|
user_email: user_email$1,
|
|
1634
1643
|
level: level$1,
|
|
1635
1644
|
use_for: use_for$1,
|
|
1645
|
+
admin_training: admin_training$1,
|
|
1636
1646
|
teacher_training: teacher_training$1,
|
|
1647
|
+
created_time: created_time$1,
|
|
1648
|
+
total_reflections: total_reflections$1,
|
|
1637
1649
|
student_training: student_training$1,
|
|
1638
1650
|
create_destination: create_destination$1,
|
|
1639
1651
|
total_of_designation: total_of_designation$1,
|
|
@@ -4529,6 +4541,9 @@ var defaultparams = [{
|
|
|
4529
4541
|
}, {
|
|
4530
4542
|
label: "$MESSAGE$",
|
|
4531
4543
|
meaning: "Message"
|
|
4544
|
+
}, {
|
|
4545
|
+
label: "$DOMAIN$",
|
|
4546
|
+
meaning: "Domain"
|
|
4532
4547
|
}];
|
|
4533
4548
|
|
|
4534
4549
|
var MailSubject = function MailSubject(_ref) {
|
|
@@ -6548,6 +6563,16 @@ SearchBoxContainer.defaultProps = {
|
|
|
6548
6563
|
placeholder: "Type something to search"
|
|
6549
6564
|
};
|
|
6550
6565
|
|
|
6566
|
+
var utcToLocalTime = (function (time, FORMAT) {
|
|
6567
|
+
if (time === DATE_MIN_VALUE) return "";
|
|
6568
|
+
|
|
6569
|
+
try {
|
|
6570
|
+
return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
|
|
6571
|
+
} catch (_unused) {
|
|
6572
|
+
return "";
|
|
6573
|
+
}
|
|
6574
|
+
});
|
|
6575
|
+
|
|
6551
6576
|
var header$2 = "User";
|
|
6552
6577
|
|
|
6553
6578
|
var UserList = function UserList() {
|
|
@@ -6607,6 +6632,8 @@ var UserList = function UserList() {
|
|
|
6607
6632
|
}, t("role")), React.createElement("th", {
|
|
6608
6633
|
className: "align-top"
|
|
6609
6634
|
}, t("active_status")), React.createElement("th", {
|
|
6635
|
+
className: "align-top"
|
|
6636
|
+
}, t("created_time")), React.createElement("th", {
|
|
6610
6637
|
className: "text-center"
|
|
6611
6638
|
}, t("action")))), React.createElement("tbody", null, userList.map(function (record) {
|
|
6612
6639
|
return React.createElement("tr", {
|
|
@@ -6627,6 +6654,8 @@ var UserList = function UserList() {
|
|
|
6627
6654
|
}, !!record.roles && record.roles.join(", ")), React.createElement("td", {
|
|
6628
6655
|
className: "align-middle"
|
|
6629
6656
|
}, record.isActive ? t("active") : t("inactive")), React.createElement("td", {
|
|
6657
|
+
className: "align-middle"
|
|
6658
|
+
}, utcToLocalTime(record === null || record === void 0 ? void 0 : record.createTime, "yyyy-MM-DD HH:mm")), React.createElement("td", {
|
|
6630
6659
|
className: "text-center align-middle"
|
|
6631
6660
|
}, React.createElement(DeleteButtonIcon, {
|
|
6632
6661
|
onClick: function onClick() {
|
|
@@ -7661,16 +7690,6 @@ var NotificationStatusSelector = function NotificationStatusSelector(_ref) {
|
|
|
7661
7690
|
|
|
7662
7691
|
var NotificationStatusSelector$1 = memo(NotificationStatusSelector);
|
|
7663
7692
|
|
|
7664
|
-
var utcToLocalTime = (function (time, FORMAT) {
|
|
7665
|
-
if (time === DATE_MIN_VALUE) return "";
|
|
7666
|
-
|
|
7667
|
-
try {
|
|
7668
|
-
return moment.utc(time).local().format(FORMAT || "yyyy-MM-DD");
|
|
7669
|
-
} catch (_unused) {
|
|
7670
|
-
return "";
|
|
7671
|
-
}
|
|
7672
|
-
});
|
|
7673
|
-
|
|
7674
7693
|
var defaultFilters = {
|
|
7675
7694
|
currentPage: 1,
|
|
7676
7695
|
pageSize: 30,
|