mario-education 2.4.225-release → 2.4.226-release

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 (77) hide show
  1. package/dist/MarioFramework.Education/ClientApp/src/components/Select/SelectFilter.d.ts +2 -2
  2. package/dist/MarioFramework.Education/ClientApp/src/containers/AdminTraining/views/AdminTraining.d.ts +2 -2
  3. package/dist/MarioFramework.Education/ClientApp/src/containers/Assessment/components/QuestionSplitPaneSelector.d.ts +2 -2
  4. package/dist/MarioFramework.Education/ClientApp/src/containers/AssessmentAssignment/views/AssessmentAssignmentContainer.d.ts +2 -2
  5. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignAssistant/views/AssignAssistantList.d.ts +2 -2
  6. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignCounselor/views/AssignCounselorList.d.ts +2 -2
  7. package/dist/MarioFramework.Education/ClientApp/src/containers/AssignSecondaryTeacher/views/AssignSecondaryTeacherList.d.ts +2 -2
  8. package/dist/MarioFramework.Education/ClientApp/src/containers/Assignment/components/AcademicClassSelector.d.ts +2 -2
  9. package/dist/MarioFramework.Education/ClientApp/src/containers/Assignment/components/AssessmentSelector.d.ts +2 -2
  10. package/dist/MarioFramework.Education/ClientApp/src/containers/Certificate/views/CertificateContainer.d.ts +2 -2
  11. package/dist/MarioFramework.Education/ClientApp/src/containers/ConferenceRubric/views/ConferenceRubricDetail.d.ts +2 -2
  12. package/dist/MarioFramework.Education/ClientApp/src/containers/CurrentLicense/views/CurrentLicense.d.ts +2 -2
  13. package/dist/MarioFramework.Education/ClientApp/src/containers/CustomAlert/components/QuestionAlertDetailModel.d.ts +4 -0
  14. package/dist/MarioFramework.Education/ClientApp/src/containers/CustomAlert/configs/constant.d.ts +16 -0
  15. package/dist/MarioFramework.Education/ClientApp/src/containers/CustomAlert/configs/type.d.ts +20 -0
  16. package/dist/MarioFramework.Education/ClientApp/src/containers/CustomAlert/configs/validate.d.ts +9 -0
  17. package/dist/MarioFramework.Education/ClientApp/src/containers/CustomAlert/hooks/useQuestionAlert.d.ts +14 -0
  18. package/dist/MarioFramework.Education/ClientApp/src/containers/CustomAlert/views/CustomQuestionAlert.d.ts +3 -0
  19. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CustomBarChart.d.ts +2 -2
  20. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/CustomLineChart.d.ts +2 -2
  21. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/DashboardToPDF.d.ts +2 -2
  22. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/LearningStrategiesTable.d.ts +2 -2
  23. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentByGender.d.ts +2 -2
  24. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/StudentPressureChart.d.ts +2 -2
  25. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TopSkill.d.ts +2 -2
  26. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/components/TotalCard.d.ts +2 -2
  27. package/dist/MarioFramework.Education/ClientApp/src/containers/Dashboard/configs/types.d.ts +1 -0
  28. package/dist/MarioFramework.Education/ClientApp/src/containers/Destinations/views/Destinations.d.ts +2 -2
  29. package/dist/MarioFramework.Education/ClientApp/src/containers/FixData/views/FixDataStudent.d.ts +2 -2
  30. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/ImportOneRoster.d.ts +6 -0
  31. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/components/RosterConfigForm.d.ts +8 -0
  32. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/useImportOneRoster.d.ts +28 -0
  33. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/hooks/userRosterConfigForm.d.ts +7 -0
  34. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/constants.d.ts +2 -0
  35. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/utils/types.d.ts +5 -0
  36. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRoster/views/OneRoster.d.ts +3 -0
  37. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/components/TeacherSelector.d.ts +2 -2
  38. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/hooks/useImportOneRoster.d.ts +5 -5
  39. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/OneRosterContainer.d.ts +2 -2
  40. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/OneRosterImport.d.ts +2 -2
  41. package/dist/MarioFramework.Education/ClientApp/src/containers/OneRosterSystem/views/OneRosterUserList.d.ts +2 -2
  42. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/AgGridComponents.d.ts +6 -6
  43. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/QuestionPreview.d.ts +2 -2
  44. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/components/UserForQuestion.d.ts +2 -2
  45. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/views/QuestionBankContainer.d.ts +2 -2
  46. package/dist/MarioFramework.Education/ClientApp/src/containers/QuestionBank/views/SurveyQuestionContainer.d.ts +2 -2
  47. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/components/QuestionResponse/EmotionalResponse.d.ts +2 -2
  48. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/components/QuestionResponse/MultipleChoiceResponse.d.ts +2 -2
  49. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/components/QuestionResponse/RatingReponse.d.ts +2 -2
  50. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/components/QuestionResponse/RatingStarReponse.d.ts +2 -2
  51. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/components/QuestionResponse/TextInputResponse.d.ts +2 -2
  52. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/components/QuestionSplitPaneSelector.d.ts +2 -2
  53. package/dist/MarioFramework.Education/ClientApp/src/containers/ReflectionForm/views/ReflectionContainer.d.ts +2 -2
  54. package/dist/MarioFramework.Education/ClientApp/src/containers/Sandbox/views/SandboxContainer.d.ts +2 -2
  55. package/dist/MarioFramework.Education/ClientApp/src/containers/Setup/views/SetupContainer.d.ts +2 -2
  56. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/ChoiceChartType.d.ts +2 -2
  57. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/TotalCard.d.ts +2 -2
  58. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/configs/types.d.ts +1 -0
  59. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchAssistant/views/SwitchAssistantList.d.ts +2 -2
  60. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchCounselor/views/SwitchCounselorList.d.ts +2 -2
  61. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchSecondaryTeacher/views/SwitchSecondaryTeacherList.d.ts +2 -2
  62. package/dist/MarioFramework.Education/ClientApp/src/containers/SwitchTeacher/views/SwitchTeacherList.d.ts +2 -2
  63. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/components/SelectorTemplate.d.ts +2 -2
  64. package/dist/MarioFramework.Education/ClientApp/src/containers/TemplateSystem/views/TemplateContainer.d.ts +2 -2
  65. package/dist/MarioFramework.Education/ClientApp/src/containers/Training/views/Training.d.ts +2 -2
  66. package/dist/MarioFramework.Education/ClientApp/src/containers/TutorialScreen/views/TutorialScreenContainer.d.ts +2 -2
  67. package/dist/MarioFramework.Education/ClientApp/src/containers/UserDeleted/views/UserDeletedList.d.ts +2 -2
  68. package/dist/MarioFramework.Education/ClientApp/src/containers/UserRevert/views/RevertUser.d.ts +2 -2
  69. package/dist/MarioFramework.Education/ClientApp/src/containers/WelcomeEmailResend/views/WelcomeEmailResend.d.ts +2 -2
  70. package/dist/MarioFramework.Education/ClientApp/src/index.d.ts +2 -1
  71. package/dist/MarioFramework.Education/ClientApp/src/services/questionAlertService.d.ts +5 -0
  72. package/dist/index.css +13 -1
  73. package/dist/index.js +6632 -3629
  74. package/dist/index.js.map +1 -1
  75. package/dist/index.modern.js +6632 -3630
  76. package/dist/index.modern.js.map +1 -1
  77. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import "react-datepicker/dist/react-datepicker.css";
