mario-teacher-student-client 2.2.4-beta → 2.2.5-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.css CHANGED
@@ -15000,7 +15000,8 @@ h4._3lNz0 {
15000
15000
  .__12h2 {
15001
15001
  padding: 16px;
15002
15002
  border-radius: 50px;
15003
- width: 100%; }
15003
+ width: 140px;
15004
+ margin: 0 auto !important; }
15004
15005
 
15005
15006
  th > ._3tbAL ._3N7z7 {
15006
15007
  font-size: 1.4rem !important; }
@@ -15149,6 +15150,9 @@ th > ._3tbAL ._3N7z7 {
15149
15150
  ._1Oqku ._2zK6C {
15150
15151
  color: #ffffff; }
15151
15152
 
15153
+ ._2BJFc {
15154
+ margin-right: 10px; }
15155
+
15152
15156
  ._1Oqku:disabled {
15153
15157
  background: #6b6b6b; }
15154
15158
 
package/dist/index.js CHANGED
@@ -61888,7 +61888,7 @@ var CustomHeaderComponent = function CustomHeaderComponent(_ref) {
61888
61888
  }, contentButton), !!iconButton && iconButton)));
61889
61889
  };
61890
61890
 
61891
- var styles$O = {"icon-add-header":"_3msvE","sup-require":"_3cLXA","span-title":"_2zJd0","checked-favorite":"_-DbRo","model-confirm-publish":"_3LneM","btn-cancel":"_3YQho","btn-send-survey":"_17NxN","content-confirm-model":"_xXGSG","dialog-title":"_SCqos","box-email-content":"_I7jVk","title-content":"_2qWnj","input-mail-content":"_2DLVt","list-chip-email":"_1NjUv","box-chip-email":"_LXTJT","chip-email-default":"_3vu3m","chip-email-checked":"_2SfCN","table-desktop":"_1F8xx","data-grid":"_3TDU4","MuiDataGrid-columnSeparator":"_3ig99","block-list-survey":"_U4jvh","box-filter":"_20SVW","block-total":"_2RcnX","filter-select":"_2WWzW","box-filter-left":"_MEKLd","filter-item":"_3KQ0G","btn-favorite-text":"_2HxpA","box-filter-right":"_wfMx1","search-input-icon":"_2pk-H","inputInput":"_TfkuE","table-border":"_OEcTC","time-Date":"_3N7z7","time-Hours-Minute":"_1jOw7","table-row":"_2jcL8","arrow-icon":"_10hwb","table-cell":"_3YpBx","btn-function":"__J0jK","avatar_user":"_2nLvF","data-grid-content":"_3sCAB","row_name":"_2fnqB","innerHtml":"_3r42i","table-class-type":"_3tbAL","btn-open":"_1Vgmy","date-schedule":"_1m1n9","row-status":"_oItGm","pending":"_3Yw4h","replied":"_1zClB","actionneeded":"_2K_LM","actionneed":"_1T4kH","bg-yellow":"_S8XOD","bg-green":"_3M-Iu","bg-red":"_1kk0-","noscheduled":"_Qmz2t","scheduled":"_HLo9e","completed":"_3U4Kw","session":"__12h2","schedule-now":"_w2de6","block-filter":"_3boYk","block-filter-right":"_Jb-VQ","title-filter":"_EkM6A","create-survey-container":"_13Als","box-create-survey":"_3ZeD0","box-form-input":"_2_Lbs","form-input-title":"_2eMwZ","check-box-btn":"_2SP5U","stepper":"_2dIQT","step-label":"_2fUwq","dialog-select-template":"_3N8Q3","icon-btn":"_1rTF7","icon-remove":"_2vYxh","title-btn":"_82x3C","title-box-model":"_3wglS","box-content-select":"_3nfCh","title-content-select":"_1mLDw","description-content-select":"_Hg1l5","box-function":"_3aIy7","cancel_btn":"_33pHa","confirm_btn":"_1Oqku","confirm_btn_title":"_lxY0i","confirm_btn_icon":"_2zK6C","box-function-flex":"_3MS9Q","box-collapse":"_82XGO","box-collapse-top":"_7DXq2","box-collapse-right":"_3ZAAk","collapse-chip":"_3vGgC","collapse-left-title":"_1a4Re","box-collapse-content-item":"_37Ftp","block-review-detail":"_1Lmrp","title-block":"_25k4D","block-content-review":"_2MyxF","box-content":"_2M2ub","block-template-review":"_26NEY","block-template-left":"_lrxw0","name-template-left":"_1ubim","select-right":"_3b0L0","description-template-left":"_1erRk","additional-box":"_3d0rZ","space-content":"_3rWo3","table-title":"_2v5b5","table-status":"_3Zgbw","Close":"_3_Z98","Active":"_1UqNT","box-header-select":"_1wJqN","header-select-name":"_Q-qNa","header-select-icon":"_3UAh4","list-question-select":"_AgPAZ","new-survey":"_3RD_x","title":"_21CPc","box-survey":"_1ikO6","avt-user":"_38Qdy","infor":"_2W6Cn","content-text":"_3fS-4","name":"_2V9ri","time":"_3LxCt"};
61891
+ var styles$O = {"icon-add-header":"_3msvE","sup-require":"_3cLXA","span-title":"_2zJd0","checked-favorite":"_-DbRo","model-confirm-publish":"_3LneM","btn-cancel":"_3YQho","btn-send-survey":"_17NxN","content-confirm-model":"_xXGSG","dialog-title":"_SCqos","box-email-content":"_I7jVk","title-content":"_2qWnj","input-mail-content":"_2DLVt","list-chip-email":"_1NjUv","box-chip-email":"_LXTJT","chip-email-default":"_3vu3m","chip-email-checked":"_2SfCN","table-desktop":"_1F8xx","data-grid":"_3TDU4","MuiDataGrid-columnSeparator":"_3ig99","block-list-survey":"_U4jvh","box-filter":"_20SVW","block-total":"_2RcnX","filter-select":"_2WWzW","box-filter-left":"_MEKLd","filter-item":"_3KQ0G","btn-favorite-text":"_2HxpA","box-filter-right":"_wfMx1","search-input-icon":"_2pk-H","inputInput":"_TfkuE","table-border":"_OEcTC","time-Date":"_3N7z7","time-Hours-Minute":"_1jOw7","table-row":"_2jcL8","arrow-icon":"_10hwb","table-cell":"_3YpBx","btn-function":"__J0jK","avatar_user":"_2nLvF","data-grid-content":"_3sCAB","row_name":"_2fnqB","innerHtml":"_3r42i","table-class-type":"_3tbAL","btn-open":"_1Vgmy","date-schedule":"_1m1n9","row-status":"_oItGm","pending":"_3Yw4h","replied":"_1zClB","actionneeded":"_2K_LM","actionneed":"_1T4kH","bg-yellow":"_S8XOD","bg-green":"_3M-Iu","bg-red":"_1kk0-","noscheduled":"_Qmz2t","scheduled":"_HLo9e","completed":"_3U4Kw","session":"__12h2","schedule-now":"_w2de6","block-filter":"_3boYk","block-filter-right":"_Jb-VQ","title-filter":"_EkM6A","create-survey-container":"_13Als","box-create-survey":"_3ZeD0","box-form-input":"_2_Lbs","form-input-title":"_2eMwZ","check-box-btn":"_2SP5U","stepper":"_2dIQT","step-label":"_2fUwq","dialog-select-template":"_3N8Q3","icon-btn":"_1rTF7","icon-remove":"_2vYxh","title-btn":"_82x3C","title-box-model":"_3wglS","box-content-select":"_3nfCh","title-content-select":"_1mLDw","description-content-select":"_Hg1l5","box-function":"_3aIy7","cancel_btn":"_33pHa","confirm_btn":"_1Oqku","confirm_btn_title":"_lxY0i","confirm_btn_icon":"_2zK6C","mid_btn":"_2BJFc","box-function-flex":"_3MS9Q","box-collapse":"_82XGO","box-collapse-top":"_7DXq2","box-collapse-right":"_3ZAAk","collapse-chip":"_3vGgC","collapse-left-title":"_1a4Re","box-collapse-content-item":"_37Ftp","block-review-detail":"_1Lmrp","title-block":"_25k4D","block-content-review":"_2MyxF","box-content":"_2M2ub","block-template-review":"_26NEY","block-template-left":"_lrxw0","name-template-left":"_1ubim","select-right":"_3b0L0","description-template-left":"_1erRk","additional-box":"_3d0rZ","space-content":"_3rWo3","table-title":"_2v5b5","table-status":"_3Zgbw","Close":"_3_Z98","Active":"_1UqNT","box-header-select":"_1wJqN","header-select-name":"_Q-qNa","header-select-icon":"_3UAh4","list-question-select":"_AgPAZ","new-survey":"_3RD_x","title":"_21CPc","box-survey":"_1ikO6","avt-user":"_38Qdy","infor":"_2W6Cn","content-text":"_3fS-4","name":"_2V9ri","time":"_3LxCt"};
61892
61892
 
