mario-core 2.9.139-up → 2.9.141-level

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.
Files changed (82) hide show
  1. package/dist/components/Alerts/ReactNotification.d.ts +2 -2
  2. package/dist/components/Image/UploadImage.d.ts +2 -2
  3. package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -2
  4. package/dist/components/Modals/NotificationModal.d.ts +2 -2
  5. package/dist/components/Others/QuitPrompt.d.ts +2 -2
  6. package/dist/components/Pagination/CustomPagination.d.ts +2 -2
  7. package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -2
  8. package/dist/components/Selectors/CategorySelector.d.ts +2 -2
  9. package/dist/components/Selectors/CreatableSelector.d.ts +2 -2
  10. package/dist/components/Selectors/CustomSelector.d.ts +2 -2
  11. package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -2
  12. package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -2
  13. package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -2
  14. package/dist/components/Selectors/StarRatingSelector.d.ts +2 -2
  15. package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -2
  16. package/dist/components/Tabs/CustomTab.d.ts +2 -2
  17. package/dist/containers/Login/constant/type.d.ts +5 -0
  18. package/dist/containers/Login/views/Dashboard.d.ts +2 -2
  19. package/dist/containers/Login/views/Login.d.ts +2 -2
  20. package/dist/containers/Login/views/ModelSelectRole.d.ts +4 -0
  21. package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +2 -2
  22. package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -2
  23. package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -2
  24. package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -2
  25. package/dist/containers/Notifications/views/NotificationList.d.ts +2 -2
  26. package/dist/containers/Skill/components/SkillSelector.d.ts +2 -2
  27. package/dist/containers/User/views/UserDetail.d.ts +2 -2
  28. package/dist/containers/User/views/UserList.d.ts +2 -2
  29. package/dist/index.css +3 -3
  30. package/dist/index.js +45 -79
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.modern.js +45 -79
  33. package/dist/index.modern.js.map +1 -1
  34. package/dist/layouts/TheContent.d.ts +1 -1
  35. package/dist/layouts/TheFooter.d.ts +1 -1
  36. package/dist/layouts/TheHeader.d.ts +2 -2
  37. package/dist/layouts/TheHeaderDropdown.d.ts +2 -2
  38. package/dist/layouts/TheLanguageDropdown.d.ts +2 -2
  39. package/dist/layouts/TheLayout.d.ts +2 -2
  40. package/dist/layouts/TheSidebar.d.ts +2 -2
  41. package/dist/redux/assessments/reducer.d.ts +2 -2
  42. package/dist/redux/assignment/reducer.d.ts +1 -1
  43. package/dist/redux/assistants/reducer.d.ts +1 -1
  44. package/dist/redux/badges/reducer.d.ts +1 -1
  45. package/dist/redux/bandScores/reducer.d.ts +1 -1
  46. package/dist/redux/certificate/reducer.d.ts +1 -1
  47. package/dist/redux/classes/reducer.d.ts +1 -1
  48. package/dist/redux/commons/reducer.d.ts +1 -1
  49. package/dist/redux/conferenceRubrics/reducer.d.ts +1 -1
  50. package/dist/redux/customAlert/reducer.d.ts +1 -1
  51. package/dist/redux/dashboard/reducer.d.ts +1 -1
  52. package/dist/redux/dataPlayer/reducer.d.ts +1 -1
  53. package/dist/redux/emailTemplates/reducer.d.ts +1 -1
  54. package/dist/redux/faqs/reducer.d.ts +1 -1
  55. package/dist/redux/feedback/reducer.d.ts +1 -1
  56. package/dist/redux/gallery/reducer.d.ts +1 -1
  57. package/dist/redux/goalExamples/reducer.d.ts +1 -1
  58. package/dist/redux/improveMyClass/reducer.d.ts +1 -1
  59. package/dist/redux/learningStrategies/reducer.d.ts +1 -1
  60. package/dist/redux/learningSupportCategories/reducer.d.ts +1 -1
  61. package/dist/redux/mailCategories/reducer.d.ts +1 -1
  62. package/dist/redux/navMobile/reducer.d.ts +1 -1
  63. package/dist/redux/notifications/reducer.d.ts +1 -1
  64. package/dist/redux/questionBanks/reducer.d.ts +1 -1
  65. package/dist/redux/questionByCategory/reducer.d.ts +1 -1
  66. package/dist/redux/questionCategory/reducer.d.ts +1 -1
  67. package/dist/redux/reflectionForms/reducer.d.ts +1 -1
  68. package/dist/redux/reflectionResults/reducer.d.ts +1 -1
  69. package/dist/redux/schoolBlankDays/reducer.d.ts +1 -1
  70. package/dist/redux/semester/reducer.d.ts +1 -1
  71. package/dist/redux/sessionPlayers/reducer.d.ts +1 -1
  72. package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +1 -1
  73. package/dist/redux/sessionTemplates/reducer.d.ts +1 -1
  74. package/dist/redux/skills/reducer.d.ts +1 -1
  75. package/dist/redux/subjects/reducer.d.ts +1 -1
  76. package/dist/redux/suggestionBanks/reducer.d.ts +1 -1
  77. package/dist/redux/teacher/myStudent/reducer.d.ts +1 -1
  78. package/dist/redux/tutorialScreen/reducer.d.ts +2 -2
  79. package/dist/redux/users/reducer.d.ts +1 -1
  80. package/dist/redux/widget/reducer.d.ts +1 -1
  81. package/dist/utils/amplitude.d.ts +1 -0
  82. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import "react-notifications-component/dist/theme.css";
