mario-core 2.9.184-release → 2.9.187-release
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 +71 -43
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +71 -43
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -344,7 +344,7 @@ var note = "Note";
|
|
|
344
344
|
var no_schedule = "No Schedule";
|
|
345
345
|
var my_notes = "My Notes";
|
|
346
346
|
var private_note = "Private Note";
|
|
347
|
-
var
|
|
347
|
+
var goal_progress = "Goal Progress";
|
|
348
348
|
var view_all_goals = "View all goals";
|
|
349
349
|
var completed = "Completed";
|
|
350
350
|
var student_information = "Student Information";
|
|
@@ -698,6 +698,7 @@ var no_student_missing_weekly_check_in = "No student missing weekly check-in";
|
|
|
698
698
|
var start_1_1_conversation = "Start 1-1 Conversation";
|
|
699
699
|
var select_a_teacher_and_start_a_check_in = "Select a teacher and start a check-in";
|
|
700
700
|
var this_weeks_check_ins = "This week's check-ins";
|
|
701
|
+
var this_weeks_1_1s = "This week's 1-1s";
|
|
701
702
|
var this_student_does_nt_have_1_1_in_this_week = "This student doesn’t have 1-1 in this week";
|
|
702
703
|
var this_student_does_nt_have_check_in_in_this_week = "This student doesn’t have check-in in this week";
|
|
703
704
|
var no_last_or_requested_check_ins = "No last or requested Check-Ins";
|
|
@@ -1090,7 +1091,7 @@ var lang_us = {
|
|
|
1090
1091
|
no_schedule: no_schedule,
|
|
1091
1092
|
my_notes: my_notes,
|
|
1092
1093
|
private_note: private_note,
|
|
1093
|
-
|
|
1094
|
+
goal_progress: goal_progress,
|
|
1094
1095
|
view_all_goals: view_all_goals,
|
|
1095
1096
|
completed: completed,
|
|
1096
1097
|
student_information: student_information,
|
|
@@ -1450,7 +1451,7 @@ var lang_us = {
|
|
|
1450
1451
|
start_1_1_conversation: start_1_1_conversation,
|
|
1451
1452
|
select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in,
|
|
1452
1453
|
this_weeks_check_ins: this_weeks_check_ins,
|
|
1453
|
-
|
|
1454
|
+
this_weeks_1_1s: this_weeks_1_1s,
|
|
1454
1455
|
this_student_does_nt_have_1_1_in_this_week: this_student_does_nt_have_1_1_in_this_week,
|
|
1455
1456
|
this_student_does_nt_have_check_in_in_this_week: this_student_does_nt_have_check_in_in_this_week,
|
|
1456
1457
|
no_last_or_requested_check_ins: no_last_or_requested_check_ins,
|
|
@@ -1845,7 +1846,7 @@ var note$1 = "Note";
|
|
|
1845
1846
|
var no_schedule$1 = "No Schedule";
|
|
1846
1847
|
var my_notes$1 = "My Notes";
|
|
1847
1848
|
var private_note$1 = "Private Note";
|
|
1848
|
-
var
|
|
1849
|
+
var goal_progress$1 = "Goal Progress";
|
|
1849
1850
|
var view_all_goals$1 = "View all goals";
|
|
1850
1851
|
var completed$1 = "Completed";
|
|
1851
1852
|
var student_information$1 = "Student Information";
|
|
@@ -2199,6 +2200,7 @@ var no_student_missing_weekly_check_in$1 = "No student missing weekly check-in";
|
|
|
2199
2200
|
var start_1_1_conversation$1 = "Start 1-1 Conversation";
|
|
2200
2201
|
var select_a_teacher_and_start_a_check_in$1 = "Select a teacher and start a check-in";
|
|
2201
2202
|
var this_weeks_check_ins$1 = "This week's check-ins";
|
|
2203
|
+
var this_weeks_1_1s$1 = "This week's 1-1s";
|
|
2202
2204
|
var this_student_does_nt_have_1_1_in_this_week$1 = "This student doesn’t have 1-1 in this week";
|
|
2203
2205
|
var this_student_does_nt_have_check_in_in_this_week$1 = "This student doesn’t have check-in in this week";
|
|
2204
2206
|
var no_last_or_requested_check_ins$1 = "No last or requested Check-Ins";
|
|
@@ -2591,7 +2593,7 @@ var lang_uk = {
|
|
|
2591
2593
|
no_schedule: no_schedule$1,
|
|
2592
2594
|
my_notes: my_notes$1,
|
|
2593
2595
|
private_note: private_note$1,
|
|
2594
|
-
|
|
2596
|
+
goal_progress: goal_progress$1,
|
|
2595
2597
|
view_all_goals: view_all_goals$1,
|
|
2596
2598
|
completed: completed$1,
|
|
2597
2599
|
student_information: student_information$1,
|
|
@@ -2951,7 +2953,7 @@ var lang_uk = {
|
|
|
2951
2953
|
start_1_1_conversation: start_1_1_conversation$1,
|
|
2952
2954
|
select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in$1,
|
|
2953
2955
|
this_weeks_check_ins: this_weeks_check_ins$1,
|
|
2954
|
-
|
|
2956
|
+
this_weeks_1_1s: this_weeks_1_1s$1,
|
|
2955
2957
|
this_student_does_nt_have_1_1_in_this_week: this_student_does_nt_have_1_1_in_this_week$1,
|
|
2956
2958
|
this_student_does_nt_have_check_in_in_this_week: this_student_does_nt_have_check_in_in_this_week$1,
|
|
2957
2959
|
no_last_or_requested_check_ins: no_last_or_requested_check_ins$1,
|
|
@@ -3172,7 +3174,7 @@ var edit_semester$2 = "تعديل فصل دراسي ";
|
|
|
3172
3174
|
var create_semester$2 = "إنشاء فصل دراسي ";
|
|
3173
3175
|
var update_school_break_month$2 = "تحديث شهر العطلة المدرسية ";
|
|
3174
3176
|
var total_of_semesters$2 = "إجمالي الفصول الدراسية ";
|
|
3175
|
-
var
|
|
3177
|
+
var total_of_academicyear$2 = "إجمالي السنوات الأكاديمية ";
|
|
3176
3178
|
var semester$2 = "الفصل الدراسي";
|
|
3177
3179
|
var breaking_month$2 = "شهر العطلة المدرسية";
|
|
3178
3180
|
var change_breaking_month$2 = "تغيير شهر العطلة المدرسية";
|
|
@@ -3212,7 +3214,7 @@ var remove_assistant$2 = "حذف المساعد";
|
|
|
3212
3214
|
var switch_assistant$2 = "تغيير المساعد";
|
|
3213
3215
|
var select_assistant_change$2 = "اختيار تغيير المساعد";
|
|
3214
3216
|
var select_assistant$2 = "اختيار المساعد";
|
|
3215
|
-
var
|
|
3217
|
+
var welcome_email_resend$2 = "إعادة إرسال البريد الإلكتروني الترحيبي ";
|
|
3216
3218
|
var send_for_selected_users$2 = "إرسال إلى مستخدمين محددين ";
|
|
3217
3219
|
var user_name$2 = "اسم المستخدم";
|
|
3218
3220
|
var user_email$2 = "البريد الإلكتروني للمستخدم ";
|
|
@@ -3290,7 +3292,7 @@ var no_question$2 = "لا يوجد سؤال";
|
|
|
3290
3292
|
var select_question$2 = "اختر سؤال";
|
|
3291
3293
|
var select_student$2 = "اختر طالب";
|
|
3292
3294
|
var select_teacher$2 = "اختر معلم";
|
|
3293
|
-
var
|
|
3295
|
+
var do_you_want_to_talk_with$2 = "مع من تفضل إجراء التقييم؟";
|
|
3294
3296
|
var please_select_a_student$2 = "يرجى اختيار الطالب";
|
|
3295
3297
|
var please_select_a_teacher$2 = "يرجى اختيار المعلم";
|
|
3296
3298
|
var please_provide_a_valid_student$2 = "يرجى اختيار طالب موجود";
|
|
@@ -3308,14 +3310,14 @@ var time_must_be_between_8_am_and_6_pm$2 = "يجب أن يكون الوقت بي
|
|
|
3308
3310
|
var from$2 = "من";
|
|
3309
3311
|
var to$2 = "إلى";
|
|
3310
3312
|
var show_only_favorites$2 = "إظهار القائمة المفضلة فقط";
|
|
3311
|
-
var
|
|
3313
|
+
var show_only_conversation$2 = "إظهار محادثات جلسات التعلّم الفردية فقط";
|
|
3312
3314
|
var duration$2 = "المدة";
|
|
3313
3315
|
var favorite$2 = "المفضلة";
|
|
3314
3316
|
var open$2 = "فتح";
|
|
3315
3317
|
var no_data$2 = "لا يوجد بيانات";
|
|
3316
3318
|
var schedule_detail$2 = "تفاصيل الجدول";
|
|
3317
3319
|
var are_you_sure_you_want_to_cancel_this_schedule$2 = "هل أنت متأكد من رغبتك بحذف هذا الجدول؟";
|
|
3318
|
-
var
|
|
3320
|
+
var completed_1_to_1$2 = "محادثات جلسات التعلّم الفردية المكتملة";
|
|
3319
3321
|
var completed_check_in$2 = "عمليات التقييم المكتملة";
|
|
3320
3322
|
var done$2 = "تم";
|
|
3321
3323
|
var what_do_you_want_to_talk_about$2 = "ما الذي تريد التحدث عنه؟";
|
|
@@ -3331,7 +3333,7 @@ var how_much_did_you_learn_from_this_session$2 = "كم تعلمت من هذه ا
|
|
|
3331
3333
|
var what_is_the_most_important_thing_you_learned_from_this_session$2 = "ما هو أهم شيء تعلمته من هذه الجلسة؟";
|
|
3332
3334
|
var your_next_meeting$2 = "اجتماعك القادم";
|
|
3333
3335
|
var today_at$2 = "اليوم على الساعة ";
|
|
3334
|
-
var
|
|
3336
|
+
var choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later$2 = "اختر ما إذا كنت ترغب في بدء التقييم الآن أو حجز وقت مع معلمك أو مستشارك لاحقًا";
|
|
3335
3337
|
var edit$2 = "تعديل";
|
|
3336
3338
|
var phone_number$2 = "رقم الهاتف";
|
|
3337
3339
|
var second_phone_number$2 = "رقم الهاتف الثاني";
|
|
@@ -3342,7 +3344,7 @@ var note$2 = "ملحوظة";
|
|
|
3342
3344
|
var no_schedule$2 = "لا يوجد جدول";
|
|
3343
3345
|
var my_notes$2 = "ملحوظاتي";
|
|
3344
3346
|
var private_note$2 = "ملحوظة خاصة";
|
|
3345
|
-
var goal_progress = "مدى التقدم نحو تحقيق الهدف";
|
|
3347
|
+
var goal_progress$2 = "مدى التقدم نحو تحقيق الهدف";
|
|
3346
3348
|
var view_all_goals$2 = "عرض جميع الأهداف";
|
|
3347
3349
|
var completed$2 = "مكتمل";
|
|
3348
3350
|
var student_information$2 = "معلومات الطالب";
|
|
@@ -3671,13 +3673,13 @@ var start$2 = "ابدأ";
|
|
|
3671
3673
|
var teacher_reflection$2 = "تفكير المعلم";
|
|
3672
3674
|
var notes$2 = "ملحوظات";
|
|
3673
3675
|
var view_latest_check_ins$2 = "عرض آخر التقييمات";
|
|
3674
|
-
var
|
|
3676
|
+
var this_week_s$2 = "هذا الأسبوع";
|
|
3675
3677
|
var missing_weekly_check_in$2 = "تقييم أسبوعي مفقود";
|
|
3676
3678
|
var add_new_student$2 = "إضافة طالب جديد";
|
|
3677
3679
|
var start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after = "ابدأ التقييم وتمكّن من طلب محادثة مع معلمك بعد ذلك";
|
|
3678
3680
|
var start_check_in$2 = "ابدأ التقييم";
|
|
3679
3681
|
var no_events_today$2 = "لا يوجد أحداث اليوم";
|
|
3680
|
-
var
|
|
3682
|
+
var today_schedule$2 = "جدول اليوم";
|
|
3681
3683
|
var high_stressed$2 = "يعاني من إجهاد شديد";
|
|
3682
3684
|
var unsafe$2 = "لا يشعر بالأمان";
|
|
3683
3685
|
var average$2 = "المعدل";
|
|
@@ -3695,7 +3697,7 @@ var no_student_missing_weekly_check_in$2 = "لم يفوّت أي طالب الت
|
|
|
3695
3697
|
var start_1_1_conversation$2 = "ابدأ محادثة تعلّم فردية";
|
|
3696
3698
|
var select_a_teacher_and_start_a_check_in$2 = "اختر المعلم وابدأ التقييم";
|
|
3697
3699
|
var this_weeks_check_ins$2 = "تقييمات الأسبوع الحالي";
|
|
3698
|
-
var this_weeks_1_1s = "محادثات التعلّم الفردية للأسبوع الحالي";
|
|
3700
|
+
var this_weeks_1_1s$2 = "محادثات التعلّم الفردية للأسبوع الحالي";
|
|
3699
3701
|
var this_student_doesn_t_have_1_1_in_this_week = "لا يوجد لهذا الطالب محادثات تعلّم فردية للأسبوع الحالي";
|
|
3700
3702
|
var this_student_doesn_t_have_check_in_in_this_week = "لا يوجد لهذا الطالب عملية تقييم للأسبوع الحالي";
|
|
3701
3703
|
var no_last_or_requested_check_ins$2 = "لا يوجد تقييم جديد أو مطلوب";
|
|
@@ -3737,7 +3739,6 @@ var months$2 = "الأشهر";
|
|
|
3737
3739
|
var scheduled_sessions$2 = "الجلسات المجدولة";
|
|
3738
3740
|
var active_surveys$2 = "الاستبيانات الفعالة";
|
|
3739
3741
|
var view_responses$2 = "عرض الاستجابات";
|
|
3740
|
-
var download_csv$2 = "تنزيل ملف CSV";
|
|
3741
3742
|
var create_new_survey$2 = "إنشاء استبيان جديد";
|
|
3742
3743
|
var go_to_individual_survey_responses$2 = "الانتقال إلى استجابات الاستبيانات الفردية";
|
|
3743
3744
|
var you_can_only_select_number_kpis_at_a_time$2 = "يمكنك اختيار {{رقم}} فقط من مؤشرات الأداء في آنٍ واحد";
|
|
@@ -3901,7 +3902,7 @@ var lang_ar = {
|
|
|
3901
3902
|
create_semester: create_semester$2,
|
|
3902
3903
|
update_school_break_month: update_school_break_month$2,
|
|
3903
3904
|
total_of_semesters: total_of_semesters$2,
|
|
3904
|
-
|
|
3905
|
+
total_of_academicyear: total_of_academicyear$2,
|
|
3905
3906
|
semester: semester$2,
|
|
3906
3907
|
breaking_month: breaking_month$2,
|
|
3907
3908
|
change_breaking_month: change_breaking_month$2,
|
|
@@ -3941,7 +3942,7 @@ var lang_ar = {
|
|
|
3941
3942
|
switch_assistant: switch_assistant$2,
|
|
3942
3943
|
select_assistant_change: select_assistant_change$2,
|
|
3943
3944
|
select_assistant: select_assistant$2,
|
|
3944
|
-
|
|
3945
|
+
welcome_email_resend: welcome_email_resend$2,
|
|
3945
3946
|
send_for_selected_users: send_for_selected_users$2,
|
|
3946
3947
|
user_name: user_name$2,
|
|
3947
3948
|
user_email: user_email$2,
|
|
@@ -4021,7 +4022,7 @@ var lang_ar = {
|
|
|
4021
4022
|
select_question: select_question$2,
|
|
4022
4023
|
select_student: select_student$2,
|
|
4023
4024
|
select_teacher: select_teacher$2,
|
|
4024
|
-
|
|
4025
|
+
do_you_want_to_talk_with: do_you_want_to_talk_with$2,
|
|
4025
4026
|
please_select_a_student: please_select_a_student$2,
|
|
4026
4027
|
please_select_a_teacher: please_select_a_teacher$2,
|
|
4027
4028
|
please_provide_a_valid_student: please_provide_a_valid_student$2,
|
|
@@ -4039,14 +4040,14 @@ var lang_ar = {
|
|
|
4039
4040
|
from: from$2,
|
|
4040
4041
|
to: to$2,
|
|
4041
4042
|
show_only_favorites: show_only_favorites$2,
|
|
4042
|
-
|
|
4043
|
+
show_only_conversation: show_only_conversation$2,
|
|
4043
4044
|
duration: duration$2,
|
|
4044
4045
|
favorite: favorite$2,
|
|
4045
4046
|
open: open$2,
|
|
4046
4047
|
no_data: no_data$2,
|
|
4047
4048
|
schedule_detail: schedule_detail$2,
|
|
4048
4049
|
are_you_sure_you_want_to_cancel_this_schedule: are_you_sure_you_want_to_cancel_this_schedule$2,
|
|
4049
|
-
|
|
4050
|
+
completed_1_to_1: completed_1_to_1$2,
|
|
4050
4051
|
completed_check_in: completed_check_in$2,
|
|
4051
4052
|
done: done$2,
|
|
4052
4053
|
what_do_you_want_to_talk_about: what_do_you_want_to_talk_about$2,
|
|
@@ -4062,7 +4063,7 @@ var lang_ar = {
|
|
|
4062
4063
|
what_is_the_most_important_thing_you_learned_from_this_session: what_is_the_most_important_thing_you_learned_from_this_session$2,
|
|
4063
4064
|
your_next_meeting: your_next_meeting$2,
|
|
4064
4065
|
today_at: today_at$2,
|
|
4065
|
-
|
|
4066
|
+
choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later: choose_if_you_want_to_do_it_now_or_if_you_would_like_to_book_for_later$2,
|
|
4066
4067
|
edit: edit$2,
|
|
4067
4068
|
phone_number: phone_number$2,
|
|
4068
4069
|
second_phone_number: second_phone_number$2,
|
|
@@ -4073,7 +4074,7 @@ var lang_ar = {
|
|
|
4073
4074
|
no_schedule: no_schedule$2,
|
|
4074
4075
|
my_notes: my_notes$2,
|
|
4075
4076
|
private_note: private_note$2,
|
|
4076
|
-
goal_progress: goal_progress,
|
|
4077
|
+
goal_progress: goal_progress$2,
|
|
4077
4078
|
view_all_goals: view_all_goals$2,
|
|
4078
4079
|
completed: completed$2,
|
|
4079
4080
|
student_information: student_information$2,
|
|
@@ -4404,14 +4405,14 @@ var lang_ar = {
|
|
|
4404
4405
|
teacher_reflection: teacher_reflection$2,
|
|
4405
4406
|
notes: notes$2,
|
|
4406
4407
|
view_latest_check_ins: view_latest_check_ins$2,
|
|
4407
|
-
"
|
|
4408
|
-
|
|
4408
|
+
"1-1s": "جلسات التعلّم الفردية",
|
|
4409
|
+
this_week_s: this_week_s$2,
|
|
4409
4410
|
missing_weekly_check_in: missing_weekly_check_in$2,
|
|
4410
4411
|
add_new_student: add_new_student$2,
|
|
4411
4412
|
start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after: start_your_check_in_and_you_can_also_request_a_conversation_with_your_teacher_after,
|
|
4412
4413
|
start_check_in: start_check_in$2,
|
|
4413
4414
|
no_events_today: no_events_today$2,
|
|
4414
|
-
|
|
4415
|
+
today_schedule: today_schedule$2,
|
|
4415
4416
|
high_stressed: high_stressed$2,
|
|
4416
4417
|
unsafe: unsafe$2,
|
|
4417
4418
|
average: average$2,
|
|
@@ -4429,7 +4430,7 @@ var lang_ar = {
|
|
|
4429
4430
|
start_1_1_conversation: start_1_1_conversation$2,
|
|
4430
4431
|
select_a_teacher_and_start_a_check_in: select_a_teacher_and_start_a_check_in$2,
|
|
4431
4432
|
this_weeks_check_ins: this_weeks_check_ins$2,
|
|
4432
|
-
this_weeks_1_1s: this_weeks_1_1s,
|
|
4433
|
+
this_weeks_1_1s: this_weeks_1_1s$2,
|
|
4433
4434
|
this_student_doesn_t_have_1_1_in_this_week: this_student_doesn_t_have_1_1_in_this_week,
|
|
4434
4435
|
this_student_doesn_t_have_check_in_in_this_week: this_student_doesn_t_have_check_in_in_this_week,
|
|
4435
4436
|
no_last_or_requested_check_ins: no_last_or_requested_check_ins$2,
|
|
@@ -4473,7 +4474,7 @@ var lang_ar = {
|
|
|
4473
4474
|
scheduled_sessions: scheduled_sessions$2,
|
|
4474
4475
|
active_surveys: active_surveys$2,
|
|
4475
4476
|
view_responses: view_responses$2,
|
|
4476
|
-
|
|
4477
|
+
"download.csv": "تنزيل ملف CSV",
|
|
4477
4478
|
create_new_survey: create_new_survey$2,
|
|
4478
4479
|
go_to_individual_survey_responses: go_to_individual_survey_responses$2,
|
|
4479
4480
|
you_can_only_select_number_kpis_at_a_time: you_can_only_select_number_kpis_at_a_time$2,
|
|
@@ -23296,9 +23297,11 @@ var useCreatePassword = function useCreatePassword() {
|
|
|
23296
23297
|
}));
|
|
23297
23298
|
});
|
|
23298
23299
|
}, function (err) {
|
|
23300
|
+
var _err$response, _err$response$data;
|
|
23301
|
+
|
|
23299
23302
|
dispatch(setAlert({
|
|
23300
23303
|
type: "danger",
|
|
23301
|
-
message: err.message
|
|
23304
|
+
message: ((_err$response = err.response) === null || _err$response === void 0 ? void 0 : (_err$response$data = _err$response.data) === null || _err$response$data === void 0 ? void 0 : _err$response$data.title) || err.message || "Error occured"
|
|
23302
23305
|
}));
|
|
23303
23306
|
localStorage.removeItem(ACCESS_TOKEN);
|
|
23304
23307
|
});
|
|
@@ -24282,8 +24285,15 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
24282
24285
|
}, [user, language]);
|
|
24283
24286
|
var authNavigations = React.useMemo(function () {
|
|
24284
24287
|
return navigation.map(function (item) {
|
|
24288
|
+
var _item$_children, _item$_children2;
|
|
24289
|
+
|
|
24285
24290
|
return _extends({}, item, {
|
|
24286
|
-
name: t(item.name)
|
|
24291
|
+
name: t(item.name),
|
|
24292
|
+
_children: item !== null && item !== void 0 && (_item$_children = item._children) !== null && _item$_children !== void 0 && _item$_children.length ? item === null || item === void 0 ? void 0 : (_item$_children2 = item._children) === null || _item$_children2 === void 0 ? void 0 : _item$_children2.map(function (x) {
|
|
24293
|
+
return _extends({}, x, {
|
|
24294
|
+
name: t(x.name)
|
|
24295
|
+
});
|
|
24296
|
+
}) : undefined
|
|
24287
24297
|
});
|
|
24288
24298
|
}).filter(function (nav) {
|
|
24289
24299
|
return canAccess(user === null || user === void 0 ? void 0 : user.roles, nav.roles);
|
|
@@ -24668,7 +24678,7 @@ var useEmailTemplateList = function useEmailTemplateList() {
|
|
|
24668
24678
|
};
|
|
24669
24679
|
};
|
|
24670
24680
|
|
|
24671
|
-
var header = "
|
|
24681
|
+
var header = "email_template";
|
|
24672
24682
|
|
|
24673
24683
|
var EmailTemplateList = function EmailTemplateList() {
|
|
24674
24684
|
var _useEmailTemplateList = useEmailTemplateList(),
|
|
@@ -24680,6 +24690,9 @@ var EmailTemplateList = function EmailTemplateList() {
|
|
|
24680
24690
|
goToDetail = _useEmailTemplateList.goToDetail,
|
|
24681
24691
|
mailCategoryList = _useEmailTemplateList.mailCategoryList;
|
|
24682
24692
|
|
|
24693
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
24694
|
+
t = _useTranslation.t;
|
|
24695
|
+
|
|
24683
24696
|
var onRemove = function onRemove(id) {
|
|
24684
24697
|
removeData(id);
|
|
24685
24698
|
};
|
|
@@ -24688,7 +24701,7 @@ var EmailTemplateList = function EmailTemplateList() {
|
|
|
24688
24701
|
className: "fadeIn animated"
|
|
24689
24702
|
}, React__default.createElement("h5", {
|
|
24690
24703
|
className: "mb-2"
|
|
24691
|
-
}, header), React__default.createElement(reactstrap.Row, {
|
|
24704
|
+
}, t(header)), React__default.createElement(reactstrap.Row, {
|
|
24692
24705
|
className: "my-2"
|
|
24693
24706
|
}, React__default.createElement(reactstrap.Col, {
|
|
24694
24707
|
md: 4
|
|
@@ -24793,6 +24806,10 @@ var DetailActionButtons = function DetailActionButtons(_ref) {
|
|
|
24793
24806
|
var confirmText = _ref.confirmText,
|
|
24794
24807
|
onConfirm = _ref.onConfirm,
|
|
24795
24808
|
onCancel = _ref.onCancel;
|
|
24809
|
+
|
|
24810
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
24811
|
+
t = _useTranslation.t;
|
|
24812
|
+
|
|
24796
24813
|
return React__default.createElement(reactstrap.Row, {
|
|
24797
24814
|
form: true,
|
|
24798
24815
|
style: style$1
|
|
@@ -24807,7 +24824,7 @@ var DetailActionButtons = function DetailActionButtons(_ref) {
|
|
|
24807
24824
|
size: "sm",
|
|
24808
24825
|
className: "px-4 mr-2 ml-2",
|
|
24809
24826
|
onClick: onCancel
|
|
24810
|
-
}, "
|
|
24827
|
+
}, t("cancel"))));
|
|
24811
24828
|
};
|
|
24812
24829
|
|
|
24813
24830
|
var AddButtonIcon = function AddButtonIcon(_ref) {
|
|
@@ -25585,6 +25602,9 @@ var CommonModal = function CommonModal(props, ref) {
|
|
|
25585
25602
|
|
|
25586
25603
|
var dispatch = reactRedux.useDispatch();
|
|
25587
25604
|
|
|
25605
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
25606
|
+
t = _useTranslation.t;
|
|
25607
|
+
|
|
25588
25608
|
var showEditedWarningModal = function showEditedWarningModal(cb) {
|
|
25589
25609
|
try {
|
|
25590
25610
|
dispatch(setModal({
|
|
@@ -25653,9 +25673,9 @@ var CommonModal = function CommonModal(props, ref) {
|
|
|
25653
25673
|
}, onConfirm && React__default.createElement(reactstrap.Button, {
|
|
25654
25674
|
color: "primary",
|
|
25655
25675
|
onClick: onConfirm
|
|
25656
|
-
}, confirmText || "
|
|
25676
|
+
}, confirmText || t("confirm")), React__default.createElement(reactstrap.Button, {
|
|
25657
25677
|
onClick: cancel
|
|
25658
|
-
}, cancelText || "
|
|
25678
|
+
}, cancelText || t("cancel"))));
|
|
25659
25679
|
};
|
|
25660
25680
|
|
|
25661
25681
|
var CommonModal$1 = React.forwardRef(CommonModal);
|
|
@@ -27763,7 +27783,7 @@ var buttonTextStyle$2 = {
|
|
|
27763
27783
|
var buttonStyle$2 = {
|
|
27764
27784
|
height: 38
|
|
27765
27785
|
};
|
|
27766
|
-
var header$2 = "
|
|
27786
|
+
var header$2 = "user";
|
|
27767
27787
|
|
|
27768
27788
|
var UserList = function UserList() {
|
|
27769
27789
|
var _useUserList = useUserList(),
|
|
@@ -28644,7 +28664,7 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
28644
28664
|
onClick: function onClick() {
|
|
28645
28665
|
return handelSort(UserOrder.Name);
|
|
28646
28666
|
}
|
|
28647
|
-
}, "
|
|
28667
|
+
}, t("student_name"), filters.sortBy === UserOrder.Name && React__default.createElement(React__default.Fragment, null, filters.orderBy === "DESC" ? React__default.createElement(ai.AiOutlineSortDescending, {
|
|
28648
28668
|
className: "ml-1"
|
|
28649
28669
|
}) : React__default.createElement(ai.AiOutlineSortAscending, {
|
|
28650
28670
|
className: "ml-1"
|
|
@@ -28653,7 +28673,7 @@ var AssignStudentList = function AssignStudentList() {
|
|
|
28653
28673
|
onClick: function onClick() {
|
|
28654
28674
|
return handelSort(UserOrder.Email);
|
|
28655
28675
|
}
|
|
28656
|
-
}, "
|
|
28676
|
+
}, t("student_email"), filters.sortBy === UserOrder.Email && React__default.createElement(React__default.Fragment, null, filters.orderBy === "DESC" ? React__default.createElement(ai.AiOutlineSortDescending, {
|
|
28657
28677
|
className: "ml-1"
|
|
28658
28678
|
}) : React__default.createElement(ai.AiOutlineSortAscending, {
|
|
28659
28679
|
className: "ml-1"
|
|
@@ -29736,6 +29756,10 @@ var NotificationModal = function NotificationModal() {
|
|
|
29736
29756
|
var modal = reactRedux.useSelector(function (state) {
|
|
29737
29757
|
return state.common.modal;
|
|
29738
29758
|
});
|
|
29759
|
+
|
|
29760
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
29761
|
+
t = _useTranslation.t;
|
|
29762
|
+
|
|
29739
29763
|
var isOpen = modal.isOpen,
|
|
29740
29764
|
type = modal.type,
|
|
29741
29765
|
message = modal.message,
|
|
@@ -29765,10 +29789,10 @@ var NotificationModal = function NotificationModal() {
|
|
|
29765
29789
|
}, modalInfo(type).header), React__default.createElement(reactstrap.ModalBody, null, message), React__default.createElement(reactstrap.ModalFooter, null, onConfirm && React__default.createElement(reactstrap.Button, {
|
|
29766
29790
|
color: type,
|
|
29767
29791
|
onClick: confirm
|
|
29768
|
-
}, "
|
|
29792
|
+
}, t("confirm")), React__default.createElement(reactstrap.Button, {
|
|
29769
29793
|
color: "secondary",
|
|
29770
29794
|
onClick: toggle
|
|
29771
|
-
}, "
|
|
29795
|
+
}, t("cancel"))));
|
|
29772
29796
|
};
|
|
29773
29797
|
|
|
29774
29798
|
var headerStyle = {
|
|
@@ -31393,18 +31417,22 @@ var MediaDetail = function MediaDetail(_ref) {
|
|
|
31393
31417
|
|
|
31394
31418
|
var MediaDetail$1 = React__default.memo(MediaDetail);
|
|
31395
31419
|
|
|
31396
|
-
var header$4 = "
|
|
31420
|
+
var header$4 = "media_gallery";
|
|
31397
31421
|
|
|
31398
31422
|
var GalleryList = function GalleryList(_ref) {
|
|
31399
31423
|
var isLibrary = _ref.isLibrary;
|
|
31400
31424
|
var targetMedia = reactRedux.useSelector(function (state) {
|
|
31401
31425
|
return state.gallery.targetMedia;
|
|
31402
31426
|
});
|
|
31427
|
+
|
|
31428
|
+
var _useTranslation = reactI18next.useTranslation(),
|
|
31429
|
+
t = _useTranslation.t;
|
|
31430
|
+
|
|
31403
31431
|
return React__default.createElement("div", {
|
|
31404
31432
|
className: "fadeIn animated"
|
|
31405
31433
|
}, !isLibrary && React__default.createElement("h5", {
|
|
31406
31434
|
className: "mb-2"
|
|
31407
|
-
}, header$4), React__default.createElement(reactstrap.Row, {
|
|
31435
|
+
}, t(header$4)), React__default.createElement(reactstrap.Row, {
|
|
31408
31436
|
className: "mb-2"
|
|
31409
31437
|
}, React__default.createElement(reactstrap.Col, {
|
|
31410
31438
|
md: 8
|