3
3
  import { PROPS_FILTERS_COMPONENT } from "../../utils/type";
4
- declare const SelectFilter: ({ studentUserId, studentId, studentDefault, handleChangeFilters, name, icon, option, onChangeFilters, btnStyle, filter, teacherUserId, changeCurrentTeacherUserId, labelBox, setLabelBox }: PROPS_FILTERS_COMPONENT) => React.JSX.Element;
4
+ declare const SelectFilter: ({ studentUserId, studentId, studentDefault, handleChangeFilters, name, icon, option, onChangeFilters, btnStyle, filter, teacherUserId, changeCurrentTeacherUserId, labelBox, setLabelBox }: PROPS_FILTERS_COMPONENT) => JSX.Element;
5
5
  export default SelectFilter;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AdminTraining: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AdminTraining: () => JSX.Element;
3
3
  export default AdminTraining;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuestionSplitPaneSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuestionSplitPaneSelector: (props: any) => JSX.Element;
3
3
  export default QuestionSplitPaneSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AssessmentAssignmentContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AssessmentAssignmentContainer: () => JSX.Element;
3
3
  export default AssessmentAssignmentContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AssignAssistantList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AssignAssistantList: () => JSX.Element;
3
3
  export default AssignAssistantList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AssignCounselorList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AssignCounselorList: () => JSX.Element;
