mario-education 2.4.122-beta → 2.4.125-beta

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.
Files changed (32) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/constants.d.ts +7 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +6 -0
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +0 -1
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/configs/constants.d.ts +0 -4
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/hooks/useQuestionDetail.d.ts +0 -1
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/Subject/views/SubjectList.d.ts +2 -2
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/apiClient/index.d.ts +9 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +3 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/TemplateDialogModal.d.ts +3 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/configs/types.d.ts +12 -0
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateBuilder.d.ts +12 -0
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateDetail.d.ts +20 -0
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateList.d.ts +9 -0
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/hooks/useTemplateStart.d.ts +9 -0
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateBuilderPage.d.ts +3 -0
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +3 -0
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateIEPList.d.ts +3 -0
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateStartBuild.d.ts +3 -0
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateSystemList.d.ts +3 -0
  20. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +4 -1
  21. package/dist/MarioFramework.Education/ClientApp/src/utils/type.d.ts +5 -0
  22. package/dist/index.css +46 -0
  23. package/dist/index.js +1298 -195
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.modern.js +1295 -195
  26. package/dist/index.modern.js.map +1 -1
  27. package/package.json +4 -2
  28. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/ReadinessToLearn.d.ts +0 -7
  29. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/hooks/useSwitchAssistant.d.ts +0 -18
  30. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/components/SwitchCounselorModal.d.ts +0 -4
  31. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/hooks/useSwitchCounselor.d.ts +0 -18
  32. /package/dist/MarioFramework.Education/ClientApp/src/utils/{servicetype.interface.d.ts → serviceType.interface.d.ts} +0 -0
@@ -43,3 +43,10 @@ export declare const GENDER_OPTION: {
43
43
  value: number;
44
44
  label: string;
45
45
  }[];
46
+ export declare const DEFAULT_START_DATE: number;
47
+ export declare const DEFAULT_END_DATE: number;
48
+ export declare const CALENDAR_OPTIONS: {
49
+ label: string;
50
+ startDate: number;
51
+ endDate: number;
52
+ }[];
@@ -211,12 +211,18 @@ export interface ICalenDarLabelBox {
211
211
  value: FILTER_YEAR;
212
212
  label: string;
213
213
  }
214
+ export interface ICalendarTimeLabelBox {
215
+ startDate: any;
216
+ endDate: any;
217
+ label: string;
218
+ }
214
219
  export interface IGenderLabelBox {
215
220
  value: number;
216
221
  label: string;
217
222
  }
