@instructure/outcomes-ui 2.1.6 → 2.1.8

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 (961) hide show
  1. package/es/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  2. package/es/components/OutcomeView/__tests__/index.test.js +5 -0
  3. package/es/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  4. package/es/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  5. package/es/components/OutcomesPerStudent/index.js +11 -3
  6. package/es/constants.js +1 -0
  7. package/es/containers/ConnectedOutcomesPerStudent.js +3 -2
  8. package/es/hooks/useCSVExport.js +1 -1
  9. package/es/store/report/__tests__/actions.test.js +22 -1
  10. package/es/store/report/__tests__/reducers.test.js +74 -5
  11. package/es/store/report/actions.js +12 -6
  12. package/es/store/report/reducers.js +38 -17
  13. package/es/translated/ar/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  14. package/es/translated/ar/components/OutcomeView/__tests__/index.test.js +5 -0
  15. package/es/translated/ar/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  16. package/es/translated/ar/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  17. package/es/translated/ar/components/OutcomesPerStudent/index.js +11 -3
  18. package/es/translated/ar/constants.js +1 -0
  19. package/es/translated/ar/containers/ConnectedOutcomesPerStudent.js +3 -2
  20. package/es/translated/ar/hooks/useCSVExport.js +1 -1
  21. package/es/translated/ar/store/report/__tests__/actions.test.js +22 -1
  22. package/es/translated/ar/store/report/__tests__/reducers.test.js +74 -5
  23. package/es/translated/ar/store/report/actions.js +12 -6
  24. package/es/translated/ar/store/report/reducers.js +38 -17
  25. package/es/translated/ca/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  26. package/es/translated/ca/components/OutcomeView/__tests__/index.test.js +5 -0
  27. package/es/translated/ca/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  28. package/es/translated/ca/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  29. package/es/translated/ca/components/OutcomesPerStudent/index.js +11 -3
  30. package/es/translated/ca/constants.js +1 -0
  31. package/es/translated/ca/containers/ConnectedOutcomesPerStudent.js +3 -2
  32. package/es/translated/ca/hooks/useCSVExport.js +1 -1
  33. package/es/translated/ca/store/report/__tests__/actions.test.js +22 -1
  34. package/es/translated/ca/store/report/__tests__/reducers.test.js +74 -5
  35. package/es/translated/ca/store/report/actions.js +12 -6
  36. package/es/translated/ca/store/report/reducers.js +38 -17
  37. package/es/translated/cy/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  38. package/es/translated/cy/components/OutcomeView/__tests__/index.test.js +5 -0
  39. package/es/translated/cy/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  40. package/es/translated/cy/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  41. package/es/translated/cy/components/OutcomesPerStudent/index.js +11 -3
  42. package/es/translated/cy/constants.js +1 -0
  43. package/es/translated/cy/containers/ConnectedOutcomesPerStudent.js +3 -2
  44. package/es/translated/cy/hooks/useCSVExport.js +1 -1
  45. package/es/translated/cy/store/report/__tests__/actions.test.js +22 -1
  46. package/es/translated/cy/store/report/__tests__/reducers.test.js +74 -5
  47. package/es/translated/cy/store/report/actions.js +12 -6
  48. package/es/translated/cy/store/report/reducers.js +38 -17
  49. package/es/translated/da/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  50. package/es/translated/da/components/OutcomeView/__tests__/index.test.js +5 -0
  51. package/es/translated/da/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  52. package/es/translated/da/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  53. package/es/translated/da/components/OutcomesPerStudent/index.js +11 -3
  54. package/es/translated/da/constants.js +1 -0
  55. package/es/translated/da/containers/ConnectedOutcomesPerStudent.js +3 -2
  56. package/es/translated/da/hooks/useCSVExport.js +1 -1
  57. package/es/translated/da/store/report/__tests__/actions.test.js +22 -1
  58. package/es/translated/da/store/report/__tests__/reducers.test.js +74 -5
  59. package/es/translated/da/store/report/actions.js +12 -6
  60. package/es/translated/da/store/report/reducers.js +38 -17
  61. package/es/translated/da-x-k12/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  62. package/es/translated/da-x-k12/components/OutcomeView/__tests__/index.test.js +5 -0
  63. package/es/translated/da-x-k12/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  64. package/es/translated/da-x-k12/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  65. package/es/translated/da-x-k12/components/OutcomesPerStudent/index.js +11 -3
  66. package/es/translated/da-x-k12/constants.js +1 -0
  67. package/es/translated/da-x-k12/containers/ConnectedOutcomesPerStudent.js +3 -2
  68. package/es/translated/da-x-k12/hooks/useCSVExport.js +1 -1
  69. package/es/translated/da-x-k12/store/report/__tests__/actions.test.js +22 -1
  70. package/es/translated/da-x-k12/store/report/__tests__/reducers.test.js +74 -5
  71. package/es/translated/da-x-k12/store/report/actions.js +12 -6
  72. package/es/translated/da-x-k12/store/report/reducers.js +38 -17
  73. package/es/translated/de/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  74. package/es/translated/de/components/OutcomeView/__tests__/index.test.js +5 -0
  75. package/es/translated/de/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  76. package/es/translated/de/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  77. package/es/translated/de/components/OutcomesPerStudent/index.js +11 -3
  78. package/es/translated/de/constants.js +1 -0
  79. package/es/translated/de/containers/ConnectedOutcomesPerStudent.js +3 -2
  80. package/es/translated/de/hooks/useCSVExport.js +1 -1
  81. package/es/translated/de/store/report/__tests__/actions.test.js +22 -1
  82. package/es/translated/de/store/report/__tests__/reducers.test.js +74 -5
  83. package/es/translated/de/store/report/actions.js +12 -6
  84. package/es/translated/de/store/report/reducers.js +38 -17
  85. package/es/translated/en/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  86. package/es/translated/en/components/OutcomeView/__tests__/index.test.js +5 -0
  87. package/es/translated/en/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  88. package/es/translated/en/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  89. package/es/translated/en/components/OutcomesPerStudent/index.js +11 -3
  90. package/es/translated/en/constants.js +1 -0
  91. package/es/translated/en/containers/ConnectedOutcomesPerStudent.js +3 -2
  92. package/es/translated/en/hooks/useCSVExport.js +1 -1
  93. package/es/translated/en/store/report/__tests__/actions.test.js +22 -1
  94. package/es/translated/en/store/report/__tests__/reducers.test.js +74 -5
  95. package/es/translated/en/store/report/actions.js +12 -6
  96. package/es/translated/en/store/report/reducers.js +38 -17
  97. package/es/translated/en-AU/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  98. package/es/translated/en-AU/components/OutcomeView/__tests__/index.test.js +5 -0
  99. package/es/translated/en-AU/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  100. package/es/translated/en-AU/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  101. package/es/translated/en-AU/components/OutcomesPerStudent/index.js +11 -3
  102. package/es/translated/en-AU/constants.js +1 -0
  103. package/es/translated/en-AU/containers/ConnectedOutcomesPerStudent.js +3 -2
  104. package/es/translated/en-AU/hooks/useCSVExport.js +1 -1
  105. package/es/translated/en-AU/store/report/__tests__/actions.test.js +22 -1
  106. package/es/translated/en-AU/store/report/__tests__/reducers.test.js +74 -5
  107. package/es/translated/en-AU/store/report/actions.js +12 -6
  108. package/es/translated/en-AU/store/report/reducers.js +38 -17
  109. package/es/translated/en-AU-x-unimelb/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  110. package/es/translated/en-AU-x-unimelb/components/OutcomeView/__tests__/index.test.js +5 -0
  111. package/es/translated/en-AU-x-unimelb/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  112. package/es/translated/en-AU-x-unimelb/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  113. package/es/translated/en-AU-x-unimelb/components/OutcomesPerStudent/index.js +11 -3
  114. package/es/translated/en-AU-x-unimelb/constants.js +1 -0
  115. package/es/translated/en-AU-x-unimelb/containers/ConnectedOutcomesPerStudent.js +3 -2
  116. package/es/translated/en-AU-x-unimelb/hooks/useCSVExport.js +1 -1
  117. package/es/translated/en-AU-x-unimelb/store/report/__tests__/actions.test.js +22 -1
  118. package/es/translated/en-AU-x-unimelb/store/report/__tests__/reducers.test.js +74 -5
  119. package/es/translated/en-AU-x-unimelb/store/report/actions.js +12 -6
  120. package/es/translated/en-AU-x-unimelb/store/report/reducers.js +38 -17
  121. package/es/translated/en-CA/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  122. package/es/translated/en-CA/components/OutcomeView/__tests__/index.test.js +5 -0
  123. package/es/translated/en-CA/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  124. package/es/translated/en-CA/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  125. package/es/translated/en-CA/components/OutcomesPerStudent/index.js +11 -3
  126. package/es/translated/en-CA/constants.js +1 -0
  127. package/es/translated/en-CA/containers/ConnectedOutcomesPerStudent.js +3 -2
  128. package/es/translated/en-CA/hooks/useCSVExport.js +1 -1
  129. package/es/translated/en-CA/store/report/__tests__/actions.test.js +22 -1
  130. package/es/translated/en-CA/store/report/__tests__/reducers.test.js +74 -5
  131. package/es/translated/en-CA/store/report/actions.js +12 -6
  132. package/es/translated/en-CA/store/report/reducers.js +38 -17
  133. package/es/translated/en-CY/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  134. package/es/translated/en-CY/components/OutcomeView/__tests__/index.test.js +5 -0
  135. package/es/translated/en-CY/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  136. package/es/translated/en-CY/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  137. package/es/translated/en-CY/components/OutcomesPerStudent/index.js +11 -3
  138. package/es/translated/en-CY/constants.js +1 -0
  139. package/es/translated/en-CY/containers/ConnectedOutcomesPerStudent.js +3 -2
  140. package/es/translated/en-CY/hooks/useCSVExport.js +1 -1
  141. package/es/translated/en-CY/store/report/__tests__/actions.test.js +22 -1
  142. package/es/translated/en-CY/store/report/__tests__/reducers.test.js +74 -5
  143. package/es/translated/en-CY/store/report/actions.js +12 -6
  144. package/es/translated/en-CY/store/report/reducers.js +38 -17
  145. package/es/translated/en-GB/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  146. package/es/translated/en-GB/components/OutcomeView/__tests__/index.test.js +5 -0
  147. package/es/translated/en-GB/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  148. package/es/translated/en-GB/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  149. package/es/translated/en-GB/components/OutcomesPerStudent/index.js +11 -3
  150. package/es/translated/en-GB/constants.js +1 -0
  151. package/es/translated/en-GB/containers/ConnectedOutcomesPerStudent.js +3 -2
  152. package/es/translated/en-GB/hooks/useCSVExport.js +1 -1
  153. package/es/translated/en-GB/store/report/__tests__/actions.test.js +22 -1
  154. package/es/translated/en-GB/store/report/__tests__/reducers.test.js +74 -5
  155. package/es/translated/en-GB/store/report/actions.js +12 -6
  156. package/es/translated/en-GB/store/report/reducers.js +38 -17
  157. package/es/translated/en-GB-x-ukhe/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  158. package/es/translated/en-GB-x-ukhe/components/OutcomeView/__tests__/index.test.js +5 -0
  159. package/es/translated/en-GB-x-ukhe/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  160. package/es/translated/en-GB-x-ukhe/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  161. package/es/translated/en-GB-x-ukhe/components/OutcomesPerStudent/index.js +11 -3
  162. package/es/translated/en-GB-x-ukhe/constants.js +1 -0
  163. package/es/translated/en-GB-x-ukhe/containers/ConnectedOutcomesPerStudent.js +3 -2
  164. package/es/translated/en-GB-x-ukhe/hooks/useCSVExport.js +1 -1
  165. package/es/translated/en-GB-x-ukhe/store/report/__tests__/actions.test.js +22 -1
  166. package/es/translated/en-GB-x-ukhe/store/report/__tests__/reducers.test.js +74 -5
  167. package/es/translated/en-GB-x-ukhe/store/report/actions.js +12 -6
  168. package/es/translated/en-GB-x-ukhe/store/report/reducers.js +38 -17
  169. package/es/translated/en-IE/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  170. package/es/translated/en-IE/components/OutcomeView/__tests__/index.test.js +5 -0
  171. package/es/translated/en-IE/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  172. package/es/translated/en-IE/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  173. package/es/translated/en-IE/components/OutcomesPerStudent/index.js +11 -3
  174. package/es/translated/en-IE/constants.js +1 -0
  175. package/es/translated/en-IE/containers/ConnectedOutcomesPerStudent.js +3 -2
  176. package/es/translated/en-IE/hooks/useCSVExport.js +1 -1
  177. package/es/translated/en-IE/store/report/__tests__/actions.test.js +22 -1
  178. package/es/translated/en-IE/store/report/__tests__/reducers.test.js +74 -5
  179. package/es/translated/en-IE/store/report/actions.js +12 -6
  180. package/es/translated/en-IE/store/report/reducers.js +38 -17
  181. package/es/translated/es/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  182. package/es/translated/es/components/OutcomeView/__tests__/index.test.js +5 -0
  183. package/es/translated/es/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  184. package/es/translated/es/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  185. package/es/translated/es/components/OutcomesPerStudent/index.js +11 -3
  186. package/es/translated/es/constants.js +1 -0
  187. package/es/translated/es/containers/ConnectedOutcomesPerStudent.js +3 -2
  188. package/es/translated/es/hooks/useCSVExport.js +1 -1
  189. package/es/translated/es/store/report/__tests__/actions.test.js +22 -1
  190. package/es/translated/es/store/report/__tests__/reducers.test.js +74 -5
  191. package/es/translated/es/store/report/actions.js +12 -6
  192. package/es/translated/es/store/report/reducers.js +38 -17
  193. package/es/translated/es-ES/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  194. package/es/translated/es-ES/components/OutcomeView/__tests__/index.test.js +5 -0
  195. package/es/translated/es-ES/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  196. package/es/translated/es-ES/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  197. package/es/translated/es-ES/components/OutcomesPerStudent/index.js +11 -3
  198. package/es/translated/es-ES/constants.js +1 -0
  199. package/es/translated/es-ES/containers/ConnectedOutcomesPerStudent.js +3 -2
  200. package/es/translated/es-ES/hooks/useCSVExport.js +1 -1
  201. package/es/translated/es-ES/store/report/__tests__/actions.test.js +22 -1
  202. package/es/translated/es-ES/store/report/__tests__/reducers.test.js +74 -5
  203. package/es/translated/es-ES/store/report/actions.js +12 -6
  204. package/es/translated/es-ES/store/report/reducers.js +38 -17
  205. package/es/translated/es_ES/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  206. package/es/translated/es_ES/components/OutcomeView/__tests__/index.test.js +5 -0
  207. package/es/translated/es_ES/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  208. package/es/translated/es_ES/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  209. package/es/translated/es_ES/components/OutcomesPerStudent/index.js +11 -3
  210. package/es/translated/es_ES/constants.js +1 -0
  211. package/es/translated/es_ES/containers/ConnectedOutcomesPerStudent.js +3 -2
  212. package/es/translated/es_ES/hooks/useCSVExport.js +1 -1
  213. package/es/translated/es_ES/store/report/__tests__/actions.test.js +22 -1
  214. package/es/translated/es_ES/store/report/__tests__/reducers.test.js +74 -5
  215. package/es/translated/es_ES/store/report/actions.js +12 -6
  216. package/es/translated/es_ES/store/report/reducers.js +38 -17
  217. package/es/translated/fi/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  218. package/es/translated/fi/components/OutcomeView/__tests__/index.test.js +5 -0
  219. package/es/translated/fi/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  220. package/es/translated/fi/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  221. package/es/translated/fi/components/OutcomesPerStudent/index.js +11 -3
  222. package/es/translated/fi/constants.js +1 -0
  223. package/es/translated/fi/containers/ConnectedOutcomesPerStudent.js +3 -2
  224. package/es/translated/fi/hooks/useCSVExport.js +1 -1
  225. package/es/translated/fi/store/report/__tests__/actions.test.js +22 -1
  226. package/es/translated/fi/store/report/__tests__/reducers.test.js +74 -5
  227. package/es/translated/fi/store/report/actions.js +12 -6
  228. package/es/translated/fi/store/report/reducers.js +38 -17
  229. package/es/translated/fr/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  230. package/es/translated/fr/components/OutcomeView/__tests__/index.test.js +5 -0
  231. package/es/translated/fr/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  232. package/es/translated/fr/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  233. package/es/translated/fr/components/OutcomesPerStudent/index.js +11 -3
  234. package/es/translated/fr/constants.js +1 -0
  235. package/es/translated/fr/containers/ConnectedOutcomesPerStudent.js +3 -2
  236. package/es/translated/fr/hooks/useCSVExport.js +1 -1
  237. package/es/translated/fr/store/report/__tests__/actions.test.js +22 -1
  238. package/es/translated/fr/store/report/__tests__/reducers.test.js +74 -5
  239. package/es/translated/fr/store/report/actions.js +12 -6
  240. package/es/translated/fr/store/report/reducers.js +38 -17
  241. package/es/translated/fr-CA/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  242. package/es/translated/fr-CA/components/OutcomeView/__tests__/index.test.js +5 -0
  243. package/es/translated/fr-CA/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  244. package/es/translated/fr-CA/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  245. package/es/translated/fr-CA/components/OutcomesPerStudent/index.js +11 -3
  246. package/es/translated/fr-CA/constants.js +1 -0
  247. package/es/translated/fr-CA/containers/ConnectedOutcomesPerStudent.js +3 -2
  248. package/es/translated/fr-CA/hooks/useCSVExport.js +1 -1
  249. package/es/translated/fr-CA/store/report/__tests__/actions.test.js +22 -1
  250. package/es/translated/fr-CA/store/report/__tests__/reducers.test.js +74 -5
  251. package/es/translated/fr-CA/store/report/actions.js +12 -6
  252. package/es/translated/fr-CA/store/report/reducers.js +38 -17
  253. package/es/translated/ht/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  254. package/es/translated/ht/components/OutcomeView/__tests__/index.test.js +5 -0
  255. package/es/translated/ht/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  256. package/es/translated/ht/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  257. package/es/translated/ht/components/OutcomesPerStudent/index.js +11 -3
  258. package/es/translated/ht/constants.js +1 -0
  259. package/es/translated/ht/containers/ConnectedOutcomesPerStudent.js +3 -2
  260. package/es/translated/ht/hooks/useCSVExport.js +1 -1
  261. package/es/translated/ht/store/report/__tests__/actions.test.js +22 -1
  262. package/es/translated/ht/store/report/__tests__/reducers.test.js +74 -5
  263. package/es/translated/ht/store/report/actions.js +12 -6
  264. package/es/translated/ht/store/report/reducers.js +38 -17
  265. package/es/translated/is/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  266. package/es/translated/is/components/OutcomeView/__tests__/index.test.js +5 -0
  267. package/es/translated/is/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  268. package/es/translated/is/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  269. package/es/translated/is/components/OutcomesPerStudent/index.js +11 -3
  270. package/es/translated/is/constants.js +1 -0
  271. package/es/translated/is/containers/ConnectedOutcomesPerStudent.js +3 -2
  272. package/es/translated/is/hooks/useCSVExport.js +1 -1
  273. package/es/translated/is/store/report/__tests__/actions.test.js +22 -1
  274. package/es/translated/is/store/report/__tests__/reducers.test.js +74 -5
  275. package/es/translated/is/store/report/actions.js +12 -6
  276. package/es/translated/is/store/report/reducers.js +38 -17
  277. package/es/translated/it/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  278. package/es/translated/it/components/OutcomeView/__tests__/index.test.js +5 -0
  279. package/es/translated/it/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  280. package/es/translated/it/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  281. package/es/translated/it/components/OutcomesPerStudent/index.js +11 -3
  282. package/es/translated/it/constants.js +1 -0
  283. package/es/translated/it/containers/ConnectedOutcomesPerStudent.js +3 -2
  284. package/es/translated/it/hooks/useCSVExport.js +1 -1
  285. package/es/translated/it/store/report/__tests__/actions.test.js +22 -1
  286. package/es/translated/it/store/report/__tests__/reducers.test.js +74 -5
  287. package/es/translated/it/store/report/actions.js +12 -6
  288. package/es/translated/it/store/report/reducers.js +38 -17
  289. package/es/translated/ja/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  290. package/es/translated/ja/components/OutcomeView/__tests__/index.test.js +5 -0
  291. package/es/translated/ja/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  292. package/es/translated/ja/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  293. package/es/translated/ja/components/OutcomesPerStudent/index.js +11 -3
  294. package/es/translated/ja/constants.js +1 -0
  295. package/es/translated/ja/containers/ConnectedOutcomesPerStudent.js +3 -2
  296. package/es/translated/ja/hooks/useCSVExport.js +1 -1
  297. package/es/translated/ja/store/report/__tests__/actions.test.js +22 -1
  298. package/es/translated/ja/store/report/__tests__/reducers.test.js +74 -5
  299. package/es/translated/ja/store/report/actions.js +12 -6
  300. package/es/translated/ja/store/report/reducers.js +38 -17
  301. package/es/translated/mi/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  302. package/es/translated/mi/components/OutcomeView/__tests__/index.test.js +5 -0
  303. package/es/translated/mi/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  304. package/es/translated/mi/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  305. package/es/translated/mi/components/OutcomesPerStudent/index.js +11 -3
  306. package/es/translated/mi/constants.js +1 -0
  307. package/es/translated/mi/containers/ConnectedOutcomesPerStudent.js +3 -2
  308. package/es/translated/mi/hooks/useCSVExport.js +1 -1
  309. package/es/translated/mi/store/report/__tests__/actions.test.js +22 -1
  310. package/es/translated/mi/store/report/__tests__/reducers.test.js +74 -5
  311. package/es/translated/mi/store/report/actions.js +12 -6
  312. package/es/translated/mi/store/report/reducers.js +38 -17
  313. package/es/translated/nb/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  314. package/es/translated/nb/components/OutcomeView/__tests__/index.test.js +5 -0
  315. package/es/translated/nb/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  316. package/es/translated/nb/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  317. package/es/translated/nb/components/OutcomesPerStudent/index.js +11 -3
  318. package/es/translated/nb/constants.js +1 -0
  319. package/es/translated/nb/containers/ConnectedOutcomesPerStudent.js +3 -2
  320. package/es/translated/nb/hooks/useCSVExport.js +1 -1
  321. package/es/translated/nb/store/report/__tests__/actions.test.js +22 -1
  322. package/es/translated/nb/store/report/__tests__/reducers.test.js +74 -5
  323. package/es/translated/nb/store/report/actions.js +12 -6
  324. package/es/translated/nb/store/report/reducers.js +38 -17
  325. package/es/translated/nb-x-k12/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  326. package/es/translated/nb-x-k12/components/OutcomeView/__tests__/index.test.js +5 -0
  327. package/es/translated/nb-x-k12/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  328. package/es/translated/nb-x-k12/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  329. package/es/translated/nb-x-k12/components/OutcomesPerStudent/index.js +11 -3
  330. package/es/translated/nb-x-k12/constants.js +1 -0
  331. package/es/translated/nb-x-k12/containers/ConnectedOutcomesPerStudent.js +3 -2
  332. package/es/translated/nb-x-k12/hooks/useCSVExport.js +1 -1
  333. package/es/translated/nb-x-k12/store/report/__tests__/actions.test.js +22 -1
  334. package/es/translated/nb-x-k12/store/report/__tests__/reducers.test.js +74 -5
  335. package/es/translated/nb-x-k12/store/report/actions.js +12 -6
  336. package/es/translated/nb-x-k12/store/report/reducers.js +38 -17
  337. package/es/translated/nl/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  338. package/es/translated/nl/components/OutcomeView/__tests__/index.test.js +5 -0
  339. package/es/translated/nl/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  340. package/es/translated/nl/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  341. package/es/translated/nl/components/OutcomesPerStudent/index.js +11 -3
  342. package/es/translated/nl/constants.js +1 -0
  343. package/es/translated/nl/containers/ConnectedOutcomesPerStudent.js +3 -2
  344. package/es/translated/nl/hooks/useCSVExport.js +1 -1
  345. package/es/translated/nl/store/report/__tests__/actions.test.js +22 -1
  346. package/es/translated/nl/store/report/__tests__/reducers.test.js +74 -5
  347. package/es/translated/nl/store/report/actions.js +12 -6
  348. package/es/translated/nl/store/report/reducers.js +38 -17
  349. package/es/translated/pl/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  350. package/es/translated/pl/components/OutcomeView/__tests__/index.test.js +5 -0
  351. package/es/translated/pl/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  352. package/es/translated/pl/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  353. package/es/translated/pl/components/OutcomesPerStudent/index.js +11 -3
  354. package/es/translated/pl/constants.js +1 -0
  355. package/es/translated/pl/containers/ConnectedOutcomesPerStudent.js +3 -2
  356. package/es/translated/pl/hooks/useCSVExport.js +1 -1
  357. package/es/translated/pl/store/report/__tests__/actions.test.js +22 -1
  358. package/es/translated/pl/store/report/__tests__/reducers.test.js +74 -5
  359. package/es/translated/pl/store/report/actions.js +12 -6
  360. package/es/translated/pl/store/report/reducers.js +38 -17
  361. package/es/translated/pt/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  362. package/es/translated/pt/components/OutcomeView/__tests__/index.test.js +5 -0
  363. package/es/translated/pt/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  364. package/es/translated/pt/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  365. package/es/translated/pt/components/OutcomesPerStudent/index.js +11 -3
  366. package/es/translated/pt/constants.js +1 -0
  367. package/es/translated/pt/containers/ConnectedOutcomesPerStudent.js +3 -2
  368. package/es/translated/pt/hooks/useCSVExport.js +1 -1
  369. package/es/translated/pt/store/report/__tests__/actions.test.js +22 -1
  370. package/es/translated/pt/store/report/__tests__/reducers.test.js +74 -5
  371. package/es/translated/pt/store/report/actions.js +12 -6
  372. package/es/translated/pt/store/report/reducers.js +38 -17
  373. package/es/translated/pt-BR/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  374. package/es/translated/pt-BR/components/OutcomeView/__tests__/index.test.js +5 -0
  375. package/es/translated/pt-BR/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  376. package/es/translated/pt-BR/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  377. package/es/translated/pt-BR/components/OutcomesPerStudent/index.js +11 -3
  378. package/es/translated/pt-BR/constants.js +1 -0
  379. package/es/translated/pt-BR/containers/ConnectedOutcomesPerStudent.js +3 -2
  380. package/es/translated/pt-BR/hooks/useCSVExport.js +1 -1
  381. package/es/translated/pt-BR/store/report/__tests__/actions.test.js +22 -1
  382. package/es/translated/pt-BR/store/report/__tests__/reducers.test.js +74 -5
  383. package/es/translated/pt-BR/store/report/actions.js +12 -6
  384. package/es/translated/pt-BR/store/report/reducers.js +38 -17
  385. package/es/translated/ru/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  386. package/es/translated/ru/components/OutcomeView/__tests__/index.test.js +5 -0
  387. package/es/translated/ru/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  388. package/es/translated/ru/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  389. package/es/translated/ru/components/OutcomesPerStudent/index.js +11 -3
  390. package/es/translated/ru/constants.js +1 -0
  391. package/es/translated/ru/containers/ConnectedOutcomesPerStudent.js +3 -2
  392. package/es/translated/ru/hooks/useCSVExport.js +1 -1
  393. package/es/translated/ru/store/report/__tests__/actions.test.js +22 -1
  394. package/es/translated/ru/store/report/__tests__/reducers.test.js +74 -5
  395. package/es/translated/ru/store/report/actions.js +12 -6
  396. package/es/translated/ru/store/report/reducers.js +38 -17
  397. package/es/translated/sl/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  398. package/es/translated/sl/components/OutcomeView/__tests__/index.test.js +5 -0
  399. package/es/translated/sl/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  400. package/es/translated/sl/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  401. package/es/translated/sl/components/OutcomesPerStudent/index.js +11 -3
  402. package/es/translated/sl/constants.js +1 -0
  403. package/es/translated/sl/containers/ConnectedOutcomesPerStudent.js +3 -2
  404. package/es/translated/sl/hooks/useCSVExport.js +1 -1
  405. package/es/translated/sl/store/report/__tests__/actions.test.js +22 -1
  406. package/es/translated/sl/store/report/__tests__/reducers.test.js +74 -5
  407. package/es/translated/sl/store/report/actions.js +12 -6
  408. package/es/translated/sl/store/report/reducers.js +38 -17
  409. package/es/translated/sv/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  410. package/es/translated/sv/components/OutcomeView/__tests__/index.test.js +5 -0
  411. package/es/translated/sv/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  412. package/es/translated/sv/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  413. package/es/translated/sv/components/OutcomesPerStudent/index.js +11 -3
  414. package/es/translated/sv/constants.js +1 -0
  415. package/es/translated/sv/containers/ConnectedOutcomesPerStudent.js +3 -2
  416. package/es/translated/sv/hooks/useCSVExport.js +1 -1
  417. package/es/translated/sv/store/report/__tests__/actions.test.js +22 -1
  418. package/es/translated/sv/store/report/__tests__/reducers.test.js +74 -5
  419. package/es/translated/sv/store/report/actions.js +12 -6
  420. package/es/translated/sv/store/report/reducers.js +38 -17
  421. package/es/translated/sv-x-k12/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  422. package/es/translated/sv-x-k12/components/OutcomeView/__tests__/index.test.js +5 -0
  423. package/es/translated/sv-x-k12/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  424. package/es/translated/sv-x-k12/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  425. package/es/translated/sv-x-k12/components/OutcomesPerStudent/index.js +11 -3
  426. package/es/translated/sv-x-k12/constants.js +1 -0
  427. package/es/translated/sv-x-k12/containers/ConnectedOutcomesPerStudent.js +3 -2
  428. package/es/translated/sv-x-k12/hooks/useCSVExport.js +1 -1
  429. package/es/translated/sv-x-k12/store/report/__tests__/actions.test.js +22 -1
  430. package/es/translated/sv-x-k12/store/report/__tests__/reducers.test.js +74 -5
  431. package/es/translated/sv-x-k12/store/report/actions.js +12 -6
  432. package/es/translated/sv-x-k12/store/report/reducers.js +38 -17
  433. package/es/translated/th/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  434. package/es/translated/th/components/OutcomeView/__tests__/index.test.js +5 -0
  435. package/es/translated/th/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  436. package/es/translated/th/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  437. package/es/translated/th/components/OutcomesPerStudent/index.js +11 -3
  438. package/es/translated/th/constants.js +1 -0
  439. package/es/translated/th/containers/ConnectedOutcomesPerStudent.js +3 -2
  440. package/es/translated/th/hooks/useCSVExport.js +1 -1
  441. package/es/translated/th/store/report/__tests__/actions.test.js +22 -1
  442. package/es/translated/th/store/report/__tests__/reducers.test.js +74 -5
  443. package/es/translated/th/store/report/actions.js +12 -6
  444. package/es/translated/th/store/report/reducers.js +38 -17
  445. package/es/translated/vi/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  446. package/es/translated/vi/components/OutcomeView/__tests__/index.test.js +5 -0
  447. package/es/translated/vi/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  448. package/es/translated/vi/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  449. package/es/translated/vi/components/OutcomesPerStudent/index.js +11 -3
  450. package/es/translated/vi/constants.js +1 -0
  451. package/es/translated/vi/containers/ConnectedOutcomesPerStudent.js +3 -2
  452. package/es/translated/vi/hooks/useCSVExport.js +1 -1
  453. package/es/translated/vi/store/report/__tests__/actions.test.js +22 -1
  454. package/es/translated/vi/store/report/__tests__/reducers.test.js +74 -5
  455. package/es/translated/vi/store/report/actions.js +12 -6
  456. package/es/translated/vi/store/report/reducers.js +38 -17
  457. package/es/translated/zh-Hans/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  458. package/es/translated/zh-Hans/components/OutcomeView/__tests__/index.test.js +5 -0
  459. package/es/translated/zh-Hans/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  460. package/es/translated/zh-Hans/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  461. package/es/translated/zh-Hans/components/OutcomesPerStudent/index.js +11 -3
  462. package/es/translated/zh-Hans/constants.js +1 -0
  463. package/es/translated/zh-Hans/containers/ConnectedOutcomesPerStudent.js +3 -2
  464. package/es/translated/zh-Hans/hooks/useCSVExport.js +1 -1
  465. package/es/translated/zh-Hans/store/report/__tests__/actions.test.js +22 -1
  466. package/es/translated/zh-Hans/store/report/__tests__/reducers.test.js +74 -5
  467. package/es/translated/zh-Hans/store/report/actions.js +12 -6
  468. package/es/translated/zh-Hans/store/report/reducers.js +38 -17
  469. package/es/translated/zh-Hant/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  470. package/es/translated/zh-Hant/components/OutcomeView/__tests__/index.test.js +5 -0
  471. package/es/translated/zh-Hant/components/OutcomesPerStudent/ExportCSVButton/index.js +22 -4
  472. package/es/translated/zh-Hant/components/OutcomesPerStudent/__tests__/index.test.js +9 -1
  473. package/es/translated/zh-Hant/components/OutcomesPerStudent/index.js +11 -3
  474. package/es/translated/zh-Hant/constants.js +1 -0
  475. package/es/translated/zh-Hant/containers/ConnectedOutcomesPerStudent.js +3 -2
  476. package/es/translated/zh-Hant/hooks/useCSVExport.js +1 -1
  477. package/es/translated/zh-Hant/store/report/__tests__/actions.test.js +22 -1
  478. package/es/translated/zh-Hant/store/report/__tests__/reducers.test.js +74 -5
  479. package/es/translated/zh-Hant/store/report/actions.js +12 -6
  480. package/es/translated/zh-Hant/store/report/reducers.js +38 -17
  481. package/lib/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  482. package/lib/components/OutcomeView/__tests__/index.test.js +5 -0
  483. package/lib/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  484. package/lib/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  485. package/lib/components/OutcomesPerStudent/index.js +11 -3
  486. package/lib/constants.js +3 -1
  487. package/lib/containers/ConnectedOutcomesPerStudent.js +2 -1
  488. package/lib/hooks/useCSVExport.js +1 -1
  489. package/lib/store/report/__tests__/actions.test.js +21 -0
  490. package/lib/store/report/__tests__/reducers.test.js +74 -4
  491. package/lib/store/report/actions.js +20 -10
  492. package/lib/store/report/reducers.js +36 -16
  493. package/lib/translated/ar/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  494. package/lib/translated/ar/components/OutcomeView/__tests__/index.test.js +5 -0
  495. package/lib/translated/ar/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  496. package/lib/translated/ar/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  497. package/lib/translated/ar/components/OutcomesPerStudent/index.js +11 -3
  498. package/lib/translated/ar/constants.js +3 -1
  499. package/lib/translated/ar/containers/ConnectedOutcomesPerStudent.js +2 -1
  500. package/lib/translated/ar/hooks/useCSVExport.js +1 -1
  501. package/lib/translated/ar/store/report/__tests__/actions.test.js +21 -0
  502. package/lib/translated/ar/store/report/__tests__/reducers.test.js +74 -4
  503. package/lib/translated/ar/store/report/actions.js +20 -10
  504. package/lib/translated/ar/store/report/reducers.js +36 -16
  505. package/lib/translated/ca/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  506. package/lib/translated/ca/components/OutcomeView/__tests__/index.test.js +5 -0
  507. package/lib/translated/ca/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  508. package/lib/translated/ca/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  509. package/lib/translated/ca/components/OutcomesPerStudent/index.js +11 -3
  510. package/lib/translated/ca/constants.js +3 -1
  511. package/lib/translated/ca/containers/ConnectedOutcomesPerStudent.js +2 -1
  512. package/lib/translated/ca/hooks/useCSVExport.js +1 -1
  513. package/lib/translated/ca/store/report/__tests__/actions.test.js +21 -0
  514. package/lib/translated/ca/store/report/__tests__/reducers.test.js +74 -4
  515. package/lib/translated/ca/store/report/actions.js +20 -10
  516. package/lib/translated/ca/store/report/reducers.js +36 -16
  517. package/lib/translated/cy/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  518. package/lib/translated/cy/components/OutcomeView/__tests__/index.test.js +5 -0
  519. package/lib/translated/cy/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  520. package/lib/translated/cy/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  521. package/lib/translated/cy/components/OutcomesPerStudent/index.js +11 -3
  522. package/lib/translated/cy/constants.js +3 -1
  523. package/lib/translated/cy/containers/ConnectedOutcomesPerStudent.js +2 -1
  524. package/lib/translated/cy/hooks/useCSVExport.js +1 -1
  525. package/lib/translated/cy/store/report/__tests__/actions.test.js +21 -0
  526. package/lib/translated/cy/store/report/__tests__/reducers.test.js +74 -4
  527. package/lib/translated/cy/store/report/actions.js +20 -10
  528. package/lib/translated/cy/store/report/reducers.js +36 -16
  529. package/lib/translated/da/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  530. package/lib/translated/da/components/OutcomeView/__tests__/index.test.js +5 -0
  531. package/lib/translated/da/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  532. package/lib/translated/da/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  533. package/lib/translated/da/components/OutcomesPerStudent/index.js +11 -3
  534. package/lib/translated/da/constants.js +3 -1
  535. package/lib/translated/da/containers/ConnectedOutcomesPerStudent.js +2 -1
  536. package/lib/translated/da/hooks/useCSVExport.js +1 -1
  537. package/lib/translated/da/store/report/__tests__/actions.test.js +21 -0
  538. package/lib/translated/da/store/report/__tests__/reducers.test.js +74 -4
  539. package/lib/translated/da/store/report/actions.js +20 -10
  540. package/lib/translated/da/store/report/reducers.js +36 -16
  541. package/lib/translated/da-x-k12/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  542. package/lib/translated/da-x-k12/components/OutcomeView/__tests__/index.test.js +5 -0
  543. package/lib/translated/da-x-k12/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  544. package/lib/translated/da-x-k12/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  545. package/lib/translated/da-x-k12/components/OutcomesPerStudent/index.js +11 -3
  546. package/lib/translated/da-x-k12/constants.js +3 -1
  547. package/lib/translated/da-x-k12/containers/ConnectedOutcomesPerStudent.js +2 -1
  548. package/lib/translated/da-x-k12/hooks/useCSVExport.js +1 -1
  549. package/lib/translated/da-x-k12/store/report/__tests__/actions.test.js +21 -0
  550. package/lib/translated/da-x-k12/store/report/__tests__/reducers.test.js +74 -4
  551. package/lib/translated/da-x-k12/store/report/actions.js +20 -10
  552. package/lib/translated/da-x-k12/store/report/reducers.js +36 -16
  553. package/lib/translated/de/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  554. package/lib/translated/de/components/OutcomeView/__tests__/index.test.js +5 -0
  555. package/lib/translated/de/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  556. package/lib/translated/de/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  557. package/lib/translated/de/components/OutcomesPerStudent/index.js +11 -3
  558. package/lib/translated/de/constants.js +3 -1
  559. package/lib/translated/de/containers/ConnectedOutcomesPerStudent.js +2 -1
  560. package/lib/translated/de/hooks/useCSVExport.js +1 -1
  561. package/lib/translated/de/store/report/__tests__/actions.test.js +21 -0
  562. package/lib/translated/de/store/report/__tests__/reducers.test.js +74 -4
  563. package/lib/translated/de/store/report/actions.js +20 -10
  564. package/lib/translated/de/store/report/reducers.js +36 -16
  565. package/lib/translated/en/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  566. package/lib/translated/en/components/OutcomeView/__tests__/index.test.js +5 -0
  567. package/lib/translated/en/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  568. package/lib/translated/en/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  569. package/lib/translated/en/components/OutcomesPerStudent/index.js +11 -3
  570. package/lib/translated/en/constants.js +3 -1
  571. package/lib/translated/en/containers/ConnectedOutcomesPerStudent.js +2 -1
  572. package/lib/translated/en/hooks/useCSVExport.js +1 -1
  573. package/lib/translated/en/store/report/__tests__/actions.test.js +21 -0
  574. package/lib/translated/en/store/report/__tests__/reducers.test.js +74 -4
  575. package/lib/translated/en/store/report/actions.js +20 -10
  576. package/lib/translated/en/store/report/reducers.js +36 -16
  577. package/lib/translated/en-AU/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  578. package/lib/translated/en-AU/components/OutcomeView/__tests__/index.test.js +5 -0
  579. package/lib/translated/en-AU/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  580. package/lib/translated/en-AU/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  581. package/lib/translated/en-AU/components/OutcomesPerStudent/index.js +11 -3
  582. package/lib/translated/en-AU/constants.js +3 -1
  583. package/lib/translated/en-AU/containers/ConnectedOutcomesPerStudent.js +2 -1
  584. package/lib/translated/en-AU/hooks/useCSVExport.js +1 -1
  585. package/lib/translated/en-AU/store/report/__tests__/actions.test.js +21 -0
  586. package/lib/translated/en-AU/store/report/__tests__/reducers.test.js +74 -4
  587. package/lib/translated/en-AU/store/report/actions.js +20 -10
  588. package/lib/translated/en-AU/store/report/reducers.js +36 -16
  589. package/lib/translated/en-AU-x-unimelb/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  590. package/lib/translated/en-AU-x-unimelb/components/OutcomeView/__tests__/index.test.js +5 -0
  591. package/lib/translated/en-AU-x-unimelb/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  592. package/lib/translated/en-AU-x-unimelb/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  593. package/lib/translated/en-AU-x-unimelb/components/OutcomesPerStudent/index.js +11 -3
  594. package/lib/translated/en-AU-x-unimelb/constants.js +3 -1
  595. package/lib/translated/en-AU-x-unimelb/containers/ConnectedOutcomesPerStudent.js +2 -1
  596. package/lib/translated/en-AU-x-unimelb/hooks/useCSVExport.js +1 -1
  597. package/lib/translated/en-AU-x-unimelb/store/report/__tests__/actions.test.js +21 -0
  598. package/lib/translated/en-AU-x-unimelb/store/report/__tests__/reducers.test.js +74 -4
  599. package/lib/translated/en-AU-x-unimelb/store/report/actions.js +20 -10
  600. package/lib/translated/en-AU-x-unimelb/store/report/reducers.js +36 -16
  601. package/lib/translated/en-CA/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  602. package/lib/translated/en-CA/components/OutcomeView/__tests__/index.test.js +5 -0
  603. package/lib/translated/en-CA/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  604. package/lib/translated/en-CA/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  605. package/lib/translated/en-CA/components/OutcomesPerStudent/index.js +11 -3
  606. package/lib/translated/en-CA/constants.js +3 -1
  607. package/lib/translated/en-CA/containers/ConnectedOutcomesPerStudent.js +2 -1
  608. package/lib/translated/en-CA/hooks/useCSVExport.js +1 -1
  609. package/lib/translated/en-CA/store/report/__tests__/actions.test.js +21 -0
  610. package/lib/translated/en-CA/store/report/__tests__/reducers.test.js +74 -4
  611. package/lib/translated/en-CA/store/report/actions.js +20 -10
  612. package/lib/translated/en-CA/store/report/reducers.js +36 -16
  613. package/lib/translated/en-CY/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  614. package/lib/translated/en-CY/components/OutcomeView/__tests__/index.test.js +5 -0
  615. package/lib/translated/en-CY/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  616. package/lib/translated/en-CY/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  617. package/lib/translated/en-CY/components/OutcomesPerStudent/index.js +11 -3
  618. package/lib/translated/en-CY/constants.js +3 -1
  619. package/lib/translated/en-CY/containers/ConnectedOutcomesPerStudent.js +2 -1
  620. package/lib/translated/en-CY/hooks/useCSVExport.js +1 -1
  621. package/lib/translated/en-CY/store/report/__tests__/actions.test.js +21 -0
  622. package/lib/translated/en-CY/store/report/__tests__/reducers.test.js +74 -4
  623. package/lib/translated/en-CY/store/report/actions.js +20 -10
  624. package/lib/translated/en-CY/store/report/reducers.js +36 -16
  625. package/lib/translated/en-GB/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  626. package/lib/translated/en-GB/components/OutcomeView/__tests__/index.test.js +5 -0
  627. package/lib/translated/en-GB/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  628. package/lib/translated/en-GB/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  629. package/lib/translated/en-GB/components/OutcomesPerStudent/index.js +11 -3
  630. package/lib/translated/en-GB/constants.js +3 -1
  631. package/lib/translated/en-GB/containers/ConnectedOutcomesPerStudent.js +2 -1
  632. package/lib/translated/en-GB/hooks/useCSVExport.js +1 -1
  633. package/lib/translated/en-GB/store/report/__tests__/actions.test.js +21 -0
  634. package/lib/translated/en-GB/store/report/__tests__/reducers.test.js +74 -4
  635. package/lib/translated/en-GB/store/report/actions.js +20 -10
  636. package/lib/translated/en-GB/store/report/reducers.js +36 -16
  637. package/lib/translated/en-GB-x-ukhe/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  638. package/lib/translated/en-GB-x-ukhe/components/OutcomeView/__tests__/index.test.js +5 -0
  639. package/lib/translated/en-GB-x-ukhe/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  640. package/lib/translated/en-GB-x-ukhe/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  641. package/lib/translated/en-GB-x-ukhe/components/OutcomesPerStudent/index.js +11 -3
  642. package/lib/translated/en-GB-x-ukhe/constants.js +3 -1
  643. package/lib/translated/en-GB-x-ukhe/containers/ConnectedOutcomesPerStudent.js +2 -1
  644. package/lib/translated/en-GB-x-ukhe/hooks/useCSVExport.js +1 -1
  645. package/lib/translated/en-GB-x-ukhe/store/report/__tests__/actions.test.js +21 -0
  646. package/lib/translated/en-GB-x-ukhe/store/report/__tests__/reducers.test.js +74 -4
  647. package/lib/translated/en-GB-x-ukhe/store/report/actions.js +20 -10
  648. package/lib/translated/en-GB-x-ukhe/store/report/reducers.js +36 -16
  649. package/lib/translated/en-IE/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  650. package/lib/translated/en-IE/components/OutcomeView/__tests__/index.test.js +5 -0
  651. package/lib/translated/en-IE/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  652. package/lib/translated/en-IE/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  653. package/lib/translated/en-IE/components/OutcomesPerStudent/index.js +11 -3
  654. package/lib/translated/en-IE/constants.js +3 -1
  655. package/lib/translated/en-IE/containers/ConnectedOutcomesPerStudent.js +2 -1
  656. package/lib/translated/en-IE/hooks/useCSVExport.js +1 -1
  657. package/lib/translated/en-IE/store/report/__tests__/actions.test.js +21 -0
  658. package/lib/translated/en-IE/store/report/__tests__/reducers.test.js +74 -4
  659. package/lib/translated/en-IE/store/report/actions.js +20 -10
  660. package/lib/translated/en-IE/store/report/reducers.js +36 -16
  661. package/lib/translated/es/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  662. package/lib/translated/es/components/OutcomeView/__tests__/index.test.js +5 -0
  663. package/lib/translated/es/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  664. package/lib/translated/es/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  665. package/lib/translated/es/components/OutcomesPerStudent/index.js +11 -3
  666. package/lib/translated/es/constants.js +3 -1
  667. package/lib/translated/es/containers/ConnectedOutcomesPerStudent.js +2 -1
  668. package/lib/translated/es/hooks/useCSVExport.js +1 -1
  669. package/lib/translated/es/store/report/__tests__/actions.test.js +21 -0
  670. package/lib/translated/es/store/report/__tests__/reducers.test.js +74 -4
  671. package/lib/translated/es/store/report/actions.js +20 -10
  672. package/lib/translated/es/store/report/reducers.js +36 -16
  673. package/lib/translated/es-ES/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  674. package/lib/translated/es-ES/components/OutcomeView/__tests__/index.test.js +5 -0
  675. package/lib/translated/es-ES/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  676. package/lib/translated/es-ES/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  677. package/lib/translated/es-ES/components/OutcomesPerStudent/index.js +11 -3
  678. package/lib/translated/es-ES/constants.js +3 -1
  679. package/lib/translated/es-ES/containers/ConnectedOutcomesPerStudent.js +2 -1
  680. package/lib/translated/es-ES/hooks/useCSVExport.js +1 -1
  681. package/lib/translated/es-ES/store/report/__tests__/actions.test.js +21 -0
  682. package/lib/translated/es-ES/store/report/__tests__/reducers.test.js +74 -4
  683. package/lib/translated/es-ES/store/report/actions.js +20 -10
  684. package/lib/translated/es-ES/store/report/reducers.js +36 -16
  685. package/lib/translated/es_ES/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  686. package/lib/translated/es_ES/components/OutcomeView/__tests__/index.test.js +5 -0
  687. package/lib/translated/es_ES/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  688. package/lib/translated/es_ES/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  689. package/lib/translated/es_ES/components/OutcomesPerStudent/index.js +11 -3
  690. package/lib/translated/es_ES/constants.js +3 -1
  691. package/lib/translated/es_ES/containers/ConnectedOutcomesPerStudent.js +2 -1
  692. package/lib/translated/es_ES/hooks/useCSVExport.js +1 -1
  693. package/lib/translated/es_ES/store/report/__tests__/actions.test.js +21 -0
  694. package/lib/translated/es_ES/store/report/__tests__/reducers.test.js +74 -4
  695. package/lib/translated/es_ES/store/report/actions.js +20 -10
  696. package/lib/translated/es_ES/store/report/reducers.js +36 -16
  697. package/lib/translated/fi/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  698. package/lib/translated/fi/components/OutcomeView/__tests__/index.test.js +5 -0
  699. package/lib/translated/fi/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  700. package/lib/translated/fi/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  701. package/lib/translated/fi/components/OutcomesPerStudent/index.js +11 -3
  702. package/lib/translated/fi/constants.js +3 -1
  703. package/lib/translated/fi/containers/ConnectedOutcomesPerStudent.js +2 -1
  704. package/lib/translated/fi/hooks/useCSVExport.js +1 -1
  705. package/lib/translated/fi/store/report/__tests__/actions.test.js +21 -0
  706. package/lib/translated/fi/store/report/__tests__/reducers.test.js +74 -4
  707. package/lib/translated/fi/store/report/actions.js +20 -10
  708. package/lib/translated/fi/store/report/reducers.js +36 -16
  709. package/lib/translated/fr/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  710. package/lib/translated/fr/components/OutcomeView/__tests__/index.test.js +5 -0
  711. package/lib/translated/fr/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  712. package/lib/translated/fr/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  713. package/lib/translated/fr/components/OutcomesPerStudent/index.js +11 -3
  714. package/lib/translated/fr/constants.js +3 -1
  715. package/lib/translated/fr/containers/ConnectedOutcomesPerStudent.js +2 -1
  716. package/lib/translated/fr/hooks/useCSVExport.js +1 -1
  717. package/lib/translated/fr/store/report/__tests__/actions.test.js +21 -0
  718. package/lib/translated/fr/store/report/__tests__/reducers.test.js +74 -4
  719. package/lib/translated/fr/store/report/actions.js +20 -10
  720. package/lib/translated/fr/store/report/reducers.js +36 -16
  721. package/lib/translated/fr-CA/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  722. package/lib/translated/fr-CA/components/OutcomeView/__tests__/index.test.js +5 -0
  723. package/lib/translated/fr-CA/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  724. package/lib/translated/fr-CA/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  725. package/lib/translated/fr-CA/components/OutcomesPerStudent/index.js +11 -3
  726. package/lib/translated/fr-CA/constants.js +3 -1
  727. package/lib/translated/fr-CA/containers/ConnectedOutcomesPerStudent.js +2 -1
  728. package/lib/translated/fr-CA/hooks/useCSVExport.js +1 -1
  729. package/lib/translated/fr-CA/store/report/__tests__/actions.test.js +21 -0
  730. package/lib/translated/fr-CA/store/report/__tests__/reducers.test.js +74 -4
  731. package/lib/translated/fr-CA/store/report/actions.js +20 -10
  732. package/lib/translated/fr-CA/store/report/reducers.js +36 -16
  733. package/lib/translated/ht/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  734. package/lib/translated/ht/components/OutcomeView/__tests__/index.test.js +5 -0
  735. package/lib/translated/ht/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  736. package/lib/translated/ht/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  737. package/lib/translated/ht/components/OutcomesPerStudent/index.js +11 -3
  738. package/lib/translated/ht/constants.js +3 -1
  739. package/lib/translated/ht/containers/ConnectedOutcomesPerStudent.js +2 -1
  740. package/lib/translated/ht/hooks/useCSVExport.js +1 -1
  741. package/lib/translated/ht/store/report/__tests__/actions.test.js +21 -0
  742. package/lib/translated/ht/store/report/__tests__/reducers.test.js +74 -4
  743. package/lib/translated/ht/store/report/actions.js +20 -10
  744. package/lib/translated/ht/store/report/reducers.js +36 -16
  745. package/lib/translated/is/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  746. package/lib/translated/is/components/OutcomeView/__tests__/index.test.js +5 -0
  747. package/lib/translated/is/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  748. package/lib/translated/is/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  749. package/lib/translated/is/components/OutcomesPerStudent/index.js +11 -3
  750. package/lib/translated/is/constants.js +3 -1
  751. package/lib/translated/is/containers/ConnectedOutcomesPerStudent.js +2 -1
  752. package/lib/translated/is/hooks/useCSVExport.js +1 -1
  753. package/lib/translated/is/store/report/__tests__/actions.test.js +21 -0
  754. package/lib/translated/is/store/report/__tests__/reducers.test.js +74 -4
  755. package/lib/translated/is/store/report/actions.js +20 -10
  756. package/lib/translated/is/store/report/reducers.js +36 -16
  757. package/lib/translated/it/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  758. package/lib/translated/it/components/OutcomeView/__tests__/index.test.js +5 -0
  759. package/lib/translated/it/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  760. package/lib/translated/it/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  761. package/lib/translated/it/components/OutcomesPerStudent/index.js +11 -3
  762. package/lib/translated/it/constants.js +3 -1
  763. package/lib/translated/it/containers/ConnectedOutcomesPerStudent.js +2 -1
  764. package/lib/translated/it/hooks/useCSVExport.js +1 -1
  765. package/lib/translated/it/store/report/__tests__/actions.test.js +21 -0
  766. package/lib/translated/it/store/report/__tests__/reducers.test.js +74 -4
  767. package/lib/translated/it/store/report/actions.js +20 -10
  768. package/lib/translated/it/store/report/reducers.js +36 -16
  769. package/lib/translated/ja/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  770. package/lib/translated/ja/components/OutcomeView/__tests__/index.test.js +5 -0
  771. package/lib/translated/ja/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  772. package/lib/translated/ja/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  773. package/lib/translated/ja/components/OutcomesPerStudent/index.js +11 -3
  774. package/lib/translated/ja/constants.js +3 -1
  775. package/lib/translated/ja/containers/ConnectedOutcomesPerStudent.js +2 -1
  776. package/lib/translated/ja/hooks/useCSVExport.js +1 -1
  777. package/lib/translated/ja/store/report/__tests__/actions.test.js +21 -0
  778. package/lib/translated/ja/store/report/__tests__/reducers.test.js +74 -4
  779. package/lib/translated/ja/store/report/actions.js +20 -10
  780. package/lib/translated/ja/store/report/reducers.js +36 -16
  781. package/lib/translated/mi/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  782. package/lib/translated/mi/components/OutcomeView/__tests__/index.test.js +5 -0
  783. package/lib/translated/mi/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  784. package/lib/translated/mi/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  785. package/lib/translated/mi/components/OutcomesPerStudent/index.js +11 -3
  786. package/lib/translated/mi/constants.js +3 -1
  787. package/lib/translated/mi/containers/ConnectedOutcomesPerStudent.js +2 -1
  788. package/lib/translated/mi/hooks/useCSVExport.js +1 -1
  789. package/lib/translated/mi/store/report/__tests__/actions.test.js +21 -0
  790. package/lib/translated/mi/store/report/__tests__/reducers.test.js +74 -4
  791. package/lib/translated/mi/store/report/actions.js +20 -10
  792. package/lib/translated/mi/store/report/reducers.js +36 -16
  793. package/lib/translated/nb/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  794. package/lib/translated/nb/components/OutcomeView/__tests__/index.test.js +5 -0
  795. package/lib/translated/nb/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  796. package/lib/translated/nb/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  797. package/lib/translated/nb/components/OutcomesPerStudent/index.js +11 -3
  798. package/lib/translated/nb/constants.js +3 -1
  799. package/lib/translated/nb/containers/ConnectedOutcomesPerStudent.js +2 -1
  800. package/lib/translated/nb/hooks/useCSVExport.js +1 -1
  801. package/lib/translated/nb/store/report/__tests__/actions.test.js +21 -0
  802. package/lib/translated/nb/store/report/__tests__/reducers.test.js +74 -4
  803. package/lib/translated/nb/store/report/actions.js +20 -10
  804. package/lib/translated/nb/store/report/reducers.js +36 -16
  805. package/lib/translated/nb-x-k12/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  806. package/lib/translated/nb-x-k12/components/OutcomeView/__tests__/index.test.js +5 -0
  807. package/lib/translated/nb-x-k12/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  808. package/lib/translated/nb-x-k12/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  809. package/lib/translated/nb-x-k12/components/OutcomesPerStudent/index.js +11 -3
  810. package/lib/translated/nb-x-k12/constants.js +3 -1
  811. package/lib/translated/nb-x-k12/containers/ConnectedOutcomesPerStudent.js +2 -1
  812. package/lib/translated/nb-x-k12/hooks/useCSVExport.js +1 -1
  813. package/lib/translated/nb-x-k12/store/report/__tests__/actions.test.js +21 -0
  814. package/lib/translated/nb-x-k12/store/report/__tests__/reducers.test.js +74 -4
  815. package/lib/translated/nb-x-k12/store/report/actions.js +20 -10
  816. package/lib/translated/nb-x-k12/store/report/reducers.js +36 -16
  817. package/lib/translated/nl/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  818. package/lib/translated/nl/components/OutcomeView/__tests__/index.test.js +5 -0
  819. package/lib/translated/nl/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  820. package/lib/translated/nl/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  821. package/lib/translated/nl/components/OutcomesPerStudent/index.js +11 -3
  822. package/lib/translated/nl/constants.js +3 -1
  823. package/lib/translated/nl/containers/ConnectedOutcomesPerStudent.js +2 -1
  824. package/lib/translated/nl/hooks/useCSVExport.js +1 -1
  825. package/lib/translated/nl/store/report/__tests__/actions.test.js +21 -0
  826. package/lib/translated/nl/store/report/__tests__/reducers.test.js +74 -4
  827. package/lib/translated/nl/store/report/actions.js +20 -10
  828. package/lib/translated/nl/store/report/reducers.js +36 -16
  829. package/lib/translated/pl/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  830. package/lib/translated/pl/components/OutcomeView/__tests__/index.test.js +5 -0
  831. package/lib/translated/pl/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  832. package/lib/translated/pl/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  833. package/lib/translated/pl/components/OutcomesPerStudent/index.js +11 -3
  834. package/lib/translated/pl/constants.js +3 -1
  835. package/lib/translated/pl/containers/ConnectedOutcomesPerStudent.js +2 -1
  836. package/lib/translated/pl/hooks/useCSVExport.js +1 -1
  837. package/lib/translated/pl/store/report/__tests__/actions.test.js +21 -0
  838. package/lib/translated/pl/store/report/__tests__/reducers.test.js +74 -4
  839. package/lib/translated/pl/store/report/actions.js +20 -10
  840. package/lib/translated/pl/store/report/reducers.js +36 -16
  841. package/lib/translated/pt/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  842. package/lib/translated/pt/components/OutcomeView/__tests__/index.test.js +5 -0
  843. package/lib/translated/pt/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  844. package/lib/translated/pt/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  845. package/lib/translated/pt/components/OutcomesPerStudent/index.js +11 -3
  846. package/lib/translated/pt/constants.js +3 -1
  847. package/lib/translated/pt/containers/ConnectedOutcomesPerStudent.js +2 -1
  848. package/lib/translated/pt/hooks/useCSVExport.js +1 -1
  849. package/lib/translated/pt/store/report/__tests__/actions.test.js +21 -0
  850. package/lib/translated/pt/store/report/__tests__/reducers.test.js +74 -4
  851. package/lib/translated/pt/store/report/actions.js +20 -10
  852. package/lib/translated/pt/store/report/reducers.js +36 -16
  853. package/lib/translated/pt-BR/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  854. package/lib/translated/pt-BR/components/OutcomeView/__tests__/index.test.js +5 -0
  855. package/lib/translated/pt-BR/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  856. package/lib/translated/pt-BR/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  857. package/lib/translated/pt-BR/components/OutcomesPerStudent/index.js +11 -3
  858. package/lib/translated/pt-BR/constants.js +3 -1
  859. package/lib/translated/pt-BR/containers/ConnectedOutcomesPerStudent.js +2 -1
  860. package/lib/translated/pt-BR/hooks/useCSVExport.js +1 -1
  861. package/lib/translated/pt-BR/store/report/__tests__/actions.test.js +21 -0
  862. package/lib/translated/pt-BR/store/report/__tests__/reducers.test.js +74 -4
  863. package/lib/translated/pt-BR/store/report/actions.js +20 -10
  864. package/lib/translated/pt-BR/store/report/reducers.js +36 -16
  865. package/lib/translated/ru/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  866. package/lib/translated/ru/components/OutcomeView/__tests__/index.test.js +5 -0
  867. package/lib/translated/ru/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  868. package/lib/translated/ru/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  869. package/lib/translated/ru/components/OutcomesPerStudent/index.js +11 -3
  870. package/lib/translated/ru/constants.js +3 -1
  871. package/lib/translated/ru/containers/ConnectedOutcomesPerStudent.js +2 -1
  872. package/lib/translated/ru/hooks/useCSVExport.js +1 -1
  873. package/lib/translated/ru/store/report/__tests__/actions.test.js +21 -0
  874. package/lib/translated/ru/store/report/__tests__/reducers.test.js +74 -4
  875. package/lib/translated/ru/store/report/actions.js +20 -10
  876. package/lib/translated/ru/store/report/reducers.js +36 -16
  877. package/lib/translated/sl/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  878. package/lib/translated/sl/components/OutcomeView/__tests__/index.test.js +5 -0
  879. package/lib/translated/sl/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  880. package/lib/translated/sl/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  881. package/lib/translated/sl/components/OutcomesPerStudent/index.js +11 -3
  882. package/lib/translated/sl/constants.js +3 -1
  883. package/lib/translated/sl/containers/ConnectedOutcomesPerStudent.js +2 -1
  884. package/lib/translated/sl/hooks/useCSVExport.js +1 -1
  885. package/lib/translated/sl/store/report/__tests__/actions.test.js +21 -0
  886. package/lib/translated/sl/store/report/__tests__/reducers.test.js +74 -4
  887. package/lib/translated/sl/store/report/actions.js +20 -10
  888. package/lib/translated/sl/store/report/reducers.js +36 -16
  889. package/lib/translated/sv/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  890. package/lib/translated/sv/components/OutcomeView/__tests__/index.test.js +5 -0
  891. package/lib/translated/sv/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  892. package/lib/translated/sv/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  893. package/lib/translated/sv/components/OutcomesPerStudent/index.js +11 -3
  894. package/lib/translated/sv/constants.js +3 -1
  895. package/lib/translated/sv/containers/ConnectedOutcomesPerStudent.js +2 -1
  896. package/lib/translated/sv/hooks/useCSVExport.js +1 -1
  897. package/lib/translated/sv/store/report/__tests__/actions.test.js +21 -0
  898. package/lib/translated/sv/store/report/__tests__/reducers.test.js +74 -4
  899. package/lib/translated/sv/store/report/actions.js +20 -10
  900. package/lib/translated/sv/store/report/reducers.js +36 -16
  901. package/lib/translated/sv-x-k12/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  902. package/lib/translated/sv-x-k12/components/OutcomeView/__tests__/index.test.js +5 -0
  903. package/lib/translated/sv-x-k12/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  904. package/lib/translated/sv-x-k12/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  905. package/lib/translated/sv-x-k12/components/OutcomesPerStudent/index.js +11 -3
  906. package/lib/translated/sv-x-k12/constants.js +3 -1
  907. package/lib/translated/sv-x-k12/containers/ConnectedOutcomesPerStudent.js +2 -1
  908. package/lib/translated/sv-x-k12/hooks/useCSVExport.js +1 -1
  909. package/lib/translated/sv-x-k12/store/report/__tests__/actions.test.js +21 -0
  910. package/lib/translated/sv-x-k12/store/report/__tests__/reducers.test.js +74 -4
  911. package/lib/translated/sv-x-k12/store/report/actions.js +20 -10
  912. package/lib/translated/sv-x-k12/store/report/reducers.js +36 -16
  913. package/lib/translated/th/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  914. package/lib/translated/th/components/OutcomeView/__tests__/index.test.js +5 -0
  915. package/lib/translated/th/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  916. package/lib/translated/th/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  917. package/lib/translated/th/components/OutcomesPerStudent/index.js +11 -3
  918. package/lib/translated/th/constants.js +3 -1
  919. package/lib/translated/th/containers/ConnectedOutcomesPerStudent.js +2 -1
  920. package/lib/translated/th/hooks/useCSVExport.js +1 -1
  921. package/lib/translated/th/store/report/__tests__/actions.test.js +21 -0
  922. package/lib/translated/th/store/report/__tests__/reducers.test.js +74 -4
  923. package/lib/translated/th/store/report/actions.js +20 -10
  924. package/lib/translated/th/store/report/reducers.js +36 -16
  925. package/lib/translated/vi/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  926. package/lib/translated/vi/components/OutcomeView/__tests__/index.test.js +5 -0
  927. package/lib/translated/vi/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  928. package/lib/translated/vi/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  929. package/lib/translated/vi/components/OutcomesPerStudent/index.js +11 -3
  930. package/lib/translated/vi/constants.js +3 -1
  931. package/lib/translated/vi/containers/ConnectedOutcomesPerStudent.js +2 -1
  932. package/lib/translated/vi/hooks/useCSVExport.js +1 -1
  933. package/lib/translated/vi/store/report/__tests__/actions.test.js +21 -0
  934. package/lib/translated/vi/store/report/__tests__/reducers.test.js +74 -4
  935. package/lib/translated/vi/store/report/actions.js +20 -10
  936. package/lib/translated/vi/store/report/reducers.js +36 -16
  937. package/lib/translated/zh-Hans/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  938. package/lib/translated/zh-Hans/components/OutcomeView/__tests__/index.test.js +5 -0
  939. package/lib/translated/zh-Hans/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  940. package/lib/translated/zh-Hans/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  941. package/lib/translated/zh-Hans/components/OutcomesPerStudent/index.js +11 -3
  942. package/lib/translated/zh-Hans/constants.js +3 -1
  943. package/lib/translated/zh-Hans/containers/ConnectedOutcomesPerStudent.js +2 -1
  944. package/lib/translated/zh-Hans/hooks/useCSVExport.js +1 -1
  945. package/lib/translated/zh-Hans/store/report/__tests__/actions.test.js +21 -0
  946. package/lib/translated/zh-Hans/store/report/__tests__/reducers.test.js +74 -4
  947. package/lib/translated/zh-Hans/store/report/actions.js +20 -10
  948. package/lib/translated/zh-Hans/store/report/reducers.js +36 -16
  949. package/lib/translated/zh-Hant/components/OutcomeCheckbox/__tests__/index.test.js +5 -0
  950. package/lib/translated/zh-Hant/components/OutcomeView/__tests__/index.test.js +5 -0
  951. package/lib/translated/zh-Hant/components/OutcomesPerStudent/ExportCSVButton/index.js +21 -3
  952. package/lib/translated/zh-Hant/components/OutcomesPerStudent/__tests__/index.test.js +8 -0
  953. package/lib/translated/zh-Hant/components/OutcomesPerStudent/index.js +11 -3
  954. package/lib/translated/zh-Hant/constants.js +3 -1
  955. package/lib/translated/zh-Hant/containers/ConnectedOutcomesPerStudent.js +2 -1
  956. package/lib/translated/zh-Hant/hooks/useCSVExport.js +1 -1
  957. package/lib/translated/zh-Hant/store/report/__tests__/actions.test.js +21 -0
  958. package/lib/translated/zh-Hant/store/report/__tests__/reducers.test.js +74 -4
  959. package/lib/translated/zh-Hant/store/report/actions.js +20 -10
  960. package/lib/translated/zh-Hant/store/report/reducers.js +36 -16
  961. package/package.json +1 -1
