mario-teacher-student-client 2.0.0 → 2.0.1

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.
@@ -17,5 +17,6 @@ declare const useUpComing: () => {
17
17
  nextSession: any;
18
18
  nextTimeMeeting: () => Promise<void>;
19
19
  getStudentSelector: () => Promise<void>;
20
+ studentNameReq: string | null;
20
21
  };
21
22
  export default useUpComing;
@@ -20,5 +20,6 @@ declare const useUpComing: () => {
20
20
  getAllNoteConference: (sessionId: any) => Promise<void>;
21
21
  updateConferenceRubricPrivateNote: (privateNote: any, conferenceId: any) => Promise<void>;
22
22
  deleteNoteConference: (noteId: any, sessionId: any) => Promise<void>;
23
+ studentNameReq: string | null;
23
24
  };
24
25
  export default useUpComing;
package/dist/index.js CHANGED
@@ -1797,7 +1797,8 @@ var useUpComing = function useUpComing() {
1797
1797
  createConferenceSingleNote: createConferenceSingleNote,
1798
1798
  getAllNoteConference: getAllNoteConference,
1799
1799
  updateConferenceRubricPrivateNote: updateConferenceRubricPrivateNote,
1800
- deleteNoteConference: deleteNoteConference
1800
+ deleteNoteConference: deleteNoteConference,
1801
+ studentNameReq: studentNameReq
1801
1802
  };
1802
1803
  };
1803
1804
 
@@ -2211,7 +2212,8 @@ var UpComing = function UpComing() {
2211
2212
  filters = _useUpComing.filters,
2212
2213
  changeFilters = _useUpComing.changeFilters,
2213
2214
  nextSession = _useUpComing.nextSession,
2214
- changRouteQuestion = _useUpComing.changRouteQuestion;
2215
+ changRouteQuestion = _useUpComing.changRouteQuestion,
2216
+ studentNameReq = _useUpComing.studentNameReq;
2215
2217
 
2216
2218
  var handleSort = function handleSort(e) {
2217
2219
  if (e === "StartTime") {
@@ -2392,7 +2394,8 @@ var UpComing = function UpComing() {
2392
2394
  "aria-label": "search"
2393
2395
  },
2394
2396
  onChange: handleChangeInputSearch,
2395
- ref: inputSearch
2397
+ ref: inputSearch,
2398
+ defaultValue: studentNameReq != null ? studentNameReq : ""
2396
2399
  }))), isTeacher && screenWidth <= 600 && React__default.createElement(core.Grid, {
2397
2400
  item: true,
2398
2401
  className: "" + stylesOto["gr-action"]
@@ -2409,7 +2412,8 @@ var UpComing = function UpComing() {
2409
2412
  "aria-label": "search"
2410
2413
  },
2411
2414
  onChange: handleChangeInputSearch,
2412
- ref: inputSearch
2415
+ ref: inputSearch,
2416
+ defaultValue: studentNameReq != null ? studentNameReq : ""
2413
2417
  })), React__default.createElement("div", {
2414
2418
  className: stylesOto["gr-date-time-mobile"] + " icon-custom"
2415
2419
  }, React__default.createElement(EventIcon, {
@@ -3951,7 +3955,8 @@ var useUpComing$1 = function useUpComing() {
3951
3955
  updatePrivateNote: updatePrivateNote,
3952
3956
  nextSession: nextSession,
3953
3957
  nextTimeMeeting: nextTimeMeeting,
3954
- getStudentSelector: getStudentSelector
3958
+ getStudentSelector: getStudentSelector,
3959
+ studentNameReq: studentNameReq
3955
3960
  };
3956
3961
  };
3957
3962
 
@@ -4164,7 +4169,8 @@ var UpComing$1 = function UpComing() {
4164
4169
  changeFilters = _useUpComing.changeFilters,
4165
4170
  nextSession = _useUpComing.nextSession,
4166
4171
  nextTimeMeeting = _useUpComing.nextTimeMeeting,
4167
- changRouteQuestion = _useUpComing.changRouteQuestion;
4172
+ changRouteQuestion = _useUpComing.changRouteQuestion,
4173
+ studentNameReq = _useUpComing.studentNameReq;
4168
4174
 
4169
4175
  var renderUrlImage = function renderUrlImage(row) {
4170
4176
  var url = isTeacher ? row.studentAvatar : row.teacherAvatar;
@@ -4340,7 +4346,8 @@ var UpComing$1 = function UpComing() {
4340
4346
  "aria-label": "search"
4341
4347
  },
4342
4348
  onChange: handleChangeInputSearch,
4343
- ref: inputSearch
4349
+ ref: inputSearch,
4350
+ defaultValue: studentNameReq != null ? studentNameReq : ""
4344
4351
  }))), isTeacher && screenWidth <= 600 && React__default.createElement(core.Grid, {
4345
4352
  item: true,
4346
4353
  className: "" + styles$1["gr-action"]
@@ -4354,7 +4361,8 @@ var UpComing$1 = function UpComing() {
4354
4361
  placeholder: "Search Student",
4355
4362
  className: "" + styles$1["inputInput"],
4356
4363
  onChange: handleChangeInputSearch,
4357
- ref: inputSearch
4364
+ ref: inputSearch,
4365
+ defaultValue: studentNameReq != null ? studentNameReq : ""
4358
4366
  })), React__default.createElement("div", {
4359
4367
  className: "" + styles$1["gr-date-time-mobile"]
4360
4368
  }, React__default.createElement(EventIcon, {