218
223
  export interface ILabelBox {
219
224
  calendar: ICalenDarLabelBox;
225
+ calendarTime?: ICalendarTimeLabelBox;
220
226
  gender: IGenderLabelBox;
221
227
  grade: number;
222
228
  bandScore: number;
@@ -8,5 +8,4 @@ export declare const renderQuestionText: (params: any) => JSX.Element;
8
8
  export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
9
9
  export declare const renderCategory: (params: any) => JSX.Element;
10
10
  export declare const renderType: (params: any) => JSX.Element;
11
- export declare const renderUserQuestion: (params: any) => JSX.Element;
12
11
  export {};
@@ -5,7 +5,3 @@ export declare enum TYPE_QUESTION {
5
5
  Conference = 3,
6
6
  Survey = 4
7
7
  }
8
- export declare const userForQuestion: {
9
- value: string;
10
- label: string;
11
- }[];
@@ -24,7 +24,6 @@ declare type QuestionDetail = {
24
24
  subQuestions: string[];
25
25
  isBeforeSession: boolean;
26
26
  isDefaultQuestionSurvey: boolean;
27
- userForQuestion?: string;
28
27
  };
29
28
  declare const useQuestionDetail: (id?: number | undefined, type?: number | undefined) => {
30
29
  questionDetail: QuestionDetail;
@@ -1,3 +1,3 @@
1
1
  import { FC } from "react";
2
- declare const SubjectList: FC;
3
- export default SubjectList;
2
+ declare const TemplateSystemList: FC;
3
+ export default TemplateSystemList;
@@ -0,0 +1,9 @@
1
+ export declare const get: (filter?: any) => Promise<import("axios").AxiosResponse<any>>;
2
+ export declare const getById: (id: number) => Promise<import("axios").AxiosResponse<any>>;
3
+ export declare const create: (data: any) => Promise<import("axios").AxiosResponse<any>>;
4
+ export declare const update: (data: any) => Promise<import("axios").AxiosResponse<any>>;
5
+ export declare const remove: (id: number) => Promise<import("axios").AxiosResponse<any>>;
6
+ export declare const getAllTemplatePage: (isTemplateIEP: boolean) => Promise<import("axios").AxiosResponse<any>>;
7
+ export declare const updateTemplatePage: (templateId: number, subTemplateId: number) => Promise<import("axios").AxiosResponse<any>>;
8
+ export declare const updateHTMLIEP: (id: number, body: any) => Promise<import("axios").AxiosResponse<any>>;
9
+ export declare const updateTimeReq: () => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const SelectorTemplate: (props: any) => JSX.Element;
3
+ export default SelectorTemplate;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
3
+ export default _default;
@@ -0,0 +1,12 @@
1
+ export declare enum TypeEnumTemplate {
2
+ Default = 0,
3
+ Header = 1,
4
+ Footer = 2,
5
+ Page = 3
6
+ }
7
+ export declare const typeNameTemplate: string[];
8
+ export declare const arrListTemplates: {
9
+ id: TypeEnumTemplate;
10
+ label: string;
11
+ value: TypeEnumTemplate;
12
+ }[];
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare type IEPDetail = {
3
+ name: string;
4
+ isPublish: boolean;
5
+ };
6
+ declare const useTemplateBuilder: (templateId: number) => {
7
+ iepDetail: IEPDetail;
8
+ saveHTMLTemplate: () => Promise<void>;
9
+ setIEPDetail: import("react").Dispatch<import("react").SetStateAction<IEPDetail>>;
10
+ isPageIEP: string | null;
11
+ };
12
+ export default useTemplateBuilder;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { TypeEnumTemplate } from "../configs/types";
3
+ declare type TemplateDetail = {
4
+ name: string;
5
+ type: TypeEnumTemplate;
6
+ isTemplateIEP: boolean;
7
+ };
8
+ declare const useTemplateDetail: (isTemplateIEP: boolean) => {
9
+ id: number;
10
+ setId: import("react").Dispatch<import("react").SetStateAction<number>>;
11
+ templateDetail: TemplateDetail;
12
+ confirmData: (values: any, cb: any) => Promise<void>;
13
+ initValue: TemplateDetail;
14
+ reset: () => void;
15
+ edited: boolean;
16
+ setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
17
+ setEditedTrue: () => Promise<void>;
18
+ setEditedFalse: () => Promise<void>;
19
+ };
20
+ export default useTemplateDetail;
@@ -0,0 +1,9 @@
1
+ declare const useTemplateList: (isTemplateIEP: boolean) => {
2
+ templateList: never[];
3
+ totalItems: number;
4
+ filters: import("mario-core").Filter;
5
+ changeFilters: (updatedFilters: any) => void;
6
+ getData: () => Promise<void>;
7
+ removeData: (id: number) => void;
8
+ };
9
+ export default useTemplateList;
@@ -0,0 +1,9 @@
1
+ declare const useTemplateStart: (isTemplateIEP: boolean) => {
2
+ templateList: never[];
3
+ getData: () => Promise<void>;
4
+ subTemplateId: number;
5
+ templateName: string;
6
+ onClickTemplate: (templateId: number, templateName: string) => void;
7
+ onUpdateTemplate: (subTemplateId: number) => Promise<void>;
8
+ };
9
+ export default useTemplateStart;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateBuilderPage: FC;
3
+ export default TemplateBuilderPage;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TemplateContainer: () => JSX.Element;
3
+ export default TemplateContainer;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateIEPList: FC;
3
+ export default TemplateIEPList;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateStartBuild: FC;
3
+ export default TemplateStartBuild;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TemplateSystemList: FC;
3
+ export default TemplateSystemList;
@@ -30,6 +30,9 @@ import CompareTeacher from "./containers/CompareTeacher/views/CompareTeacher";
30
30
  import Dashboard from "./containers/Dashboard/views/Dashboard";
31
31
  import SessionTemplateList from "./containers/SessionTemplate/views/SessionTemplateList";
32
32
  import SessionTemplateGeneralClassList from "./containers/SessionTemplateGeneralClass/views/SessionTemplateGeneralClassList";
33
+ import TemplateContainer from "./containers/TemplateSystem/views/TemplateContainer";
34
+ import TemplateBuilderPage from "./containers/TemplateSystem/views/TemplateBuilderPage";
35
+ import TemplateStartBuild from "./containers/TemplateSystem/views/TemplateStartBuild";
33
36
  import LoadLanguage from "./components/Loading/LoadLanguage";
34
37
  import AdminTraining from "./containers/AdminTraining/views/AdminTraining";
35
- 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 };
38
+ 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 };
@@ -41,6 +41,11 @@ export interface GRADES {
41
41
  label: string;
42
42
  value: number;
43
43
  }
44
+ export interface CALENDAR {
45
+ startDate: any;
46
+ endDate: any;
47
+ label: string;
48
+ }
44
49
  export declare enum LegalGenderType {
45
50
  Male = 0,
46
51
  Female = 1
package/dist/index.css CHANGED
@@ -195,6 +195,52 @@ tbody._b-AXV tr {
195
195
  display: flex;
196
196
  width: 40%;
197
197
  padding-bottom: 10px;
198
+ }
199
+ ._1WxAe {
200
+ border-right: 1px solid #d8dbe0;
201
+ height: 100vh;
202
+ padding: 20px 0px 35px 0px;
203
+ margin: 0;
204
+ }
205
+ ._3_Ed7 {
206
+ text-align: center;
207
+ margin-bottom: 25px;
208
+ cursor: pointer;
209
+ height: 260px;
210
+ }
211
+
212
+ ._3_Ed7 h5 {
213
+ font-size: 15px;
214
+ }
215
+ ._3uUiv {
216
+ height: 200px;
217
+ border-radius: 10px;
218
+ background: #fff;
219
+ box-shadow: 0px 0px 10px 5px #cdcdcd;
220
+ margin-bottom: 12px;
221
+ }
222
+ ._3_Ed7._3sodH ._3uUiv {
223
+ box-shadow: 0px 0px 10px 5px #3c65e0;
224
+ }
225
+ ._3_Ed7._3sodH h5 {
226
+ font-size: 15px;
227
+ color: #3c65e0;
228
+ }
229
+
230
+ ._Az5Kt {
231
+ padding: 15px;
232
+ display: flex;
233
+ border-bottom: 1px solid #d8dbe0;
234
+ position: sticky;
235
+ justify-content: space-between;
236
+ align-items: center;
237
+ }
238
+ ._Az5Kt h5 {
239
+ font-size: 15px;
240
+ margin-bottom: 0px;
241
+ }
242
+ ._1Jrg_ {
243
+ padding: 15px 20px;
198
244
  }
199
245
  ._3DVMZ {
200
246
  display: flex;