@@ -46,6 +46,11 @@ describe('OutcomeCheckbox', function () {
46
46
  var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeCheckbox, props));
47
47
  expect(wrapper.text()).to.match(/This is the Friendly Description/);
48
48
  });
49
+ it('does not render friendly description', function () {
50
+ var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeCheckbox, makeProps()));
51
+ expect(wrapper.find('[data-automation="outcomeCheckbox__friendly_description_header"]').length).to.equal(0);
52
+ expect(wrapper.find('[data-automation="outcomeCheckbox__friendly_description_expanded"]').length).to.equal(0);
53
+ });
49
54
  it('renders an OutcomeDescription component', function () {
50
55
  var props = makeProps();
51
56
  var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeCheckbox, props));
@@ -52,6 +52,11 @@ var sharedSpecs = function sharedSpecs(makeProps) {
52
52
  expect(text).to.match(/Friendly Description/);
53
53
  expect(text).to.match(/This is another description/);
54
54
  });
55
+ it('ensures Friendly Description does not show', function () {
56
+ var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeView, makeProps()));
57
+ expect(wrapper.find('[data-automation="outcomeView__friendly_description_header"]').length).to.equal(0);
58
+ expect(wrapper.find('[data-automation="outcomeView__friendly_description_expanded"]').length).to.equal(0);
59
+ });
55
60
  it('meets a11y standards', function () {
56
61
  return checkA11y( /*#__PURE__*/React.createElement(OutcomeView, makeProps()));
57
62
  });
