mario-education 2.4.553-feedback → 2.4.554-feedback
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
|
@@ -1395,7 +1395,7 @@ var FILTER_NAME;
|
|
|
1395
1395
|
|
|
1396
1396
|
var SMALL_FONT_DEFAULT = 12;
|
|
1397
1397
|
var LARGE_FONT_DEFAULT = 20;
|
|
1398
|
-
var studentGrades = ["All Grades", "K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
|
|
1398
|
+
var studentGrades = ["All Grades", "K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"];
|
|
1399
1399
|
var isSaisSchool = window.location.hostname.includes('sais');
|
|
1400
1400
|
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
1401
1401
|
var stringOrderIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M9.00002 19.6153C8.55585 19.6153 8.1756 19.4571 7.85927 19.1408C7.54293 18.8244 7.38477 18.4442 7.38477 18C7.38477 17.5558 7.54293 17.1756 7.85927 16.8593C8.1756 16.5429 8.55585 16.3848 9.00002 16.3848C9.44418 16.3848 9.82443 16.5429 10.1408 16.8593C10.4571 17.1756 10.6153 17.5558 10.6153 18C10.6153 18.4442 10.4571 18.8244 10.1408 19.1408C9.82443 19.4571 9.44418 19.6153 9.00002 19.6153ZM15 19.6153C14.5558 19.6153 14.1756 19.4571 13.8593 19.1408C13.5429 18.8244 13.3848 18.4442 13.3848 18C13.3848 17.5558 13.5429 17.1756 13.8593 16.8593C14.1756 16.5429 14.5558 16.3848 15 16.3848C15.4442 16.3848 15.8244 16.5429 16.1408 16.8593C16.4571 17.1756 16.6153 17.5558 16.6153 18C16.6153 18.4442 16.4571 18.8244 16.1408 19.1408C15.8244 19.4571 15.4442 19.6153 15 19.6153ZM9.00002 13.6153C8.55585 13.6153 8.1756 13.4571 7.85927 13.1408C7.54293 12.8244 7.38477 12.4442 7.38477 12C7.38477 11.5558 7.54293 11.1756 7.85927 10.8593C8.1756 10.5429 8.55585 10.3848 9.00002 10.3848C9.44418 10.3848 9.82443 10.5429 10.1408 10.8593C10.4571 11.1756 10.6153 11.5558 10.6153 12C10.6153 12.4442 10.4571 12.8244 10.1408 13.1408C9.82443 13.4571 9.44418 13.6153 9.00002 13.6153ZM15 13.6153C14.5558 13.6153 14.1756 13.4571 13.8593 13.1408C13.5429 12.8244 13.3848 12.4442 13.3848 12C13.3848 11.5558 13.5429 11.1756 13.8593 10.8593C14.1756 10.5429 14.5558 10.3848 15 10.3848C15.4442 10.3848 15.8244 10.5429 16.1408 10.8593C16.4571 11.1756 16.6153 11.5558 16.6153 12C16.6153 12.4442 16.4571 12.8244 16.1408 13.1408C15.8244 13.4571 15.4442 13.6153 15 13.6153ZM9.00002 7.61526C8.55585 7.61526 8.1756 7.4571 7.85927 7.14077C7.54293 6.82443 7.38477 6.44418 7.38477 6.00002C7.38477 5.55585 7.54293 5.1756 7.85927 4.85927C8.1756 4.54293 8.55585 4.38477 9.00002 4.38477C9.44418 4.38477 9.82443 4.54293 10.1408 4.85927C10.4571 5.1756 10.6153 5.55585 10.6153 6.00002C10.6153 6.44418 10.4571 6.82443 10.1408 7.14077C9.82443 7.4571 9.44418 7.61526 9.00002 7.61526ZM15 7.61526C14.5558 7.61526 14.1756 7.4571 13.8593 7.14077C13.5429 6.82443 13.3848 6.44418 13.3848 6.00002C13.3848 5.55585 13.5429 5.1756 13.8593 4.85927C14.1756 4.54293 14.5558 4.38477 15 4.38477C15.4442 4.38477 15.8244 4.54293 16.1408 4.85927C16.4571 5.1756 16.6153 5.55585 16.6153 6.00002C16.6153 6.44418 16.4571 6.82443 16.1408 7.14077C15.8244 7.4571 15.4442 7.61526 15 7.61526Z\" fill=\"#D3D3D3\" />\n </svg>";
|
|
@@ -29150,7 +29150,7 @@ var INITIAL_ACTIVITY_FRIENDS = {
|
|
|
29150
29150
|
var LEARNING_STRATEGY_INIT = {
|
|
29151
29151
|
learningStrategies: []
|
|
29152
29152
|
};
|
|
29153
|
-
var GRAGE_DEFAULT = ["K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"].concat(isSaisSchool ? ["PCS"] : []);
|
|
29153
|
+
var GRAGE_DEFAULT = ["K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"].concat(isSaisSchool ? ["PCS"] : []);
|
|
29154
29154
|
var INITIAL_AGE_OF_STUDENT = {
|
|
29155
29155
|
ageOfFeMaleStudent: {
|
|
29156
29156
|
nineToTwelve: 0,
|
|
@@ -32295,8 +32295,8 @@ var FLAG_TYPES;
|
|
|
32295
32295
|
FLAG_TYPES[FLAG_TYPES["GREEN"] = 2] = "GREEN";
|
|
32296
32296
|
})(FLAG_TYPES || (FLAG_TYPES = {}));
|
|
32297
32297
|
|
|
32298
|
-
var GRAGE_DEFAULT$1 = ["K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"].concat(isSaisSchool ? ["PCS"] : []);
|
|
32299
|
-
var GRADE_DEFAULT_SURVEY = ['All', "K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"].concat(isSaisSchool ? ["PCS"] : []);
|
|
32298
|
+
var GRAGE_DEFAULT$1 = ["K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"].concat(isSaisSchool ? ["PCS"] : []);
|
|
32299
|
+
var GRADE_DEFAULT_SURVEY = ['All', "K", "G", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13"].concat(isSaisSchool ? ["PCS"] : []);
|
|
32300
32300
|
var GRADE_SURVEY = [{
|
|
32301
32301
|
label: "All",
|
|
32302
32302
|
value: ''
|
|
@@ -48063,7 +48063,8 @@ var StudentItemSelector = function StudentItemSelector(_ref) {
|
|
|
48063
48063
|
_ref$placeholder = _ref.placeholder,
|
|
48064
48064
|
placeholder = _ref$placeholder === void 0 ? "Search student" : _ref$placeholder,
|
|
48065
48065
|
isDeleted = _ref.isDeleted,
|
|
48066
|
-
connectionString = _ref.connectionString
|
|
48066
|
+
connectionString = _ref.connectionString,
|
|
48067
|
+
pageSize = _ref.pageSize;
|
|
48067
48068
|
var dispatch = reactRedux.useDispatch();
|
|
48068
48069
|
|
|
48069
48070
|
var _useState = React.useState([]),
|
|
@@ -48099,7 +48100,7 @@ var StudentItemSelector = function StudentItemSelector(_ref) {
|
|
|
48099
48100
|
} else {
|
|
48100
48101
|
var filters = {
|
|
48101
48102
|
currentPage: 1,
|
|
48102
|
-
pageSize: 100
|
|
48103
|
+
pageSize: pageSize != null ? pageSize : 100
|
|
48103
48104
|
};
|
|
48104
48105
|
return Promise.resolve(get$u(filters)).then(function (res) {
|
|
48105
48106
|
var _res$data2;
|
|
@@ -48127,10 +48128,10 @@ var StudentItemSelector = function StudentItemSelector(_ref) {
|
|
|
48127
48128
|
} catch (e) {
|
|
48128
48129
|
return Promise.reject(e);
|
|
48129
48130
|
}
|
|
48130
|
-
}, [teacherUserId, connectionString]);
|
|
48131
|
+
}, [teacherUserId, connectionString, pageSize]);
|
|
48131
48132
|
React.useEffect(function () {
|
|
48132
48133
|
loadData();
|
|
48133
|
-
}, [teacherUserId, connectionString]);
|
|
48134
|
+
}, [teacherUserId, connectionString, pageSize]);
|
|
48134
48135
|
var options = value && studentDefault ? [studentDefault] : students.filter(function (student) {
|
|
48135
48136
|
return !externalStudentIds || externalStudentIds && !externalStudentIds.includes(student.studentId);
|
|
48136
48137
|
}).map(function (student) {
|
|
@@ -75735,7 +75736,8 @@ var SyncData = function SyncData() {
|
|
|
75735
75736
|
placeholder: t("type_2_characters_to_search"),
|
|
75736
75737
|
onChange: function onChange(e) {
|
|
75737
75738
|
setFromUser(e);
|
|
75738
|
-
}
|
|
75739
|
+
},
|
|
75740
|
+
pageSize: 10000
|
|
75739
75741
|
})), React__default.createElement(core$1.Grid, {
|
|
75740
75742
|
item: true,
|
|
75741
75743
|
xs: 6,
|
|
@@ -75747,7 +75749,8 @@ var SyncData = function SyncData() {
|
|
|
75747
75749
|
placeholder: t("type_2_characters_to_search"),
|
|
75748
75750
|
onChange: function onChange(e) {
|
|
75749
75751
|
setToUser(e);
|
|
75750
|
-
}
|
|
75752
|
+
},
|
|
75753
|
+
pageSize: 10000
|
|
75751
75754
|
}))), React__default.createElement(reactstrap.Button, {
|
|
75752
75755
|
hidden: !fromUser || !toUser || !schoolSelected,
|
|
75753
75756
|
onClick: function onClick() {
|