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.
- package/dist/containers/Home/components/mutipleSelectBox/mutipleSelectBox.d.ts +8 -0
- package/dist/containers/Home/components/mutipleSelectBox/utils.d.ts +3 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesApi.d.ts +1 -0
- package/dist/containers/LearningStrategies/hook/LearningStrategiesService.d.ts +11 -1
- package/dist/containers/LearningStrategies/hook/useEditLearningStrategies.d.ts +2 -0
- package/dist/index.css +13 -0
- package/dist/index.js +426 -220
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +389 -183
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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:
|
|
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;
|
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");
|