mario-teacher-student-client 2.1.74-beta → 2.1.75-beta
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 +39 -13
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +39 -13
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21064,7 +21064,7 @@ var OneToOne = function OneToOne() {
|
|
|
21064
21064
|
marginLeft: "5px"
|
|
21065
21065
|
}
|
|
21066
21066
|
}) : ""))), React__default.createElement(core.TableBody, null, !!sessionData && (sessionData === null || sessionData === void 0 ? void 0 : (_sessionData$items = sessionData.items) === null || _sessionData$items === void 0 ? void 0 : _sessionData$items.length) > 0 ? sessionData === null || sessionData === void 0 ? void 0 : (_sessionData$items2 = sessionData.items) === null || _sessionData$items2 === void 0 ? void 0 : _sessionData$items2.map(function (row) {
|
|
21067
|
-
var _row$studentProfile, _row$studentProfile2, _row$studentProfile3, _row$studentProfile3$, _row$studentProfile4, _row$studentProfile5;
|
|
21067
|
+
var _row$studentProfile, _row$studentProfile2, _row$studentProfile3, _row$studentProfile3$, _row$studentProfile4, _row$studentProfile5, _row$studentProfile6, _row$studentProfile7;
|
|
21068
21068
|
|
|
21069
21069
|
var timeStart = marioCore.utcToLocalTime(row === null || row === void 0 ? void 0 : row.startTime, "Do MMMM yyyy - hh:mm A").toString();
|
|
21070
21070
|
var timeSplitArray = timeStart.split(" - ");
|
|
@@ -21089,7 +21089,7 @@ var OneToOne = function OneToOne() {
|
|
|
21089
21089
|
}), (row === null || row === void 0 ? void 0 : (_row$studentProfile3 = row.studentProfile) === null || _row$studentProfile3 === void 0 ? void 0 : (_row$studentProfile3$ = _row$studentProfile3.name) === null || _row$studentProfile3$ === void 0 ? void 0 : _row$studentProfile3$.length) > 12 ? (row === null || row === void 0 ? void 0 : (_row$studentProfile4 = row.studentProfile) === null || _row$studentProfile4 === void 0 ? void 0 : _row$studentProfile4.name).slice(0, 12).concat("...") : row === null || row === void 0 ? void 0 : (_row$studentProfile5 = row.studentProfile) === null || _row$studentProfile5 === void 0 ? void 0 : _row$studentProfile5.name), React__default.createElement(core.TableCell, {
|
|
21090
21090
|
align: "left",
|
|
21091
21091
|
className: "" + styles$c["row_grade"]
|
|
21092
|
-
}, !!(row !== null && row !== void 0 && row.gradeLevel) ? row === null || row === void 0 ? void 0 : row.gradeLevel : ""), React__default.createElement(core.TableCell, {
|
|
21092
|
+
}, !!(row !== null && row !== void 0 && (_row$studentProfile6 = row.studentProfile) !== null && _row$studentProfile6 !== void 0 && _row$studentProfile6.gradeLevel) ? row === null || row === void 0 ? void 0 : (_row$studentProfile7 = row.studentProfile) === null || _row$studentProfile7 === void 0 ? void 0 : _row$studentProfile7.gradeLevel : ""), React__default.createElement(core.TableCell, {
|
|
21093
21093
|
align: "left",
|
|
21094
21094
|
className: "" + styles$c["row_grade"]
|
|
21095
21095
|
}, row !== null && row !== void 0 && row.isDone ? React__default.createElement("div", {
|
|
@@ -21134,7 +21134,7 @@ var OneToOne = function OneToOne() {
|
|
|
21134
21134
|
}, React__default.createElement("div", {
|
|
21135
21135
|
className: "" + styles$c["list-title"]
|
|
21136
21136
|
}, "All"), !!sessionData && (sessionData === null || sessionData === void 0 ? void 0 : sessionData.items).length > 0 ? sessionData === null || sessionData === void 0 ? void 0 : (_sessionData$items3 = sessionData.items) === null || _sessionData$items3 === void 0 ? void 0 : _sessionData$items3.map(function (row) {
|
|
21137
|
-
var _row$
|
|
21137
|
+
var _row$studentProfile8, _row$studentProfile9, _row$studentProfile10;
|
|
21138
21138
|
|
|
21139
21139
|
var timeStart = marioCore.utcToLocalTime(row.startTime, "Do MMMM yyyy - hh:mm A").toString();
|
|
21140
21140
|
var timeSplitArray = timeStart.split(" - ");
|
|
@@ -21143,7 +21143,7 @@ var OneToOne = function OneToOne() {
|
|
|
21143
21143
|
}, React__default.createElement("div", {
|
|
21144
21144
|
className: "" + styles$c["avatar"]
|
|
21145
21145
|
}, React__default.createElement("img", {
|
|
21146
|
-
src: !!((_row$
|
|
21146
|
+
src: !!((_row$studentProfile8 = row.studentProfile) !== null && _row$studentProfile8 !== void 0 && _row$studentProfile8.avatar) ? marioCore.getFileUrl(row === null || row === void 0 ? void 0 : (_row$studentProfile9 = row.studentProfile) === null || _row$studentProfile9 === void 0 ? void 0 : _row$studentProfile9.avatar) : DEFAULT_USER_AVATAR$8,
|
|
21147
21147
|
alt: "",
|
|
21148
21148
|
className: "" + styles$c["avatar_user"]
|
|
21149
21149
|
})), React__default.createElement("div", {
|
|
@@ -21156,7 +21156,7 @@ var OneToOne = function OneToOne() {
|
|
|
21156
21156
|
className: "" + styles$c["time-Hours-Minute"]
|
|
21157
21157
|
}, " ", "-", " ", timeSplitArray[1]))), React__default.createElement("div", null, React__default.createElement("p", {
|
|
21158
21158
|
className: "" + styles$c["name"]
|
|
21159
|
-
}, row === null || row === void 0 ? void 0 : (_row$
|
|
21159
|
+
}, row === null || row === void 0 ? void 0 : (_row$studentProfile10 = row.studentProfile) === null || _row$studentProfile10 === void 0 ? void 0 : _row$studentProfile10.name), React__default.createElement("p", {
|
|
21160
21160
|
className: "" + styles$c["classes"]
|
|
21161
21161
|
}, !!(row !== null && row !== void 0 && row.gradeLevel) && (row === null || row === void 0 ? void 0 : row.gradeLevel)), React__default.createElement("div", {
|
|
21162
21162
|
style: {
|
|
@@ -21420,7 +21420,7 @@ var OneToOneConversation = function OneToOneConversation() {
|
|
|
21420
21420
|
marginLeft: "5px"
|
|
21421
21421
|
}
|
|
21422
21422
|
}) : ""))), React__default.createElement(core.TableBody, null, !!sessionData && (sessionData === null || sessionData === void 0 ? void 0 : (_sessionData$items = sessionData.items) === null || _sessionData$items === void 0 ? void 0 : _sessionData$items.length) > 0 ? sessionData === null || sessionData === void 0 ? void 0 : (_sessionData$items2 = sessionData.items) === null || _sessionData$items2 === void 0 ? void 0 : _sessionData$items2.map(function (row) {
|
|
21423
|
-
var _row$studentProfile, _row$studentProfile2, _row$studentProfile3, _row$studentProfile3$, _row$studentProfile4, _row$studentProfile5;
|
|
21423
|
+
var _row$studentProfile, _row$studentProfile2, _row$studentProfile3, _row$studentProfile3$, _row$studentProfile4, _row$studentProfile5, _row$studentProfile6, _row$studentProfile7;
|
|
21424
21424
|
|
|
21425
21425
|
var timeStart = marioCore.utcToLocalTime(row === null || row === void 0 ? void 0 : row.startTime, "Do MMMM yyyy - hh:mm A").toString();
|
|
21426
21426
|
var timeSplitArray = timeStart.split(" - ");
|
|
@@ -21445,7 +21445,7 @@ var OneToOneConversation = function OneToOneConversation() {
|
|
|
21445
21445
|
}), (row === null || row === void 0 ? void 0 : (_row$studentProfile3 = row.studentProfile) === null || _row$studentProfile3 === void 0 ? void 0 : (_row$studentProfile3$ = _row$studentProfile3.name) === null || _row$studentProfile3$ === void 0 ? void 0 : _row$studentProfile3$.length) > 12 ? (row === null || row === void 0 ? void 0 : (_row$studentProfile4 = row.studentProfile) === null || _row$studentProfile4 === void 0 ? void 0 : _row$studentProfile4.name).slice(0, 12).concat("...") : row === null || row === void 0 ? void 0 : (_row$studentProfile5 = row.studentProfile) === null || _row$studentProfile5 === void 0 ? void 0 : _row$studentProfile5.name), React__default.createElement(core.TableCell, {
|
|
21446
21446
|
align: "left",
|
|
21447
21447
|
className: "" + styles$c["row_grade"]
|
|
21448
|
-
}, !!(row !== null && row !== void 0 && row.gradeLevel) ? row === null || row === void 0 ? void 0 : row.gradeLevel : ""), React__default.createElement(core.TableCell, {
|
|
21448
|
+
}, !!(row !== null && row !== void 0 && (_row$studentProfile6 = row.studentProfile) !== null && _row$studentProfile6 !== void 0 && _row$studentProfile6.gradeLevel) ? row === null || row === void 0 ? void 0 : (_row$studentProfile7 = row.studentProfile) === null || _row$studentProfile7 === void 0 ? void 0 : _row$studentProfile7.gradeLevel : ""), React__default.createElement(core.TableCell, {
|
|
21449
21449
|
align: "left",
|
|
21450
21450
|
className: "" + styles$c["row_grade"]
|
|
21451
21451
|
}, row !== null && row !== void 0 && row.isDone ? React__default.createElement("div", {
|
|
@@ -21490,7 +21490,7 @@ var OneToOneConversation = function OneToOneConversation() {
|
|
|
21490
21490
|
}, React__default.createElement("div", {
|
|
21491
21491
|
className: "" + styles$c["list-title"]
|
|
21492
21492
|
}, "All"), !!sessionData && (sessionData === null || sessionData === void 0 ? void 0 : sessionData.items).length > 0 ? sessionData === null || sessionData === void 0 ? void 0 : (_sessionData$items3 = sessionData.items) === null || _sessionData$items3 === void 0 ? void 0 : _sessionData$items3.map(function (row) {
|
|
21493
|
-
var _row$
|
|
21493
|
+
var _row$studentProfile8, _row$studentProfile9, _row$studentProfile10;
|
|
21494
21494
|
|
|
21495
21495
|
var timeStart = marioCore.utcToLocalTime(row.startTime, "Do MMMM yyyy - hh:mm A").toString();
|
|
21496
21496
|
var timeSplitArray = timeStart.split(" - ");
|
|
@@ -21499,7 +21499,7 @@ var OneToOneConversation = function OneToOneConversation() {
|
|
|
21499
21499
|
}, React__default.createElement("div", {
|
|
21500
21500
|
className: "" + styles$c["avatar"]
|
|
21501
21501
|
}, React__default.createElement("img", {
|
|
21502
|
-
src: !!((_row$
|
|
21502
|
+
src: !!((_row$studentProfile8 = row.studentProfile) !== null && _row$studentProfile8 !== void 0 && _row$studentProfile8.avatar) ? marioCore.getFileUrl(row === null || row === void 0 ? void 0 : (_row$studentProfile9 = row.studentProfile) === null || _row$studentProfile9 === void 0 ? void 0 : _row$studentProfile9.avatar) : DEFAULT_USER_AVATAR$9,
|
|
21503
21503
|
alt: "",
|
|
21504
21504
|
className: "" + styles$c["avatar_user"]
|
|
21505
21505
|
})), React__default.createElement("div", {
|
|
@@ -21512,7 +21512,7 @@ var OneToOneConversation = function OneToOneConversation() {
|
|
|
21512
21512
|
className: "" + styles$c["time-Hours-Minute"]
|
|
21513
21513
|
}, " ", "-", " ", timeSplitArray[1]))), React__default.createElement("div", null, React__default.createElement("p", {
|
|
21514
21514
|
className: "" + styles$c["name"]
|
|
21515
|
-
}, row === null || row === void 0 ? void 0 : (_row$
|
|
21515
|
+
}, row === null || row === void 0 ? void 0 : (_row$studentProfile10 = row.studentProfile) === null || _row$studentProfile10 === void 0 ? void 0 : _row$studentProfile10.name), React__default.createElement("p", {
|
|
21516
21516
|
className: "" + styles$c["classes"]
|
|
21517
21517
|
}, !!(row !== null && row !== void 0 && row.gradeLevel) && (row === null || row === void 0 ? void 0 : row.gradeLevel)), React__default.createElement("div", {
|
|
21518
21518
|
style: {
|
|
@@ -54004,7 +54004,8 @@ var EditDetail = function EditDetail(props) {
|
|
|
54004
54004
|
valueText: values.name,
|
|
54005
54005
|
onChange: function onChange(value) {
|
|
54006
54006
|
setFieldValue("name", value);
|
|
54007
|
-
}
|
|
54007
|
+
},
|
|
54008
|
+
disabled: values.source !== "IEP" ? false : true
|
|
54008
54009
|
}), touched.name && errors.name && React__default.createElement(core.Typography, {
|
|
54009
54010
|
className: "" + styles$8["err-message"]
|
|
54010
54011
|
}, errors.name)), React__default.createElement(core.Grid, {
|
|
@@ -54245,6 +54246,7 @@ var EditCheckPoint = function EditCheckPoint(props) {
|
|
|
54245
54246
|
_touched.push({
|
|
54246
54247
|
text: false,
|
|
54247
54248
|
time: false,
|
|
54249
|
+
endTime: false,
|
|
54248
54250
|
status: false
|
|
54249
54251
|
});
|
|
54250
54252
|
}
|
|
@@ -54286,6 +54288,7 @@ var EditCheckPoint = function EditCheckPoint(props) {
|
|
|
54286
54288
|
items.push({
|
|
54287
54289
|
text: addValue,
|
|
54288
54290
|
time: null,
|
|
54291
|
+
endTime: null,
|
|
54289
54292
|
description: "",
|
|
54290
54293
|
status: "",
|
|
54291
54294
|
signatureCheckpoints: []
|
|
@@ -54309,6 +54312,7 @@ var EditCheckPoint = function EditCheckPoint(props) {
|
|
|
54309
54312
|
items.push({
|
|
54310
54313
|
text: "",
|
|
54311
54314
|
time: null,
|
|
54315
|
+
endTime: null,
|
|
54312
54316
|
description: "",
|
|
54313
54317
|
status: "",
|
|
54314
54318
|
signatureCheckpoints: []
|
|
@@ -54319,6 +54323,7 @@ var EditCheckPoint = function EditCheckPoint(props) {
|
|
|
54319
54323
|
var initialValuesSchema = yup.array().of(yup.object().shape({
|
|
54320
54324
|
text: yup.string().required("Title is required"),
|
|
54321
54325
|
time: yup.string().required("Time is required"),
|
|
54326
|
+
endTime: yup.string().required("End time is required"),
|
|
54322
54327
|
status: yup.string().required("Status is required")
|
|
54323
54328
|
}));
|
|
54324
54329
|
var screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
|
|
@@ -54421,13 +54426,33 @@ var EditCheckPoint = function EditCheckPoint(props) {
|
|
|
54421
54426
|
KeyboardButtonProps: {
|
|
54422
54427
|
"aria-label": "change date"
|
|
54423
54428
|
}
|
|
54424
|
-
})
|
|
54429
|
+
}), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
54430
|
+
fullWidth: true,
|
|
54431
|
+
inputVariant: "outlined",
|
|
54432
|
+
format: "Do MMM YYYY",
|
|
54433
|
+
margin: "normal",
|
|
54434
|
+
id: "date-picker-inline",
|
|
54435
|
+
label: "End Time",
|
|
54436
|
+
className: "" + styles$8["date-time"],
|
|
54437
|
+
value: i.endTime || null,
|
|
54438
|
+
onChange: function onChange(date) {
|
|
54439
|
+
return setFieldValue("[" + index + "]endTime", date || "");
|
|
54440
|
+
},
|
|
54441
|
+
onBlur: function onBlur() {
|
|
54442
|
+
setFieldValue("[" + index + "]endTime", i.endTime || "");
|
|
54443
|
+
},
|
|
54444
|
+
KeyboardButtonProps: {
|
|
54445
|
+
"aria-label": "change date"
|
|
54446
|
+
}
|
|
54447
|
+
})), React__default.createElement(core.Grid, {
|
|
54448
|
+
className: "" + styles$8["box-select"]
|
|
54449
|
+
}, React__default.createElement(InputComponent, {
|
|
54425
54450
|
name: "Description",
|
|
54426
54451
|
valueText: i.description,
|
|
54427
54452
|
onChange: function onChange(value) {
|
|
54428
54453
|
return setFieldValue("[" + index + "]description", value);
|
|
54429
54454
|
}
|
|
54430
|
-
}), React__default.createElement(core.Grid, {
|
|
54455
|
+
})), React__default.createElement(core.Grid, {
|
|
54431
54456
|
className: "" + styles$8["box-select"]
|
|
54432
54457
|
}, React__default.createElement(Autocomplete, {
|
|
54433
54458
|
id: "combo-box-demo-" + index,
|
|
@@ -54501,6 +54526,7 @@ var EditCheckPoint = function EditCheckPoint(props) {
|
|
|
54501
54526
|
})), React__default.createElement(core.Grid, null, React__default.createElement(core.TextField, {
|
|
54502
54527
|
multiline: true,
|
|
54503
54528
|
fullWidth: true,
|
|
54529
|
+
disabled: !!getOneData && getOneData.source !== "IEP" ? false : true,
|
|
54504
54530
|
value: addValue,
|
|
54505
54531
|
variant: "outlined",
|
|
54506
54532
|
onChange: function onChange(event) {
|