@@ -1,5 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
- import React, { useEffect, useRef } from 'react';
2
+ import React, { useEffect, useState, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { Button } from '@instructure/ui-buttons';
5
5
  import { CSVLink } from 'react-csv';
@@ -48,7 +48,8 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
48
48
  var fetchCSVData = _ref.fetchCSVData,
49
49
  formatCSVData = _ref.formatCSVData,
50
50
  fetchingStatus = _ref.fetchingStatus,
51
- artifactId = _ref.artifactId;
51
+ artifactId = _ref.artifactId,
52
+ focusedElement = _ref.focusedElement;
52
53
  var csvElementRef = useRef(null);
53
54
 
54
55
  var exportCSV = function exportCSV() {
@@ -63,6 +64,11 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
63
64
  showProgressBar = _useBoolean2[1],
64
65
  hideProgressBar = _useBoolean2[2];
65
66
 
67
+ var _useState = useState(useRef(null)),
68
+ _useState2 = _slicedToArray(_useState, 2),
69
+ csvButtonRef = _useState2[0],
70
+ setCsvButtonRef = _useState2[1];
71
+
66
72
  var _useCSVExport = useCSVExport({
67
73
  fetchCSVData: fetchCSVData,
68
74
  fetchingStatus: fetchingStatus,
@@ -80,6 +86,11 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
80
86
  useEffect(function () {
81
87
  if (exportState === CSV_COMPLETE) {
82
88
  exportCSV();
89
+ setTimeout(function () {
90
+ if (focusedElement === csvButtonRef) {
91
+ csvButtonRef.focus();
92
+ }
93
+ }, 3000);
83
94
  }
84
95
  }, [exportState]);
85
96
  return /*#__PURE__*/React.createElement(Flex, {
@@ -124,7 +135,10 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
124
135
  color: canStartExport ? 'primary' : 'secondary',
125
136
  onClick: canStartExport ? beginExport : cancelExport,
126
137
  interaction: canStartExport ? 'enabled' : progressValue < 100 ? 'enabled' : 'disabled',
127
- "data-automation": "outcomesPerStudent_exportCSVButton"
138
+ "data-automation": "outcomesPerStudent_exportCSVButton",
139
+ buttonRef: function buttonRef(ref) {
140
+ return setCsvButtonRef(ref);
141
+ }
128
142
  }, canStartExport ? t('Export CSV') : t('Cancel Export')), /*#__PURE__*/React.createElement("span", {
129
143
  "aria-hidden": true
130
144
  }, /*#__PURE__*/React.createElement(CSVLink, {
@@ -141,6 +155,10 @@ ExportCSVButton.propTypes = {
141
155
  fetchCSVData: PropTypes.func.isRequired,
142
156
  formatCSVData: PropTypes.func.isRequired,
143
157
  fetchingStatus: PropTypes.string.isRequired,
144
- artifactId: PropTypes.string.isRequired
158
+ artifactId: PropTypes.string.isRequired,
159
+ focusedElement: PropTypes.element
160
+ };
161
+ ExportCSVButton.defaultProps = {
162
+ focusedElement: null
145
163
  };
146
164
  export default ExportCSVButton;
@@ -1,7 +1,7 @@
1
1
  import chai, { expect } from 'chai';
2
2
  import React from 'react';
3
3
  import sinon from 'sinon';
4
- import { shallow } from 'enzyme';
4
+ import { shallow, mount } from 'enzyme';
5
5
  import OutcomesPerStudent from "../index.js";
6
6
  import checkA11y from "../../../test/checkA11y.js";
7
7
  var styles = {
@@ -29,6 +29,7 @@ describe('OutcomesPerStudent/index', function () {
29
29
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
30
30
  return Object.assign({
31
31
  loadPage: sinon.stub().returns(Promise.resolve()),
32
+ clearReportStore: sinon.spy(),
32
33
  getReportOutcome: sinon.stub().returns({
33
34
  id: 1,
34
35
  label: 'Foo.PRQ.2',
@@ -167,6 +168,13 @@ describe('OutcomesPerStudent/index', function () {
167
168
  });
168
169
  });
169
170
  });
171
+ it('calls clearReportStore when about to unmount', function () {
172
+ var props = makeProps();
173
+ var wrapper = mount( /*#__PURE__*/React.createElement(OutcomesPerStudent, props));
174
+ expect(props.clearReportStore).to.not.have.been.called;
175
+ wrapper.unmount();
176
+ expect(props.clearReportStore).to.have.been.calledOnce;
177
+ });
170
178
  it('meets a11y standards', function () {
171
179
  return checkA11y( /*#__PURE__*/React.createElement(OutcomesPerStudent, makeProps()));
172
180
  });
@@ -295,7 +295,7 @@ var OutcomesPerStudentReport = (_dec = themeable(theme, styles), _dec(_class = (
295
295
 
296
296
  _this = _super.call.apply(_super, [this].concat(args));
297
297
 
298
- _this.renderExportButton = function (hasAnyStudents) {
298
+ _this.renderExportButton = function (hasAnyStudents, focusedElement) {
299
299
  var _this$props = _this.props,
300
300
  hasAnyOutcomes = _this$props.hasAnyOutcomes,
301
301
  loading = _this$props.loading,
@@ -317,7 +317,8 @@ var OutcomesPerStudentReport = (_dec = themeable(theme, styles), _dec(_class = (
317
317
  fetchCSVData: fetchCSVData,
318
318
  formatCSVData: formatCSVData,
319
319
  fetchingStatus: csvFetchingStatus,
320
- artifactId: artifactId
320
+ artifactId: artifactId,
321
+ focusedElement: focusedElement
321
322
  });
322
323
  }
323
324
  };
@@ -338,6 +339,11 @@ var OutcomesPerStudentReport = (_dec = themeable(theme, styles), _dec(_class = (
338
339
  return setError(e);
339
340
  });
340
341
  }
342
+ }, {
343
+ key: "componentWillUnmount",
344
+ value: function componentWillUnmount() {
345
+ this.props.clearReportStore();
346
+ }
341
347
  }, {
342
348
  key: "renderReportTable",
343
349
  value: function renderReportTable() {
@@ -434,6 +440,7 @@ var OutcomesPerStudentReport = (_dec = themeable(theme, styles), _dec(_class = (
434
440
  hasAnyOutcomes = _this$props4.hasAnyOutcomes,
435
441
  loading = _this$props4.loading;
436
442
  var hasAnyStudents = users && users.length > 0;
443
+ var focusedElement = document.activeElement;
437
444
 
438
445
  var renderReportContent = function renderReportContent() {
439
446
  if (loading) {
@@ -449,7 +456,7 @@ var OutcomesPerStudentReport = (_dec = themeable(theme, styles), _dec(_class = (
449
456
 
450
457
  return /*#__PURE__*/React.createElement("div", {
451
458
  className: styles.background
452
- }, this.renderExportButton(hasAnyStudents), renderReportContent());
459
+ }, this.renderExportButton(hasAnyStudents, focusedElement), renderReportContent());
453
460
  }
454
461
  }]);
455
462
 
@@ -475,6 +482,7 @@ var OutcomesPerStudentReport = (_dec = themeable(theme, styles), _dec(_class = (
475
482
  isOpen: PropTypes.func.isRequired,
476
483
  closeReportAlignment: PropTypes.func.isRequired,
477
484
  features: PropTypes.array.isRequired,
485
+ clearReportStore: PropTypes.func.isRequired,
478
486
  scope: PropTypes.string.isRequired
479
487
  }, _class2.defaultProps = {
480
488
  loadUsersOverride: void 0,
package/es/constants.js CHANGED
@@ -44,6 +44,7 @@ export var SET_REPORT_RESULTS = 'SET_REPORT_RESULTS';
44
44
  export var SET_REPORT_USERS = 'SET_REPORT_USERS';
45
45
  export var SET_REPORT_LOADING = 'SET_REPORT_LOADING';
46
46
  export var SET_REMAINING_PAGES_LOADING = 'SET_REMAINING_PAGES_LOADING';
47
+ export var CLEAR_REPORT_DATA = 'CLEAR_REPORT_DATA';
47
48
  export var VIEW_REPORT_ALIGNMENT = 'VIEW_REPORT_ALIGNMENT';
48
49
  export var CLOSE_REPORT_ALIGNMENT = 'CLOSE_REPORT_ALIGNMENT';
49
50
  export var ALL_USERS = 'ALL_USERS';
@@ -1,7 +1,7 @@
1
1
  import { connect } from 'react-redux';
2
2
  import { bindActionCreators as bindScopedActionCreators } from 'multireducer';
3
3
  import OutcomesPerStudent from "../components/OutcomesPerStudent/index.js";
4
- import { loadPage, loadRemainingPages, viewReportAlignment, closeReportAlignment } from "../store/report/actions.js";
4
+ import { loadPage, loadRemainingPages, viewReportAlignment, closeReportAlignment, clearReportStore } from "../store/report/actions.js";
5
5
  import { setError } from "../store/context/actions.js";
6
6
  import { formatCSVData, getLoading, getPageCount, getPageNumber, getUsers, getReportOutcome, getRollups, getScore, getLoadingRemainingPages, isOpen, hasAnyOutcomes } from "../store/report/selectors.js";
7
7
  import { getFeatures } from "../store/features/selectors.js";
@@ -33,7 +33,8 @@ function mapDispatchToProps(dispatch, ownProps) {
33
33
  loadRemainingPages: loadRemainingPages,
34
34
  viewReportAlignment: viewReportAlignment,
35
35
  closeReportAlignment: closeReportAlignment,
36
- setError: setError
36
+ setError: setError,
37
+ clearReportStore: clearReportStore
37
38
  }, dispatch, scope);
38
39
  }
39
40
  /* eslint-enable react-redux/mapDispatchToProps-returns-object */
@@ -80,7 +80,7 @@ var useCSVExport = function useCSVExport(_ref) {
80
80
  setTimeout(function () {
81
81
  hideProgressBar();
82
82
  setExportState(NOT_EXPORTING);
83
- }, 2000);
83
+ }, 3000);
84
84
  }
85
85
  }, [exportState, formattedData, progressValue]);
86
86
 
@@ -5,7 +5,7 @@ import { fromJS, Map } from 'immutable';
5
5
  import { wrapAction } from 'multireducer';
6
6
  import sinon from 'sinon';
7
7
  import * as actions from "../actions.js";
8
- import { SET_ERROR, VIEW_REPORT_ALIGNMENT, CLOSE_REPORT_ALIGNMENT, NOT_FETCHING, IN_PROGRESS, COMPLETED, ERROR } from "../../../constants.js";
8
+ import { SET_ERROR, VIEW_REPORT_ALIGNMENT, CLOSE_REPORT_ALIGNMENT, CLEAR_REPORT_DATA, NOT_FETCHING, IN_PROGRESS, COMPLETED, ERROR } from "../../../constants.js";
9
9
  import { setError } from "../../context/actions.js";
10
10
  import createMockStore, { scopeActions } from "../../../test/createMockStore.js";
11
11
  var scopedActions = scopeActions(_objectSpread(_objectSpread({}, actions), {}, {
@@ -600,6 +600,27 @@ describe('report/actions', function () {
600
600
  });
601
601
  });
602
602
  });
603
+ describe('clearReportStore', function () {
604
+ it('clears the report store', function () {
605
+ var state = {
606
+ scopeForTest: {
607
+ report: {
608
+ page: {
609
+ number: 0
610
+ },
611
+ users: {
612
+ 1: users,
613
+ 2: getUsersResponse.users
614
+ },
615
+ rollups: rollups
616
+ }
617
+ }
618
+ };
619
+ var store = createMockStore(Map(fromJS(state)), service);
620
+ store.dispatch(actions.clearReportStore(state, 'scopeForTest'));
621
+ expect(store.getActions().slice(-1)[0].type).to.eq(CLEAR_REPORT_DATA);
622
+ });
623
+ });
603
624
  describe('getUserList', function () {
604
625
  it('returns a list of user uuids from page 1', function () {
605
626
  var state = {
@@ -1,19 +1,27 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
2
  import { expect } from 'chai';
3
3
  import { fromJS } from 'immutable';
4
- import { setPage, setPageData, setRollups, setResults, setUsers, viewReportAlignment, closeReportAlignment } from "../actions.js";
4
+ import { IN_PROGRESS, NOT_FETCHING } from "../../../constants.js";
5
+ import { setPage, setPageData, setRollups, setResults, setUsers, setReportOutcomes, setLoading, setLoadingRemainingPages, clearReportData, viewReportAlignment, closeReportAlignment } from "../actions.js";
5
6
  import reducer from "../reducers.js";
6
7
  describe('reports/reducers', function () {
7
8
  // eslint-disable-next-line camelcase
8
9
  var user_uuid = '560fddd9-9b16-4e3a-969c-2f095e7afc78';
9
10
  var state = fromJS({
10
- rollups: {
11
+ outcomes: {
11
12
  100: {
12
13
  id: 100,
13
14
  label: 'blue',
14
15
  title: 'green'
15
16
  }
16
17
  },
18
+ rollups: [{
19
+ outcomeId: '100',
20
+ averageScore: 0.8,
21
+ count: 1,
22
+ masteryCount: 1,
23
+ childArtifactCount: 0
24
+ }],
17
25
  results: {
18
26
  1955: _defineProperty({}, user_uuid, {
19
27
  user_uuid: user_uuid,
@@ -38,6 +46,12 @@ describe('reports/reducers', function () {
38
46
  var newState = reducer(state, setPage(newPage));
39
47
  expect(newState.get('page').toJS()).to.deep.equal(newPage);
40
48
  });
49
+ it('is cleared by clearReportData', function () {
50
+ var newState = reducer(state, clearReportData());
51
+ expect(newState.get('page').toJS()).to.deep.equal({
52
+ number: void 0
53
+ });
54
+ });
41
55
  });
42
56
  describe('pageData', function () {
43
57
  it('is updated by setPageData', function () {
@@ -48,17 +62,64 @@ describe('reports/reducers', function () {
48
62
  var newState = reducer(state, setPageData(newPageData));
49
63
  expect(newState.get('pageData').toJS()).to.deep.equal(newPageData);
50
64
  });
65
+ it('is cleared by clearReportData', function () {
66
+ var newState = reducer(state, clearReportData());
67
+ expect(newState.get('pageData').toJS()).to.deep.equal(new Map());
68
+ });
69
+ });
70
+ describe('loading', function () {
71
+ it('is updated by setLoading', function () {
72
+ var newState = reducer(state, setLoading(true));
73
+ expect(newState.get('loading')).to.be.true;
74
+ });
75
+ it('is cleared by clearReportData', function () {
76
+ var newState = reducer(state, clearReportData());
77
+ expect(newState.get('loading')).to.be.false;
78
+ });
79
+ });
80
+ describe('loadingRemainingPages', function () {
81
+ it('is updated by setLoadingRemainingPages', function () {
82
+ var newState = reducer(state, setLoadingRemainingPages(IN_PROGRESS));
83
+ expect(newState.get('loadingRemainingPages')).to.eq(IN_PROGRESS);
84
+ });
85
+ it('is cleared by clearReportData', function () {
86
+ var newState = reducer(state, clearReportData());
87
+ expect(newState.get('loadingRemainingPages')).to.eq(NOT_FETCHING);
88
+ });
89
+ });
90
+ describe('outcomes', function () {
91
+ it('is updated by setReportOutcomes', function () {
92
+ var newOutcome = {
93
+ 200: {
94
+ id: 200,
95
+ label: 'yellow',
96
+ title: 'red'
97
+ }
98
+ };
99
+ var newState = reducer(state, setReportOutcomes(newOutcome));
100
+ expect(newState.get('outcomes').toJS()).to.deep.equal(newOutcome);
101
+ });
102
+ it('is cleared by clearReportData', function () {
103
+ var newState = reducer(state, clearReportData());
104
+ expect(newState.get('outcomes').toJS()).to.deep.equal(new Map());
105
+ });
51
106
  });
52
107
  describe('rollups', function () {
53
108
  it('is updated by setRollups', function () {
54
109
  var newRollup = {
55
- id: 200,
56
- label: 'yellow',
57
- title: 'red'
110
+ outcomeId: 200,
111
+ averageScore: 0.9,
112
+ count: 1,
113
+ masteryCount: 1,
114
+ childArtifactCount: 0
58
115
  };
59
116
  var newState = reducer(state, setRollups([newRollup]));
60
117
  expect(newState.get('rollups').toJS()).to.deep.equal([newRollup]);
61
118
  });
119
+ it('is cleared by clearReportData', function () {
120
+ var newState = reducer(state, clearReportData());
121
+ expect(newState.get('rollups').toJS()).to.deep.equal([]);
122
+ });
62
123
  });
63
124
  describe('results', function () {
64
125
  it('is updated by setResults', function () {
@@ -105,6 +166,10 @@ describe('reports/reducers', function () {
105
166
  pointsPossible: seenResult.pointsPossible
106
167
  });
107
168
  });
169
+ it('is cleared by clearReportData', function () {
170
+ var newState = reducer(state, clearReportData());
171
+ expect(newState.get('results').toJS()).to.deep.equal(new Map());
172
+ });
108
173
  });
109
174
  describe('openReportAlignmentId', function () {
110
175
  it('is set by VIEW_REPORT_ALIGNMENT', function () {
@@ -128,5 +193,9 @@ describe('reports/reducers', function () {
128
193
  var newState = reducer(state, setUsers(newUsers));
129
194
  expect(newState.get('users').toJS()).to.deep.equal(newUsers);
130
195
  });
196
+ it('is cleared by clearReportData', function () {
197
+ var newState = reducer(state, clearReportData());
198
+ expect(newState.get('users').toJS()).to.deep.equal(new Map());
199
+ });
131
200
  });
132
201
  });
@@ -3,7 +3,7 @@ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
3
3
  import { createAction } from 'redux-actions';
4
4
  import { CALL_SERVICE } from '@instructure/redux-service-middleware';
5
5
  import { getUsers, getPageLoading, getPageNumber, getResults, getHighestPageSeen, getPageCount, getRollups, getLoadingRemainingPages } from "./selectors.js";
6
- import { SET_REPORT_PAGE, SET_REPORT_PAGE_DATA, SET_REPORT_OUTCOMES, SET_REPORT_ROLLUPS, SET_REPORT_RESULTS, SET_REPORT_USERS, VIEW_REPORT_ALIGNMENT, CLOSE_REPORT_ALIGNMENT, SET_REPORT_LOADING, SET_REMAINING_PAGES_LOADING, ALL_USERS, ERROR, IN_PROGRESS, COMPLETED } from "../../constants.js";
6
+ import { SET_REPORT_PAGE, SET_REPORT_PAGE_DATA, SET_REPORT_OUTCOMES, SET_REPORT_ROLLUPS, SET_REPORT_RESULTS, SET_REPORT_USERS, SET_REPORT_LOADING, SET_REMAINING_PAGES_LOADING, CLEAR_REPORT_DATA, VIEW_REPORT_ALIGNMENT, CLOSE_REPORT_ALIGNMENT, ALL_USERS, ERROR, IN_PROGRESS, COMPLETED } from "../../constants.js";
7
7
  import { getConfig } from "../config/selectors.js";
8
8
  import { setError } from "../context/actions.js";
9
9
  /*
@@ -13,13 +13,14 @@ import { setError } from "../context/actions.js";
13
13
  export var setReportOutcomes = createAction(SET_REPORT_OUTCOMES);
14
14
  export var setRollups = createAction(SET_REPORT_ROLLUPS);
15
15
  export var setResults = createAction(SET_REPORT_RESULTS);
16
- export var viewReportAlignment = createAction(VIEW_REPORT_ALIGNMENT);
17
- export var closeReportAlignment = createAction(CLOSE_REPORT_ALIGNMENT);
18
16
  export var setUsers = createAction(SET_REPORT_USERS);
19
17
  export var setPageData = createAction(SET_REPORT_PAGE_DATA);
20
18
  export var setPage = createAction(SET_REPORT_PAGE);
21
19
  export var setLoading = createAction(SET_REPORT_LOADING);
22
- export var setLoadingRemainingPages = createAction(SET_REMAINING_PAGES_LOADING); // Function calls to Outcome Service
20
+ export var setLoadingRemainingPages = createAction(SET_REMAINING_PAGES_LOADING);
21
+ export var clearReportData = createAction(CLEAR_REPORT_DATA);
22
+ export var viewReportAlignment = createAction(VIEW_REPORT_ALIGNMENT);
23
+ export var closeReportAlignment = createAction(CLOSE_REPORT_ALIGNMENT); // Function calls to Outcome Service
23
24
 
24
25
  export var loadUsers = function loadUsers(artifactType, artifactId, pageNumber) {
25
26
  return function (dispatch, getState, _arg, scope) {
@@ -80,10 +81,10 @@ export var loadPage = function loadPage(artifactType, artifactId, pageNumber, lo
80
81
 
81
82
  if (!loading) {
82
83
  if (hasSeenPage) {
83
- dispatch(setPage({
84
+ return Promise.resolve(dispatch(setPage({
84
85
  number: pageNumber,
85
86
  loading: false
86
- }));
87
+ })));
87
88
  } else {
88
89
  dispatch(setLoading(true));
89
90
  dispatch(setPage({
@@ -246,6 +247,11 @@ export var loadRemainingResults = function loadRemainingResults(artifactType, ar
246
247
  dispatch(setLoadingRemainingPages(ERROR));
247
248
  });
248
249
  };
250
+ };
251
+ export var clearReportStore = function clearReportStore() {
252
+ return function (dispatch, _getState, _arg, _scope) {
253
+ dispatch(clearReportData());
254
+ };
249
255
  }; // Helpers
250
256
 
251
257
  var getUsersPromise = function getUsersPromise(dispatch, artifactType, artifactId, pageNumber, loadUsersOverride) {
@@ -1,34 +1,53 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
3
+
4
+ var _handleActions, _handleActions2, _handleActions3, _handleActions4, _handleActions5, _handleActions6, _handleActions7, _handleActions8;
5
+
3
6
  import { List, Map, fromJS } from 'immutable';
4
7
  import { handleActions } from 'redux-actions';
5
8
  import { combineReducers } from 'redux-immutable';
6
9
  import { NOT_FETCHING } from "../../constants.js";
7
- import { setPage, setPageData, setUsers, setReportOutcomes, setRollups, setResults, setLoading, setLoadingRemainingPages } from "./actions.js";
8
- var users = handleActions(_defineProperty({}, setUsers, function (state, action) {
10
+ import { setPage, setPageData, setUsers, setReportOutcomes, setRollups, setResults, setLoading, setLoadingRemainingPages, clearReportData } from "./actions.js";
11
+ var users = handleActions((_handleActions = {}, _defineProperty(_handleActions, setUsers, function (_state, action) {
9
12
  return fromJS(action.payload);
10
- }), Map());
11
- var page = handleActions(_defineProperty({}, setPage, function (state, action) {
13
+ }), _defineProperty(_handleActions, clearReportData, function (_state, _action) {
14
+ return Map();
15
+ }), _handleActions), Map());
16
+ var page = handleActions((_handleActions2 = {}, _defineProperty(_handleActions2, setPage, function (state, action) {
12
17
  return fromJS(action.payload);
13
- }), fromJS({
18
+ }), _defineProperty(_handleActions2, clearReportData, function (_state, _action) {
19
+ return fromJS({
20
+ number: void 0
21
+ });
22
+ }), _handleActions2), fromJS({
14
23
  number: void 0
15
24
  }));
16
- var pageData = handleActions(_defineProperty({}, setPageData, function (state, action) {
25
+ var pageData = handleActions((_handleActions3 = {}, _defineProperty(_handleActions3, setPageData, function (state, action) {
17
26
  return fromJS(action.payload);
18
- }), Map());
19
- var outcomes = handleActions(_defineProperty({}, setReportOutcomes, function (state, action) {
27
+ }), _defineProperty(_handleActions3, clearReportData, function (_state, _action) {
28
+ return Map();
29
+ }), _handleActions3), Map());
30
+ var outcomes = handleActions((_handleActions4 = {}, _defineProperty(_handleActions4, setReportOutcomes, function (state, action) {
20
31
  return fromJS(action.payload);
21
- }), Map());
22
- var rollups = handleActions(_defineProperty({}, setRollups, function (state, action) {
32
+ }), _defineProperty(_handleActions4, clearReportData, function (_state, _action) {
33
+ return Map();
34
+ }), _handleActions4), Map());
35
+ var rollups = handleActions((_handleActions5 = {}, _defineProperty(_handleActions5, setRollups, function (state, action) {
23
36
  return fromJS(action.payload);
24
- }), List());
25
- var loading = handleActions(_defineProperty({}, setLoading, function (state, action) {
37
+ }), _defineProperty(_handleActions5, clearReportData, function (_state, _action) {
38
+ return List();
39
+ }), _handleActions5), List());
40
+ var loading = handleActions((_handleActions6 = {}, _defineProperty(_handleActions6, setLoading, function (state, action) {
26
41
  return fromJS(action.payload);
27
- }), false);
28
- var loadingRemainingPages = handleActions(_defineProperty({}, setLoadingRemainingPages, function (state, action) {
42
+ }), _defineProperty(_handleActions6, clearReportData, function (_state, _action) {
43
+ return false;
44
+ }), _handleActions6), false);
45
+ var loadingRemainingPages = handleActions((_handleActions7 = {}, _defineProperty(_handleActions7, setLoadingRemainingPages, function (state, action) {
29
46
  return fromJS(action.payload);
30
- }), NOT_FETCHING);
31
- var results = handleActions(_defineProperty({}, setResults, function (state, action) {
47
+ }), _defineProperty(_handleActions7, clearReportData, function (_state, _action) {
48
+ return NOT_FETCHING;
49
+ }), _handleActions7), NOT_FETCHING);
50
+ var results = handleActions((_handleActions8 = {}, _defineProperty(_handleActions8, setResults, function (state, action) {
32
51
  var _action$payload = action.payload,
33
52
  outcomeId = _action$payload.outcomeId,
34
53
  results = _action$payload.results,
@@ -51,7 +70,9 @@ var results = handleActions(_defineProperty({}, setResults, function (state, act
51
70
  var fetchedResults = Map(resultMap);
52
71
  var allResults = Map([].concat(_toConsumableArray(fetchedResults), _toConsumableArray(seenResults)));
53
72
  return state.set(outcomeId, allResults);
54
- }), Map());
73
+ }), _defineProperty(_handleActions8, clearReportData, function (_state, _action) {
74
+ return Map();
75
+ }), _handleActions8), Map());
55
76
  var openReportAlignmentId = handleActions({
56
77
  VIEW_REPORT_ALIGNMENT: function VIEW_REPORT_ALIGNMENT(state, action) {
57
78
  return action.payload;
@@ -46,6 +46,11 @@ describe('OutcomeCheckbox', function () {
46
46
  var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeCheckbox, props));
47
47
  expect(wrapper.text()).to.match(/This is the Friendly Description/);
48
48
  });
49
+ it('does not render friendly description', function () {
50
+ var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeCheckbox, makeProps()));
51
+ expect(wrapper.find('[data-automation="outcomeCheckbox__friendly_description_header"]').length).to.equal(0);
52
+ expect(wrapper.find('[data-automation="outcomeCheckbox__friendly_description_expanded"]').length).to.equal(0);
53
+ });
49
54
  it('renders an OutcomeDescription component', function () {
50
55
  var props = makeProps();
51
56
  var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeCheckbox, props));
@@ -52,6 +52,11 @@ var sharedSpecs = function sharedSpecs(makeProps) {
52
52
  expect(text).to.match(/Friendly Description/);
53
53
  expect(text).to.match(/This is another description/);
54
54
  });
55
+ it('ensures Friendly Description does not show', function () {
56
+ var wrapper = mount( /*#__PURE__*/React.createElement(OutcomeView, makeProps()));
57
+ expect(wrapper.find('[data-automation="outcomeView__friendly_description_header"]').length).to.equal(0);
58
+ expect(wrapper.find('[data-automation="outcomeView__friendly_description_expanded"]').length).to.equal(0);
59
+ });
55
60
  it('meets a11y standards', function () {
56
61
  return checkA11y( /*#__PURE__*/React.createElement(OutcomeView, makeProps()));
57
62
  });
@@ -1,5 +1,5 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
2
- import React, { useEffect, useRef } from 'react';
2
+ import React, { useEffect, useState, useRef } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { Button } from '@instructure/ui-buttons';
5
5
  import { CSVLink } from 'react-csv';
@@ -47,7 +47,8 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
47
47
  var fetchCSVData = _ref.fetchCSVData,
48
48
  formatCSVData = _ref.formatCSVData,
49
49
  fetchingStatus = _ref.fetchingStatus,
50
- artifactId = _ref.artifactId;
50
+ artifactId = _ref.artifactId,
51
+ focusedElement = _ref.focusedElement;
51
52
  var csvElementRef = useRef(null);
52
53
 
53
54
  var exportCSV = function exportCSV() {
@@ -62,6 +63,11 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
62
63
  showProgressBar = _useBoolean2[1],
63
64
  hideProgressBar = _useBoolean2[2];
64
65
 
66
+ var _useState = useState(useRef(null)),
67
+ _useState2 = _slicedToArray(_useState, 2),
68
+ csvButtonRef = _useState2[0],
69
+ setCsvButtonRef = _useState2[1];
70
+
65
71
  var _useCSVExport = useCSVExport({
66
72
  fetchCSVData: fetchCSVData,
67
73
  fetchingStatus: fetchingStatus,
@@ -79,6 +85,11 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
79
85
  useEffect(function () {
80
86
  if (exportState === CSV_COMPLETE) {
81
87
  exportCSV();
88
+ setTimeout(function () {
89
+ if (focusedElement === csvButtonRef) {
90
+ csvButtonRef.focus();
91
+ }
92
+ }, 3000);
82
93
  }
83
94
  }, [exportState]);
84
95
  return /*#__PURE__*/React.createElement(Flex, {
@@ -119,7 +130,10 @@ var ExportCSVButton = function ExportCSVButton(_ref) {
119
130
  color: canStartExport ? 'primary' : 'secondary',
120
131
  onClick: canStartExport ? beginExport : cancelExport,
121
132
  interaction: canStartExport ? 'enabled' : progressValue < 100 ? 'enabled' : 'disabled',
122
- "data-automation": "outcomesPerStudent_exportCSVButton"
133
+ "data-automation": "outcomesPerStudent_exportCSVButton",
134
+ buttonRef: function buttonRef(ref) {
135
+ return setCsvButtonRef(ref);
136
+ }
123
137
  }, canStartExport ? "Export CSV" : "Cancel Export"), /*#__PURE__*/React.createElement("span", {
124
138
  "aria-hidden": true
125
139
  }, /*#__PURE__*/React.createElement(CSVLink, {
@@ -136,6 +150,10 @@ ExportCSVButton.propTypes = {
136
150
  fetchCSVData: PropTypes.func.isRequired,
137
151
  formatCSVData: PropTypes.func.isRequired,
138
152
  fetchingStatus: PropTypes.string.isRequired,
139
- artifactId: PropTypes.string.isRequired
153
+ artifactId: PropTypes.string.isRequired,
154
+ focusedElement: PropTypes.element
155
+ };
156
+ ExportCSVButton.defaultProps = {
157
+ focusedElement: null
140
158
  };
141
159
  export default ExportCSVButton;
@@ -1,7 +1,7 @@
1
1
  import chai, { expect } from 'chai';
2
2
  import React from 'react';
3
3
  import sinon from 'sinon';
4
- import { shallow } from 'enzyme';
4
+ import { shallow, mount } from 'enzyme';
5
5
  import OutcomesPerStudent from "../index.js";
6
6
  import checkA11y from "../../../test/checkA11y.js";
7
7
  var styles = {
@@ -29,6 +29,7 @@ describe('OutcomesPerStudent/index', function () {
29
29
  var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
30
30
  return Object.assign({
31
31
  loadPage: sinon.stub().returns(Promise.resolve()),
32
+ clearReportStore: sinon.spy(),
32
33
  getReportOutcome: sinon.stub().returns({
33
34
  id: 1,
34
35
  label: 'Foo.PRQ.2',
@@ -167,6 +168,13 @@ describe('OutcomesPerStudent/index', function () {
167
168
  });
168
169
  });
169
170
  });
171
+ it('calls clearReportStore when about to unmount', function () {
172
+ var props = makeProps();
173
+ var wrapper = mount( /*#__PURE__*/React.createElement(OutcomesPerStudent, props));
174
+ expect(props.clearReportStore).to.not.have.been.called;
175
+ wrapper.unmount();
176
+ expect(props.clearReportStore).to.have.been.calledOnce;
177
+ });
170
178
  it('meets a11y standards', function () {
171
179
  return checkA11y( /*#__PURE__*/React.createElement(OutcomesPerStudent, makeProps()));
172
180
  });