@instructure/quiz-core 20.31.1-snapshot.3 → 20.31.2-rc.28

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 (761) hide show
  1. package/es/banks/components/AddToBankModal/index.js +0 -2
  2. package/es/banks/components/AddToBankModal/presenter.js +27 -33
  3. package/es/banks/components/AsyncSearch/index.js +1 -2
  4. package/es/banks/components/Banks/index.js +0 -1
  5. package/es/banks/components/Banks/presenter.js +2 -5
  6. package/es/banks/components/BanksList/index.js +1 -3
  7. package/es/banks/components/BanksList/presenter.js +16 -19
  8. package/es/banks/components/SharingModal/ShareList/index.js +2 -3
  9. package/es/banks/components/SharingModal/index.js +0 -1
  10. package/es/banks/components/SharingModal/presenter.js +1 -5
  11. package/es/common/components/layout/Page/index.js +4 -2
  12. package/es/common/components/layout/sidebar/Sidebar/index.js +2 -1
  13. package/es/common/components/resources/entry/EntrySave/index.js +0 -2
  14. package/es/common/components/resources/entry/EntrySave/presenter.js +1 -3
  15. package/es/common/components/resources/item/ItemEdit/index.js +0 -1
  16. package/es/common/components/resources/item/ItemEdit/presenter.js +0 -2
  17. package/es/common/components/shared/PrintTrigger/index.js +0 -2
  18. package/es/common/components/shared/PrintTrigger/presenter.js +1 -3
  19. package/es/common/selectors/calculator.js +0 -4
  20. package/es/common/util/interactionTypePropsHelper.js +0 -3
  21. package/lib/banks/api/bankEntries.js +24 -13
  22. package/lib/banks/api/banks.js +26 -15
  23. package/lib/banks/api/copyingBanksPoller.js +4 -2
  24. package/lib/banks/api/tagAssociations.js +8 -5
  25. package/lib/banks/components/AddBankEntryModal/index.js +4 -2
  26. package/lib/banks/components/AddBankEntryModal/presenter.js +4 -2
  27. package/lib/banks/components/AddToBankModal/index.js +3 -4
  28. package/lib/banks/components/AddToBankModal/presenter.js +31 -35
  29. package/lib/banks/components/AsyncSearch/index.js +5 -4
  30. package/lib/banks/components/Bank/index.js +5 -3
  31. package/lib/banks/components/Bank/presenter.js +4 -2
  32. package/lib/banks/components/Bank/styles.js +2 -1
  33. package/lib/banks/components/Bank/theme.js +2 -1
  34. package/lib/banks/components/BankEntriesList/index.js +3 -2
  35. package/lib/banks/components/BankEntriesList/presenter.js +4 -2
  36. package/lib/banks/components/BankEntriesList/styles.js +2 -1
  37. package/lib/banks/components/BankEntriesList/theme.js +2 -1
  38. package/lib/banks/components/BankEntry/index.js +4 -2
  39. package/lib/banks/components/BankEntry/presenter.js +4 -2
  40. package/lib/banks/components/BankEntry/styles.js +2 -1
  41. package/lib/banks/components/BankEntry/theme.js +2 -1
  42. package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +3 -2
  43. package/lib/banks/components/BankEntryRow/index.js +2 -1
  44. package/lib/banks/components/BankEntryRow/presenter.js +4 -2
  45. package/lib/banks/components/BankEntryRow/styles.js +2 -1
  46. package/lib/banks/components/BankEntryRow/theme.js +2 -1
  47. package/lib/banks/components/BankSearch/BankSearch.stories.js +12 -7
  48. package/lib/banks/components/BankSearch/index.js +2 -1
  49. package/lib/banks/components/BankSearch/presenter.js +4 -2
  50. package/lib/banks/components/BankSearch/styles.js +2 -1
  51. package/lib/banks/components/BankSearch/theme.js +2 -1
  52. package/lib/banks/components/Banks/index.js +4 -3
  53. package/lib/banks/components/Banks/presenter.js +6 -7
  54. package/lib/banks/components/Banks/styles.js +2 -1
  55. package/lib/banks/components/Banks/theme.js +2 -1
  56. package/lib/banks/components/BanksList/index.js +5 -6
  57. package/lib/banks/components/BanksList/presenter.js +20 -21
  58. package/lib/banks/components/BanksList/styles.js +2 -1
  59. package/lib/banks/components/BanksList/theme.js +2 -1
  60. package/lib/banks/components/CopyMoveBankEntryModal/index.js +3 -2
  61. package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +4 -2
  62. package/lib/banks/components/CreateBankModal/index.js +2 -1
  63. package/lib/banks/components/CreateBankModal/presenter.js +4 -2
  64. package/lib/banks/components/CreateBankModal/styles.js +2 -1
  65. package/lib/banks/components/CreateBankModal/theme.js +2 -1
  66. package/lib/banks/components/EditBankModal/index.js +2 -1
  67. package/lib/banks/components/EditBankModal/presenter.js +4 -2
  68. package/lib/banks/components/EditBankModal/styles.js +2 -1
  69. package/lib/banks/components/EditBankModal/theme.js +2 -1
  70. package/lib/banks/components/HeaderBreadCrumb/index.js +4 -2
  71. package/lib/banks/components/HeaderMenu/index.js +2 -1
  72. package/lib/banks/components/HeaderMenu/presenter.js +4 -2
  73. package/lib/banks/components/HeaderMenu/styles.js +2 -1
  74. package/lib/banks/components/HeaderMenu/theme.js +2 -1
  75. package/lib/banks/components/NavWrapper/NavWrapper.examples.js +3 -2
  76. package/lib/banks/components/NavWrapper/index.js +2 -1
  77. package/lib/banks/components/NavWrapper/presenter.js +2 -1
  78. package/lib/banks/components/NavWrapper/styles.js +2 -1
  79. package/lib/banks/components/NavWrapper/theme.js +2 -1
  80. package/lib/banks/components/SharingModal/ContextualIconButton/index.js +2 -1
  81. package/lib/banks/components/SharingModal/RootAccountSharing.js +4 -2
  82. package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +3 -2
  83. package/lib/banks/components/SharingModal/ShareList/index.js +6 -5
  84. package/lib/banks/components/SharingModal/ShareList/styles.js +2 -1
  85. package/lib/banks/components/SharingModal/index.js +2 -2
  86. package/lib/banks/components/SharingModal/presenter.js +5 -7
  87. package/lib/banks/components/SharingModal/styles.js +2 -1
  88. package/lib/banks/components/SharingModal/theme.js +2 -1
  89. package/lib/building/api/items.js +1 -1
  90. package/lib/building/api/qtiImports.js +9 -5
  91. package/lib/building/api/quizEntries.js +10 -9
  92. package/lib/building/api/quizzes.js +15 -15
  93. package/lib/building/api/stimuli.js +1 -1
  94. package/lib/building/components/QTIImportModal/index.js +9 -5
  95. package/lib/building/components/layout/Sidebar/Sidebar.examples.js +2 -1
  96. package/lib/building/components/layout/Sidebar/SidebarItem/index.js +9 -5
  97. package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +4 -2
  98. package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +2 -1
  99. package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +2 -1
  100. package/lib/building/components/layout/Sidebar/Stimulus/index.js +9 -5
  101. package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +4 -2
  102. package/lib/building/components/layout/Sidebar/Stimulus/styles.js +2 -1
  103. package/lib/building/components/layout/Sidebar/Stimulus/theme.js +2 -1
  104. package/lib/building/components/layout/Sidebar/index.js +9 -5
  105. package/lib/building/components/layout/Sidebar/presenter.js +4 -2
  106. package/lib/building/components/layout/Sidebar/styles.js +2 -1
  107. package/lib/building/components/layout/Sidebar/theme.js +2 -1
  108. package/lib/building/components/layout/header/BuildingButtons/index.js +5 -3
  109. package/lib/building/components/layout/header/BuildingButtons/presenter.js +4 -2
  110. package/lib/building/components/layout/header/BuildingButtons/styles.js +2 -1
  111. package/lib/building/components/layout/header/BuildingButtons/theme.js +2 -1
  112. package/lib/building/components/layout/header/SDKBuildingButtons/index.js +4 -2
  113. package/lib/building/components/resources/ActionButtons/index.js +4 -2
  114. package/lib/building/components/resources/ActionButtons/presenter.js +4 -2
  115. package/lib/building/components/resources/ActionButtons/styles.js +2 -1
  116. package/lib/building/components/resources/ActionButtons/theme.js +2 -1
  117. package/lib/building/components/resources/AddToBankOptions/index.js +4 -2
  118. package/lib/building/components/resources/AddToBankOptions/styles.js +2 -1
  119. package/lib/building/components/resources/AddToBankOptions/theme.js +2 -1
  120. package/lib/building/components/resources/BanksTray/index.js +4 -2
  121. package/lib/building/components/resources/BanksTray/presenter.js +4 -2
  122. package/lib/building/components/resources/DeleteStimulusModal/index.js +4 -2
  123. package/lib/building/components/resources/DeleteStimulusModal/presenter.js +4 -2
  124. package/lib/building/components/resources/DeleteStimulusModal/styles.js +2 -1
  125. package/lib/building/components/resources/DeleteStimulusModal/theme.js +2 -1
  126. package/lib/building/components/resources/ItemFeedbackModal/index.js +4 -2
  127. package/lib/building/components/resources/ItemFeedbackModal/presenter.js +4 -2
  128. package/lib/building/components/resources/ItemFeedbackModal/styles.js +2 -1
  129. package/lib/building/components/resources/ItemFeedbackModal/theme.js +2 -1
  130. package/lib/building/components/resources/MoveImmutableModal/index.js +4 -2
  131. package/lib/building/components/resources/MoveImmutableModal/presenter.js +4 -2
  132. package/lib/building/components/resources/quiz/editButton/EditButton.js +2 -1
  133. package/lib/building/components/resources/quiz/instructions/Edit/index.js +2 -1
  134. package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +2 -1
  135. package/lib/building/components/resources/quiz/instructions/Edit/styles.js +2 -1
  136. package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +3 -2
  137. package/lib/building/components/resources/quiz/instructions/Instructions/index.js +4 -2
  138. package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +4 -2
  139. package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +2 -1
  140. package/lib/building/components/resources/quiz/instructions/Show/index.js +4 -2
  141. package/lib/building/components/resources/quiz/instructions/Show/styles.js +2 -1
  142. package/lib/building/components/resources/quiz/title/Edit/index.js +4 -2
  143. package/lib/building/components/resources/quiz/title/Edit/styles.js +2 -1
  144. package/lib/building/components/resources/quiz/title/Edit/theme.js +2 -1
  145. package/lib/building/components/resources/quiz/title/Show/index.js +4 -2
  146. package/lib/building/components/resources/quiz/title/Show/styles.js +2 -1
  147. package/lib/building/components/resources/quiz/title/Show/theme.js +2 -1
  148. package/lib/building/components/resources/quiz/title/Title/Title.examples.js +3 -2
  149. package/lib/building/components/resources/quiz/title/Title/index.js +4 -2
  150. package/lib/building/components/resources/quiz/title/Title/presenter.js +4 -2
  151. package/lib/building/components/resources/quiz/title/Title/styles.js +2 -1
  152. package/lib/building/components/resources/quizEntry/QuizEntry/index.js +7 -4
  153. package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +4 -2
  154. package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +2 -1
  155. package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +2 -1
  156. package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +2 -1
  157. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +4 -3
  158. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +4 -2
  159. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +2 -1
  160. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +2 -1
  161. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +4 -2
  162. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +2 -1
  163. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -1
  164. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +3 -2
  165. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +4 -2
  166. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +2 -1
  167. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +2 -1
  168. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +2 -1
  169. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +2 -1
  170. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -1
  171. package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +2 -1
  172. package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +7 -4
  173. package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +2 -1
  174. package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +2 -1
  175. package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +4 -2
  176. package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +7 -4
  177. package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +2 -1
  178. package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +2 -1
  179. package/lib/common/actions/alerts.js +2 -2
  180. package/lib/common/actions/analyses.js +7 -7
  181. package/lib/common/actions/bankEntries.js +5 -3
  182. package/lib/common/actions/bankSearch.js +10 -6
  183. package/lib/common/actions/banks.js +14 -8
  184. package/lib/common/actions/config.js +1 -1
  185. package/lib/common/actions/editing.js +1 -1
  186. package/lib/common/actions/errorsShowing.js +1 -1
  187. package/lib/common/actions/grading.js +2 -2
  188. package/lib/common/actions/modal.js +3 -3
  189. package/lib/common/actions/modifications.js +29 -29
  190. package/lib/common/actions/printing.js +1 -1
  191. package/lib/common/actions/quizExport.js +3 -2
  192. package/lib/common/actions/quizSessionEvents.js +3 -2
  193. package/lib/common/actions/quizSessionResults.js +3 -2
  194. package/lib/common/actions/quizSessions.js +13 -8
  195. package/lib/common/actions/quizzes.js +14 -8
  196. package/lib/common/actions/rce.js +8 -5
  197. package/lib/common/actions/regrading.js +1 -1
  198. package/lib/common/actions/reporting.js +1 -1
  199. package/lib/common/actions/scrolling.js +1 -1
  200. package/lib/common/actions/sessionItemResults.js +3 -2
  201. package/lib/common/actions/sessionItems.js +3 -2
  202. package/lib/common/actions/sharedBanks.js +8 -5
  203. package/lib/common/actions/sidebar.js +1 -1
  204. package/lib/common/actions/tagAssociations.js +17 -9
  205. package/lib/common/actions/taking.js +38 -20
  206. package/lib/common/actions/ui.js +20 -11
  207. package/lib/common/actions/upload.js +11 -6
  208. package/lib/common/api/callHandlers.js +46 -25
  209. package/lib/common/api/camelizeHelpers.js +4 -2
  210. package/lib/common/api/features.js +3 -2
  211. package/lib/common/api/fileUpload.js +3 -2
  212. package/lib/common/api/getPersistenceActions.js +2 -1
  213. package/lib/common/api/helpers.js +10 -7
  214. package/lib/common/api/interactionTypes.js +3 -2
  215. package/lib/common/api/quizSessions.js +26 -17
  216. package/lib/common/api/quizzes.js +2 -2
  217. package/lib/common/api/schema.js +37 -20
  218. package/lib/common/components/ApiFeatureFlagInitializer/index.js +5 -3
  219. package/lib/common/components/ConfirmationModal/index.js +2 -1
  220. package/lib/common/components/ConfirmationModal/presenter.js +4 -2
  221. package/lib/common/components/ImportModal/ImportFileSelector/index.js +4 -2
  222. package/lib/common/components/ImportModal/ImportFileSelector/styles.js +2 -1
  223. package/lib/common/components/ImportModal/ImportFileSelector/theme.js +2 -1
  224. package/lib/common/components/ImportModal/index.js +7 -5
  225. package/lib/common/components/ImportModal/presenter.js +4 -2
  226. package/lib/common/components/ImportModal/styles.js +2 -1
  227. package/lib/common/components/ImportModal/theme.js +2 -1
  228. package/lib/common/components/LearnosityCalculator/index.js +4 -2
  229. package/lib/common/components/Pin/Pin.examples.js +3 -2
  230. package/lib/common/components/Pin/index.js +4 -2
  231. package/lib/common/components/Pin/presenter.js +4 -2
  232. package/lib/common/components/PreviewFrame/examples.config.js +3 -2
  233. package/lib/common/components/PreviewFrame/index.js +4 -2
  234. package/lib/common/components/PrintFontSizeModal/index.js +2 -1
  235. package/lib/common/components/PrintFontSizeModal/presenter.js +4 -2
  236. package/lib/common/components/PrintFontSizeModal/styles.js +2 -1
  237. package/lib/common/components/PrintFontSizeModal/theme.js +2 -1
  238. package/lib/common/components/RceConfigProvider/index.js +2 -1
  239. package/lib/common/components/RceConfigProvider/presenter.js +2 -1
  240. package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +5 -3
  241. package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +12 -7
  242. package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +3 -2
  243. package/lib/common/components/RceConfigProvider/rceConfigMapper.js +3 -2
  244. package/lib/common/components/RceConfigProvider/rceConfigUtils.js +6 -4
  245. package/lib/common/components/SDKApp/index.js +7 -4
  246. package/lib/common/components/SDKApp/styles.js +2 -1
  247. package/lib/common/components/SDKHeaderCalculator.js +4 -2
  248. package/lib/common/components/SDKMenuButton.js +4 -2
  249. package/lib/common/components/SDKNavBar.js +4 -2
  250. package/lib/common/components/SDKTimer.js +4 -2
  251. package/lib/common/components/alerts/index.js +3 -2
  252. package/lib/common/components/alerts/presenter.js +4 -2
  253. package/lib/common/components/alerts/styles.js +2 -1
  254. package/lib/common/components/alerts/theme.js +2 -1
  255. package/lib/common/components/layout/Page/index.js +8 -4
  256. package/lib/common/components/layout/Page/styles.js +2 -1
  257. package/lib/common/components/layout/Page/theme.js +2 -1
  258. package/lib/common/components/layout/header/Calculator/index.js +4 -2
  259. package/lib/common/components/layout/header/Calculator/presenter.js +4 -2
  260. package/lib/common/components/layout/header/HeaderMenuButton/index.js +7 -5
  261. package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +4 -2
  262. package/lib/common/components/layout/header/HeaderMenuButton/styles.js +2 -1
  263. package/lib/common/components/layout/header/HeaderMenuButton/theme.js +2 -1
  264. package/lib/common/components/layout/header/Timer/index.js +2 -1
  265. package/lib/common/components/layout/header/Timer/presenter.js +4 -2
  266. package/lib/common/components/layout/header/Timer/styles.js +2 -1
  267. package/lib/common/components/layout/header/Timer/theme.js +2 -1
  268. package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +4 -2
  269. package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +2 -1
  270. package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +2 -1
  271. package/lib/common/components/layout/navbar/index.js +4 -2
  272. package/lib/common/components/layout/navbar/styles.js +2 -1
  273. package/lib/common/components/layout/navbar/theme.js +2 -1
  274. package/lib/common/components/layout/sidebar/PositionSummary/index.js +4 -2
  275. package/lib/common/components/layout/sidebar/PositionSummary/styles.js +2 -1
  276. package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -1
  277. package/lib/common/components/layout/sidebar/Sidebar/Pin.js +4 -2
  278. package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +3 -2
  279. package/lib/common/components/layout/sidebar/Sidebar/index.js +6 -3
  280. package/lib/common/components/layout/sidebar/Sidebar/styles.js +2 -1
  281. package/lib/common/components/layout/sidebar/Sidebar/theme.js +2 -1
  282. package/lib/common/components/layout/sidebar/SidebarItem/index.js +9 -5
  283. package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +4 -2
  284. package/lib/common/components/layout/sidebar/SidebarItem/styles.js +2 -1
  285. package/lib/common/components/layout/sidebar/SidebarItem/theme.js +2 -1
  286. package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +3 -2
  287. package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +4 -2
  288. package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +2 -1
  289. package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -1
  290. package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +3 -2
  291. package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +4 -2
  292. package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +2 -1
  293. package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -1
  294. package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +4 -2
  295. package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +2 -1
  296. package/lib/common/components/layout/sidebar/Stimulus/index.js +9 -5
  297. package/lib/common/components/layout/sidebar/Stimulus/presenter.js +6 -3
  298. package/lib/common/components/layout/sidebar/Stimulus/styles.js +2 -1
  299. package/lib/common/components/layout/sidebar/Stimulus/theme.js +2 -1
  300. package/lib/common/components/resources/BankSelection/BankSelection.examples.js +3 -2
  301. package/lib/common/components/resources/BankSelection/index.js +4 -3
  302. package/lib/common/components/resources/BankSelection/presenter.js +4 -2
  303. package/lib/common/components/resources/WarningWrapper/index.js +4 -2
  304. package/lib/common/components/resources/WarningWrapper/styles.js +2 -1
  305. package/lib/common/components/resources/WarningWrapper/theme.js +2 -1
  306. package/lib/common/components/resources/entry/EntrySave/index.js +3 -4
  307. package/lib/common/components/resources/entry/EntrySave/presenter.js +5 -5
  308. package/lib/common/components/resources/item/ItemEdit/index.js +3 -3
  309. package/lib/common/components/resources/item/ItemEdit/presenter.js +4 -4
  310. package/lib/common/components/resources/item/ItemOverride/index.js +2 -1
  311. package/lib/common/components/resources/item/ItemOverride/presenter.js +4 -2
  312. package/lib/common/components/resources/item/ItemShow/index.js +2 -1
  313. package/lib/common/components/resources/positionBox/PositionBox.js +4 -2
  314. package/lib/common/components/resources/positionBox/styles.js +2 -1
  315. package/lib/common/components/resources/positionBox/theme.js +2 -1
  316. package/lib/common/components/resources/quiz/AddContent/Body/index.js +2 -1
  317. package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +4 -2
  318. package/lib/common/components/resources/quiz/AddContent/Body/styles.js +2 -1
  319. package/lib/common/components/resources/quiz/AddContent/Body/theme.js +2 -1
  320. package/lib/common/components/resources/quiz/AddContent/Button/index.js +4 -2
  321. package/lib/common/components/resources/quiz/AddContent/Button/styles.js +2 -1
  322. package/lib/common/components/resources/quiz/AddContent/Button/theme.js +2 -1
  323. package/lib/common/components/resources/quiz/AddContent/Modal/index.js +4 -2
  324. package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +4 -2
  325. package/lib/common/components/resources/quiz/AddContent/Popover/index.js +5 -3
  326. package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +4 -2
  327. package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +2 -1
  328. package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +2 -1
  329. package/lib/common/components/resources/quiz/info/QuizInfo.js +4 -2
  330. package/lib/common/components/resources/quiz/instructions/Instructions.js +4 -2
  331. package/lib/common/components/resources/quiz/instructions/styles.js +2 -1
  332. package/lib/common/components/resources/quiz/instructions/theme.js +2 -1
  333. package/lib/common/components/resources/quiz/title/Title.js +4 -2
  334. package/lib/common/components/resources/quiz/title/styles.js +2 -1
  335. package/lib/common/components/resources/quiz/title/theme.js +2 -1
  336. package/lib/common/components/resources/quizSessionResult/Header/index.js +4 -2
  337. package/lib/common/components/resources/quizSessionResult/Header/styles.js +2 -1
  338. package/lib/common/components/resources/quizSessionResult/Header/theme.js +2 -1
  339. package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +3 -2
  340. package/lib/common/components/resources/quizSessionResult/Info/index.js +4 -2
  341. package/lib/common/components/resources/quizSessionResult/Info/styles.js +2 -1
  342. package/lib/common/components/resources/quizSessionResult/Info/theme.js +2 -1
  343. package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +4 -2
  344. package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +2 -1
  345. package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +2 -1
  346. package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +4 -2
  347. package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +4 -2
  348. package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +2 -1
  349. package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +2 -1
  350. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +4 -2
  351. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +2 -1
  352. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +2 -1
  353. package/lib/common/components/resources/stimulus/Stimulus/index.js +2 -1
  354. package/lib/common/components/resources/stimulus/Stimulus/presenter.js +4 -2
  355. package/lib/common/components/resources/stimulus/Stimulus/styles.js +2 -1
  356. package/lib/common/components/resources/stimulus/Stimulus/theme.js +2 -1
  357. package/lib/common/components/resources/stimulus/StimulusEdit/index.js +2 -1
  358. package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +4 -2
  359. package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +2 -1
  360. package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +2 -1
  361. package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +2 -1
  362. package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +4 -2
  363. package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +2 -1
  364. package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -1
  365. package/lib/common/components/resources/stimulus/StimulusShow/index.js +4 -2
  366. package/lib/common/components/resources/stimulus/StimulusShow/styles.js +2 -1
  367. package/lib/common/components/resources/stimulus/StimulusShow/theme.js +2 -1
  368. package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +3 -2
  369. package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +2 -1
  370. package/lib/common/components/shared/Card/CardContent/index.js +4 -2
  371. package/lib/common/components/shared/Card/CardContent/styles.js +2 -1
  372. package/lib/common/components/shared/Card/CardContent/theme.js +2 -1
  373. package/lib/common/components/shared/Card/CardWrapper/index.js +4 -2
  374. package/lib/common/components/shared/Card/CardWrapper/styles.js +2 -1
  375. package/lib/common/components/shared/Card/CardWrapper/theme.js +2 -1
  376. package/lib/common/components/shared/Card/index.js +2 -1
  377. package/lib/common/components/shared/ExpandButton/index.js +4 -2
  378. package/lib/common/components/shared/ExpandButton/styles.js +2 -1
  379. package/lib/common/components/shared/ExpandButton/theme.js +2 -1
  380. package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +3 -2
  381. package/lib/common/components/shared/FormattedDuration/index.js +11 -7
  382. package/lib/common/components/shared/IfFeature/index.js +5 -3
  383. package/lib/common/components/shared/IfFeature/presenter.js +4 -2
  384. package/lib/common/components/shared/InteractionTypes/index.js +2 -1
  385. package/lib/common/components/shared/InteractionTypes/presenter.js +4 -2
  386. package/lib/common/components/shared/InteractionTypes/styles.js +2 -1
  387. package/lib/common/components/shared/InteractionTypes/theme.js +2 -1
  388. package/lib/common/components/shared/PaginatedCollection/index.js +4 -3
  389. package/lib/common/components/shared/PaginatedCollection/presenter.js +4 -2
  390. package/lib/common/components/shared/PaginatedCollection/styles.js +2 -1
  391. package/lib/common/components/shared/PaginatedCollection/theme.js +2 -1
  392. package/lib/common/components/shared/Paginator/index.js +4 -2
  393. package/lib/common/components/shared/Paginator/styles.js +2 -1
  394. package/lib/common/components/shared/Paginator/theme.js +2 -1
  395. package/lib/common/components/shared/PrintTrigger/index.js +5 -5
  396. package/lib/common/components/shared/PrintTrigger/presenter.js +5 -5
  397. package/lib/common/components/shared/TagDisplay/index.js +4 -2
  398. package/lib/common/components/shared/TagDisplay/styles.js +2 -1
  399. package/lib/common/components/shared/TagSelect/index.js +2 -1
  400. package/lib/common/components/shared/TagSelect/presenter.js +4 -2
  401. package/lib/common/components/shared/TagSuggestSelect/index.js +2 -1
  402. package/lib/common/components/shared/TagSuggestSelect/presenter.js +4 -2
  403. package/lib/common/components/shared/TagWrapper/index.js +2 -1
  404. package/lib/common/components/shared/TagWrapper/presenter.js +4 -2
  405. package/lib/common/components/shared/TimeUnitsInput/TimeUnitsInput.examples.js +3 -2
  406. package/lib/common/components/shared/TimeUnitsInput/index.js +4 -2
  407. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +4 -2
  408. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +2 -1
  409. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -1
  410. package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +5 -3
  411. package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +4 -2
  412. package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +19 -17
  413. package/lib/common/components/shared/errors/Errors.js +4 -2
  414. package/lib/common/components/shared/errors/styles.js +2 -1
  415. package/lib/common/components/shared/errors/theme.js +2 -1
  416. package/lib/common/components/shared/file_selector/FileSelector.js +4 -2
  417. package/lib/common/components/shared/file_selector/styles.js +2 -1
  418. package/lib/common/components/shared/file_selector/theme.js +2 -1
  419. package/lib/common/components/shared/functionality/componentWithOutsideClick.js +2 -1
  420. package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +2 -1
  421. package/lib/common/components/shared/functionality/disableDraggingOverride.js +3 -2
  422. package/lib/common/components/shared/functionality/makeEditable.js +5 -3
  423. package/lib/common/components/shared/functionality/makeScrollable.js +7 -4
  424. package/lib/common/components/shared/overlay/index.js +2 -1
  425. package/lib/common/components/shared/overlay/styles.js +2 -1
  426. package/lib/common/components/shared/overlay/theme.js +2 -1
  427. package/lib/common/components/shared/return_button/ReturnButton.js +4 -2
  428. package/lib/common/components/shared/spinner/Spinner.js +4 -2
  429. package/lib/common/components/shared/spinner/styles.js +2 -1
  430. package/lib/common/kinesis/QuizEventsLogger.js +7 -4
  431. package/lib/common/kinesis/StreamQueue.js +3 -2
  432. package/lib/common/kinesis/client.js +9 -5
  433. package/lib/common/kinesis/config.js +10 -6
  434. package/lib/common/kinesis/eventTypes.js +15 -8
  435. package/lib/common/middleware/alertTimerMiddleware.js +2 -1
  436. package/lib/common/middleware/crossDomainMessagingMiddleware.js +2 -1
  437. package/lib/common/middleware/eventLoggerMiddleware.js +2 -1
  438. package/lib/common/middleware/persistedStorageMiddleware.js +2 -1
  439. package/lib/common/middleware/quizTimerWebSocketMiddleware.js +14 -8
  440. package/lib/common/react-redux.js +3 -2
  441. package/lib/common/records/Alert.js +4 -2
  442. package/lib/common/records/Bank.js +4 -2
  443. package/lib/common/records/BankEntry.js +4 -2
  444. package/lib/common/records/Item.js +4 -2
  445. package/lib/common/records/ItemAnalysis.js +4 -2
  446. package/lib/common/records/QtiImport.js +4 -2
  447. package/lib/common/records/Quiz.js +4 -2
  448. package/lib/common/records/QuizAnalysis.js +4 -2
  449. package/lib/common/records/QuizEntry.js +4 -2
  450. package/lib/common/records/QuizSession.js +4 -2
  451. package/lib/common/records/QuizSessionEvent.js +4 -2
  452. package/lib/common/records/QuizSessionResult.js +4 -2
  453. package/lib/common/records/Response.js +4 -2
  454. package/lib/common/records/SessionItem.js +4 -2
  455. package/lib/common/records/SessionItemResult.js +4 -2
  456. package/lib/common/records/Stimulus.js +4 -2
  457. package/lib/common/records/baseRecord.js +3 -2
  458. package/lib/common/reducers/alerts.js +3 -2
  459. package/lib/common/reducers/analyses.js +28 -15
  460. package/lib/common/reducers/bankEntries.js +3 -2
  461. package/lib/common/reducers/bankSearch.js +3 -2
  462. package/lib/common/reducers/banks.js +3 -2
  463. package/lib/common/reducers/calls.js +3 -2
  464. package/lib/common/reducers/config.js +3 -2
  465. package/lib/common/reducers/dragAndDrop.js +3 -2
  466. package/lib/common/reducers/editing.js +3 -2
  467. package/lib/common/reducers/errorsShowing.js +3 -2
  468. package/lib/common/reducers/features.js +3 -2
  469. package/lib/common/reducers/grading.js +3 -2
  470. package/lib/common/reducers/interactionTypes.js +3 -2
  471. package/lib/common/reducers/items.js +3 -2
  472. package/lib/common/reducers/modal.js +3 -2
  473. package/lib/common/reducers/moderation.js +3 -2
  474. package/lib/common/reducers/modifications.js +3 -2
  475. package/lib/common/reducers/outcomes.js +3 -2
  476. package/lib/common/reducers/printing.js +3 -2
  477. package/lib/common/reducers/qtiImports.js +3 -2
  478. package/lib/common/reducers/quizEntries.js +3 -2
  479. package/lib/common/reducers/quizExport.js +3 -2
  480. package/lib/common/reducers/quizSessionEvents.js +3 -2
  481. package/lib/common/reducers/quizSessionResults.js +3 -2
  482. package/lib/common/reducers/quizSessions.js +3 -2
  483. package/lib/common/reducers/quizzes.js +3 -2
  484. package/lib/common/reducers/rce.js +3 -2
  485. package/lib/common/reducers/regrading.js +3 -2
  486. package/lib/common/reducers/reporting.js +3 -2
  487. package/lib/common/reducers/scrolling.js +3 -2
  488. package/lib/common/reducers/sessionItemResults.js +3 -2
  489. package/lib/common/reducers/sessionItems.js +3 -2
  490. package/lib/common/reducers/sharedBanks.js +3 -2
  491. package/lib/common/reducers/sidebar.js +3 -2
  492. package/lib/common/reducers/stimuli.js +3 -2
  493. package/lib/common/reducers/tagAssociations.js +3 -2
  494. package/lib/common/reducers/taking.js +3 -2
  495. package/lib/common/reducers/ui.js +3 -2
  496. package/lib/common/reducers/upload.js +3 -2
  497. package/lib/common/selectors/analyses.js +24 -13
  498. package/lib/common/selectors/calculator.js +0 -4
  499. package/lib/common/selectors/interactionTypes.js +4 -2
  500. package/lib/common/selectors/qtiImports.js +3 -2
  501. package/lib/common/selectors/quizSessionResults.js +1 -1
  502. package/lib/common/selectors/quizSessions.js +14 -8
  503. package/lib/common/selectors/quizzes.js +25 -13
  504. package/lib/common/selectors/rce.js +6 -4
  505. package/lib/common/selectors/reporting.js +3 -2
  506. package/lib/common/selectors/sessionItemResults.js +4 -3
  507. package/lib/common/selectors/sessionItems.js +4 -3
  508. package/lib/common/selectors/taking.js +11 -8
  509. package/lib/common/selectors/ui.js +3 -2
  510. package/lib/common/util/CustomPropTypes.js +5 -3
  511. package/lib/common/util/ElementsForSelectors.js +3 -2
  512. package/lib/common/util/ExhaustivePaginatedFetcher.js +2 -1
  513. package/lib/common/util/Fetcher.js +4 -2
  514. package/lib/common/util/MultiWeakMap.js +3 -2
  515. package/lib/common/util/PaginatedFetcher.js +4 -2
  516. package/lib/common/util/ThunkQueue.js +3 -2
  517. package/lib/common/util/TimeRecordingService.js +4 -2
  518. package/lib/common/util/TimerService.js +6 -3
  519. package/lib/common/util/cachePreviousArgs.js +3 -2
  520. package/lib/common/util/callHelpers.js +10 -6
  521. package/lib/common/util/componentForItem.js +4 -2
  522. package/lib/common/util/debounceLatestPromise.js +3 -2
  523. package/lib/common/util/formatTimespan.js +3 -2
  524. package/lib/common/util/generateDisplayPositions.js +3 -2
  525. package/lib/common/util/httpHeaders.js +8 -5
  526. package/lib/common/util/immutableHelpers.js +8 -5
  527. package/lib/common/util/instUIMessages.js +3 -2
  528. package/lib/common/util/interactionTypeMetadata.js +6 -4
  529. package/lib/common/util/interactionTypePropsHelper.js +5 -6
  530. package/lib/common/util/interactionTypeRecordForItem.js +2 -1
  531. package/lib/common/util/jsonify.js +4 -3
  532. package/lib/common/util/keyboardClickable.js +2 -1
  533. package/lib/common/util/mathRenderingUtils.js +4 -2
  534. package/lib/common/util/maxContent.js +3 -2
  535. package/lib/common/util/noop.js +3 -2
  536. package/lib/common/util/persistedState.js +2 -1
  537. package/lib/common/util/printUtils.js +6 -4
  538. package/lib/common/util/rceChecker.js +3 -2
  539. package/lib/common/util/renderAlerts.js +3 -2
  540. package/lib/common/util/serializeEvent.js +3 -2
  541. package/lib/common/util/sessionStore.js +4 -2
  542. package/lib/common/util/valMap.js +3 -2
  543. package/lib/common/util/warningHelpers.js +16 -9
  544. package/lib/common/util/windowChecks.js +12 -7
  545. package/lib/common/util/withCachedArguments.js +3 -2
  546. package/lib/common/util/withDynamoPagination.js +3 -2
  547. package/lib/common/util/withStateCache.js +2 -1
  548. package/lib/config.js +5 -3
  549. package/lib/configureStore.js +2 -1
  550. package/lib/grading/api/updateResults.js +3 -2
  551. package/lib/index.js +401 -402
  552. package/lib/messages/LocalStorageAdapter.js +4 -2
  553. package/lib/messages/LocalStorageLimits.js +2 -1
  554. package/lib/messages/StorageExhaustionError.js +3 -2
  555. package/lib/messages/postMessageService.js +3 -2
  556. package/lib/messages/subjectHandlers/forwardMessage.js +2 -1
  557. package/lib/messages/subjectHandlers/lti.capabilities.js +2 -1
  558. package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +2 -1
  559. package/lib/messages/subjectHandlers/lti.frameResize.js +2 -1
  560. package/lib/messages/subjectHandlers/lti.get_data.js +2 -1
  561. package/lib/messages/subjectHandlers/lti.put_data.js +2 -1
  562. package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +4 -2
  563. package/lib/moderating/api/quizSessions.js +1 -1
  564. package/lib/moderating/components/events/Event.js +4 -2
  565. package/lib/moderating/components/events/PageBlurredEvent.js +4 -2
  566. package/lib/moderating/components/events/PageFocusedEvent.js +4 -2
  567. package/lib/moderating/components/events/RCEEvent.js +4 -2
  568. package/lib/moderating/components/events/ResponseEvent.js +4 -2
  569. package/lib/moderating/components/events/SessionStartEvent.js +4 -2
  570. package/lib/moderating/components/events/styles.js +2 -1
  571. package/lib/moderating/components/events/theme.js +2 -1
  572. package/lib/moderating/components/resources/AccommodationsModal/AccommodationsModal.examples.js +3 -2
  573. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +2 -1
  574. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/{}.examples.js +3 -2
  575. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +4 -2
  576. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +2 -1
  577. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/ExtraTimeSettings.examples.js +3 -2
  578. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +4 -2
  579. package/lib/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +4 -2
  580. package/lib/moderating/components/resources/AccommodationsModal/index.js +4 -2
  581. package/lib/moderating/components/resources/ElapsedTime.js +4 -2
  582. package/lib/moderating/components/resources/ModerateTable/index.js +7 -4
  583. package/lib/moderating/components/resources/ModerateTable/presenter.js +4 -2
  584. package/lib/moderating/components/resources/ModerateTable/styles.js +2 -1
  585. package/lib/moderating/components/resources/ModerateTable/theme.js +2 -1
  586. package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +3 -2
  587. package/lib/moderating/components/resources/ModerateTableRow/index.js +3 -2
  588. package/lib/moderating/components/resources/ModerateTableRow/presenter.js +4 -2
  589. package/lib/moderating/components/resources/ModerateTableRow/story.js +2 -1
  590. package/lib/moderating/components/resources/ModerateTableRow/styles.js +2 -1
  591. package/lib/moderating/components/resources/ModerateTableRow/theme.js +2 -1
  592. package/lib/moderating/components/resources/OutstandingQuizzesModal/OutstandingQuizzesModal.examples.js +3 -2
  593. package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +5 -3
  594. package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +4 -2
  595. package/lib/moderating/components/resources/RetryGradePassbackButton/index.js +2 -1
  596. package/lib/moderating/components/sidebar/ModerateTray/ModerateTray.examples.js +3 -2
  597. package/lib/moderating/components/sidebar/ModerateTray/index.js +4 -3
  598. package/lib/moderating/components/sidebar/ModerateTray/presenter.js +4 -2
  599. package/lib/moderating/components/sidebar/ResetQuiz/index.js +4 -3
  600. package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +4 -2
  601. package/lib/reduxStore.js +5 -4
  602. package/lib/reporting/api/fetchStudentAnalyses.js +3 -2
  603. package/lib/reporting/api/getAnalysesExport.js +3 -2
  604. package/lib/reporting/api/getAnalysesStatus.js +3 -2
  605. package/lib/reporting/api/getItemAnalyses.js +3 -2
  606. package/lib/reporting/api/getQuizAnalysis.js +3 -2
  607. package/lib/reporting/components/Caption/index.js +4 -2
  608. package/lib/reporting/components/Caption/styles.js +2 -1
  609. package/lib/reporting/components/Caption/theme.js +2 -1
  610. package/lib/reporting/components/MetricsListItem/index.js +4 -2
  611. package/lib/reporting/components/MetricsListItem/styles.js +2 -1
  612. package/lib/reporting/components/charts/CentileDistribution/CentileDistribution.examples.js +3 -2
  613. package/lib/reporting/components/charts/CentileDistribution/index.js +2 -1
  614. package/lib/reporting/components/charts/CentileDistribution/presenter.js +4 -2
  615. package/lib/reporting/components/charts/CentileDistribution/styles.js +2 -1
  616. package/lib/reporting/components/charts/CentileDistribution/theme.js +2 -1
  617. package/lib/reporting/components/charts/Distribution/CentileDistribution.js +4 -2
  618. package/lib/reporting/components/charts/Distribution/Distribution.js +2 -1
  619. package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +2 -1
  620. package/lib/reporting/components/charts/Distribution/index.js +2 -1
  621. package/lib/reporting/components/charts/Distribution/presenter.js +7 -4
  622. package/lib/reporting/components/charts/Distribution/styles.js +2 -1
  623. package/lib/reporting/components/charts/Distribution/theme.js +2 -1
  624. package/lib/reporting/components/charts/Legend/index.js +4 -2
  625. package/lib/reporting/components/charts/Legend/styles.js +2 -1
  626. package/lib/reporting/components/charts/Legend/theme.js +2 -1
  627. package/lib/reporting/components/charts/QuintileDistribution/QuintileDistribution.examples.js +3 -2
  628. package/lib/reporting/components/charts/QuintileDistribution/index.js +2 -1
  629. package/lib/reporting/components/charts/QuintileDistribution/presenter.js +4 -2
  630. package/lib/reporting/components/charts/QuintileDistribution/styles.js +2 -1
  631. package/lib/reporting/components/charts/QuintileDistribution/theme.js +2 -1
  632. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +3 -2
  633. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +4 -2
  634. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +2 -1
  635. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +2 -1
  636. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +3 -2
  637. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +5 -3
  638. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +4 -2
  639. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +2 -1
  640. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +2 -1
  641. package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +4 -2
  642. package/lib/reporting/components/quizAnalysis/styles.js +2 -1
  643. package/lib/reporting/components/quizAnalysis/theme.js +2 -1
  644. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +2 -1
  645. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +3 -2
  646. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +2 -1
  647. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +2 -1
  648. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +3 -2
  649. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +2 -1
  650. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +2 -1
  651. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +2 -1
  652. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +3 -2
  653. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +2 -1
  654. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +2 -1
  655. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +3 -2
  656. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +2 -1
  657. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +2 -1
  658. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +2 -1
  659. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +2 -1
  660. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +3 -2
  661. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +2 -1
  662. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +2 -1
  663. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +2 -1
  664. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +6 -6
  665. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +2 -1
  666. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +2 -1
  667. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +3 -2
  668. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +2 -1
  669. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +2 -1
  670. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +3 -2
  671. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +2 -1
  672. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +2 -1
  673. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +2 -1
  674. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +4 -2
  675. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +2 -1
  676. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +2 -1
  677. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +4 -2
  678. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +2 -1
  679. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +3 -2
  680. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +2 -1
  681. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +2 -1
  682. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +3 -2
  683. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +3 -2
  684. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +2 -1
  685. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -2
  686. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +2 -1
  687. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +2 -1
  688. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +3 -2
  689. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +2 -1
  690. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -1
  691. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +3 -2
  692. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +2 -1
  693. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +2 -1
  694. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +4 -2
  695. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +2 -1
  696. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +3 -2
  697. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +2 -1
  698. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +2 -1
  699. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +3 -2
  700. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +2 -1
  701. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +2 -1
  702. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +2 -1
  703. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +7 -4
  704. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +3 -2
  705. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +2 -1
  706. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +2 -1
  707. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +2 -1
  708. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +6 -4
  709. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +3 -2
  710. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +2 -1
  711. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +2 -1
  712. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +4 -2
  713. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +3 -2
  714. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +2 -1
  715. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +2 -1
  716. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +2 -1
  717. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +3 -2
  718. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +2 -1
  719. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -1
  720. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportFormats.js +2 -1
  721. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +3 -2
  722. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +3 -2
  723. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +4 -2
  724. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +4 -2
  725. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +2 -1
  726. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +2 -1
  727. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +5 -3
  728. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +3 -2
  729. package/lib/reporting/components/resources/OutcomeAnalysis/index.js +5 -3
  730. package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +4 -2
  731. package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +3 -2
  732. package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +5 -3
  733. package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +4 -2
  734. package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +2 -1
  735. package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -1
  736. package/lib/reporting/components/resources/ReportCard/index.js +4 -2
  737. package/lib/reporting/components/resources/ReportCard/styles.js +2 -1
  738. package/lib/reporting/components/resources/ReportCard/theme.js +2 -1
  739. package/lib/reporting/components/resources/ReportList/index.js +4 -2
  740. package/lib/reporting/components/resources/ReportList/styles.js +2 -1
  741. package/lib/reporting/components/resources/ReportList/theme.js +2 -1
  742. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/index.js +2 -1
  743. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +3 -2
  744. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +3 -2
  745. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +3 -2
  746. package/lib/reporting/components/resources/StudentAnalysis/fetchReport.js +3 -2
  747. package/lib/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +3 -2
  748. package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +3 -2
  749. package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +3 -2
  750. package/lib/reporting/components/resources/common/AnalysisUpdateDate/index.js +2 -1
  751. package/lib/reporting/components/resources/common/ExportButton/index.js +2 -1
  752. package/lib/reporting/components/resources/common/errorCodes.js +16 -9
  753. package/lib/reporting/components/resources/common/errorMessages.js +18 -10
  754. package/lib/reporting/components/resources/common/exportReports.js +3 -2
  755. package/lib/reporting/components/resources/common/generateReports.js +5 -3
  756. package/lib/reporting/components/resources/common/propTypes.js +34 -18
  757. package/lib/reporting/components/resources/common/utils.js +6 -4
  758. package/lib/taking/api/taking.js +16 -14
  759. package/lib/taking/learnosity/index.js +1 -1
  760. package/package.json +63 -63
  761. package/CHANGELOG.md +0 -4724
