mario-education 2.4.293-release → 2.4.296-layout

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 (27) hide show
  1. package/dist/components/layouts/constants/constants.d.ts +79 -0
  2. package/dist/components/layouts/hooks/useHeaderSideBar.d.ts +1 -1
  3. package/dist/components/layouts/icons/ConferenceRubricIcon.d.ts +3 -0
  4. package/dist/components/layouts/icons/CustomAlertIcon.d.ts +3 -0
  5. package/dist/components/layouts/icons/CustomizeIcon.d.ts +3 -0
  6. package/dist/components/layouts/icons/DashboardIcon.d.ts +3 -0
  7. package/dist/components/layouts/icons/DataImportExportIcon.d.ts +3 -0
  8. package/dist/components/layouts/icons/EIPTemplateIcon.d.ts +3 -0
  9. package/dist/components/layouts/icons/EmailTemplateIcon.d.ts +3 -0
  10. package/dist/components/layouts/icons/HelpIcon.d.ts +3 -0
  11. package/dist/components/layouts/icons/MEDIAGalleryIcon.d.ts +3 -0
  12. package/dist/components/layouts/icons/QuestionIcon.d.ts +3 -0
  13. package/dist/components/layouts/icons/SandboxIcon.d.ts +3 -0
  14. package/dist/components/layouts/icons/SurveyDashboardIcon.d.ts +3 -0
  15. package/dist/components/layouts/icons/TechnicalSettingsIcon.d.ts +3 -0
  16. package/dist/components/layouts/icons/ToolIcon.d.ts +3 -0
  17. package/dist/components/layouts/icons/UserIcon.d.ts +3 -0
  18. package/dist/containers/Homepage/common/constant.d.ts +0 -33
  19. package/dist/containers/Homepage/common/interface.d.ts +0 -174
  20. package/dist/containers/Homepage/common/utils.d.ts +1 -29
  21. package/dist/index.css +4866 -0
  22. package/dist/index.d.ts +3 -1
  23. package/dist/index.js +4164 -24
  24. package/dist/index.js.map +1 -1
  25. package/dist/index.modern.js +4151 -13
  26. package/dist/index.modern.js.map +1 -1
  27. package/package.json +2 -2
