@elice/material-quiz 1.260305.0 → 1.260429.0-improvetimerpopoverui.0
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/cjs/components/eb-sortable/EbDraggable.d.ts +1 -0
- package/cjs/components/eb-sortable/EbDroppable.d.ts +1 -0
- package/cjs/components/eb-sortable/EbSortable.d.ts +1 -0
- package/cjs/components/material-quiz-edit/hooks/useMaterialQuizCourse.js +1 -0
- package/cjs/components/material-quiz-edit/hooks/useMaterialQuizRegex.js +1 -0
- package/cjs/components/shared/QuestionBox.d.ts +1 -0
- package/cjs/components/shared/contexts/MaterialQuizApiContext.d.ts +1 -0
- package/cjs/components/shared/question-checkbox/QuestionCheckbox.d.ts +1 -0
- package/cjs/components/shared/question-checkbox/QuestionCheckboxOption.d.ts +1 -0
- package/cjs/components/shared/question-radio/QuestionRadio.d.ts +1 -0
- package/cjs/components/shared/question-radio/QuestionRadioOption.d.ts +1 -0
- package/es/components/eb-sortable/EbDraggable.d.ts +1 -0
- package/es/components/eb-sortable/EbDroppable.d.ts +1 -0
- package/es/components/eb-sortable/EbSortable.d.ts +1 -0
- package/es/components/material-quiz-edit/hooks/useMaterialQuizCourse.js +1 -0
- package/es/components/material-quiz-edit/hooks/useMaterialQuizRegex.js +1 -0
- package/es/components/shared/QuestionBox.d.ts +1 -0
- package/es/components/shared/contexts/MaterialQuizApiContext.d.ts +1 -0
- package/es/components/shared/question-checkbox/QuestionCheckbox.d.ts +1 -0
- package/es/components/shared/question-checkbox/QuestionCheckboxOption.d.ts +1 -0
- package/es/components/shared/question-radio/QuestionRadio.d.ts +1 -0
- package/es/components/shared/question-radio/QuestionRadioOption.d.ts +1 -0
- package/package.json +25 -17
|
@@ -25,6 +25,7 @@ var useMaterialQuizCourse = function useMaterialQuizCourse() {
|
|
|
25
25
|
var materialId = watch('id');
|
|
26
26
|
//
|
|
27
27
|
var _useQuery = reactQuery.useQuery({
|
|
28
|
+
// eslint-disable-next-line @tanstack/query/exhaustive-deps
|
|
28
29
|
queryKey: ['getOrgLecturePageGet', 'courseApi.courseCourseIdGet', {
|
|
29
30
|
materialId: materialId
|
|
30
31
|
}],
|
|
@@ -15,6 +15,7 @@ var useMaterialQuizRegex = function useMaterialQuizRegex(params) {
|
|
|
15
15
|
courseRegexApi = _useMaterialQuizApiCo.courseRegexApi;
|
|
16
16
|
//
|
|
17
17
|
var _useQuery = reactQuery.useQuery({
|
|
18
|
+
// eslint-disable-next-line @tanstack/query/exhaustive-deps
|
|
18
19
|
queryKey: ['courseRegex.reGet', params],
|
|
19
20
|
queryFn: function queryFn(_ref) {
|
|
20
21
|
var signal = _ref.signal;
|
|
@@ -3,6 +3,7 @@ import type { ButtonProps } from '@elice/blocks';
|
|
|
3
3
|
import type { GetOrgMaterialQuizResponseGetResponses } from '@elice/types';
|
|
4
4
|
import type { UseMeasureRef } from 'react-use/lib/useMeasure';
|
|
5
5
|
interface QuestionBoxProps {
|
|
6
|
+
children?: React.ReactNode;
|
|
6
7
|
footerActions?: ButtonProps[];
|
|
7
8
|
title?: string;
|
|
8
9
|
titlePrefix?: string;
|
|
@@ -6,6 +6,7 @@ interface MaterialQuizApiContextValue {
|
|
|
6
6
|
courseRegexApi: EliceCourseReApi;
|
|
7
7
|
}
|
|
8
8
|
export interface MaterialQuizApiProviderProps {
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
eliceCourseApiConfiguration: EliceCourseApiConfiguration;
|
|
10
11
|
}
|
|
11
12
|
export declare const MaterialQuizApiContext: React.Context<MaterialQuizApiContextValue>;
|
|
@@ -23,6 +23,7 @@ var useMaterialQuizCourse = function useMaterialQuizCourse() {
|
|
|
23
23
|
var materialId = watch('id');
|
|
24
24
|
//
|
|
25
25
|
var _useQuery = useQuery({
|
|
26
|
+
// eslint-disable-next-line @tanstack/query/exhaustive-deps
|
|
26
27
|
queryKey: ['getOrgLecturePageGet', 'courseApi.courseCourseIdGet', {
|
|
27
28
|
materialId: materialId
|
|
28
29
|
}],
|
|
@@ -13,6 +13,7 @@ var useMaterialQuizRegex = function useMaterialQuizRegex(params) {
|
|
|
13
13
|
courseRegexApi = _useMaterialQuizApiCo.courseRegexApi;
|
|
14
14
|
//
|
|
15
15
|
var _useQuery = useQuery({
|
|
16
|
+
// eslint-disable-next-line @tanstack/query/exhaustive-deps
|
|
16
17
|
queryKey: ['courseRegex.reGet', params],
|
|
17
18
|
queryFn: function queryFn(_ref) {
|
|
18
19
|
var signal = _ref.signal;
|
|
@@ -3,6 +3,7 @@ import type { ButtonProps } from '@elice/blocks';
|
|
|
3
3
|
import type { GetOrgMaterialQuizResponseGetResponses } from '@elice/types';
|
|
4
4
|
import type { UseMeasureRef } from 'react-use/lib/useMeasure';
|
|
5
5
|
interface QuestionBoxProps {
|
|
6
|
+
children?: React.ReactNode;
|
|
6
7
|
footerActions?: ButtonProps[];
|
|
7
8
|
title?: string;
|
|
8
9
|
titlePrefix?: string;
|
|
@@ -6,6 +6,7 @@ interface MaterialQuizApiContextValue {
|
|
|
6
6
|
courseRegexApi: EliceCourseReApi;
|
|
7
7
|
}
|
|
8
8
|
export interface MaterialQuizApiProviderProps {
|
|
9
|
+
children?: React.ReactNode;
|
|
9
10
|
eliceCourseApiConfiguration: EliceCourseApiConfiguration;
|
|
10
11
|
}
|
|
11
12
|
export declare const MaterialQuizApiContext: React.Context<MaterialQuizApiContextValue>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elice/material-quiz",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.260429.0-improvetimerpopoverui.0",
|
|
4
4
|
"description": "User view and editing components of Elice material quiz",
|
|
5
5
|
"repository": "https://git.elicer.io/elice/frontend/library/elice-material",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -14,14 +14,6 @@
|
|
|
14
14
|
"README.md"
|
|
15
15
|
],
|
|
16
16
|
"sideEffects": false,
|
|
17
|
-
"scripts": {
|
|
18
|
-
"start": "run-s watch",
|
|
19
|
-
"prebuild": "run-s clean",
|
|
20
|
-
"build": "cross-env NODE_ENV=production rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs",
|
|
21
|
-
"watch": "rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs -w",
|
|
22
|
-
"lint": "eslint --ext .ts,.tsx ./src --max-warnings=0",
|
|
23
|
-
"clean": "del-cli \"es/*\" \"cjs/*\" \"dist/*\""
|
|
24
|
-
},
|
|
25
17
|
"peerDependencies": {
|
|
26
18
|
"@elice/api-client": "^1",
|
|
27
19
|
"@elice/blocks": "^1",
|
|
@@ -30,8 +22,6 @@
|
|
|
30
22
|
"@elice/icons": "^1",
|
|
31
23
|
"@elice/intl": "^0",
|
|
32
24
|
"@elice/markdown": "^1",
|
|
33
|
-
"@elice/material-shared-types": "1.260305.0",
|
|
34
|
-
"@elice/material-shared-utils": "1.260305.0",
|
|
35
25
|
"@elice/mui-elements": "^5",
|
|
36
26
|
"@elice/mui-system": "^5",
|
|
37
27
|
"@elice/openapi-client-course": "^1",
|
|
@@ -48,7 +38,9 @@
|
|
|
48
38
|
"@mui/x-date-pickers": "^6.7.0",
|
|
49
39
|
"@tanstack/react-query": "^4",
|
|
50
40
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
51
|
-
"react-use": "^17.0.0"
|
|
41
|
+
"react-use": "^17.0.0",
|
|
42
|
+
"@elice/material-shared-types": "1.260429.0-improvetimerpopoverui.0",
|
|
43
|
+
"@elice/material-shared-utils": "1.260429.0-improvetimerpopoverui.0"
|
|
52
44
|
},
|
|
53
45
|
"dependencies": {
|
|
54
46
|
"@dnd-kit/core": "^6.1.0",
|
|
@@ -61,6 +53,7 @@
|
|
|
61
53
|
"lodash-es": "^4.17.21",
|
|
62
54
|
"marked": "^14.1.2",
|
|
63
55
|
"react-hook-form": "~7.45.4",
|
|
56
|
+
"react-sortable-hoc": "^2.0.0",
|
|
64
57
|
"react-transition-group": "^4.4.0",
|
|
65
58
|
"rxjs": "^6.4.0",
|
|
66
59
|
"styled-components": "^5",
|
|
@@ -75,12 +68,11 @@
|
|
|
75
68
|
"@elice/icons-legacy": "npm:@elice/icons@0.230814.0",
|
|
76
69
|
"@elice/intl": "0.241127.0",
|
|
77
70
|
"@elice/markdown": "1.241015.0",
|
|
78
|
-
"@elice/material-shared-types": "1.260305.0",
|
|
79
|
-
"@elice/material-shared-utils": "1.260305.0",
|
|
80
71
|
"@elice/mui-elements": "5.251204.0",
|
|
81
72
|
"@elice/mui-system": "5.251204.0",
|
|
82
73
|
"@elice/openapi-client-course": "^1.250702.0",
|
|
83
74
|
"@elice/openapi-client-file": "^1.240619.0",
|
|
75
|
+
"@elice/rollup-config": "^1.260406.0",
|
|
84
76
|
"@elice/types": "^1.251229.0",
|
|
85
77
|
"@elice/wysiwyg": "1.241015.0",
|
|
86
78
|
"@emotion/react": "^11.10.0",
|
|
@@ -99,7 +91,23 @@
|
|
|
99
91
|
"@types/react": "~17.0.9",
|
|
100
92
|
"@types/react-transition-group": "^4.4.4",
|
|
101
93
|
"@types/styled-components": "^5.1.36",
|
|
102
|
-
"
|
|
103
|
-
"
|
|
94
|
+
"cross-env": "^7.0.3",
|
|
95
|
+
"del-cli": "^3.0.1",
|
|
96
|
+
"eslint": "~9.39.0",
|
|
97
|
+
"npm-run-all": "^4.1.5",
|
|
98
|
+
"react": "~18.2.0",
|
|
99
|
+
"react-use": "^17.2.4",
|
|
100
|
+
"rollup": "^4.0.0",
|
|
101
|
+
"typescript": "~5.9.3",
|
|
102
|
+
"@elice/material-shared-types": "1.260429.0-improvetimerpopoverui.0",
|
|
103
|
+
"@elice/material-shared-utils": "1.260429.0-improvetimerpopoverui.0"
|
|
104
|
+
},
|
|
105
|
+
"scripts": {
|
|
106
|
+
"start": "run-s watch",
|
|
107
|
+
"prebuild": "run-s clean",
|
|
108
|
+
"build": "cross-env NODE_ENV=production rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs",
|
|
109
|
+
"watch": "rollup -c ../../rollup.config.ts --configPlugin typescript -f es -f cjs -w",
|
|
110
|
+
"lint": "eslint --ext .ts,.tsx ./src --max-warnings=0",
|
|
111
|
+
"clean": "del-cli \"es/*\" \"cjs/*\" \"dist/*\""
|
|
104
112
|
}
|
|
105
|
-
}
|
|
113
|
+
}
|