61893
61893
  var CardTotal = function CardTotal(_ref) {
61894
61894
  var title = _ref.title,
@@ -63006,22 +63006,17 @@ var tableCompleteSurvey = [{
63006
63006
  }];
63007
63007
  var tableActionNeedSurvey = [{
63008
63008
  name: "Student name",
63009
- tableWidth: 35,
63009
+ tableWidth: 45,
63010
63010
  sortName: "Name",
63011
63011
  align: "left"
63012
63012
  }, {
63013
63013
  name: "Flag",
63014
- tableWidth: 15,
63014
+ tableWidth: 20,
63015
63015
  sortName: null,
63016
63016
  align: "center"
63017
- }, {
63018
- name: "Session",
63019
- tableWidth: 20,
63020
- sortName: "session",
63021
- align: "left"
63022
63017
  }, {
63023
63018
  name: "Date",
63024
- tableWidth: 20,
63019
+ tableWidth: 25,
63025
63020
  sortName: "Date",
63026
63021
  align: "left"
63027
63022
  }, {
@@ -63222,7 +63217,8 @@ var RepliedSurvey = function RepliedSurvey() {
63222
63217
  inputSearch = _useListSurveyDetail.inputSearch,
63223
63218
  handleSort = _useListSurveyDetail.handleSort,
63224
63219
  handleChangePage = _useListSurveyDetail.handleChangePage,
63225
- handleChangeRowsPerPage = _useListSurveyDetail.handleChangeRowsPerPage;
63220
+ handleChangeRowsPerPage = _useListSurveyDetail.handleChangeRowsPerPage,
63221
+ sessionBackground = _useListSurveyDetail.sessionBackground;
63226
63222
 
63227
63223
  return React__default.createElement("div", null, React__default.createElement(core.Box, {
63228
63224
  pl: 3,
@@ -63285,7 +63281,9 @@ var RepliedSurvey = function RepliedSurvey() {
63285
63281
  className: "" + styles$O["table-class-type"]
63286
63282
  }, React__default.createElement(core.Typography, {
63287
63283
  className: styles$O["row-status"] + " " + styles$O[flagCellBgColor()]
63288
- }, row.flag)), React__default.createElement(core.TableCell, {
63284
+ }, React__default.createElement(core.Typography, {
63285
+ className: styles$O["session"] + " " + styles$O[sessionBackground(row.actionScore)]
63286
+ }))), React__default.createElement(core.TableCell, {
63289
63287
  align: "center",
63290
63288
  component: "th",
63291
63289
  scope: "row",
@@ -63357,12 +63355,6 @@ var ActionNeededSurvey = function ActionNeededSurvey() {
63357
63355
  alt: "",
63358
63356
  className: "" + styles$O["avatar_user"]
63359
63357
  }), row === null || row === void 0 ? void 0 : row.studentName), React__default.createElement(core.TableCell, {
63360
- align: "center",
63361
- component: "th",
63362
- scope: "row",
63363
- height: 80,
63364
- className: "" + styles$O["table-class-type"]
63365
- }, row.flag), React__default.createElement(core.TableCell, {
63366
63358
  align: "right",
63367
63359
  component: "th",
63368
63360
  scope: "row",
@@ -64392,7 +64384,7 @@ var TableSelectStudent = function TableSelectStudent(_ref) {
64392
64384
  };
64393
64385
 
64394
64386
  var ModelSelectQuestion = function ModelSelectQuestion(_ref) {
64395
- var _template$questionTem, _template$questionTem2;
64387
+ var _template$questionTem, _template$questionTem2, _template$questionTem3, _template$questionTem4;
64396
64388
 
64397
64389
  var open = _ref.open,
64398
64390
  handleClose = _ref.handleClose,
@@ -64440,7 +64432,7 @@ var ModelSelectQuestion = function ModelSelectQuestion(_ref) {
64440
64432
  }), React__default.createElement("div", {
64441
64433
  className: "" + styles$O["innerHtml"],
64442
64434
  dangerouslySetInnerHTML: {
64443
- __html: r.questionText.replace(/<br\s*\/?>/gi, '\n')
64435
+ __html: r.questionText.replace(/<br\s*\/?>/gi, "\n")
64444
64436
  }
64445
64437
  }));
64446
64438
  })), React__default.createElement(core.Grid, {
@@ -64453,6 +64445,16 @@ var ModelSelectQuestion = function ModelSelectQuestion(_ref) {
64453
64445
  return handleClose();
64454
64446
  }
64455
64447
  }, "Cancel"), React__default.createElement("button", {
64448
+ className: styles$O["confirm_btn"] + " " + styles$O["mid_btn"],
64449
+ disabled: (template === null || template === void 0 ? void 0 : (_template$questionTem3 = template.questionTemplates) === null || _template$questionTem3 === void 0 ? void 0 : _template$questionTem3.length) === (selectQuestion === null || selectQuestion === void 0 ? void 0 : selectQuestion.length),
64450
+ onClick: function onClick() {
64451
+ return handleSelectTemplate(template);
64452
+ }
64453
+ }, React__default.createElement(core.Typography, {
64454
+ className: "" + styles$O["confirm_btn_title"]
64455
+ }, "Insert All questions [" + (template === null || template === void 0 ? void 0 : (_template$questionTem4 = template.questionTemplates) === null || _template$questionTem4 === void 0 ? void 0 : _template$questionTem4.length) + "]"), React__default.createElement(AddCircleOutlinedIcon, {
64456
+ className: "" + styles$O["confirm_btn_icon"]
64457
+ })), React__default.createElement("button", {
64456
64458
  className: "" + styles$O["confirm_btn"],
64457
64459
  disabled: handleCheckInsertQuestion(template, selectQuestion === null || selectQuestion === void 0 ? void 0 : selectQuestion.length),
64458
64460
  onClick: function onClick() {