mario-education 2.4.264-release → 2.4.264-sso

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 (152) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/components/Select/Autocomplete.d.ts +2 -0
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +1 -1
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +1 -0
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/ImportOneRoster.d.ts +6 -0
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +8 -0
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +28 -0
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +7 -0
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +2 -0
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +5 -0
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +3 -0
  11. package/dist/components/Input/TextFieldComponent.d.ts +1 -1
  12. package/dist/components/QuestionTypes/QuestionSurveyComponent.d.ts +1 -0
  13. package/dist/components/layouts/Footer.d.ts +6 -0
  14. package/dist/components/layouts/HeaderSideBarV2.d.ts +2 -0
  15. package/dist/components/layouts/LanguageDropdown.d.ts +2 -0
  16. package/dist/components/layouts/NotificationAlert.d.ts +10 -0
  17. package/dist/components/layouts/constants/constants.d.ts +79 -0
  18. package/dist/components/layouts/constants/constantsFn.d.ts +9 -0
  19. package/dist/components/layouts/hooks/useAnimation.d.ts +9 -0
  20. package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +32 -0
  21. package/dist/components/layouts/hooks/useLanguages.d.ts +10 -0
  22. package/dist/components/layouts/hooks/useNotificationAlert.d.ts +7 -0
  23. package/dist/components/layouts/icons/ConferenceRubricIcon.d.ts +3 -0
  24. package/dist/components/layouts/icons/CustomAlertIcon.d.ts +3 -0
  25. package/dist/components/layouts/icons/CustomizeIcon.d.ts +3 -0
  26. package/dist/components/layouts/icons/DashboardIcon.d.ts +3 -0
  27. package/dist/components/layouts/icons/DataImportExportIcon.d.ts +3 -0
  28. package/dist/components/layouts/icons/EIPTemplateIcon.d.ts +3 -0
  29. package/dist/components/layouts/icons/EmailTemplateIcon.d.ts +3 -0
  30. package/dist/components/layouts/icons/HelpIcon.d.ts +3 -0
  31. package/dist/components/layouts/icons/MEDIAGalleryIcon.d.ts +3 -0
  32. package/dist/components/layouts/icons/QuestionIcon.d.ts +3 -0
  33. package/dist/components/layouts/icons/SandboxIcon.d.ts +3 -0
  34. package/dist/components/layouts/icons/SurveyDashboardIcon.d.ts +3 -0
  35. package/dist/components/layouts/icons/TechnicalSettingsIcon.d.ts +3 -0
  36. package/dist/components/layouts/icons/TimesIcon.d.ts +3 -0
  37. package/dist/components/layouts/icons/ToolIcon.d.ts +3 -0
  38. package/dist/components/layouts/icons/UserIcon.d.ts +3 -0
  39. package/dist/containers/ConductSurvey/components/QuestionConduct.d.ts +1 -0
  40. package/dist/containers/ConductSurvey/configs/types.d.ts +2 -0
  41. package/dist/containers/ConductSurvey/configs/utils.d.ts +1 -0
  42. package/dist/containers/ConductSurvey/hooks/useConductSurvey.d.ts +1 -0
  43. package/dist/containers/ConferenceRubric/configs/types.d.ts +1 -0
  44. package/dist/containers/ConferenceRubric/hooks/useConferenceRubricDetail.d.ts +3 -0
  45. package/dist/containers/Dashboard/components/ColumnChartAndPercent.d.ts +1 -2
  46. package/dist/containers/Dashboard/components/ModelSkillStudent.d.ts +3 -0
  47. package/dist/containers/Dashboard/components/ModelStudentSession.d.ts +3 -0
  48. package/dist/containers/Dashboard/components/StudentPressureChart.d.ts +1 -1
  49. package/dist/containers/Dashboard/configs/types.d.ts +18 -0
  50. package/dist/containers/Dashboard/configs/utils.d.ts +8 -3
  51. package/dist/containers/Dashboard/hooks/useChartDatas.d.ts +7 -6
  52. package/dist/containers/Dashboard/hooks/useDashboard.d.ts +4 -4
  53. package/dist/containers/ExternalApi/components/DetailTokenModel.d.ts +3 -0
  54. package/dist/containers/ExternalApi/components/PermissionSelected.d.ts +3 -0
  55. package/dist/containers/ExternalApi/configs/contants.d.ts +3 -0
  56. package/dist/containers/ExternalApi/configs/types.d.ts +24 -0
  57. package/dist/containers/ExternalApi/hooks/useExternalApi.d.ts +12 -0
  58. package/dist/containers/ExternalApi/hooks/useSandbox.d.ts +6 -0
  59. package/dist/containers/ExternalApi/views/ExternalApi.d.ts +2 -0
  60. package/dist/containers/Homepage/api/homepageApi.d.ts +2 -0
  61. package/dist/containers/Homepage/api/oneToOneApi.d.ts +3 -0
  62. package/dist/containers/Homepage/assets/icons/ArrowIcon.d.ts +3 -0
  63. package/dist/containers/Homepage/assets/icons/ArrowUpIcon.d.ts +3 -0
  64. package/dist/containers/Homepage/assets/icons/CheckinIcon.d.ts +3 -0
  65. package/dist/containers/Homepage/assets/icons/ClassReflectionIcon.d.ts +3 -0
  66. package/dist/containers/Homepage/assets/icons/ConferenceIcon.d.ts +3 -0
  67. package/dist/containers/Homepage/assets/icons/ConversationIcon.d.ts +3 -0
  68. package/dist/containers/Homepage/assets/icons/ConversationTimeIcon.d.ts +3 -0
  69. package/dist/containers/Homepage/assets/icons/DownRedIcon.d.ts +3 -0
  70. package/dist/containers/Homepage/assets/icons/PenAndPaperIcon.d.ts +3 -0
  71. package/dist/containers/Homepage/assets/icons/PlusIcon.d.ts +2 -0
  72. package/dist/containers/Homepage/assets/icons/UpGreenIcon.d.ts +3 -0
  73. package/dist/containers/Homepage/common/constant.d.ts +31 -0
  74. package/dist/containers/Homepage/common/dialog/SimpleDialog.d.ts +12 -0
  75. package/dist/containers/Homepage/common/interface.d.ts +146 -0
  76. package/dist/containers/Homepage/common/utils.d.ts +12 -0
  77. package/dist/containers/Homepage/components/AdminGeneralTip.d.ts +8 -0
  78. package/dist/containers/Homepage/components/GradeUsage.d.ts +8 -0
  79. package/dist/containers/Homepage/components/SchoolUsage.d.ts +9 -0
  80. package/dist/containers/Homepage/components/StudentWellness.d.ts +13 -0
  81. package/dist/containers/Homepage/components/StudentWellnessItem.d.ts +17 -0
  82. package/dist/containers/Homepage/components/StudentWellnessNote.d.ts +15 -0
  83. package/dist/containers/Homepage/components/TotalCard.d.ts +7 -0
  84. package/dist/containers/Homepage/components/ViewStudent.d.ts +13 -0
  85. package/dist/containers/Homepage/components/dialog/StudentWellnessCheckInItem.d.ts +15 -0
  86. package/dist/containers/Homepage/components/dialog/StudentWellnessCheckInList.d.ts +11 -0
  87. package/dist/containers/Homepage/components/dialog/StudentWellnessDialog.d.ts +10 -0
  88. package/dist/containers/Homepage/hooks/useGeneralTip.d.ts +6 -0
  89. package/dist/containers/Homepage/hooks/useGradeUsage.d.ts +6 -0
  90. package/dist/containers/Homepage/hooks/useHome.d.ts +38 -0
  91. package/dist/containers/Homepage/hooks/useSchoolUsage.d.ts +19 -0
  92. package/dist/containers/Homepage/hooks/useStudentWellness.d.ts +19 -0
  93. package/dist/containers/Homepage/hooks/useViewStudent.d.ts +15 -0
  94. package/dist/containers/Homepage/services/HomepageSevices.d.ts +2 -0
  95. package/dist/containers/Homepage/services/OneToOneServices.d.ts +2 -0
  96. package/dist/containers/Homepage/views/HomePage.d.ts +3 -0
  97. package/dist/containers/MyStudent/components/NewOverview/Chat/configs/utils.d.ts +4 -2
  98. package/dist/containers/MyStudent/components/NewOverview/Chat/types/types.d.ts +1 -0
  99. package/dist/containers/QuestionBank/components/AdditionalComponent.d.ts +1 -0
  100. package/dist/containers/QuestionBank/components/AgGridComponents.d.ts +6 -0
  101. package/dist/containers/QuestionBank/components/AnswerList.d.ts +3 -0
  102. package/dist/containers/QuestionBank/configs/constants.d.ts +71 -0
  103. package/dist/containers/QuestionBank/hooks/useQuestionAnswerList.d.ts +2 -0
  104. package/dist/containers/QuestionBank/hooks/useQuestionDetail.d.ts +6 -0
  105. package/dist/containers/QuestionBank/hooks/useWeeklyQuest.d.ts +25 -0
  106. package/dist/containers/QuestionBank/hooks/useWeeklyQuestDetail.d.ts +20 -0
  107. package/dist/containers/QuestionBank/views/SettingWeeklyQuest.d.ts +3 -0
  108. package/dist/containers/QuestionBank/views/WeeklyQuest.d.ts +3 -0
  109. package/dist/containers/SurveyDashboard/apiClient/surveyService.d.ts +1 -0
  110. package/dist/containers/SurveyDashboard/components/BarChartQuestionAnswers.d.ts +3 -0
  111. package/dist/containers/SurveyDashboard/components/ModelLinkSurvey.d.ts +3 -0
  112. package/dist/containers/SurveyDashboard/components/TableAnswerDropDown.d.ts +5 -0
  113. package/dist/containers/SurveyDashboard/configs/chartOptions.d.ts +1 -1
  114. package/dist/containers/SurveyDashboard/configs/constants.d.ts +4 -2
  115. package/dist/containers/SurveyDashboard/configs/overviewFn.d.ts +3 -1
  116. package/dist/containers/SurveyDashboard/configs/types.d.ts +30 -4
  117. package/dist/containers/SurveyDashboard/configs/utils.d.ts +5 -1
  118. package/dist/containers/SurveyDashboard/hooks/useChartDatas.d.ts +3 -3
  119. package/dist/containers/SurveyDashboard/hooks/useDashboard.d.ts +2 -1
  120. package/dist/containers/SurveyDashboard/hooks/useListSurvey.d.ts +4 -0
  121. package/dist/containers/SurveyDashboard/hooks/useSurveyDetail.d.ts +4 -3
  122. package/dist/containers/SurveyDashboard/styles/makeStyles.d.ts +1 -1
  123. package/dist/containers/TemplateSurvey/components/AgGridComponents.d.ts +8 -0
  124. package/dist/containers/TemplateSurvey/hooks/useTemplateCateList.d.ts +3 -1
  125. package/dist/containers/UserRevert/hooks/useRevertUser.d.ts +2 -0
  126. package/dist/index.css +5407 -306
  127. package/dist/index.d.ts +5 -2
  128. package/dist/index.js +13496 -26652
  129. package/dist/index.js.map +1 -1
  130. package/dist/index.modern.js +13480 -26639
  131. package/dist/index.modern.js.map +1 -1
  132. package/dist/layouts/MainLayoutAdmin.d.ts +2 -0
  133. package/dist/layouts/ModelSelectRole.d.ts +3 -0
  134. package/dist/layouts/constants/constants.d.ts +2 -0
  135. package/dist/layouts/constants/type.d.ts +4 -0
  136. package/dist/services/HomepageService.d.ts +2 -0
  137. package/dist/services/commonService.d.ts +3 -0
  138. package/dist/services/conferenceRubricService.d.ts +1 -1
  139. package/dist/services/dashboardService.d.ts +1 -0
  140. package/dist/services/externalApi.d.ts +4 -0
  141. package/dist/services/language.d.ts +1 -0
  142. package/dist/services/notificationAlertService.d.ts +1 -0
  143. package/dist/services/questionCategoryService.d.ts +1 -0
  144. package/dist/services/questionService.d.ts +2 -1
  145. package/dist/services/revertUserService.d.ts +1 -0
  146. package/dist/services/schoolService.d.ts +1 -0
  147. package/dist/services/simpleProfileService.d.ts +1 -0
  148. package/dist/services/weeklyQuestService.d.ts +7 -0
  149. package/dist/utils/constantsFn.d.ts +2 -0
  150. package/dist/utils/function.d.ts +3 -0
  151. package/dist/utils/type.d.ts +0 -4
  152. package/package.json +11 -11