3
- declare const _default: () => React.JSX.Element;
3
+ declare const _default: () => JSX.Element;
4
4
  export default _default;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const UploadImage: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const UploadImage: () => JSX.Element;
3
3
  export default UploadImage;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const NotificationLogoutModal: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const NotificationLogoutModal: () => JSX.Element;
3
3
  export default NotificationLogoutModal;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const NotificationModal: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const NotificationModal: () => JSX.Element;
3
3
  export default NotificationModal;
@@ -1,2 +1,2 @@
1
- import React from "react";
2
- export default function QuitPrompt(props: any): React.JSX.Element;
1
+ /// <reference types="react" />
2
+ export default function QuitPrompt(props: any): JSX.Element;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CustomPagination: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CustomPagination: (props: any) => JSX.Element;
3
3
  export default CustomPagination;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AcademicClassSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AcademicClassSelector: (props: any) => JSX.Element;
3
3
  export default AcademicClassSelector;
@@ -1,3 +1,3 @@
1
- import React from 'react';
2
- declare const CategorySelector: ({ value, ...rest }: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CategorySelector: ({ value, ...rest }: any) => JSX.Element;
3
3
  export default CategorySelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CreatableSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CreatableSelector: (props: any) => JSX.Element;
3
3
  export default CreatableSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, ...rest }: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CustomSelector: ({ defaultValue, options, isDisabled, scrollBottom, ...rest }: any) => JSX.Element;
3
3
  export default CustomSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const MailCategorySelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const MailCategorySelector: (props: any) => JSX.Element;
3
3
  export default MailCategorySelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuestionCategorySelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuestionCategorySelector: (props: any) => JSX.Element;
3
3
  export default QuestionCategorySelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuestionTypeSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuestionTypeSelector: (props: any) => JSX.Element;
3
3
  export default QuestionTypeSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const StarRatingSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const StarRatingSelector: (props: any) => JSX.Element;
3
3
  export default StarRatingSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SuggestionCategorySelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SuggestionCategorySelector: (props: any) => JSX.Element;
3
3
  export default SuggestionCategorySelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CustomTabs: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CustomTabs: (props: any) => JSX.Element;
3
3
  export default CustomTabs;
@@ -0,0 +1,5 @@
1
+ export interface IModelSelectRoles {
2
+ isOpenModel: boolean;
3
+ userRoles: string[];
4
+ onSelectUserRoles: Function;
5
+ }
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const Dashboard: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const Dashboard: () => JSX.Element;
3
3
  export default Dashboard;
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  interface loginProps {
3
3
  isLogin?: boolean;
4
4
  isForgotPassword?: boolean;
5
5
  isResetPassword?: boolean;
6
6
  isLoginTwoFactor?: boolean;
7
7
  }
8
- declare const Login: (props: loginProps) => React.JSX.Element;
8
+ declare const Login: (props: loginProps) => JSX.Element;
9
9
  export default Login;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IModelSelectRoles } from "../constant/type";
