@instructure/quiz-core 20.28.0 → 20.28.1-snapshot.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.
Files changed (102) hide show
  1. package/CHANGELOG.md +4671 -0
  2. package/es/common/actions/analyses.js +25 -1
  3. package/es/common/reducers/analyses.js +14 -2
  4. package/es/common/selectors/analyses.js +13 -0
  5. package/es/index.js +1 -0
  6. package/es/reporting/api/fetchStudentAnalyses.js +30 -0
  7. package/es/reporting/api/getAnalysesExport.js +7 -4
  8. package/es/reporting/api/getAnalysesStatus.js +7 -4
  9. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +1 -1
  10. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +1 -1
  11. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +1 -1
  12. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +1 -1
  13. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +1 -1
  14. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +1 -1
  15. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +1 -1
  16. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +1 -1
  17. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +1 -1
  18. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +1 -1
  19. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +1 -1
  20. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +1 -1
  21. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +1 -1
  22. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +1 -1
  23. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +1 -1
  24. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +1 -1
  25. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +1 -1
  26. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +1 -1
  27. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +6 -1
  28. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +1 -1
  29. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +1 -1
  30. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +2 -2
  31. package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +1 -1
  32. package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +1 -1
  33. package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -3
  34. package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +2 -2
  35. package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +5 -5
  36. package/es/reporting/components/resources/StudentAnalysis/ReportCard/index.js +3 -0
  37. package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +164 -0
  38. package/es/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +41 -0
  39. package/es/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +12 -0
  40. package/es/reporting/components/resources/StudentAnalysis/fetchReport.js +48 -0
  41. package/es/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +42 -0
  42. package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +39 -0
  43. package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +222 -0
  44. package/es/reporting/components/resources/common/ExportButton/index.js +24 -0
  45. package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/errorCodes.js +2 -2
  46. package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/errorMessages.js +1 -1
  47. package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/exportReports.js +4 -3
  48. package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/propTypes.js +3 -0
  49. package/lib/common/actions/analyses.js +28 -0
  50. package/lib/common/reducers/analyses.js +18 -2
  51. package/lib/common/selectors/analyses.js +18 -1
  52. package/lib/index.js +106 -98
  53. package/lib/reporting/api/fetchStudentAnalyses.js +38 -0
  54. package/lib/reporting/api/getAnalysesExport.js +7 -4
  55. package/lib/reporting/api/getAnalysesStatus.js +7 -4
  56. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +1 -1
  57. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +1 -1
  58. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +1 -1
  59. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +1 -1
  60. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +1 -1
  61. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +1 -1
  62. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +1 -1
  63. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +1 -1
  64. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +1 -1
  65. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +1 -1
  66. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +1 -1
  67. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +1 -1
  68. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +1 -1
  69. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +1 -1
  70. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +1 -1
  71. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +1 -1
  72. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +1 -1
  73. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +1 -1
  74. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +5 -1
  75. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +1 -1
  76. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +1 -1
  77. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +2 -2
  78. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +1 -1
  79. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +1 -1
  80. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -3
  81. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +2 -3
  82. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +5 -5
  83. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/index.js +11 -0
  84. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +172 -0
  85. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +49 -0
  86. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +19 -0
  87. package/lib/reporting/components/resources/StudentAnalysis/fetchReport.js +56 -0
  88. package/lib/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +50 -0
  89. package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +46 -0
  90. package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +231 -0
  91. package/lib/reporting/components/resources/common/ExportButton/index.js +32 -0
  92. package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/errorCodes.js +1 -1
  93. package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/errorMessages.js +3 -3
  94. package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/exportReports.js +4 -3
  95. package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/propTypes.js +5 -1
  96. package/package.json +11 -10
  97. /package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/AnalysisUpdateDate/index.js +0 -0
  98. /package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/generateReports.js +0 -0
  99. /package/es/reporting/components/resources/{NewQuizAndItemAnalysis → common}/utils.js +0 -0
  100. /package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/AnalysisUpdateDate/index.js +0 -0
  101. /package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/generateReports.js +0 -0
  102. /package/lib/reporting/components/resources/{NewQuizAndItemAnalysis → common}/utils.js +0 -0
