mario-teacher-student-client 9000.0.7 → 9000.0.8

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
@@ -3591,22 +3591,23 @@ h2._1OAmb {
3591
3591
  ._tOmgJ {
3592
3592
  display: flex;
3593
3593
  justify-content: flex-end; }
3594
- ._tOmgJ ._3KxkK {
3595
- display: flex;
3596
- align-items: center;
3597
- justify-content: flex-end;
3598
- background: #308252;
3599
- border-radius: 12px;
3600
- color: #ffff;
3601
- padding: 2px 10px;
3602
- inline-size: -webkit-fit-content;
3603
- inline-size: -moz-fit-content;
3604
- inline-size: fit-content;
3605
- cursor: pointer; }
3606
- ._tOmgJ ._3KxkK > p {
3607
- font-size: 12px;
3608
- font-weight: 500;
3609
- margin-right: 5px; }
3594
+
3595
+ ._3KxkK {
3596
+ display: flex;
3597
+ align-items: center;
3598
+ justify-content: flex-end;
3599
+ background: #308252;
3600
+ border-radius: 12px;
3601
+ color: #ffff;
3602
+ padding: 2px 10px;
3603
+ inline-size: -webkit-fit-content;
3604
+ inline-size: -moz-fit-content;
3605
+ inline-size: fit-content;
3606
+ cursor: pointer; }
3607
+ ._3KxkK > p {
3608
+ font-size: 12px;
3609
+ font-weight: 500;
3610
+ margin-right: 5px; }
3610
3611
 
3611
3612
  ._3y2ts {
3612
3613
  margin: 15px 0; }
@@ -3797,7 +3798,10 @@ h2._1OAmb {
3797
3798
  ._3o3-9 {
3798
3799
  font-size: 16px;
3799
3800
  color: #0a4da2;
3800
- margin-left: 5px !important; }
3801
+ margin-left: 5px !important;
3802
+ cursor: pointer; }
3803
+ ._3o3-9:hover {
3804
+ text-decoration: underline; }
3801
3805
 
3802
3806
  ._EcMhp {
3803
3807
  color: #0a4da2; }
package/dist/index.js CHANGED
@@ -35292,6 +35292,13 @@ var EditCheckPoint = function EditCheckPoint(props) {
35292
35292
  setAddValue("");
35293
35293
  };
35294
35294
 
35295
+ var handleOpenImage = function handleOpenImage(signatureImage) {
35296
+ var image = new Image();
35297
+ image.src = signatureImage;
35298
+ var newWindow = window.open("");
35299
+ newWindow === null || newWindow === void 0 ? void 0 : newWindow.document.write(image.outerHTML);
35300
+ };
35301
+
35295
35302
  React.useEffect(function () {
35296
35303
  if (!!getOneData && getOneData.checkPoints.length > 0) {
35297
35304
  updateCharacters(getOneData.checkPoints);
@@ -35429,8 +35436,11 @@ var EditCheckPoint = function EditCheckPoint(props) {
35429
35436
  }, React__default.createElement(DescriptionIcon, {
35430
35437
  className: "" + styles$6["file-icon"]
35431
35438
  }), React__default.createElement(core.Typography, {
35432
- className: "" + styles$6["file-name"]
35433
- }, e.nameFile)), React__default.createElement(CancelIcon, {
35439
+ className: "" + styles$6["file-name"],
35440
+ onClick: function onClick() {
35441
+ handleOpenImage(e.signatureImage);
35442
+ }
35443
+ }, e.NameFile)), React__default.createElement(CancelIcon, {
35434
35444
  onClick: function onClick() {
35435
35445
  return imageFileDelete(index, indexImage);
35436
35446
  },