3
+ declare const ModelSelectRole: ({ isOpenModel, userRoles, onSelectUserRoles }: IModelSelectRoles) => JSX.Element;
4
+ export default ModelSelectRole;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const BlockForgetPassword: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const BlockForgetPassword: () => JSX.Element;
3
3
  export default BlockForgetPassword;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const BlockResetPassword: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const BlockResetPassword: () => JSX.Element;
3
3
  export default BlockResetPassword;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const BlockTwoFactorLogin: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const BlockTwoFactorLogin: () => JSX.Element;
3
3
  export default BlockTwoFactorLogin;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuoteContent: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuoteContent: () => JSX.Element;
3
3
  export default QuoteContent;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const NotificationList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const NotificationList: () => JSX.Element;
3
3
  export default NotificationList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SkillSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SkillSelector: (props: any) => JSX.Element;
3
3
  export default SkillSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const UserDetail: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const UserDetail: () => JSX.Element;
3
3
  export default UserDetail;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const UserList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const UserList: () => JSX.Element;
3
3
  export default UserList;
package/dist/index.css CHANGED
@@ -299,13 +299,13 @@
299
299
  @keyframes _wnn2_ {
300
300
  0% {
301
301
  opacity: 0;
302
- background-image: url("~/public/images/landing-page.jpg"); }
302
+ background-image: url("/images/landing-page.jpg"); }
303
303
  50% {
304
304
  opacity: 1;
305
- background-image: url("~/public/images/landing-page2.jpg"); }
305
+ background-image: url("/images/landing-page2.jpg"); }
306
306
  100% {
307
307
  opacity: 2;
308
- background-image: url("~/public/images/landing-page3.jpg"); } }
308
+ background-image: url("/images/landing-page3.jpg"); } }
309
309
 
