mario-education 2.4.488-feedback → 2.4.489-ai
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.
- package/dist/containers/QuestionBank/components/CheckboxCellRenderer.d.ts +3 -0
- package/dist/containers/QuestionBank/configs/type.d.ts +10 -0
- package/dist/containers/QuestionBank/hooks/useQuestionSurveyList.d.ts +7 -1
- package/dist/index.css +537 -48
- package/dist/index.d.ts +5 -1
- package/dist/index.js +1710 -165
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +1689 -148
- package/dist/index.modern.js.map +1 -1
- package/dist/services/questionService.d.ts +2 -0
- package/package.json +5 -3
|
@@ -3,3 +3,13 @@ export interface IQuestionLabel {
|
|
|
3
3
|
fromLabels: string[];
|
|
4
4
|
toLabels: string[];
|
|
5
5
|
}
|
|
6
|
+
export interface ICheckboxCellRenderer {
|
|
7
|
+
checked: boolean;
|
|
8
|
+
onChange: Function;
|
|
9
|
+
}
|
|
10
|
+
export interface IQuestionChecked {
|
|
11
|
+
questionCheckedIds: number[];
|
|
12
|
+
questionIds: number[];
|
|
13
|
+
questionList: any[];
|
|
14
|
+
categoryId?: any;
|
|
15
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { IQuestionChecked } from "../configs/type";
|
|
2
3
|
declare const useQuestionSurveyList: (isDefaultQuestion: boolean, isDefaultClassReflection: boolean, isDefaultConference?: boolean | undefined, isDefaultSurvey?: boolean | undefined, categorySelected?: any, setHasChangeQuestion?: any, setMaxHeight?: any) => {
|
|
3
|
-
gridOptions: any;
|
|
4
4
|
setRef: (node: any) => any;
|
|
5
5
|
questionList: any;
|
|
6
6
|
totalItems: any;
|
|
@@ -17,5 +17,11 @@ declare const useQuestionSurveyList: (isDefaultQuestion: boolean, isDefaultClass
|
|
|
17
17
|
handleChangeInputSearch: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
18
18
|
inputSearch: import("react").MutableRefObject<any>;
|
|
19
19
|
goToDetailSurvey: (id?: number | undefined) => void;
|
|
20
|
+
columnDefs: any;
|
|
21
|
+
QuestionPreview: (props: any) => JSX.Element;
|
|
22
|
+
renderUserQuestion: (params: any) => JSX.Element;
|
|
23
|
+
questionSelected: IQuestionChecked;
|
|
24
|
+
handleSelectQuestion: (id: number, isSelectAll?: boolean | undefined) => boolean;
|
|
25
|
+
removeDataBulk: () => void;
|
|
20
26
|
};
|
|
21
27
|
export default useQuestionSurveyList;
|