mario-teacher-student-client 2.1.12 → 2.1.13

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.
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface IMutipleSelectBox {
3
+ label: string;
4
+ options: string[];
5
+ SelectedChange: (selected: string[]) => void;
6
+ }
7
+ declare function MutipleSelectBox({ label, options, SelectedChange }: IMutipleSelectBox): JSX.Element;
8
+ export default MutipleSelectBox;
@@ -0,0 +1,3 @@
1
+ declare const useStyles: (props?: any) => Record<"label" | "formControl" | "indeterminateColor" | "selectAllText" | "selectedAll", string>;
2
+ declare const MenuProps: any;
3
+ export { useStyles, MenuProps };
@@ -5,3 +5,4 @@ export declare const updateLearningStrategy: (id: number, data: any, studentId:
5
5
  export declare const deleteLearningStrategyById: (id: number, studentId: number) => Promise<import("axios").AxiosResponse<any>>;
6
6
  export declare const allowEdit: (id: number, data: any) => Promise<import("axios").AxiosResponse<any>>;
7
7
  export declare const getAllowEdit: (id: number) => Promise<import("axios").AxiosResponse<any>>;
8
+ export declare const getAllBestFits: () => Promise<import("axios").AxiosResponse<any>>;
@@ -1,4 +1,12 @@
1
1
  /// <reference types="react" />
2
+ interface IFilters {
3
+ userId?: string;
4
+ studentId?: number;
5
+ isTeacher?: boolean;
6
+ isShowChoose?: boolean;
7
+ searchString?: string;
8
+ selected?: string;
9
+ }
2
10
  declare const useLearningStrategy: () => {
3
11
  deleteItem: (id: number, studentId: number) => Promise<void>;
4
12
  updateAllow: (data: any, studentId: number) => Promise<void>;
@@ -8,10 +16,12 @@ declare const useLearningStrategy: () => {
8
16
  toggleAllow: boolean;
9
17
  setToggleAllow: import("react").Dispatch<import("react").SetStateAction<boolean>>;
10
18
  getById: (id: number, studentId: number) => Promise<void>;
11
- getAll: (filters: any) => Promise<void>;
19
+ getAll: (filters: IFilters) => Promise<void>;
12
20
  create: (data: any, studentId: string) => Promise<void>;
13
21
  update: (id: number, data: any, studentId: number) => Promise<void>;
14
22
  data: any;
15
23
  setData: import("react").Dispatch<any>;
24
+ getBestFits: () => Promise<void>;
25
+ bestFits: string[];
16
26
  };
17
27
  export default useLearningStrategy;
@@ -16,5 +16,7 @@ declare const useEditLearningStrategies: () => {
16
16
  idItem: any;
17
17
  isTeacher: any;
18
18
  classFontSize: string;
19
+ bestFits: string[];
20
+ selectedChange: (e: string[]) => Promise<void>;
19
21
  };
20
22
  export default useEditLearningStrategies;
package/dist/index.css CHANGED
@@ -12478,6 +12478,10 @@ h2._1KpSK {
12478
12478
  ._3BrUK ._19Tc8 > svg {
12479
12479
  font-size: 14px !important; } }
12480
12480
 
12481
+ ._Mq0Ad {
12482
+ display: flex;
12483
+ flex-wrap: wrap; }
12484
+
12481
12485
  ._3w96V {
12482
12486
  padding: 0 16px;
12483
12487
  background-color: #efefef;
@@ -12814,6 +12818,15 @@ h2._1KpSK {
12814
12818
  color: #e53e3e;
12815
12819
  border-color: #e53e3e; }
12816
12820
 
12821
+ ._2GtxZ {
12822
+ padding: 5px 10px;
12823
+ background-color: white;
12824
+ max-height: -webkit-fit-content;
12825
+ max-height: -moz-fit-content;
12826
+ max-height: fit-content;
12827
+ border-radius: 15px;
12828
+ width: 300px; }
12829
+
12817
12830
  @font-face {
12818
12831
  font-family: "Lato-Regular";
12819
12832
  src: url("/fonts/Lato-Regular.ttf");