mario-core 2.9.223-release → 2.9.226-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.
- package/dist/containers/Login/constant/authConfig.d.ts +2 -1
- package/dist/index.js +44 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +44 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +101 -101
- package/dist/containers/Login/components/ButtonLogin.d.ts +0 -3
- package/dist/containers/Login/constant/config.d.ts +0 -6
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LogLevel } from "@azure/msal-browser";
|
|
1
2
|
/**
|
|
2
3
|
* Configuration object to be passed to MSAL instance on creation.
|
|
3
4
|
* For a full list of MSAL.js configuration parameters, visit:
|
|
@@ -15,7 +16,7 @@ export declare const msalConfig: {
|
|
|
15
16
|
};
|
|
16
17
|
system: {
|
|
17
18
|
loggerOptions: {
|
|
18
|
-
loggerCallback: (level:
|
|
19
|
+
loggerCallback: (level: LogLevel, message: string, containsPii: any) => void;
|
|
19
20
|
};
|
|
20
21
|
};
|
|
21
22
|
};
|
package/dist/index.js
CHANGED
|
@@ -1847,6 +1847,10 @@ var my_learning_progress = "My Learning Progress";
|
|
|
1847
1847
|
var responses_and_response_rates_per_question = "Responses and Response Rates Per Question";
|
|
1848
1848
|
var responses_comparisons = "Responses Comparisons";
|
|
1849
1849
|
var dropdown_and_verbal_questions_responses = "Dropdown and Verbal Questions Responses";
|
|
1850
|
+
var mario_tools = "MARIO TOOLS";
|
|
1851
|
+
var customize = "Customize";
|
|
1852
|
+
var techical_settings = "Technical Settings";
|
|
1853
|
+
var data_import_export = "Data Import/Export";
|
|
1850
1854
|
var lang_us = {
|
|
1851
1855
|
dashboard: dashboard,
|
|
1852
1856
|
user: user,
|
|
@@ -3674,7 +3678,11 @@ var lang_us = {
|
|
|
3674
3678
|
"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
3679
|
responses_and_response_rates_per_question: responses_and_response_rates_per_question,
|
|
3676
3680
|
responses_comparisons: responses_comparisons,
|
|
3677
|
-
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses
|
|
3681
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses,
|
|
3682
|
+
mario_tools: mario_tools,
|
|
3683
|
+
customize: customize,
|
|
3684
|
+
techical_settings: techical_settings,
|
|
3685
|
+
data_import_export: data_import_export
|
|
3678
3686
|
};
|
|
3679
3687
|
|
|
3680
3688
|
var dashboard$1 = "Dashboard";
|
|
@@ -5485,6 +5493,10 @@ var print_my_accommodations$1 = "Print my accommodations";
|
|
|
5485
5493
|
var my_learning_progress$1 = "My Learning Progress";
|
|
5486
5494
|
var responses_comparisons$1 = "Responses Comparisons";
|
|
5487
5495
|
var dropdown_and_verbal_questions_responses$1 = "Dropdown and Verbal Questions Responses";
|
|
5496
|
+
var mario_tools$1 = "MARIO TOOLS";
|
|
5497
|
+
var customize$1 = "Customize";
|
|
5498
|
+
var techical_settings$1 = "Technical Settings";
|
|
5499
|
+
var data_import_export$1 = "Data Import/Export";
|
|
5488
5500
|
var lang_uk = {
|
|
5489
5501
|
dashboard: dashboard$1,
|
|
5490
5502
|
user: user$1,
|
|
@@ -7313,7 +7325,11 @@ var lang_uk = {
|
|
|
7313
7325
|
"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.",
|
|
7314
7326
|
"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
7327
|
responses_comparisons: responses_comparisons$1,
|
|
7316
|
-
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$1
|
|
7328
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$1,
|
|
7329
|
+
mario_tools: mario_tools$1,
|
|
7330
|
+
customize: customize$1,
|
|
7331
|
+
techical_settings: techical_settings$1,
|
|
7332
|
+
data_import_export: data_import_export$1
|
|
7317
7333
|
};
|
|
7318
7334
|
|
|
7319
7335
|
var dashboard$2 = "لوحة المعلومات";
|
|
@@ -9116,6 +9132,10 @@ var my_learning_progress$2 = "My Learning Progress";
|
|
|
9116
9132
|
var responses_and_response_rates_per_question$2 = "الردود ومعدلات الاستجابة لكل سؤال";
|
|
9117
9133
|
var responses_comparisons$2 = "مقارنات الردود";
|
|
9118
9134
|
var dropdown_and_verbal_questions_responses$2 = "القائمة المنسدلة والأسئلة اللفظية الردود";
|
|
9135
|
+
var mario_tools$2 = "أدوات ماريو";
|
|
9136
|
+
var customize$2 = "يعدل أو يكيف";
|
|
9137
|
+
var techical_settings$2 = "الإعدادات الفنية";
|
|
9138
|
+
var data_import_export$2 = "استيراد/تصدير البيانات";
|
|
9119
9139
|
var lang_ar = {
|
|
9120
9140
|
dashboard: dashboard$2,
|
|
9121
9141
|
user: user$2,
|
|
@@ -10933,7 +10953,11 @@ var lang_ar = {
|
|
|
10933
10953
|
"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
10954
|
responses_and_response_rates_per_question: responses_and_response_rates_per_question$2,
|
|
10935
10955
|
responses_comparisons: responses_comparisons$2,
|
|
10936
|
-
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$2
|
|
10956
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$2,
|
|
10957
|
+
mario_tools: mario_tools$2,
|
|
10958
|
+
customize: customize$2,
|
|
10959
|
+
techical_settings: techical_settings$2,
|
|
10960
|
+
data_import_export: data_import_export$2
|
|
10937
10961
|
};
|
|
10938
10962
|
|
|
10939
10963
|
var dashboard$3 = "Panel de Control";
|
|
@@ -11667,6 +11691,10 @@ var my_learning_plan_beta$3 = "My Learning Plan (Beta)";
|
|
|
11667
11691
|
var responses_and_response_rates_per_question$3 = "Respuestas y tasas de respuesta por pregunta";
|
|
11668
11692
|
var responses_comparisons$3 = "Comparaciones de respuestas";
|
|
11669
11693
|
var dropdown_and_verbal_questions_responses$3 = "Preguntas desplegables y verbales Respuestas";
|
|
11694
|
+
var mario_tools$3 = "HERRAMIENTAS DE MARIO";
|
|
11695
|
+
var customize$3 = "Personalizar";
|
|
11696
|
+
var techical_settings$3 = "Configuraciones técnicas";
|
|
11697
|
+
var data_import_export$3 = "Importación/exportación de datos";
|
|
11670
11698
|
var lang_es = {
|
|
11671
11699
|
dashboard: dashboard$3,
|
|
11672
11700
|
user: user$3,
|
|
@@ -12408,7 +12436,11 @@ var lang_es = {
|
|
|
12408
12436
|
"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
12437
|
responses_and_response_rates_per_question: responses_and_response_rates_per_question$3,
|
|
12410
12438
|
responses_comparisons: responses_comparisons$3,
|
|
12411
|
-
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$3
|
|
12439
|
+
dropdown_and_verbal_questions_responses: dropdown_and_verbal_questions_responses$3,
|
|
12440
|
+
mario_tools: mario_tools$3,
|
|
12441
|
+
customize: customize$3,
|
|
12442
|
+
techical_settings: techical_settings$3,
|
|
12443
|
+
data_import_export: data_import_export$3
|
|
12412
12444
|
};
|
|
12413
12445
|
|
|
12414
12446
|
var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
|
|
@@ -30136,7 +30168,7 @@ var defaultInfo = {
|
|
|
30136
30168
|
};
|
|
30137
30169
|
var HOMEPAGE_TEACHER = "/home";
|
|
30138
30170
|
var HOMEPAGE_STUDENT = "/home";
|
|
30139
|
-
var HOMEPAGE_ADMIN = "/admin/
|
|
30171
|
+
var HOMEPAGE_ADMIN = "/admin/home";
|
|
30140
30172
|
var HOMEPAGE_PARENT = "/parent";
|
|
30141
30173
|
var HOMEPAGE_DISTRICT = "/admin/schools";
|
|
30142
30174
|
var HOMEPAGE_EDU_TEACHER = "/list-student";
|
|
@@ -32126,11 +32158,12 @@ var TheContent = function TheContent(_ref) {
|
|
|
32126
32158
|
var location = reactRouterDom.useLocation();
|
|
32127
32159
|
var pathname = location.pathname;
|
|
32128
32160
|
var dashboard = pathname === "/" ? "box-container" : "";
|
|
32161
|
+
var padding = pathname === "/admin" ? "pt-3" : "";
|
|
32129
32162
|
return React__default.createElement("main", {
|
|
32130
32163
|
className: "c-main " + dashboard
|
|
32131
32164
|
}, React__default.createElement(react.CContainer, {
|
|
32132
32165
|
fluid: true,
|
|
32133
|
-
className: "h-100"
|
|
32166
|
+
className: "h-100 " + padding
|
|
32134
32167
|
}, React__default.createElement(React.Suspense, {
|
|
32135
32168
|
fallback: loading
|
|
32136
32169
|
}, React__default.createElement(reactRouterDom.Switch, null, routes.map(function (route, idx) {
|
|
@@ -32231,7 +32264,7 @@ var ModelSelectRole = function ModelSelectRole(_ref) {
|
|
|
32231
32264
|
if (roles.includes("Parent")) {
|
|
32232
32265
|
history.push("/parent");
|
|
32233
32266
|
} else if (roles.includes("Admin")) {
|
|
32234
|
-
history.push("/admin/
|
|
32267
|
+
history.push("/admin/home");
|
|
32235
32268
|
} else {
|
|
32236
32269
|
pathname !== "/home" ? history.push("/home") : window.location.reload();
|
|
32237
32270
|
}
|
|
@@ -32353,7 +32386,9 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
32353
32386
|
try {
|
|
32354
32387
|
var _temp6 = _catch(function () {
|
|
32355
32388
|
return Promise.resolve(getInfo()).then(function (info) {
|
|
32356
|
-
|
|
32389
|
+
var _info$data, _info$data$roles;
|
|
32390
|
+
|
|
32391
|
+
if (!info || !(info !== null && info !== void 0 && (_info$data = info.data) !== null && _info$data !== void 0 && (_info$data$roles = _info$data.roles) !== null && _info$data$roles !== void 0 && _info$data$roles.includes("Admin"))) {
|
|
32357
32392
|
resetAuth();
|
|
32358
32393
|
}
|
|
32359
32394
|
|
|
@@ -34939,7 +34974,7 @@ var CREATE_USER_URL = "/admin/create-user";
|
|
|
34939
34974
|
var TITLE$8 = "User list";
|
|
34940
34975
|
var HOMEPAGE_TEACHER$1 = "/home";
|
|
34941
34976
|
var HOMEPAGE_STUDENT$1 = "/home";
|
|
34942
|
-
var HOMEPAGE_ADMIN$1 = "/admin/
|
|
34977
|
+
var HOMEPAGE_ADMIN$1 = "/admin/home";
|
|
34943
34978
|
var HOMEPAGE_PARENT$1 = "/parent";
|
|
34944
34979
|
var HOMEPAGE_DISTRICT$1 = "/admin/schools";
|
|
34945
34980
|
var HOMEPAGE_EDU_TEACHER$1 = "/list-student";
|