@instructure/quiz-core 18.9.2-rc.0 → 18.9.2-rc.1
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/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/presenter.js +8 -8
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +4 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/index.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/presenter.js +10 -10
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +1 -1
- package/package.json +9 -9
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +0 -1
- /package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/ChoiceTypeTableRow/index.js +0 -0
- /package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/ChoiceTypeTableRow/presenter.js +0 -0
- /package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/ChoiceTypeTableRow/theme.js +0 -0
- /package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/theme.js +0 -0
- /package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/ChoiceTypeTableRow/index.js +0 -0
- /package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/ChoiceTypeTableRow/presenter.js +0 -0
- /package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/ChoiceTypeTableRow/theme.js +0 -0
- /package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/{ChoiceType → LegacyChoiceType}/theme.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LegacyChoiceType as default } from "./presenter.js";
|
|
@@ -24,15 +24,15 @@ var styles = {
|
|
|
24
24
|
import theme from "./theme.js";
|
|
25
25
|
import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
|
|
26
26
|
import classNames from 'classnames';
|
|
27
|
-
export var
|
|
28
|
-
_inherits(
|
|
27
|
+
export var LegacyChoiceType = (_dec = themeable(theme, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
28
|
+
_inherits(LegacyChoiceType, _Component);
|
|
29
29
|
|
|
30
|
-
var _super = _createSuper(
|
|
30
|
+
var _super = _createSuper(LegacyChoiceType);
|
|
31
31
|
|
|
32
|
-
function
|
|
32
|
+
function LegacyChoiceType() {
|
|
33
33
|
var _this;
|
|
34
34
|
|
|
35
|
-
_classCallCheck(this,
|
|
35
|
+
_classCallCheck(this, LegacyChoiceType);
|
|
36
36
|
|
|
37
37
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
38
38
|
args[_key] = arguments[_key];
|
|
@@ -65,7 +65,7 @@ export var ChoiceType = (_dec = themeable(theme, styles), _dec(_class = (_temp =
|
|
|
65
65
|
return _this;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
_createClass(
|
|
68
|
+
_createClass(LegacyChoiceType, [{
|
|
69
69
|
key: "render",
|
|
70
70
|
value: function render() {
|
|
71
71
|
var _this$props = this.props,
|
|
@@ -99,8 +99,8 @@ export var ChoiceType = (_dec = themeable(theme, styles), _dec(_class = (_temp =
|
|
|
99
99
|
}
|
|
100
100
|
}]);
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
return
|
|
102
|
+
LegacyChoiceType.displayName = "LegacyChoiceType";
|
|
103
|
+
return LegacyChoiceType;
|
|
104
104
|
}(Component), _class2.propTypes = {
|
|
105
105
|
itemId: PropTypes.number,
|
|
106
106
|
answerSummary: choiceTypeAnswerSummaryPropType
|
package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js
CHANGED
|
@@ -3,7 +3,7 @@ import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
|
3
3
|
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
4
4
|
import React, { Component } from 'react';
|
|
5
5
|
import { PropTypes } from '@instructure/quiz-interactions';
|
|
6
|
-
import
|
|
6
|
+
import LegacyChoiceType from "./LegacyChoiceType/index.js";
|
|
7
7
|
import AggregationType from "./AggregationType/index.js";
|
|
8
8
|
import { MatchingType, OrderingType, CategorizationType } from "./MatchingType/index.js";
|
|
9
9
|
import { afsFlags, answerSummaryPropType } from "../propTypes.js";
|
|
@@ -66,11 +66,11 @@ export var AnswerFrequencySummary = /*#__PURE__*/function (_Component) {
|
|
|
66
66
|
});
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
_this.afsTableComponentMap.set('true-false',
|
|
69
|
+
_this.afsTableComponentMap.set('true-false', LegacyChoiceType);
|
|
70
70
|
|
|
71
|
-
_this.afsTableComponentMap.set('choice',
|
|
71
|
+
_this.afsTableComponentMap.set('choice', LegacyChoiceType);
|
|
72
72
|
|
|
73
|
-
_this.afsTableComponentMap.set('multi-answer',
|
|
73
|
+
_this.afsTableComponentMap.set('multi-answer', LegacyChoiceType);
|
|
74
74
|
|
|
75
75
|
return _this;
|
|
76
76
|
}
|
|
@@ -7,7 +7,7 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
10
|
-
exports.
|
|
10
|
+
exports.LegacyChoiceType = void 0;
|
|
11
11
|
|
|
12
12
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
13
13
|
|
|
@@ -49,15 +49,15 @@ var styles = {
|
|
|
49
49
|
'tableWrapper': 'fxQkB_rMrG',
|
|
50
50
|
'tableContainer': 'fxQkB_SVtU'
|
|
51
51
|
};
|
|
52
|
-
var
|
|
53
|
-
(0, _inherits2.default)(
|
|
52
|
+
var LegacyChoiceType = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
53
|
+
(0, _inherits2.default)(LegacyChoiceType, _Component);
|
|
54
54
|
|
|
55
|
-
var _super = (0, _createSuper2.default)(
|
|
55
|
+
var _super = (0, _createSuper2.default)(LegacyChoiceType);
|
|
56
56
|
|
|
57
|
-
function
|
|
57
|
+
function LegacyChoiceType() {
|
|
58
58
|
var _this;
|
|
59
59
|
|
|
60
|
-
(0, _classCallCheck2.default)(this,
|
|
60
|
+
(0, _classCallCheck2.default)(this, LegacyChoiceType);
|
|
61
61
|
|
|
62
62
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
63
63
|
args[_key] = arguments[_key];
|
|
@@ -90,7 +90,7 @@ var ChoiceType = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _d
|
|
|
90
90
|
return _this;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
(0, _createClass2.default)(
|
|
93
|
+
(0, _createClass2.default)(LegacyChoiceType, [{
|
|
94
94
|
key: "render",
|
|
95
95
|
value: function render() {
|
|
96
96
|
var _this$props = this.props,
|
|
@@ -123,10 +123,10 @@ var ChoiceType = (_dec = (0, _uiThemeable.themeable)(_theme.default, styles), _d
|
|
|
123
123
|
}, (0, _formatMessage.default)('%')))), /*#__PURE__*/_react.default.createElement(_uiTable.Table.Body, null, choices.map(this.renderRow), this.renderNoAnswer(noAnswer, numberOfChoices)))));
|
|
124
124
|
}
|
|
125
125
|
}]);
|
|
126
|
-
|
|
127
|
-
return
|
|
126
|
+
LegacyChoiceType.displayName = "LegacyChoiceType";
|
|
127
|
+
return LegacyChoiceType;
|
|
128
128
|
}(_react.Component), _class2.propTypes = {
|
|
129
129
|
itemId: _propTypes.default.number,
|
|
130
130
|
answerSummary: _propTypes2.choiceTypeAnswerSummaryPropType
|
|
131
131
|
}.isRequired, _temp)) || _class);
|
|
132
|
-
exports.
|
|
132
|
+
exports.LegacyChoiceType = LegacyChoiceType;
|
|
@@ -19,7 +19,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
19
19
|
|
|
20
20
|
var _quizInteractions = require("@instructure/quiz-interactions");
|
|
21
21
|
|
|
22
|
-
var _index = _interopRequireDefault(require("./
|
|
22
|
+
var _index = _interopRequireDefault(require("./LegacyChoiceType/index.js"));
|
|
23
23
|
|
|
24
24
|
var _index2 = _interopRequireDefault(require("./AggregationType/index.js"));
|
|
25
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "18.9.2-rc.
|
|
3
|
+
"version": "18.9.2-rc.1+4ac225624",
|
|
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.9.2-rc.
|
|
47
|
-
"@instructure/quiz-i18n": "18.9.2-rc.
|
|
48
|
-
"@instructure/quiz-interactions": "18.9.2-rc.
|
|
49
|
-
"@instructure/quiz-number-input": "18.9.2-rc.
|
|
50
|
-
"@instructure/quiz-rce": "18.9.2-rc.
|
|
46
|
+
"@instructure/quiz-common": "18.9.2-rc.1+4ac225624",
|
|
47
|
+
"@instructure/quiz-i18n": "18.9.2-rc.1+4ac225624",
|
|
48
|
+
"@instructure/quiz-interactions": "18.9.2-rc.1+4ac225624",
|
|
49
|
+
"@instructure/quiz-number-input": "18.9.2-rc.1+4ac225624",
|
|
50
|
+
"@instructure/quiz-rce": "18.9.2-rc.1+4ac225624",
|
|
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.9.2-rc.
|
|
112
|
+
"instructure-validations": "18.9.2-rc.1+4ac225624",
|
|
113
113
|
"ipaddr.js": "^1.5.4",
|
|
114
114
|
"isomorphic-fetch": "^2.2.0",
|
|
115
115
|
"isuuid": "^0.1.0",
|
|
@@ -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.9.2-rc.
|
|
163
|
+
"quiz-presets": "18.9.2-rc.1+4ac225624",
|
|
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": "4ac2256243cc7c50e62cdcdc3d206256518cf4b2"
|
|
180
180
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ChoiceType as default } from "./presenter.js";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|