@@ -1,4 +1,4 @@
1
- import { SET_QUIZ_ANALYSIS, SET_ITEM_ANALYSES, SET_ANALYSIS_FETCH_IN_PROGRESS, SET_ANALYSIS_GENERATION_IN_PROGRESS, SET_ANALYSIS_ERROR, SET_STATUS_POLLING_IN_PROGRESS } from '@instructure/quiz-common';
1
+ import { SET_QUIZ_ANALYSIS, SET_ITEM_ANALYSES, SET_STUDENT_ANALYSES, SET_ANALYSIS_FETCH_IN_PROGRESS, SET_STUDENT_ANALYSIS_FETCH_IN_PROGRESS, SET_ANALYSIS_GENERATION_IN_PROGRESS, SET_STUDENT_ANALYSIS_REPORT_GENERATION_IN_PROGRESS, SET_ANALYSIS_ERROR, SET_STATUS_POLLING_IN_PROGRESS, SET_STUDENT_ANALYSIS_STATUS_POLLING_IN_PROGRESS } from '@instructure/quiz-common';
2
2
  export function setQuizAnalysis(quizAnalysis) {
3
3
  return {
4
4
  type: SET_QUIZ_ANALYSIS,
@@ -11,24 +11,48 @@ export function setItemAnalyses(itemAnalyses) {
11
11
  payload: itemAnalyses
12
12
  };
13
13
  }
14
+ export function setStudentAnalyses(studentAnalyses) {
15
+ return {
16
+ type: SET_STUDENT_ANALYSES,
17
+ payload: studentAnalyses
18
+ };
19
+ }
14
20
  export function setFetchInProgress(inProgress) {
15
21
  return {
16
22
  type: SET_ANALYSIS_FETCH_IN_PROGRESS,
17
23
  payload: inProgress
18
24
  };
19
25
  }
26
+ export function setStudentAnalysisFetchInProgress(inProgress) {
27
+ return {
28
+ type: SET_STUDENT_ANALYSIS_FETCH_IN_PROGRESS,
29
+ payload: inProgress
30
+ };
31
+ }
20
32
  export function setStatusPollingInProgress(inProgress) {
21
33
  return {
22
34
  type: SET_STATUS_POLLING_IN_PROGRESS,
23
35
  payload: inProgress
24
36
  };
25
37
  }
38
+ export function setStudentAnalysisStatusPollingInProgress(inProgress) {
39
+ return {
40
+ type: SET_STUDENT_ANALYSIS_STATUS_POLLING_IN_PROGRESS,
41
+ payload: inProgress
42
+ };
43
+ }
26
44
  export function setGenerationInProgress(inProgress) {
27
45
  return {
28
46
  type: SET_ANALYSIS_GENERATION_IN_PROGRESS,
29
47
  payload: inProgress
30
48
  };
31
49
  }
50
+ export function setStudentAnalysesGenerationInProgress(inProgress) {
51
+ return {
52
+ type: SET_STUDENT_ANALYSIS_REPORT_GENERATION_IN_PROGRESS,
53
+ payload: inProgress
54
+ };
55
+ }
32
56
  export function setAnalysisError(error) {
33
57
  return {
34
58
  type: SET_ANALYSIS_ERROR,
@@ -1,14 +1,18 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  var _fromJS;
3
3
  import { fromJS } from 'immutable';
4
- import { SET_QUIZ_ANALYSIS, SET_ITEM_ANALYSES, SET_ANALYSIS_FETCH_IN_PROGRESS, SET_ANALYSIS_GENERATION_IN_PROGRESS, SET_STATUS_POLLING_IN_PROGRESS, SET_ANALYSIS_ERROR } from '@instructure/quiz-common';
4
+ import { SET_QUIZ_ANALYSIS, SET_ITEM_ANALYSES, SET_STUDENT_ANALYSES, SET_ANALYSIS_FETCH_IN_PROGRESS, SET_STUDENT_ANALYSIS_FETCH_IN_PROGRESS, SET_ANALYSIS_GENERATION_IN_PROGRESS, SET_STUDENT_ANALYSIS_REPORT_GENERATION_IN_PROGRESS, SET_STATUS_POLLING_IN_PROGRESS, SET_STUDENT_ANALYSIS_STATUS_POLLING_IN_PROGRESS, SET_ANALYSIS_ERROR } from '@instructure/quiz-common';
5
5
  export var quizAnalysisKey = 'quizAnalysis';
6
6
  export var itemAnalysesKey = 'itemAnalyses';
7
+ export var studentAnalysesKey = 'studentAnalyses';
7
8
  export var fetchInProgressKey = 'fetchInProgress';
9
+ export var studentAnalysisFetchInProgressKey = 'studentAnalysisFetchInProgress';
8
10
  export var generationInProgressKey = 'generationInProgress';
11
+ export var studentAnalysisGenerationInProgressKey = 'studentAnalysisGenerationInProgress';
9
12
  export var statusPollingInProgressKey = 'statusPollingInProgress';
13
+ export var studentAnalysisStatusPollingInProgressKey = 'studentAnalysisStatusPollingInProgress';
10
14
  export var errorKey = 'analysisError';
11
- export var defaultState = fromJS((_fromJS = {}, _defineProperty(_fromJS, quizAnalysisKey, void 0), _defineProperty(_fromJS, itemAnalysesKey, void 0), _defineProperty(_fromJS, fetchInProgressKey, true), _defineProperty(_fromJS, generationInProgressKey, false), _defineProperty(_fromJS, statusPollingInProgressKey, false), _defineProperty(_fromJS, errorKey, void 0), _fromJS));
15
+ export var defaultState = fromJS((_fromJS = {}, _defineProperty(_fromJS, quizAnalysisKey, void 0), _defineProperty(_fromJS, itemAnalysesKey, void 0), _defineProperty(_fromJS, studentAnalysesKey, void 0), _defineProperty(_fromJS, fetchInProgressKey, true), _defineProperty(_fromJS, studentAnalysisFetchInProgressKey, false), _defineProperty(_fromJS, generationInProgressKey, false), _defineProperty(_fromJS, studentAnalysisGenerationInProgressKey, false), _defineProperty(_fromJS, statusPollingInProgressKey, false), _defineProperty(_fromJS, studentAnalysisStatusPollingInProgressKey, false), _defineProperty(_fromJS, errorKey, void 0), _fromJS));
12
16
  export default (function () {
13
17
  var state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : defaultState;
14
18
  var action = arguments.length > 1 ? arguments[1] : void 0;
@@ -17,12 +21,20 @@ export default (function () {
17
21
  return state.set(quizAnalysisKey, fromJS(action.payload));
18
22
  case SET_ITEM_ANALYSES:
19
23
  return state.set(itemAnalysesKey, fromJS(action.payload));
24
+ case SET_STUDENT_ANALYSES:
25
+ return state.set(studentAnalysesKey, fromJS(action.payload));
20
26
  case SET_ANALYSIS_FETCH_IN_PROGRESS:
21
27
  return state.set(fetchInProgressKey, action.payload);
28
+ case SET_STUDENT_ANALYSIS_FETCH_IN_PROGRESS:
29
+ return state.set(studentAnalysisFetchInProgressKey, action.payload);
22
30
  case SET_ANALYSIS_GENERATION_IN_PROGRESS:
23
31
  return state.set(generationInProgressKey, action.payload);
32
+ case SET_STUDENT_ANALYSIS_REPORT_GENERATION_IN_PROGRESS:
33
+ return state.set(studentAnalysisGenerationInProgressKey, action.payload);
24
34
  case SET_STATUS_POLLING_IN_PROGRESS:
25
35
  return state.set(statusPollingInProgressKey, action.payload);
36
+ case SET_STUDENT_ANALYSIS_STATUS_POLLING_IN_PROGRESS:
37
+ return state.set(studentAnalysisStatusPollingInProgressKey, action.payload);
26
38
  case SET_ANALYSIS_ERROR:
27
39
  return state.set(errorKey, action.payload);
28
40
  default:
@@ -7,15 +7,28 @@ export var getItemAnalyses = function getItemAnalyses(state) {
7
7
  var _state$getIn2;
8
8
  return (_state$getIn2 = state.getIn([path, 'itemAnalyses'])) === null || _state$getIn2 === void 0 ? void 0 : _state$getIn2.toJS();
9
9
  };
10
+ export var getStudentAnalyses = function getStudentAnalyses(state) {
11
+ var _state$getIn3;
12
+ return (_state$getIn3 = state.getIn([path, 'studentAnalyses'])) === null || _state$getIn3 === void 0 ? void 0 : _state$getIn3.toJS();
13
+ };
10
14
  export var getFetchInProgress = function getFetchInProgress(state) {
11
15
  return state.getIn([path, 'fetchInProgress'], false);
12
16
  };
17
+ export var getStudentAnalysisFetchInProgress = function getStudentAnalysisFetchInProgress(state) {
18
+ return state.getIn([path, 'studentAnalysisFetchInProgress'], false);
19
+ };
13
20
  export var getStatusPollingInProgress = function getStatusPollingInProgress(state) {
14
21
  return state.getIn([path, 'statusPollingInProgress'], false);
15
22
  };
23
+ export var getStudentAnalysisStatusPollingInProgress = function getStudentAnalysisStatusPollingInProgress(state) {
24
+ return state.getIn([path, 'studentAnalysisStatusPollingInProgress'], false);
25
+ };
16
26
  export var getGenerationInProgress = function getGenerationInProgress(state) {
17
27
  return state.getIn([path, 'generationInProgress'], false);
18
28
  };
29
+ export var getStudentAnalysisGenerationInProgress = function getStudentAnalysisGenerationInProgress(state) {
30
+ return state.getIn([path, 'studentAnalysisGenerationInProgress'], false);
31
+ };
19
32
  export var getAnalysisError = function getAnalysisError(state) {
20
33
  return state.getIn([path, 'analysisError']);
21
34
  };
package/es/index.js CHANGED
@@ -18,6 +18,7 @@ export { ReportCard } from "./reporting/components/resources/ReportCard/index.js
18
18
  export { QuizAndItemAnalysis } from "./reporting/components/resources/QuizAndItemAnalysis/index.js";
19
19
  export { NewQuizAndItemAnalysis } from "./reporting/components/resources/NewQuizAndItemAnalysis/index.js";
20
20
  export { NewQuizAndItemAnalysisReportCard } from "./reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js";
21
+ export { StudentAnalysisReportCard } from "./reporting/components/resources/StudentAnalysis/ReportCard/index.js";
21
22
  export { Legend } from "./reporting/components/charts/Legend/index.js";
22
23
  export { ActionButtons } from "./building/components/resources/ActionButtons/index.js";
23
24
  export { BuildingButtons } from "./building/components/layout/header/BuildingButtons/index.js";
@@ -0,0 +1,30 @@
1
+ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
+ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
+ import Fetcher from "../../common/util/Fetcher.js";
4
+ var fetcher = new Fetcher();
5
+ export var fetchStudentAnalyses = /*#__PURE__*/function () {
6
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(quizId) {
7
+ var filter,
8
+ url,
9
+ _args = arguments;
10
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
11
+ while (1) {
12
+ switch (_context.prev = _context.next) {
13
+ case 0:
14
+ filter = _args.length > 1 && _args[1] !== void 0 ? _args[1] : 'last_attempt';
15
+ url = "/api/quizzes/".concat(quizId, "/analyses/student_analyses?filter=").concat(filter);
16
+ _context.next = 4;
17
+ return fetcher.get(url);
18
+ case 4:
19
+ return _context.abrupt("return", _context.sent);
20
+ case 5:
21
+ case "end":
22
+ return _context.stop();
23
+ }
24
+ }
25
+ }, _callee);
26
+ }));
27
+ return function fetchStudentAnalyses(_x) {
28
+ return _ref.apply(this, arguments);
29
+ };
30
+ }();
@@ -2,6 +2,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
3
  import Fetcher from "../../common/util/Fetcher.js";
4
4
  import { csvFormat } from "../components/resources/NewQuizAndItemAnalysis/exportFormats.js";
5
+ import { ITEM_ANALYSES } from '@instructure/quiz-common';
5
6
  var getFetcher = function getFetcher(format) {
6
7
  var mimeType = formatsToMimeTypes.get(format);
7
8
  if (!mimeType) {
@@ -21,6 +22,7 @@ var formatsToMimeTypes = new Map().set(csvFormat, 'text/csv');
21
22
  export var getAnalysesExport = /*#__PURE__*/function () {
22
23
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(quizId, format) {
23
24
  var filter,
25
+ analysisType,
24
26
  fetcher,
25
27
  url,
26
28
  _args = arguments;
@@ -29,13 +31,14 @@ export var getAnalysesExport = /*#__PURE__*/function () {
29
31
  switch (_context.prev = _context.next) {
30
32
  case 0:
31
33
  filter = _args.length > 2 && _args[2] !== void 0 ? _args[2] : 'last_attempt';
34
+ analysisType = _args.length > 3 && _args[3] !== void 0 ? _args[3] : ITEM_ANALYSES;
32
35
  fetcher = getFetcher(format);
33
- url = "/api/quizzes/".concat(quizId, "/analyses/export?filter=").concat(filter);
34
- _context.next = 5;
36
+ url = "/api/quizzes/".concat(quizId, "/analyses/export?filter=").concat(filter, "&analysis_type=").concat(analysisType);
37
+ _context.next = 6;
35
38
  return fetcher.get(url);
36
- case 5:
37
- return _context.abrupt("return", _context.sent);
38
39
  case 6:
40
+ return _context.abrupt("return", _context.sent);
41
+ case 7:
39
42
  case "end":
40
43
  return _context.stop();
41
44
  }
@@ -1,10 +1,12 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
3
  import Fetcher from "../../common/util/Fetcher.js";
4
+ import { ITEM_ANALYSES } from '@instructure/quiz-common';
4
5
  var fetcher = new Fetcher();
5
6
  export var getAnalysesStatus = /*#__PURE__*/function () {
6
7
  var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(quizId) {
7
8
  var filter,
9
+ analysisType,
8
10
  url,
9
11
  _args = arguments;
10
12
  return _regeneratorRuntime.wrap(function _callee$(_context) {
@@ -12,12 +14,13 @@ export var getAnalysesStatus = /*#__PURE__*/function () {
12
14
  switch (_context.prev = _context.next) {
13
15
  case 0:
14
16
  filter = _args.length > 1 && _args[1] !== void 0 ? _args[1] : 'last_attempt';
15
- url = "/api/quizzes/".concat(quizId, "/analyses/status?filter=").concat(filter);
16
- _context.next = 4;
17
+ analysisType = _args.length > 2 && _args[2] !== void 0 ? _args[2] : ITEM_ANALYSES;
18
+ url = "/api/quizzes/".concat(quizId, "/analyses/status?filter=").concat(filter, "&analysisType=").concat(analysisType);
19
+ _context.next = 5;
17
20
  return fetcher.get(url);
18
- case 4:
19
- return _context.abrupt("return", _context.sent);
20
21
  case 5:
22
+ return _context.abrupt("return", _context.sent);
23
+ case 6:
21
24
  case "end":
22
25
  return _context.stop();
23
26
  }
@@ -5,7 +5,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
5
  var _dec, _class, _AnalysisMetric;
6
6
  /** @jsx jsx */
7
7
  import { Component } from 'react';
8
- import { getSanitizedMetricValue } from "../utils.js";
8
+ import { getSanitizedMetricValue } from "../../common/utils.js";
9
9
  import { Metric } from '@instructure/ui-metric';
10
10
  import PropTypes from 'prop-types';
11
11
  import { withStyle, jsx } from '@instructure/emotion';
@@ -6,7 +6,7 @@ var _dec, _class, _AnalysisPopoverMetric;
6
6
  /** @jsx jsx */
7
7
  import { Component } from 'react';
8
8
  import { Metric } from '@instructure/ui-metric';
9
- import { getSanitizedMetricValue } from "../utils.js";
9
+ import { getSanitizedMetricValue } from "../../common/utils.js";
10
10
  import MetricPopover from "../MetricPopover/index.js";
11
11
  import { withStyle, jsx } from '@instructure/emotion';
12
12
  import generateStyle from "./styles.js";
@@ -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 'prop-types';
6
- import { onlyAggregatePropType } from "../../propTypes.js";
6
+ import { onlyAggregatePropType } from "../../../common/propTypes.js";
7
7
  import { AfsTableWrapper } from "../shared/AfsTableWrapper/presenter.js";
8
8
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
9
9
  import AggregationTable from "../shared/AggregationTable/index.js";
@@ -4,7 +4,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
4
4
  import React, { Component } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import ChoiceTypeTable from "../shared/ChoiceTypeTable/index.js";
7
- import { choiceTypeAnswerSummaryPropType } from "../../propTypes.js";
7
+ import { choiceTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
8
8
  import AggregationTable from "../shared/AggregationTable/index.js";
9
9
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
10
10
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
@@ -11,7 +11,7 @@ import { withStyle, jsx } from '@instructure/emotion';
11
11
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
12
12
  import PropTypes from 'prop-types';
13
13
  import ChoiceTypeTableRow from "./ChoiceTypeTableRow/index.js";
14
- import { choiceTypeAnswerSummaryPropType } from "../../propTypes.js";
14
+ import { choiceTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
15
15
  import generateStyle from "./styles.js";
16
16
  import generateComponentTheme from "./theme.js";
17
17
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
@@ -5,7 +5,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
5
  import React, { Component } from 'react';
6
6
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
7
7
  import PropTypes from 'prop-types';
8
- import { matchingTypeAnswerSummaryPropType } from "../../propTypes.js";
8
+ import { matchingTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
9
9
  import t from '@instructure/quiz-i18n/es/format-message';
10
10
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
11
11
  import MatchingTypeTable from "./MatchingTypeTable/index.js";
@@ -4,7 +4,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
4
4
  import React, { Component } from 'react';
5
5
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
6
6
  import PropTypes from 'prop-types';
7
- import { matchingTypeAnswerSummaryPropType } from "../../propTypes.js";
7
+ import { matchingTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
8
8
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
9
9
  import MatchingTypeTable from "./MatchingTypeTable/index.js";
10
10
  import AggregationTable from "../shared/AggregationTable/index.js";
@@ -12,7 +12,7 @@ import { Table } from '@instructure/ui-table';
12
12
  import { withStyle, jsx } from '@instructure/emotion';
13
13
  import PropTypes from 'prop-types';
14
14
  import { IconCheckSolid } from '@instructure/ui-icons';
15
- import { matchingTypeAnswerSummaryPropType } from "../../../propTypes.js";
15
+ import { matchingTypeAnswerSummaryPropType } from "../../../../common/propTypes.js";
16
16
  import MatchingTypeOrderer from "../utils/matchingTypeOrderer.js";
17
17
  import { extractTextFromHtml } from '@instructure/quiz-interactions';
18
18
  import generateComponentTheme from "./theme.js";
@@ -5,7 +5,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
5
  import React, { Component } from 'react';
6
6
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
7
7
  import PropTypes from 'prop-types';
8
- import { matchingTypeAnswerSummaryPropType } from "../../propTypes.js";
8
+ import { matchingTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
9
9
  import t from '@instructure/quiz-i18n/es/format-message';
10
10
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
11
11
  import AggregationTable from "../shared/AggregationTable/index.js";
@@ -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 'prop-types';
6
- import { choiceTypeObject } from "../../../propTypes.js";
6
+ import { choiceTypeObject } from "../../../../common/propTypes.js";
7
7
  import { Flex } from '@instructure/ui-flex';
8
8
  import ChoiceTypeTable from "../../shared/ChoiceTypeTable/index.js";
9
9
  import { Text } from '@instructure/ui-text';
@@ -17,7 +17,7 @@ import ChoiceTypeWithInfo from "./ChoiceTypeWithInfo/index.js";
17
17
  import generateStyle from "./styles.js";
18
18
  import generateComponentTheme from "./theme.js";
19
19
  import { Flex } from '@instructure/ui-flex';
20
- import { numericTypeAnswerSummaryPropType } from "../../propTypes.js";
20
+ import { numericTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
21
21
  export var NumericType = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_NumericType = /*#__PURE__*/function (_Component) {
22
22
  _inherits(NumericType, _Component);
23
23
  var _super = _createSuper(NumericType);
@@ -5,7 +5,7 @@ var _dec, _class, _ChoiceGroupTypeTable;
5
5
  /** @jsx jsx */
6
6
  import { Component } from 'react';
7
7
  import PropTypes from 'prop-types';
8
- import { choiceTypeObject } from "../../../propTypes.js";
8
+ import { choiceTypeObject } from "../../../../common/propTypes.js";
9
9
  import { Flex } from '@instructure/ui-flex';
10
10
  import { Text } from '@instructure/ui-text';
11
11
  import t from '@instructure/quiz-i18n/es/format-message';
@@ -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 'prop-types';
6
- import { richFillBlankTypeAnswerSummaryPropType } from "../../propTypes.js";
6
+ import { richFillBlankTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
7
7
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
8
8
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
9
9
  import ChoiceGroupTypeTable from "./ChoiceGroupTypeTable/index.js";
@@ -4,7 +4,7 @@ import _inherits from "@babel/runtime/helpers/esm/inherits";
4
4
  import _createSuper from "@babel/runtime/helpers/esm/createSuper";
5
5
  var _dec, _class, _ScoreDistributionTypeTable;
6
6
  /** @jsx jsx */
7
- import { scoreDistributionType } from "../../../propTypes.js";
7
+ import { scoreDistributionType } from "../../../../common/propTypes.js";
8
8
  import { Component } from 'react';
9
9
  import t from '@instructure/quiz-i18n/es/format-message';
10
10
  import { Table } from '@instructure/ui-table';
@@ -4,7 +4,7 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
4
4
  import React, { Component } from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import ScoreDistributionTypeTable from "./Table/index.js";
7
- import { scoreDistributionTypeAnswerSummaryPropType } from "../../propTypes.js";
7
+ import { scoreDistributionTypeAnswerSummaryPropType } from "../../../common/propTypes.js";
8
8
  import AggregationTable from "../shared/AggregationTable/index.js";
9
9
  import { AfsPartsContainer } from "../shared/AfsPartsContainer/presenter.js";
10
10
  import AfsTableWrapper from "../shared/AfsTableWrapper/index.js";
@@ -10,7 +10,7 @@ import AggregationType from "./AggregationType/index.js";
10
10
  import NumericType from "./NumericType/index.js";
11
11
  import { MatchingType, OrderingType, CategorizationType } from "./MatchingType/index.js";
12
12
  import { ScoreDistributionType } from "./ScoreDistributionType/index.js";
13
- import { afsFlags, answerSummaryPropType } from "../propTypes.js";
13
+ import { afsFlags, answerSummaryPropType } from "../../common/propTypes.js";
14
14
  export var AnswerFrequencySummary = /*#__PURE__*/function (_Component) {
15
15
  _inherits(AnswerFrequencySummary, _Component);
16
16
  var _super = _createSuper(AnswerFrequencySummary);
@@ -6,7 +6,7 @@ var _dec, _class, _AggregationTable;
6
6
  import { Component } from 'react';
7
7
  import t from '@instructure/quiz-i18n/es/format-message';
8
8
  import { Table } from '@instructure/ui-table';
9
- import { onlyAggregatePropType } from "../../../propTypes.js";
9
+ import { onlyAggregatePropType } from "../../../../common/propTypes.js";
10
10
  import PropTypes from 'prop-types';
11
11
  import { IconCheckSolid, IconXSolid, IconNoSolid, IconGradebookSolid } from '@instructure/ui-icons';
12
12
  import { withStyle, jsx } from '@instructure/emotion';
@@ -11,7 +11,7 @@ import { Table } from '@instructure/ui-table';
11
11
  import { withStyle, jsx, css } from '@instructure/emotion';
12
12
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
13
13
  import PropTypes from 'prop-types';
14
- import { choiceTypeObject } from "../../../propTypes.js";
14
+ import { choiceTypeObject } from "../../../../common/propTypes.js";
15
15
  import generateStyle from "./styles.js";
16
16
  import generateComponentTheme from "./theme.js";
17
17
  import { IconCheckSolid, IconXSolid } from '@instructure/ui-icons';
@@ -1,9 +1,14 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import t from '@instructure/quiz-i18n/es/format-message';
4
- import { quizAnalysisPropType } from "../propTypes.js";
4
+ import { quizAnalysisPropType } from "../../common/propTypes.js";
5
5
  import { Text } from '@instructure/ui-text';
6
6
  import { Button } from '@instructure/ui-buttons';
7
+
8
+ /**
9
+ * @deprecated this component is deprecated.
10
+ * Please, use quiz-core/src/reporting/components/resources/common/ExportButton instead.
11
+ */
7
12
  export var ExportButton = function ExportButton(_ref) {
8
13
  var quizAnalysis = _ref.quizAnalysis,
9
14
  generationInProgress = _ref.generationInProgress,
@@ -20,7 +20,7 @@ import AnalysisMetric from "../AnalysisMetric/index.js";
20
20
  import AnalysisPopoverMetric from "../AnalysisPopoverMetric/index.js";
21
21
  import { interactionTypesNameDictionary } from "../../../../../common/util/interactionTypeMetadata.js";
22
22
  import AnswerFrequencySummary from "../AnswerFrequencySummary/index.js";
23
- import { afsFlags, itemAnalysisPropType } from "../propTypes.js";
23
+ import { afsFlags, itemAnalysisPropType } from "../../common/propTypes.js";
24
24
  import { Flex } from '@instructure/ui-flex';
25
25
  import { RichContentRenderer } from '@instructure/quiz-rce';
26
26
  import { ensureRCEContentIsLoaded } from "../../../../../common/util/rceChecker.js";
@@ -16,7 +16,7 @@ import Card from "../../../../../common/components/shared/Card/index.js";
16
16
  import AnalysisPopoverMetric from "../AnalysisPopoverMetric/index.js";
17
17
  import AnalysisMetric from "../AnalysisMetric/index.js";
18
18
  import { ScoreDistribution } from "../charts/ScoreDistribution/presenter.js";
19
- import { quizAnalysisPropType } from "../propTypes.js";
19
+ import { quizAnalysisPropType } from "../../common/propTypes.js";
20
20
  import PropTypes from 'prop-types';
21
21
  import { Spinner } from '@instructure/ui-spinner';
22
22
  import { cronbachsAlpha, standardDeviation } from "./popoverContent.js";
@@ -17,8 +17,8 @@ import generateStyle from "./styles.js";
17
17
  import generateComponentTheme from "./theme.js";
18
18
  import AnalysisMetric from "../AnalysisMetric/index.js";
19
19
  import Spinner from "../../../../../common/components/shared/spinner/Spinner.js";
20
- import { AnalysisUpdateDate } from "../AnalysisUpdateDate/index.js";
21
- import { itemAnalysisPropType, quizAnalysisPropType } from "../propTypes.js";
20
+ import { AnalysisUpdateDate } from "../../common/AnalysisUpdateDate/index.js";
21
+ import { itemAnalysisPropType, quizAnalysisPropType } from "../../common/propTypes.js";
22
22
  import { csvFormat } from "../exportFormats.js";
23
23
  import { ExportButton } from "../ExportButton/index.js";
24
24
  export var NewQuizAndItemAnalysisReportCardPresenter = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_NewQuizAndItemAnalysisReportCardPresenter = /*#__PURE__*/function (_Component) {
@@ -1,7 +1,7 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
3
3
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
4
- import { getFailedToFetchReports, getLastReportGenerationFailed } from "./errorMessages.js";
4
+ import { getFailedToFetchReports, getLastReportGenerationFailed } from "../common/errorMessages.js";
5
5
  export var fetchReports = /*#__PURE__*/function () {
6
6
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
7
7
  var activeQuizId, setFetchInProgress, setQuizAnalysis, setItemAnalyses, setStatusPollingInProgress, setAnalysisError, setGenerationInProgress, addError, fetchQuizAnalysis, fetchItemAnalyses, setAnalysisFetchError, getErrorMessageForCode, _yield$Promise$all, _yield$Promise$all2, quizAnalysis, itemAnalyses, areAnalysesInProgress, areAnalysesFailed, analysisErrorCode;
@@ -1,6 +1,6 @@
1
1
  import _regeneratorRuntime from "@babel/runtime/regenerator";
2
2
  import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
- import { getFailedToFetchReports } from "./errorMessages.js";
3
+ import { getFailedToFetchReports } from "../common/errorMessages.js";
4
4
  export var fetchReportsStatus = /*#__PURE__*/function () {
5
5
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(_ref) {
6
6
  var activeQuizId, addError, fetchAnalysesStatus, instrumentedFetchReports, setStatusPollingInProgress, setGenerationInProgress, status, isReportGenerationReady;
@@ -11,14 +11,14 @@ import NewItemAnalysis from "./NewItemAnalysis/index.js";
11
11
  import NewQuizAnalysis from "./NewQuizAnalysis/index.js";
12
12
  import t from '@instructure/quiz-i18n/es/format-message';
13
13
  import { Flex } from '@instructure/ui-flex';
14
- import { AnalysisUpdateDate } from "./AnalysisUpdateDate/index.js";
15
- import { itemAnalysisPropType, quizAnalysisPropType } from "./propTypes.js";
14
+ import { AnalysisUpdateDate } from "../common/AnalysisUpdateDate/index.js";
15
+ import { itemAnalysisPropType, quizAnalysisPropType } from "../common/propTypes.js";
16
16
  import PropTypes from 'prop-types';
17
17
  import { QuizzesSpinner } from "../../../../common/components/shared/spinner/Spinner.js";
18
18
  import { Spinner } from '@instructure/ui-spinner';
19
19
  import { Button } from '@instructure/ui-buttons';
20
20
  import { Text } from '@instructure/ui-text';
21
- import { getFailedToFetchReports } from "./errorMessages.js";
21
+ import { getFailedToFetchReports } from "../common/errorMessages.js";
22
22
  import { Img } from '@instructure/ui-img';
23
23
  import errorImage from './downForRepair.svg';
24
24
  import { PresentationContent, ScreenReaderContent } from '@instructure/ui-a11y-content';
@@ -11,7 +11,7 @@ import { getActiveQuizId } from "../../../../common/selectors/quizzes.js";
11
11
  import { addError } from "../../../../common/actions/alerts.js";
12
12
  import { featureOn } from "../../../../common/util/featureCheck.js";
13
13
  var DEFAULT_POLLING_INTERVAL = 3000;
14
- export function mapStateToProps(state, ownProps) {
14
+ var mapStateToProps = function mapStateToProps(state, ownProps) {
15
15
  return {
16
16
  quizAnalysis: getQuizAnalysis(state),
17
17
  itemAnalyses: getItemAnalyses(state),
@@ -27,7 +27,7 @@ export function mapStateToProps(state, ownProps) {
27
27
  pollingInterval: ownProps.pollingInterval || DEFAULT_POLLING_INTERVAL,
28
28
  exportEnabled: featureOn('item_analysis_csv')
29
29
  };
30
- }
30
+ };
31
31
  var mapDispatchToProps = function mapDispatchToProps(dispatch, ownProps) {
32
32
  return {
33
33
  setQuizAnalysis: bindActionCreators(setQuizAnalysis, dispatch),
@@ -4,13 +4,13 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
5
5
  import React, { useEffect, useState } from 'react';
6
6
  import PropTypes from 'prop-types';
7
- import { itemAnalysisPropType, quizAnalysisPropType } from "./propTypes.js";
7
+ import { itemAnalysisPropType, quizAnalysisPropType } from "../common/propTypes.js";
8
8
  import { fetchReports } from "./fetchReports.js";
9
9
  import { fetchReportsStatus } from "./fetchReportsStatus.js";
10
- import { getErrorMessageForCode } from "./errorCodes.js";
11
- import { generateReports as triggerReportGeneration } from "./generateReports.js";
12
- import { exportReports as triggerExportReports } from "./exportReports.js";
13
- import { saveFile } from "./utils.js";
10
+ import { getErrorMessageForCode } from "../common/errorCodes.js";
11
+ import { generateReports as triggerReportGeneration } from "../common/generateReports.js";
12
+ import { exportReports as triggerExportReports } from "../common/exportReports.js";
13
+ import { saveFile } from "../common/utils.js";
14
14
  export var withAnalysisStatePresenter = function withAnalysisStatePresenter(OriginalComponent) {
15
15
  var WithAnalysisStatePresenter = function WithAnalysisStatePresenter(_ref) {
16
16
  var quizAnalysis = _ref.quizAnalysis,
@@ -0,0 +1,3 @@
1
+ import { StudentAnalysisReportCardPresenter } from "./presenter.js";
2
+ import withStudentAnalysisReportState from "../withStudentAnalysisReportState.js";
3
+ export var StudentAnalysisReportCard = withStudentAnalysisReportState(StudentAnalysisReportCardPresenter);