mario-teacher-student-client 2.1.121-admin → 2.1.122-admin
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/containers/Home/constants/constants.d.ts +1 -0
- package/dist/index.css +16 -1
- package/dist/index.js +30 -16
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +30 -16
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const daily_motivation: string[];
|
package/dist/index.css
CHANGED
|
@@ -1052,7 +1052,22 @@ p._1YLGi {
|
|
|
1052
1052
|
margin-top: 20px; } }
|
|
1053
1053
|
@media (min-width: 1024px) {
|
|
1054
1054
|
._1XobX {
|
|
1055
|
-
width: 30%;
|
|
1055
|
+
width: 30%;
|
|
1056
|
+
margin-top: 0px; } }
|
|
1057
|
+
._1XobX ._2_xCU {
|
|
1058
|
+
width: 100%;
|
|
1059
|
+
padding: 20px;
|
|
1060
|
+
background: #FFFFFF;
|
|
1061
|
+
border-radius: 10px;
|
|
1062
|
+
margin-bottom: 15px; }
|
|
1063
|
+
._1XobX ._2_xCU h5._2709n {
|
|
1064
|
+
font-size: 18px;
|
|
1065
|
+
font-weight: 700; }
|
|
1066
|
+
._1XobX ._2_xCU p._2_Nk1 {
|
|
1067
|
+
font-size: 16px;
|
|
1068
|
+
font-weight: 700;
|
|
1069
|
+
color: #336DDA;
|
|
1070
|
+
margin-bottom: 0; }
|
|
1056
1071
|
|
|
1057
1072
|
._1gBbm ._3DN3c, ._1gBbm ._-NEIR, ._1gBbm ._UlvOc > ._1XZWI > div > p {
|
|
1058
1073
|
font-size: 20px !important; }
|
package/dist/index.js
CHANGED
|
@@ -1708,7 +1708,7 @@ var MainLayout = function MainLayout(_ref) {
|
|
|
1708
1708
|
}));
|
|
1709
1709
|
};
|
|
1710
1710
|
|
|
1711
|
-
var home = {"title-home":"_28pc4","to-do-today":"_1UG9Q","show-calendar":"_2W0R7","today-schedule":"_34JC1","box-schedule":"_UlvOc","action-point":"_1rK_Q","show-arrange-today":"_2pCuD","box":"_ppOfL","title-box":"_3DN3c","content-box":"_2X2qR","title-today-schedule":"_-NEIR","time-line-item":"_po9t4","time":"_1ickv","time-line":"_2y9cV","event":"_2slF0","event-text":"_anBzU","event-red":"_3Tk6m","full-calendar":"_26M4Q","current-time":"_23CKo","current-date":"_1ehp6","current-weekday":"_3Zq5B","action-points":"_10JrS","schedule-item":"_1XZWI","item-time":"_1dn2z","right-content":"_1XobX","font-large":"_1gBbm","font-small":"_3gyKR"};
|
|
1711
|
+
var home = {"title-home":"_28pc4","to-do-today":"_1UG9Q","show-calendar":"_2W0R7","today-schedule":"_34JC1","box-schedule":"_UlvOc","action-point":"_1rK_Q","show-arrange-today":"_2pCuD","box":"_ppOfL","title-box":"_3DN3c","content-box":"_2X2qR","title-today-schedule":"_-NEIR","time-line-item":"_po9t4","time":"_1ickv","time-line":"_2y9cV","event":"_2slF0","event-text":"_anBzU","event-red":"_3Tk6m","full-calendar":"_26M4Q","current-time":"_23CKo","current-date":"_1ehp6","current-weekday":"_3Zq5B","action-points":"_10JrS","schedule-item":"_1XZWI","item-time":"_1dn2z","right-content":"_1XobX","motivation-item":"_2_xCU","movivation-head":"_2709n","movivation-description":"_2_Nk1","font-large":"_1gBbm","font-small":"_3gyKR"};
|
|
1712
1712
|
|
|
1713
1713
|
var EVENT_CALENDAR = marioCore.BASE_URL + "/api/GoogleCalendar/eventCalendarDashboard";
|
|
1714
1714
|
var TOTAL_CARD = marioCore.BASE_URL + "/api/GoogleCalendar/eventTotalCardDashboard";
|
|
@@ -3342,6 +3342,8 @@ var useActionPointsDB = function useActionPointsDB() {
|
|
|
3342
3342
|
};
|
|
3343
3343
|
};
|
|
3344
3344
|
|
|
3345
|
+
var daily_motivation = ["I am appreciated. I am important.", "My voice matters.", "Wonderful things are going to happen to me.", "I am free to make my own choices.", "My thoughts and feelings are important.", "The world is full of endless possibilities.", "I can do tough things.", "It’s okay to make mistakes.", "The more you give away the happier you become.", "It’s not what happens to you, but how you react to it that matters.", "You always pass failure on the way to success.", "Make each day your masterpiece.", "No one is perfect – that’s why pencils have erasers.", "Never waste a minute thinking of anyone you don’t like.", "You can steer yourself any direction you choose.", "The more that you read, the more things you will know. The more that you learn, the more places you’ll go.", "Anything is possible. Anything can be.", "Winning doesn’t always mean being first. Winning means you’re doing better than you’ve done before.", "Be silly, be honest, be kind.", "Life has no remote….get up and change it yourself!", "Today is the first day of the rest of your life.", "Fall seven times, stand up eight.", "We grow great by dreams.", "Life itself is the most wonderful fairy tale.", "Always keep a positive mindset. It will improve your outlook on the world.", "Try to be a rainbow in someone’s cloud.", "We must be the change we want to see.", "The time is always right to do what is right."];
|
|
3346
|
+
|
|
3345
3347
|
var Dashboard = function Dashboard() {
|
|
3346
3348
|
var user = reactRedux.useSelector(function (state) {
|
|
3347
3349
|
return state.common.user;
|
|
@@ -3396,6 +3398,7 @@ var Dashboard = function Dashboard() {
|
|
|
3396
3398
|
setCurrentYear(parseInt(newDate.format('YYYY')));
|
|
3397
3399
|
};
|
|
3398
3400
|
|
|
3401
|
+
var random = Math.floor(Math.random() * daily_motivation.length);
|
|
3399
3402
|
return React__default.createElement(core.Grid, {
|
|
3400
3403
|
className: "dashboard-page " + home[classFontSize]
|
|
3401
3404
|
}, React__default.createElement(core.Grid, {
|
|
@@ -3451,6 +3454,12 @@ var Dashboard = function Dashboard() {
|
|
|
3451
3454
|
}))), React__default.createElement("div", {
|
|
3452
3455
|
className: "" + home["right-content"]
|
|
3453
3456
|
}, React__default.createElement("div", {
|
|
3457
|
+
className: "" + home["motivation-item"]
|
|
3458
|
+
}, React__default.createElement("h5", {
|
|
3459
|
+
className: "" + home["movivation-head"]
|
|
3460
|
+
}, "\uD83D\uDCA1 Your Daily Motivation"), React__default.createElement("p", {
|
|
3461
|
+
className: "" + home["movivation-description"]
|
|
3462
|
+
}, daily_motivation[random])), React__default.createElement("div", {
|
|
3454
3463
|
className: "" + home["today-schedule"]
|
|
3455
3464
|
}, React__default.createElement("p", {
|
|
3456
3465
|
className: "" + home["title-today-schedule"]
|
|
@@ -19641,20 +19650,22 @@ var useChartOneToOne = function useChartOneToOne(studentId, gradeFilter) {
|
|
|
19641
19650
|
getData(timeStart, timeEnd, gradeFilter || []);
|
|
19642
19651
|
}, [timeStart, timeEnd, gradeFilter]);
|
|
19643
19652
|
React.useEffect(function () {
|
|
19644
|
-
if (
|
|
19645
|
-
|
|
19646
|
-
|
|
19647
|
-
|
|
19648
|
-
|
|
19649
|
-
|
|
19650
|
-
|
|
19653
|
+
if (dataConvertedOneToOne.length > 0) {
|
|
19654
|
+
if (activeColumnOneToOne.filter(function (r) {
|
|
19655
|
+
return r == true;
|
|
19656
|
+
}).length == 0 || activeColumnOneToOne.length != dataConvertedOneToOne.length) {
|
|
19657
|
+
setActiveColumnOneToOne([true].concat(dataConvertedOneToOne.map(function (_i) {
|
|
19658
|
+
return false;
|
|
19659
|
+
}).splice(0, dataConvertedOneToOne.length - 1)));
|
|
19660
|
+
}
|
|
19651
19661
|
|
|
19652
|
-
|
|
19653
|
-
|
|
19654
|
-
|
|
19655
|
-
|
|
19656
|
-
|
|
19657
|
-
|
|
19662
|
+
setAvgOneToOne(newAvgOneToOne === null || newAvgOneToOne === void 0 ? void 0 : newAvgOneToOne.map(function (_, index) {
|
|
19663
|
+
return activeColumnOneToOne[index] ? newAvgOneToOne[index] : 0;
|
|
19664
|
+
}));
|
|
19665
|
+
setSeriesOneToOne(newSeriesOneToOne === null || newSeriesOneToOne === void 0 ? void 0 : newSeriesOneToOne.filter(function (_, idx) {
|
|
19666
|
+
return activeColumnOneToOne[idx];
|
|
19667
|
+
}));
|
|
19668
|
+
}
|
|
19658
19669
|
}, [chartOneToOneData.overviewQuestionChoice]);
|
|
19659
19670
|
return {
|
|
19660
19671
|
chartOneToOneData: chartOneToOneData,
|
|
@@ -29542,6 +29553,7 @@ var TopLearningStrategy = function TopLearningStrategy(_ref) {
|
|
|
29542
29553
|
}, React__default.createElement("p", {
|
|
29543
29554
|
className: "" + styles$9["text"]
|
|
29544
29555
|
}, "To"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29556
|
+
minDate: timeStart || null,
|
|
29545
29557
|
inputVariant: "outlined",
|
|
29546
29558
|
format: "Do MMM YYYY",
|
|
29547
29559
|
id: "time-picker",
|
|
@@ -29628,6 +29640,7 @@ var BubbleChartCustom = function BubbleChartCustom(_ref) {
|
|
|
29628
29640
|
}, React__default.createElement("p", {
|
|
29629
29641
|
className: "" + styles$9["text"]
|
|
29630
29642
|
}, "To"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29643
|
+
minDate: timeStart || null,
|
|
29631
29644
|
inputVariant: "outlined",
|
|
29632
29645
|
format: "Do MMM YYYY",
|
|
29633
29646
|
id: "time-picker",
|
|
@@ -29907,6 +29920,7 @@ var ColumnChartAndPercent = function ColumnChartAndPercent(_ref) {
|
|
|
29907
29920
|
}, React__default.createElement("p", {
|
|
29908
29921
|
className: "" + styles$9["text"]
|
|
29909
29922
|
}, "To"), React__default.createElement(pickers.KeyboardDatePicker, {
|
|
29923
|
+
minDate: timeStart || null,
|
|
29910
29924
|
inputVariant: "outlined",
|
|
29911
29925
|
format: "Do MMM YYYY",
|
|
29912
29926
|
id: "time-picker",
|
|
@@ -30931,7 +30945,7 @@ var OneToOne = function OneToOne() {
|
|
|
30931
30945
|
className: "" + styles$b["row_type"]
|
|
30932
30946
|
}, React__default.createElement("div", {
|
|
30933
30947
|
className: styles$b["duration"] + " " + styles$b["request"]
|
|
30934
|
-
}, row !== null && row !== void 0 && row.isCreatedByTeacher ? "Teacher Request" : "Student Request"), !row.isEditSession && React__default.createElement(core.Button, {
|
|
30948
|
+
}, row !== null && row !== void 0 && row.isCreatedByTeacher ? "Teacher Request" : "Student Request"), !row.isEditSession && !row.isDone && React__default.createElement(core.Button, {
|
|
30935
30949
|
variant: "contained",
|
|
30936
30950
|
color: "primary",
|
|
30937
30951
|
disableElevation: true,
|
|
@@ -31882,7 +31896,7 @@ var Conferences = function Conferences() {
|
|
|
31882
31896
|
className: "" + styles$c["row_type"]
|
|
31883
31897
|
}, React__default.createElement("div", {
|
|
31884
31898
|
className: styles$c["duration"] + " " + styles$c["request"]
|
|
31885
|
-
}, !!row.finalScore ? row === null || row === void 0 ? void 0 : row.finalScore : ""), !row.isEditConference && React__default.createElement(core.Button, {
|
|
31899
|
+
}, !!row.finalScore ? row === null || row === void 0 ? void 0 : row.finalScore : ""), !row.isEditConference && !row.isDone && React__default.createElement(core.Button, {
|
|
31886
31900
|
variant: "contained",
|
|
31887
31901
|
color: "primary",
|
|
31888
31902
|
disableElevation: true,
|