3
3
  export default AssignCounselorList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AssignSecondaryTeacherList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AssignSecondaryTeacherList: () => JSX.Element;
3
3
  export default AssignSecondaryTeacherList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AcademicClassSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AcademicClassSelector: (props: any) => JSX.Element;
3
3
  export default AcademicClassSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const AssessmentSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const AssessmentSelector: (props: any) => JSX.Element;
3
3
  export default AssessmentSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CertificateContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CertificateContainer: () => JSX.Element;
3
3
  export default CertificateContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const ConferenceRubricDetail: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const ConferenceRubricDetail: () => JSX.Element;
3
3
  export default ConferenceRubricDetail;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CurrentLicense: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CurrentLicense: () => JSX.Element;
3
3
  export default CurrentLicense;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IQuestionAlertDetailModel } from "../configs/type";
3
+ declare const QuestionAlertDetailModel: ({ header, onConfirm, questionAlertDetail, onCancel }: IQuestionAlertDetailModel) => JSX.Element;
4
+ export default QuestionAlertDetailModel;
@@ -0,0 +1,16 @@
1
+ export declare enum AlertType {
2
+ OneToOne = 0,
3
+ Conference = 1
4
+ }
5
+ export declare const initQuestionAlert: {
6
+ questionText: string;
7
+ text: string;
8
+ flag: string;
9
+ from: number;
10
+ to: number;
11
+ type: AlertType;
12
+ };
13
+ export declare const alertTypeOptions: {
14
+ value: AlertType;
15
+ label: string;
16
+ }[];
@@ -0,0 +1,20 @@
1
+ import { AlertType } from "./constant";
2
+ export interface IQuestionAlert {
3
+ id?: number;
4
+ questionText: string;
5
+ questionId?: number;
6
+ text: string;
7
+ flag: string;
8
+ from: number;
9
+ to: number;
10
+ type: AlertType;
11
+ }
12
+ export interface IQuestionAlertDetailModel {
13
+ header: string;
14
+ confirmText: string;
15
+ onConfirm: Function;
16
+ questionAlertDetail: IQuestionAlert | null | undefined;
17
+ onCancel: Function;
18
+ edited: boolean;
19
+ setEdited: Function;
20
+ }
@@ -0,0 +1,9 @@
1
+ export declare const schema: import("yup/lib/object").OptionalObjectSchema<{
2
+ questionText: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
3
+ text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
4
+ flag: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
5
+ }, Record<string, any>, import("yup/lib/object").TypeOfShape<{
6
+ questionText: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
7
+ text: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
8
+ flag: import("yup/lib/string").RequiredStringSchema<string | undefined, Record<string, any>>;
9
+ }>>;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { IQuestionAlert } from "../configs/type";
3
+ declare const useQuestionAlert: () => {
4
+ filters: import("mario-core").Filter;
5
+ changeFilters: (updatedFilters: any) => void;
6
+ getData: () => Promise<void>;
7
+ alerts: IQuestionAlert[];
8
+ model: IQuestionAlert | null | undefined;
9
+ setModel: import("react").Dispatch<import("react").SetStateAction<IQuestionAlert | null | undefined>>;
10
+ createAlert: (model: any) => Promise<void>;
11
+ removeData: (id: number) => Promise<void>;
12
+ updateAlert: (model: any) => Promise<void>;
13
+ };
14
+ export default useQuestionAlert;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const CustomQuestionAlert: () => JSX.Element;
3
+ export default CustomQuestionAlert;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CustomBarChart: ({ data, question, chartName }: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CustomBarChart: ({ data, question, chartName }: any) => JSX.Element;
3
3
  export default CustomBarChart;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const CustomLineChart: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const CustomLineChart: () => JSX.Element;
3
3
  export default CustomLineChart;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { IDashboardToPDF } from "../configs/types";
3
- declare const DashboardToPDF: (props: IDashboardToPDF) => React.JSX.Element;
3
+ declare const DashboardToPDF: (props: IDashboardToPDF) => JSX.Element;
4
4
  export default DashboardToPDF;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { DashboardFilter } from "../configs/types";
3
3
  interface PropsType {
4
4
  isOpen: boolean;
@@ -9,5 +9,5 @@ interface PropsType {
9
9
  changeFilter: (updatedFilter: any) => void;
10
10
  filterDashboard: DashboardFilter;
11
11
  }
12
- declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter, filterDashboard }: PropsType) => React.JSX.Element;
12
+ declare const LearningStrategiesTable: ({ isOpen, onClosed, filter, data, getData, changeFilter, filterDashboard }: PropsType) => JSX.Element;
13
13
  export default LearningStrategiesTable;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const StudentByGender: ({ data }: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const StudentByGender: ({ data }: any) => JSX.Element;
3
3
  export default StudentByGender;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { IStudentPressureChart } from "../configs/types";
3
- declare const StudentPressureChart: ({ studentPressure, width, print }: IStudentPressureChart) => React.JSX.Element;
3
+ declare const StudentPressureChart: ({ studentPressure, width, print }: IStudentPressureChart) => JSX.Element;
4
4
  export default StudentPressureChart;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const TopSkill: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const TopSkill: () => JSX.Element;
3
3
  export default TopSkill;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { TotalCardItem } from "../configs/types";
3
- declare const TotalCard: ({ icon, title, value }: TotalCardItem) => React.JSX.Element;
3
+ declare const TotalCard: ({ icon, title, value }: TotalCardItem) => JSX.Element;
4
4
  export default TotalCard;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { QuestionType } from "../../ReflectionForm/configs/types";
2
3
  export declare type LoginCountingReport = {
3
4
  date: string;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const Destinations: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const Destinations: () => JSX.Element;
3
3
  export default Destinations;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const FixDataStudent: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const FixDataStudent: () => JSX.Element;
3
3
  export default FixDataStudent;
@@ -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;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const TeacherSelector: ({ options, isDisabled, scrollBottom, onCreateOption, ...rest }: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const TeacherSelector: ({ options, isDisabled, scrollBottom, onCreateOption, ...rest }: any) => JSX.Element;
3
3
  export default TeacherSelector;
@@ -13,12 +13,12 @@ declare const useImportOneRoster: ({ errorImportRest }: {
13
13
  inputRef: React.RefObject<HTMLInputElement>;
14
14
  fileProgress: number;
15
15
  uploadInfo: UploadInfo | undefined;
16
- uploadIcon: React.JSX.Element | undefined;
17
- uploadMessage: React.JSX.Element | undefined;
18
- importIcon: React.JSX.Element | undefined;
19
- importMessage: React.JSX.Element | undefined;
16
+ uploadIcon: JSX.Element | undefined;
17
+ uploadMessage: JSX.Element | undefined;
18
+ importIcon: JSX.Element | undefined;
19
+ importMessage: JSX.Element | undefined;
20
20
  restApiInfo: object | undefined;
21
- restApiProgress: React.JSX.Element[] | undefined;
21
+ restApiProgress: JSX.Element[] | undefined;
22
22
  setFileProgress: React.Dispatch<React.SetStateAction<number>>;
23
23
  handleFileChange: () => Promise<void>;
24
24
  importRosterZipFile: (file: File) => Promise<void>;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const OneRosterContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const OneRosterContainer: () => JSX.Element;
3
3
  export default OneRosterContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const OneRosterImport: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const OneRosterImport: () => JSX.Element;
3
3
  export default OneRosterImport;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const OneRosterUserList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const OneRosterUserList: () => JSX.Element;
3
3
  export default OneRosterUserList;
@@ -1,12 +1,12 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  interface ActionProps {
3
3
  params: any;
4
4
  edit: (id?: number) => any;
5
5
  remove: (id?: number) => any;
6
6
  }
7
- export declare const renderQuestionText: (params: any) => React.JSX.Element;
8
- export declare const renderActions: ({ params, edit, remove }: ActionProps) => React.JSX.Element;
9
- export declare const renderCategory: (params: any) => React.JSX.Element;
10
- export declare const renderType: (params: any) => React.JSX.Element;
11
- export declare const renderUserQuestion: (params: any) => React.JSX.Element;
7
+ export declare const renderQuestionText: (params: any) => JSX.Element;
8
+ export declare const renderActions: ({ params, edit, remove }: ActionProps) => JSX.Element;
9
+ export declare const renderCategory: (params: any) => JSX.Element;
10
+ export declare const renderType: (params: any) => JSX.Element;
11
+ export declare const renderUserQuestion: (params: any) => JSX.Element;
12
12
  export {};
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuestionPreview: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuestionPreview: (props: any) => JSX.Element;
3
3
  export default QuestionPreview;
@@ -1,7 +1,7 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  interface IUserForQuestionSelect {
3
3
  value: string;
4
4
  onChange: Function;
5
5
  }
6
- declare const UserForQuestionSelect: ({ value, onChange }: IUserForQuestionSelect) => React.JSX.Element;
6
+ declare const UserForQuestionSelect: ({ value, onChange }: IUserForQuestionSelect) => JSX.Element;
7
7
  export default UserForQuestionSelect;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuestionBankContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuestionBankContainer: () => JSX.Element;
3
3
  export default QuestionBankContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SurveyQuestionContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SurveyQuestionContainer: () => JSX.Element;
3
3
  export default SurveyQuestionContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const EmotionalResponse: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const EmotionalResponse: (props: any) => JSX.Element;
3
3
  export default EmotionalResponse;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const MultipleChoiceResponse: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const MultipleChoiceResponse: (props: any) => JSX.Element;
3
3
  export default MultipleChoiceResponse;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const RatingResponse: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const RatingResponse: (props: any) => JSX.Element;
3
3
  export default RatingResponse;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const StarRatingResponse: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const StarRatingResponse: (props: any) => JSX.Element;
3
3
  export default StarRatingResponse;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const TextInputResponse: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const TextInputResponse: (props: any) => JSX.Element;
3
3
  export default TextInputResponse;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const QuestionSplitPaneSelector: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const QuestionSplitPaneSelector: (props: any) => JSX.Element;
3
3
  export default QuestionSplitPaneSelector;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const ReflectionContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const ReflectionContainer: () => JSX.Element;
3
3
  export default ReflectionContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const Sandbox: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const Sandbox: () => JSX.Element;
3
3
  export default Sandbox;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SetupContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SetupContainer: () => JSX.Element;
3
3
  export default SetupContainer;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { TYPECHART } from "../configs/constants";
3
3
  import { IChartOptions } from "../configs/types";
4
4
  interface IChoiceChartType {
@@ -6,5 +6,5 @@ interface IChoiceChartType {
6
6
  typeChart?: TYPECHART[];
7
7
  options: IChartOptions[];
8
8
  }
9
- declare const ChoiceChartType: ({ onChangeChart, typeChart, options }: IChoiceChartType) => React.JSX.Element;
9
+ declare const ChoiceChartType: ({ onChangeChart, typeChart, options }: IChoiceChartType) => JSX.Element;
10
10
  export default ChoiceChartType;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import { TotalCardItem } from "../configs/types";
3
- declare const TotalCard: ({ icon, title, value }: TotalCardItem) => React.JSX.Element;
3
+ declare const TotalCard: ({ icon, title, value }: TotalCardItem) => JSX.Element;
4
4
  export default TotalCard;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type LoginCountingReport = {
2
3
  date: string;
3
4
  studentLoginCount: number;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SwitchAssistantList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SwitchAssistantList: () => JSX.Element;
3
3
  export default SwitchAssistantList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SwitchCounselorList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SwitchCounselorList: () => JSX.Element;
3
3
  export default SwitchCounselorList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SwitchSecondaryTeacherList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SwitchSecondaryTeacherList: () => JSX.Element;
3
3
  export default SwitchSecondaryTeacherList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SwitchTeacherList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SwitchTeacherList: () => JSX.Element;
3
3
  export default SwitchTeacherList;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const SelectorTemplate: (props: any) => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const SelectorTemplate: (props: any) => JSX.Element;
3
3
  export default SelectorTemplate;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const TemplateContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const TemplateContainer: () => JSX.Element;
3
3
  export default TemplateContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const Training: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const Training: () => JSX.Element;
3
3
  export default Training;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const TutorialScreenContainer: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const TutorialScreenContainer: () => JSX.Element;
3
3
  export default TutorialScreenContainer;
@@ -1,3 +1,3 @@
1
- import React from "react";
2
- declare const UserList: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const UserList: () => JSX.Element;
3
3
  export default UserList;