mario-core 2.10.9-release → 2.10.11-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/index.js CHANGED
@@ -2181,6 +2181,7 @@ var save_note = "Save note";
2181
2181
  var type_the_main_focus_of_this_session = "Type the main focus of this session";
2182
2182
  var please_add_title_note = "Please add note title";
2183
2183
  var notes_and_logs = "Notes and Logs";
2184
+ var school_monthly_usage = "School Monthly Usage";
2184
2185
  var lang_us = {
2185
2186
  dashboard: dashboard,
2186
2187
  user: user,
@@ -4377,7 +4378,8 @@ var lang_us = {
4377
4378
  save_note: save_note,
4378
4379
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session,
4379
4380
  please_add_title_note: please_add_title_note,
4380
- notes_and_logs: notes_and_logs
4381
+ notes_and_logs: notes_and_logs,
4382
+ school_monthly_usage: school_monthly_usage
4381
4383
  };
4382
4384
 
4383
4385
  var dashboard$1 = "Dashboard";
@@ -6522,6 +6524,7 @@ var save_note$1 = "Save note";
6522
6524
  var type_the_main_focus_of_this_session$1 = "Type the main focus of this session";
6523
6525
  var please_add_title_note$1 = "Please add note title";
6524
6526
  var notes_and_logs$1 = "Notes and Logs";
6527
+ var school_monthly_usage$1 = "School Monthly Usage";
6525
6528
  var lang_uk = {
6526
6529
  dashboard: dashboard$1,
6527
6530
  user: user$1,
@@ -8716,7 +8719,8 @@ var lang_uk = {
8716
8719
  save_note: save_note$1,
8717
8720
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$1,
8718
8721
  please_add_title_note: please_add_title_note$1,
8719
- notes_and_logs: notes_and_logs$1
8722
+ notes_and_logs: notes_and_logs$1,
8723
+ school_monthly_usage: school_monthly_usage$1
8720
8724
  };
8721
8725
 
8722
8726
  var dashboard$2 = "لوحة المعلومات";
@@ -10891,6 +10895,7 @@ var save_note$2 = "Save note";
10891
10895
  var type_the_main_focus_of_this_session$2 = "Type the main focus of this session";
10892
10896
  var please_add_title_note$2 = "Please add note title";
10893
10897
  var notes_and_logs$2 = "Notes and Logs";
10898
+ var school_monthly_usage$2 = "School Monthly Usage";
10894
10899
  var lang_ar = {
10895
10900
  dashboard: dashboard$2,
10896
10901
  user: user$2,
@@ -13117,7 +13122,8 @@ var lang_ar = {
13117
13122
  save_note: save_note$2,
13118
13123
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$2,
13119
13124
  please_add_title_note: please_add_title_note$2,
13120
- notes_and_logs: notes_and_logs$2
13125
+ notes_and_logs: notes_and_logs$2,
13126
+ school_monthly_usage: school_monthly_usage$2
13121
13127
  };
13122
13128
 
13123
13129
  var dashboard$3 = "Cuadro de mandos";
@@ -15292,6 +15298,7 @@ var save_note$3 = "Save note";
15292
15298
  var type_the_main_focus_of_this_session$3 = "Type the main focus of this session";
15293
15299
  var please_add_title_note$3 = "Please add note title";
15294
15300
  var notes_and_logs$3 = "Notes and Logs";
15301
+ var school_monthly_usage$3 = "School Monthly Usage";
15295
15302
  var lang_es = {
15296
15303
  dashboard: dashboard$3,
15297
15304
  user: user$3,
@@ -17518,7 +17525,8 @@ var lang_es = {
17518
17525
  save_note: save_note$3,
17519
17526
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$3,
17520
17527
  please_add_title_note: please_add_title_note$3,
17521
- notes_and_logs: notes_and_logs$3
17528
+ notes_and_logs: notes_and_logs$3,
17529
+ school_monthly_usage: school_monthly_usage$3
17522
17530
  };
17523
17531
 
17524
17532
  var dashboard$4 = "仪表板";
@@ -19693,6 +19701,7 @@ var save_note$4 = "Save note";
19693
19701
  var type_the_main_focus_of_this_session$4 = "Type the main focus of this session";
19694
19702
  var please_add_title_note$4 = "Please add note title";
19695
19703
  var notes_and_logs$4 = "Notes and Logs";
19704
+ var school_monthly_usage$4 = "School Monthly Usage";
19696
19705
  var lang_zh = {
19697
19706
  dashboard: dashboard$4,
19698
19707
  user: user$4,
@@ -21919,7 +21928,8 @@ var lang_zh = {
21919
21928
  save_note: save_note$4,
21920
21929
  type_the_main_focus_of_this_session: type_the_main_focus_of_this_session$4,
21921
21930
  please_add_title_note: please_add_title_note$4,
21922
- notes_and_logs: notes_and_logs$4
21931
+ notes_and_logs: notes_and_logs$4,
21932
+ school_monthly_usage: school_monthly_usage$4
21923
21933
  };
21924
21934
 
21925
21935
  var TINY_MCE_API_KEY = "htqausuofrnali3nh9ivmlpq6v415o0tv2qikpg39bqf4pnk";
@@ -39704,7 +39714,8 @@ var BlockLogin = function BlockLogin(_ref) {
39704
39714
  lg: 6,
39705
39715
  md: 6,
39706
39716
  xs: 12,
39707
- className: styles["btn-login-sso"] + " pl-md-2"
39717
+ className: styles["btn-login-sso"] + " pl-md-2",
39718
+ hidden: !(school !== null && school !== void 0 && school.schoolId)
39708
39719
  }, React__default.createElement("div", {
39709
39720
  className: styles["btn-login-with-sso"],
39710
39721
  onClick: function onClick() {
@@ -40895,6 +40906,8 @@ var useLogin = function useLogin() {
40895
40906
  try {
40896
40907
  msalInstance.handleRedirectPromise().then(function (tokenResponse) {
40897
40908
  try {
40909
+ if (!(school !== null && school !== void 0 && school.schoolId)) return Promise.resolve();
40910
+
40898
40911
  var _temp38 = function () {
40899
40912
  if (!tokenResponse) {
40900
40913
  var accounts = msalInstance.getAllAccounts();