@instructure/quiz-core 18.7.1-rc.1 → 18.8.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/CHANGELOG.md +16 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +14 -13
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +15 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +22 -22
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +14 -13
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +15 -15
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +26 -26
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [18.8.0](https://gerrit.instructure.com/quizzes-ui/compare/v18.7.0...v18.8.0) (2023-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **afsTablesDesign:** fix afs table paddings and prop-types def ([4518416](https://gerrit.instructure.com/quizzes-ui/commits/45184169b0feee9e47734c0990f0d4dafa773c33))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **Reports:** add export reports button to item analysis card and page ([1d4875e](https://gerrit.instructure.com/quizzes-ui/commits/1d4875e9a6d81b08b142fbade051b72b2aa7ad46))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [18.7.0](https://gerrit.instructure.com/quizzes-ui/compare/v18.6.0...v18.7.0) (2023-11-22)
|
|
7
23
|
|
|
8
24
|
|
|
@@ -8,17 +8,17 @@ var _dec, _class, _class2, _temp;
|
|
|
8
8
|
import React, { Component } from 'react';
|
|
9
9
|
import { Flex } from '@instructure/ui-flex';
|
|
10
10
|
var styles = {
|
|
11
|
-
componentId: '
|
|
11
|
+
componentId: 'bGeZS',
|
|
12
12
|
template: function template(theme) {
|
|
13
|
-
return "\n\n.
|
|
13
|
+
return "\n\n.bGeZS_rMrG{display:flex;flex-basis:100%;flex-direction:column;padding-bottom:".concat(theme.tableBottomPadding || 'inherit', "}\n\n.bGeZS_cvRx{align-items:center;display:flex;height:100%;justify-content:center;min-height:47px;width:46px}\n\n.bGeZS_EKAb{background-color:").concat(theme.colorGreen || 'inherit', "}\n\n.bGeZS_EKAb svg{fill:#fff}\n\n.bGeZS_tnta{border-color:").concat(theme.colorGreen || 'inherit', ";border-style:solid;border-width:2px 0}\n\n.bGeZS_fvqY{border-radius:4px 4px 4px 4px;border-width:2px 2px 2px 2px}\n\n.bGeZS_tnta>span>span:nth-child(2){min-width:46px;padding:12px 12px 12px 12px}\n\n.bGeZS_bwoZ{max-width:100%;width:calc(25% + 350px)}\n\n.bGeZS_SVtU table tbody tr th{font-weight:400}");
|
|
14
14
|
},
|
|
15
|
-
'tableWrapper': '
|
|
16
|
-
'iconWrapper': '
|
|
17
|
-
'iconCorrect': '
|
|
18
|
-
'correctRowBorder': '
|
|
19
|
-
'correctRowBorderRadius': '
|
|
20
|
-
'tableHalfWidth': '
|
|
21
|
-
'tableContainer': '
|
|
15
|
+
'tableWrapper': 'bGeZS_rMrG',
|
|
16
|
+
'iconWrapper': 'bGeZS_cvRx',
|
|
17
|
+
'iconCorrect': 'bGeZS_EKAb',
|
|
18
|
+
'correctRowBorder': 'bGeZS_tnta',
|
|
19
|
+
'correctRowBorderRadius': 'bGeZS_fvqY',
|
|
20
|
+
'tableHalfWidth': 'bGeZS_bwoZ',
|
|
21
|
+
'tableContainer': 'bGeZS_SVtU'
|
|
22
22
|
};
|
|
23
23
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
24
24
|
import { Table } from '@instructure/ui-table';
|
|
@@ -108,14 +108,15 @@ export var MatchingTypeTable = (_dec = themeable(theme, styles), _dec(_class = (
|
|
|
108
108
|
}, /*#__PURE__*/React.createElement("div", {
|
|
109
109
|
className: containerClassNames
|
|
110
110
|
}, /*#__PURE__*/React.createElement(Flex, {
|
|
111
|
-
direction: "row"
|
|
111
|
+
direction: "row",
|
|
112
|
+
alignItems: "center"
|
|
112
113
|
}, /*#__PURE__*/React.createElement(Flex.Item, {
|
|
113
114
|
width: "46px",
|
|
114
|
-
textAlign: "center"
|
|
115
|
+
textAlign: "center",
|
|
116
|
+
align: "stretch"
|
|
115
117
|
}, correct && _this.renderIcon()), /*#__PURE__*/React.createElement(Flex.Item, {
|
|
116
118
|
shouldShrink: true,
|
|
117
119
|
shouldGrow: true,
|
|
118
|
-
width: "46px",
|
|
119
120
|
textAlign: "center"
|
|
120
121
|
}, count))));
|
|
121
122
|
};
|
|
@@ -160,7 +161,7 @@ export var MatchingTypeTable = (_dec = themeable(theme, styles), _dec(_class = (
|
|
|
160
161
|
id: questionRowHeaderId,
|
|
161
162
|
key: questionRowHeaderId,
|
|
162
163
|
theme: {
|
|
163
|
-
padding: '
|
|
164
|
+
padding: '12px 0 12px 0'
|
|
164
165
|
}
|
|
165
166
|
}, questionBody), answerCells);
|
|
166
167
|
};
|
|
@@ -14,23 +14,23 @@ import { IconCheckSolid, IconXSolid, IconNoSolid, IconOvalHalfSolid } from '@ins
|
|
|
14
14
|
import { themeable } from '@instructure/ui-themeable';
|
|
15
15
|
import theme from "./theme.js";
|
|
16
16
|
var styles = {
|
|
17
|
-
componentId: '
|
|
17
|
+
componentId: 'UvxSZ',
|
|
18
18
|
template: function template(theme) {
|
|
19
|
-
return "\n\n.
|
|
19
|
+
return "\n\n.UvxSZ_cvRx{align-items:center;display:flex;height:100%;justify-content:center;min-height:47px;width:46px}\n\n.UvxSZ_fPIL{min-width:500px}\n\n.UvxSZ_fPIL table{border-collapse:separate;border-spacing:0 12px}\n\n.UvxSZ_fPIL thead th{border-color:".concat(theme.colorHeaderBottomBorder || 'inherit', ";border-style:solid;border-width:0 0 1px 0}\n\n.UvxSZ_fPIL table tbody tr td{border-style:solid;border-width:2px 0 2px 0;width:33.33%}\n\n.UvxSZ_fPIL table tbody tr th:first-child{border-radius:4px 0 0 4px;border-style:solid;border-width:2px 0 2px 2px;font-weight:400}\n\n.UvxSZ_fPIL table tbody tr td:last-child{border-radius:0 4px 4px 0;border-style:solid;border-width:2px 2px 2px 0}\n\n.UvxSZ_fZpZ table tbody tr:first-child td,.UvxSZ_fZpZ table tbody tr:first-child th{border-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_fZpZ table tbody tr:nth-child(2) td,.UvxSZ_fZpZ table tbody tr:nth-child(2) th{border-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_dgTJ table tbody tr:first-child td,.UvxSZ_dgTJ table tbody tr:first-child th{border-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_dgTJ table tbody tr:nth-child(2) td,.UvxSZ_dgTJ table tbody tr:nth-child(2) th{border-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_dgTJ table tbody tr:nth-child(3) td,.UvxSZ_dgTJ table tbody tr:nth-child(3) th{border-color:").concat(theme.colorGrey || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:first-child td,.UvxSZ_bUPM table tbody tr:first-child th{border-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:nth-child(2) td,.UvxSZ_bUPM table tbody tr:nth-child(2) th{border-color:").concat(theme.colorBlue || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:nth-child(3) td,.UvxSZ_bUPM table tbody tr:nth-child(3) th{border-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:nth-child(4) td,.UvxSZ_bUPM table tbody tr:nth-child(4) th{border-color:").concat(theme.colorGrey || 'inherit', "}\n\n.UvxSZ_bvau{background-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_cxOH{background-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_eRkO{background-color:").concat(theme.colorBlue || 'inherit', "}\n\n.UvxSZ_eKcq{background-color:").concat(theme.colorGrey || 'inherit', "}\n\n.UvxSZ_euQM{padding:12px 0 12px 10px}\n\n.UvxSZ_fuuc{padding-left:45px}\n\n.UvxSZ_vDgC svg{fill:#fff}\n\n.UvxSZ_fHMm{border-color:").concat(theme.colorHeaderBottomBorder || 'inherit', ";border-style:solid;border-width:0 0 1px 0}");
|
|
20
20
|
},
|
|
21
|
-
'iconWrapper': '
|
|
22
|
-
'collapsingTable': '
|
|
23
|
-
'correctIncorrect': '
|
|
24
|
-
'correctIncorrectNoanswer': '
|
|
25
|
-
'correctIncorrectNoanswerPartial': '
|
|
26
|
-
'correctBackground': '
|
|
27
|
-
'incorrectBackground': '
|
|
28
|
-
'partialCorrectBackground': '
|
|
29
|
-
'noAnswerBackground': '
|
|
30
|
-
'labelWrapper': '
|
|
31
|
-
'firstHeaderCell': '
|
|
32
|
-
'iconWhite': '
|
|
33
|
-
'headerCell': '
|
|
21
|
+
'iconWrapper': 'UvxSZ_cvRx',
|
|
22
|
+
'collapsingTable': 'UvxSZ_fPIL',
|
|
23
|
+
'correctIncorrect': 'UvxSZ_fZpZ',
|
|
24
|
+
'correctIncorrectNoanswer': 'UvxSZ_dgTJ',
|
|
25
|
+
'correctIncorrectNoanswerPartial': 'UvxSZ_bUPM',
|
|
26
|
+
'correctBackground': 'UvxSZ_bvau',
|
|
27
|
+
'incorrectBackground': 'UvxSZ_cxOH',
|
|
28
|
+
'partialCorrectBackground': 'UvxSZ_eRkO',
|
|
29
|
+
'noAnswerBackground': 'UvxSZ_eKcq',
|
|
30
|
+
'labelWrapper': 'UvxSZ_euQM',
|
|
31
|
+
'firstHeaderCell': 'UvxSZ_fuuc',
|
|
32
|
+
'iconWhite': 'UvxSZ_vDgC',
|
|
33
|
+
'headerCell': 'UvxSZ_fHMm'
|
|
34
34
|
};
|
|
35
35
|
import { Flex } from '@instructure/ui-flex';
|
|
36
36
|
import classNames from 'classnames';
|
|
@@ -26,28 +26,6 @@ export var quizAnalysisPropType = PropTypes.shape({
|
|
|
26
26
|
average_attempts: PropTypes.number
|
|
27
27
|
}).isRequired
|
|
28
28
|
});
|
|
29
|
-
export var itemAnalysisPropType = PropTypes.shape({
|
|
30
|
-
attempts: PropTypes.shape({
|
|
31
|
-
students_responded: PropTypes.number,
|
|
32
|
-
students_without_response: PropTypes.number
|
|
33
|
-
}),
|
|
34
|
-
metadata: PropTypes.shape({
|
|
35
|
-
interaction_type: PropTypes.string,
|
|
36
|
-
item_body: PropTypes.string,
|
|
37
|
-
item_id: PropTypes.number,
|
|
38
|
-
item_title: PropTypes.string
|
|
39
|
-
}),
|
|
40
|
-
scores: PropTypes.shape({
|
|
41
|
-
difficulty_index: PropTypes.number,
|
|
42
|
-
discrimination_index: PropTypes.number,
|
|
43
|
-
mean: PropTypes.number,
|
|
44
|
-
median: PropTypes.number,
|
|
45
|
-
pearson_correlation: PropTypes.number,
|
|
46
|
-
points_possible: PropTypes.number,
|
|
47
|
-
quartile_distribution: PropTypes.arrayOf(PropTypes.number)
|
|
48
|
-
}),
|
|
49
|
-
answer_summary: answerSummaryPropType
|
|
50
|
-
});
|
|
51
29
|
var aggregateDetailPropType = PropTypes.shape({
|
|
52
30
|
count: PropTypes.number.isRequired,
|
|
53
31
|
percentage: PropTypes.number.isRequired
|
|
@@ -82,6 +60,28 @@ export var matchingTypeAnswerSummaryPropType = PropTypes.shape({
|
|
|
82
60
|
}))
|
|
83
61
|
});
|
|
84
62
|
export var answerSummaryPropType = PropTypes.oneOfType([choiceTypeAnswerSummaryPropType, onlyAggregatePropType, matchingTypeAnswerSummaryPropType]);
|
|
63
|
+
export var itemAnalysisPropType = PropTypes.shape({
|
|
64
|
+
attempts: PropTypes.shape({
|
|
65
|
+
students_responded: PropTypes.number,
|
|
66
|
+
students_without_response: PropTypes.number
|
|
67
|
+
}),
|
|
68
|
+
metadata: PropTypes.shape({
|
|
69
|
+
interaction_type: PropTypes.string,
|
|
70
|
+
item_body: PropTypes.string,
|
|
71
|
+
item_id: PropTypes.number,
|
|
72
|
+
item_title: PropTypes.string
|
|
73
|
+
}),
|
|
74
|
+
scores: PropTypes.shape({
|
|
75
|
+
difficulty_index: PropTypes.number,
|
|
76
|
+
discrimination_index: PropTypes.number,
|
|
77
|
+
mean: PropTypes.number,
|
|
78
|
+
median: PropTypes.number,
|
|
79
|
+
pearson_correlation: PropTypes.number,
|
|
80
|
+
points_possible: PropTypes.number,
|
|
81
|
+
quartile_distribution: PropTypes.arrayOf(PropTypes.number)
|
|
82
|
+
}),
|
|
83
|
+
answer_summary: answerSummaryPropType
|
|
84
|
+
});
|
|
85
85
|
export var afsFlags = PropTypes.shape({
|
|
86
86
|
formulaEnabled: PropTypes.bool.isRequired,
|
|
87
87
|
matchingEnabled: PropTypes.bool.isRequired,
|
|
@@ -44,17 +44,17 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
44
44
|
var _dec, _class, _class2, _temp;
|
|
45
45
|
|
|
46
46
|
var styles = {
|
|
47
|
-
componentId: '
|
|
47
|
+
componentId: 'bGeZS',
|
|
48
48
|
template: function template(theme) {
|
|
49
|
-
return "\n\n.
|
|
49
|
+
return "\n\n.bGeZS_rMrG{display:flex;flex-basis:100%;flex-direction:column;padding-bottom:".concat(theme.tableBottomPadding || 'inherit', "}\n\n.bGeZS_cvRx{align-items:center;display:flex;height:100%;justify-content:center;min-height:47px;width:46px}\n\n.bGeZS_EKAb{background-color:").concat(theme.colorGreen || 'inherit', "}\n\n.bGeZS_EKAb svg{fill:#fff}\n\n.bGeZS_tnta{border-color:").concat(theme.colorGreen || 'inherit', ";border-style:solid;border-width:2px 0}\n\n.bGeZS_fvqY{border-radius:4px 4px 4px 4px;border-width:2px 2px 2px 2px}\n\n.bGeZS_tnta>span>span:nth-child(2){min-width:46px;padding:12px 12px 12px 12px}\n\n.bGeZS_bwoZ{max-width:100%;width:calc(25% + 350px)}\n\n.bGeZS_SVtU table tbody tr th{font-weight:400}");
|
|
50
50
|
},
|
|
51
|
-
'tableWrapper': '
|
|
52
|
-
'iconWrapper': '
|
|
53
|
-
'iconCorrect': '
|
|
54
|
-
'correctRowBorder': '
|
|
55
|
-
'correctRowBorderRadius': '
|
|
56
|
-
'tableHalfWidth': '
|
|
57
|
-
'tableContainer': '
|
|
51
|
+
'tableWrapper': 'bGeZS_rMrG',
|
|
52
|
+
'iconWrapper': 'bGeZS_cvRx',
|
|
53
|
+
'iconCorrect': 'bGeZS_EKAb',
|
|
54
|
+
'correctRowBorder': 'bGeZS_tnta',
|
|
55
|
+
'correctRowBorderRadius': 'bGeZS_fvqY',
|
|
56
|
+
'tableHalfWidth': 'bGeZS_bwoZ',
|
|
57
|
+
'tableContainer': 'bGeZS_SVtU'
|
|
58
58
|
};
|
|
59
59
|
|
|
60
60
|
var _ref = /*#__PURE__*/_react.default.createElement(_uiIcons.IconCheckSolid, null);
|
|
@@ -134,14 +134,15 @@ var MatchingTypeTable = (_dec = (0, _uiThemeable.themeable)(_theme.default, styl
|
|
|
134
134
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
135
135
|
className: containerClassNames
|
|
136
136
|
}, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex, {
|
|
137
|
-
direction: "row"
|
|
137
|
+
direction: "row",
|
|
138
|
+
alignItems: "center"
|
|
138
139
|
}, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
|
|
139
140
|
width: "46px",
|
|
140
|
-
textAlign: "center"
|
|
141
|
+
textAlign: "center",
|
|
142
|
+
align: "stretch"
|
|
141
143
|
}, correct && _this.renderIcon()), /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
|
|
142
144
|
shouldShrink: true,
|
|
143
145
|
shouldGrow: true,
|
|
144
|
-
width: "46px",
|
|
145
146
|
textAlign: "center"
|
|
146
147
|
}, count))));
|
|
147
148
|
};
|
|
@@ -186,7 +187,7 @@ var MatchingTypeTable = (_dec = (0, _uiThemeable.themeable)(_theme.default, styl
|
|
|
186
187
|
id: questionRowHeaderId,
|
|
187
188
|
key: questionRowHeaderId,
|
|
188
189
|
theme: {
|
|
189
|
-
padding: '
|
|
190
|
+
padding: '12px 0 12px 0'
|
|
190
191
|
}
|
|
191
192
|
}, questionBody), answerCells);
|
|
192
193
|
};
|
|
@@ -42,23 +42,23 @@ var _uiText = require("@instructure/ui-text");
|
|
|
42
42
|
var _dec, _class, _class2, _temp;
|
|
43
43
|
|
|
44
44
|
var styles = {
|
|
45
|
-
componentId: '
|
|
45
|
+
componentId: 'UvxSZ',
|
|
46
46
|
template: function template(theme) {
|
|
47
|
-
return "\n\n.
|
|
47
|
+
return "\n\n.UvxSZ_cvRx{align-items:center;display:flex;height:100%;justify-content:center;min-height:47px;width:46px}\n\n.UvxSZ_fPIL{min-width:500px}\n\n.UvxSZ_fPIL table{border-collapse:separate;border-spacing:0 12px}\n\n.UvxSZ_fPIL thead th{border-color:".concat(theme.colorHeaderBottomBorder || 'inherit', ";border-style:solid;border-width:0 0 1px 0}\n\n.UvxSZ_fPIL table tbody tr td{border-style:solid;border-width:2px 0 2px 0;width:33.33%}\n\n.UvxSZ_fPIL table tbody tr th:first-child{border-radius:4px 0 0 4px;border-style:solid;border-width:2px 0 2px 2px;font-weight:400}\n\n.UvxSZ_fPIL table tbody tr td:last-child{border-radius:0 4px 4px 0;border-style:solid;border-width:2px 2px 2px 0}\n\n.UvxSZ_fZpZ table tbody tr:first-child td,.UvxSZ_fZpZ table tbody tr:first-child th{border-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_fZpZ table tbody tr:nth-child(2) td,.UvxSZ_fZpZ table tbody tr:nth-child(2) th{border-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_dgTJ table tbody tr:first-child td,.UvxSZ_dgTJ table tbody tr:first-child th{border-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_dgTJ table tbody tr:nth-child(2) td,.UvxSZ_dgTJ table tbody tr:nth-child(2) th{border-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_dgTJ table tbody tr:nth-child(3) td,.UvxSZ_dgTJ table tbody tr:nth-child(3) th{border-color:").concat(theme.colorGrey || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:first-child td,.UvxSZ_bUPM table tbody tr:first-child th{border-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:nth-child(2) td,.UvxSZ_bUPM table tbody tr:nth-child(2) th{border-color:").concat(theme.colorBlue || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:nth-child(3) td,.UvxSZ_bUPM table tbody tr:nth-child(3) th{border-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_bUPM table tbody tr:nth-child(4) td,.UvxSZ_bUPM table tbody tr:nth-child(4) th{border-color:").concat(theme.colorGrey || 'inherit', "}\n\n.UvxSZ_bvau{background-color:").concat(theme.colorGreen || 'inherit', "}\n\n.UvxSZ_cxOH{background-color:").concat(theme.colorRed || 'inherit', "}\n\n.UvxSZ_eRkO{background-color:").concat(theme.colorBlue || 'inherit', "}\n\n.UvxSZ_eKcq{background-color:").concat(theme.colorGrey || 'inherit', "}\n\n.UvxSZ_euQM{padding:12px 0 12px 10px}\n\n.UvxSZ_fuuc{padding-left:45px}\n\n.UvxSZ_vDgC svg{fill:#fff}\n\n.UvxSZ_fHMm{border-color:").concat(theme.colorHeaderBottomBorder || 'inherit', ";border-style:solid;border-width:0 0 1px 0}");
|
|
48
48
|
},
|
|
49
|
-
'iconWrapper': '
|
|
50
|
-
'collapsingTable': '
|
|
51
|
-
'correctIncorrect': '
|
|
52
|
-
'correctIncorrectNoanswer': '
|
|
53
|
-
'correctIncorrectNoanswerPartial': '
|
|
54
|
-
'correctBackground': '
|
|
55
|
-
'incorrectBackground': '
|
|
56
|
-
'partialCorrectBackground': '
|
|
57
|
-
'noAnswerBackground': '
|
|
58
|
-
'labelWrapper': '
|
|
59
|
-
'firstHeaderCell': '
|
|
60
|
-
'iconWhite': '
|
|
61
|
-
'headerCell': '
|
|
49
|
+
'iconWrapper': 'UvxSZ_cvRx',
|
|
50
|
+
'collapsingTable': 'UvxSZ_fPIL',
|
|
51
|
+
'correctIncorrect': 'UvxSZ_fZpZ',
|
|
52
|
+
'correctIncorrectNoanswer': 'UvxSZ_dgTJ',
|
|
53
|
+
'correctIncorrectNoanswerPartial': 'UvxSZ_bUPM',
|
|
54
|
+
'correctBackground': 'UvxSZ_bvau',
|
|
55
|
+
'incorrectBackground': 'UvxSZ_cxOH',
|
|
56
|
+
'partialCorrectBackground': 'UvxSZ_eRkO',
|
|
57
|
+
'noAnswerBackground': 'UvxSZ_eKcq',
|
|
58
|
+
'labelWrapper': 'UvxSZ_euQM',
|
|
59
|
+
'firstHeaderCell': 'UvxSZ_fuuc',
|
|
60
|
+
'iconWhite': 'UvxSZ_vDgC',
|
|
61
|
+
'headerCell': 'UvxSZ_fHMm'
|
|
62
62
|
};
|
|
63
63
|
var noAnswerKey = 'noAnswer';
|
|
64
64
|
var incorrectKey = 'incorrect';
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.afsFlags = exports.
|
|
8
|
+
exports.afsFlags = exports.itemAnalysisPropType = exports.answerSummaryPropType = exports.matchingTypeAnswerSummaryPropType = exports.choiceTypeAnswerSummaryPropType = exports.onlyAggregatePropType = exports.quizAnalysisPropType = exports.quizAnalysisMetadata = void 0;
|
|
9
9
|
|
|
10
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
11
|
|
|
@@ -42,31 +42,6 @@ var quizAnalysisPropType = _propTypes.default.shape({
|
|
|
42
42
|
|
|
43
43
|
exports.quizAnalysisPropType = quizAnalysisPropType;
|
|
44
44
|
|
|
45
|
-
var itemAnalysisPropType = _propTypes.default.shape({
|
|
46
|
-
attempts: _propTypes.default.shape({
|
|
47
|
-
students_responded: _propTypes.default.number,
|
|
48
|
-
students_without_response: _propTypes.default.number
|
|
49
|
-
}),
|
|
50
|
-
metadata: _propTypes.default.shape({
|
|
51
|
-
interaction_type: _propTypes.default.string,
|
|
52
|
-
item_body: _propTypes.default.string,
|
|
53
|
-
item_id: _propTypes.default.number,
|
|
54
|
-
item_title: _propTypes.default.string
|
|
55
|
-
}),
|
|
56
|
-
scores: _propTypes.default.shape({
|
|
57
|
-
difficulty_index: _propTypes.default.number,
|
|
58
|
-
discrimination_index: _propTypes.default.number,
|
|
59
|
-
mean: _propTypes.default.number,
|
|
60
|
-
median: _propTypes.default.number,
|
|
61
|
-
pearson_correlation: _propTypes.default.number,
|
|
62
|
-
points_possible: _propTypes.default.number,
|
|
63
|
-
quartile_distribution: _propTypes.default.arrayOf(_propTypes.default.number)
|
|
64
|
-
}),
|
|
65
|
-
answer_summary: answerSummaryPropType
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
exports.itemAnalysisPropType = itemAnalysisPropType;
|
|
69
|
-
|
|
70
45
|
var aggregateDetailPropType = _propTypes.default.shape({
|
|
71
46
|
count: _propTypes.default.number.isRequired,
|
|
72
47
|
percentage: _propTypes.default.number.isRequired
|
|
@@ -115,6 +90,31 @@ var answerSummaryPropType = _propTypes.default.oneOfType([choiceTypeAnswerSummar
|
|
|
115
90
|
|
|
116
91
|
exports.answerSummaryPropType = answerSummaryPropType;
|
|
117
92
|
|
|
93
|
+
var itemAnalysisPropType = _propTypes.default.shape({
|
|
94
|
+
attempts: _propTypes.default.shape({
|
|
95
|
+
students_responded: _propTypes.default.number,
|
|
96
|
+
students_without_response: _propTypes.default.number
|
|
97
|
+
}),
|
|
98
|
+
metadata: _propTypes.default.shape({
|
|
99
|
+
interaction_type: _propTypes.default.string,
|
|
100
|
+
item_body: _propTypes.default.string,
|
|
101
|
+
item_id: _propTypes.default.number,
|
|
102
|
+
item_title: _propTypes.default.string
|
|
103
|
+
}),
|
|
104
|
+
scores: _propTypes.default.shape({
|
|
105
|
+
difficulty_index: _propTypes.default.number,
|
|
106
|
+
discrimination_index: _propTypes.default.number,
|
|
107
|
+
mean: _propTypes.default.number,
|
|
108
|
+
median: _propTypes.default.number,
|
|
109
|
+
pearson_correlation: _propTypes.default.number,
|
|
110
|
+
points_possible: _propTypes.default.number,
|
|
111
|
+
quartile_distribution: _propTypes.default.arrayOf(_propTypes.default.number)
|
|
112
|
+
}),
|
|
113
|
+
answer_summary: answerSummaryPropType
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
exports.itemAnalysisPropType = itemAnalysisPropType;
|
|
117
|
+
|
|
118
118
|
var afsFlags = _propTypes.default.shape({
|
|
119
119
|
formulaEnabled: _propTypes.default.bool.isRequired,
|
|
120
120
|
matchingEnabled: _propTypes.default.bool.isRequired,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.8.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@instructure/grading-utils": "^1.0.0",
|
|
45
45
|
"@instructure/outcomes-ui": "^2.1.9",
|
|
46
|
-
"@instructure/quiz-common": "18.
|
|
47
|
-
"@instructure/quiz-i18n": "18.
|
|
48
|
-
"@instructure/quiz-interactions": "18.
|
|
49
|
-
"@instructure/quiz-number-input": "18.
|
|
50
|
-
"@instructure/quiz-rce": "18.
|
|
46
|
+
"@instructure/quiz-common": "^18.8.0",
|
|
47
|
+
"@instructure/quiz-i18n": "^18.8.0",
|
|
48
|
+
"@instructure/quiz-interactions": "^18.8.0",
|
|
49
|
+
"@instructure/quiz-number-input": "^18.8.0",
|
|
50
|
+
"@instructure/quiz-rce": "^18.8.0",
|
|
51
51
|
"@instructure/ui-a11y-content": "^7.22.1",
|
|
52
52
|
"@instructure/ui-alerts": "^7.22.1",
|
|
53
53
|
"@instructure/ui-avatar": "^7.22.1",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"file-saver": "~2.0.5",
|
|
110
110
|
"humps": "^2.0.0",
|
|
111
111
|
"immutable": "^3.8.1",
|
|
112
|
-
"instructure-validations": "18.
|
|
112
|
+
"instructure-validations": "^18.8.0",
|
|
113
113
|
"ipaddr.js": "^1.5.4",
|
|
114
114
|
"isomorphic-fetch": "^2.2.0",
|
|
115
115
|
"isuuid": "^0.1.0",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"uuid": "^3.2.1"
|
|
142
142
|
},
|
|
143
143
|
"devDependencies": {
|
|
144
|
-
"@instructure/quiz-scripts": "18.
|
|
144
|
+
"@instructure/quiz-scripts": "^18.8.0",
|
|
145
145
|
"@instructure/ui-axe-check": "^7.22.1",
|
|
146
146
|
"@instructure/ui-babel-preset": "^7.22.1",
|
|
147
147
|
"@instructure/ui-karma-config": "^7.22.1",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"intl": "^1.2.4",
|
|
161
161
|
"jquery": "^2.2.3",
|
|
162
162
|
"most-subject": "^5.3.0",
|
|
163
|
-
"quiz-presets": "18.
|
|
163
|
+
"quiz-presets": "^18.8.0",
|
|
164
164
|
"react": "^16.8.6",
|
|
165
165
|
"react-addons-test-utils": "^15.6.2",
|
|
166
166
|
"react-dom": "^16.8.6",
|
|
@@ -176,5 +176,5 @@
|
|
|
176
176
|
"publishConfig": {
|
|
177
177
|
"access": "public"
|
|
178
178
|
},
|
|
179
|
-
"gitHead": "
|
|
179
|
+
"gitHead": "999dc8e317a859e6adba56cc0c53569b1414a6d5"
|
|
180
180
|
}
|