mario-core 2.9.138-level → 2.9.139-up
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/components/Alerts/ReactNotification.d.ts +2 -2
- package/dist/components/Image/UploadImage.d.ts +2 -2
- package/dist/components/Modals/NotificationLogoutModal.d.ts +2 -2
- package/dist/components/Modals/NotificationModal.d.ts +2 -2
- package/dist/components/Others/QuitPrompt.d.ts +2 -2
- package/dist/components/Pagination/CustomPagination.d.ts +2 -2
- package/dist/components/Selectors/AcademicClassSelector.d.ts +2 -2
- package/dist/components/Selectors/CategorySelector.d.ts +2 -2
- package/dist/components/Selectors/CreatableSelector.d.ts +2 -2
- package/dist/components/Selectors/CustomSelector.d.ts +2 -2
- package/dist/components/Selectors/MailCategorySelectors.d.ts +2 -2
- package/dist/components/Selectors/QuestionCategorySelector.d.ts +2 -2
- package/dist/components/Selectors/QuestionTypeSelector.d.ts +2 -2
- package/dist/components/Selectors/StarRatingSelector.d.ts +2 -2
- package/dist/components/Selectors/SuggestionCategorySelector.d.ts +2 -2
- package/dist/components/Tabs/CustomTab.d.ts +2 -2
- package/dist/containers/Login/views/Dashboard.d.ts +2 -2
- package/dist/containers/Login/views/Login.d.ts +2 -2
- package/dist/containers/Login/views/block/BlockForgetPassword.d.ts +2 -2
- package/dist/containers/Login/views/block/BlockResetPassword.d.ts +2 -2
- package/dist/containers/Login/views/block/BlockTwoFactorLogin.d.ts +2 -2
- package/dist/containers/Login/views/block/QuoteContent.d.ts +2 -2
- package/dist/containers/Notifications/views/NotificationList.d.ts +2 -2
- package/dist/containers/Skill/components/SkillSelector.d.ts +2 -2
- package/dist/containers/User/views/UserDetail.d.ts +2 -2
- package/dist/containers/User/views/UserList.d.ts +2 -2
- package/dist/index.css +3 -3
- package/dist/index.js +107 -51
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +107 -51
- package/dist/index.modern.js.map +1 -1
- package/dist/layouts/TheContent.d.ts +1 -1
- package/dist/layouts/TheFooter.d.ts +1 -1
- package/dist/layouts/TheHeader.d.ts +2 -2
- package/dist/layouts/TheHeaderDropdown.d.ts +2 -2
- package/dist/layouts/TheLanguageDropdown.d.ts +2 -2
- package/dist/layouts/TheLayout.d.ts +2 -2
- package/dist/layouts/TheSidebar.d.ts +2 -2
- package/dist/redux/assessments/reducer.d.ts +2 -2
- package/dist/redux/assignment/reducer.d.ts +1 -1
- package/dist/redux/assistants/reducer.d.ts +1 -1
- package/dist/redux/badges/reducer.d.ts +1 -1
- package/dist/redux/bandScores/reducer.d.ts +1 -1
- package/dist/redux/certificate/reducer.d.ts +1 -1
- package/dist/redux/classes/reducer.d.ts +1 -1
- package/dist/redux/commons/reducer.d.ts +1 -1
- package/dist/redux/conferenceRubrics/reducer.d.ts +1 -1
- package/dist/redux/customAlert/reducer.d.ts +1 -1
- package/dist/redux/dashboard/reducer.d.ts +1 -1
- package/dist/redux/dataPlayer/reducer.d.ts +1 -1
- package/dist/redux/emailTemplates/reducer.d.ts +1 -1
- package/dist/redux/faqs/reducer.d.ts +1 -1
- package/dist/redux/feedback/reducer.d.ts +1 -1
- package/dist/redux/gallery/reducer.d.ts +1 -1
- package/dist/redux/goalExamples/reducer.d.ts +1 -1
- package/dist/redux/improveMyClass/reducer.d.ts +1 -1
- package/dist/redux/learningStrategies/reducer.d.ts +1 -1
- package/dist/redux/learningSupportCategories/reducer.d.ts +1 -1
- package/dist/redux/mailCategories/reducer.d.ts +1 -1
- package/dist/redux/navMobile/reducer.d.ts +1 -1
- package/dist/redux/notifications/reducer.d.ts +1 -1
- package/dist/redux/questionBanks/reducer.d.ts +1 -1
- package/dist/redux/questionByCategory/reducer.d.ts +1 -1
- package/dist/redux/questionCategory/reducer.d.ts +1 -1
- package/dist/redux/reflectionForms/reducer.d.ts +1 -1
- package/dist/redux/reflectionResults/reducer.d.ts +1 -1
- package/dist/redux/schoolBlankDays/reducer.d.ts +1 -1
- package/dist/redux/semester/reducer.d.ts +1 -1
- package/dist/redux/sessionPlayers/reducer.d.ts +1 -1
- package/dist/redux/sessionTemplateGeneralClasses/reducer.d.ts +1 -1
- package/dist/redux/sessionTemplates/reducer.d.ts +1 -1
- package/dist/redux/skills/reducer.d.ts +1 -1
- package/dist/redux/subjects/reducer.d.ts +1 -1
- package/dist/redux/suggestionBanks/reducer.d.ts +1 -1
- package/dist/redux/teacher/myStudent/reducer.d.ts +1 -1
- package/dist/redux/tutorialScreen/reducer.d.ts +2 -2
- package/dist/redux/users/reducer.d.ts +1 -1
- package/dist/redux/widget/reducer.d.ts +1 -1
- package/package.json +2 -2
- package/dist/containers/Login/constant/type.d.ts +0 -5
- package/dist/containers/Login/views/ModelSelectRole.d.ts +0 -4
- package/dist/utils/amplitude.d.ts +0 -1
package/dist/index.modern.js
CHANGED
|
@@ -32,7 +32,6 @@ import Creatable from 'react-select/creatable';
|
|
|
32
32
|
import ReactNotification$1 from 'react-notifications-component';
|
|
33
33
|
import 'react-notifications-component/dist/theme.css';
|
|
34
34
|
import { AiOutlineEye } from 'react-icons/ai';
|
|
35
|
-
import 'symbol-observable';
|
|
36
35
|
|
|
37
36
|
var dashboard = "Dashboard";
|
|
38
37
|
var user = "User";
|
|
@@ -607,9 +606,10 @@ var share_survey = "Share Survey";
|
|
|
607
606
|
var new_survey = "New Survey";
|
|
608
607
|
var assign_counselor = "Assign Counselor";
|
|
609
608
|
var select_counselor = "Select Counselor";
|
|
610
|
-
var
|
|
611
|
-
var
|
|
612
|
-
var
|
|
609
|
+
var select_support_teacher = "Select Support Teacher";
|
|
610
|
+
var assign_support_teacher = "Assign Support Teacher";
|
|
611
|
+
var switch_support_teacher = "Switch Support Teacher";
|
|
612
|
+
var support_teacher_name = "Support Teacher Name";
|
|
613
613
|
var user_for_question = "User For Question";
|
|
614
614
|
var requested_reflection = "Requested Reflection";
|
|
615
615
|
var request_class_reflection = "Request Class Reflection";
|
|
@@ -620,10 +620,10 @@ var remove_counselor = "Remove Counselor";
|
|
|
620
620
|
var current_counselor_email = "Current Counselor Email";
|
|
621
621
|
var current_counselor_name = "Current Counselor Name";
|
|
622
622
|
var select_counselor_change = "Select Counselor Change";
|
|
623
|
-
var
|
|
624
|
-
var
|
|
625
|
-
var
|
|
626
|
-
var
|
|
623
|
+
var current_support_teacher_name = "Current Support Teacher Name";
|
|
624
|
+
var current_support_teacher_email = "Current Support Teacher Email";
|
|
625
|
+
var remove_support_teacher = "Remove Support Teacher";
|
|
626
|
+
var select_support_teacher_change = "Select Support Teacher Change";
|
|
627
627
|
var filter_calendar = "Filter calendar";
|
|
628
628
|
var average_student_safety = "Average Student Safety";
|
|
629
629
|
var is_active = "Is Active";
|
|
@@ -1275,9 +1275,10 @@ var lang_us = {
|
|
|
1275
1275
|
new_survey: new_survey,
|
|
1276
1276
|
assign_counselor: assign_counselor,
|
|
1277
1277
|
select_counselor: select_counselor,
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1278
|
+
select_support_teacher: select_support_teacher,
|
|
1279
|
+
assign_support_teacher: assign_support_teacher,
|
|
1280
|
+
switch_support_teacher: switch_support_teacher,
|
|
1281
|
+
support_teacher_name: support_teacher_name,
|
|
1281
1282
|
user_for_question: user_for_question,
|
|
1282
1283
|
requested_reflection: requested_reflection,
|
|
1283
1284
|
request_class_reflection: request_class_reflection,
|
|
@@ -1288,10 +1289,10 @@ var lang_us = {
|
|
|
1288
1289
|
current_counselor_email: current_counselor_email,
|
|
1289
1290
|
current_counselor_name: current_counselor_name,
|
|
1290
1291
|
select_counselor_change: select_counselor_change,
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1292
|
+
current_support_teacher_name: current_support_teacher_name,
|
|
1293
|
+
current_support_teacher_email: current_support_teacher_email,
|
|
1294
|
+
remove_support_teacher: remove_support_teacher,
|
|
1295
|
+
select_support_teacher_change: select_support_teacher_change,
|
|
1295
1296
|
filter_calendar: filter_calendar,
|
|
1296
1297
|
average_student_safety: average_student_safety,
|
|
1297
1298
|
is_active: is_active,
|
|
@@ -1943,9 +1944,10 @@ var share_survey$1 = "Share Survey";
|
|
|
1943
1944
|
var new_survey$1 = "New Survey";
|
|
1944
1945
|
var assign_counselor$1 = "Assign Counselor";
|
|
1945
1946
|
var select_counselor$1 = "Select Counselor";
|
|
1946
|
-
var
|
|
1947
|
-
var
|
|
1948
|
-
var
|
|
1947
|
+
var select_support_teacher$1 = "Select Support Teacher";
|
|
1948
|
+
var assign_support_teacher$1 = "Assign Support Teacher";
|
|
1949
|
+
var switch_support_teacher$1 = "Switch Support Teacher";
|
|
1950
|
+
var support_teacher_name$1 = "Support Teacher Name";
|
|
1949
1951
|
var user_for_question$1 = "User For Question";
|
|
1950
1952
|
var requested_reflection$1 = "Requested Reflection";
|
|
1951
1953
|
var request_class_reflection$1 = "Request Class Reflection";
|
|
@@ -1956,10 +1958,10 @@ var remove_counselor$1 = "Remove Counselor";
|
|
|
1956
1958
|
var current_counselor_email$1 = "Current Counselor Email";
|
|
1957
1959
|
var current_counselor_name$1 = "Current Counselor Name";
|
|
1958
1960
|
var select_counselor_change$1 = "Select Counselor Change";
|
|
1959
|
-
var
|
|
1960
|
-
var
|
|
1961
|
-
var
|
|
1962
|
-
var
|
|
1961
|
+
var current_support_teacher_name$1 = "Current Support Teacher Name";
|
|
1962
|
+
var current_support_teacher_email$1 = "Current Support Teacher Email";
|
|
1963
|
+
var remove_support_teacher$1 = "Remove Support Teacher";
|
|
1964
|
+
var select_support_teacher_change$1 = "Select Support Teacher Change";
|
|
1963
1965
|
var filter_calendar$1 = "Filter calendar";
|
|
1964
1966
|
var average_student_safety$1 = "Average Student Safety";
|
|
1965
1967
|
var is_active$1 = "Is Active";
|
|
@@ -2611,9 +2613,10 @@ var lang_uk = {
|
|
|
2611
2613
|
new_survey: new_survey$1,
|
|
2612
2614
|
assign_counselor: assign_counselor$1,
|
|
2613
2615
|
select_counselor: select_counselor$1,
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2616
|
+
select_support_teacher: select_support_teacher$1,
|
|
2617
|
+
assign_support_teacher: assign_support_teacher$1,
|
|
2618
|
+
switch_support_teacher: switch_support_teacher$1,
|
|
2619
|
+
support_teacher_name: support_teacher_name$1,
|
|
2617
2620
|
user_for_question: user_for_question$1,
|
|
2618
2621
|
requested_reflection: requested_reflection$1,
|
|
2619
2622
|
request_class_reflection: request_class_reflection$1,
|
|
@@ -2624,10 +2627,10 @@ var lang_uk = {
|
|
|
2624
2627
|
current_counselor_email: current_counselor_email$1,
|
|
2625
2628
|
current_counselor_name: current_counselor_name$1,
|
|
2626
2629
|
select_counselor_change: select_counselor_change$1,
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2630
|
+
current_support_teacher_name: current_support_teacher_name$1,
|
|
2631
|
+
current_support_teacher_email: current_support_teacher_email$1,
|
|
2632
|
+
remove_support_teacher: remove_support_teacher$1,
|
|
2633
|
+
select_support_teacher_change: select_support_teacher_change$1,
|
|
2631
2634
|
filter_calendar: filter_calendar$1,
|
|
2632
2635
|
average_student_safety: average_student_safety$1,
|
|
2633
2636
|
is_active: is_active$1,
|
|
@@ -9189,6 +9192,17 @@ var reduxLogger = createCommonjsModule(function (module, exports) {
|
|
|
9189
9192
|
|
|
9190
9193
|
var logger = unwrapExports(reduxLogger);
|
|
9191
9194
|
|
|
9195
|
+
/**
|
|
9196
|
+
* Adapted from React: https://github.com/facebook/react/blob/master/packages/shared/formatProdErrorMessage.js
|
|
9197
|
+
*
|
|
9198
|
+
* Do not require this module directly! Use normal throw error calls. These messages will be replaced with error codes
|
|
9199
|
+
* during build.
|
|
9200
|
+
* @param {number} code
|
|
9201
|
+
*/
|
|
9202
|
+
function formatProdErrorMessage(code) {
|
|
9203
|
+
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. ';
|
|
9204
|
+
}
|
|
9205
|
+
|
|
9192
9206
|
/**
|
|
9193
9207
|
* These are private action types reserved by Redux.
|
|
9194
9208
|
* For any unknown actions, you must return the current state.
|
|
@@ -9222,6 +9236,65 @@ function isPlainObject(obj) {
|
|
|
9222
9236
|
return Object.getPrototypeOf(obj) === proto;
|
|
9223
9237
|
}
|
|
9224
9238
|
|
|
9239
|
+
// Inlined / shortened version of `kindOf` from https://github.com/jonschlinkert/kind-of
|
|
9240
|
+
function miniKindOf(val) {
|
|
9241
|
+
if (val === void 0) return 'undefined';
|
|
9242
|
+
if (val === null) return 'null';
|
|
9243
|
+
var type = typeof val;
|
|
9244
|
+
|
|
9245
|
+
switch (type) {
|
|
9246
|
+
case 'boolean':
|
|
9247
|
+
case 'string':
|
|
9248
|
+
case 'number':
|
|
9249
|
+
case 'symbol':
|
|
9250
|
+
case 'function':
|
|
9251
|
+
{
|
|
9252
|
+
return type;
|
|
9253
|
+
}
|
|
9254
|
+
}
|
|
9255
|
+
|
|
9256
|
+
if (Array.isArray(val)) return 'array';
|
|
9257
|
+
if (isDate(val)) return 'date';
|
|
9258
|
+
if (isError(val)) return 'error';
|
|
9259
|
+
var constructorName = ctorName(val);
|
|
9260
|
+
|
|
9261
|
+
switch (constructorName) {
|
|
9262
|
+
case 'Symbol':
|
|
9263
|
+
case 'Promise':
|
|
9264
|
+
case 'WeakMap':
|
|
9265
|
+
case 'WeakSet':
|
|
9266
|
+
case 'Map':
|
|
9267
|
+
case 'Set':
|
|
9268
|
+
return constructorName;
|
|
9269
|
+
} // other
|
|
9270
|
+
|
|
9271
|
+
|
|
9272
|
+
return type.slice(8, -1).toLowerCase().replace(/\s/g, '');
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
function ctorName(val) {
|
|
9276
|
+
return typeof val.constructor === 'function' ? val.constructor.name : null;
|
|
9277
|
+
}
|
|
9278
|
+
|
|
9279
|
+
function isError(val) {
|
|
9280
|
+
return val instanceof Error || typeof val.message === 'string' && val.constructor && typeof val.constructor.stackTraceLimit === 'number';
|
|
9281
|
+
}
|
|
9282
|
+
|
|
9283
|
+
function isDate(val) {
|
|
9284
|
+
if (val instanceof Date) return true;
|
|
9285
|
+
return typeof val.toDateString === 'function' && typeof val.getDate === 'function' && typeof val.setDate === 'function';
|
|
9286
|
+
}
|
|
9287
|
+
|
|
9288
|
+
function kindOf(val) {
|
|
9289
|
+
var typeOfVal = typeof val;
|
|
9290
|
+
|
|
9291
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
9292
|
+
typeOfVal = miniKindOf(val);
|
|
9293
|
+
}
|
|
9294
|
+
|
|
9295
|
+
return typeOfVal;
|
|
9296
|
+
}
|
|
9297
|
+
|
|
9225
9298
|
/**
|
|
9226
9299
|
* Prints a warning in the console if it exists.
|
|
9227
9300
|
*
|
|
@@ -9245,12 +9318,6 @@ function warning(message) {
|
|
|
9245
9318
|
|
|
9246
9319
|
}
|
|
9247
9320
|
|
|
9248
|
-
function getUndefinedStateErrorMessage(key, action) {
|
|
9249
|
-
var actionType = action && action.type;
|
|
9250
|
-
var actionDescription = actionType && "action \"" + String(actionType) + "\"" || 'an action';
|
|
9251
|
-
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.";
|
|
9252
|
-
}
|
|
9253
|
-
|
|
9254
9321
|
function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, unexpectedKeyCache) {
|
|
9255
9322
|
var reducerKeys = Object.keys(reducers);
|
|
9256
9323
|
var argumentName = action && action.type === ActionTypes.INIT ? 'preloadedState argument passed to createStore' : 'previous state received by the reducer';
|
|
@@ -9260,7 +9327,7 @@ function getUnexpectedStateShapeWarningMessage(inputState, reducers, action, une
|
|
|
9260
9327
|
}
|
|
9261
9328
|
|
|
9262
9329
|
if (!isPlainObject(inputState)) {
|
|
9263
|
-
return "The " + argumentName + " has unexpected type of \"" +
|
|
9330
|
+
return "The " + argumentName + " has unexpected type of \"" + kindOf(inputState) + "\". Expected argument to be an object with the following " + ("keys: \"" + reducerKeys.join('", "') + "\"");
|
|
9264
9331
|
}
|
|
9265
9332
|
|
|
9266
9333
|
var unexpectedKeys = Object.keys(inputState).filter(function (key) {
|
|
@@ -9284,13 +9351,13 @@ function assertReducerShape(reducers) {
|
|
|
9284
9351
|
});
|
|
9285
9352
|
|
|
9286
9353
|
if (typeof initialState === 'undefined') {
|
|
9287
|
-
throw new Error("
|
|
9354
|
+
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.");
|
|
9288
9355
|
}
|
|
9289
9356
|
|
|
9290
9357
|
if (typeof reducer(undefined, {
|
|
9291
9358
|
type: ActionTypes.PROBE_UNKNOWN_ACTION()
|
|
9292
9359
|
}) === 'undefined') {
|
|
9293
|
-
throw new Error("
|
|
9360
|
+
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.");
|
|
9294
9361
|
}
|
|
9295
9362
|
});
|
|
9296
9363
|
}
|
|
@@ -9374,8 +9441,8 @@ function combineReducers(reducers) {
|
|
|
9374
9441
|
var nextStateForKey = reducer(previousStateForKey, action);
|
|
9375
9442
|
|
|
9376
9443
|
if (typeof nextStateForKey === 'undefined') {
|
|
9377
|
-
var
|
|
9378
|
-
throw new Error(
|
|
9444
|
+
var actionType = action && action.type;
|
|
9445
|
+
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.");
|
|
9379
9446
|
}
|
|
9380
9447
|
|
|
9381
9448
|
nextState[_key] = nextStateForKey;
|
|
@@ -9387,17 +9454,6 @@ function combineReducers(reducers) {
|
|
|
9387
9454
|
};
|
|
9388
9455
|
}
|
|
9389
9456
|
|
|
9390
|
-
/*
|
|
9391
|
-
* This is a dummy function to check if the function name has been altered by minification.
|
|
9392
|
-
* If the function has been minified and NODE_ENV !== 'production', warn the user.
|
|
9393
|
-
*/
|
|
9394
|
-
|
|
9395
|
-
function isCrushed() {}
|
|
9396
|
-
|
|
9397
|
-
if (process.env.NODE_ENV !== 'production' && typeof isCrushed.name === 'string' && isCrushed.name !== 'isCrushed') {
|
|
9398
|
-
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.');
|
|
9399
|
-
}
|
|
9400
|
-
|
|
9401
9457
|
var _localStorage$getItem;
|
|
9402
9458
|
var initialState = {
|
|
9403
9459
|
sidebarShow: "responsive",
|