mario-education 2.4.194-level → 2.4.195-level
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/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/components/ImportOneRoster.d.ts +6 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/components/RosterConfigForm.d.ts +8 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/components/TeacherSelector.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/configs/constants.d.ts +12 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/configs/types.d.ts +17 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/useCreateRosterUser.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/useGetUserList.d.ts +13 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/useImportOneRoster.d.ts +28 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/useOneRosterUserList.d.ts +18 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/useResendMail.d.ts +5 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/userRosterConfigForm.d.ts +7 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/OneRosterContainer.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/OneRosterImport.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/OneRosterUserList.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/WelcomeEmailResend.d.ts +3 -0
- package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +2 -1
- package/dist/MarioFramework.Education/ClientApp/src/services/oneRosterService.d.ts +4 -0
- package/dist/MarioFramework.Education/ClientApp/src/services/userDeletedService.d.ts +1 -0
- package/dist/index.css +36 -36
- package/dist/index.js +18437 -10013
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +11334 -2910
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UserRosterFilter } from "./types";
|
|
2
|
+
export declare const CSV_FILE_NAMES: string[];
|
|
3
|
+
export declare const INVALID_CLIENT_ROSTER_CONFIG = "Response status code does not indicate success: 403 ().";
|
|
4
|
+
export declare const DEFAULT_PAGE_SIZE_VALUES: {
|
|
5
|
+
label: string;
|
|
6
|
+
value: number;
|
|
7
|
+
}[];
|
|
8
|
+
export declare const DEFAULT_PAGE_SIZE: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const DEFAULT_FILTER: UserRosterFilter;
|
package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/configs/types.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare type ROSTER_CONFIG = {
|
|
2
|
+
clientId: string;
|
|
3
|
+
clientSecret: string;
|
|
4
|
+
endPointUrl: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type UserRosterFilter = {
|
|
7
|
+
currentPage?: number;
|
|
8
|
+
pageSize?: number;
|
|
9
|
+
searchString?: string;
|
|
10
|
+
isCreated?: boolean;
|
|
11
|
+
roles?: string[];
|
|
12
|
+
};
|
|
13
|
+
export declare type CreateRosterUserDto = {
|
|
14
|
+
sourcedId?: string;
|
|
15
|
+
teacherUserId?: string;
|
|
16
|
+
teacherEmail?: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const useCreateRosterUser: (callback?: Function | undefined) => {
|
|
2
|
+
handleCreateMultiUsers: (listUserIds: string[], teachers?: object | undefined) => void;
|
|
3
|
+
handleCreateSingleUser: (sourcedId: string, isStudent: boolean, teacher?: any) => void;
|
|
4
|
+
};
|
|
5
|
+
export default useCreateRosterUser;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FilterTypes } from "../configs/constants";
|
|
2
|
+
declare const useGetUserList: () => {
|
|
3
|
+
handleSyncRosterUsers: () => Promise<void>;
|
|
4
|
+
totalItem: number;
|
|
5
|
+
userList: never[];
|
|
6
|
+
filters: FilterTypes;
|
|
7
|
+
changeFilters: (updatedFilters: any) => void;
|
|
8
|
+
handleSelectAll: () => void;
|
|
9
|
+
handleClickCheck: (e: any) => void;
|
|
10
|
+
isCheckAll: boolean;
|
|
11
|
+
isCheck: any;
|
|
12
|
+
};
|
|
13
|
+
export default useGetUserList;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface UploadInfo {
|
|
3
|
+
error?: string;
|
|
4
|
+
success?: boolean;
|
|
5
|
+
isUploading?: boolean;
|
|
6
|
+
importedFiles?: string;
|
|
7
|
+
rejectedFiles?: string;
|
|
8
|
+
comment?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const useImportOneRoster: ({ errorImportRest }: {
|
|
11
|
+
errorImportRest: any;
|
|
12
|
+
}) => {
|
|
13
|
+
inputRef: React.RefObject<HTMLInputElement>;
|
|
14
|
+
fileProgress: number;
|
|
15
|
+
uploadInfo: UploadInfo | undefined;
|
|
16
|
+
uploadIcon: JSX.Element | undefined;
|
|
17
|
+
uploadMessage: JSX.Element | undefined;
|
|
18
|
+
importIcon: JSX.Element | undefined;
|
|
19
|
+
importMessage: JSX.Element | undefined;
|
|
20
|
+
restApiInfo: object | undefined;
|
|
21
|
+
restApiProgress: JSX.Element[] | undefined;
|
|
22
|
+
setFileProgress: React.Dispatch<React.SetStateAction<number>>;
|
|
23
|
+
handleFileChange: () => Promise<void>;
|
|
24
|
+
importRosterZipFile: (file: File) => Promise<void>;
|
|
25
|
+
handleChooseZipFile: () => void;
|
|
26
|
+
handleImportFromRestfulApi: () => Promise<void>;
|
|
27
|
+
};
|
|
28
|
+
export default useImportOneRoster;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { UserRosterFilter } from "../configs/types";
|
|
2
|
+
declare const useOneRosterUserList: () => {
|
|
3
|
+
handelRetrievedData: () => void;
|
|
4
|
+
handleCreateTeacherOption: (newTeacher: any, userId: string) => void;
|
|
5
|
+
selectedTeachers: object | undefined;
|
|
6
|
+
handleSelectTeacher: (teacherId: any, userId: any) => void;
|
|
7
|
+
teachers: any;
|
|
8
|
+
getFullName: (user: any) => string;
|
|
9
|
+
totalItem: number;
|
|
10
|
+
userList: never[];
|
|
11
|
+
filters: UserRosterFilter;
|
|
12
|
+
changeFilters: (updatedFilters: any) => void;
|
|
13
|
+
handleSelectAll: () => void;
|
|
14
|
+
handleClickCheck: (e: any) => void;
|
|
15
|
+
isCheckAll: boolean;
|
|
16
|
+
isCheck: any;
|
|
17
|
+
};
|
|
18
|
+
export default useOneRosterUserList;
|
|
@@ -33,9 +33,10 @@ import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneral
|
|
|
33
33
|
import TemplateContainer from "./containers/TemplateSystem/views/TemplateContainer";
|
|
34
34
|
import TemplateBuilderPage from "./containers/TemplateSystem/views/TemplateBuilderPage";
|
|
35
35
|
import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartBuild";
|
|
36
|
+
import OneRosterContainer from "./containers/OneRosterSystem/views/OneRosterContainer";
|
|
36
37
|
import LoadLanguage from "./components/Loading/LoadLanguage";
|
|
37
38
|
import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
|
|
38
39
|
import SurveyDashboard from "./containers/SurveyDashboard/views/SurveyDashboard";
|
|
39
40
|
import RevertUser from "./containers/UserRevert/views/RevertUser";
|
|
40
41
|
import FixDataStudent from "./containers/FixData/views/FixDataStudent";
|
|
41
|
-
export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining, TemplateContainer, TemplateBuilderPage, TemplateStartBuild, SurveyDashboard, RevertUser, FixDataStudent };
|
|
42
|
+
export { ClassList, ConferenceRubricList, ConferenceRubricDetail, SuggestionList, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionFormList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, FeedbackList, AssessmentList, QuestionBankContainer, SurveyQuestionContainer, QuestionCategoryList, AssignmentList, AssessmentAssignmentContainer, SessionTemplateContainer, SessionTemplateDetail, SessionTemplateGeneralClassDetail, CustomAlertList, CertificateContainer, CompareTeacher, AssetLog, SessionTemplateList, SessionTemplateGeneralClassList, Dashboard, LoadLanguage, AdminTraining, TemplateContainer, OneRosterContainer, TemplateBuilderPage, TemplateStartBuild, SurveyDashboard, RevertUser, FixDataStudent };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { CreateRosterUserDto, UserRosterFilter } from "../containers/OneRosterSystem/configs/types";
|
|
1
2
|
export declare const getRosterConfig: () => Promise<import("axios").AxiosResponse<any>>;
|
|
2
3
|
export declare const updateRosterConfig: (data: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
3
4
|
export declare const importRosterFromFile: (body: FormData, cb?: ((progressEvent: ProgressEvent) => void) | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
4
5
|
export declare const importRosterFromRestfulApi: (fileName: string) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
|
+
export declare const syncRosterUsersApi: () => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const getRosterUsersApi: (filter: UserRosterFilter) => Promise<import("axios").AxiosResponse<any>>;
|
|
8
|
+
export declare const createUserBySourcedIdApi: (data?: CreateRosterUserDto[] | undefined) => Promise<import("axios").AxiosResponse<any>>;
|
|
@@ -4,3 +4,4 @@ export declare const getTeacher: () => Promise<import("axios").AxiosResponse<any
|
|
|
4
4
|
export declare const getStudentAll: (filter: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
5
5
|
export declare const changeTeacherOfStudent: (id: number, teacherUserId: any) => Promise<import("axios").AxiosResponse<any>>;
|
|
6
6
|
export declare const getTeachersByStudentId: (studentId: number) => Promise<import("axios").AxiosResponse<any>>;
|
|
7
|
+
export declare const getAllTeachers: () => Promise<import("axios").AxiosResponse<any>>;
|
package/dist/index.css
CHANGED
|
@@ -254,42 +254,6 @@ tbody._b-AXV tr {
|
|
|
254
254
|
._1Jrg_ {
|
|
255
255
|
padding: 15px 20px;
|
|
256
256
|
}
|
|
257
|
-
._2r0G1 {
|
|
258
|
-
-webkit-animation: _2fufb 0.6s infinite linear;
|
|
259
|
-
animation: _2fufb 0.6s infinite linear;
|
|
260
|
-
transform: rotate(0);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
@-webkit-keyframes _2fufb {
|
|
264
|
-
0% {
|
|
265
|
-
transform: rotate(0deg);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
100% {
|
|
269
|
-
transform: rotate(360deg);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
@keyframes _2fufb {
|
|
274
|
-
0% {
|
|
275
|
-
transform: rotate(0deg);
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
100% {
|
|
279
|
-
transform: rotate(360deg);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
._3gvpw {
|
|
283
|
-
margin-left: 1.4rem;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
._u47jo {
|
|
287
|
-
margin-top: -12px;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
._3OiL8{
|
|
291
|
-
list-style-type: none;
|
|
292
|
-
}
|
|
293
257
|
._3DVMZ {
|
|
294
258
|
display: flex;
|
|
295
259
|
flex: 0 0 17%;
|
|
@@ -1290,6 +1254,42 @@ h6._3zOGW {
|
|
|
1290
1254
|
gap: 8px;
|
|
1291
1255
|
}
|
|
1292
1256
|
}
|
|
1257
|
+
._1g-gv {
|
|
1258
|
+
-webkit-animation: _aoKNi 0.6s infinite linear;
|
|
1259
|
+
animation: _aoKNi 0.6s infinite linear;
|
|
1260
|
+
transform: rotate(0);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
@-webkit-keyframes _aoKNi {
|
|
1264
|
+
0% {
|
|
1265
|
+
transform: rotate(0deg);
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
100% {
|
|
1269
|
+
transform: rotate(360deg);
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
@keyframes _aoKNi {
|
|
1274
|
+
0% {
|
|
1275
|
+
transform: rotate(0deg);
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
100% {
|
|
1279
|
+
transform: rotate(360deg);
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
._1iTWy {
|
|
1283
|
+
margin-left: 1.4rem;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
._3XHDS {
|
|
1287
|
+
margin-top: -12px;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
._3eCPL{
|
|
1291
|
+
list-style-type: none;
|
|
1292
|
+
}
|
|
1293
1293
|
._3U9cF {
|
|
1294
1294
|
padding: 16px;
|
|
1295
1295
|
min-height: 530px;
|