310
310
  ._F-hjL {
311
311
  background-color: #336dda;
package/dist/index.js CHANGED
@@ -34,6 +34,7 @@ var Creatable = _interopDefault(require('react-select/creatable'));
34
34
  var ReactNotification$1 = _interopDefault(require('react-notifications-component'));
35
35
  require('react-notifications-component/dist/theme.css');
36
36
  var ai = require('react-icons/ai');
37
+ require('symbol-observable');
37
38
 
38
39
  var dashboard = "Dashboard";
39
40
  var user = "User";
@@ -695,6 +696,10 @@ var students_who_are_not_feeling_safe = "Students who are not feeling safe";
695
696
  var students_missing_a_weekly_check_in = "Students missing a weekly check-in";
696
697
  var student_stress_by_zone = "Student Stress by Zone";
697
698
  var student_distribution = "Student Distribution";
699
+ var surveys_flags = "Survey's flags";
700
+ var yellow_flags = "Yellow flags";
701
+ var green_flags = "Green flags";
702
+ var red_flags = "Red flags";
698
703
  var lang_us = {
699
704
  dashboard: dashboard,
700
705
  user: user,
@@ -1367,7 +1372,11 @@ var lang_us = {
1367
1372
  students_who_are_not_feeling_safe: students_who_are_not_feeling_safe,
1368
1373
  students_missing_a_weekly_check_in: students_missing_a_weekly_check_in,
1369
1374
  student_stress_by_zone: student_stress_by_zone,
1370
- student_distribution: student_distribution
1375
+ student_distribution: student_distribution,
1376
+ surveys_flags: surveys_flags,
1377
+ yellow_flags: yellow_flags,
1378
+ green_flags: green_flags,
1379
+ red_flags: red_flags
1371
1380
  };
1372
1381
 
1373
1382
  var dashboard$1 = "Dashboard";
@@ -2032,6 +2041,10 @@ var students_who_are_not_feeling_safe$1 = "Students who are not feeling safe";
2032
2041
  var students_missing_a_weekly_check_in$1 = "Students missing a weekly check-in";
2033
2042
  var student_stress_by_zone$1 = "Student Stress by Zone";
2034
2043
  var student_distribution$1 = "Student Distribution";
2044
+ var surveys_flags$1 = "Survey's flags";
2045
+ var yellow_flags$1 = "Yellow flags";
2046
+ var green_flags$1 = "Green flags";
2047
+ var red_flags$1 = "Red flags";
2035
2048
  var lang_uk = {
2036
2049
  dashboard: dashboard$1,
2037
2050
  user: user$1,
@@ -2704,7 +2717,11 @@ var lang_uk = {
2704
2717
  students_who_are_not_feeling_safe: students_who_are_not_feeling_safe$1,
2705
2718
  students_missing_a_weekly_check_in: students_missing_a_weekly_check_in$1,
2706
2719
  student_stress_by_zone: student_stress_by_zone$1,
2707
- student_distribution: student_distribution$1
2720
+ student_distribution: student_distribution$1,
2721
+ surveys_flags: surveys_flags$1,
2722
+ yellow_flags: yellow_flags$1,
2723
+ green_flags: green_flags$1,
2724
+ red_flags: red_flags$1
2708
2725
  };
2709
2726
 
2710
2727
  var DEFAULT_LANGUAGE = localStorage.getItem("language") !== null ? localStorage.getItem("language") : "uk";
@@ -7286,7 +7303,7 @@ var UserDetail = function UserDetail() {
7286
7303
  }, React__default.createElement(reactstrap.CustomInput, {
7287
7304
  type: "checkbox",
7288
7305
  id: "role-checkbox-" + role,
7289
- label: role,
7306
+ label: role === "SecondaryTeacher" ? "SupportTeacher" : "" + role,
7290
7307
  checked: values.roles.includes(role),
7291
7308
  onChange: function onChange() {
7292
7309
  toggleRoles(role);
@@ -9194,17 +9211,6 @@ var reduxLogger = createCommonjsModule(function (module, exports) {
9194
9211
 
9195
9212
  var logger = unwrapExports(reduxLogger);
9196
9213
 
9197
- /**
9198
- * Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
9199
- *
9200
- * Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
9201
- * during build.
9202
- * @param {number} code
9203
- */
9204
- function formatProdErrorMessage(code) {
9205
- return "Minified Redux error #" + code + "; visit https://redux.js.org/Errors?code=" + code + " for the full message or " + 'use the non-minified dev environment for full errors. ';
9206
- }
9207
-
9208
9214
  /**
9209
9215
  * These are private action types reserved by Redux.
9210
9216
  * For any unknown actions, you must return the current state.
@@ -9238,65 +9244,6 @@ function isPlainObject(obj) {
9238
9244
  return Object.getPrototypeOf(obj) === proto;
9239
9245
  }
9240
9246
 
9241
- // Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
9242
- function miniKindOf(val) {
9243
- if (val === void 0) return 'undefined';
9244
- if (val === null) return 'null';
9245
- var type = typeof val;
9246
-
9247
- switch (type) {
9248
- case 'boolean':
9249
- case 'string':
9250
- case 'number':
9251
- case 'symbol':
9252
- case 'function':
9253
- {
9254
- return type;
9255
- }
9256
- }
9257
-
9258
- if (Array.isArray(val)) return 'array';
9259
- if (isDate(val)) return 'date';
9260
- if (isError(val)) return 'error';
9261
- var constructorName = ctorName(val);
9262
-
9263
- switch (constructorName) {
9264
- case 'Symbol':
9265
- case 'Promise':
9266
- case 'WeakMap':
9267
- case 'WeakSet':
9268
- case 'Map':
9269
- case 'Set':
9270
- return constructorName;
9271
- } // other
9272
-
9273
-
9274
- return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
9275
- }
9276
-
9277
- function ctorName(val) {
9278
- return typeof val.constructor === 'function' ? val.constructor.name : null;
9279
- }
9280
-
9281
- function isError(val) {
9282
- return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
9283
- }
9284
-
9285
- function isDate(val) {
9286
- if (val instanceof Date) return true;
9287
- return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
9288
- }
9289
-
9290
- function kindOf(val) {
9291
- var typeOfVal = typeof val;
9292
-
9293
- if (process.env.NODE_ENV !== 'production') {
9294
- typeOfVal = miniKindOf(val);
9295
- }
9296
-
9297
- return typeOfVal;
9298
- }
9299
-
9300
9247
  /**
9301
9248
  * Prints a warning in the console if it exists.
9302
9249
  *
@@ -9320,6 +9267,12 @@ function warning(message) {
9320
9267
 
9321
9268
  }
9322
9269
 
9270
+ function getUndefinedStateErrorMessage(key, action) {
9271
+ var actionType = action && action.type;
9272
+ var actionDescription = actionType && "action \"" + String(actionType) + "\"" || 'an action';
9273
+ return "Given " + actionDescription + ", reducer \"" + key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.";
9274
+ }
9275
+
9323
9276
  function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
9324
9277
  var reducerKeys = Object.keys(reducers);
9325
9278
  var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
@@ -9329,7 +9282,7 @@ function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, une
9329
9282
  }
9330
9283
 
9331
9284
  if (!isPlainObject(inputState)) {
9332
- return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
9285
+ return "The " + argumentName + " has unexpected type of \"" + {}.toString.call(inputState).match(/\s([a-z|A-Z]+)/)[1] + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
9333
9286
  }
9334
9287
 
9335
9288
  var unexpectedKeys = Object.keys(inputState).filter(function (key) {
@@ -9353,13 +9306,13 @@ function assertReducerShape(reducers) {
9353
9306
  });
9354
9307
 
9355
9308
  if (typeof initialState === 'undefined') {
9356
- throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(12) : "The slice reducer for key \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
9309
+ throw new Error("Reducer \"" + key + "\" returned undefined during initialization. " + "If the state passed to the reducer is undefined, you must " + "explicitly return the initial state. The initial state may " + "not be undefined. If you don't want to set a value for this reducer, " + "you can use null instead of undefined.");
9357
9310
  }
9358
9311
 
9359
9312
  if (typeof reducer(undefined, {
9360
9313
  type: ActionTypes.PROBE_UNKNOWN_ACTION()
9361
9314
  }) === 'undefined') {
9362
- throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(13) : "The slice reducer for key \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle '" + ActionTypes.INIT + "' or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
9315
+ throw new Error("Reducer \"" + key + "\" returned undefined when probed with a random type. " + ("Don't try to handle " + ActionTypes.INIT + " or other actions in \"redux/*\" ") + "namespace. They are considered private. Instead, you must return the " + "current state for any unknown actions, unless it is undefined, " + "in which case you must return the initial state, regardless of the " + "action type. The initial state may not be undefined, but can be null.");
9363
9316
  }
9364
9317
  });
9365
9318
  }
@@ -9443,8 +9396,8 @@ function combineReducers(reducers) {
9443
9396
  var nextStateForKey = reducer(previousStateForKey, action);
9444
9397
 
9445
9398
  if (typeof nextStateForKey === 'undefined') {
9446
- var actionType = action && action.type;
9447
- throw new Error(process.env.NODE_ENV === "production" ? formatProdErrorMessage(14) : "When called with an action of type " + (actionType ? "\"" + String(actionType) + "\"" : '(unknown type)') + ", the slice reducer for key \"" + _key + "\" returned undefined. " + "To ignore an action, you must explicitly return the previous state. " + "If you want this reducer to hold no value, you can return null instead of undefined.");
9399
+ var errorMessage = getUndefinedStateErrorMessage(_key, action);
9400
+ throw new Error(errorMessage);
9448
9401
  }
9449
9402
 
9450
9403
  nextState[_key] = nextStateForKey;
@@ -9456,6 +9409,17 @@ function combineReducers(reducers) {
9456
9409
  };
9457
9410
  }
9458
9411
 
9412
+ /*
9413
+ * This is a dummy function to check if the function name has been altered by minification.
9414
+ * If the function has been minified and NODE_ENV !== 'production', warn the user.
9415
+ */
9416
+
9417
+ function isCrushed() {}
9418
+
9419
+ if (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
9420
+ warning('You are currently using minified code outside of NODE_ENV === "production". ' + 'This means that you are running a slower development build of Redux. ' + 'You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify ' + 'or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) ' + 'to ensure you have the correct code for your production build.');
9421
+ }
9422
+
9459
9423
  var _localStorage$getItem;
9460
9424
  var initialState = {
9461
9425
  sidebarShow: "responsive",
@@ -10725,7 +10689,9 @@ var UserList = function UserList() {
10725
10689
  className: "align-middle"
10726
10690
  }, differenceInCalendarYears(new Date(), new Date(record.dateOfBirth))), React__default.createElement("td", {
10727
10691
  className: "align-middle"
10728
- }, !!record.roles && record.roles.join(", ")), React__default.createElement("td", {
10692
+ }, !!record.roles && record.roles.map(function (role) {
10693
+ return role === "SecondaryTeacher" ? "SupportTeacher" : role;
10694
+ }).join(", ")), React__default.createElement("td", {
10729
10695
  className: "align-middle"
10730
10696
  }, record.isActive ? t("active") : t("inactive")), React__default.createElement("td", {
10731
10697
  className: "align-middle"