mario-core 2.9.222-release → 2.9.224-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/constant/authConfig.d.ts +2 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/services/weeklyQuestService.d.ts +1 -0
- package/dist/types/WeeklyQuest.d.ts +37 -0
- 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
|
@@ -1846,7 +1846,7 @@ var print_my_accommodations = "Print my accommodations";
|
|
|
1846
1846
|
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
|
-
var dropdown_and_verbal_questions_responses = "Dropdown and
|
|
1849
|
+
var dropdown_and_verbal_questions_responses = "Dropdown and Verbal Questions Responses";
|
|
1850
1850
|
var lang_us = {
|
|
1851
1851
|
dashboard: dashboard,
|
|
1852
1852
|
user: user,
|
|
@@ -5484,7 +5484,7 @@ var add_new_accommodation$1 = "Add new accommodation";
|
|
|
5484
5484
|
var print_my_accommodations$1 = "Print my accommodations";
|
|
5485
5485
|
var my_learning_progress$1 = "My Learning Progress";
|
|
5486
5486
|
var responses_comparisons$1 = "Responses Comparisons";
|
|
5487
|
-
var dropdown_and_verbal_questions_responses$1 = "Dropdown and
|
|
5487
|
+
var dropdown_and_verbal_questions_responses$1 = "Dropdown and Verbal Questions Responses";
|
|
5488
5488
|
var lang_uk = {
|
|
5489
5489
|
dashboard: dashboard$1,
|
|
5490
5490
|
user: user$1,
|
|
@@ -32353,7 +32353,9 @@ var TheLayout = function TheLayout(_ref) {
|
|
|
32353
32353
|
try {
|
|
32354
32354
|
var _temp6 = _catch(function () {
|
|
32355
32355
|
return Promise.resolve(getInfo()).then(function (info) {
|
|
32356
|
-
|
|
32356
|
+
var _info$data, _info$data$roles;
|
|
32357
|
+
|
|
32358
|
+
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
32359
|
resetAuth();
|
|
32358
32360
|
}
|
|
32359
32361
|
|