@instructure/quiz-core 17.49.1-rc.4 → 17.49.1-rc.6
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/common/components/RceConfigProvider/presenter.js +7 -1
- package/es/common/components/RceConfigProvider/rceConfigMapper.js +11 -3
- package/es/common/components/RceConfigProvider/rceConfigUtils.js +3 -0
- package/es/index.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/index.js +14 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +79 -0
- package/lib/common/components/RceConfigProvider/presenter.js +7 -1
- package/lib/common/components/RceConfigProvider/rceConfigMapper.js +10 -2
- package/lib/common/components/RceConfigProvider/rceConfigUtils.js +7 -1
- package/lib/index.js +107 -98
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +29 -0
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +101 -0
- package/package.json +9 -9
|
@@ -67,6 +67,7 @@ var RceConfigProviderComponent = function RceConfigProviderComponent(_ref2) {
|
|
|
67
67
|
contextId = _ref2.contextId,
|
|
68
68
|
contextType = _ref2.contextType,
|
|
69
69
|
canvasUserId = _ref2.canvasUserId,
|
|
70
|
+
canvasToolId = _ref2.canvasToolId,
|
|
70
71
|
rcsHost = _ref2.rcsHost,
|
|
71
72
|
rcsJwt = _ref2.rcsJwt,
|
|
72
73
|
rcsJwtRefreshFn = _ref2.rcsJwtRefreshFn,
|
|
@@ -101,6 +102,9 @@ var RceConfigProviderComponent = function RceConfigProviderComponent(_ref2) {
|
|
|
101
102
|
isNewRCERendererEnabled: isNewRCERendererEnabled,
|
|
102
103
|
isNewRCEAppsEnabled: isNewRCEAppsEnabled
|
|
103
104
|
};
|
|
105
|
+
var ltiAppParams = {
|
|
106
|
+
canvasToolId: canvasToolId
|
|
107
|
+
};
|
|
104
108
|
var rendererParams = {
|
|
105
109
|
canvasOrigin: canvasOrigin
|
|
106
110
|
};
|
|
@@ -169,7 +173,7 @@ var RceConfigProviderComponent = function RceConfigProviderComponent(_ref2) {
|
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
return /*#__PURE__*/React.createElement(RceConfigContext.Provider, {
|
|
172
|
-
value: mapParamsToRceConfigContext(flags, rcsParams, rendererParams, canvasConfig)
|
|
176
|
+
value: mapParamsToRceConfigContext(flags, rcsParams, rendererParams, canvasConfig, ltiAppParams)
|
|
173
177
|
}, children);
|
|
174
178
|
};
|
|
175
179
|
|
|
@@ -181,6 +185,7 @@ RceConfigProviderComponent.propTypes = {
|
|
|
181
185
|
contextId: PropTypes.string,
|
|
182
186
|
contextType: PropTypes.string,
|
|
183
187
|
canvasUserId: PropTypes.string,
|
|
188
|
+
canvasToolId: PropTypes.string,
|
|
184
189
|
rcsHost: PropTypes.string,
|
|
185
190
|
rcsJwt: PropTypes.string,
|
|
186
191
|
rcsJwtRefreshFn: PropTypes.func,
|
|
@@ -190,6 +195,7 @@ RceConfigProviderComponent.defaultProps = {
|
|
|
190
195
|
contextId: null,
|
|
191
196
|
contextType: null,
|
|
192
197
|
canvasUserId: null,
|
|
198
|
+
canvasToolId: null,
|
|
193
199
|
rcsHost: null,
|
|
194
200
|
rcsJwt: null,
|
|
195
201
|
rcsJwtRefreshFn: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import { RceConfigKeys } from '@instructure/quiz-common';
|
|
3
|
-
import { hasAllPropsForRcs } from "./rceConfigUtils.js";
|
|
3
|
+
import { hasAllPropsForRcs, areLtiAppsConfigured } from "./rceConfigUtils.js";
|
|
4
4
|
|
|
5
5
|
var mapFeatureFlags = function mapFeatureFlags(flags) {
|
|
6
6
|
var _ref;
|
|
@@ -18,14 +18,22 @@ var mapRcs = function mapRcs(rcsParams, canvasConfig) {
|
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
var mapLtiApps = function mapLtiApps(flags, canvasConfig, ltiAppParams) {
|
|
22
|
+
var _ref3;
|
|
23
|
+
|
|
24
|
+
if (!areLtiAppsConfigured(flags, canvasConfig, ltiAppParams)) return null;
|
|
25
|
+
return _ref3 = {}, _defineProperty(_ref3, RceConfigKeys.canvasToolId, ltiAppParams.canvasToolId), _defineProperty(_ref3, RceConfigKeys.editorButtons, canvasConfig.editorButtons), _ref3;
|
|
26
|
+
};
|
|
27
|
+
|
|
21
28
|
var rendererEnhancement = function rendererEnhancement(rendererParams) {
|
|
22
29
|
return _defineProperty({}, RceConfigKeys.canvasOrigin, (rendererParams === null || rendererParams === void 0 ? void 0 : rendererParams.canvasOrigin) || null);
|
|
23
30
|
};
|
|
24
31
|
|
|
25
|
-
export var mapParamsToRceConfigContext = function mapParamsToRceConfigContext(flags, rcsParams, rendererParams, canvasConfig) {
|
|
32
|
+
export var mapParamsToRceConfigContext = function mapParamsToRceConfigContext(flags, rcsParams, rendererParams, canvasConfig, ltiAppParams) {
|
|
26
33
|
return {
|
|
27
34
|
featureFlags: mapFeatureFlags(flags),
|
|
28
35
|
rcs: mapRcs(rcsParams, canvasConfig),
|
|
29
|
-
rendererEnhancement: rendererEnhancement(rendererParams)
|
|
36
|
+
rendererEnhancement: rendererEnhancement(rendererParams),
|
|
37
|
+
ltiApps: mapLtiApps(flags, canvasConfig, ltiAppParams)
|
|
30
38
|
};
|
|
31
39
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export var hasAllPropsForRcs = function hasAllPropsForRcs(rcsParams) {
|
|
2
2
|
return !!((rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.contextId) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.contextType) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.canvasUserId) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.rcsHost) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.refreshToken) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.jwt));
|
|
3
3
|
};
|
|
4
|
+
export var areLtiAppsConfigured = function areLtiAppsConfigured(flags, canvasConfig, ltiAppParams) {
|
|
5
|
+
return !!((flags === null || flags === void 0 ? void 0 : flags.isNewRCEAppsEnabled) && (ltiAppParams === null || ltiAppParams === void 0 ? void 0 : ltiAppParams.canvasToolId) && (canvasConfig === null || canvasConfig === void 0 ? void 0 : canvasConfig.editorButtons) && Array.isArray(canvasConfig.editorButtons) && canvasConfig.editorButtons.length > 0);
|
|
6
|
+
};
|
|
4
7
|
export var isRce5Disabled = function isRce5Disabled(flags) {
|
|
5
8
|
return !(flags === null || flags === void 0 ? void 0 : flags.isNewRCEEnabled) && !(flags === null || flags === void 0 ? void 0 : flags.isNewRCERendererEnabled);
|
|
6
9
|
};
|
package/es/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export { AddContentPopover } from "./common/components/resources/quiz/AddContent
|
|
|
8
8
|
export { ReportList } from "./reporting/components/resources/ReportList/index.js";
|
|
9
9
|
export { ReportCard } from "./reporting/components/resources/ReportCard/index.js";
|
|
10
10
|
export { QuizAndItemAnalysis } from "./reporting/components/resources/QuizAndItemAnalysis/index.js";
|
|
11
|
+
export { NewQuizAndItemAnalysis } from "./reporting/components/resources/NewQuizAndItemAnalysis/index.js";
|
|
11
12
|
export { Legend } from "./reporting/components/charts/Legend/index.js";
|
|
12
13
|
export { ActionButtons } from "./building/components/resources/ActionButtons/index.js";
|
|
13
14
|
export { BuildingButtons } from "./building/components/layout/header/BuildingButtons/index.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NewQuizAndItemAnalysis as NewQuizAndItemAnalysisPresenter } from "./presenter.js";
|
|
2
|
+
import { connect } from "../../../../common/react-redux.js";
|
|
3
|
+
import { getActiveQuiz } from "../../../../common/selectors/quizzes.js";
|
|
4
|
+
import { getExistingQuiz } from "../../../../common/api/quizzes.js";
|
|
5
|
+
export function mapStateToProps(state) {
|
|
6
|
+
var activeQuiz = getActiveQuiz(state);
|
|
7
|
+
return {
|
|
8
|
+
quiz: activeQuiz
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export var NewQuizAndItemAnalysis = connect(mapStateToProps, {
|
|
12
|
+
getExistingQuiz: getExistingQuiz
|
|
13
|
+
})(NewQuizAndItemAnalysisPresenter);
|
|
14
|
+
export default NewQuizAndItemAnalysis;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
|
+
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
4
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
5
|
+
import React, { Component } from 'react';
|
|
6
|
+
import PropTypes from 'prop-types';
|
|
7
|
+
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
8
|
+
import { Heading } from '@instructure/ui-heading';
|
|
9
|
+
import { Metric, MetricGroup } from '@instructure/ui-metric';
|
|
10
|
+
import Spinner from "../../../../common/components/shared/spinner/Spinner.js";
|
|
11
|
+
import { withI18nSupport } from '@instructure/quiz-common';
|
|
12
|
+
|
|
13
|
+
var _ref = /*#__PURE__*/React.createElement(MetricGroup, null, /*#__PURE__*/React.createElement(Metric, {
|
|
14
|
+
renderLabel: "Example 1",
|
|
15
|
+
renderValue: "80%"
|
|
16
|
+
}), /*#__PURE__*/React.createElement(Metric, {
|
|
17
|
+
renderLabel: "Example 2",
|
|
18
|
+
renderValue: "5"
|
|
19
|
+
}), /*#__PURE__*/React.createElement(Metric, {
|
|
20
|
+
renderLabel: "Example 3",
|
|
21
|
+
renderValue: "Good"
|
|
22
|
+
}));
|
|
23
|
+
|
|
24
|
+
var _ref2 = /*#__PURE__*/React.createElement(Spinner, null);
|
|
25
|
+
|
|
26
|
+
export var NewQuizAndItemAnalysis = /*#__PURE__*/function (_withI18nSupport) {
|
|
27
|
+
_inherits(NewQuizAndItemAnalysis, _withI18nSupport);
|
|
28
|
+
|
|
29
|
+
var _super = _createSuper(NewQuizAndItemAnalysis);
|
|
30
|
+
|
|
31
|
+
function NewQuizAndItemAnalysis() {
|
|
32
|
+
_classCallCheck(this, NewQuizAndItemAnalysis);
|
|
33
|
+
|
|
34
|
+
return _super.apply(this, arguments);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
_createClass(NewQuizAndItemAnalysis, [{
|
|
38
|
+
key: "componentDidMount",
|
|
39
|
+
value: function componentDidMount() {
|
|
40
|
+
this.props.getExistingQuiz(this.props.activeQuizId);
|
|
41
|
+
}
|
|
42
|
+
}, {
|
|
43
|
+
key: "renderContent",
|
|
44
|
+
value: function renderContent() {
|
|
45
|
+
var quiz = this.props.quiz;
|
|
46
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
className: "fs-mask"
|
|
48
|
+
}, /*#__PURE__*/React.createElement(Heading, {
|
|
49
|
+
level: "h3",
|
|
50
|
+
color: "primary"
|
|
51
|
+
}, quiz.title), _ref);
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
key: "render",
|
|
55
|
+
value: function render() {
|
|
56
|
+
if (this.props.quiz.isLoaded()) {
|
|
57
|
+
return this.renderContent();
|
|
58
|
+
} else {
|
|
59
|
+
return _ref2;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}]);
|
|
63
|
+
|
|
64
|
+
NewQuizAndItemAnalysis.displayName = "NewQuizAndItemAnalysis";
|
|
65
|
+
return NewQuizAndItemAnalysis;
|
|
66
|
+
}(withI18nSupport(Component));
|
|
67
|
+
NewQuizAndItemAnalysis.propTypes = {
|
|
68
|
+
quiz: ImmutablePropTypes.record.isRequired,
|
|
69
|
+
activeQuizId: PropTypes.string.isRequired,
|
|
70
|
+
getExistingQuiz: PropTypes.func.isRequired,
|
|
71
|
+
locale: PropTypes.string
|
|
72
|
+
};
|
|
73
|
+
NewQuizAndItemAnalysis.defaultProps = {
|
|
74
|
+
locale: null
|
|
75
|
+
};
|
|
76
|
+
NewQuizAndItemAnalysis.contextTypes = {
|
|
77
|
+
locale: PropTypes.string
|
|
78
|
+
};
|
|
79
|
+
export default NewQuizAndItemAnalysis;
|
|
@@ -90,6 +90,7 @@ var RceConfigProviderComponent = function RceConfigProviderComponent(_ref2) {
|
|
|
90
90
|
contextId = _ref2.contextId,
|
|
91
91
|
contextType = _ref2.contextType,
|
|
92
92
|
canvasUserId = _ref2.canvasUserId,
|
|
93
|
+
canvasToolId = _ref2.canvasToolId,
|
|
93
94
|
rcsHost = _ref2.rcsHost,
|
|
94
95
|
rcsJwt = _ref2.rcsJwt,
|
|
95
96
|
rcsJwtRefreshFn = _ref2.rcsJwtRefreshFn,
|
|
@@ -124,6 +125,9 @@ var RceConfigProviderComponent = function RceConfigProviderComponent(_ref2) {
|
|
|
124
125
|
isNewRCERendererEnabled: isNewRCERendererEnabled,
|
|
125
126
|
isNewRCEAppsEnabled: isNewRCEAppsEnabled
|
|
126
127
|
};
|
|
128
|
+
var ltiAppParams = {
|
|
129
|
+
canvasToolId: canvasToolId
|
|
130
|
+
};
|
|
127
131
|
var rendererParams = {
|
|
128
132
|
canvasOrigin: canvasOrigin
|
|
129
133
|
};
|
|
@@ -192,7 +196,7 @@ var RceConfigProviderComponent = function RceConfigProviderComponent(_ref2) {
|
|
|
192
196
|
}
|
|
193
197
|
|
|
194
198
|
return /*#__PURE__*/_react.default.createElement(_quizCommon.RceConfigContext.Provider, {
|
|
195
|
-
value: (0, _rceConfigMapper.mapParamsToRceConfigContext)(flags, rcsParams, rendererParams, canvasConfig)
|
|
199
|
+
value: (0, _rceConfigMapper.mapParamsToRceConfigContext)(flags, rcsParams, rendererParams, canvasConfig, ltiAppParams)
|
|
196
200
|
}, children);
|
|
197
201
|
};
|
|
198
202
|
|
|
@@ -204,6 +208,7 @@ RceConfigProviderComponent.propTypes = {
|
|
|
204
208
|
contextId: _propTypes.default.string,
|
|
205
209
|
contextType: _propTypes.default.string,
|
|
206
210
|
canvasUserId: _propTypes.default.string,
|
|
211
|
+
canvasToolId: _propTypes.default.string,
|
|
207
212
|
rcsHost: _propTypes.default.string,
|
|
208
213
|
rcsJwt: _propTypes.default.string,
|
|
209
214
|
rcsJwtRefreshFn: _propTypes.default.func,
|
|
@@ -213,6 +218,7 @@ RceConfigProviderComponent.defaultProps = {
|
|
|
213
218
|
contextId: null,
|
|
214
219
|
contextType: null,
|
|
215
220
|
canvasUserId: null,
|
|
221
|
+
canvasToolId: null,
|
|
216
222
|
rcsHost: null,
|
|
217
223
|
rcsJwt: null,
|
|
218
224
|
rcsJwtRefreshFn: null,
|
|
@@ -29,15 +29,23 @@ var mapRcs = function mapRcs(rcsParams, canvasConfig) {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
+
var mapLtiApps = function mapLtiApps(flags, canvasConfig, ltiAppParams) {
|
|
33
|
+
var _ref3;
|
|
34
|
+
|
|
35
|
+
if (!(0, _rceConfigUtils.areLtiAppsConfigured)(flags, canvasConfig, ltiAppParams)) return null;
|
|
36
|
+
return _ref3 = {}, (0, _defineProperty2.default)(_ref3, _quizCommon.RceConfigKeys.canvasToolId, ltiAppParams.canvasToolId), (0, _defineProperty2.default)(_ref3, _quizCommon.RceConfigKeys.editorButtons, canvasConfig.editorButtons), _ref3;
|
|
37
|
+
};
|
|
38
|
+
|
|
32
39
|
var rendererEnhancement = function rendererEnhancement(rendererParams) {
|
|
33
40
|
return (0, _defineProperty2.default)({}, _quizCommon.RceConfigKeys.canvasOrigin, (rendererParams === null || rendererParams === void 0 ? void 0 : rendererParams.canvasOrigin) || null);
|
|
34
41
|
};
|
|
35
42
|
|
|
36
|
-
var mapParamsToRceConfigContext = function mapParamsToRceConfigContext(flags, rcsParams, rendererParams, canvasConfig) {
|
|
43
|
+
var mapParamsToRceConfigContext = function mapParamsToRceConfigContext(flags, rcsParams, rendererParams, canvasConfig, ltiAppParams) {
|
|
37
44
|
return {
|
|
38
45
|
featureFlags: mapFeatureFlags(flags),
|
|
39
46
|
rcs: mapRcs(rcsParams, canvasConfig),
|
|
40
|
-
rendererEnhancement: rendererEnhancement(rendererParams)
|
|
47
|
+
rendererEnhancement: rendererEnhancement(rendererParams),
|
|
48
|
+
ltiApps: mapLtiApps(flags, canvasConfig, ltiAppParams)
|
|
41
49
|
};
|
|
42
50
|
};
|
|
43
51
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.isRce5Disabled = exports.hasAllPropsForRcs = void 0;
|
|
6
|
+
exports.isRce5Disabled = exports.areLtiAppsConfigured = exports.hasAllPropsForRcs = void 0;
|
|
7
7
|
|
|
8
8
|
var hasAllPropsForRcs = function hasAllPropsForRcs(rcsParams) {
|
|
9
9
|
return !!((rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.contextId) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.contextType) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.canvasUserId) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.rcsHost) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.refreshToken) && (rcsParams === null || rcsParams === void 0 ? void 0 : rcsParams.jwt));
|
|
@@ -11,6 +11,12 @@ var hasAllPropsForRcs = function hasAllPropsForRcs(rcsParams) {
|
|
|
11
11
|
|
|
12
12
|
exports.hasAllPropsForRcs = hasAllPropsForRcs;
|
|
13
13
|
|
|
14
|
+
var areLtiAppsConfigured = function areLtiAppsConfigured(flags, canvasConfig, ltiAppParams) {
|
|
15
|
+
return !!((flags === null || flags === void 0 ? void 0 : flags.isNewRCEAppsEnabled) && (ltiAppParams === null || ltiAppParams === void 0 ? void 0 : ltiAppParams.canvasToolId) && (canvasConfig === null || canvasConfig === void 0 ? void 0 : canvasConfig.editorButtons) && Array.isArray(canvasConfig.editorButtons) && canvasConfig.editorButtons.length > 0);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
exports.areLtiAppsConfigured = areLtiAppsConfigured;
|
|
19
|
+
|
|
14
20
|
var isRce5Disabled = function isRce5Disabled(flags) {
|
|
15
21
|
return !(flags === null || flags === void 0 ? void 0 : flags.isNewRCEEnabled) && !(flags === null || flags === void 0 ? void 0 : flags.isNewRCERendererEnabled);
|
|
16
22
|
};
|
package/lib/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var _exportNames = {
|
|
|
15
15
|
ReportList: true,
|
|
16
16
|
ReportCard: true,
|
|
17
17
|
QuizAndItemAnalysis: true,
|
|
18
|
+
NewQuizAndItemAnalysis: true,
|
|
18
19
|
Legend: true,
|
|
19
20
|
ActionButtons: true,
|
|
20
21
|
BuildingButtons: true,
|
|
@@ -252,46 +253,52 @@ Object.defineProperty(exports, "QuizAndItemAnalysis", {
|
|
|
252
253
|
return _index8.QuizAndItemAnalysis;
|
|
253
254
|
}
|
|
254
255
|
});
|
|
256
|
+
Object.defineProperty(exports, "NewQuizAndItemAnalysis", {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function get() {
|
|
259
|
+
return _index9.NewQuizAndItemAnalysis;
|
|
260
|
+
}
|
|
261
|
+
});
|
|
255
262
|
Object.defineProperty(exports, "Legend", {
|
|
256
263
|
enumerable: true,
|
|
257
264
|
get: function get() {
|
|
258
|
-
return
|
|
265
|
+
return _index10.Legend;
|
|
259
266
|
}
|
|
260
267
|
});
|
|
261
268
|
Object.defineProperty(exports, "ActionButtons", {
|
|
262
269
|
enumerable: true,
|
|
263
270
|
get: function get() {
|
|
264
|
-
return
|
|
271
|
+
return _index11.ActionButtons;
|
|
265
272
|
}
|
|
266
273
|
});
|
|
267
274
|
Object.defineProperty(exports, "BuildingButtons", {
|
|
268
275
|
enumerable: true,
|
|
269
276
|
get: function get() {
|
|
270
|
-
return
|
|
277
|
+
return _index12.BuildingButtons;
|
|
271
278
|
}
|
|
272
279
|
});
|
|
273
280
|
Object.defineProperty(exports, "AccommodationModal", {
|
|
274
281
|
enumerable: true,
|
|
275
282
|
get: function get() {
|
|
276
|
-
return
|
|
283
|
+
return _index13.AccommodationModal;
|
|
277
284
|
}
|
|
278
285
|
});
|
|
279
286
|
Object.defineProperty(exports, "ExtraAttemptSettings", {
|
|
280
287
|
enumerable: true,
|
|
281
288
|
get: function get() {
|
|
282
|
-
return
|
|
289
|
+
return _index14.ExtraAttemptSettings;
|
|
283
290
|
}
|
|
284
291
|
});
|
|
285
292
|
Object.defineProperty(exports, "ExtraTimeSettings", {
|
|
286
293
|
enumerable: true,
|
|
287
294
|
get: function get() {
|
|
288
|
-
return
|
|
295
|
+
return _index15.ExtraTimeSettings;
|
|
289
296
|
}
|
|
290
297
|
});
|
|
291
298
|
Object.defineProperty(exports, "PreviewFrame", {
|
|
292
299
|
enumerable: true,
|
|
293
300
|
get: function get() {
|
|
294
|
-
return
|
|
301
|
+
return _index16.PreviewFrame;
|
|
295
302
|
}
|
|
296
303
|
});
|
|
297
304
|
Object.defineProperty(exports, "SDKHeaderCalculator", {
|
|
@@ -309,13 +316,13 @@ Object.defineProperty(exports, "QuizzesSpinner", {
|
|
|
309
316
|
Object.defineProperty(exports, "PrintTrigger", {
|
|
310
317
|
enumerable: true,
|
|
311
318
|
get: function get() {
|
|
312
|
-
return
|
|
319
|
+
return _index17.PrintTrigger;
|
|
313
320
|
}
|
|
314
321
|
});
|
|
315
322
|
Object.defineProperty(exports, "IfFeature", {
|
|
316
323
|
enumerable: true,
|
|
317
324
|
get: function get() {
|
|
318
|
-
return
|
|
325
|
+
return _index18.IfFeature;
|
|
319
326
|
}
|
|
320
327
|
});
|
|
321
328
|
Object.defineProperty(exports, "UndecoratedQuizEntryEdit", {
|
|
@@ -327,61 +334,61 @@ Object.defineProperty(exports, "UndecoratedQuizEntryEdit", {
|
|
|
327
334
|
Object.defineProperty(exports, "RichContentInput", {
|
|
328
335
|
enumerable: true,
|
|
329
336
|
get: function get() {
|
|
330
|
-
return
|
|
337
|
+
return _index19.RichContentInput;
|
|
331
338
|
}
|
|
332
339
|
});
|
|
333
340
|
Object.defineProperty(exports, "ResultStimulus", {
|
|
334
341
|
enumerable: true,
|
|
335
342
|
get: function get() {
|
|
336
|
-
return
|
|
343
|
+
return _index20.ResultStimulus;
|
|
337
344
|
}
|
|
338
345
|
});
|
|
339
346
|
Object.defineProperty(exports, "StimulusView", {
|
|
340
347
|
enumerable: true,
|
|
341
348
|
get: function get() {
|
|
342
|
-
return
|
|
349
|
+
return _index21.Stimulus;
|
|
343
350
|
}
|
|
344
351
|
});
|
|
345
352
|
Object.defineProperty(exports, "Sidebar", {
|
|
346
353
|
enumerable: true,
|
|
347
354
|
get: function get() {
|
|
348
|
-
return
|
|
355
|
+
return _index22.Sidebar;
|
|
349
356
|
}
|
|
350
357
|
});
|
|
351
358
|
Object.defineProperty(exports, "SidebarItem", {
|
|
352
359
|
enumerable: true,
|
|
353
360
|
get: function get() {
|
|
354
|
-
return
|
|
361
|
+
return _index23.SidebarItem;
|
|
355
362
|
}
|
|
356
363
|
});
|
|
357
364
|
Object.defineProperty(exports, "BanksPage", {
|
|
358
365
|
enumerable: true,
|
|
359
366
|
get: function get() {
|
|
360
|
-
return
|
|
367
|
+
return _index24.Banks;
|
|
361
368
|
}
|
|
362
369
|
});
|
|
363
370
|
Object.defineProperty(exports, "BankPage", {
|
|
364
371
|
enumerable: true,
|
|
365
372
|
get: function get() {
|
|
366
|
-
return
|
|
373
|
+
return _index25.Bank;
|
|
367
374
|
}
|
|
368
375
|
});
|
|
369
376
|
Object.defineProperty(exports, "BankEntryPage", {
|
|
370
377
|
enumerable: true,
|
|
371
378
|
get: function get() {
|
|
372
|
-
return
|
|
379
|
+
return _index26.BankEntry;
|
|
373
380
|
}
|
|
374
381
|
});
|
|
375
382
|
Object.defineProperty(exports, "SDKBuildingButtons", {
|
|
376
383
|
enumerable: true,
|
|
377
384
|
get: function get() {
|
|
378
|
-
return
|
|
385
|
+
return _index27.SDKBuildingButtons;
|
|
379
386
|
}
|
|
380
387
|
});
|
|
381
388
|
Object.defineProperty(exports, "Paginator", {
|
|
382
389
|
enumerable: true,
|
|
383
390
|
get: function get() {
|
|
384
|
-
return
|
|
391
|
+
return _index28.Paginator;
|
|
385
392
|
}
|
|
386
393
|
});
|
|
387
394
|
Object.defineProperty(exports, "SDKMenuButton", {
|
|
@@ -405,7 +412,7 @@ Object.defineProperty(exports, "CentileDistribution", {
|
|
|
405
412
|
Object.defineProperty(exports, "OutcomeAnalysis", {
|
|
406
413
|
enumerable: true,
|
|
407
414
|
get: function get() {
|
|
408
|
-
return
|
|
415
|
+
return _index29.OutcomeAnalysis;
|
|
409
416
|
}
|
|
410
417
|
});
|
|
411
418
|
Object.defineProperty(exports, "PositionBox", {
|
|
@@ -417,85 +424,85 @@ Object.defineProperty(exports, "PositionBox", {
|
|
|
417
424
|
Object.defineProperty(exports, "Pin", {
|
|
418
425
|
enumerable: true,
|
|
419
426
|
get: function get() {
|
|
420
|
-
return
|
|
427
|
+
return _index30.Pin;
|
|
421
428
|
}
|
|
422
429
|
});
|
|
423
430
|
Object.defineProperty(exports, "RceImageImportModal", {
|
|
424
431
|
enumerable: true,
|
|
425
432
|
get: function get() {
|
|
426
|
-
return
|
|
433
|
+
return _index31.RceImageImportModal;
|
|
427
434
|
}
|
|
428
435
|
});
|
|
429
436
|
Object.defineProperty(exports, "SessionItemResultView", {
|
|
430
437
|
enumerable: true,
|
|
431
438
|
get: function get() {
|
|
432
|
-
return
|
|
439
|
+
return _index32.SessionItemResult;
|
|
433
440
|
}
|
|
434
441
|
});
|
|
435
442
|
Object.defineProperty(exports, "Card", {
|
|
436
443
|
enumerable: true,
|
|
437
444
|
get: function get() {
|
|
438
|
-
return
|
|
445
|
+
return _index33.Card;
|
|
439
446
|
}
|
|
440
447
|
});
|
|
441
448
|
Object.defineProperty(exports, "CardContent", {
|
|
442
449
|
enumerable: true,
|
|
443
450
|
get: function get() {
|
|
444
|
-
return
|
|
451
|
+
return _index34.CardContent;
|
|
445
452
|
}
|
|
446
453
|
});
|
|
447
454
|
Object.defineProperty(exports, "CardWrapper", {
|
|
448
455
|
enumerable: true,
|
|
449
456
|
get: function get() {
|
|
450
|
-
return
|
|
457
|
+
return _index35.CardWrapper;
|
|
451
458
|
}
|
|
452
459
|
});
|
|
453
460
|
Object.defineProperty(exports, "Page", {
|
|
454
461
|
enumerable: true,
|
|
455
462
|
get: function get() {
|
|
456
|
-
return
|
|
463
|
+
return _index36.Page;
|
|
457
464
|
}
|
|
458
465
|
});
|
|
459
466
|
Object.defineProperty(exports, "BanksTray", {
|
|
460
467
|
enumerable: true,
|
|
461
468
|
get: function get() {
|
|
462
|
-
return
|
|
469
|
+
return _index37.BanksTray;
|
|
463
470
|
}
|
|
464
471
|
});
|
|
465
472
|
Object.defineProperty(exports, "BuildingSidebar", {
|
|
466
473
|
enumerable: true,
|
|
467
474
|
get: function get() {
|
|
468
|
-
return
|
|
475
|
+
return _index38.BuildingSidebar;
|
|
469
476
|
}
|
|
470
477
|
});
|
|
471
478
|
Object.defineProperty(exports, "DeleteStimulusModal", {
|
|
472
479
|
enumerable: true,
|
|
473
480
|
get: function get() {
|
|
474
|
-
return
|
|
481
|
+
return _index39.DeleteStimulusModal;
|
|
475
482
|
}
|
|
476
483
|
});
|
|
477
484
|
Object.defineProperty(exports, "ItemFeedbackModal", {
|
|
478
485
|
enumerable: true,
|
|
479
486
|
get: function get() {
|
|
480
|
-
return
|
|
487
|
+
return _index40.ItemFeedbackModal;
|
|
481
488
|
}
|
|
482
489
|
});
|
|
483
490
|
Object.defineProperty(exports, "MoveImmutableModal", {
|
|
484
491
|
enumerable: true,
|
|
485
492
|
get: function get() {
|
|
486
|
-
return
|
|
493
|
+
return _index41.MoveImmutableModal;
|
|
487
494
|
}
|
|
488
495
|
});
|
|
489
496
|
Object.defineProperty(exports, "AddContentModal", {
|
|
490
497
|
enumerable: true,
|
|
491
498
|
get: function get() {
|
|
492
|
-
return
|
|
499
|
+
return _index42.AddContentModal;
|
|
493
500
|
}
|
|
494
501
|
});
|
|
495
502
|
Object.defineProperty(exports, "QTIImportModal", {
|
|
496
503
|
enumerable: true,
|
|
497
504
|
get: function get() {
|
|
498
|
-
return
|
|
505
|
+
return _index43.QTIImportModal;
|
|
499
506
|
}
|
|
500
507
|
});
|
|
501
508
|
Object.defineProperty(exports, "ReturnButton", {
|
|
@@ -525,49 +532,49 @@ Object.defineProperty(exports, "QuizInfo", {
|
|
|
525
532
|
Object.defineProperty(exports, "LearnosityCalculator", {
|
|
526
533
|
enumerable: true,
|
|
527
534
|
get: function get() {
|
|
528
|
-
return
|
|
535
|
+
return _index44.LearnosityCalculator;
|
|
529
536
|
}
|
|
530
537
|
});
|
|
531
538
|
Object.defineProperty(exports, "QuizInstructions", {
|
|
532
539
|
enumerable: true,
|
|
533
540
|
get: function get() {
|
|
534
|
-
return
|
|
541
|
+
return _index45.QuizInstructions;
|
|
535
542
|
}
|
|
536
543
|
});
|
|
537
544
|
Object.defineProperty(exports, "QuizTitle", {
|
|
538
545
|
enumerable: true,
|
|
539
546
|
get: function get() {
|
|
540
|
-
return
|
|
547
|
+
return _index46.QuizTitle;
|
|
541
548
|
}
|
|
542
549
|
});
|
|
543
550
|
Object.defineProperty(exports, "QuizEntryShow", {
|
|
544
551
|
enumerable: true,
|
|
545
552
|
get: function get() {
|
|
546
|
-
return
|
|
553
|
+
return _index47.QuizEntryShow;
|
|
547
554
|
}
|
|
548
555
|
});
|
|
549
556
|
Object.defineProperty(exports, "StimulusShow", {
|
|
550
557
|
enumerable: true,
|
|
551
558
|
get: function get() {
|
|
552
|
-
return
|
|
559
|
+
return _index48.StimulusShow;
|
|
553
560
|
}
|
|
554
561
|
});
|
|
555
562
|
Object.defineProperty(exports, "QuizSessionResultHeader", {
|
|
556
563
|
enumerable: true,
|
|
557
564
|
get: function get() {
|
|
558
|
-
return
|
|
565
|
+
return _index49.QuizSessionResultHeader;
|
|
559
566
|
}
|
|
560
567
|
});
|
|
561
568
|
Object.defineProperty(exports, "QuizSessionResultInfo", {
|
|
562
569
|
enumerable: true,
|
|
563
570
|
get: function get() {
|
|
564
|
-
return
|
|
571
|
+
return _index50.Info;
|
|
565
572
|
}
|
|
566
573
|
});
|
|
567
574
|
Object.defineProperty(exports, "SessionItemResultsList", {
|
|
568
575
|
enumerable: true,
|
|
569
576
|
get: function get() {
|
|
570
|
-
return
|
|
577
|
+
return _index51.SessionItemResultsList;
|
|
571
578
|
}
|
|
572
579
|
});
|
|
573
580
|
Object.defineProperty(exports, "Errors", {
|
|
@@ -579,13 +586,13 @@ Object.defineProperty(exports, "Errors", {
|
|
|
579
586
|
Object.defineProperty(exports, "TimeUnitsInput", {
|
|
580
587
|
enumerable: true,
|
|
581
588
|
get: function get() {
|
|
582
|
-
return
|
|
589
|
+
return _index52.TimeUnitsInput;
|
|
583
590
|
}
|
|
584
591
|
});
|
|
585
592
|
Object.defineProperty(exports, "QuizEntryView", {
|
|
586
593
|
enumerable: true,
|
|
587
594
|
get: function get() {
|
|
588
|
-
return
|
|
595
|
+
return _index53.QuizEntry;
|
|
589
596
|
}
|
|
590
597
|
});
|
|
591
598
|
Object.defineProperty(exports, "Provider", {
|
|
@@ -603,19 +610,19 @@ Object.defineProperty(exports, "connect", {
|
|
|
603
610
|
Object.defineProperty(exports, "FormattedTimer", {
|
|
604
611
|
enumerable: true,
|
|
605
612
|
get: function get() {
|
|
606
|
-
return
|
|
613
|
+
return _index54.FormattedTimer;
|
|
607
614
|
}
|
|
608
615
|
});
|
|
609
616
|
Object.defineProperty(exports, "breakdownSeconds", {
|
|
610
617
|
enumerable: true,
|
|
611
618
|
get: function get() {
|
|
612
|
-
return
|
|
619
|
+
return _index54.breakdownSeconds;
|
|
613
620
|
}
|
|
614
621
|
});
|
|
615
622
|
Object.defineProperty(exports, "HOUR_IN_SECONDS", {
|
|
616
623
|
enumerable: true,
|
|
617
624
|
get: function get() {
|
|
618
|
-
return
|
|
625
|
+
return _index54.HOUR_IN_SECONDS;
|
|
619
626
|
}
|
|
620
627
|
});
|
|
621
628
|
Object.defineProperty(exports, "config", {
|
|
@@ -729,7 +736,7 @@ Object.defineProperty(exports, "formatTime", {
|
|
|
729
736
|
Object.defineProperty(exports, "generateImportModalId", {
|
|
730
737
|
enumerable: true,
|
|
731
738
|
get: function get() {
|
|
732
|
-
return
|
|
739
|
+
return _index55.generateImportModalId;
|
|
733
740
|
}
|
|
734
741
|
});
|
|
735
742
|
Object.defineProperty(exports, "TimerService", {
|
|
@@ -1346,49 +1353,51 @@ var _index7 = require("./reporting/components/resources/ReportCard/index.js");
|
|
|
1346
1353
|
|
|
1347
1354
|
var _index8 = require("./reporting/components/resources/QuizAndItemAnalysis/index.js");
|
|
1348
1355
|
|
|
1349
|
-
var _index9 = require("./reporting/components/
|
|
1356
|
+
var _index9 = require("./reporting/components/resources/NewQuizAndItemAnalysis/index.js");
|
|
1357
|
+
|
|
1358
|
+
var _index10 = require("./reporting/components/charts/Legend/index.js");
|
|
1350
1359
|
|
|
1351
|
-
var
|
|
1360
|
+
var _index11 = require("./building/components/resources/ActionButtons/index.js");
|
|
1352
1361
|
|
|
1353
|
-
var
|
|
1362
|
+
var _index12 = require("./building/components/layout/header/BuildingButtons/index.js");
|
|
1354
1363
|
|
|
1355
|
-
var
|
|
1364
|
+
var _index13 = require("./moderating/components/resources/AccommodationsModal/index.js");
|
|
1356
1365
|
|
|
1357
|
-
var
|
|
1366
|
+
var _index14 = require("./moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js");
|
|
1358
1367
|
|
|
1359
|
-
var
|
|
1368
|
+
var _index15 = require("./moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js");
|
|
1360
1369
|
|
|
1361
|
-
var
|
|
1370
|
+
var _index16 = require("./common/components/PreviewFrame/index.js");
|
|
1362
1371
|
|
|
1363
1372
|
var _SDKHeaderCalculator = require("./common/components/SDKHeaderCalculator.js");
|
|
1364
1373
|
|
|
1365
1374
|
var _Spinner = require("./common/components/shared/spinner/Spinner.js");
|
|
1366
1375
|
|
|
1367
|
-
var
|
|
1376
|
+
var _index17 = require("./common/components/shared/PrintTrigger/index.js");
|
|
1368
1377
|
|
|
1369
|
-
var
|
|
1378
|
+
var _index18 = require("./common/components/shared/IfFeature/index.js");
|
|
1370
1379
|
|
|
1371
1380
|
var _presenter2 = require("./building/components/resources/quizEntry/QuizEntryEdit/presenter.js");
|
|
1372
1381
|
|
|
1373
|
-
var
|
|
1382
|
+
var _index19 = require("./common/components/RichContentInput/index.js");
|
|
1374
1383
|
|
|
1375
|
-
var
|
|
1384
|
+
var _index20 = require("./common/components/resources/sessionItemResult/ResultStimulus/index.js");
|
|
1376
1385
|
|
|
1377
|
-
var
|
|
1386
|
+
var _index21 = require("./common/components/layout/sidebar/Stimulus/index.js");
|
|
1378
1387
|
|
|
1379
|
-
var
|
|
1388
|
+
var _index22 = require("./common/components/layout/sidebar/Sidebar/index.js");
|
|
1380
1389
|
|
|
1381
|
-
var
|
|
1390
|
+
var _index23 = require("./common/components/layout/sidebar/SidebarItem/index.js");
|
|
1382
1391
|
|
|
1383
|
-
var
|
|
1392
|
+
var _index24 = require("./banks/components/Banks/index.js");
|
|
1384
1393
|
|
|
1385
|
-
var
|
|
1394
|
+
var _index25 = require("./banks/components/Bank/index.js");
|
|
1386
1395
|
|
|
1387
|
-
var
|
|
1396
|
+
var _index26 = require("./banks/components/BankEntry/index.js");
|
|
1388
1397
|
|
|
1389
|
-
var
|
|
1398
|
+
var _index27 = require("./building/components/layout/header/SDKBuildingButtons/index.js");
|
|
1390
1399
|
|
|
1391
|
-
var
|
|
1400
|
+
var _index28 = require("./common/components/shared/Paginator/index.js");
|
|
1392
1401
|
|
|
1393
1402
|
var _SDKMenuButton = require("./common/components/SDKMenuButton.js");
|
|
1394
1403
|
|
|
@@ -1396,37 +1405,37 @@ var _SDKTimer = require("./common/components/SDKTimer.js");
|
|
|
1396
1405
|
|
|
1397
1406
|
var _CentileDistribution = require("./reporting/components/charts/Distribution/CentileDistribution.js");
|
|
1398
1407
|
|
|
1399
|
-
var
|
|
1408
|
+
var _index29 = require("./reporting/components/resources/OutcomeAnalysis/index.js");
|
|
1400
1409
|
|
|
1401
1410
|
var _PositionBox = require("./common/components/resources/positionBox/PositionBox.js");
|
|
1402
1411
|
|
|
1403
|
-
var
|
|
1412
|
+
var _index30 = require("./common/components/Pin/index.js");
|
|
1404
1413
|
|
|
1405
|
-
var
|
|
1414
|
+
var _index31 = require("./common/components/RichContentInput/RceImageImportModal/index.js");
|
|
1406
1415
|
|
|
1407
|
-
var
|
|
1416
|
+
var _index32 = require("./common/components/resources/sessionItemResult/SessionItemResult/index.js");
|
|
1408
1417
|
|
|
1409
|
-
var
|
|
1418
|
+
var _index33 = require("./common/components/shared/Card/index.js");
|
|
1410
1419
|
|
|
1411
|
-
var
|
|
1420
|
+
var _index34 = require("./common/components/shared/Card/CardContent/index.js");
|
|
1412
1421
|
|
|
1413
|
-
var
|
|
1422
|
+
var _index35 = require("./common/components/shared/Card/CardWrapper/index.js");
|
|
1414
1423
|
|
|
1415
|
-
var
|
|
1424
|
+
var _index36 = require("./common/components/layout/Page/index.js");
|
|
1416
1425
|
|
|
1417
|
-
var
|
|
1426
|
+
var _index37 = require("./building/components/resources/BanksTray/index.js");
|
|
1418
1427
|
|
|
1419
|
-
var
|
|
1428
|
+
var _index38 = require("./building/components/layout/Sidebar/index.js");
|
|
1420
1429
|
|
|
1421
|
-
var
|
|
1430
|
+
var _index39 = require("./building/components/resources/DeleteStimulusModal/index.js");
|
|
1422
1431
|
|
|
1423
|
-
var
|
|
1432
|
+
var _index40 = require("./building/components/resources/ItemFeedbackModal/index.js");
|
|
1424
1433
|
|
|
1425
|
-
var
|
|
1434
|
+
var _index41 = require("./building/components/resources/MoveImmutableModal/index.js");
|
|
1426
1435
|
|
|
1427
|
-
var
|
|
1436
|
+
var _index42 = require("./common/components/resources/quiz/AddContent/Modal/index.js");
|
|
1428
1437
|
|
|
1429
|
-
var
|
|
1438
|
+
var _index43 = require("./building/components/QTIImportModal/index.js");
|
|
1430
1439
|
|
|
1431
1440
|
var _ReturnButton = require("./common/components/shared/return_button/ReturnButton.js");
|
|
1432
1441
|
|
|
@@ -1436,31 +1445,31 @@ var _Event = require("./moderating/components/events/Event.js");
|
|
|
1436
1445
|
|
|
1437
1446
|
var _QuizInfo = require("./common/components/resources/quiz/info/QuizInfo.js");
|
|
1438
1447
|
|
|
1439
|
-
var
|
|
1448
|
+
var _index44 = require("./common/components/LearnosityCalculator/index.js");
|
|
1440
1449
|
|
|
1441
|
-
var
|
|
1450
|
+
var _index45 = require("./building/components/resources/quiz/instructions/Instructions/index.js");
|
|
1442
1451
|
|
|
1443
|
-
var
|
|
1452
|
+
var _index46 = require("./building/components/resources/quiz/title/Title/index.js");
|
|
1444
1453
|
|
|
1445
|
-
var
|
|
1454
|
+
var _index47 = require("./building/components/resources/quizEntry/QuizEntryShow/index.js");
|
|
1446
1455
|
|
|
1447
|
-
var
|
|
1456
|
+
var _index48 = require("./common/components/resources/stimulus/StimulusShow/index.js");
|
|
1448
1457
|
|
|
1449
|
-
var
|
|
1458
|
+
var _index49 = require("./common/components/resources/quizSessionResult/Header/index.js");
|
|
1450
1459
|
|
|
1451
|
-
var
|
|
1460
|
+
var _index50 = require("./common/components/resources/quizSessionResult/Info/index.js");
|
|
1452
1461
|
|
|
1453
|
-
var
|
|
1462
|
+
var _index51 = require("./common/components/resources/sessionItemResult/SessionItemResultsList/index.js");
|
|
1454
1463
|
|
|
1455
1464
|
var _Errors = require("./common/components/shared/errors/Errors.js");
|
|
1456
1465
|
|
|
1457
|
-
var
|
|
1466
|
+
var _index52 = require("./common/components/shared/TimeUnitsInput/index.js");
|
|
1458
1467
|
|
|
1459
|
-
var
|
|
1468
|
+
var _index53 = require("./building/components/resources/quizEntry/QuizEntry/index.js");
|
|
1460
1469
|
|
|
1461
1470
|
var _reactRedux = require("./common/react-redux.js");
|
|
1462
1471
|
|
|
1463
|
-
var
|
|
1472
|
+
var _index54 = require("./common/components/shared/FormattedDuration/index.js");
|
|
1464
1473
|
|
|
1465
1474
|
var _config = require("./config.js");
|
|
1466
1475
|
|
|
@@ -1486,7 +1495,7 @@ var _makeScrollable = require("./common/components/shared/functionality/makeScro
|
|
|
1486
1495
|
|
|
1487
1496
|
var _formatTimespan = require("./common/util/formatTimespan.js");
|
|
1488
1497
|
|
|
1489
|
-
var
|
|
1498
|
+
var _index55 = require("./common/components/ImportModal/index.js");
|
|
1490
1499
|
|
|
1491
1500
|
var _TimerService = require("./common/util/TimerService.js");
|
|
1492
1501
|
|
|
@@ -1576,16 +1585,16 @@ var _sessionItems = require("./common/selectors/sessionItems.js");
|
|
|
1576
1585
|
|
|
1577
1586
|
var _sessionItemResults = require("./common/selectors/sessionItemResults.js");
|
|
1578
1587
|
|
|
1579
|
-
var
|
|
1588
|
+
var _index56 = require("./common/records/index.js");
|
|
1580
1589
|
|
|
1581
|
-
Object.keys(
|
|
1590
|
+
Object.keys(_index56).forEach(function (key) {
|
|
1582
1591
|
if (key === "default" || key === "__esModule") return;
|
|
1583
1592
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
1584
|
-
if (key in exports && exports[key] ===
|
|
1593
|
+
if (key in exports && exports[key] === _index56[key]) return;
|
|
1585
1594
|
Object.defineProperty(exports, key, {
|
|
1586
1595
|
enumerable: true,
|
|
1587
1596
|
get: function get() {
|
|
1588
|
-
return
|
|
1597
|
+
return _index56[key];
|
|
1589
1598
|
}
|
|
1590
1599
|
});
|
|
1591
1600
|
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.mapStateToProps = mapStateToProps;
|
|
7
|
+
exports.default = exports.NewQuizAndItemAnalysis = void 0;
|
|
8
|
+
|
|
9
|
+
var _presenter = require("./presenter.js");
|
|
10
|
+
|
|
11
|
+
var _reactRedux = require("../../../../common/react-redux.js");
|
|
12
|
+
|
|
13
|
+
var _quizzes = require("../../../../common/selectors/quizzes.js");
|
|
14
|
+
|
|
15
|
+
var _quizzes2 = require("../../../../common/api/quizzes.js");
|
|
16
|
+
|
|
17
|
+
function mapStateToProps(state) {
|
|
18
|
+
var activeQuiz = (0, _quizzes.getActiveQuiz)(state);
|
|
19
|
+
return {
|
|
20
|
+
quiz: activeQuiz
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
var NewQuizAndItemAnalysis = (0, _reactRedux.connect)(mapStateToProps, {
|
|
25
|
+
getExistingQuiz: _quizzes2.getExistingQuiz
|
|
26
|
+
})(_presenter.NewQuizAndItemAnalysis);
|
|
27
|
+
exports.NewQuizAndItemAnalysis = NewQuizAndItemAnalysis;
|
|
28
|
+
var _default = NewQuizAndItemAnalysis;
|
|
29
|
+
exports.default = _default;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
+
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
exports.default = exports.NewQuizAndItemAnalysis = void 0;
|
|
11
|
+
|
|
12
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
13
|
+
|
|
14
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
15
|
+
|
|
16
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
+
|
|
18
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
19
|
+
|
|
20
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
21
|
+
|
|
22
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
23
|
+
|
|
24
|
+
var _reactImmutableProptypes = _interopRequireDefault(require("react-immutable-proptypes"));
|
|
25
|
+
|
|
26
|
+
var _uiHeading = require("@instructure/ui-heading");
|
|
27
|
+
|
|
28
|
+
var _uiMetric = require("@instructure/ui-metric");
|
|
29
|
+
|
|
30
|
+
var _Spinner = _interopRequireDefault(require("../../../../common/components/shared/spinner/Spinner.js"));
|
|
31
|
+
|
|
32
|
+
var _quizCommon = require("@instructure/quiz-common");
|
|
33
|
+
|
|
34
|
+
var _ref = /*#__PURE__*/_react.default.createElement(_uiMetric.MetricGroup, null, /*#__PURE__*/_react.default.createElement(_uiMetric.Metric, {
|
|
35
|
+
renderLabel: "Example 1",
|
|
36
|
+
renderValue: "80%"
|
|
37
|
+
}), /*#__PURE__*/_react.default.createElement(_uiMetric.Metric, {
|
|
38
|
+
renderLabel: "Example 2",
|
|
39
|
+
renderValue: "5"
|
|
40
|
+
}), /*#__PURE__*/_react.default.createElement(_uiMetric.Metric, {
|
|
41
|
+
renderLabel: "Example 3",
|
|
42
|
+
renderValue: "Good"
|
|
43
|
+
}));
|
|
44
|
+
|
|
45
|
+
var _ref2 = /*#__PURE__*/_react.default.createElement(_Spinner.default, null);
|
|
46
|
+
|
|
47
|
+
var NewQuizAndItemAnalysis = /*#__PURE__*/function (_withI18nSupport) {
|
|
48
|
+
(0, _inherits2.default)(NewQuizAndItemAnalysis, _withI18nSupport);
|
|
49
|
+
|
|
50
|
+
var _super = (0, _createSuper2.default)(NewQuizAndItemAnalysis);
|
|
51
|
+
|
|
52
|
+
function NewQuizAndItemAnalysis() {
|
|
53
|
+
(0, _classCallCheck2.default)(this, NewQuizAndItemAnalysis);
|
|
54
|
+
return _super.apply(this, arguments);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
(0, _createClass2.default)(NewQuizAndItemAnalysis, [{
|
|
58
|
+
key: "componentDidMount",
|
|
59
|
+
value: function componentDidMount() {
|
|
60
|
+
this.props.getExistingQuiz(this.props.activeQuizId);
|
|
61
|
+
}
|
|
62
|
+
}, {
|
|
63
|
+
key: "renderContent",
|
|
64
|
+
value: function renderContent() {
|
|
65
|
+
var quiz = this.props.quiz;
|
|
66
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
67
|
+
className: "fs-mask"
|
|
68
|
+
}, /*#__PURE__*/_react.default.createElement(_uiHeading.Heading, {
|
|
69
|
+
level: "h3",
|
|
70
|
+
color: "primary"
|
|
71
|
+
}, quiz.title), _ref);
|
|
72
|
+
}
|
|
73
|
+
}, {
|
|
74
|
+
key: "render",
|
|
75
|
+
value: function render() {
|
|
76
|
+
if (this.props.quiz.isLoaded()) {
|
|
77
|
+
return this.renderContent();
|
|
78
|
+
} else {
|
|
79
|
+
return _ref2;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}]);
|
|
83
|
+
NewQuizAndItemAnalysis.displayName = "NewQuizAndItemAnalysis";
|
|
84
|
+
return NewQuizAndItemAnalysis;
|
|
85
|
+
}((0, _quizCommon.withI18nSupport)(_react.Component));
|
|
86
|
+
|
|
87
|
+
exports.NewQuizAndItemAnalysis = NewQuizAndItemAnalysis;
|
|
88
|
+
NewQuizAndItemAnalysis.propTypes = {
|
|
89
|
+
quiz: _reactImmutableProptypes.default.record.isRequired,
|
|
90
|
+
activeQuizId: _propTypes.default.string.isRequired,
|
|
91
|
+
getExistingQuiz: _propTypes.default.func.isRequired,
|
|
92
|
+
locale: _propTypes.default.string
|
|
93
|
+
};
|
|
94
|
+
NewQuizAndItemAnalysis.defaultProps = {
|
|
95
|
+
locale: null
|
|
96
|
+
};
|
|
97
|
+
NewQuizAndItemAnalysis.contextTypes = {
|
|
98
|
+
locale: _propTypes.default.string
|
|
99
|
+
};
|
|
100
|
+
var _default = NewQuizAndItemAnalysis;
|
|
101
|
+
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "17.49.1-rc.
|
|
3
|
+
"version": "17.49.1-rc.6+0b7fea386",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@instructure/outcomes-ui": "^2.1.2",
|
|
44
|
-
"@instructure/quiz-common": "17.49.1-rc.
|
|
45
|
-
"@instructure/quiz-i18n": "17.49.1-rc.
|
|
46
|
-
"@instructure/quiz-interactions": "17.49.1-rc.
|
|
47
|
-
"@instructure/quiz-number-input": "17.49.1-rc.
|
|
48
|
-
"@instructure/quiz-rce": "17.49.1-rc.
|
|
44
|
+
"@instructure/quiz-common": "17.49.1-rc.6+0b7fea386",
|
|
45
|
+
"@instructure/quiz-i18n": "17.49.1-rc.6+0b7fea386",
|
|
46
|
+
"@instructure/quiz-interactions": "17.49.1-rc.6+0b7fea386",
|
|
47
|
+
"@instructure/quiz-number-input": "17.49.1-rc.6+0b7fea386",
|
|
48
|
+
"@instructure/quiz-rce": "17.49.1-rc.6+0b7fea386",
|
|
49
49
|
"@instructure/ui-a11y-content": "^7.20.0",
|
|
50
50
|
"@instructure/ui-alerts": "^7.20.0",
|
|
51
51
|
"@instructure/ui-avatar": "^7.20.0",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"eventemitter3": "^3.1.0",
|
|
107
107
|
"humps": "^2.0.0",
|
|
108
108
|
"immutable": "^3.8.1",
|
|
109
|
-
"instructure-validations": "17.49.1-rc.
|
|
109
|
+
"instructure-validations": "17.49.1-rc.6+0b7fea386",
|
|
110
110
|
"ipaddr.js": "^1.5.4",
|
|
111
111
|
"isomorphic-fetch": "^2.2.0",
|
|
112
112
|
"isuuid": "^0.1.0",
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"intl": "^1.2.4",
|
|
157
157
|
"jquery": "^2.2.3",
|
|
158
158
|
"most-subject": "^5.3.0",
|
|
159
|
-
"quiz-presets": "17.49.1-rc.
|
|
159
|
+
"quiz-presets": "17.49.1-rc.6+0b7fea386",
|
|
160
160
|
"react": "^16.8.6",
|
|
161
161
|
"react-addons-test-utils": "^15.6.2",
|
|
162
162
|
"react-dom": "^16.8.6",
|
|
@@ -172,5 +172,5 @@
|
|
|
172
172
|
"publishConfig": {
|
|
173
173
|
"access": "public"
|
|
174
174
|
},
|
|
175
|
-
"gitHead": "
|
|
175
|
+
"gitHead": "0b7fea3862df6b8e938238011f50617fd656e52f"
|
|
176
176
|
}
|