mario-core 2.9.217-release → 2.9.219-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/containers/Login/components/ButtonLogin.d.ts +3 -0
- package/dist/containers/Login/constant/authConfig.d.ts +1 -2
- package/dist/containers/Login/constant/config.d.ts +6 -0
- package/dist/containers/Login/constant/types.d.ts +5 -0
- package/dist/index.js +43 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +43 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +101 -101
package/dist/index.modern.js
CHANGED
|
@@ -1841,6 +1841,9 @@ var accommodation_set = "Accommodation Set";
|
|
|
1841
1841
|
var add_new_accommodation = "Add new accommodation";
|
|
1842
1842
|
var print_my_accommodations = "Print my accommodations";
|
|
1843
1843
|
var my_learning_progress = "My Learning Progress";
|
|
1844
|
+
var responses_and_response_rates_per_question = "Responses and Response Rates Per Question";
|
|
1845
|
+
var responses_comparisons = "Responses Comparisons";
|
|
1846
|
+
var dropdown_and_verbal_questions_responses = "Dropdown and verbal Questions Responses";
|
|
1844
1847
|
var lang_us = {
|
|
1845
1848
|
dashboard: dashboard,
|
|
1846
1849
|
user: user,
|
|
@@ -3665,7 +3668,10 @@ var lang_us = {
|
|
|
3665
3668
|
print_my_accommodations: print_my_accommodations,
|
|
3666
3669
|
my_learning_progress: my_learning_progress,
|
|
3667
3670
|
"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.",
|
|
3668
|
-
"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."
|
|
3671
|
+
"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
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question,
|
|
3673
|
+
responses_comparisons: responses_comparisons,
|
|
3674
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses
|
|
3669
3675
|
};
|
|
3670
3676
|
|
|
3671
3677
|
var dashboard$1 = "Dashboard";
|
|
@@ -4352,6 +4358,7 @@ var created_by$1 = "Created by";
|
|
|
4352
4358
|
var responses_distribution$1 = "Responses Distribution";
|
|
4353
4359
|
var ratings_of_questions$1 = "Ratings of Questions";
|
|
4354
4360
|
var show_results_for$1 = "Show results for";
|
|
4361
|
+
var responses_and_response_rates_per_question$1 = "Responses and Response Rates Per Question";
|
|
4355
4362
|
var view_list_of_students$1 = "View List of Students";
|
|
4356
4363
|
var view_list_of_responses$1 = "View List of Response";
|
|
4357
4364
|
var number_of_responses$1 = "Number of Responses";
|
|
@@ -5473,6 +5480,8 @@ var accommodation_set$1 = "Accommodation Set";
|
|
|
5473
5480
|
var add_new_accommodation$1 = "Add new accommodation";
|
|
5474
5481
|
var print_my_accommodations$1 = "Print my accommodations";
|
|
5475
5482
|
var my_learning_progress$1 = "My Learning Progress";
|
|
5483
|
+
var responses_comparisons$1 = "Responses Comparisons";
|
|
5484
|
+
var dropdown_and_verbal_questions_responses$1 = "Dropdown and verbal Questions Responses";
|
|
5476
5485
|
var lang_uk = {
|
|
5477
5486
|
dashboard: dashboard$1,
|
|
5478
5487
|
user: user$1,
|
|
@@ -6169,6 +6178,7 @@ var lang_uk = {
|
|
|
6169
6178
|
responses_distribution: responses_distribution$1,
|
|
6170
6179
|
ratings_of_questions: ratings_of_questions$1,
|
|
6171
6180
|
show_results_for: show_results_for$1,
|
|
6181
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question$1,
|
|
6172
6182
|
view_list_of_students: view_list_of_students$1,
|
|
6173
6183
|
view_list_of_responses: view_list_of_responses$1,
|
|
6174
6184
|
number_of_responses: number_of_responses$1,
|
|
@@ -7298,7 +7308,9 @@ var lang_uk = {
|
|
|
7298
7308
|
print_my_accommodations: print_my_accommodations$1,
|
|
7299
7309
|
my_learning_progress: my_learning_progress$1,
|
|
7300
7310
|
"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.",
|
|
7301
|
-
"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."
|
|
7311
|
+
"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
|
+
responses_comparisons: responses_comparisons$1,
|
|
7313
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$1
|
|
7302
7314
|
};
|
|
7303
7315
|
|
|
7304
7316
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -9098,6 +9110,9 @@ var accommodation_set$2 = "Accommodation Set";
|
|
|
9098
9110
|
var add_new_accommodation$2 = "Add new accommodation";
|
|
9099
9111
|
var print_my_accommodations$2 = "Print my accommodations";
|
|
9100
9112
|
var my_learning_progress$2 = "My Learning Progress";
|
|
9113
|
+
var responses_and_response_rates_per_question$2 = "الردود ومعدلات الاستجابة لكل سؤال";
|
|
9114
|
+
var responses_comparisons$2 = "مقارنات الردود";
|
|
9115
|
+
var dropdown_and_verbal_questions_responses$2 = "القائمة المنسدلة والأسئلة اللفظية الردود";
|
|
9101
9116
|
var lang_ar = {
|
|
9102
9117
|
dashboard: dashboard$2,
|
|
9103
9118
|
user: user$2,
|
|
@@ -10912,7 +10927,10 @@ var lang_ar = {
|
|
|
10912
10927
|
print_my_accommodations: print_my_accommodations$2,
|
|
10913
10928
|
my_learning_progress: my_learning_progress$2,
|
|
10914
10929
|
"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.",
|
|
10915
|
-
"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."
|
|
10930
|
+
"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
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question$2,
|
|
10932
|
+
responses_comparisons: responses_comparisons$2,
|
|
10933
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$2
|
|
10916
10934
|
};
|
|
10917
10935
|
|
|
10918
10936
|
var dashboard$3 = "Panel de Control";
|
|
@@ -11643,6 +11661,9 @@ var manageable_levels_of_stress_allowing_me_to_perform_at_my_best$3 = "Niveles m
|
|
|
11643
11661
|
var still_in_control_but_starting_to_feel_the_pressure$3 = "Todavía tengo el control, pero empiezo a sentir la presión.";
|
|
11644
11662
|
var too_much_pressure_and_really_struggling_to_manage_my_workload$3 = "Demasiada presión y realmente luchando por administrar mi carga de trabajo.";
|
|
11645
11663
|
var my_learning_plan_beta$3 = "My Learning Plan (Beta)";
|
|
11664
|
+
var responses_and_response_rates_per_question$3 = "Respuestas y tasas de respuesta por pregunta";
|
|
11665
|
+
var responses_comparisons$3 = "Comparaciones de respuestas";
|
|
11666
|
+
var dropdown_and_verbal_questions_responses$3 = "Preguntas desplegables y verbales Respuestas";
|
|
11646
11667
|
var lang_es = {
|
|
11647
11668
|
dashboard: dashboard$3,
|
|
11648
11669
|
user: user$3,
|
|
@@ -12381,7 +12402,10 @@ var lang_es = {
|
|
|
12381
12402
|
still_in_control_but_starting_to_feel_the_pressure: still_in_control_but_starting_to_feel_the_pressure$3,
|
|
12382
12403
|
too_much_pressure_and_really_struggling_to_manage_my_workload: too_much_pressure_and_really_struggling_to_manage_my_workload$3,
|
|
12383
12404
|
my_learning_plan_beta: my_learning_plan_beta$3,
|
|
12384
|
-
"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."
|
|
12405
|
+
"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
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question$3,
|
|
12407
|
+
responses_comparisons: responses_comparisons$3,
|
|
12408
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$3
|
|
12385
12409
|
};
|
|
12386
12410
|
|
|
12387
12411
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
@@ -30114,6 +30138,14 @@ var getSchoolSettings = function getSchoolSettings() {
|
|
|
30114
30138
|
return api.get(SCHOOL_URL + "/settings");
|
|
30115
30139
|
};
|
|
30116
30140
|
|
|
30141
|
+
var LoginType;
|
|
30142
|
+
|
|
30143
|
+
(function (LoginType) {
|
|
30144
|
+
LoginType[LoginType["Default"] = 0] = "Default";
|
|
30145
|
+
LoginType[LoginType["Google"] = 1] = "Google";
|
|
30146
|
+
LoginType[LoginType["Impersonate"] = 2] = "Impersonate";
|
|
30147
|
+
})(LoginType || (LoginType = {}));
|
|
30148
|
+
|
|
30117
30149
|
var defaultInfo = {
|
|
30118
30150
|
email: "",
|
|
30119
30151
|
password: "",
|
|
@@ -30368,7 +30400,8 @@ var useLogin = function useLogin() {
|
|
|
30368
30400
|
isLoginGoogle: true,
|
|
30369
30401
|
rememberMe: false,
|
|
30370
30402
|
password: "default",
|
|
30371
|
-
accessToken: token
|
|
30403
|
+
accessToken: token,
|
|
30404
|
+
loginType: LoginType.Google
|
|
30372
30405
|
};
|
|
30373
30406
|
return Promise.resolve(userLogin(dataUser)).then(function () {
|
|
30374
30407
|
setIsLoginGoogle(false);
|
|
@@ -30425,7 +30458,8 @@ var useLogin = function useLogin() {
|
|
|
30425
30458
|
isLoginGoogle: true,
|
|
30426
30459
|
rememberMe: false,
|
|
30427
30460
|
password: "default",
|
|
30428
|
-
accessToken: infoUser.accessToken
|
|
30461
|
+
accessToken: infoUser.accessToken,
|
|
30462
|
+
loginType: LoginType.Google
|
|
30429
30463
|
};
|
|
30430
30464
|
setIsLoginGoogle(false);
|
|
30431
30465
|
return Promise.resolve(userLogin(dataLogin)).then(function () {
|
|
@@ -30724,6 +30758,7 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
30724
30758
|
return Promise.resolve(clickHandler()).then(function (clickHandlerRes) {
|
|
30725
30759
|
if (!clickHandlerRes) return;
|
|
30726
30760
|
values.captcha = clickHandlerRes;
|
|
30761
|
+
values.loginType = LoginType.Default;
|
|
30727
30762
|
userLogin(values);
|
|
30728
30763
|
});
|
|
30729
30764
|
}, function (err) {
|
|
@@ -35162,7 +35197,8 @@ var useUserList = function useUserList() {
|
|
|
35162
35197
|
var req = {
|
|
35163
35198
|
email: data.email,
|
|
35164
35199
|
password: "default",
|
|
35165
|
-
accessToken: data.token
|
|
35200
|
+
accessToken: data.token,
|
|
35201
|
+
loginType: LoginType.Impersonate
|
|
35166
35202
|
};
|
|
35167
35203
|
return Promise.resolve(logIn(req)).then(function (res) {
|
|
35168
35204
|
localStorage.clear();
|