mario-education 2.4.275-release → 2.4.276-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 (24) 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/MarioFramework.Education/ClientApp/src/utils/function.d.ts +3 -0
  12. package/dist/containers/SurveyDashboard/components/ModelLinkSurvey.d.ts +3 -0
  13. package/dist/containers/SurveyDashboard/configs/types.d.ts +6 -0
  14. package/dist/containers/TemplateSurvey/components/AgGridComponents.d.ts +8 -0
  15. package/dist/containers/TemplateSurvey/hooks/useTemplateCateList.d.ts +2 -0
  16. package/dist/index.css +5345 -5338
  17. package/dist/index.js +189 -69
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.modern.js +189 -69
  20. package/dist/index.modern.js.map +1 -1
  21. package/dist/services/questionCategoryService.d.ts +1 -0
  22. package/package.json +104 -104
  23. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/components/dialog/DialogChooseTeacher.d.ts +0 -10
  24. package/dist/MarioFramework.Education/ClientApp/src/containers/SurveyDashboard/hooks/useAdditionalQuestionModel.d.ts +0 -5
@@ -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;
@@ -0,0 +1,3 @@
1
+ export declare const convertText: (text: string) => string;
2
+ export declare const convertKeyTranslate: (text: string) => string;
3
+ export declare const convertKeyTranslateHtmlTag: (text: string) => string;
@@ -0,0 +1,3 @@
1
+ import { IModelLinkSurvey } from "../configs/types";
2
+ declare const ModelLinkSurvey: ({ open, onClose, anonymousKey, onCopy }: IModelLinkSurvey) => JSX.Element;
3
+ export default ModelLinkSurvey;
@@ -767,4 +767,10 @@ export interface ITableSelectStaff {
767
767
  handleChangeInputSearch: Function;
768
768
  onSelectStaff: Function;
769
769
  }
770
+ export interface IModelLinkSurvey {
771
+ open: boolean;
772
+ onClose: Function;
773
+ anonymousKey: string;
774
+ onCopy: Function;
775
+ }
770
776
  export {};
@@ -0,0 +1,8 @@
1
+ interface ActionProps {
2
+ params: any;
3
+ remove: (id?: number) => any;
4
+ }
5
+ export declare const renderName: (params: any, openModal: any) => JSX.Element;
6
+ export declare const renderNumberOfQuestion: (params: any) => JSX.Element;
7
+ export declare const renderActions: ({ params, remove }: ActionProps) => JSX.Element;
8
+ export {};
@@ -6,5 +6,7 @@ declare const useTemplateCateList: () => {
6
6
  getData: () => Promise<void>;
7
7
  removeData: (id: number) => void;
8
8
  handleSort: () => void;
9
+ updateOrderTemplateSurvey: (data: any) => Promise<void>;
10
+ setRef: (node: any) => any;
9
11
  };
10
12
  export default useTemplateCateList;