mario-teacher-student-client 9000.0.7 → 9000.0.10

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.
@@ -3,5 +3,5 @@ export declare const postDataActionPointApi: (data: any) => Promise<import("axio
3
3
  export declare const getDataClassNameApi: () => Promise<import("axios").AxiosResponse<any>>;
4
4
  export declare const getDataActionPointByIdApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
5
5
  export declare const putActionPointApi: (id: any, formData: any) => Promise<import("axios").AxiosResponse<any>>;
6
- export declare const putIsDoneApi: (id: any, isDone: any) => Promise<import("axios").AxiosResponse<any>>;
6
+ export declare const putIsDoneApi: (id: any) => Promise<import("axios").AxiosResponse<any>>;
7
7
  export declare const deleteActionPointApi: (id: number) => Promise<import("axios").AxiosResponse<any>>;
@@ -1,7 +1,7 @@
1
1
  declare const useCardItem: (actionPoints: any) => {
2
2
  clickOpenEdit: (actionPointId: any, refConduct: any) => Promise<void>;
3
3
  actionId: number;
4
- handleChangeIsDone: (_id: any, index: any) => Promise<void>;
4
+ handleChangeIsDone: (id: any) => Promise<void>;
5
5
  data: any;
6
6
  };
7
7
  export default useCardItem;
@@ -1 +1 @@
1
- export declare const updateIsDone: (dispatch: any, id: any, isDone: any) => Promise<void>;
1
+ export declare const updateIsDone: (dispatch: any, id: any) => Promise<void>;
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
- declare const useCard: (actionPoints: any) => {
2
+ declare const useCard: () => {
3
3
  actionId: number;
4
4
  clickOpenEdit: (actionPointId: any) => Promise<void>;
5
- handleChangeIsDone: (_id: any, index: any) => Promise<void>;
5
+ handleChangeIsDone: (_id: any, onReloading: Function) => Promise<void>;
6
6
  refConduct: import("react").MutableRefObject<any>;
7
7
  };
8
8
  export default useCard;
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; }