@@ -77,7 +77,7 @@ var setTags = function setTags(state, entityType, entities) {
77
77
  return newState;
78
78
  };
79
79
  var defaultState = (0, _immutable.fromJS)({});
80
- var _default = exports.default = function _default() {
80
+ var _default = function _default() {
81
81
  var state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : defaultState;
82
82
  var action = arguments.length > 1 ? arguments[1] : void 0;
83
83
  switch (action.type) {
@@ -104,4 +104,5 @@ var _default = exports.default = function _default() {
104
104
  default:
105
105
  return state;
106
106
  }
107
- };
107
+ };
108
+ exports.default = _default;
@@ -81,7 +81,7 @@ var updateQuizSubmitFlag = function updateQuizSubmitFlag(state, payload) {
81
81
  var setFocusTitleAndInstructions = function setFocusTitleAndInstructions(state, payload) {
82
82
  return state.set('focusTitleAndInstructions', payload.status);
83
83
  };
84
- var _default = exports.default = function _default() {
84
+ var _default = function _default() {
85
85
  var state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (0, _immutable.Map)();
86
86
  var action = arguments.length > 1 ? arguments[1] : void 0;
87
87
  switch (action.type) {
@@ -120,4 +120,5 @@ var _default = exports.default = function _default() {
120
120
  default:
121
121
  return state;
122
122
  }
123
- };
123
+ };
124
+ exports.default = _default;
@@ -12,7 +12,7 @@ var toggle = function toggle(state, key) {
12
12
  });
13
13
  };
14
14
  var defaultState = (0, _immutable.fromJS)({});
15
- var _default = exports.default = function _default() {
15
+ var _default = function _default() {
16
16
  var state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : defaultState;
17
17
  var action = arguments.length > 1 ? arguments[1] : void 0;
18
18
  switch (action.type) {
@@ -35,4 +35,5 @@ var _default = exports.default = function _default() {
35
35
  default:
36
36
  return state;
37
37
  }
38
- };
38
+ };
39
+ exports.default = _default;
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _immutable = require("immutable");
8
8
  var _quizCommon = require("@instructure/quiz-common");
9
- var _default = exports.default = function _default() {
9
+ var _default = function _default() {
10
10
  var state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : (0, _immutable.fromJS)({});
11
11
  var action = arguments.length > 1 ? arguments[1] : void 0;
12
12
  switch (action.type) {
@@ -26,4 +26,5 @@ var _default = exports.default = function _default() {
26
26
  default:
27
27
  return state;
28
28
  }
29
- };
29
+ };
30
+ exports.default = _default;
@@ -3,41 +3,52 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getStudentAnalysisStatusPollingInProgress = exports.getStudentAnalysisGenerationInProgress = exports.getStudentAnalysisFetchInProgress = exports.getStudentAnalysisError = exports.getStudentAnalyses = exports.getStatusPollingInProgress = exports.getQuizAnalysis = exports.getItemAnalyses = exports.getGenerationInProgress = exports.getFetchInProgress = exports.getAnalysisError = void 0;
6
+ exports.getStudentAnalysisError = exports.getAnalysisError = exports.getStudentAnalysisGenerationInProgress = exports.getGenerationInProgress = exports.getStudentAnalysisStatusPollingInProgress = exports.getStatusPollingInProgress = exports.getStudentAnalysisFetchInProgress = exports.getFetchInProgress = exports.getStudentAnalyses = exports.getItemAnalyses = exports.getQuizAnalysis = void 0;
7
7
  var path = 'analyses';
8
- var getQuizAnalysis = exports.getQuizAnalysis = function getQuizAnalysis(state) {
8
+ var getQuizAnalysis = function getQuizAnalysis(state) {
9
9
  var _state$getIn;
10
10
  return (_state$getIn = state.getIn([path, 'quizAnalysis'])) === null || _state$getIn === void 0 ? void 0 : _state$getIn.toJS();
11
11
  };
12
- var getItemAnalyses = exports.getItemAnalyses = function getItemAnalyses(state) {
12
+ exports.getQuizAnalysis = getQuizAnalysis;
13
+ var getItemAnalyses = function getItemAnalyses(state) {
13
14
  var _state$getIn2;
14
15
  return (_state$getIn2 = state.getIn([path, 'itemAnalyses'])) === null || _state$getIn2 === void 0 ? void 0 : _state$getIn2.toJS();
15
16
  };
16
- var getStudentAnalyses = exports.getStudentAnalyses = function getStudentAnalyses(state) {
17
+ exports.getItemAnalyses = getItemAnalyses;
18
+ var getStudentAnalyses = function getStudentAnalyses(state) {
17
19
  var _state$getIn3;
18
20
  return (_state$getIn3 = state.getIn([path, 'studentAnalyses'])) === null || _state$getIn3 === void 0 ? void 0 : _state$getIn3.toJS();
19
21
  };
20
- var getFetchInProgress = exports.getFetchInProgress = function getFetchInProgress(state) {
22
+ exports.getStudentAnalyses = getStudentAnalyses;
23
+ var getFetchInProgress = function getFetchInProgress(state) {
21
24
  return state.getIn([path, 'fetchInProgress'], false);
22
25
  };
23
- var getStudentAnalysisFetchInProgress = exports.getStudentAnalysisFetchInProgress = function getStudentAnalysisFetchInProgress(state) {
26
+ exports.getFetchInProgress = getFetchInProgress;
27
+ var getStudentAnalysisFetchInProgress = function getStudentAnalysisFetchInProgress(state) {
24
28
  return state.getIn([path, 'studentAnalysisFetchInProgress'], false);
25
29
  };
26
- var getStatusPollingInProgress = exports.getStatusPollingInProgress = function getStatusPollingInProgress(state) {
30
+ exports.getStudentAnalysisFetchInProgress = getStudentAnalysisFetchInProgress;
31
+ var getStatusPollingInProgress = function getStatusPollingInProgress(state) {
27
32
  return state.getIn([path, 'statusPollingInProgress'], false);
28
33
  };
29
- var getStudentAnalysisStatusPollingInProgress = exports.getStudentAnalysisStatusPollingInProgress = function getStudentAnalysisStatusPollingInProgress(state) {
34
+ exports.getStatusPollingInProgress = getStatusPollingInProgress;
35
+ var getStudentAnalysisStatusPollingInProgress = function getStudentAnalysisStatusPollingInProgress(state) {
30
36
  return state.getIn([path, 'studentAnalysisStatusPollingInProgress'], false);
31
37
  };
32
- var getGenerationInProgress = exports.getGenerationInProgress = function getGenerationInProgress(state) {
38
+ exports.getStudentAnalysisStatusPollingInProgress = getStudentAnalysisStatusPollingInProgress;
39
+ var getGenerationInProgress = function getGenerationInProgress(state) {
33
40
  return state.getIn([path, 'generationInProgress'], false);
34
41
  };
35
- var getStudentAnalysisGenerationInProgress = exports.getStudentAnalysisGenerationInProgress = function getStudentAnalysisGenerationInProgress(state) {
42
+ exports.getGenerationInProgress = getGenerationInProgress;
43
+ var getStudentAnalysisGenerationInProgress = function getStudentAnalysisGenerationInProgress(state) {
36
44
  return state.getIn([path, 'studentAnalysisGenerationInProgress'], false);
37
45
  };
38
- var getAnalysisError = exports.getAnalysisError = function getAnalysisError(state) {
46
+ exports.getStudentAnalysisGenerationInProgress = getStudentAnalysisGenerationInProgress;
47
+ var getAnalysisError = function getAnalysisError(state) {
39
48
  return state.getIn([path, 'analysisError']);
40
49
  };
41
- var getStudentAnalysisError = exports.getStudentAnalysisError = function getStudentAnalysisError(state) {
50
+ exports.getAnalysisError = getAnalysisError;
51
+ var getStudentAnalysisError = function getStudentAnalysisError(state) {
42
52
  return state.getIn([path, 'studentAnalysisError']);
43
- };
53
+ };
54
+ exports.getStudentAnalysisError = getStudentAnalysisError;
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.hasVisibleQuestionCalculator = hasVisibleQuestionCalculator;
7
- var _featureCheck = require("../util/featureCheck.js");
8
7
  var _taking = require("./taking.js");
9
8
  var _sessionItems = require("./sessionItems.js");
10
9
  var _quizSessions = require("../selectors/quizSessions.js");
@@ -18,9 +17,6 @@ function anyActiveSessionItemsHaveCalculators(state) {
18
17
 
19
18
  // Exports
20
19
  function hasVisibleQuestionCalculator(state) {
21
- if (!(0, _featureCheck.featureOn)('calculator_per_question')) {
22
- return false;
23
- }
24
20
  if ((0, _quizSessions.isOneQuestionAtATime)(state)) {
25
21
  // If one question at a time, does current question have a calculator?
26
22
  var position = (0, _taking.getCurrentSessionItemPosition)(state);
@@ -15,12 +15,13 @@ var _reduxStore = _interopRequireDefault(require("../../reduxStore.js"));
15
15
  var _featureCheck = require("../util/featureCheck.js");
16
16
  var _dec, _class; // TODO: Use more reselect! Create a getInteractionTypes selector that can be used for reselecting interaction types by
17
17
  // id(s)
18
- var getInteractionType = exports.getInteractionType = function getInteractionType(state, id) {
18
+ var getInteractionType = function getInteractionType(state, id) {
19
19
  var interactionTypeData = state.getIn(['interactionTypes', id]) || (0, _immutable.Map)();
20
20
  var slug = interactionTypeData.get('slug');
21
21
  var IntTypeRecord = (0, _interactionTypeRecordForItem.default)(slug);
22
22
  return new IntTypeRecord(interactionTypeData);
23
23
  };
24
+ exports.getInteractionType = getInteractionType;
24
25
  var CacheHelper = (_dec = (0, _withStateCache.default)(function () {
25
26
  return [['interactionTypes']];
26
27
  }), _class = /*#__PURE__*/function () {
@@ -48,4 +49,5 @@ var CacheHelper = (_dec = (0, _withStateCache.default)(function () {
48
49
  var cacheHelper = new CacheHelper();
49
50
 
50
51
  // This is a hack to continue using withStateCache until we implement reselect
51
- var getInteractionTypes = exports.getInteractionTypes = cacheHelper.interactionTypes.bind(cacheHelper);
52
+ var getInteractionTypes = cacheHelper.interactionTypes.bind(cacheHelper);
53
+ exports.getInteractionTypes = getInteractionTypes;
@@ -13,7 +13,7 @@ var getQtiImports = function getQtiImports(state) {
13
13
  var getQtiImportById = function getQtiImportById(state, id) {
14
14
  return _QtiImport.default.create(state.getIn(['qtiImports', id]));
15
15
  };
16
- var getLatestQtiImportForParentWithType = exports.getLatestQtiImportForParentWithType = function getLatestQtiImportForParentWithType(state, parentId, parentType) {
16
+ var getLatestQtiImportForParentWithType = function getLatestQtiImportForParentWithType(state, parentId, parentType) {
17
17
  var allImports = getQtiImports(state);
18
18
  var importsForType = allImports.valueSeq().filter(function (qtiImport) {
19
19
  return qtiImport.get('parentId') === parentId && qtiImport.get('parentType') === parentType;
@@ -24,4 +24,5 @@ var getLatestQtiImportForParentWithType = exports.getLatestQtiImportForParentWit
24
24
  });
25
25
  var id = latestImport && latestImport.get('id');
26
26
  return getQtiImportById(state, id);
27
- };
27
+ };
28
+ exports.getLatestQtiImportForParentWithType = getLatestQtiImportForParentWithType;
@@ -4,8 +4,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.getQuizSessionResultById = getQuizSessionResultById;
8
7
  exports.getQuizSessionResultsByIds = getQuizSessionResultsByIds;
8
+ exports.getQuizSessionResultById = getQuizSessionResultById;
9
9
  var _immutable = require("immutable");
10
10
  var _QuizSessionResult = _interopRequireDefault(require("../records/QuizSessionResult.js"));
11
11
  function getQuizSessionResultsByIds(state) {
@@ -4,23 +4,26 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.isOneQuestionAtATime = exports.getQuizSessionsByIds = exports.getQuizSessionById = exports.getBacktrackingIsAllowed = exports.getActiveQuizSessionId = exports.getActiveQuizSession = void 0;
7
+ exports.isOneQuestionAtATime = exports.getBacktrackingIsAllowed = exports.getQuizSessionsByIds = exports.getQuizSessionById = exports.getActiveQuizSessionId = exports.getActiveQuizSession = void 0;
8
8
  var _reselect = require("reselect");
9
9
  var _QuizSession = _interopRequireDefault(require("../records/QuizSession.js"));
10
10
  var _immutable = require("immutable");
11
11
  // TODO: Use more reselect! Create a getQuizSessions selector that can be used for reselecting quiz sessions by id
12
12
 
13
13
  var path = 'quizSessions';
14
- var getActiveQuizSession = exports.getActiveQuizSession = function getActiveQuizSession(state) {
14
+ var getActiveQuizSession = function getActiveQuizSession(state) {
15
15
  return getQuizSessionById(state, getActiveQuizSessionId(state));
16
16
  };
17
- var getActiveQuizSessionId = exports.getActiveQuizSessionId = function getActiveQuizSessionId(state) {
17
+ exports.getActiveQuizSession = getActiveQuizSession;
18
+ var getActiveQuizSessionId = function getActiveQuizSessionId(state) {
18
19
  return state.getIn([path, 'activeQuizSessionId']);
19
20
  };
20
- var getQuizSessionById = exports.getQuizSessionById = function getQuizSessionById(state, id) {
21
+ exports.getActiveQuizSessionId = getActiveQuizSessionId;
22
+ var getQuizSessionById = function getQuizSessionById(state, id) {
21
23
  return _QuizSession.default.create(state.getIn([path, id]));
22
24
  };
23
- var getQuizSessionsByIds = exports.getQuizSessionsByIds = function getQuizSessionsByIds(state) {
25
+ exports.getQuizSessionById = getQuizSessionById;
26
+ var getQuizSessionsByIds = function getQuizSessionsByIds(state) {
24
27
  var ids = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
25
28
  return ids.reduce(function (list, id) {
26
29
  var quizSession = getQuizSessionById(state, id);
@@ -29,9 +32,12 @@ var getQuizSessionsByIds = exports.getQuizSessionsByIds = function getQuizSessio
29
32
  };
30
33
 
31
34
  // Reselect Selectors
32
- var getBacktrackingIsAllowed = exports.getBacktrackingIsAllowed = (0, _reselect.createSelector)(getActiveQuizSession, function (activeSession) {
35
+ exports.getQuizSessionsByIds = getQuizSessionsByIds;
36
+ var getBacktrackingIsAllowed = (0, _reselect.createSelector)(getActiveQuizSession, function (activeSession) {
33
37
  return activeSession && activeSession.get('allowBacktracking');
34
38
  });
35
- var isOneQuestionAtATime = exports.isOneQuestionAtATime = (0, _reselect.createSelector)(getActiveQuizSession, function (activeSession) {
39
+ exports.getBacktrackingIsAllowed = getBacktrackingIsAllowed;
40
+ var isOneQuestionAtATime = (0, _reselect.createSelector)(getActiveQuizSession, function (activeSession) {
36
41
  return activeSession && activeSession.get('oneAtATimeType') === 'question';
37
- });
42
+ });
43
+ exports.isOneQuestionAtATime = isOneQuestionAtATime;
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.isEditingQuizEntry = exports.isActiveQuizWorkingInstanceOneQuestionAtATime = exports.getTotalPointsPossible = exports.getTemporaryQuizEntry = exports.getQuizEntryWithErrorsShowing = exports.getQuizEntryById = exports.getQuizEntriesByQuizId = exports.getQuizEntriesByIds = exports.getQuizById = exports.getActiveQuizId = exports.getActiveQuizCaluclatorType = exports.getActiveQuiz = void 0;
7
+ exports.isEditingQuizEntry = exports.getQuizEntryWithErrorsShowing = exports.isActiveQuizWorkingInstanceOneQuestionAtATime = exports.getTemporaryQuizEntry = exports.getQuizEntryById = exports.getQuizEntriesByIds = exports.getQuizEntriesByQuizId = exports.getTotalPointsPossible = exports.getQuizById = exports.getActiveQuizCaluclatorType = exports.getActiveQuizId = exports.getActiveQuiz = void 0;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));
@@ -17,51 +17,61 @@ var _withStateCache = _interopRequireDefault(require("../util/withStateCache.js"
17
17
  var _reduxStore = _interopRequireDefault(require("../../reduxStore.js"));
18
18
  var _dec, _dec2, _class; // TODO: Use reselect! Create a getQuizzes selector that can be used for reselecting quizzes by id
19
19
  var path = 'quizzes';
20
- var getActiveQuiz = exports.getActiveQuiz = function getActiveQuiz(state) {
20
+ var getActiveQuiz = function getActiveQuiz(state) {
21
21
  return getQuizById(state, getActiveQuizId(state));
22
22
  };
23
- var getActiveQuizId = exports.getActiveQuizId = function getActiveQuizId(state) {
23
+ exports.getActiveQuiz = getActiveQuiz;
24
+ var getActiveQuizId = function getActiveQuizId(state) {
24
25
  // For some reason this could be defined in one or the other of these, or neither.
25
26
  return state.getIn([path, 'activeQuizId']) || (0, _quizSessions.getActiveQuizSession)(state) && (0, _quizSessions.getActiveQuizSession)(state).get('quiz');
26
27
  };
27
- var getActiveQuizCaluclatorType = exports.getActiveQuizCaluclatorType = function getActiveQuizCaluclatorType(state) {
28
+ exports.getActiveQuizId = getActiveQuizId;
29
+ var getActiveQuizCaluclatorType = function getActiveQuizCaluclatorType(state) {
28
30
  return state.getIn([path, getActiveQuizId(state), 'calculatorType']);
29
31
  };
30
- var getQuizById = exports.getQuizById = function getQuizById(state, id) {
32
+ exports.getActiveQuizCaluclatorType = getActiveQuizCaluclatorType;
33
+ var getQuizById = function getQuizById(state, id) {
31
34
  return _Quiz.default.create(state.getIn([path, id]));
32
35
  };
33
- var getTotalPointsPossible = exports.getTotalPointsPossible = function getTotalPointsPossible(state, quizId) {
36
+ exports.getQuizById = getQuizById;
37
+ var getTotalPointsPossible = function getTotalPointsPossible(state, quizId) {
34
38
  var quizEntries = getQuizEntriesByQuizId(state, quizId);
35
39
  return quizEntries.reduce(function (total, entry) {
36
40
  return total + (entry.isBank ? entry.bankPointsPossible : entry.pointsPossible);
37
41
  }, 0);
38
42
  };
39
- var getQuizEntriesByQuizId = exports.getQuizEntriesByQuizId = function getQuizEntriesByQuizId(state, quizId) {
43
+ exports.getTotalPointsPossible = getTotalPointsPossible;
44
+ var getQuizEntriesByQuizId = function getQuizEntriesByQuizId(state, quizId) {
40
45
  var quiz = getQuizById(state, quizId);
41
46
  return getQuizEntriesByIds(state, quiz.get('quizEntries', (0, _immutable.List)()));
42
47
  };
43
- var getQuizEntriesByIds = exports.getQuizEntriesByIds = function getQuizEntriesByIds(state) {
48
+ exports.getQuizEntriesByQuizId = getQuizEntriesByQuizId;
49
+ var getQuizEntriesByIds = function getQuizEntriesByIds(state) {
44
50
  var ids = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
45
51
  return ids.reduce(function (list, id) {
46
52
  var quizEntry = getQuizEntryById(state, id);
47
53
  return quizEntry ? list.push(quizEntry) : list;
48
54
  }, (0, _immutable.List)());
49
55
  };
50
- var getQuizEntryById = exports.getQuizEntryById = function getQuizEntryById(state, id) {
56
+ exports.getQuizEntriesByIds = getQuizEntriesByIds;
57
+ var getQuizEntryById = function getQuizEntryById(state, id) {
51
58
  if (id === _quizCommon.TEMPORARY_QUIZ_ENTRY_ID) {
52
59
  return getTemporaryQuizEntry(state);
53
60
  }
54
61
  return _QuizEntry.default.create(state.getIn(['quizEntries', id]));
55
62
  };
56
- var getTemporaryQuizEntry = exports.getTemporaryQuizEntry = function getTemporaryQuizEntry(state) {
63
+ exports.getQuizEntryById = getQuizEntryById;
64
+ var getTemporaryQuizEntry = function getTemporaryQuizEntry(state) {
57
65
  var temporaryQuizEntryData = state.getIn(['modifications', 'quizEntries', _quizCommon.TEMPORARY_QUIZ_ENTRY_ID], (0, _immutable.Map)({
58
66
  entry: _quizCommon.TEMPORARY_ITEM_ID
59
67
  }));
60
68
  return _QuizEntry.default.create(temporaryQuizEntryData);
61
69
  };
62
- var isActiveQuizWorkingInstanceOneQuestionAtATime = exports.isActiveQuizWorkingInstanceOneQuestionAtATime = function isActiveQuizWorkingInstanceOneQuestionAtATime(state) {
70
+ exports.getTemporaryQuizEntry = getTemporaryQuizEntry;
71
+ var isActiveQuizWorkingInstanceOneQuestionAtATime = function isActiveQuizWorkingInstanceOneQuestionAtATime(state) {
63
72
  return getActiveQuiz(state).getWorkingInstance().isOneQuestionAtATime();
64
73
  };
74
+ exports.isActiveQuizWorkingInstanceOneQuestionAtATime = isActiveQuizWorkingInstanceOneQuestionAtATime;
65
75
  var CacheHelper = (_dec = (0, _withStateCache.default)(function () {
66
76
  return [['quizEntries'], ['modifications', 'quizEntries'], ['modifications', 'items'], ['modifications', 'stimuli'], ['editing']];
67
77
  }), _dec2 = (0, _withStateCache.default)(function () {
@@ -111,5 +121,7 @@ var CacheHelper = (_dec = (0, _withStateCache.default)(function () {
111
121
  var cacheHelper = new CacheHelper();
112
122
 
113
123
  // This is a hack to continue using withStateCache until we implement reselect
114
- var getQuizEntryWithErrorsShowing = exports.getQuizEntryWithErrorsShowing = cacheHelper.quizEntryWithErrorsShowing.bind(cacheHelper);
115
- var isEditingQuizEntry = exports.isEditingQuizEntry = cacheHelper.editingQuizEntry.bind(cacheHelper);
124
+ var getQuizEntryWithErrorsShowing = cacheHelper.quizEntryWithErrorsShowing.bind(cacheHelper);
125
+ exports.getQuizEntryWithErrorsShowing = getQuizEntryWithErrorsShowing;
126
+ var isEditingQuizEntry = cacheHelper.editingQuizEntry.bind(cacheHelper);
127
+ exports.isEditingQuizEntry = isEditingQuizEntry;
@@ -3,10 +3,12 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.getRCEError = exports.getRCEConfig = void 0;
7
- var getRCEError = exports.getRCEError = function getRCEError(state) {
6
+ exports.getRCEConfig = exports.getRCEError = void 0;
7
+ var getRCEError = function getRCEError(state) {
8
8
  return state.getIn(['rce', 'rceError'], null);
9
9
  };
10
- var getRCEConfig = exports.getRCEConfig = function getRCEConfig(state) {
10
+ exports.getRCEError = getRCEError;
11
+ var getRCEConfig = function getRCEConfig(state) {
11
12
  return state.getIn(['rce', 'rceConfig'], null);
12
- };
13
+ };
14
+ exports.getRCEConfig = getRCEConfig;
@@ -10,10 +10,11 @@ var _ItemAnalysis = _interopRequireDefault(require("../records/ItemAnalysis.js")
10
10
  var getItemAnalysisById = function getItemAnalysisById(state, id) {
11
11
  return new _ItemAnalysis.default(state.getIn(['reporting', 'item_analysis', id]));
12
12
  };
13
- var getItemAnalysesByIds = exports.getItemAnalysesByIds = function getItemAnalysesByIds(state) {
13
+ var getItemAnalysesByIds = function getItemAnalysesByIds(state) {
14
14
  var ids = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
15
15
  return ids.reduce(function (list, id) {
16
16
  var itemAnalysis = getItemAnalysisById(state, id);
17
17
  return itemAnalysis ? list.push(itemAnalysis) : list;
18
18
  }, (0, _immutable.List)());
19
- };
19
+ };
20
+ exports.getItemAnalysesByIds = getItemAnalysesByIds;
@@ -4,9 +4,9 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.getGradingSessionItemResults = void 0;
8
- exports.getSessionItemResultById = getSessionItemResultById;
9
7
  exports.getSessionItemResultsByIds = getSessionItemResultsByIds;
8
+ exports.getSessionItemResultById = getSessionItemResultById;
9
+ exports.getGradingSessionItemResults = void 0;
10
10
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
11
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
12
12
  var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));
@@ -39,4 +39,5 @@ var CacheHelper = (_class = /*#__PURE__*/function () {
39
39
  var cacheHelper = new CacheHelper();
40
40
 
41
41
  // This is a hack to continue using withCachedArguments until we implement reselect
42
- var getGradingSessionItemResults = exports.getGradingSessionItemResults = cacheHelper.gradingSessionItemResults.bind(cacheHelper);
42
+ var getGradingSessionItemResults = cacheHelper.gradingSessionItemResults.bind(cacheHelper);
43
+ exports.getGradingSessionItemResults = getGradingSessionItemResults;
@@ -4,10 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.getGradingSessionItems = void 0;
8
7
  exports.getItemByPosition = getItemByPosition;
9
- exports.getSessionItemById = getSessionItemById;
10
8
  exports.getSessionItemsByIds = getSessionItemsByIds;
9
+ exports.getSessionItemById = getSessionItemById;
10
+ exports.getGradingSessionItems = void 0;
11
11
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
12
12
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
13
  var _applyDecoratedDescriptor2 = _interopRequireDefault(require("@babel/runtime/helpers/applyDecoratedDescriptor"));
@@ -50,4 +50,5 @@ var CacheHelper = (_class = /*#__PURE__*/function () {
50
50
  var cacheHelper = new CacheHelper();
51
51
 
52
52
  // This is a hack to continue using withCachedArguments until we implement reselect
53
- var getGradingSessionItems = exports.getGradingSessionItems = cacheHelper.gradingSessionItems.bind(cacheHelper);
53
+ var getGradingSessionItems = cacheHelper.gradingSessionItems.bind(cacheHelper);
54
+ exports.getGradingSessionItems = getGradingSessionItems;
@@ -4,27 +4,30 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.getIsTaking = exports.getCurrentSessionItemPosition = exports.getBrowserSessionId = void 0;
7
+ exports.isTimeUp = isTimeUp;
8
+ exports.getResponsesByIds = getResponsesByIds;
8
9
  exports.getResponseById = getResponseById;
9
10
  exports.getResponseDataByPosition = getResponseDataByPosition;
10
- exports.getResponsesByIds = getResponsesByIds;
11
- exports.getTimerData = void 0;
12
- exports.isTimeUp = isTimeUp;
11
+ exports.getIsTaking = exports.getTimerData = exports.getBrowserSessionId = exports.getCurrentSessionItemPosition = void 0;
13
12
  var _immutable = require("immutable");
14
13
  var _Response = _interopRequireDefault(require("../records/Response.js"));
15
14
  var path = 'taking';
16
- var getCurrentSessionItemPosition = exports.getCurrentSessionItemPosition = function getCurrentSessionItemPosition(state) {
15
+ var getCurrentSessionItemPosition = function getCurrentSessionItemPosition(state) {
17
16
  return state.getIn([path, 'currentSessionItemPosition'], 1);
18
17
  };
19
- var getBrowserSessionId = exports.getBrowserSessionId = function getBrowserSessionId(state) {
18
+ exports.getCurrentSessionItemPosition = getCurrentSessionItemPosition;
19
+ var getBrowserSessionId = function getBrowserSessionId(state) {
20
20
  return state.getIn([path, 'browserSessionId']);
21
21
  };
22
- var getTimerData = exports.getTimerData = function getTimerData(state) {
22
+ exports.getBrowserSessionId = getBrowserSessionId;
23
+ var getTimerData = function getTimerData(state) {
23
24
  return state.getIn([path, 'timerData'], (0, _immutable.Map)());
24
25
  };
25
- var getIsTaking = exports.getIsTaking = function getIsTaking(state) {
26
+ exports.getTimerData = getTimerData;
27
+ var getIsTaking = function getIsTaking(state) {
26
28
  return state.getIn([path, 'isTaking']);
27
29
  };
30
+ exports.getIsTaking = getIsTaking;
28
31
  function isTimeUp(state) {
29
32
  var timerRunning = state.getIn([path, 'timerData', 'timerRunning']);
30
33
  var noTimeLeft = state.getIn([path, 'timerData', 'timeLeftInSeconds']) <= 0;
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getActiveCalculatorId = void 0;
7
- var getActiveCalculatorId = exports.getActiveCalculatorId = function getActiveCalculatorId(state) {
7
+ var getActiveCalculatorId = function getActiveCalculatorId(state) {
8
8
  return state.getIn(['ui', 'activeCalculatorId'], null);
9
- };
9
+ };
10
+ exports.getActiveCalculatorId = getActiveCalculatorId;
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.default = exports.CustomPropTypes = void 0;
7
6
  exports.requireable = requireable;
7
+ exports.default = exports.CustomPropTypes = void 0;
8
8
  var _propTypes = require("prop-types");
9
9
  var selectors = _propTypes.PropTypes.oneOfType([_propTypes.PropTypes.string, _propTypes.PropTypes.arrayOf(_propTypes.PropTypes.string)]);
10
10
  var attemptHistory = _propTypes.PropTypes.arrayOf(_propTypes.PropTypes.shape({
@@ -58,11 +58,13 @@ function recordId(props, propName, componentName, location) {
58
58
  return new Error("Invalid ".concat(location, " `").concat(propName, "` supplied to `").concat(componentName, "`, must be a positive integer."));
59
59
  }
60
60
  }
61
- var CustomPropTypes = exports.CustomPropTypes = {
61
+ var CustomPropTypes = {
62
62
  attemptHistory: attemptHistory,
63
63
  higherOrderFunction: higherOrderFunction,
64
64
  numberInRange: numberInRange,
65
65
  recordId: recordId,
66
66
  selectors: selectors
67
67
  };
68
- var _default = exports.default = CustomPropTypes;
68
+ exports.CustomPropTypes = CustomPropTypes;
69
+ var _default = CustomPropTypes;
70
+ exports.default = _default;
@@ -4,8 +4,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.default = void 0;
8
7
  exports.elementsForSelectors = elementsForSelectors;
8
+ exports.default = void 0;
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  function elementsForSelectors(appContainer) {
11
11
  var selectors = Array.isArray(appContainer) ? appContainer : [appContainer];
@@ -14,4 +14,5 @@ function elementsForSelectors(appContainer) {
14
14
  }, []);
15
15
  return elements;
16
16
  }
17
- var _default = exports.default = elementsForSelectors;
17
+ var _default = elementsForSelectors;
18
+ exports.default = _default;
@@ -98,4 +98,5 @@ var ExhaustivePaginatedFetcher = function ExhaustivePaginatedFetcher() {
98
98
  }(SuperClass);
99
99
  return new ExhaustivePaginatedFetcher(args);
100
100
  };
101
- var _default = exports.default = ExhaustivePaginatedFetcher;
101
+ var _default = ExhaustivePaginatedFetcher;
102
+ exports.default = _default;
@@ -31,7 +31,7 @@ function FetcherError(response) {
31
31
  }
32
32
  FetcherError.prototype = Object.create(Error.prototype);
33
33
  FetcherError.prototype.constructor = FetcherError;
34
- var Fetcher = exports.Fetcher = /*#__PURE__*/function () {
34
+ var Fetcher = /*#__PURE__*/function () {
35
35
  function Fetcher() {
36
36
  var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
37
37
  callType = _ref.callType,
@@ -392,4 +392,6 @@ var Fetcher = exports.Fetcher = /*#__PURE__*/function () {
392
392
  }]);
393
393
  return Fetcher;
394
394
  }();
395
- var _default = exports.default = Fetcher;
395
+ exports.Fetcher = Fetcher;
396
+ var _default = Fetcher;
397
+ exports.default = _default;
@@ -10,7 +10,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
10
10
  // Class that acts like a WeakMap, except the key consists of an
11
11
  // array of multiple objects, instead of being just a single object.
12
12
  // Intended to allow caching of methods which take more than one argument.
13
- var MultiWeakMap = exports.default = /*#__PURE__*/function () {
13
+ var MultiWeakMap = /*#__PURE__*/function () {
14
14
  function MultiWeakMap(numKeys) {
15
15
  (0, _classCallCheck2.default)(this, MultiWeakMap);
16
16
  if (typeof numKeys !== 'number') {
@@ -63,4 +63,5 @@ var MultiWeakMap = exports.default = /*#__PURE__*/function () {
63
63
  }
64
64
  }]);
65
65
  return MultiWeakMap;
66
- }();
66
+ }();
67
+ exports.default = MultiWeakMap;
@@ -18,7 +18,7 @@ var _map = _interopRequireDefault(require("lodash/map"));
18
18
  var _omit = _interopRequireDefault(require("lodash/omit"));
19
19
  var _Fetcher2 = _interopRequireDefault(require("./Fetcher.js"));
20
20
  var _jsonify = _interopRequireDefault(require("./jsonify.js"));
21
- var PaginatedFetcher = exports.PaginatedFetcher = /*#__PURE__*/function (_Fetcher) {
21
+ var PaginatedFetcher = /*#__PURE__*/function (_Fetcher) {
22
22
  (0, _inherits2.default)(PaginatedFetcher, _Fetcher);
23
23
  var _super = (0, _createSuper2.default)(PaginatedFetcher);
24
24
  function PaginatedFetcher() {
@@ -78,4 +78,6 @@ var PaginatedFetcher = exports.PaginatedFetcher = /*#__PURE__*/function (_Fetche
78
78
  }]);
79
79
  return PaginatedFetcher;
80
80
  }(_Fetcher2.default);
81
- var _default = exports.default = PaginatedFetcher;
81
+ exports.PaginatedFetcher = PaginatedFetcher;
82
+ var _default = PaginatedFetcher;
83
+ exports.default = _default;
@@ -35,7 +35,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
35
35
  * processed in sequence with optimistic UI updates, and want to reset the UI
36
36
  * to match backend state if a request fails.
37
37
  */
38
- var ThunkQueue = exports.default = /*#__PURE__*/function () {
38
+ var ThunkQueue = /*#__PURE__*/function () {
39
39
  function ThunkQueue() {
40
40
  var errorHandler = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : null;
41
41
  (0, _classCallCheck2.default)(this, ThunkQueue);
@@ -129,4 +129,5 @@ var ThunkQueue = exports.default = /*#__PURE__*/function () {
129
129
  }()
130
130
  }]);
131
131
  return ThunkQueue;
132
- }();
132
+ }();
133
+ exports.default = ThunkQueue;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = exports.TimeRecordingService = void 0;
8
8
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
- var TimeRecordingService = exports.TimeRecordingService = /*#__PURE__*/function () {
10
+ var TimeRecordingService = /*#__PURE__*/function () {
11
11
  function TimeRecordingService(recordQuizTime, updateTimerInfo) {
12
12
  var _this = this;
13
13
  (0, _classCallCheck2.default)(this, TimeRecordingService);
@@ -64,4 +64,6 @@ var TimeRecordingService = exports.TimeRecordingService = /*#__PURE__*/function
64
64
  }]);
65
65
  return TimeRecordingService;
66
66
  }();
67
- var _default = exports.default = TimeRecordingService;
67
+ exports.TimeRecordingService = TimeRecordingService;
68
+ var _default = TimeRecordingService;
69
+ exports.default = _default;
@@ -9,8 +9,9 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
11
11
  var _reduxStore = _interopRequireDefault(require("../../reduxStore.js"));
12
- var MAX_SETTIMEOUT_IN_MILLISECONDS = exports.MAX_SETTIMEOUT_IN_MILLISECONDS = 20 * 24 * 3600 * 1000; // ms of 20 days
13
- var TimerService = exports.TimerService = /*#__PURE__*/function () {
12
+ var MAX_SETTIMEOUT_IN_MILLISECONDS = 20 * 24 * 3600 * 1000; // ms of 20 days
13
+ exports.MAX_SETTIMEOUT_IN_MILLISECONDS = MAX_SETTIMEOUT_IN_MILLISECONDS;
14
+ var TimerService = /*#__PURE__*/function () {
14
15
  function TimerService(getTimeRemaining, updateTimeRemaining, getTimerData, submitQuiz, alert, setWsToken) {
15
16
  var _this = this;
16
17
  (0, _classCallCheck2.default)(this, TimerService);
@@ -166,4 +167,6 @@ var TimerService = exports.TimerService = /*#__PURE__*/function () {
166
167
  }]);
167
168
  return TimerService;
168
169
  }();
169
- var _default = exports.default = TimerService;
170
+ exports.TimerService = TimerService;
171
+ var _default = TimerService;
172
+ exports.default = _default;