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
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { LogLevel } from "@azure/msal-browser";
|
|
2
1
|
/**
|
|
3
2
|
* Configuration object to be passed to MSAL instance on creation.
|
|
4
3
|
* For a full list of MSAL.js configuration parameters, visit:
|
|
@@ -16,7 +15,7 @@ export declare const msalConfig: {
|
|
|
16
15
|
};
|
|
17
16
|
system: {
|
|
18
17
|
loggerOptions: {
|
|
19
|
-
loggerCallback: (level:
|
|
18
|
+
loggerCallback: (level: any, message: string, containsPii: any) => void;
|
|
20
19
|
};
|
|
21
20
|
};
|
|
22
21
|
};
|
package/dist/index.js
CHANGED
|
@@ -1844,6 +1844,9 @@ var accommodation_set = "Accommodation Set";
|
|
|
1844
1844
|
var add_new_accommodation = "Add new accommodation";
|
|
1845
1845
|
var print_my_accommodations = "Print my accommodations";
|
|
1846
1846
|
var my_learning_progress = "My Learning Progress";
|
|
1847
|
+
var responses_and_response_rates_per_question = "Responses and Response Rates Per Question";
|
|
1848
|
+
var responses_comparisons = "Responses Comparisons";
|
|
1849
|
+
var dropdown_and_verbal_questions_responses = "Dropdown and verbal Questions Responses";
|
|
1847
1850
|
var lang_us = {
|
|
1848
1851
|
dashboard: dashboard,
|
|
1849
1852
|
user: user,
|
|
@@ -3668,7 +3671,10 @@ var lang_us = {
|
|
|
3668
3671
|
print_my_accommodations: print_my_accommodations,
|
|
3669
3672
|
my_learning_progress: my_learning_progress,
|
|
3670
3673
|
"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.",
|
|
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."
|
|
3674
|
+
"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.",
|
|
3675
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question,
|
|
3676
|
+
responses_comparisons: responses_comparisons,
|
|
3677
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses
|
|
3672
3678
|
};
|
|
3673
3679
|
|
|
3674
3680
|
var dashboard$1 = "Dashboard";
|
|
@@ -4355,6 +4361,7 @@ var created_by$1 = "Created by";
|
|
|
4355
4361
|
var responses_distribution$1 = "Responses Distribution";
|
|
4356
4362
|
var ratings_of_questions$1 = "Ratings of Questions";
|
|
4357
4363
|
var show_results_for$1 = "Show results for";
|
|
4364
|
+
var responses_and_response_rates_per_question$1 = "Responses and Response Rates Per Question";
|
|
4358
4365
|
var view_list_of_students$1 = "View List of Students";
|
|
4359
4366
|
var view_list_of_responses$1 = "View List of Response";
|
|
4360
4367
|
var number_of_responses$1 = "Number of Responses";
|
|
@@ -5476,6 +5483,8 @@ var accommodation_set$1 = "Accommodation Set";
|
|
|
5476
5483
|
var add_new_accommodation$1 = "Add new accommodation";
|
|
5477
5484
|
var print_my_accommodations$1 = "Print my accommodations";
|
|
5478
5485
|
var my_learning_progress$1 = "My Learning Progress";
|
|
5486
|
+
var responses_comparisons$1 = "Responses Comparisons";
|
|
5487
|
+
var dropdown_and_verbal_questions_responses$1 = "Dropdown and verbal Questions Responses";
|
|
5479
5488
|
var lang_uk = {
|
|
5480
5489
|
dashboard: dashboard$1,
|
|
5481
5490
|
user: user$1,
|
|
@@ -6172,6 +6181,7 @@ var lang_uk = {
|
|
|
6172
6181
|
responses_distribution: responses_distribution$1,
|
|
6173
6182
|
ratings_of_questions: ratings_of_questions$1,
|
|
6174
6183
|
show_results_for: show_results_for$1,
|
|
6184
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question$1,
|
|
6175
6185
|
view_list_of_students: view_list_of_students$1,
|
|
6176
6186
|
view_list_of_responses: view_list_of_responses$1,
|
|
6177
6187
|
number_of_responses: number_of_responses$1,
|
|
@@ -7301,7 +7311,9 @@ var lang_uk = {
|
|
|
7301
7311
|
print_my_accommodations: print_my_accommodations$1,
|
|
7302
7312
|
my_learning_progress: my_learning_progress$1,
|
|
7303
7313
|
"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.",
|
|
7304
|
-
"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."
|
|
7314
|
+
"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.",
|
|
7315
|
+
responses_comparisons: responses_comparisons$1,
|
|
7316
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$1
|
|
7305
7317
|
};
|
|
7306
7318
|
|
|
7307
7319
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -9101,6 +9113,9 @@ var accommodation_set$2 = "Accommodation Set";
|
|
|
9101
9113
|
var add_new_accommodation$2 = "Add new accommodation";
|
|
9102
9114
|
var print_my_accommodations$2 = "Print my accommodations";
|
|
9103
9115
|
var my_learning_progress$2 = "My Learning Progress";
|
|
9116
|
+
var responses_and_response_rates_per_question$2 = "الردود ومعدلات الاستجابة لكل سؤال";
|
|
9117
|
+
var responses_comparisons$2 = "مقارنات الردود";
|
|
9118
|
+
var dropdown_and_verbal_questions_responses$2 = "القائمة المنسدلة والأسئلة اللفظية الردود";
|
|
9104
9119
|
var lang_ar = {
|
|
9105
9120
|
dashboard: dashboard$2,
|
|
9106
9121
|
user: user$2,
|
|
@@ -10915,7 +10930,10 @@ var lang_ar = {
|
|
|
10915
10930
|
print_my_accommodations: print_my_accommodations$2,
|
|
10916
10931
|
my_learning_progress: my_learning_progress$2,
|
|
10917
10932
|
"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.",
|
|
10918
|
-
"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."
|
|
10933
|
+
"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.",
|
|
10934
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question$2,
|
|
10935
|
+
responses_comparisons: responses_comparisons$2,
|
|
10936
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$2
|
|
10919
10937
|
};
|
|
10920
10938
|
|
|
10921
10939
|
var dashboard$3 = "Panel de Control";
|
|
@@ -11646,6 +11664,9 @@ var manageable_levels_of_stress_allowing_me_to_perform_at_my_best$3 = "Niveles m
|
|
|
11646
11664
|
var still_in_control_but_starting_to_feel_the_pressure$3 = "Todavía tengo el control, pero empiezo a sentir la presión.";
|
|
11647
11665
|
var too_much_pressure_and_really_struggling_to_manage_my_workload$3 = "Demasiada presión y realmente luchando por administrar mi carga de trabajo.";
|
|
11648
11666
|
var my_learning_plan_beta$3 = "My Learning Plan (Beta)";
|
|
11667
|
+
var responses_and_response_rates_per_question$3 = "Respuestas y tasas de respuesta por pregunta";
|
|
11668
|
+
var responses_comparisons$3 = "Comparaciones de respuestas";
|
|
11669
|
+
var dropdown_and_verbal_questions_responses$3 = "Preguntas desplegables y verbales Respuestas";
|
|
11649
11670
|
var lang_es = {
|
|
11650
11671
|
dashboard: dashboard$3,
|
|
11651
11672
|
user: user$3,
|
|
@@ -12384,7 +12405,10 @@ var lang_es = {
|
|
|
12384
12405
|
still_in_control_but_starting_to_feel_the_pressure: still_in_control_but_starting_to_feel_the_pressure$3,
|
|
12385
12406
|
too_much_pressure_and_really_struggling_to_manage_my_workload: too_much_pressure_and_really_struggling_to_manage_my_workload$3,
|
|
12386
12407
|
my_learning_plan_beta: my_learning_plan_beta$3,
|
|
12387
|
-
"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."
|
|
12408
|
+
"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.",
|
|
12409
|
+
responses_and_response_rates_per_question: responses_and_response_rates_per_question$3,
|
|
12410
|
+
responses_comparisons: responses_comparisons$3,
|
|
12411
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$3
|
|
12388
12412
|
};
|
|
12389
12413
|
|
|
12390
12414
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
@@ -30117,6 +30141,14 @@ var getSchoolSettings = function getSchoolSettings() {
|
|
|
30117
30141
|
return api.get(SCHOOL_URL + "/settings");
|
|
30118
30142
|
};
|
|
30119
30143
|
|
|
30144
|
+
var LoginType;
|
|
30145
|
+
|
|
30146
|
+
(function (LoginType) {
|
|
30147
|
+
LoginType[LoginType["Default"] = 0] = "Default";
|
|
30148
|
+
LoginType[LoginType["Google"] = 1] = "Google";
|
|
30149
|
+
LoginType[LoginType["Impersonate"] = 2] = "Impersonate";
|
|
30150
|
+
})(LoginType || (LoginType = {}));
|
|
30151
|
+
|
|
30120
30152
|
var defaultInfo = {
|
|
30121
30153
|
email: "",
|
|
30122
30154
|
password: "",
|
|
@@ -30371,7 +30403,8 @@ var useLogin = function useLogin() {
|
|
|
30371
30403
|
isLoginGoogle: true,
|
|
30372
30404
|
rememberMe: false,
|
|
30373
30405
|
password: "default",
|
|
30374
|
-
accessToken: token
|
|
30406
|
+
accessToken: token,
|
|
30407
|
+
loginType: LoginType.Google
|
|
30375
30408
|
};
|
|
30376
30409
|
return Promise.resolve(userLogin(dataUser)).then(function () {
|
|
30377
30410
|
setIsLoginGoogle(false);
|
|
@@ -30428,7 +30461,8 @@ var useLogin = function useLogin() {
|
|
|
30428
30461
|
isLoginGoogle: true,
|
|
30429
30462
|
rememberMe: false,
|
|
30430
30463
|
password: "default",
|
|
30431
|
-
accessToken: infoUser.accessToken
|
|
30464
|
+
accessToken: infoUser.accessToken,
|
|
30465
|
+
loginType: LoginType.Google
|
|
30432
30466
|
};
|
|
30433
30467
|
setIsLoginGoogle(false);
|
|
30434
30468
|
return Promise.resolve(userLogin(dataLogin)).then(function () {
|
|
@@ -30727,6 +30761,7 @@ var BlockLogin = function BlockLogin(_ref) {
|
|
|
30727
30761
|
return Promise.resolve(clickHandler()).then(function (clickHandlerRes) {
|
|
30728
30762
|
if (!clickHandlerRes) return;
|
|
30729
30763
|
values.captcha = clickHandlerRes;
|
|
30764
|
+
values.loginType = LoginType.Default;
|
|
30730
30765
|
userLogin(values);
|
|
30731
30766
|
});
|
|
30732
30767
|
}, function (err) {
|
|
@@ -35165,7 +35200,8 @@ var useUserList = function useUserList() {
|
|
|
35165
35200
|
var req = {
|
|
35166
35201
|
email: data.email,
|
|
35167
35202
|
password: "default",
|
|
35168
|
-
accessToken: data.token
|
|
35203
|
+
accessToken: data.token,
|
|
35204
|
+
loginType: LoginType.Impersonate
|
|
35169
35205
|
};
|
|
35170
35206
|
return Promise.resolve(logIn(req)).then(function (res) {
|
|
35171
35207
|
localStorage.clear();
|