mario-core 2.9.224-release → 2.9.227-layout

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.
@@ -1844,6 +1844,11 @@ var my_learning_progress = "My Learning Progress";
1844
1844
  var responses_and_response_rates_per_question = "Responses and Response Rates Per Question";
1845
1845
  var responses_comparisons = "Responses Comparisons";
1846
1846
  var dropdown_and_verbal_questions_responses = "Dropdown and Verbal Questions Responses";
1847
+ var mario_tools = "MARIO TOOLS";
1848
+ var customize = "Customize";
1849
+ var techical_settings = "Technical Settings";
1850
+ var data_import_export = "Data Import/Export";
1851
+ var question_text = "Question text";
1847
1852
  var lang_us = {
1848
1853
  dashboard: dashboard,
1849
1854
  user: user,
@@ -3671,7 +3676,12 @@ var lang_us = {
3671
3676
  "this_is_a_brand_new_beta_version_for_your_personal_learning_journey._you_can_think_about_what_you_want_like_to_do_and_how_you_like_to_learn._we_advise_you_to_do_it_gradually_per_section_and_visit_it_once_a_month.": "This is a brand new beta version for your personal learning journey. You can think about what you want like to do and how you like to learn. We advise you to do it gradually per section and visit it once a month.",
3672
3677
  responses_and_response_rates_per_question: responses_and_response_rates_per_question,
3673
3678
  responses_comparisons: responses_comparisons,
3674
- dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses
3679
+ dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses,
3680
+ mario_tools: mario_tools,
3681
+ customize: customize,
3682
+ techical_settings: techical_settings,
3683
+ data_import_export: data_import_export,
3684
+ question_text: question_text
3675
3685
  };
3676
3686
 
3677
3687
  var dashboard$1 = "Dashboard";
@@ -3752,7 +3762,7 @@ var edit_question$1 = "Edit question";
3752
3762
  var question_type$1 = "Question Type";
3753
3763
  var category$1 = "Category";
3754
3764
  var sub_category$1 = "Sub Category";
3755
- var question_text = "Question text";
3765
+ var question_text$1 = "Question text";
3756
3766
  var text$1 = "Text";
3757
3767
  var is_default_question_for_one_to_one$1 = "Is default question for one-to-one";
3758
3768
  var default_question_for_students_or_teachers$1 = "Default question for students or teachers";
@@ -5482,6 +5492,10 @@ var print_my_accommodations$1 = "Print my accommodations";
5482
5492
  var my_learning_progress$1 = "My Learning Progress";
5483
5493
  var responses_comparisons$1 = "Responses Comparisons";
5484
5494
  var dropdown_and_verbal_questions_responses$1 = "Dropdown and Verbal Questions Responses";
5495
+ var mario_tools$1 = "MARIO TOOLS";
5496
+ var customize$1 = "Customize";
5497
+ var techical_settings$1 = "Technical Settings";
5498
+ var data_import_export$1 = "Data Import/Export";
5485
5499
  var lang_uk = {
5486
5500
  dashboard: dashboard$1,
5487
5501
  user: user$1,
@@ -5562,7 +5576,7 @@ var lang_uk = {
5562
5576
  question_type: question_type$1,
5563
5577
  category: category$1,
5564
5578
  sub_category: sub_category$1,
5565
- question_text: question_text,
5579
+ question_text: question_text$1,
5566
5580
  text: text$1,
5567
5581
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$1,
5568
5582
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$1,
@@ -7310,7 +7324,11 @@ var lang_uk = {
7310
7324
  "here_your_teacher_can_edit_or_add_your_accommodation_details._please_note_that_you_can_view_the_information,_but_for_any_edits_or_additions,_kindly_contact_your_teacher_directly.": "Here your teacher can edit or add your accommodation details. Please note that you can view the information, but for any edits or additions, kindly contact your teacher directly.",
7311
7325
  "this_is_a_brand_new_beta_version_for_your_personal_learning_journey._you_can_think_about_what_you_want_like_to_do_and_how_you_like_to_learn._we_advise_you_to_do_it_gradually_per_section_and_visit_it_once_a_month.": "This is a brand new beta version for your personal learning journey. You can think about what you want like to do and how you like to learn. We advise you to do it gradually per section and visit it once a month.",
7312
7326
  responses_comparisons: responses_comparisons$1,
7313
- dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$1
7327
+ dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$1,
7328
+ mario_tools: mario_tools$1,
7329
+ customize: customize$1,
7330
+ techical_settings: techical_settings$1,
7331
+ data_import_export: data_import_export$1
7314
7332
  };
7315
7333
 
7316
7334
  var dashboard$2 = "لوحة المعلومات";
@@ -7391,7 +7409,7 @@ var edit_question$2 = "تعديل سؤال";
7391
7409
  var question_type$2 = "نوع السؤال";
7392
7410
  var category$2 = "الفئة";
7393
7411
  var sub_category$2 = "الفئة الفرعية";
7394
- var question_text$1 = "نص السؤال";
7412
+ var question_text$2 = "نص السؤال";
7395
7413
  var text$2 = "النص";
7396
7414
  var is_default_question_for_one_to_one$2 = "سؤال افتراضي لجلسات التعلّم الفردية";
7397
7415
  var default_question_for_students_or_teachers$2 = "سؤال افتراضي للطلبة أو المعلمين ";
@@ -9113,6 +9131,10 @@ var my_learning_progress$2 = "My Learning Progress";
9113
9131
  var responses_and_response_rates_per_question$2 = "الردود ومعدلات الاستجابة لكل سؤال";
9114
9132
  var responses_comparisons$2 = "مقارنات الردود";
9115
9133
  var dropdown_and_verbal_questions_responses$2 = "القائمة المنسدلة والأسئلة اللفظية الردود";
9134
+ var mario_tools$2 = "أدوات ماريو";
9135
+ var customize$2 = "يعدل أو يكيف";
9136
+ var techical_settings$2 = "الإعدادات الفنية";
9137
+ var data_import_export$2 = "استيراد/تصدير البيانات";
9116
9138
  var lang_ar = {
9117
9139
  dashboard: dashboard$2,
9118
9140
  user: user$2,
@@ -9193,7 +9215,7 @@ var lang_ar = {
9193
9215
  question_type: question_type$2,
9194
9216
  category: category$2,
9195
9217
  sub_category: sub_category$2,
9196
- question_text: question_text$1,
9218
+ question_text: question_text$2,
9197
9219
  text: text$2,
9198
9220
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$2,
9199
9221
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$2,
@@ -10930,7 +10952,11 @@ var lang_ar = {
10930
10952
  "this_is_a_brand_new_beta_version_for_your_personal_learning_journey._you_can_think_about_what_you_want_like_to_do_and_how_you_like_to_learn._we_advise_you_to_do_it_gradually_per_section_and_visit_it_once_a_month.": "This is a brand new beta version for your personal learning journey. You can think about what you want like to do and how you like to learn. We advise you to do it gradually per section and visit it once a month.",
10931
10953
  responses_and_response_rates_per_question: responses_and_response_rates_per_question$2,
10932
10954
  responses_comparisons: responses_comparisons$2,
10933
- dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$2
10955
+ dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$2,
10956
+ mario_tools: mario_tools$2,
10957
+ customize: customize$2,
10958
+ techical_settings: techical_settings$2,
10959
+ data_import_export: data_import_export$2
10934
10960
  };
10935
10961
 
10936
10962
  var dashboard$3 = "Panel de Control";
@@ -11011,7 +11037,7 @@ var edit_question$3 = "Editar pregunta";
11011
11037
  var question_type$3 = "Tipo de Pregunta";
11012
11038
  var category$3 = "Categoría";
11013
11039
  var sub_category$3 = "Subcategoría";
11014
- var question_text$2 = "Texto de la pregunta";
11040
+ var question_text$3 = "Texto de la pregunta";
11015
11041
  var text$3 = "Texto";
11016
11042
  var is_default_question_for_one_to_one$3 = "Es la pregunta predeterminada para uno a uno";
11017
11043
  var default_question_for_students_or_teachers$3 = "Pregunta predeterminada para estudiantes o profesores";
@@ -11664,6 +11690,10 @@ var my_learning_plan_beta$3 = "My Learning Plan (Beta)";
11664
11690
  var responses_and_response_rates_per_question$3 = "Respuestas y tasas de respuesta por pregunta";
11665
11691
  var responses_comparisons$3 = "Comparaciones de respuestas";
11666
11692
  var dropdown_and_verbal_questions_responses$3 = "Preguntas desplegables y verbales Respuestas";
11693
+ var mario_tools$3 = "HERRAMIENTAS DE MARIO";
11694
+ var customize$3 = "Personalizar";
11695
+ var techical_settings$3 = "Configuraciones técnicas";
11696
+ var data_import_export$3 = "Importación/exportación de datos";
11667
11697
  var lang_es = {
11668
11698
  dashboard: dashboard$3,
11669
11699
  user: user$3,
@@ -11744,7 +11774,7 @@ var lang_es = {
11744
11774
  question_type: question_type$3,
11745
11775
  category: category$3,
11746
11776
  sub_category: sub_category$3,
11747
- question_text: question_text$2,
11777
+ question_text: question_text$3,
11748
11778
  text: text$3,
11749
11779
  is_default_question_for_one_to_one: is_default_question_for_one_to_one$3,
11750
11780
  default_question_for_students_or_teachers: default_question_for_students_or_teachers$3,
@@ -12405,7 +12435,11 @@ var lang_es = {
12405
12435
  "this_is_a_brand_new_beta_version_for_your_personal_learning_journey._you_can_think_about_what_you_want_like_to_do_and_how_you_like_to_learn._we_advise_you_to_do_it_gradually_per_section_and_visit_it_once_a_month.": "This is a brand new beta version for your personal learning journey. You can think about what you want like to do and how you like to learn. We advise you to do it gradually per section and visit it once a month.",
12406
12436
  responses_and_response_rates_per_question: responses_and_response_rates_per_question$3,
12407
12437
  responses_comparisons: responses_comparisons$3,
12408
- dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$3
12438
+ dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$3,
12439
+ mario_tools: mario_tools$3,
12440
+ customize: customize$3,
12441
+ techical_settings: techical_settings$3,
12442
+ data_import_export: data_import_export$3
12409
12443
  };
12410
12444
 
12411
12445
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
@@ -30133,7 +30167,7 @@ var defaultInfo = {
30133
30167
  };
30134
30168
  var HOMEPAGE_TEACHER = "/home";
30135
30169
  var HOMEPAGE_STUDENT = "/home";
30136
- var HOMEPAGE_ADMIN = "/admin/dashboard";
30170
+ var HOMEPAGE_ADMIN = "/admin/home";
30137
30171
  var HOMEPAGE_PARENT = "/parent";
30138
30172
  var HOMEPAGE_DISTRICT = "/admin/schools";
30139
30173
  var HOMEPAGE_EDU_TEACHER = "/list-student";
@@ -32122,12 +32156,13 @@ var TheContent = function TheContent(_ref) {
32122
32156
  var routes = _ref.routes;
32123
32157
  var location = useLocation();
32124
32158
  var pathname = location.pathname;
32125
- var dashboard = pathname === "/" ? "box-container" : "";
32159
+ var dashboard = !pathname.includes("/admin") ? "box-container" : "";
32160
+ var padding = pathname.includes("/admin") ? "pt-3" : "";
32126
32161
  return React.createElement("main", {
32127
32162
  className: "c-main " + dashboard
32128
32163
  }, React.createElement(CContainer, {
32129
32164
  fluid: true,
32130
- className: "h-100"
32165
+ className: "h-100 " + padding
32131
32166
  }, React.createElement(Suspense, {
32132
32167
  fallback: loading
32133
32168
  }, React.createElement(Switch, null, routes.map(function (route, idx) {
@@ -32228,7 +32263,7 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
32228
32263
  if (roles.includes("Parent")) {
32229
32264
  history.push("/parent");
32230
32265
  } else if (roles.includes("Admin")) {
32231
- history.push("/admin/dashboard");
32266
+ history.push("/admin/home");
32232
32267
  } else {
32233
32268
  pathname !== "/home" ? history.push("/home") : window.location.reload();
32234
32269
  }
@@ -32804,13 +32839,14 @@ var EmailTemplateList = function EmailTemplateList() {
32804
32839
  var style$1 = {
32805
32840
  width: "100%",
32806
32841
  position: "fixed",
32807
- bottom: 0,
32842
+ bottom: 83,
32808
32843
  backgroundColor: "#fff",
32809
32844
  borderTop: "1px solid #ddd",
32810
32845
  marginTop: "20px",
32811
32846
  marginLeft: "-30px",
32812
32847
  padding: "8px",
32813
- zIndex: 1
32848
+ zIndex: 1,
32849
+ paddingTop: 18
32814
32850
  };
32815
32851
 
32816
32852
  var DetailActionButtons = function DetailActionButtons(_ref) {
@@ -34938,7 +34974,7 @@ var CREATE_USER_URL = "/admin/create-user";
34938
34974
  var TITLE$8 = "User list";
34939
34975
  var HOMEPAGE_TEACHER$1 = "/home";
34940
34976
  var HOMEPAGE_STUDENT$1 = "/home";
34941
- var HOMEPAGE_ADMIN$1 = "/admin/dashboard";
34977
+ var HOMEPAGE_ADMIN$1 = "/admin/home";
34942
34978
  var HOMEPAGE_PARENT$1 = "/parent";
34943
34979
  var HOMEPAGE_DISTRICT$1 = "/admin/schools";
34944
34980
  var HOMEPAGE_EDU_TEACHER$1 = "/list-student";
@@ -35130,6 +35166,11 @@ var useUserList = function useUserList() {
35130
35166
  email = _res$data2.email,
35131
35167
  profileImageFileName = _res$data2.profileImageFileName;
35132
35168
  localStorage.setItem(ACCESS_TOKEN, token);
35169
+
35170
+ if (roles.includes("Admin")) {
35171
+ localStorage.setItem("ROLES", "Admin");
35172
+ }
35173
+
35133
35174
  localStorage.removeItem(NOTIFICATION_ALERT_KEY);
35134
35175
  dispatch(setUser({
35135
35176
  id: id,