@@ -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
+ }
@@ -2,7 +2,7 @@ import React from "react";
2
2
  declare const useHeaderSideBar: (_navigations: any) => {
3
3
  anchorFontEl: HTMLElement | null;
4
4
  anchorEl: HTMLElement | null;
5
- classes: Record<"overlay" | "content" | "grow" | "menuItem" | "menuButton" | "title" | "listItem" | "header" | "dropdown" | "sectionDesktop" | "drawer" | "textPrivacy" | "subMenuDrawer" | "subDrawerItem" | "drawerItem" | "drawerContent" | "drawerPaper" | "drawerPaperMobile" | "drawerActive" | "contentShift" | "fontBodyLarge" | "fontBodySmall" | "fontSmall" | "fontMedium" | "fontLarge" | "sectionFontDesktop" | "itemSideBar" | "positionBox" | "arrow" | "arrowDown" | "arrowUp" | "dailyMotivation", string>;
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
6
  screenWidth: number;
7
7
  isReadOnly: string | null;
8
8
  notificationAlert: import("../constants/types").NOTIFICATION_ALERT | undefined;
@@ -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 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;
@@ -1,28 +1,3 @@
1
- export declare const COLOR_CHART: string[];
2
- export declare const PERCENT: number[];
3
- export declare const COLOR_CHART_BUBBLE: string[];
4
- export declare const LEARNING_STRATEGY_INIT: {
5
- learningStrategies: never[];
6
- };
7
- export declare const COLOR_CHART_AND_PERCENTS: string[];
8
- export declare const INITIAl_COLUNM_CHART_AND_PERCENT: {
9
- overviewQuestionChoice: never[];
10
- overViewQuestionLastMonth: never[];
11
- type: string;
12
- };
13
- export declare const INITIAL_AVG: number[];
14
- export declare const labelYChart: number[];
15
- export declare const INITIAL_OVERALL_READY_TO_LEARN: {
16
- resultQuestion: never[];
17
- overViewQuestionLastMonth: never[];
18
- };
19
- export declare const initStudentPressure: {
20
- boreOutStudent: never[];
21
- burnoutStudent: never[];
22
- comfortStudent: never[];
23
- strainStudent: never[];
24
- stretchStudent: never[];
25
- };
26
1
  export declare const INITIAL_STUDENT_SKILL_QUESTION: {
27
2
  studentPercentageStress: number;
28
3
  studentPercentageUnsafe: number;
@@ -48,17 +23,9 @@ export declare const INITIAl_SCHOOL_INFO: {
48
23
  logo: string;
49
24
  name: string;
50
25
  };
51
- export declare const DEFAULT_START_DATE: number;
52
- export declare const DEFAULT_END_DATE: number;
53
26
  export declare const SAFETY_QUESTION = "safety";
54
27
  export declare const STRESS_QUESTION = "stress";
55
28
  export declare const PREPAREDNESS_QUESTION: string[];
56
29
  export declare const SUCCESS_INDICATORS_QUESTION: string[];
57
- export declare const preparednessChartName = "preparedness";
58
30
  export declare const readinessToLearnName = "readiness_to_learn";
59
- export declare const successIndicatorsName = "success_indicators";
60
- export declare const overallReadinessToLearnName = "overall_readiness_to_learn";
61
- export declare const learningProcessName = "learning_process";
62
- export declare const averageStudentSafetyName = "average_student_safety";
63
- export declare const averageStudentStressName = "average_student_stress";
64
31
  export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00";
@@ -4,62 +4,14 @@ export interface STUDENT_SELECTOR {
4
4
  studentId: number;
5
5
  email?: string;
6
6
  }
7
- export interface IStudentPercentQuestion {
8
- percentQuestion: number;
9
- studentId: number;
10
- studentName: string;
11
- }
12
- export interface IStudentPressure {
13
- boreOutStudent: string[];
14
- burnoutStudent: string[];
15
- comfortStudent: string[];
16
- strainStudent: string[];
17
- stretchStudent: string[];
18
- }
19
- export interface IReadinessToLearning {
20
- questionText: string;
21
- percentQuestion: IStudentPercentQuestion[];
22
- }
23
- export interface IOverallReadinessToLearn {
24
- resultQuestion: ISeries[];
25
- overViewQuestionLastMonth: IQuestionResponseLastMonth[];
26
- }
27
7
  export interface IResultQuestion {
28
8
  averagePoint: number;
29
9
  questionText: string;
30
10
  }
31
- export interface ILearningItem {
32
- learningStrategyName: string;
33
- usageCount: number;
34
- usagePoint: number[];
35
- }
36
- export interface ILearningStrategies {
37
- learningStrategies: ILearningItem[];
38
- }
39
- export interface ITopLearningStrategy {
40
- learningStrategies: ILearningItem[];
41
- isPlp?: boolean;
42
- isFullScreen?: boolean;
43
- classFontSize?: string;
44
- topMostUsedLearningStrategyId?: string;
45
- topLearningStrategyId?: string;
46
- width?: number;
47
- print?: boolean;
48
- }
49
- export interface IReadinessToLearning {
50
- questionText: string;
51
- studentPercentQuestion: IStudentPercentQuestion[];
52
- }
53
11
  export interface ISeries {
54
12
  name: string;
55
13
  data: number[];
56
14
  }
57
- export declare enum TYPECHART {
58
- AREA = 0,
59
- BAR = 1,
60
- LINE = 2,
61
- BOTH = 3
62
- }
63
15
  export interface IResultQuestion {
64
16
  avgOfStudentChoice: number;
65
17
  questionId: number;
@@ -82,13 +34,6 @@ export interface IResponseStudentQuestion {
82
34
  isSessionCheckIn: boolean;
83
35
  sessionResults: ICheckInResult[];
84
36
  }
85
- export interface ICheckIn {
86
- id: number;
87
- studentId: number;
88
- startTime: string;
89
- createdAt?: string;
90
- sessionResults: ICheckInResult[];
91
- }
92
37
  export interface ICheckInResult {
93
38
  id: number;
94
39
  isTeacherResult: boolean;
@@ -103,11 +48,6 @@ export interface IStudentSkillQuestion {
103
48
  responseStudentSafety: IResponseStudentQuestion[];
104
49
  responseStudentStress: IResponseStudentQuestion[];
105
50
  }
106
- export interface IStudentPressureChart {
107
- studentPressure: IStudentPressure;
108
- width?: number;
109
- print?: boolean;
110
- }
111
51
  export interface IQuestionResponseLastMonth {
112
52
  avgQuestionResponse: number;
113
53
  avgQuestionResponseLastMonth: number;
@@ -119,120 +59,6 @@ export interface IColumnChartAndPercent {
119
59
  type: string;
120
60
  overViewQuestionLastMonth: IQuestionResponseLastMonth[];
121
61
  }
122
- export interface IChartOptions {
123
- value: TYPECHART;
124
- label: string;
125
- }
126
- export interface IGenerateChart {
127
- typeChart: string;
128
- timeOfDay?: string;
129
- onActiveColumn?: Function;
130
- activeColumn: boolean[];
131
- series: ISeries[];
132
- expand?: boolean;
133
- avgContent?: string;
134
- months: string[];
135
- name: string;
136
- dayOfWeek?: string[];
137
- colors: string[];
138
- textColors?: string[];
139
- avgQuestionLastMonth: IQuestionResponseLastMonth[];
140
- isShowExpandIcon?: boolean;
141
- onExpand?: Function;
142
- studentCount?: number;
143
- studentPercentage?: number;
144
- responseStudent?: IResponseStudentQuestion[];
145
- classFontSize?: string;
146
- print?: boolean;
147
- width?: number | string;
148
- height?: number | string;
149
- titleClassFontSize?: string;
150
- min?: number;
151
- }
152
- export interface IChartOverview {
153
- isPlp?: boolean;
154
- idDistribution?: string;
155
- timeOfDay?: string;
156
- topLearningStrategiesData: ILearningStrategies;
157
- handleActiveColumnOneToOne: Function;
158
- dayOfWeekOneToOne: string[];
159
- stressData: ISeries[];
160
- safetyData: ISeries[];
161
- preparednessData: ISeries[];
162
- monthsOneToOne: string[];
163
- successIndicatorsData: ISeries[];
164
- avgQuestionLastMonth: IQuestionResponseLastMonth[];
165
- activeColumnSuccessIndicators: boolean[];
166
- activeColumnPreparedness: boolean[];
167
- dataOverallReadyToLearn: IOverallReadinessToLearn;
168
- studentSkillQuestion: IStudentSkillQuestion;
169
- classFontSize?: string;
170
- studentPressure: IStudentPressure;
171
- dataReadinessOfChart: IReadinessToLearning[];
172
- seriesConference: ISeries[];
173
- monthsConference: string[];
174
- activeColumnConference: boolean[];
175
- handleActiveColumnConference: Function;
176
- dayOfWeekConference: string[];
177
- avgConferenceLastMonth: IQuestionResponseLastMonth[];
178
- }
179
- export interface IPartnerInformation {
180
- name: string;
181
- gradeLevel: string;
182
- email: string;
183
- phoneNumber: number;
184
- address: string;
185
- mtss: string;
186
- studentProfileImage: string;
187
- }
188
- export interface IInformationDashboard {
189
- totalOneToOne: number;
190
- totalCheckIn: number;
191
- totalConference: number;
192
- totalTimeConference: number;
193
- avgClassReflection: number;
194
- }
195
- export interface IOverviewToPDF {
196
- startDate: string;
197
- endDate: string;
198
- timeOfDay?: string;
199
- partnerInformation?: IPartnerInformation;
200
- informationDashboard?: IInformationDashboard;
201
- activeColumnOneToOne: boolean[];
202
- activeColumnPreparedness: boolean[];
203
- activeColumnSuccessIndicators: boolean[];
204
- safetyData: ISeries[];
205
- stressData: ISeries[];
206
- preparednessData: ISeries[];
207
- successIndicatorsData: ISeries[];
208
- monthsOneToOne: string[];
209
- dayOfWeekOneToOne: string[];
210
- avgQuestionLastMonth: IQuestionResponseLastMonth[];
211
- topLearningStrategiesData: ILearningStrategies;
212
- dataOverallReadyToLearn: IOverallReadinessToLearn;
213
- studentPressure: IStudentPressure;
214
- classFontSize?: string;
215
- seriesConference: ISeries[];
216
- monthsConference: string[];
217
- activeColumnConference: boolean[];
218
- dayOfWeekConference: string[];
219
- avgConferenceLastMonth: IQuestionResponseLastMonth[];
220
- dataReadinessOfChart: IReadinessToLearning[];
221
- }
222
- export interface IModelStudentSession {
223
- open: boolean;
224
- onClose: Function;
225
- title: string;
226
- tagName: string;
227
- responseStudent: IResponseStudentQuestion[];
228
- isStressMode?: boolean;
229
- }
230
- export interface IModelSkillStudent {
231
- studentCount?: number;
232
- studentPercentage?: number;
233
- name: string;
234
- responseStudent?: IResponseStudentQuestion[];
235
- }
236
62
  export interface FILTER_STUDENT_WELLBEING {
237
63
  startDate?: number;
238
64
  endDate?: number;
@@ -1,38 +1,10 @@
1
- import { ApexOptions } from "apexcharts";
2
- import { IOverviewQuestionChoice, IReadinessToLearning, ISeries } from "./interface";
3
- export declare const seriesNameBubbleChartCustom: (series: IReadinessToLearning[]) => string[];
4
- export declare const average: (arr: number[]) => number;
1
+ import { IOverviewQuestionChoice } from "./interface";
5
2
  export declare const convertDataToDataChart: (data: IOverviewQuestionChoice[]) => string[];
6
- export declare const overallDonutCHartOptions: (labelNames: string[], colors: string[], isCountSeries?: boolean | undefined, textColors?: string[] | undefined) => ApexOptions;
7
- export declare const learningStrategyChartOptions: (labelNames: any, usageCountList: number[], isMobileScreen: boolean) => ApexOptions;
8
- export declare const readinesToLearnoptions: (id: string, data: IReadinessToLearning[], seriesName: string[], redirectStudentOverview?: Function | undefined, isStudent?: boolean | undefined, colors?: string[] | undefined, isStudentResponses?: boolean | undefined) => ApexOptions;
9
- export declare const convertDataToSeriesBullderChart: (data: IReadinessToLearning[], chartWidth: number, isStudentResponses?: boolean | undefined) => {
10
- name: string;
11
- data: (string | number)[][];
12
- }[];
13
- export declare const optionLineChart: (months: string[], activeData: boolean[], colors: string[], dayOfWeek?: string[] | undefined) => ApexOptions;
14
- export declare const mergeBarChartAndArea: (series: ISeries[], isHasLineChart: boolean) => {
15
- type: string;
16
- name: string;
17
- data: number[];
18
- }[];
19
- export declare const optionBarChartAndArea: (months: string[], activeData: boolean[], newseries?: any, dayOfWeek?: string[] | undefined) => ApexOptions;
20
- export declare const optionColumnChartAndPercents: (min: number, months: string[], activeData: boolean[], isRidgeCharts: boolean, colors: string[], maxSeries: number, dayOfWeek?: string[] | undefined, isCountSeries?: boolean | undefined) => ApexOptions;
21
3
  export declare const convertToSeriesColumnChartAndPercent: (dataCharts: string[], data: IOverviewQuestionChoice[], isHardQuestion?: boolean | undefined) => {
22
4
  name: string;
23
5
  data: number[];
24
6
  }[];
25
- export declare const convertToSeriesColumnChartAndPercentProgress: (data: IOverviewQuestionChoice[]) => {
26
- name: string;
27
- data: number[];
28
- }[];
29
- export declare const convertToSeriesColumnChartAndPercentConference: (dataCharts: string[], data: IOverviewQuestionChoice[]) => {
30
- name: string;
31
- data: number[];
32
- }[];
33
- export declare const convertToAvg: (dataCharts: string[], data: IOverviewQuestionChoice[], months: string[]) => number[];
34
7
  export declare const handleAveraged: (points: number[], isStress?: boolean | undefined) => number;
35
- export declare const handleGenerateAvgQuestion: (data: number[], isStress: boolean, avgContent?: string | undefined) => string;
36
8
  export declare const getConvertMinuteToHour: (timeSecond: any, usingText?: boolean | undefined) => string;
37
9
  export declare const getTimeOfFirstDayCurrentMonth: () => number;
38
10
  export declare const getTimeCurrentDay: () => number;