@@ -0,0 +1,2 @@
1
+ declare const Autocomplete: () => JSX.Element;
2
+ export default Autocomplete;
@@ -6,7 +6,7 @@ declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
6
6
  setTemporarySkill: import("react").Dispatch<import("react").SetStateAction<ConferenceRubricSkill | null>>;
7
7
  newRowTexts: any;
8
8
  changeNewRowText: (skillId: any, text: any) => void;
9
- confirmData: (isLoading?: boolean | undefined) => Promise<void>;
9
+ confirmData: () => Promise<void>;
10
10
  backToList: () => void;
11
11
  addItem: () => void;
12
12
  removeItem: (skillId: number) => void;
@@ -29,6 +29,7 @@ export interface IStudentPressure {
29
29
  }
30
30
  export interface IStudentPressureChart {
31
31
  studentPressure: IStudentPressure;
32
+ changeLanguage?: string;
32
33
  width?: number;
33
34
  print?: boolean;
34
35
  }
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ errorImportRest?: string | null;
4
+ }
5
+ declare const ImportOneRoster: FC<Props>;
6
+ export default ImportOneRoster;
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ import { ROSTER_CONFIG } from "../utils/types";
3
+ interface Props {
4
+ rosterConfig: ROSTER_CONFIG;
5
+ updateData: Function;
6
+ }
7
+ declare const RosterConfigForm: FC<Props>;
8
+ export default RosterConfigForm;
@@ -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,7 @@
1
+ import { ROSTER_CONFIG } from "../utils/types";
2
+ declare const useRosterConfigForm: () => {
3
+ rosterConfig: ROSTER_CONFIG;
4
+ errorImportRest: string | null;
5
+ updateData: (values: any) => Promise<void>;
6
+ };
7
+ export default useRosterConfigForm;
@@ -0,0 +1,2 @@
1
+ export declare const CSV_FILE_NAMES: string[];
2
+ export declare const INVALID_CLIENT_ROSTER_CONFIG = "Response status code does not indicate success: 403 ().";
@@ -0,0 +1,5 @@
1
+ export declare type ROSTER_CONFIG = {
2
+ clientId: string;
3
+ clientSecret: string;
4
+ endPointUrl: string;
5
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const OneRoster: () => JSX.Element;
3
+ export default OneRoster;
@@ -9,5 +9,5 @@ interface Props {
9
9
  minRows?: number;
10
10
  isStartRecord?: boolean;
11
11
  }
12
- declare const TextFieldComponent: ({ valueText, isPageResult, isPageSessionResult, isUserChangeSession, }: Props) => JSX.Element;
12
+ declare const TextFieldComponent: ({ questionId, valueText, onChangeQuestionAnswer, isPageResult, isPageSessionResult, isUserChangeSession, isMultiline, minRows }: Props) => JSX.Element;
13
13
  export default TextFieldComponent;
@@ -29,6 +29,7 @@ interface Props {
29
29
  isQuestionIntervention?: boolean;
30
30
  correctQuestionAnswer?: string[];
31
31
  isPreviewPage?: boolean;
32
+ answer?: any;
32
33
  }
33
34
  declare const QuestionSurveyComponent: FC<Props>;
34
35
  export default QuestionSurveyComponent;
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ interface Props {
3
+ isNotification?: boolean;
4
+ }
5
+ declare const Footer: FC<Props>;
6
+ export default Footer;
@@ -0,0 +1,2 @@
1
+ declare const HeaderSideBar: ({ children, navigations, onToggleModel }: any) => JSX.Element;
2
+ export default HeaderSideBar;
@@ -0,0 +1,2 @@
1
+ declare const LanguageDropdown: () => JSX.Element;
2
+ export default LanguageDropdown;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ import { NOTIFICATION_ALERT } from "./constants/types";
3
+ interface Props {
4
+ data?: NOTIFICATION_ALERT;
5
+ isOpen: boolean;
6
+ onClose?: Function;
7
+ fontSize: string;
8
+ }
9
+ declare const NotificationAlert: React.FC<Props>;
10
+ export default NotificationAlert;
@@ -12,3 +12,82 @@ export declare const defaultFontSize = 16;
12
12
  export declare const defaultFontSmall = 12;
13
13
  export declare const defaultFontLarge = 20;
14
14
  export declare const LOGO: string;
15
+ export declare const DATE_FORMAT = "yyyy-MM-dd";
16
+ export declare const charactersRandom = "0123456789";
17
+ export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
18
+ export declare const DEFAULT_USER_AVATAR = "/images/image-default.png";
19
+ export declare const SMALL_FONT_DEFAULT = 12;
20
+ export declare const LARGE_FONT_DEFAULT = 20;
21
+ export declare const CONFERENCE_RUBRIC_TYPES: {
22
+ Default: string;
23
+ Balanced: string;
24
+ GoalProgress: string;
25
+ HabitsAttitudesTowardsLearning: string;
26
+ Custom: string;
27
+ };
28
+ export declare const SESSION_START_TIME = "sessionStartTime";
29
+ export declare const SESSION_END_TIME = "sessionEndTime";
30
+ export declare const SESSION_HISTORY_START_TIME = "sessionHistoryStartTime";
31
+ export declare const SESSION_HISTORY_END_TIME = "sessionHistoryEndTime";
32
+ export declare const NOTE_START_TIME = "noteStartTime";
33
+ export declare const NOTE_END_TIME = "noteEndTime";
34
+ export declare const SURVEY_OVERVIEW_FILTERS = "surveyOverviewFilters";
35
+ export declare const SURVEY_SUMMARY_FILTERS = "surveySummaryFilters";
36
+ export declare const REFLECTION_DASHBOARD_FILTERS = "reflectionDashboardFilters";
37
+ export declare const STUDENT_REFECTION_FILTERS = "studentRefectionFilters";
38
+ export declare const TEACHER_REFLECTION_FILTERS = "teacherReflectionFilters";
39
+ export declare const CONFERENCE_FILTERS = "conferenceFilters";
40
+ export declare const CONFERENCE_HISTORY_FILTERS = "conferenceHistoryFilters";
41
+ export declare const CHECKIN_STUDENT_FILTERS = "checkInStudentFilters";
42
+ export declare const CONFERENCE_STUDENT_FILTERS = "conferenceStudentFilters";
43
+ export declare const LEARNING_PLAN_FILTERS = "learningPlanFilters";
44
+ export declare const CONVERSATION_STUDENT_FILTERS = "conversationStudentFilters";
45
+ export declare const OVERVIEW_STUDENT_FILTERS = "overviewStudentFilters";
46
+ export declare const screenWidth: number;
47
+ export declare const iconQuestion: {
48
+ question: string;
49
+ firstIcon: string;
50
+ lastIcon: string;
51
+ }[];
52
+ export declare const linearGradientColorRedToRed: {
53
+ offset: number;
54
+ stopColor: string;
55
+ }[];
56
+ export declare const linearGradientColor: {
57
+ offset: number;
58
+ stopColor: string;
59
+ }[];
60
+ export declare type STUDENT_DETAIL = {
61
+ email: string;
62
+ firstInitial: string;
63
+ fullName: string;
64
+ gender: string;
65
+ gradeLevel: string;
66
+ id: string;
67
+ mtss: string;
68
+ profileImageFileName: string;
69
+ studentId: number;
70
+ totalTime: number;
71
+ };
72
+ export declare enum guideType {
73
+ CheckIn = 0,
74
+ Dashboard = 1,
75
+ Plp = 2,
76
+ Conference = 3,
77
+ Survey = 4,
78
+ ClassReflection = 5
79
+ }
80
+ export declare type filterSelect = {
81
+ clear?: boolean;
82
+ value: string;
83
+ options: string[];
84
+ placeholder: string;
85
+ onChange: (item: string) => void;
86
+ };
87
+ export declare const GRADE_DEFAULT: string[];
88
+ export declare const questionStressTooltipLabel: string[];
89
+ export declare enum TYPE_SURVEY_OPTION {
90
+ VIEW_PREVIEW = 0,
91
+ VIEW_RESPONSE = 1,
92
+ DELETE = 2
93
+ }
@@ -0,0 +1,9 @@
1
+ export declare const caculateHeaderFont: (defaultFont: number) => number;
2
+ export declare const buttonFontSize: (defaultFont: number) => string;
3
+ export declare const tabFontSize: (defaultFont: number) => number;
4
+ export declare const tabLargeFontSize: (defaultFont: number) => number;
5
+ export declare const inputFontSize: (defaultFont: number) => number;
6
+ export declare const camelCaseToNomal: (text: string) => string;
7
+ export declare const validateEmail: (email: string) => RegExpMatchArray | null;
8
+ export declare const removeHTMLTags: (input: string) => string;
9
+ export declare const handleClearFilterStorage: () => void;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { NOTIFICATION_ALERT } from "../constants/types";
3
+ declare const useAnimation: (data?: NOTIFICATION_ALERT | undefined, fontSize?: string | undefined) => {
4
+ parentRef: import("react").RefObject<HTMLParagraphElement>;
5
+ childRef: import("react").RefObject<HTMLSpanElement>;
6
+ pWidth: number | undefined;
7
+ cWidth: number | undefined;
8
+ };
9
+ export default useAnimation;
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ declare const useHeaderSideBar: (_navigations: any) => {
3
+ anchorFontEl: HTMLElement | null;
4
+ anchorEl: HTMLElement | null;
5
+ classes: Record<"header" | "title" | "content" | "overlay" | "arrow" | "grow" | "menuItem" | "menuButton" | "listItem" | "dropdown" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
6
+ screenWidth: number;
7
+ isReadOnly: string | null;
8
+ notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
9
+ open: boolean;
10
+ openFont: boolean;
11
+ isOpen: boolean;
12
+ isOpenSideBar: any;
13
+ defaultFont: any;
14
+ user: any;
15
+ drawerRef: React.MutableRefObject<any>;
16
+ openNavigationItem: object;
17
+ handleOpenNavigationItem: (name: string) => void;
18
+ handleCloseNotification: () => void;
19
+ toggleSideBar: () => void;
20
+ handleMenu: (event: React.MouseEvent<HTMLElement>) => void;
21
+ handleFontMenu: (event: React.MouseEvent<HTMLElement>) => void;
22
+ handleFontClose: () => void;
23
+ signOut: () => void;
24
+ renderNotificationBadge: () => JSX.Element;
25
+ openProfile: () => void;
26
+ onChangeFont: (fontSize: number) => void;
27
+ handleClose: () => void;
28
+ renderNavigationItem: (navigation: any, isSubItem?: boolean | undefined) => JSX.Element;
29
+ goToSettings: () => void;
30
+ t: import("i18next").TFunction;
31
+ };
32
+ export default useHeaderSideBar;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const useLanguages: () => {
3
+ languageList: any;
4
+ toggle: () => void;
5
+ dropdownOpen: boolean;
6
+ currentLang: any;
7
+ changeLanguageApp: (lang: string) => Promise<void>;
8
+ setCurrentLang: import("react").Dispatch<any>;
9
+ };
10
+ export default useLanguages;
@@ -0,0 +1,7 @@
1
+ import { NOTIFICATION_ALERT } from "../constants/types";
2
+ declare const useNotificationAlert: () => {
3
+ data: NOTIFICATION_ALERT | undefined;
4
+ isOpen: boolean;
5
+ handleCloseNotification: () => void;
6
+ };
7
+ export default useNotificationAlert;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ConferenceRubricIcon: FC<any>;
3
+ export default ConferenceRubricIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const CustomAlertIcon: FC<any>;
3
+ export default CustomAlertIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const CustomizeIcon: FC<any>;
3
+ export default CustomizeIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const DashboardIcon: FC<any>;
3
+ export default DashboardIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const DataImportExportIcon: FC<any>;
3
+ export default DataImportExportIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const EIPTemplateIcon: FC<any>;
3
+ export default EIPTemplateIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const EmailTemplateIcon: FC<any>;
3
+ export default EmailTemplateIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const HelpIcon: FC<any>;
3
+ export default HelpIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const MEDIAGalleryIcon: FC<any>;
3
+ export default MEDIAGalleryIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const QuestionIcon: FC<any>;
3
+ export default QuestionIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const SandboxIcon: FC<any>;
3
+ export default SandboxIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const SurveyDashboardIcon: FC<any>;
3
+ export default SurveyDashboardIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TechnicalSettingsIcon: FC<any>;
3
+ export default TechnicalSettingsIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const TimesIcon: FC<any>;
3
+ export default TimesIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const ToolIcon: FC<any>;
3
+ export default ToolIcon;
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ declare const UserIcon: FC<any>;
3
+ export default UserIcon;
@@ -11,6 +11,7 @@ interface Props {
11
11
  isStudent?: boolean;
12
12
  isStartRecord?: boolean;
13
13
  isPreviewPage?: boolean;
14
+ checkIsQuestionFlag?: any;
14
15
  }
15
16
  declare const QuestionConduct: FC<Props>;
16
17
  export default QuestionConduct;
@@ -70,11 +70,13 @@ export interface IQuestionTemplate {
70
70
  questionAnswer: string[];
71
71
  fromLabel: string;
72
72
  toLabel: string;
73
+ orderDefaultQuestionTemplate: string;
73
74
  }
74
75
  export interface ITemplate {
75
76
  id: number;
76
77
  name: string;
77
78
  questionTemplates: IQuestionTemplate[];
79
+ orderDefaultSurvey: number;
78
80
  }
79
81
  export interface SURVEY_DETAIL {
80
82
  deadline?: number | null;
@@ -0,0 +1 @@
1
+ export declare const customRemove: <T>(array: T[], predicate: (value: T, index: number, array: T[]) => boolean) => T[];
@@ -27,5 +27,6 @@ declare const useConductSurvey: () => {
27
27
  isDone: boolean;
28
28
  currentPage: import("react").ReactText;
29
29
  updateAnswerInterventionLog: (answer: any, callback?: Function | undefined) => Promise<void>;
30
+ checkIsQuestionFlag: (arrData?: any) => boolean;
30
31
  };
31
32
  export default useConductSurvey;
@@ -13,6 +13,7 @@ export declare type ConferenceRubric = {
13
13
  instruction: string;
14
14
  conferenceRubricItems: ConferenceRubricItem[];
15
15
  questions: ConferenceRubricQuestion[];
16
+ lang: string;
16
17
  };
17
18
  export declare type ConferenceRubricItem = {
18
19
  id?: number | null;
@@ -32,5 +32,8 @@ declare const useConferenceRubricDetail: (id?: number | null | undefined) => {
32
32
  edited: boolean;
33
33
  setEdited: import("react").Dispatch<import("react").SetStateAction<boolean>>;
34
34
  setEditedTrue: () => Promise<void>;
35
+ listLanguage: any;
36
+ activeLanguage: string;
37
+ onChangeLanguage: (code: string) => void;
35
38
  };
36
39
  export default useConferenceRubricDetail;
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import { TYPECHART } from "../configs/types";
3
- import { ISeries } from "../../../utils/type";
2
+ import { ISeries, TYPECHART } from "../configs/types";
4
3
  export interface IProps {
5
4
  data: any;
6
5
  id: string;
@@ -0,0 +1,3 @@
1
+ import { IModelSkillStudent } from "../configs/types";
2
+ declare const ModelSkillStudent: ({ studentCount, studentPercentage, responseStudent, name }: IModelSkillStudent) => JSX.Element;
3
+ export default ModelSkillStudent;
@@ -0,0 +1,3 @@
1
+ import { IModelStudentSession } from "../../MyStudent/components/NewOverview/Chat/types/types";
2
+ declare const ModelStudentSession: ({ open, onClose, responseStudent, title, tagName, isStressMode }: IModelStudentSession) => JSX.Element;
3
+ export default ModelStudentSession;
@@ -1,3 +1,3 @@
1
1
  import { IStudentPressureChart } from "../configs/types";
2
- declare const StudentPressureChart: ({ studentPressure, width, print }: IStudentPressureChart) => JSX.Element;
2
+ declare const StudentPressureChart: ({ studentPressure, changeLanguage, width, print }: IStudentPressureChart) => JSX.Element;
3
3
  export default StudentPressureChart;
@@ -1,3 +1,4 @@
1
+ import { IResponseStudentQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
1
2
  import { QuestionType } from "../../ReflectionForm/configs/types";
2
3
  export declare type LoginCountingReport = {
3
4
  date: string;
@@ -12,6 +13,10 @@ export declare type QuantityReport = {
12
13
  numberOfStudents: number;
13
14
  numberOfAssistants: number;
14
15
  };
16
+ export interface IQuestionTranslate {
17
+ questionName: string;
18
+ questionTranslationName: string;
19
+ }
15
20
  export declare type SkillReportItem = {
16
21
  skillName: string;
17
22
  ratings: SkillRating[];
@@ -29,6 +34,7 @@ export interface IStudentPressure {
29
34
  }
30
35
  export interface IStudentPressureChart {
31
36
  studentPressure: IStudentPressure;
37
+ changeLanguage?: string;
32
38
  width?: number;
33
39
  print?: boolean;
34
40
  }
@@ -139,6 +145,7 @@ export interface IStudentByGrade {
139
145
  export interface ISeries {
140
146
  name: string;
141
147
  data: number[];
148
+ questionTranslation?: string;
142
149
  }
143
150
  export interface ILearningItem {
144
151
  learningStrategyName: string;
@@ -174,6 +181,7 @@ export interface IResultQuestion {
174
181
  avgOfStudentChoice: number;
175
182
  questionId: number;
176
183
  questionText: string;
184
+ questionTranslation: string;
177
185
  }
178
186
  export interface IOverviewQuestionChoice {
179
187
  month: string;
@@ -298,6 +306,10 @@ export interface IGenerateChart {
298
306
  avgContent?: string;
299
307
  textColors?: string[];
300
308
  min?: number;
309
+ studentCount?: number;
310
+ studentPercentage?: number;
311
+ responseStudent?: IResponseStudentQuestion[];
312
+ classFontSize?: string;
301
313
  }
302
314
  export interface IDashboardToPDF {
303
315
  startTime: number | undefined;
@@ -365,4 +377,10 @@ export interface SessionStrategyQuestionCsv {
365
377
  text: string;
366
378
  questionText: string;
367
379
  }
380
+ export interface IModelSkillStudent {
381
+ studentCount?: number;
382
+ studentPercentage?: number;
383
+ name?: string;
384
+ responseStudent?: IResponseStudentQuestion[];
385
+ }
368
386
  export {};
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { ApexOptions } from "apexcharts";
3
3
  import { IOptionSelector } from "../../../components/Select/InputSelector";
4
- import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IReadinessToLearning, ISeries, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
4
+ import { FILTER_YEAR, IActivityCircle, IOverviewQuestionChoice, IQuestionTranslate, IReadinessToLearning, ISeries, IseriesChart, IStudentByAge, IStudentByGrade, IsyntheticFriendCircle, LegalGenderType, MtssType } from "./types";
5
5
  export declare const getColors: (length: number) => string[];
6
6
  export declare const friendCircleItems: ({ bestFriends, friends, couldBeFriends, supportive }: IsyntheticFriendCircle) => {
7
7
  id: number;
@@ -106,9 +106,10 @@ export declare const optionColumnChartAndPercents: (min: number, months: string[
106
106
  export declare const optionLineChart: (months: string[], activeData: boolean[], colors: string[], dayOfWeek: string[]) => ApexOptions;
107
107
  export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], dayOfWeek: string[], newseries?: any) => ApexOptions;
108
108
  export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
109
- export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
110
- export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
109
+ export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => IQuestionTranslate[];
110
+ export declare const convertToSeriesColumnChartAndPercent: (dataCharts: IQuestionTranslate[], data: IOverviewQuestionChoice[], isHardQuestion?: boolean | undefined) => {
111
111
  name: string;
112
+ questionTranslation: string;
112
113
  data: number[];
113
114
  }[];
114
115
  export declare const convertToSeriesColumnChartAndPercentProgress: (data: IOverviewQuestionChoice[]) => {
@@ -121,6 +122,7 @@ export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: b
121
122
  type: string;
122
123
  name: string;
123
124
  data: number[];
125
+ questionTranslation?: string | undefined;
124
126
  }[];
125
127
  export declare const getLastQuarterRange: () => {
126
128
  start: number;
@@ -134,3 +136,6 @@ export declare const filterYearData: {
134
136
  }[];
135
137
  export declare const handleAveraged: (points: number[], isStress?: boolean | undefined) => number;
136
138
  export declare const handleGenerateAvgQuestion: (data: number[], isStress: boolean, avgContent?: string | undefined) => string;
139
+ declare type PropertySelector<T> = (item: T) => any;
140
+ export declare const customSortBy: <T>(array: T[], selector: PropertySelector<T>) => T[];
141
+ export {};
@@ -27,16 +27,15 @@ declare const useChartDatas: () => {
27
27
  topLearningStrategies: import("../configs/types").IlearningStrategies;
28
28
  handleActiveColumnOneToOne: (index: number, name: string) => void;
29
29
  activeColumnSuccessIndicators: boolean[];
30
- successIndicatorsData: import("../../../utils/type").ISeries[];
30
+ successIndicatorsData: import("../configs/types").ISeries[];
31
31
  monthsOneToOne: string[];
32
32
  dayOfWeekOneToOne: string[];
33
33
  activeColumnPreparedness: boolean[];
34
- preparednessData: import("../../../utils/type").ISeries[];
35
- safetyData: import("../../../utils/type").ISeries[];
36
- stressData: import("../../../utils/type").ISeries[];
37
- seriesConference: import("../../../utils/type").ISeries[];
34
+ preparednessData: import("../configs/types").ISeries[];
35
+ safetyData: import("../configs/types").ISeries[];
36
+ stressData: import("../configs/types").ISeries[];
37
+ seriesConference: import("../configs/types").ISeries[];
38
38
  avgConferenceLastMonth: import("../configs/types").IQuestionResponseLastMonth[];
39
- dataConvertedConference: string[];
40
39
  monthsConference: string[];
41
40
  dayOfWeekConference: string[];
42
41
  handleActiveColumnConference: (index: number) => void;
@@ -46,5 +45,7 @@ declare const useChartDatas: () => {
46
45
  dataOverallReadyToLearn: import("../configs/types").IOverallReadinessToLearn;
47
46
  readinessToLearning: import("../configs/types").IReadinessToLearning[];
48
47
  schoolName: any;
48
+ studentSkillQuestion: import("../../MyStudent/components/NewOverview/Chat/types/types").IStudentSkillQuestion;
49
+ classFontSize: string;
49
50
  };
50
51
  export default useChartDatas;
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox } from "../configs/types";
3
- import { IFilter, Student, ISeries } from "../../../utils/type";
2
+ import { DashboardFilter, IActivityCircle, IlearningStrategies, IReadinessToLearning, IStudentByGrade, IStudentBySpecialNeed, IsyntheticFriendCircle, BAND_SCORE, IStudentByAge, IStudentByGender, IDashboardToTalStudent, IQuestionResponseLastMonth, IStudentPressure, IOverallReadinessToLearn, ILabelBox, ISeries } from "../configs/types";
3
+ import { IFilter, Student } from "../../../utils/type";
4
+ import { IStudentSkillQuestion } from "../../MyStudent/components/NewOverview/Chat/types/types";
4
5
  declare const useDashboard: () => {
5
6
  setFilter: import("react").Dispatch<import("react").SetStateAction<DashboardFilter>>;
6
7
  filter: DashboardFilter;
@@ -26,7 +27,6 @@ declare const useDashboard: () => {
26
27
  handleFilterTeacher: (option: any) => void;
27
28
  onChangeFilters: (filterSelect: IFilter) => void;
28
29
  handleActiveColumnOneToOne: (index: number, name: string) => void;
29
- dataConvertedOneToOne: string[];
30
30
  monthsOneToOne: string[];
31
31
  dayOfWeekOneToOne: string[];
32
32
  stressData: ISeries[];
@@ -41,12 +41,12 @@ declare const useDashboard: () => {
41
41
  dataOverallReadyToLearn: IOverallReadinessToLearn;
42
42
  seriesConference: ISeries[];
43
43
  avgConferenceLastMonth: IQuestionResponseLastMonth[];
44
- dataConvertedConference: string[];
45
44
  monthsConference: string[];
46
45
  dayOfWeekConference: string[];
47
46
  handleActiveColumnConference: (index: number) => void;
48
47
  activeColumnConference: boolean[];
49
48
  labelBox: ILabelBox;
50
49
  setLabelBox: import("react").Dispatch<import("react").SetStateAction<ILabelBox>>;
50
+ studentSkillQuestion: IStudentSkillQuestion;
51
51
  };
52
52
  export default useDashboard;
@@ -0,0 +1,3 @@
1
+ import { IDetailTokenModel } from "../configs/types";
2
+ declare const DetailTokenModel: ({ open, children, toggle, isCreate, onConfirm }: IDetailTokenModel) => JSX.Element;
3
+ export default DetailTokenModel;
@@ -0,0 +1,3 @@
1
+ import { IPermissionSelected } from "../configs/types";
2
+ declare const PermissionSelected: ({ permission, name, onChange }: IPermissionSelected) => JSX.Element;
3
+ export default PermissionSelected;