@instructure/quiz-core 20.20.1-rc.2 → 20.20.1-snapshot.12

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 (1395) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/es/banks/api/bankEntries.js +5 -14
  3. package/es/banks/api/banks.js +12 -24
  4. package/es/banks/api/copyingBanksPoller.js +6 -14
  5. package/es/banks/api/tagAssociations.js +4 -14
  6. package/es/banks/components/AddBankEntryModal/index.js +0 -3
  7. package/es/banks/components/AddBankEntryModal/presenter.js +0 -17
  8. package/es/banks/components/AddToBankModal/presenter.js +12 -48
  9. package/es/banks/components/AsyncSearch/index.js +8 -62
  10. package/es/banks/components/Bank/presenter.js +18 -69
  11. package/es/banks/components/Bank/styles.js +0 -2
  12. package/es/banks/components/Bank/theme.js +2 -3
  13. package/es/banks/components/BankEntriesList/presenter.js +5 -16
  14. package/es/banks/components/BankEntriesList/styles.js +0 -1
  15. package/es/banks/components/BankEntriesList/theme.js +0 -1
  16. package/es/banks/components/BankEntry/index.js +0 -5
  17. package/es/banks/components/BankEntry/presenter.js +25 -110
  18. package/es/banks/components/BankEntry/styles.js +0 -2
  19. package/es/banks/components/BankEntry/theme.js +3 -4
  20. package/es/banks/components/BankEntryRow/BankEntryRow.examples.js +0 -2
  21. package/es/banks/components/BankEntryRow/index.js +0 -5
  22. package/es/banks/components/BankEntryRow/presenter.js +11 -39
  23. package/es/banks/components/BankEntryRow/styles.js +0 -1
  24. package/es/banks/components/BankEntryRow/theme.js +3 -4
  25. package/es/banks/components/BankSearch/index.js +0 -2
  26. package/es/banks/components/BankSearch/presenter.js +13 -31
  27. package/es/banks/components/BankSearch/styles.js +0 -1
  28. package/es/banks/components/BankSearch/theme.js +0 -1
  29. package/es/banks/components/Banks/index.js +0 -3
  30. package/es/banks/components/Banks/presenter.js +15 -65
  31. package/es/banks/components/Banks/styles.js +0 -1
  32. package/es/banks/components/Banks/theme.js +2 -3
  33. package/es/banks/components/BanksList/presenter.js +10 -63
  34. package/es/banks/components/BanksList/styles.js +0 -1
  35. package/es/banks/components/BanksList/theme.js +3 -4
  36. package/es/banks/components/CopyMoveBankEntryModal/presenter.js +2 -29
  37. package/es/banks/components/CreateBankModal/index.js +0 -3
  38. package/es/banks/components/CreateBankModal/presenter.js +5 -31
  39. package/es/banks/components/CreateBankModal/styles.js +0 -1
  40. package/es/banks/components/CreateBankModal/theme.js +1 -2
  41. package/es/banks/components/EditBankModal/index.js +0 -3
  42. package/es/banks/components/EditBankModal/presenter.js +5 -25
  43. package/es/banks/components/EditBankModal/styles.js +0 -1
  44. package/es/banks/components/EditBankModal/theme.js +1 -2
  45. package/es/banks/components/HeaderBreadCrumb/index.js +9 -19
  46. package/es/banks/components/HeaderMenu/index.js +0 -3
  47. package/es/banks/components/HeaderMenu/presenter.js +5 -15
  48. package/es/banks/components/HeaderMenu/styles.js +0 -1
  49. package/es/banks/components/HeaderMenu/theme.js +1 -2
  50. package/es/banks/components/NavWrapper/index.js +0 -2
  51. package/es/banks/components/NavWrapper/presenter.js +9 -25
  52. package/es/banks/components/NavWrapper/styles.js +0 -2
  53. package/es/banks/components/NavWrapper/theme.js +4 -5
  54. package/es/banks/components/SharingModal/ContextualIconButton/index.js +1 -14
  55. package/es/banks/components/SharingModal/RootAccountSharing.js +5 -18
  56. package/es/banks/components/SharingModal/ShareList/index.js +7 -24
  57. package/es/banks/components/SharingModal/ShareList/styles.js +0 -1
  58. package/es/banks/components/SharingModal/index.js +0 -2
  59. package/es/banks/components/SharingModal/presenter.js +27 -92
  60. package/es/banks/components/SharingModal/styles.js +0 -1
  61. package/es/banks/components/SharingModal/theme.js +2 -3
  62. package/es/building/api/items.js +14 -32
  63. package/es/building/api/qtiImports.js +4 -13
  64. package/es/building/api/quizEntries.js +26 -32
  65. package/es/building/api/quizzes.js +27 -22
  66. package/es/building/api/stimuli.js +6 -3
  67. package/es/building/components/QTIImportModal/index.js +2 -1
  68. package/es/building/components/layout/Sidebar/Sidebar.examples.js +2 -20
  69. package/es/building/components/layout/Sidebar/SidebarItem/index.js +2 -2
  70. package/es/building/components/layout/Sidebar/SidebarItem/presenter.js +17 -28
  71. package/es/building/components/layout/Sidebar/SidebarItem/styles.js +1 -4
  72. package/es/building/components/layout/Sidebar/SidebarItem/theme.js +0 -1
  73. package/es/building/components/layout/Sidebar/Stimulus/index.js +2 -3
  74. package/es/building/components/layout/Sidebar/Stimulus/presenter.js +15 -26
  75. package/es/building/components/layout/Sidebar/Stimulus/styles.js +1 -4
  76. package/es/building/components/layout/Sidebar/Stimulus/theme.js +0 -1
  77. package/es/building/components/layout/Sidebar/index.js +3 -3
  78. package/es/building/components/layout/Sidebar/presenter.js +11 -38
  79. package/es/building/components/layout/Sidebar/styles.js +0 -2
  80. package/es/building/components/layout/Sidebar/theme.js +0 -1
  81. package/es/building/components/layout/header/BuildingButtons/index.js +0 -2
  82. package/es/building/components/layout/header/BuildingButtons/presenter.js +7 -52
  83. package/es/building/components/layout/header/BuildingButtons/styles.js +0 -2
  84. package/es/building/components/layout/header/BuildingButtons/theme.js +2 -3
  85. package/es/building/components/resources/ActionButtons/index.js +0 -3
  86. package/es/building/components/resources/ActionButtons/presenter.js +5 -22
  87. package/es/building/components/resources/ActionButtons/styles.js +0 -3
  88. package/es/building/components/resources/ActionButtons/theme.js +1 -2
  89. package/es/building/components/resources/AddToBankOptions/index.js +6 -25
  90. package/es/building/components/resources/AddToBankOptions/styles.js +0 -1
  91. package/es/building/components/resources/AddToBankOptions/theme.js +1 -2
  92. package/es/building/components/resources/BanksTray/index.js +0 -2
  93. package/es/building/components/resources/BanksTray/presenter.js +2 -26
  94. package/es/building/components/resources/DeleteStimulusModal/index.js +3 -7
  95. package/es/building/components/resources/DeleteStimulusModal/presenter.js +13 -44
  96. package/es/building/components/resources/DeleteStimulusModal/styles.js +0 -1
  97. package/es/building/components/resources/DeleteStimulusModal/theme.js +1 -2
  98. package/es/building/components/resources/ItemFeedbackModal/index.js +0 -2
  99. package/es/building/components/resources/ItemFeedbackModal/presenter.js +5 -24
  100. package/es/building/components/resources/ItemFeedbackModal/styles.js +0 -1
  101. package/es/building/components/resources/ItemFeedbackModal/theme.js +0 -1
  102. package/es/building/components/resources/MoveImmutableModal/index.js +5 -8
  103. package/es/building/components/resources/MoveImmutableModal/presenter.js +4 -17
  104. package/es/building/components/resources/quiz/editButton/EditButton.js +0 -12
  105. package/es/building/components/resources/quiz/instructions/Edit/index.js +0 -2
  106. package/es/building/components/resources/quiz/instructions/Edit/presenter.js +4 -13
  107. package/es/building/components/resources/quiz/instructions/Edit/styles.js +0 -1
  108. package/es/building/components/resources/quiz/instructions/Instructions/index.js +0 -2
  109. package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +16 -41
  110. package/es/building/components/resources/quiz/instructions/Instructions/styles.js +0 -2
  111. package/es/building/components/resources/quiz/instructions/Instructions/theme.js +2 -2
  112. package/es/building/components/resources/quiz/instructions/Show/index.js +10 -17
  113. package/es/building/components/resources/quiz/instructions/Show/styles.js +0 -1
  114. package/es/building/components/resources/quiz/instructions/Show/theme.js +2 -2
  115. package/es/building/components/resources/quiz/title/Edit/index.js +12 -25
  116. package/es/building/components/resources/quiz/title/Edit/styles.js +0 -2
  117. package/es/building/components/resources/quiz/title/Edit/theme.js +3 -4
  118. package/es/building/components/resources/quiz/title/Show/index.js +5 -17
  119. package/es/building/components/resources/quiz/title/Show/styles.js +0 -1
  120. package/es/building/components/resources/quiz/title/Show/theme.js +0 -1
  121. package/es/building/components/resources/quiz/title/Title/index.js +0 -2
  122. package/es/building/components/resources/quiz/title/Title/presenter.js +16 -34
  123. package/es/building/components/resources/quiz/title/Title/styles.js +0 -2
  124. package/es/building/components/resources/quiz/title/Title/theme.js +3 -3
  125. package/es/building/components/resources/quizEntry/QuizEntry/index.js +0 -2
  126. package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +10 -43
  127. package/es/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +0 -9
  128. package/es/building/components/resources/quizEntry/QuizEntry/styles.js +0 -2
  129. package/es/building/components/resources/quizEntry/QuizEntry/theme.js +3 -4
  130. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +5 -35
  131. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +0 -1
  132. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -4
  133. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +6 -17
  134. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +0 -1
  135. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +3 -4
  136. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +2 -4
  137. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +17 -44
  138. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +0 -3
  139. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +3 -4
  140. package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +12 -60
  141. package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +0 -2
  142. package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -3
  143. package/es/building/components/resources/quizEntry/QuizEntryEdit/index.js +0 -3
  144. package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +27 -91
  145. package/es/building/components/resources/quizEntry/QuizEntryEdit/styles.js +0 -2
  146. package/es/building/components/resources/quizEntry/QuizEntryEdit/theme.js +3 -4
  147. package/es/building/components/resources/quizEntry/QuizEntryShow/index.js +0 -2
  148. package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +23 -53
  149. package/es/building/components/resources/quizEntry/QuizEntryShow/styles.js +0 -2
  150. package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +4 -5
  151. package/es/common/actions/alerts.js +7 -7
  152. package/es/common/actions/modifications.js +37 -16
  153. package/es/common/actions/quizSessions.js +3 -13
  154. package/es/common/actions/rce.js +3 -2
  155. package/es/common/actions/taking.js +6 -4
  156. package/es/common/api/callHandlers.js +9 -13
  157. package/es/common/api/camelizeHelpers.js +6 -6
  158. package/es/common/api/features.js +0 -2
  159. package/es/common/api/fileUpload.js +3 -2
  160. package/es/common/api/getPersistenceActions.js +21 -23
  161. package/es/common/api/helpers.js +10 -29
  162. package/es/common/api/quizSessions.js +21 -26
  163. package/es/common/api/quizzes.js +3 -2
  164. package/es/common/api/schema.js +6 -4
  165. package/es/common/components/ApiFeatureFlagInitializer/index.js +0 -4
  166. package/es/common/components/ConfirmationModal/index.js +0 -3
  167. package/es/common/components/ConfirmationModal/presenter.js +9 -22
  168. package/es/common/components/ImportModal/ImportFileSelector/index.js +7 -18
  169. package/es/common/components/ImportModal/ImportFileSelector/styles.js +0 -1
  170. package/es/common/components/ImportModal/ImportFileSelector/theme.js +2 -3
  171. package/es/common/components/ImportModal/index.js +8 -8
  172. package/es/common/components/ImportModal/presenter.js +12 -59
  173. package/es/common/components/ImportModal/styles.js +0 -1
  174. package/es/common/components/ImportModal/theme.js +0 -1
  175. package/es/common/components/LearnosityCalculator/index.js +1 -20
  176. package/es/common/components/Pin/presenter.js +0 -10
  177. package/es/common/components/PreviewFrame/examples.config.js +0 -2
  178. package/es/common/components/PreviewFrame/index.js +0 -7
  179. package/es/common/components/PrintFontSizeModal/presenter.js +15 -25
  180. package/es/common/components/PrintFontSizeModal/styles.js +0 -1
  181. package/es/common/components/PrintFontSizeModal/theme.js +2 -3
  182. package/es/common/components/RceConfigProvider/index.js +0 -2
  183. package/es/common/components/RceConfigProvider/presenter.js +22 -50
  184. package/es/common/components/RceConfigProvider/rceConfigErrorHandler.js +0 -6
  185. package/es/common/components/RceConfigProvider/rceConfigFetcher.js +1 -10
  186. package/es/common/components/RceConfigProvider/rceConfigMapper.js +3 -9
  187. package/es/common/components/SDKApp/index.js +12 -39
  188. package/es/common/components/SDKApp/styles.js +0 -1
  189. package/es/common/components/SDKHeaderCalculator.js +1 -1
  190. package/es/common/components/SDKTimer.js +1 -1
  191. package/es/common/components/alerts/index.js +0 -2
  192. package/es/common/components/alerts/presenter.js +5 -21
  193. package/es/common/components/alerts/styles.js +0 -2
  194. package/es/common/components/alerts/theme.js +1 -2
  195. package/es/common/components/layout/Page/index.js +5 -12
  196. package/es/common/components/layout/Page/styles.js +0 -2
  197. package/es/common/components/layout/Page/theme.js +2 -3
  198. package/es/common/components/layout/header/Calculator/index.js +0 -2
  199. package/es/common/components/layout/header/Calculator/presenter.js +2 -12
  200. package/es/common/components/layout/header/HeaderMenuButton/presenter.js +6 -23
  201. package/es/common/components/layout/header/HeaderMenuButton/styles.js +0 -2
  202. package/es/common/components/layout/header/HeaderMenuButton/theme.js +2 -3
  203. package/es/common/components/layout/header/Timer/index.js +0 -3
  204. package/es/common/components/layout/header/Timer/presenter.js +9 -34
  205. package/es/common/components/layout/header/Timer/styles.js +0 -1
  206. package/es/common/components/layout/header/Timer/theme.js +3 -4
  207. package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +4 -11
  208. package/es/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -1
  209. package/es/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -1
  210. package/es/common/components/layout/navbar/index.js +5 -25
  211. package/es/common/components/layout/navbar/styles.js +0 -1
  212. package/es/common/components/layout/navbar/theme.js +1 -2
  213. package/es/common/components/layout/sidebar/PositionSummary/index.js +4 -11
  214. package/es/common/components/layout/sidebar/PositionSummary/styles.js +0 -1
  215. package/es/common/components/layout/sidebar/PositionSummary/theme.js +3 -4
  216. package/es/common/components/layout/sidebar/Sidebar/Pin.js +3 -11
  217. package/es/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +0 -3
  218. package/es/common/components/layout/sidebar/Sidebar/index.js +16 -53
  219. package/es/common/components/layout/sidebar/Sidebar/styles.js +0 -4
  220. package/es/common/components/layout/sidebar/Sidebar/theme.js +5 -7
  221. package/es/common/components/layout/sidebar/SidebarItem/presenter.js +22 -39
  222. package/es/common/components/layout/sidebar/SidebarItem/styles.js +0 -2
  223. package/es/common/components/layout/sidebar/SidebarItem/theme.js +3 -4
  224. package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +12 -27
  225. package/es/common/components/layout/sidebar/Stimulus/Collection/styles.js +0 -2
  226. package/es/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -3
  227. package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +10 -32
  228. package/es/common/components/layout/sidebar/Stimulus/Summary/styles.js +0 -1
  229. package/es/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -3
  230. package/es/common/components/layout/sidebar/Stimulus/Title/index.js +4 -13
  231. package/es/common/components/layout/sidebar/Stimulus/Title/styles.js +0 -1
  232. package/es/common/components/layout/sidebar/Stimulus/index.js +0 -2
  233. package/es/common/components/layout/sidebar/Stimulus/presenter.js +16 -33
  234. package/es/common/components/layout/sidebar/Stimulus/styles.js +0 -1
  235. package/es/common/components/layout/sidebar/Stimulus/theme.js +3 -4
  236. package/es/common/components/resources/BankSelection/presenter.js +6 -36
  237. package/es/common/components/resources/WarningWrapper/index.js +5 -16
  238. package/es/common/components/resources/WarningWrapper/styles.js +0 -1
  239. package/es/common/components/resources/WarningWrapper/theme.js +2 -3
  240. package/es/common/components/resources/entry/EntrySave/presenter.js +8 -54
  241. package/es/common/components/resources/item/ItemEdit/index.js +2 -4
  242. package/es/common/components/resources/item/ItemEdit/presenter.js +8 -28
  243. package/es/common/components/resources/item/ItemOverride/index.js +0 -2
  244. package/es/common/components/resources/item/ItemOverride/presenter.js +0 -9
  245. package/es/common/components/resources/item/ItemShow/index.js +0 -7
  246. package/es/common/components/resources/positionBox/PositionBox.js +5 -12
  247. package/es/common/components/resources/positionBox/styles.js +0 -2
  248. package/es/common/components/resources/positionBox/theme.js +2 -3
  249. package/es/common/components/resources/quiz/AddContent/Body/index.js +0 -2
  250. package/es/common/components/resources/quiz/AddContent/Body/presenter.js +15 -33
  251. package/es/common/components/resources/quiz/AddContent/Body/styles.js +0 -4
  252. package/es/common/components/resources/quiz/AddContent/Body/theme.js +4 -5
  253. package/es/common/components/resources/quiz/AddContent/Button/index.js +5 -16
  254. package/es/common/components/resources/quiz/AddContent/Button/styles.js +0 -2
  255. package/es/common/components/resources/quiz/AddContent/Button/theme.js +4 -5
  256. package/es/common/components/resources/quiz/AddContent/Modal/index.js +5 -8
  257. package/es/common/components/resources/quiz/AddContent/Modal/presenter.js +0 -5
  258. package/es/common/components/resources/quiz/AddContent/Popover/index.js +1 -4
  259. package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +5 -23
  260. package/es/common/components/resources/quiz/AddContent/Popover/styles.js +0 -1
  261. package/es/common/components/resources/quiz/AddContent/Popover/theme.js +1 -2
  262. package/es/common/components/resources/quiz/info/QuizInfo.js +0 -5
  263. package/es/common/components/resources/quiz/instructions/Instructions.js +4 -13
  264. package/es/common/components/resources/quiz/instructions/styles.js +0 -1
  265. package/es/common/components/resources/quiz/instructions/theme.js +1 -2
  266. package/es/common/components/resources/quiz/title/Title.js +4 -12
  267. package/es/common/components/resources/quiz/title/styles.js +0 -1
  268. package/es/common/components/resources/quiz/title/theme.js +1 -2
  269. package/es/common/components/resources/quizSessionResult/Header/index.js +5 -17
  270. package/es/common/components/resources/quizSessionResult/Header/styles.js +0 -1
  271. package/es/common/components/resources/quizSessionResult/Header/theme.js +1 -2
  272. package/es/common/components/resources/quizSessionResult/Info/index.js +11 -28
  273. package/es/common/components/resources/quizSessionResult/Info/styles.js +0 -2
  274. package/es/common/components/resources/quizSessionResult/Info/theme.js +1 -2
  275. package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +4 -13
  276. package/es/common/components/resources/sessionItemResult/ResultStimulus/styles.js +0 -2
  277. package/es/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -5
  278. package/es/common/components/resources/sessionItemResult/SessionItemResult/index.js +0 -2
  279. package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +9 -32
  280. package/es/common/components/resources/sessionItemResult/SessionItemResult/styles.js +0 -2
  281. package/es/common/components/resources/sessionItemResult/SessionItemResult/theme.js +3 -4
  282. package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +5 -18
  283. package/es/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +0 -1
  284. package/es/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +3 -4
  285. package/es/common/components/resources/stimulus/Stimulus/index.js +0 -3
  286. package/es/common/components/resources/stimulus/Stimulus/presenter.js +9 -23
  287. package/es/common/components/resources/stimulus/Stimulus/styles.js +1 -5
  288. package/es/common/components/resources/stimulus/Stimulus/theme.js +3 -4
  289. package/es/common/components/resources/stimulus/StimulusEdit/index.js +0 -3
  290. package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +18 -90
  291. package/es/common/components/resources/stimulus/StimulusEdit/styles.js +0 -1
  292. package/es/common/components/resources/stimulus/StimulusEdit/theme.js +2 -3
  293. package/es/common/components/resources/stimulus/StimulusEditInfo/index.js +0 -3
  294. package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +5 -27
  295. package/es/common/components/resources/stimulus/StimulusEditInfo/styles.js +0 -1
  296. package/es/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -3
  297. package/es/common/components/resources/stimulus/StimulusShow/index.js +5 -19
  298. package/es/common/components/resources/stimulus/StimulusShow/styles.js +0 -1
  299. package/es/common/components/resources/stimulus/StimulusShow/theme.js +2 -3
  300. package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +0 -7
  301. package/es/common/components/shared/Card/CardContent/index.js +5 -12
  302. package/es/common/components/shared/Card/CardContent/styles.js +0 -2
  303. package/es/common/components/shared/Card/CardContent/theme.js +4 -5
  304. package/es/common/components/shared/Card/CardWrapper/index.js +5 -12
  305. package/es/common/components/shared/Card/CardWrapper/styles.js +0 -2
  306. package/es/common/components/shared/Card/CardWrapper/theme.js +2 -3
  307. package/es/common/components/shared/Card/index.js +3 -4
  308. package/es/common/components/shared/ExpandButton/index.js +4 -11
  309. package/es/common/components/shared/ExpandButton/styles.js +0 -2
  310. package/es/common/components/shared/ExpandButton/theme.js +0 -1
  311. package/es/common/components/shared/FormattedDuration/index.js +4 -12
  312. package/es/common/components/shared/IfFeature/presenter.js +0 -6
  313. package/es/common/components/shared/InteractionTypes/index.js +0 -2
  314. package/es/common/components/shared/InteractionTypes/presenter.js +7 -23
  315. package/es/common/components/shared/InteractionTypes/styles.js +0 -1
  316. package/es/common/components/shared/InteractionTypes/theme.js +2 -3
  317. package/es/common/components/shared/PaginatedCollection/presenter.js +11 -36
  318. package/es/common/components/shared/PaginatedCollection/styles.js +0 -1
  319. package/es/common/components/shared/PaginatedCollection/theme.js +2 -3
  320. package/es/common/components/shared/Paginator/index.js +5 -15
  321. package/es/common/components/shared/Paginator/styles.js +0 -1
  322. package/es/common/components/shared/Paginator/theme.js +0 -1
  323. package/es/common/components/shared/PrintTrigger/index.js +0 -2
  324. package/es/common/components/shared/PrintTrigger/presenter.js +3 -25
  325. package/es/common/components/shared/TagDisplay/index.js +5 -13
  326. package/es/common/components/shared/TagDisplay/styles.js +0 -1
  327. package/es/common/components/shared/TagSelect/presenter.js +11 -43
  328. package/es/common/components/shared/TagSuggestSelect/index.js +0 -3
  329. package/es/common/components/shared/TagSuggestSelect/presenter.js +7 -18
  330. package/es/common/components/shared/TagWrapper/presenter.js +3 -13
  331. package/es/common/components/shared/TimeUnitsInput/index.js +23 -52
  332. package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +12 -24
  333. package/es/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +0 -2
  334. package/es/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -3
  335. package/es/common/components/shared/drag_and_drop/DragHandle/presenter.js +15 -50
  336. package/es/common/components/shared/drag_and_drop/dragAndDropUtils.js +21 -63
  337. package/es/common/components/shared/errors/Errors.js +5 -18
  338. package/es/common/components/shared/errors/styles.js +0 -1
  339. package/es/common/components/shared/errors/theme.js +1 -2
  340. package/es/common/components/shared/file_selector/FileSelector.js +5 -13
  341. package/es/common/components/shared/file_selector/styles.js +0 -1
  342. package/es/common/components/shared/file_selector/theme.js +2 -3
  343. package/es/common/components/shared/functionality/componentWithOutsideClick.js +0 -12
  344. package/es/common/components/shared/functionality/componentWithOutsideClickEmotion.js +6 -11
  345. package/es/common/components/shared/functionality/disableDraggingOverride.js +0 -1
  346. package/es/common/components/shared/functionality/makeEditable.js +15 -32
  347. package/es/common/components/shared/functionality/makeScrollable.js +9 -25
  348. package/es/common/components/shared/overlay/index.js +10 -20
  349. package/es/common/components/shared/overlay/styles.js +0 -2
  350. package/es/common/components/shared/overlay/theme.js +2 -3
  351. package/es/common/components/shared/return_button/ReturnButton.js +0 -7
  352. package/es/common/components/shared/spinner/Spinner.js +11 -20
  353. package/es/common/components/shared/spinner/styles.js +0 -1
  354. package/es/common/kinesis/QuizEventsLogger.js +14 -33
  355. package/es/common/kinesis/StreamQueue.js +6 -27
  356. package/es/common/kinesis/client.js +1 -3
  357. package/es/common/kinesis/config.js +2 -2
  358. package/es/common/kinesis/eventTypes.js +4 -4
  359. package/es/common/middleware/alertTimerMiddleware.js +2 -6
  360. package/es/common/middleware/crossDomainMessagingMiddleware.js +0 -3
  361. package/es/common/middleware/eventLoggerMiddleware.js +0 -5
  362. package/es/common/middleware/persistedStorageMiddleware.js +0 -7
  363. package/es/common/middleware/quizTimerWebSocketMiddleware.js +0 -11
  364. package/es/common/react-redux.js +0 -2
  365. package/es/common/records/Alert.js +0 -4
  366. package/es/common/records/Bank.js +0 -5
  367. package/es/common/records/BankEntry.js +0 -8
  368. package/es/common/records/Item.js +2 -9
  369. package/es/common/records/ItemAnalysis.js +0 -5
  370. package/es/common/records/QtiImport.js +0 -7
  371. package/es/common/records/Quiz.js +4 -13
  372. package/es/common/records/QuizAnalysis.js +0 -5
  373. package/es/common/records/QuizEntry.js +10 -57
  374. package/es/common/records/QuizSession.js +0 -10
  375. package/es/common/records/QuizSessionEvent.js +0 -5
  376. package/es/common/records/QuizSessionResult.js +0 -5
  377. package/es/common/records/Response.js +0 -5
  378. package/es/common/records/SessionItem.js +2 -13
  379. package/es/common/records/SessionItemResult.js +0 -5
  380. package/es/common/records/Stimulus.js +0 -5
  381. package/es/common/records/baseRecord.js +0 -11
  382. package/es/common/records/reduxRecord.js +0 -5
  383. package/es/common/reducers/alerts.js +0 -3
  384. package/es/common/reducers/analyses.js +0 -9
  385. package/es/common/reducers/bankEntries.js +0 -5
  386. package/es/common/reducers/bankSearch.js +4 -9
  387. package/es/common/reducers/banks.js +1 -13
  388. package/es/common/reducers/calls.js +0 -3
  389. package/es/common/reducers/config.js +0 -4
  390. package/es/common/reducers/dragAndDrop.js +0 -2
  391. package/es/common/reducers/editing.js +0 -1
  392. package/es/common/reducers/errorsShowing.js +0 -4
  393. package/es/common/reducers/features.js +0 -3
  394. package/es/common/reducers/grading.js +0 -4
  395. package/es/common/reducers/interactionTypes.js +0 -4
  396. package/es/common/reducers/items.js +0 -4
  397. package/es/common/reducers/modal.js +0 -6
  398. package/es/common/reducers/moderation.js +0 -3
  399. package/es/common/reducers/modifications.js +6 -38
  400. package/es/common/reducers/outcomes.js +0 -5
  401. package/es/common/reducers/printing.js +0 -2
  402. package/es/common/reducers/qtiImports.js +0 -5
  403. package/es/common/reducers/quizEntries.js +28 -39
  404. package/es/common/reducers/quizExport.js +0 -2
  405. package/es/common/reducers/quizSessionEvents.js +0 -5
  406. package/es/common/reducers/quizSessionResults.js +0 -4
  407. package/es/common/reducers/quizSessions.js +2 -11
  408. package/es/common/reducers/quizzes.js +0 -13
  409. package/es/common/reducers/rce.js +0 -6
  410. package/es/common/reducers/regrading.js +0 -4
  411. package/es/common/reducers/reporting.js +0 -12
  412. package/es/common/reducers/scrolling.js +0 -3
  413. package/es/common/reducers/sessionItemResults.js +0 -4
  414. package/es/common/reducers/sessionItems.js +0 -4
  415. package/es/common/reducers/sharedBanks.js +1 -8
  416. package/es/common/reducers/sidebar.js +0 -3
  417. package/es/common/reducers/stimuli.js +0 -4
  418. package/es/common/reducers/tagAssociations.js +0 -28
  419. package/es/common/reducers/taking.js +0 -37
  420. package/es/common/reducers/ui.js +0 -11
  421. package/es/common/reducers/upload.js +0 -7
  422. package/es/common/selectors/analyses.js +0 -2
  423. package/es/common/selectors/calculator.js +4 -7
  424. package/es/common/selectors/config.js +0 -2
  425. package/es/common/selectors/interactionTypes.js +3 -4
  426. package/es/common/selectors/items.js +0 -1
  427. package/es/common/selectors/qtiImports.js +2 -5
  428. package/es/common/selectors/quizSessions.js +2 -1
  429. package/es/common/selectors/quizzes.js +3 -9
  430. package/es/common/selectors/reporting.js +0 -2
  431. package/es/common/selectors/sessionItemResults.js +2 -3
  432. package/es/common/selectors/sessionItems.js +2 -3
  433. package/es/common/util/CustomPropTypes.js +0 -12
  434. package/es/common/util/ExhaustivePaginatedFetcher.js +7 -23
  435. package/es/common/util/Fetcher.js +25 -79
  436. package/es/common/util/MultiWeakMap.js +0 -19
  437. package/es/common/util/PaginatedFetcher.js +2 -16
  438. package/es/common/util/ThunkQueue.js +3 -30
  439. package/es/common/util/TimeRecordingService.js +0 -12
  440. package/es/common/util/TimerService.js +3 -42
  441. package/es/common/util/cachePreviousArgs.js +0 -3
  442. package/es/common/util/callHelpers.js +0 -2
  443. package/es/common/util/componentForItem.js +1 -6
  444. package/es/common/util/crossDomainMessaging.js +0 -1
  445. package/es/common/util/debounceLatestPromise.js +0 -2
  446. package/es/common/util/featureCheck.js +3 -3
  447. package/es/common/util/fitbCopyHelper.js +3 -3
  448. package/es/common/util/formatTimespan.js +0 -10
  449. package/es/common/util/generateDisplayPositions.js +2 -5
  450. package/es/common/util/immutableHelpers.js +4 -3
  451. package/es/common/util/interactionTypeMetadata.js +2 -3
  452. package/es/common/util/interactionTypePropsHelper.js +0 -7
  453. package/es/common/util/interactionTypeRecordForItem.js +1 -7
  454. package/es/common/util/jsonify.js +1 -0
  455. package/es/common/util/keyboardClickable.js +0 -1
  456. package/es/common/util/mathRenderingUtils.js +2 -1
  457. package/es/common/util/maxContent.js +0 -1
  458. package/es/common/util/persistedState.js +0 -6
  459. package/es/common/util/printUtils.js +0 -4
  460. package/es/common/util/rceChecker.js +1 -3
  461. package/es/common/util/renderAlerts.js +2 -6
  462. package/es/common/util/serializeEvent.js +0 -2
  463. package/es/common/util/sessionStore.js +4 -11
  464. package/es/common/util/warningHelpers.js +0 -9
  465. package/es/common/util/withCachedArguments.js +0 -6
  466. package/es/common/util/withDynamoPagination.js +14 -34
  467. package/es/common/util/withStateCache.js +0 -9
  468. package/es/config.js +5 -9
  469. package/es/configureStore.js +9 -8
  470. package/es/grading/api/quizEntryRegrades.js +3 -2
  471. package/es/grading/api/updateResults.js +0 -4
  472. package/es/index.js +4 -6
  473. package/es/messages/LocalStorageAdapter.js +0 -12
  474. package/es/messages/LocalStorageLimits.js +2 -23
  475. package/es/messages/StorageExhaustionError.js +1 -8
  476. package/es/messages/postMessageService.js +0 -20
  477. package/es/messages/subjectHandlers/forwardMessage.js +0 -1
  478. package/es/messages/subjectHandlers/lti.capabilities.js +0 -1
  479. package/es/messages/subjectHandlers/lti.fetchWindowSize.js +0 -1
  480. package/es/messages/subjectHandlers/lti.frameResize.js +0 -3
  481. package/es/messages/subjectHandlers/lti.get_data.js +2 -7
  482. package/es/messages/subjectHandlers/lti.put_data.js +3 -8
  483. package/es/messages/subjectHandlers/requestFullWindowLaunch.js +0 -4
  484. package/es/messages/utils.js +0 -1
  485. package/es/moderating/components/events/Event.js +3 -17
  486. package/es/moderating/components/events/PageBlurredEvent.js +0 -5
  487. package/es/moderating/components/events/PageFocusedEvent.js +0 -5
  488. package/es/moderating/components/events/RCEEvent.js +0 -5
  489. package/es/moderating/components/events/ResponseEvent.js +4 -16
  490. package/es/moderating/components/events/SessionStartEvent.js +0 -5
  491. package/es/moderating/components/events/styles.js +0 -1
  492. package/es/moderating/components/events/theme.js +1 -2
  493. package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +8 -23
  494. package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +0 -21
  495. package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +0 -21
  496. package/es/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +0 -20
  497. package/es/moderating/components/resources/AccommodationsModal/index.js +7 -25
  498. package/es/moderating/components/resources/ElapsedTime.js +5 -9
  499. package/es/moderating/components/resources/ModerateTable/presenter.js +23 -70
  500. package/es/moderating/components/resources/ModerateTable/styles.js +0 -2
  501. package/es/moderating/components/resources/ModerateTable/theme.js +1 -2
  502. package/es/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +0 -2
  503. package/es/moderating/components/resources/ModerateTableRow/index.js +2 -2
  504. package/es/moderating/components/resources/ModerateTableRow/presenter.js +19 -60
  505. package/es/moderating/components/resources/ModerateTableRow/story.js +0 -2
  506. package/es/moderating/components/resources/ModerateTableRow/styles.js +0 -1
  507. package/es/moderating/components/resources/ModerateTableRow/theme.js +0 -1
  508. package/es/moderating/components/resources/OutstandingQuizzesModal/presenter.js +2 -26
  509. package/es/moderating/components/sidebar/ModerateTray/presenter.js +2 -21
  510. package/es/moderating/components/sidebar/ResetQuiz/index.js +0 -2
  511. package/es/moderating/components/sidebar/ResetQuiz/presenter.js +1 -17
  512. package/es/reduxStore.js +0 -4
  513. package/es/reporting/api/getAnalysesExport.js +4 -11
  514. package/es/reporting/api/getAnalysesStatus.js +3 -6
  515. package/es/reporting/api/getItemAnalyses.js +3 -6
  516. package/es/reporting/api/getQuizAnalysis.js +3 -6
  517. package/es/reporting/components/Caption/index.js +5 -12
  518. package/es/reporting/components/Caption/styles.js +0 -1
  519. package/es/reporting/components/Caption/theme.js +2 -3
  520. package/es/reporting/components/MetricsListItem/index.js +8 -15
  521. package/es/reporting/components/MetricsListItem/styles.js +0 -1
  522. package/es/reporting/components/charts/CentileDistribution/presenter.js +10 -32
  523. package/es/reporting/components/charts/CentileDistribution/styles.js +0 -2
  524. package/es/reporting/components/charts/CentileDistribution/theme.js +2 -3
  525. package/es/reporting/components/charts/Distribution/presenter.js +15 -45
  526. package/es/reporting/components/charts/Distribution/styles.js +0 -1
  527. package/es/reporting/components/charts/Distribution/theme.js +1 -2
  528. package/es/reporting/components/charts/Legend/index.js +8 -16
  529. package/es/reporting/components/charts/Legend/styles.js +0 -2
  530. package/es/reporting/components/charts/Legend/theme.js +3 -4
  531. package/es/reporting/components/charts/QuintileDistribution/presenter.js +7 -30
  532. package/es/reporting/components/charts/QuintileDistribution/styles.js +0 -1
  533. package/es/reporting/components/charts/QuintileDistribution/theme.js +1 -2
  534. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +4 -21
  535. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +0 -6
  536. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +5 -6
  537. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +14 -33
  538. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +0 -3
  539. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +3 -4
  540. package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +9 -23
  541. package/es/reporting/components/quizAnalysis/styles.js +0 -3
  542. package/es/reporting/components/quizAnalysis/theme.js +3 -4
  543. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +9 -16
  544. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +0 -1
  545. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +8 -15
  546. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +1 -4
  547. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisUpdateDate/index.js +4 -9
  548. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +2 -10
  549. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +2 -10
  550. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +4 -23
  551. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +0 -2
  552. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +0 -1
  553. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +7 -19
  554. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +0 -1
  555. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +0 -1
  556. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +2 -14
  557. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +2 -10
  558. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +14 -34
  559. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +0 -2
  560. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +0 -1
  561. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +2 -15
  562. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +0 -8
  563. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +5 -15
  564. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +12 -48
  565. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +0 -1
  566. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +0 -1
  567. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +9 -29
  568. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +0 -1
  569. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +0 -1
  570. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +4 -14
  571. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +9 -22
  572. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +0 -1
  573. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +1 -2
  574. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +2 -10
  575. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +4 -30
  576. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +7 -21
  577. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +0 -2
  578. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +0 -1
  579. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +4 -15
  580. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +0 -1
  581. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +4 -36
  582. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +0 -1
  583. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +0 -1
  584. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +9 -48
  585. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +0 -2
  586. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +1 -2
  587. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +6 -19
  588. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +0 -1
  589. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +0 -1
  590. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +2 -5
  591. package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +5 -20
  592. package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +0 -1
  593. package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +0 -1
  594. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +4 -11
  595. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +0 -1
  596. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +0 -1
  597. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +0 -2
  598. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +10 -37
  599. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +0 -2
  600. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +3 -4
  601. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +7 -25
  602. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +0 -1
  603. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +0 -1
  604. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +18 -40
  605. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +0 -2
  606. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -2
  607. package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +5 -20
  608. package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +0 -1
  609. package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -3
  610. package/es/reporting/components/resources/NewQuizAndItemAnalysis/errorCodes.js +0 -6
  611. package/es/reporting/components/resources/NewQuizAndItemAnalysis/exportReports.js +1 -12
  612. package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +1 -8
  613. package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +1 -7
  614. package/es/reporting/components/resources/NewQuizAndItemAnalysis/generateReports.js +2 -19
  615. package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +18 -53
  616. package/es/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +0 -1
  617. package/es/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +0 -1
  618. package/es/reporting/components/resources/NewQuizAndItemAnalysis/utils.js +0 -5
  619. package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +0 -2
  620. package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +32 -54
  621. package/es/reporting/components/resources/OutcomeAnalysis/presenter.js +6 -16
  622. package/es/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +4 -6
  623. package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +16 -39
  624. package/es/reporting/components/resources/QuizAndItemAnalysis/styles.js +0 -1
  625. package/es/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -3
  626. package/es/reporting/components/resources/ReportCard/index.js +8 -15
  627. package/es/reporting/components/resources/ReportCard/styles.js +0 -2
  628. package/es/reporting/components/resources/ReportCard/theme.js +1 -2
  629. package/es/reporting/components/resources/ReportList/index.js +8 -15
  630. package/es/reporting/components/resources/ReportList/styles.js +0 -1
  631. package/es/reporting/components/resources/ReportList/theme.js +0 -1
  632. package/es/taking/api/taking.js +30 -42
  633. package/es/taking/learnosity/index.js +9 -33
  634. package/lib/banks/api/bankEntries.js +5 -50
  635. package/lib/banks/api/banks.js +12 -66
  636. package/lib/banks/api/copyingBanksPoller.js +6 -25
  637. package/lib/banks/api/tagAssociations.js +4 -26
  638. package/lib/banks/components/AddBankEntryModal/index.js +0 -13
  639. package/lib/banks/components/AddBankEntryModal/presenter.js +0 -34
  640. package/lib/banks/components/AddToBankModal/index.js +0 -19
  641. package/lib/banks/components/AddToBankModal/presenter.js +12 -74
  642. package/lib/banks/components/AsyncSearch/index.js +8 -79
  643. package/lib/banks/components/Bank/index.js +0 -18
  644. package/lib/banks/components/Bank/presenter.js +21 -107
  645. package/lib/banks/components/Bank/styles.js +0 -5
  646. package/lib/banks/components/Bank/theme.js +2 -4
  647. package/lib/banks/components/BankEntriesList/index.js +0 -8
  648. package/lib/banks/components/BankEntriesList/presenter.js +6 -28
  649. package/lib/banks/components/BankEntriesList/styles.js +0 -2
  650. package/lib/banks/components/BankEntriesList/theme.js +0 -2
  651. package/lib/banks/components/BankEntry/index.js +0 -23
  652. package/lib/banks/components/BankEntry/presenter.js +26 -153
  653. package/lib/banks/components/BankEntry/styles.js +0 -4
  654. package/lib/banks/components/BankEntry/theme.js +3 -5
  655. package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +0 -7
  656. package/lib/banks/components/BankEntryRow/index.js +0 -19
  657. package/lib/banks/components/BankEntryRow/presenter.js +13 -69
  658. package/lib/banks/components/BankEntryRow/styles.js +0 -2
  659. package/lib/banks/components/BankEntryRow/theme.js +3 -5
  660. package/lib/banks/components/BankSearch/BankSearch.stories.js +0 -13
  661. package/lib/banks/components/BankSearch/index.js +0 -11
  662. package/lib/banks/components/BankSearch/presenter.js +14 -54
  663. package/lib/banks/components/BankSearch/styles.js +0 -2
  664. package/lib/banks/components/BankSearch/theme.js +0 -2
  665. package/lib/banks/components/Banks/index.js +0 -14
  666. package/lib/banks/components/Banks/presenter.js +16 -97
  667. package/lib/banks/components/Banks/styles.js +0 -2
  668. package/lib/banks/components/Banks/theme.js +2 -4
  669. package/lib/banks/components/BanksList/index.js +0 -13
  670. package/lib/banks/components/BanksList/presenter.js +12 -91
  671. package/lib/banks/components/BanksList/styles.js +0 -2
  672. package/lib/banks/components/BanksList/theme.js +3 -5
  673. package/lib/banks/components/CopyMoveBankEntryModal/index.js +0 -16
  674. package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +2 -49
  675. package/lib/banks/components/CreateBankModal/index.js +0 -19
  676. package/lib/banks/components/CreateBankModal/presenter.js +6 -49
  677. package/lib/banks/components/CreateBankModal/styles.js +0 -2
  678. package/lib/banks/components/CreateBankModal/theme.js +1 -3
  679. package/lib/banks/components/EditBankModal/index.js +0 -16
  680. package/lib/banks/components/EditBankModal/presenter.js +6 -41
  681. package/lib/banks/components/EditBankModal/styles.js +0 -2
  682. package/lib/banks/components/EditBankModal/theme.js +1 -3
  683. package/lib/banks/components/HeaderBreadCrumb/index.js +9 -34
  684. package/lib/banks/components/HeaderMenu/index.js +0 -11
  685. package/lib/banks/components/HeaderMenu/presenter.js +6 -32
  686. package/lib/banks/components/HeaderMenu/styles.js +0 -2
  687. package/lib/banks/components/HeaderMenu/theme.js +1 -3
  688. package/lib/banks/components/NavWrapper/NavWrapper.examples.js +0 -5
  689. package/lib/banks/components/NavWrapper/index.js +0 -7
  690. package/lib/banks/components/NavWrapper/presenter.js +10 -45
  691. package/lib/banks/components/NavWrapper/styles.js +0 -3
  692. package/lib/banks/components/NavWrapper/theme.js +4 -6
  693. package/lib/banks/components/SharingModal/ContextualIconButton/index.js +1 -26
  694. package/lib/banks/components/SharingModal/RootAccountSharing.js +5 -35
  695. package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +0 -2
  696. package/lib/banks/components/SharingModal/ShareList/index.js +8 -43
  697. package/lib/banks/components/SharingModal/ShareList/styles.js +0 -2
  698. package/lib/banks/components/SharingModal/index.js +0 -13
  699. package/lib/banks/components/SharingModal/presenter.js +29 -123
  700. package/lib/banks/components/SharingModal/styles.js +0 -2
  701. package/lib/banks/components/SharingModal/theme.js +2 -4
  702. package/lib/building/api/items.js +12 -45
  703. package/lib/building/api/qtiImports.js +4 -29
  704. package/lib/building/api/quizEntries.js +23 -67
  705. package/lib/building/api/quizzes.js +27 -55
  706. package/lib/building/api/stimuli.js +4 -11
  707. package/lib/building/components/QTIImportModal/index.js +2 -13
  708. package/lib/building/components/layout/Sidebar/Sidebar.examples.js +2 -29
  709. package/lib/building/components/layout/Sidebar/SidebarItem/index.js +2 -25
  710. package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +18 -41
  711. package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +1 -5
  712. package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +0 -2
  713. package/lib/building/components/layout/Sidebar/Stimulus/index.js +2 -24
  714. package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +16 -39
  715. package/lib/building/components/layout/Sidebar/Stimulus/styles.js +1 -5
  716. package/lib/building/components/layout/Sidebar/Stimulus/theme.js +0 -2
  717. package/lib/building/components/layout/Sidebar/index.js +3 -22
  718. package/lib/building/components/layout/Sidebar/presenter.js +13 -54
  719. package/lib/building/components/layout/Sidebar/styles.js +0 -4
  720. package/lib/building/components/layout/Sidebar/theme.js +0 -2
  721. package/lib/building/components/layout/header/BuildingButtons/index.js +0 -17
  722. package/lib/building/components/layout/header/BuildingButtons/presenter.js +8 -69
  723. package/lib/building/components/layout/header/BuildingButtons/styles.js +0 -4
  724. package/lib/building/components/layout/header/BuildingButtons/theme.js +2 -4
  725. package/lib/building/components/layout/header/SDKBuildingButtons/index.js +0 -7
  726. package/lib/building/components/resources/ActionButtons/index.js +0 -11
  727. package/lib/building/components/resources/ActionButtons/presenter.js +6 -38
  728. package/lib/building/components/resources/ActionButtons/styles.js +0 -6
  729. package/lib/building/components/resources/ActionButtons/theme.js +1 -3
  730. package/lib/building/components/resources/AddToBankOptions/index.js +7 -40
  731. package/lib/building/components/resources/AddToBankOptions/styles.js +0 -2
  732. package/lib/building/components/resources/AddToBankOptions/theme.js +1 -3
  733. package/lib/building/components/resources/BanksTray/index.js +0 -6
  734. package/lib/building/components/resources/BanksTray/presenter.js +2 -46
  735. package/lib/building/components/resources/DeleteStimulusModal/index.js +3 -15
  736. package/lib/building/components/resources/DeleteStimulusModal/presenter.js +14 -63
  737. package/lib/building/components/resources/DeleteStimulusModal/styles.js +0 -2
  738. package/lib/building/components/resources/DeleteStimulusModal/theme.js +1 -3
  739. package/lib/building/components/resources/ItemFeedbackModal/index.js +0 -13
  740. package/lib/building/components/resources/ItemFeedbackModal/presenter.js +6 -38
  741. package/lib/building/components/resources/ItemFeedbackModal/styles.js +0 -2
  742. package/lib/building/components/resources/ItemFeedbackModal/theme.js +0 -2
  743. package/lib/building/components/resources/MoveImmutableModal/index.js +5 -18
  744. package/lib/building/components/resources/MoveImmutableModal/presenter.js +4 -32
  745. package/lib/building/components/resources/quiz/editButton/EditButton.js +0 -26
  746. package/lib/building/components/resources/quiz/instructions/Edit/index.js +0 -6
  747. package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +5 -29
  748. package/lib/building/components/resources/quiz/instructions/Edit/styles.js +0 -2
  749. package/lib/building/components/resources/quiz/instructions/Edit/theme.js +0 -1
  750. package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +0 -4
  751. package/lib/building/components/resources/quiz/instructions/Instructions/index.js +0 -11
  752. package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +12 -55
  753. package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +0 -4
  754. package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +2 -3
  755. package/lib/building/components/resources/quiz/instructions/Show/index.js +6 -31
  756. package/lib/building/components/resources/quiz/instructions/Show/styles.js +0 -2
  757. package/lib/building/components/resources/quiz/instructions/Show/theme.js +2 -3
  758. package/lib/building/components/resources/quiz/title/Edit/index.js +8 -40
  759. package/lib/building/components/resources/quiz/title/Edit/styles.js +0 -4
  760. package/lib/building/components/resources/quiz/title/Edit/theme.js +3 -5
  761. package/lib/building/components/resources/quiz/title/Show/index.js +6 -31
  762. package/lib/building/components/resources/quiz/title/Show/styles.js +0 -2
  763. package/lib/building/components/resources/quiz/title/Show/theme.js +0 -2
  764. package/lib/building/components/resources/quiz/title/Title/Title.examples.js +0 -4
  765. package/lib/building/components/resources/quiz/title/Title/index.js +0 -12
  766. package/lib/building/components/resources/quiz/title/Title/presenter.js +12 -49
  767. package/lib/building/components/resources/quiz/title/Title/styles.js +0 -5
  768. package/lib/building/components/resources/quiz/title/Title/theme.js +3 -4
  769. package/lib/building/components/resources/quizEntry/QuizEntry/index.js +0 -22
  770. package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +13 -79
  771. package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +0 -13
  772. package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +0 -4
  773. package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +3 -5
  774. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +0 -8
  775. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +6 -55
  776. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +0 -2
  777. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -5
  778. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +7 -30
  779. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +0 -2
  780. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +3 -5
  781. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +2 -11
  782. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +18 -64
  783. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +0 -5
  784. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +3 -5
  785. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +13 -83
  786. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +0 -3
  787. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -4
  788. package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +0 -20
  789. package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +29 -118
  790. package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +0 -3
  791. package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +3 -5
  792. package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +0 -12
  793. package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +24 -76
  794. package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +0 -5
  795. package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +4 -6
  796. package/lib/common/actions/addInteractionTypes.js +0 -2
  797. package/lib/common/actions/alerts.js +7 -16
  798. package/lib/common/actions/analyses.js +0 -7
  799. package/lib/common/actions/bankEntries.js +0 -5
  800. package/lib/common/actions/bankSearch.js +0 -9
  801. package/lib/common/actions/banks.js +0 -13
  802. package/lib/common/actions/config.js +0 -4
  803. package/lib/common/actions/dragAndDrop.js +0 -2
  804. package/lib/common/actions/editing.js +0 -4
  805. package/lib/common/actions/errorsShowing.js +0 -4
  806. package/lib/common/actions/features.js +0 -3
  807. package/lib/common/actions/grading.js +0 -4
  808. package/lib/common/actions/items.js +0 -2
  809. package/lib/common/actions/modal.js +0 -7
  810. package/lib/common/actions/moderation.js +0 -3
  811. package/lib/common/actions/modifications.js +35 -57
  812. package/lib/common/actions/outcomes.js +0 -5
  813. package/lib/common/actions/postMessage.js +0 -2
  814. package/lib/common/actions/printing.js +0 -3
  815. package/lib/common/actions/qtiImports.js +0 -3
  816. package/lib/common/actions/quizEntries.js +0 -7
  817. package/lib/common/actions/quizExport.js +0 -3
  818. package/lib/common/actions/quizSessionEvents.js +0 -3
  819. package/lib/common/actions/quizSessionResults.js +0 -3
  820. package/lib/common/actions/quizSessions.js +3 -30
  821. package/lib/common/actions/quizzes.js +0 -13
  822. package/lib/common/actions/rce.js +3 -9
  823. package/lib/common/actions/regrading.js +0 -4
  824. package/lib/common/actions/reporting.js +0 -6
  825. package/lib/common/actions/scrolling.js +0 -3
  826. package/lib/common/actions/sessionItemResults.js +0 -3
  827. package/lib/common/actions/sessionItems.js +0 -3
  828. package/lib/common/actions/sharedBanks.js +0 -7
  829. package/lib/common/actions/sidebar.js +0 -3
  830. package/lib/common/actions/stimuli.js +0 -2
  831. package/lib/common/actions/tagAssociations.js +0 -17
  832. package/lib/common/actions/taking.js +6 -42
  833. package/lib/common/actions/ui.js +0 -19
  834. package/lib/common/actions/upload.js +0 -11
  835. package/lib/common/api/callHandlers.js +10 -62
  836. package/lib/common/api/camelizeHelpers.js +3 -10
  837. package/lib/common/api/features.js +0 -8
  838. package/lib/common/api/fileUpload.js +3 -9
  839. package/lib/common/api/getPersistenceActions.js +22 -43
  840. package/lib/common/api/helpers.js +10 -46
  841. package/lib/common/api/interactionTypes.js +0 -5
  842. package/lib/common/api/quizSessions.js +21 -64
  843. package/lib/common/api/quizzes.js +4 -12
  844. package/lib/common/api/schema.js +6 -7
  845. package/lib/common/components/ApiFeatureFlagInitializer/index.js +0 -12
  846. package/lib/common/components/ConfirmationModal/index.js +0 -11
  847. package/lib/common/components/ConfirmationModal/presenter.js +9 -36
  848. package/lib/common/components/ImportModal/ImportFileSelector/index.js +8 -31
  849. package/lib/common/components/ImportModal/ImportFileSelector/styles.js +0 -2
  850. package/lib/common/components/ImportModal/ImportFileSelector/theme.js +2 -4
  851. package/lib/common/components/ImportModal/index.js +8 -21
  852. package/lib/common/components/ImportModal/presenter.js +13 -80
  853. package/lib/common/components/ImportModal/styles.js +0 -2
  854. package/lib/common/components/ImportModal/theme.js +0 -2
  855. package/lib/common/components/LearnosityCalculator/index.js +1 -32
  856. package/lib/common/components/Pin/index.js +0 -2
  857. package/lib/common/components/Pin/presenter.js +0 -22
  858. package/lib/common/components/PreviewFrame/examples.config.js +0 -4
  859. package/lib/common/components/PreviewFrame/index.js +0 -19
  860. package/lib/common/components/PrintFontSizeModal/index.js +0 -3
  861. package/lib/common/components/PrintFontSizeModal/presenter.js +16 -40
  862. package/lib/common/components/PrintFontSizeModal/styles.js +0 -2
  863. package/lib/common/components/PrintFontSizeModal/theme.js +2 -4
  864. package/lib/common/components/RceConfigProvider/index.js +0 -8
  865. package/lib/common/components/RceConfigProvider/presenter.js +22 -66
  866. package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +0 -15
  867. package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +0 -13
  868. package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +1 -14
  869. package/lib/common/components/RceConfigProvider/rceConfigMapper.js +3 -14
  870. package/lib/common/components/RceConfigProvider/rceConfigUtils.js +0 -4
  871. package/lib/common/components/SDKApp/index.js +16 -62
  872. package/lib/common/components/SDKApp/styles.js +0 -2
  873. package/lib/common/components/SDKHeaderCalculator.js +1 -9
  874. package/lib/common/components/SDKMenuButton.js +0 -7
  875. package/lib/common/components/SDKNavBar.js +0 -7
  876. package/lib/common/components/SDKTimer.js +1 -9
  877. package/lib/common/components/alerts/index.js +0 -9
  878. package/lib/common/components/alerts/presenter.js +6 -35
  879. package/lib/common/components/alerts/styles.js +0 -4
  880. package/lib/common/components/alerts/theme.js +1 -3
  881. package/lib/common/components/layout/Page/index.js +6 -20
  882. package/lib/common/components/layout/Page/styles.js +0 -5
  883. package/lib/common/components/layout/Page/theme.js +2 -4
  884. package/lib/common/components/layout/header/Calculator/index.js +0 -9
  885. package/lib/common/components/layout/header/Calculator/presenter.js +2 -26
  886. package/lib/common/components/layout/header/HeaderMenuButton/index.js +0 -10
  887. package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +7 -35
  888. package/lib/common/components/layout/header/HeaderMenuButton/styles.js +0 -4
  889. package/lib/common/components/layout/header/HeaderMenuButton/theme.js +2 -4
  890. package/lib/common/components/layout/header/Timer/index.js +0 -13
  891. package/lib/common/components/layout/header/Timer/presenter.js +10 -53
  892. package/lib/common/components/layout/header/Timer/styles.js +0 -2
  893. package/lib/common/components/layout/header/Timer/theme.js +3 -5
  894. package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +5 -21
  895. package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -2
  896. package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -2
  897. package/lib/common/components/layout/navbar/index.js +6 -37
  898. package/lib/common/components/layout/navbar/styles.js +0 -2
  899. package/lib/common/components/layout/navbar/theme.js +1 -3
  900. package/lib/common/components/layout/sidebar/PositionSummary/index.js +5 -21
  901. package/lib/common/components/layout/sidebar/PositionSummary/styles.js +0 -2
  902. package/lib/common/components/layout/sidebar/PositionSummary/theme.js +3 -5
  903. package/lib/common/components/layout/sidebar/Sidebar/Pin.js +0 -20
  904. package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +0 -6
  905. package/lib/common/components/layout/sidebar/Sidebar/index.js +18 -76
  906. package/lib/common/components/layout/sidebar/Sidebar/styles.js +0 -7
  907. package/lib/common/components/layout/sidebar/Sidebar/theme.js +5 -8
  908. package/lib/common/components/layout/sidebar/SidebarItem/index.js +0 -12
  909. package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +23 -55
  910. package/lib/common/components/layout/sidebar/SidebarItem/styles.js +0 -4
  911. package/lib/common/components/layout/sidebar/SidebarItem/theme.js +3 -5
  912. package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +0 -6
  913. package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +13 -43
  914. package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +0 -5
  915. package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -4
  916. package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +0 -6
  917. package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +11 -44
  918. package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +0 -2
  919. package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -4
  920. package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +5 -23
  921. package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +0 -2
  922. package/lib/common/components/layout/sidebar/Stimulus/index.js +0 -9
  923. package/lib/common/components/layout/sidebar/Stimulus/presenter.js +17 -51
  924. package/lib/common/components/layout/sidebar/Stimulus/styles.js +0 -2
  925. package/lib/common/components/layout/sidebar/Stimulus/theme.js +3 -5
  926. package/lib/common/components/resources/BankSelection/index.js +0 -11
  927. package/lib/common/components/resources/BankSelection/presenter.js +6 -51
  928. package/lib/common/components/resources/WarningWrapper/index.js +6 -29
  929. package/lib/common/components/resources/WarningWrapper/styles.js +0 -2
  930. package/lib/common/components/resources/WarningWrapper/theme.js +2 -4
  931. package/lib/common/components/resources/entry/EntrySave/index.js +0 -15
  932. package/lib/common/components/resources/entry/EntrySave/presenter.js +8 -73
  933. package/lib/common/components/resources/item/ItemEdit/index.js +2 -24
  934. package/lib/common/components/resources/item/ItemEdit/presenter.js +8 -50
  935. package/lib/common/components/resources/item/ItemOverride/index.js +0 -16
  936. package/lib/common/components/resources/item/ItemOverride/presenter.js +0 -23
  937. package/lib/common/components/resources/item/ItemShow/index.js +0 -20
  938. package/lib/common/components/resources/positionBox/PositionBox.js +6 -22
  939. package/lib/common/components/resources/positionBox/styles.js +0 -4
  940. package/lib/common/components/resources/positionBox/theme.js +2 -4
  941. package/lib/common/components/resources/quiz/AddContent/Body/index.js +0 -12
  942. package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +16 -51
  943. package/lib/common/components/resources/quiz/AddContent/Body/styles.js +0 -6
  944. package/lib/common/components/resources/quiz/AddContent/Body/theme.js +4 -6
  945. package/lib/common/components/resources/quiz/AddContent/Button/index.js +6 -29
  946. package/lib/common/components/resources/quiz/AddContent/Button/styles.js +0 -5
  947. package/lib/common/components/resources/quiz/AddContent/Button/theme.js +4 -6
  948. package/lib/common/components/resources/quiz/AddContent/Modal/index.js +5 -14
  949. package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +0 -18
  950. package/lib/common/components/resources/quiz/AddContent/Popover/index.js +1 -12
  951. package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +6 -39
  952. package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +0 -2
  953. package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +1 -3
  954. package/lib/common/components/resources/quiz/info/QuizInfo.js +0 -16
  955. package/lib/common/components/resources/quiz/instructions/Instructions.js +10 -24
  956. package/lib/common/components/resources/quiz/instructions/styles.js +0 -2
  957. package/lib/common/components/resources/quiz/instructions/theme.js +1 -3
  958. package/lib/common/components/resources/quiz/title/Title.js +9 -24
  959. package/lib/common/components/resources/quiz/title/styles.js +0 -2
  960. package/lib/common/components/resources/quiz/title/theme.js +1 -3
  961. package/lib/common/components/resources/quizSessionResult/Header/index.js +6 -30
  962. package/lib/common/components/resources/quizSessionResult/Header/styles.js +0 -2
  963. package/lib/common/components/resources/quizSessionResult/Header/theme.js +1 -3
  964. package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +0 -5
  965. package/lib/common/components/resources/quizSessionResult/Info/index.js +12 -49
  966. package/lib/common/components/resources/quizSessionResult/Info/styles.js +0 -3
  967. package/lib/common/components/resources/quizSessionResult/Info/theme.js +1 -3
  968. package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +5 -24
  969. package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +0 -5
  970. package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -6
  971. package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +0 -8
  972. package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +11 -53
  973. package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +0 -4
  974. package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +3 -5
  975. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +6 -34
  976. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +0 -2
  977. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +3 -5
  978. package/lib/common/components/resources/stimulus/Stimulus/index.js +0 -11
  979. package/lib/common/components/resources/stimulus/Stimulus/presenter.js +10 -45
  980. package/lib/common/components/resources/stimulus/Stimulus/styles.js +1 -9
  981. package/lib/common/components/resources/stimulus/Stimulus/theme.js +3 -5
  982. package/lib/common/components/resources/stimulus/StimulusEdit/index.js +0 -19
  983. package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +19 -122
  984. package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +0 -2
  985. package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +2 -4
  986. package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +0 -11
  987. package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +6 -47
  988. package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +0 -2
  989. package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -4
  990. package/lib/common/components/resources/stimulus/StimulusShow/index.js +7 -32
  991. package/lib/common/components/resources/stimulus/StimulusShow/styles.js +0 -2
  992. package/lib/common/components/resources/stimulus/StimulusShow/theme.js +2 -4
  993. package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +0 -3
  994. package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +0 -19
  995. package/lib/common/components/shared/Card/CardContent/index.js +6 -22
  996. package/lib/common/components/shared/Card/CardContent/styles.js +0 -4
  997. package/lib/common/components/shared/Card/CardContent/theme.js +4 -6
  998. package/lib/common/components/shared/Card/CardWrapper/index.js +6 -22
  999. package/lib/common/components/shared/Card/CardWrapper/styles.js +0 -4
  1000. package/lib/common/components/shared/Card/CardWrapper/theme.js +2 -4
  1001. package/lib/common/components/shared/Card/index.js +3 -13
  1002. package/lib/common/components/shared/ExpandButton/index.js +5 -22
  1003. package/lib/common/components/shared/ExpandButton/styles.js +0 -4
  1004. package/lib/common/components/shared/ExpandButton/theme.js +0 -2
  1005. package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +0 -4
  1006. package/lib/common/components/shared/FormattedDuration/index.js +4 -28
  1007. package/lib/common/components/shared/IfFeature/index.js +0 -5
  1008. package/lib/common/components/shared/IfFeature/presenter.js +0 -13
  1009. package/lib/common/components/shared/InteractionTypes/index.js +0 -6
  1010. package/lib/common/components/shared/InteractionTypes/presenter.js +8 -42
  1011. package/lib/common/components/shared/InteractionTypes/styles.js +0 -2
  1012. package/lib/common/components/shared/InteractionTypes/theme.js +2 -4
  1013. package/lib/common/components/shared/PaginatedCollection/index.js +0 -8
  1014. package/lib/common/components/shared/PaginatedCollection/presenter.js +25 -51
  1015. package/lib/common/components/shared/PaginatedCollection/styles.js +0 -2
  1016. package/lib/common/components/shared/PaginatedCollection/theme.js +2 -4
  1017. package/lib/common/components/shared/Paginator/index.js +6 -25
  1018. package/lib/common/components/shared/Paginator/styles.js +0 -2
  1019. package/lib/common/components/shared/Paginator/theme.js +0 -2
  1020. package/lib/common/components/shared/PrintTrigger/index.js +0 -14
  1021. package/lib/common/components/shared/PrintTrigger/presenter.js +3 -42
  1022. package/lib/common/components/shared/TagDisplay/index.js +6 -25
  1023. package/lib/common/components/shared/TagDisplay/styles.js +0 -2
  1024. package/lib/common/components/shared/TagSelect/index.js +0 -3
  1025. package/lib/common/components/shared/TagSelect/presenter.js +11 -59
  1026. package/lib/common/components/shared/TagSuggestSelect/index.js +0 -10
  1027. package/lib/common/components/shared/TagSuggestSelect/presenter.js +7 -34
  1028. package/lib/common/components/shared/TagWrapper/index.js +0 -3
  1029. package/lib/common/components/shared/TagWrapper/presenter.js +3 -25
  1030. package/lib/common/components/shared/TimeUnitsInput/index.js +20 -68
  1031. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +13 -34
  1032. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +0 -4
  1033. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -4
  1034. package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +0 -15
  1035. package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +15 -66
  1036. package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +21 -88
  1037. package/lib/common/components/shared/errors/Errors.js +6 -29
  1038. package/lib/common/components/shared/errors/styles.js +0 -2
  1039. package/lib/common/components/shared/errors/theme.js +1 -3
  1040. package/lib/common/components/shared/file_selector/FileSelector.js +6 -24
  1041. package/lib/common/components/shared/file_selector/styles.js +0 -2
  1042. package/lib/common/components/shared/file_selector/theme.js +2 -4
  1043. package/lib/common/components/shared/functionality/componentWithOutsideClick.js +4 -21
  1044. package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +4 -19
  1045. package/lib/common/components/shared/functionality/disableDraggingOverride.js +0 -5
  1046. package/lib/common/components/shared/functionality/makeEditable.js +19 -48
  1047. package/lib/common/components/shared/functionality/makeScrollable.js +9 -44
  1048. package/lib/common/components/shared/overlay/index.js +17 -26
  1049. package/lib/common/components/shared/overlay/styles.js +0 -4
  1050. package/lib/common/components/shared/overlay/theme.js +2 -4
  1051. package/lib/common/components/shared/return_button/ReturnButton.js +0 -18
  1052. package/lib/common/components/shared/spinner/Spinner.js +12 -31
  1053. package/lib/common/components/shared/spinner/styles.js +0 -2
  1054. package/lib/common/kinesis/QuizEventsLogger.js +14 -45
  1055. package/lib/common/kinesis/StreamQueue.js +6 -29
  1056. package/lib/common/kinesis/client.js +1 -14
  1057. package/lib/common/kinesis/config.js +2 -11
  1058. package/lib/common/kinesis/eventTypes.js +4 -5
  1059. package/lib/common/middleware/alertTimerMiddleware.js +2 -8
  1060. package/lib/common/middleware/crossDomainMessagingMiddleware.js +0 -5
  1061. package/lib/common/middleware/eventLoggerMiddleware.js +1 -8
  1062. package/lib/common/middleware/persistedStorageMiddleware.js +1 -11
  1063. package/lib/common/middleware/quizTimerWebSocketMiddleware.js +0 -29
  1064. package/lib/common/react-redux.js +1 -4
  1065. package/lib/common/records/Alert.js +0 -10
  1066. package/lib/common/records/Bank.js +0 -17
  1067. package/lib/common/records/BankEntry.js +0 -18
  1068. package/lib/common/records/Item.js +2 -21
  1069. package/lib/common/records/ItemAnalysis.js +0 -15
  1070. package/lib/common/records/QtiImport.js +0 -13
  1071. package/lib/common/records/Quiz.js +4 -28
  1072. package/lib/common/records/QuizAnalysis.js +0 -12
  1073. package/lib/common/records/QuizEntry.js +10 -78
  1074. package/lib/common/records/QuizSession.js +0 -23
  1075. package/lib/common/records/QuizSessionEvent.js +0 -12
  1076. package/lib/common/records/QuizSessionResult.js +0 -14
  1077. package/lib/common/records/Response.js +0 -14
  1078. package/lib/common/records/SessionItem.js +2 -23
  1079. package/lib/common/records/SessionItemResult.js +0 -13
  1080. package/lib/common/records/Stimulus.js +0 -16
  1081. package/lib/common/records/baseRecord.js +0 -21
  1082. package/lib/common/records/index.js +0 -17
  1083. package/lib/common/records/reduxRecord.js +0 -11
  1084. package/lib/common/reducers/alerts.js +0 -7
  1085. package/lib/common/reducers/analyses.js +0 -15
  1086. package/lib/common/reducers/bankEntries.js +0 -11
  1087. package/lib/common/reducers/bankSearch.js +4 -14
  1088. package/lib/common/reducers/banks.js +1 -19
  1089. package/lib/common/reducers/calls.js +0 -7
  1090. package/lib/common/reducers/config.js +0 -9
  1091. package/lib/common/reducers/dragAndDrop.js +0 -6
  1092. package/lib/common/reducers/editing.js +0 -7
  1093. package/lib/common/reducers/errorsShowing.js +0 -8
  1094. package/lib/common/reducers/features.js +0 -7
  1095. package/lib/common/reducers/grading.js +0 -8
  1096. package/lib/common/reducers/interactionTypes.js +0 -9
  1097. package/lib/common/reducers/items.js +0 -10
  1098. package/lib/common/reducers/modal.js +0 -10
  1099. package/lib/common/reducers/moderation.js +0 -8
  1100. package/lib/common/reducers/modifications.js +6 -44
  1101. package/lib/common/reducers/outcomes.js +0 -10
  1102. package/lib/common/reducers/printing.js +0 -6
  1103. package/lib/common/reducers/qtiImports.js +0 -11
  1104. package/lib/common/reducers/quizEntries.js +28 -46
  1105. package/lib/common/reducers/quizExport.js +0 -6
  1106. package/lib/common/reducers/quizSessionEvents.js +0 -9
  1107. package/lib/common/reducers/quizSessionResults.js +0 -9
  1108. package/lib/common/reducers/quizSessions.js +2 -18
  1109. package/lib/common/reducers/quizzes.js +0 -21
  1110. package/lib/common/reducers/rce.js +0 -9
  1111. package/lib/common/reducers/regrading.js +0 -9
  1112. package/lib/common/reducers/reporting.js +0 -18
  1113. package/lib/common/reducers/scrolling.js +0 -7
  1114. package/lib/common/reducers/sessionItemResults.js +0 -9
  1115. package/lib/common/reducers/sessionItems.js +0 -10
  1116. package/lib/common/reducers/sharedBanks.js +1 -13
  1117. package/lib/common/reducers/sidebar.js +0 -7
  1118. package/lib/common/reducers/stimuli.js +0 -10
  1119. package/lib/common/reducers/tagAssociations.js +0 -32
  1120. package/lib/common/reducers/taking.js +0 -40
  1121. package/lib/common/reducers/ui.js +0 -15
  1122. package/lib/common/reducers/upload.js +0 -11
  1123. package/lib/common/selectors/analyses.js +0 -14
  1124. package/lib/common/selectors/calculator.js +4 -11
  1125. package/lib/common/selectors/calls.js +0 -3
  1126. package/lib/common/selectors/config.js +0 -4
  1127. package/lib/common/selectors/interactionTypes.js +5 -13
  1128. package/lib/common/selectors/items.js +0 -7
  1129. package/lib/common/selectors/qtiImports.js +2 -9
  1130. package/lib/common/selectors/quizSessionResults.js +0 -5
  1131. package/lib/common/selectors/quizSessions.js +3 -14
  1132. package/lib/common/selectors/quizzes.js +4 -39
  1133. package/lib/common/selectors/rce.js +0 -4
  1134. package/lib/common/selectors/reporting.js +0 -6
  1135. package/lib/common/selectors/sessionItemResults.js +2 -10
  1136. package/lib/common/selectors/sessionItems.js +2 -11
  1137. package/lib/common/selectors/taking.js +0 -16
  1138. package/lib/common/selectors/ui.js +0 -2
  1139. package/lib/common/util/CustomPropTypes.js +0 -18
  1140. package/lib/common/util/ElementsForSelectors.js +0 -4
  1141. package/lib/common/util/ExhaustivePaginatedFetcher.js +7 -32
  1142. package/lib/common/util/Fetcher.js +24 -95
  1143. package/lib/common/util/MultiWeakMap.js +0 -21
  1144. package/lib/common/util/PaginatedFetcher.js +2 -29
  1145. package/lib/common/util/ThunkQueue.js +3 -33
  1146. package/lib/common/util/TimeRecordingService.js +0 -16
  1147. package/lib/common/util/TimerService.js +3 -50
  1148. package/lib/common/util/cachePreviousArgs.js +0 -7
  1149. package/lib/common/util/callHelpers.js +0 -10
  1150. package/lib/common/util/componentForItem.js +1 -11
  1151. package/lib/common/util/crossDomainMessaging.js +0 -2
  1152. package/lib/common/util/debounceLatestPromise.js +0 -6
  1153. package/lib/common/util/featureCheck.js +3 -13
  1154. package/lib/common/util/fetchHelpers.js +0 -1
  1155. package/lib/common/util/fitbCopyHelper.js +1 -4
  1156. package/lib/common/util/formatTimespan.js +0 -18
  1157. package/lib/common/util/generateDisplayPositions.js +2 -7
  1158. package/lib/common/util/httpHeaders.js +0 -4
  1159. package/lib/common/util/immutableHelpers.js +4 -10
  1160. package/lib/common/util/instUIMessages.js +0 -2
  1161. package/lib/common/util/interactionTypeMetadata.js +3 -9
  1162. package/lib/common/util/interactionTypePropsHelper.js +0 -14
  1163. package/lib/common/util/interactionTypeRecordForItem.js +1 -10
  1164. package/lib/common/util/jsonify.js +1 -5
  1165. package/lib/common/util/keyboardClickable.js +0 -2
  1166. package/lib/common/util/mathRenderingUtils.js +0 -2
  1167. package/lib/common/util/maxContent.js +0 -6
  1168. package/lib/common/util/modalHelpers.js +0 -2
  1169. package/lib/common/util/noop.js +0 -2
  1170. package/lib/common/util/persistedState.js +0 -13
  1171. package/lib/common/util/printUtils.js +0 -7
  1172. package/lib/common/util/rceChecker.js +1 -10
  1173. package/lib/common/util/renderAlerts.js +6 -17
  1174. package/lib/common/util/serializeEvent.js +0 -8
  1175. package/lib/common/util/sessionStore.js +4 -13
  1176. package/lib/common/util/valMap.js +0 -4
  1177. package/lib/common/util/warningHelpers.js +0 -27
  1178. package/lib/common/util/windowChecks.js +0 -10
  1179. package/lib/common/util/withCachedArguments.js +0 -9
  1180. package/lib/common/util/withDynamoPagination.js +14 -43
  1181. package/lib/common/util/withStateCache.js +0 -15
  1182. package/lib/config.js +2 -11
  1183. package/lib/configureStore.js +9 -60
  1184. package/lib/grading/api/quizEntryRegrades.js +3 -9
  1185. package/lib/grading/api/updateResults.js +0 -12
  1186. package/lib/index.js +0 -130
  1187. package/lib/messages/LocalStorageAdapter.js +0 -14
  1188. package/lib/messages/LocalStorageLimits.js +2 -25
  1189. package/lib/messages/StorageExhaustionError.js +1 -12
  1190. package/lib/messages/postMessageService.js +0 -29
  1191. package/lib/messages/subjectHandlers/forwardMessage.js +0 -2
  1192. package/lib/messages/subjectHandlers/lti.capabilities.js +0 -2
  1193. package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +0 -2
  1194. package/lib/messages/subjectHandlers/lti.frameResize.js +0 -4
  1195. package/lib/messages/subjectHandlers/lti.get_data.js +2 -9
  1196. package/lib/messages/subjectHandlers/lti.put_data.js +3 -14
  1197. package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +0 -7
  1198. package/lib/messages/utils.js +0 -1
  1199. package/lib/moderating/api/quizSessionEvents.js +0 -6
  1200. package/lib/moderating/api/quizSessions.js +0 -8
  1201. package/lib/moderating/components/events/Event.js +3 -33
  1202. package/lib/moderating/components/events/PageBlurredEvent.js +0 -14
  1203. package/lib/moderating/components/events/PageFocusedEvent.js +0 -14
  1204. package/lib/moderating/components/events/RCEEvent.js +0 -14
  1205. package/lib/moderating/components/events/ResponseEvent.js +5 -31
  1206. package/lib/moderating/components/events/SessionStartEvent.js +0 -19
  1207. package/lib/moderating/components/events/styles.js +0 -2
  1208. package/lib/moderating/components/events/theme.js +1 -3
  1209. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +8 -33
  1210. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +0 -32
  1211. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +0 -33
  1212. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +0 -35
  1213. package/lib/moderating/components/resources/AccommodationsModal/index.js +7 -42
  1214. package/lib/moderating/components/resources/ElapsedTime.js +5 -19
  1215. package/lib/moderating/components/resources/ModerateTable/index.js +0 -11
  1216. package/lib/moderating/components/resources/ModerateTable/presenter.js +24 -93
  1217. package/lib/moderating/components/resources/ModerateTable/styles.js +0 -4
  1218. package/lib/moderating/components/resources/ModerateTable/theme.js +1 -3
  1219. package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +0 -7
  1220. package/lib/moderating/components/resources/ModerateTableRow/index.js +2 -8
  1221. package/lib/moderating/components/resources/ModerateTableRow/presenter.js +21 -81
  1222. package/lib/moderating/components/resources/ModerateTableRow/story.js +1 -6
  1223. package/lib/moderating/components/resources/ModerateTableRow/styles.js +0 -2
  1224. package/lib/moderating/components/resources/ModerateTableRow/theme.js +0 -2
  1225. package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +0 -10
  1226. package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +2 -42
  1227. package/lib/moderating/components/sidebar/ModerateTray/index.js +0 -7
  1228. package/lib/moderating/components/sidebar/ModerateTray/presenter.js +2 -40
  1229. package/lib/moderating/components/sidebar/ResetQuiz/index.js +0 -13
  1230. package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +1 -31
  1231. package/lib/reduxStore.js +0 -11
  1232. package/lib/reporting/api/getAnalysesExport.js +4 -18
  1233. package/lib/reporting/api/getAnalysesStatus.js +3 -13
  1234. package/lib/reporting/api/getItemAnalyses.js +3 -13
  1235. package/lib/reporting/api/getQuizAnalysis.js +3 -13
  1236. package/lib/reporting/api/itemAnalyses.js +0 -6
  1237. package/lib/reporting/api/quizAnalyses.js +0 -6
  1238. package/lib/reporting/components/Caption/index.js +6 -21
  1239. package/lib/reporting/components/Caption/styles.js +0 -2
  1240. package/lib/reporting/components/Caption/theme.js +2 -4
  1241. package/lib/reporting/components/MetricsListItem/index.js +9 -26
  1242. package/lib/reporting/components/MetricsListItem/styles.js +0 -2
  1243. package/lib/reporting/components/charts/CentileDistribution/index.js +0 -3
  1244. package/lib/reporting/components/charts/CentileDistribution/presenter.js +11 -45
  1245. package/lib/reporting/components/charts/CentileDistribution/styles.js +0 -4
  1246. package/lib/reporting/components/charts/CentileDistribution/theme.js +2 -4
  1247. package/lib/reporting/components/charts/Distribution/CentileDistribution.js +1 -2
  1248. package/lib/reporting/components/charts/Distribution/Distribution.js +0 -3
  1249. package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +0 -3
  1250. package/lib/reporting/components/charts/Distribution/index.js +0 -3
  1251. package/lib/reporting/components/charts/Distribution/presenter.js +13 -60
  1252. package/lib/reporting/components/charts/Distribution/styles.js +0 -2
  1253. package/lib/reporting/components/charts/Distribution/theme.js +1 -3
  1254. package/lib/reporting/components/charts/Legend/index.js +9 -26
  1255. package/lib/reporting/components/charts/Legend/styles.js +0 -4
  1256. package/lib/reporting/components/charts/Legend/theme.js +3 -5
  1257. package/lib/reporting/components/charts/QuintileDistribution/index.js +0 -3
  1258. package/lib/reporting/components/charts/QuintileDistribution/presenter.js +9 -42
  1259. package/lib/reporting/components/charts/QuintileDistribution/styles.js +0 -2
  1260. package/lib/reporting/components/charts/QuintileDistribution/theme.js +1 -3
  1261. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +0 -4
  1262. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +5 -37
  1263. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +0 -9
  1264. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +5 -7
  1265. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +0 -4
  1266. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +0 -9
  1267. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +15 -59
  1268. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +0 -5
  1269. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +3 -5
  1270. package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +10 -42
  1271. package/lib/reporting/components/quizAnalysis/styles.js +0 -5
  1272. package/lib/reporting/components/quizAnalysis/theme.js +3 -5
  1273. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +0 -2
  1274. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +10 -25
  1275. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +0 -2
  1276. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +0 -2
  1277. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +9 -25
  1278. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +1 -5
  1279. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisUpdateDate/index.js +4 -21
  1280. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/index.js +0 -1
  1281. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +2 -23
  1282. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +0 -1
  1283. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +2 -24
  1284. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/index.js +0 -1
  1285. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +5 -36
  1286. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +0 -4
  1287. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +0 -2
  1288. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +0 -1
  1289. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +8 -34
  1290. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +0 -2
  1291. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +0 -2
  1292. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +2 -30
  1293. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +2 -25
  1294. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/index.js +0 -1
  1295. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +15 -53
  1296. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +0 -4
  1297. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +0 -2
  1298. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +2 -30
  1299. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +0 -3
  1300. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +0 -10
  1301. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/index.js +0 -1
  1302. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +5 -29
  1303. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/index.js +0 -1
  1304. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +13 -67
  1305. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +0 -2
  1306. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +0 -2
  1307. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/index.js +0 -1
  1308. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +10 -45
  1309. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +0 -2
  1310. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +0 -2
  1311. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/index.js +0 -1
  1312. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +4 -28
  1313. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +10 -34
  1314. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +0 -2
  1315. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +1 -3
  1316. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +2 -25
  1317. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/index.js +0 -1
  1318. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +4 -47
  1319. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/index.js +0 -1
  1320. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +9 -30
  1321. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +0 -4
  1322. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +0 -2
  1323. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/index.js +0 -1
  1324. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +0 -3
  1325. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +5 -28
  1326. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +0 -2
  1327. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/index.js +0 -1
  1328. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +5 -51
  1329. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +0 -2
  1330. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +0 -2
  1331. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/index.js +0 -1
  1332. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +10 -67
  1333. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +0 -4
  1334. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +1 -3
  1335. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/index.js +0 -1
  1336. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +7 -32
  1337. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +0 -2
  1338. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +0 -2
  1339. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +2 -14
  1340. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +0 -2
  1341. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +6 -35
  1342. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +0 -2
  1343. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +0 -2
  1344. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/index.js +0 -1
  1345. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +5 -19
  1346. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +0 -2
  1347. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +0 -2
  1348. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +0 -5
  1349. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +0 -3
  1350. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +11 -62
  1351. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +0 -4
  1352. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +3 -5
  1353. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +0 -2
  1354. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +0 -3
  1355. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +8 -44
  1356. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +0 -2
  1357. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +0 -2
  1358. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +0 -4
  1359. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +19 -61
  1360. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +0 -5
  1361. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -3
  1362. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +0 -2
  1363. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +7 -35
  1364. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +0 -2
  1365. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -4
  1366. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/errorCodes.js +0 -13
  1367. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/errorMessages.js +0 -18
  1368. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportReports.js +1 -19
  1369. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +1 -15
  1370. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +1 -13
  1371. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/generateReports.js +2 -28
  1372. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +0 -4
  1373. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +20 -78
  1374. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +0 -38
  1375. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +0 -2
  1376. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +0 -2
  1377. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/utils.js +0 -10
  1378. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +0 -16
  1379. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +32 -70
  1380. package/lib/reporting/components/resources/OutcomeAnalysis/index.js +0 -5
  1381. package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +6 -29
  1382. package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +4 -12
  1383. package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +0 -10
  1384. package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +17 -58
  1385. package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +0 -2
  1386. package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -4
  1387. package/lib/reporting/components/resources/ReportCard/index.js +9 -28
  1388. package/lib/reporting/components/resources/ReportCard/styles.js +0 -4
  1389. package/lib/reporting/components/resources/ReportCard/theme.js +1 -3
  1390. package/lib/reporting/components/resources/ReportList/index.js +9 -25
  1391. package/lib/reporting/components/resources/ReportList/styles.js +0 -2
  1392. package/lib/reporting/components/resources/ReportList/theme.js +0 -2
  1393. package/lib/taking/api/taking.js +30 -78
  1394. package/lib/taking/learnosity/index.js +9 -40
  1395. package/package.json +12 -13
@@ -5,5 +5,4 @@ var keyboardClickable = function keyboardClickable(e) {
5
5
  e.stopPropagation();
6
6
  }
7
7
  };
8
-
9
8
  export default keyboardClickable;
@@ -1,4 +1,5 @@
1
- import { ensureMathIsReady as mathIsReady, ensureMathRendered as mathRendered } from '@instructure/quiz-rce'; // This is needed because of ES Modul Export of RCE is not supported by Sinon
1
+ import { ensureMathIsReady as mathIsReady, ensureMathRendered as mathRendered } from '@instructure/quiz-rce';
2
2
 
3
+ // This is needed because of ES Modul Export of RCE is not supported by Sinon
3
4
  export var ensureMathIsReady = mathIsReady;
4
5
  export var ensureMathRendered = mathRendered;
@@ -2,7 +2,6 @@ import t from '@instructure/quiz-i18n/es/format-message';
2
2
  import { BUILD_CHAR_LIMIT } from '@instructure/quiz-common';
3
3
  export default (function (val, options) {
4
4
  var limit = options.limit || BUILD_CHAR_LIMIT;
5
-
6
5
  if (val && JSON.stringify(val).length > limit) {
7
6
  return t('Maximum content exceeded');
8
7
  }
@@ -4,15 +4,12 @@ import { Map } from 'immutable';
4
4
  import store from 'store';
5
5
  import { sessionStore } from "./sessionStore.js";
6
6
  import { ACTIVE_QUESTION, CACHED_SESSION_ID, QUIZ_PRINT_FONT_SIZE_PREFERENCE } from '@instructure/quiz-common';
7
-
8
7
  var PersistedState = /*#__PURE__*/function () {
9
8
  function PersistedState() {
10
9
  _classCallCheck(this, PersistedState);
11
10
  }
12
-
13
11
  _createClass(PersistedState, [{
14
12
  key: "load",
15
-
16
13
  /**
17
14
  * Some of our redux store values are stored in browser client-side storage
18
15
  * for easy recall in the event of a page refresh, etc. This provides a single
@@ -27,7 +24,6 @@ var PersistedState = /*#__PURE__*/function () {
27
24
  if (!sessionStore.enabled) {
28
25
  return;
29
26
  }
30
-
31
27
  return Map({
32
28
  taking: Map({
33
29
  sessionIdForCurrentItem: store.get(CACHED_SESSION_ID),
@@ -39,8 +35,6 @@ var PersistedState = /*#__PURE__*/function () {
39
35
  });
40
36
  }
41
37
  }]);
42
-
43
38
  return PersistedState;
44
39
  }();
45
-
46
40
  export default new PersistedState();
@@ -1,20 +1,17 @@
1
1
  export var printWithCss = function printWithCss(cssClass) {
2
2
  var timeout = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
3
3
  var rootElement = document.querySelector('html');
4
-
5
4
  if (!rootElement || !cssClass) {
6
5
  return setTimeoutPromise(timeout).then(function () {
7
6
  return window.print();
8
7
  });
9
8
  }
10
-
11
9
  rootElement.classList.add(cssClass);
12
10
  return setTimeoutPromise(timeout).then(function () {
13
11
  window.print();
14
12
  rootElement.classList.remove(cssClass);
15
13
  });
16
14
  };
17
-
18
15
  var setTimeoutPromise = function setTimeoutPromise(delay) {
19
16
  return new Promise(function (resolve, reject) {
20
17
  try {
@@ -26,7 +23,6 @@ var setTimeoutPromise = function setTimeoutPromise(delay) {
26
23
  }
27
24
  });
28
25
  };
29
-
30
26
  export var ensureImagesLoaded = function ensureImagesLoaded() {
31
27
  return new Promise(function (resolve) {
32
28
  setTimeoutPromise(0).then(function () {
@@ -3,13 +3,12 @@ import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
3
3
  import { ensureMathIsReady, ensureMathRendered } from "./mathRenderingUtils.js";
4
4
  import { ensureImagesLoaded } from "./printUtils.js";
5
5
  export var ensureRCEContentIsLoaded = /*#__PURE__*/function () {
6
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
6
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
7
7
  return _regeneratorRuntime.wrap(function _callee$(_context) {
8
8
  while (1) {
9
9
  switch (_context.prev = _context.next) {
10
10
  case 0:
11
11
  return _context.abrupt("return", ensureMathIsReady().then(ensureMathRendered).then(ensureImagesLoaded));
12
-
13
12
  case 1:
14
13
  case "end":
15
14
  return _context.stop();
@@ -17,7 +16,6 @@ export var ensureRCEContentIsLoaded = /*#__PURE__*/function () {
17
16
  }
18
17
  }, _callee);
19
18
  }));
20
-
21
19
  return function ensureRCEContentIsLoaded() {
22
20
  return _ref.apply(this, arguments);
23
21
  };
@@ -6,22 +6,18 @@ import Alerts from "../components/alerts/index.js"; // alert has to be in the ht
6
6
  // order for screenreaders to pick up on role="alert",
7
7
  // so we're rendering a sub-app into it so that so that
8
8
  // we dont accidentally remove it with react
9
-
10
9
  var _ref = /*#__PURE__*/React.createElement(Alerts, {
11
10
  politeness: ASSERTIVE
12
11
  });
13
-
14
12
  var _ref2 = /*#__PURE__*/React.createElement(Alerts, {
15
13
  politeness: POLITE
16
14
  });
17
-
18
15
  export function renderAlerts(store) {
19
- ReactDOM.render( /*#__PURE__*/React.createElement(Provider, {
16
+ ReactDOM.render(/*#__PURE__*/React.createElement(Provider, {
20
17
  store: store
21
18
  }, _ref), liveRegion());
22
-
23
19
  if (politeLiveRegion()) {
24
- ReactDOM.render( /*#__PURE__*/React.createElement(Provider, {
20
+ ReactDOM.render(/*#__PURE__*/React.createElement(Provider, {
25
21
  store: store
26
22
  }, _ref2), politeLiveRegion());
27
23
  }
@@ -4,11 +4,9 @@ import { getActiveQuizSession } from "../selectors/quizSessions.js";
4
4
  var whitelist = [QUIZ_SUBMISSION_EVENT, RESPONSE, SESSION_STARTED_OR_RESUMED_EVENT, RCE_EVENT, PAGE_BLURRED_EVENT, PAGE_FOCUSED_EVENT];
5
5
  export function serializeEvent(action, store) {
6
6
  var type = action.type;
7
-
8
7
  if (!whitelist.includes(type)) {
9
8
  return false;
10
9
  }
11
-
12
10
  var state = store.getState();
13
11
  var quizSession = getActiveQuizSession(state);
14
12
  var defaultEventData = {
@@ -1,6 +1,5 @@
1
1
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/esm/createClass";
3
-
4
3
  /**
5
4
  * A store that behaves like https://github.com/marcuswestin/store.js but writes
6
5
  * to sessionStorage instead of localStorage, because some things you want to be
@@ -9,39 +8,34 @@ import _createClass from "@babel/runtime/helpers/esm/createClass";
9
8
  export var SessionStore = /*#__PURE__*/function () {
10
9
  function SessionStore(storage) {
11
10
  _classCallCheck(this, SessionStore);
12
-
13
11
  var newStorage = storage;
14
-
15
12
  if (newStorage === void 0) {
16
13
  // Chrome raises a DOMException when trying to access sessionStorage if
17
14
  // it has been disabled
18
15
  try {
19
16
  newStorage = window.sessionStorage;
20
- } catch (e) {// continue regardless of error
17
+ } catch (e) {
18
+ // continue regardless of error
21
19
  }
22
20
  }
23
-
24
21
  this.storage = newStorage;
25
22
  this.enabled = this.checkStorageEnabled();
26
23
  }
27
-
28
24
  _createClass(SessionStore, [{
29
25
  key: "checkStorageEnabled",
30
26
  value: function checkStorageEnabled() {
31
27
  if (!this.storage) {
32
28
  return false;
33
29
  }
34
-
35
30
  var testKey = 'storageCheck';
36
31
  var testValue = 'just checking';
37
32
  var result;
38
-
39
33
  try {
40
34
  this.set(testKey, testValue);
41
35
  result = this.get(testKey);
42
- } catch (e) {// continue regardless of error
36
+ } catch (e) {
37
+ // continue regardless of error
43
38
  }
44
-
45
39
  return result === testValue;
46
40
  }
47
41
  }, {
@@ -64,7 +58,6 @@ export var SessionStore = /*#__PURE__*/function () {
64
58
  return this.storage.removeItem(key);
65
59
  }
66
60
  }]);
67
-
68
61
  return SessionStore;
69
62
  }();
70
63
  var newSessionStore = new SessionStore();
@@ -2,7 +2,6 @@ import React from 'react';
2
2
  import partial from 'lodash/partial';
3
3
  import { Text } from '@instructure/ui-text';
4
4
  import t from '@instructure/quiz-i18n/es/format-message';
5
-
6
5
  var propsForVersioningWrapper = function propsForVersioningWrapper(copyDescription, immutableDescription, isImmutable, shouldClone, setShouldClone, switchOffEditing, isEditing) {
7
6
  var alertType = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : 'warning';
8
7
  var defaultProps = {
@@ -12,7 +11,6 @@ var propsForVersioningWrapper = function propsForVersioningWrapper(copyDescripti
12
11
  if (!isEditing) return {
13
12
  showAlert: false
14
13
  };
15
-
16
14
  if (isImmutable && shouldClone) {
17
15
  Object.assign(defaultProps, {
18
16
  description: copyDescription,
@@ -30,15 +28,12 @@ var propsForVersioningWrapper = function propsForVersioningWrapper(copyDescripti
30
28
  showAlert: true
31
29
  });
32
30
  }
33
-
34
31
  return defaultProps;
35
32
  };
36
-
37
33
  export var propsForItemVersioningWrapper = function propsForItemVersioningWrapper() {
38
34
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
39
35
  args[_key] = arguments[_key];
40
36
  }
41
-
42
37
  return propsForVersioningWrapper.apply(void 0, [/*#__PURE__*/React.createElement(Text, {
43
38
  color: "primary"
44
39
  }, /*#__PURE__*/React.createElement("b", null, t('Editing a copy.')), "\xA0", t('Item statistics from this new copy will appear separate from the previous version of this question.')), /*#__PURE__*/React.createElement(Text, {
@@ -49,7 +44,6 @@ export var propsForStimulusVersioningWrapper = function propsForStimulusVersioni
49
44
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
50
45
  args[_key2] = arguments[_key2];
51
46
  }
52
-
53
47
  return propsForVersioningWrapper.apply(void 0, [/*#__PURE__*/React.createElement(Text, {
54
48
  color: "primary"
55
49
  }, /*#__PURE__*/React.createElement("b", null, t('Editing a copy.')), "\xA0", t('Statistics from this new copy will appear separate from the previous version.')), /*#__PURE__*/React.createElement(Text, {
@@ -60,7 +54,6 @@ export var propsForBankEntryVersioningWrapper = function propsForBankEntryVersio
60
54
  for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
61
55
  args[_key3] = arguments[_key3];
62
56
  }
63
-
64
57
  return propsForVersioningWrapper.apply(void 0, [/*#__PURE__*/React.createElement(Text, {
65
58
  color: "primary"
66
59
  }, /*#__PURE__*/React.createElement("b", null, t('Editing a copy.')), "\xA0", t('Statistics from this new copy will appear separate from the previous version of this question.')), /*#__PURE__*/React.createElement(Text, {
@@ -84,7 +77,6 @@ export var propsForItemBankEntryEditPrompt = function propsForItemBankEntryEditP
84
77
  for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
85
78
  args[_key4] = arguments[_key4];
86
79
  }
87
-
88
80
  return propsForBankEntryEditPrompt.apply(void 0, args.concat([/*#__PURE__*/React.createElement(Text, {
89
81
  color: "primary"
90
82
  }, /*#__PURE__*/React.createElement("b", null, t('Banked Item.')), "\xA0", t('Some options and the points value can be changed here but editing must take place within the bank.'))]));
@@ -93,7 +85,6 @@ export var propsForStimulusBankEntryEditPrompt = function propsForStimulusBankEn
93
85
  for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
94
86
  args[_key5] = arguments[_key5];
95
87
  }
96
-
97
88
  return propsForBankEntryEditPrompt.apply(void 0, args.concat([/*#__PURE__*/React.createElement(Text, {
98
89
  "data-automation": "sdk-editInBanks-warning"
99
90
  }, /*#__PURE__*/React.createElement("b", null, t('Banked Stimulus.')), "\xA0", t('Editing of this stimulus must take place within the bank.'))]));
@@ -1,29 +1,23 @@
1
1
  /* eslint "no-param-reassign": "warn" */
2
2
  import MultiWeakMap from "./MultiWeakMap.js"; // Method decorator that uses a MultiWeakMap to cache the results of calls
3
3
  // for argument combinations previously seen before. See tests for examples.
4
-
5
4
  export default (function (target, name, descriptor) {
6
5
  var decoratedMethod = descriptor.value;
7
6
  var arity = decoratedMethod.length;
8
7
  var cache = new MultiWeakMap(arity);
9
-
10
8
  descriptor.value = function () {
11
9
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
12
10
  args[_key] = arguments[_key];
13
11
  }
14
-
15
12
  if (args.length !== arity) {
16
13
  throw new Error("@withCachedArguments-decorated function expected ".concat(arity, " args but got ").concat(args.length));
17
14
  }
18
-
19
15
  if (cache.has(args)) {
20
16
  return cache.get(args);
21
17
  }
22
-
23
18
  var result = decoratedMethod.apply(this, args);
24
19
  cache.set(args, result);
25
20
  return result;
26
21
  };
27
-
28
22
  return descriptor;
29
23
  });
@@ -8,43 +8,34 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
8
8
  export function withDynamoPagination(Fetcher) {
9
9
  return /*#__PURE__*/function (_Fetcher) {
10
10
  _inherits(_class, _Fetcher);
11
-
12
11
  var _super = _createSuper(_class);
13
-
14
12
  function _class() {
15
13
  var _this;
16
-
17
14
  _classCallCheck(this, _class);
18
-
19
15
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
20
16
  args[_key] = arguments[_key];
21
17
  }
22
-
23
- _this = _super.call.apply(_super, [this].concat(args)); // just pass thru the entire fetch Response object
24
-
18
+ _this = _super.call.apply(_super, [this].concat(args));
19
+ // just pass thru the entire fetch Response object
25
20
  _this.asyncResponseHandler = function (response) {
26
21
  return response;
27
22
  };
28
-
29
23
  return _this;
30
24
  }
31
-
32
25
  _createClass(_class, [{
33
26
  key: "paginatedGet",
34
27
  value: function () {
35
- var _paginatedGet = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(url) {
28
+ var _paginatedGet = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(url) {
36
29
  var _this2 = this;
37
-
38
30
  var _ref,
39
- actionCreator,
40
- lastEvaluatedHashKey,
41
- lastEvaluatedRangeKey,
42
- responses,
43
- ancillary,
44
- response,
45
- resolvedResponses,
46
- _args = arguments;
47
-
31
+ actionCreator,
32
+ lastEvaluatedHashKey,
33
+ lastEvaluatedRangeKey,
34
+ responses,
35
+ ancillary,
36
+ response,
37
+ resolvedResponses,
38
+ _args = arguments;
48
39
  return _regeneratorRuntime.wrap(function _callee$(_context) {
49
40
  while (1) {
50
41
  switch (_context.prev = _context.next) {
@@ -52,50 +43,42 @@ export function withDynamoPagination(Fetcher) {
52
43
  _ref = _args.length > 1 && _args[1] !== void 0 ? _args[1] : {}, actionCreator = _ref.actionCreator;
53
44
  responses = [];
54
45
  ancillary = [];
55
-
56
46
  case 3:
57
47
  _context.next = 5;
58
48
  return this.get(url, {
59
49
  lastEvaluatedHashKey: lastEvaluatedHashKey,
60
50
  lastEvaluatedRangeKey: lastEvaluatedRangeKey
61
51
  });
62
-
63
52
  case 5:
64
53
  response = _context.sent;
65
- responses.push(response); // we handle the json parsing and dispatching asynchronously so that
66
- // we can keep making network requests until pagination is exhausted
54
+ responses.push(response);
67
55
 
56
+ // we handle the json parsing and dispatching asynchronously so that
57
+ // we can keep making network requests until pagination is exhausted
68
58
  ancillary.push(actionCreator ? response.json().then(function (json) {
69
59
  return _this2.dispatch(actionCreator(json));
70
60
  }) : response.json());
71
61
  lastEvaluatedHashKey = response.headers.get('X-Last-Evaluated-Hash-Key');
72
62
  lastEvaluatedRangeKey = response.headers.get('X-Last-Evaluated-Range-Key');
73
-
74
63
  case 10:
75
64
  if (lastEvaluatedHashKey && lastEvaluatedRangeKey) {
76
65
  _context.next = 3;
77
66
  break;
78
67
  }
79
-
80
68
  case 11:
81
69
  _context.next = 13;
82
70
  return Promise.all(ancillary);
83
-
84
71
  case 13:
85
72
  resolvedResponses = _context.sent;
86
-
87
73
  if (!actionCreator) {
88
74
  _context.next = 18;
89
75
  break;
90
76
  }
91
-
92
77
  return _context.abrupt("return", responses);
93
-
94
78
  case 18:
95
79
  return _context.abrupt("return", resolvedResponses.reduce(function (res, acc) {
96
80
  return [].concat(_toConsumableArray(res), _toConsumableArray(acc));
97
81
  }, []));
98
-
99
82
  case 19:
100
83
  case "end":
101
84
  return _context.stop();
@@ -103,15 +86,12 @@ export function withDynamoPagination(Fetcher) {
103
86
  }
104
87
  }, _callee, this);
105
88
  }));
106
-
107
89
  function paginatedGet(_x) {
108
90
  return _paginatedGet.apply(this, arguments);
109
91
  }
110
-
111
92
  return paginatedGet;
112
93
  }()
113
94
  }]);
114
-
115
95
  return _class;
116
96
  }(Fetcher);
117
97
  }
@@ -7,12 +7,10 @@ import MultiWeakMap from "./MultiWeakMap.js"; // This is a method decorator that
7
7
  // the global Redux store, e.g., ['quizEntries']. It then looks up the value
8
8
  // being stored in this path and checks to see if the decorated method has been
9
9
  // called before with the same value, and if so, returns the cached result.
10
-
11
10
  export default (function (fnToGetPaths) {
12
11
  return function (target, name, descriptor) {
13
12
  var decoratedMethod = descriptor.value;
14
13
  var cache;
15
-
16
14
  descriptor.value = function () {
17
15
  var paths = fnToGetPaths(this);
18
16
  cache = cache || new MultiWeakMap(paths.length + 1);
@@ -21,28 +19,21 @@ export default (function (fnToGetPaths) {
21
19
  return state.getIn(path, Map());
22
20
  });
23
21
  var keys = [this].concat(fields);
24
-
25
22
  if (cache.has(keys)) {
26
23
  return cache.get(keys);
27
24
  }
28
-
29
25
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
30
26
  args[_key] = arguments[_key];
31
27
  }
32
-
33
28
  var result = decoratedMethod.apply(this, args);
34
-
35
29
  if (allAreObjects(fields)) {
36
30
  cache.set(keys, result);
37
31
  }
38
-
39
32
  return result;
40
33
  };
41
-
42
34
  return descriptor;
43
35
  };
44
36
  });
45
-
46
37
  var allAreObjects = function allAreObjects(values) {
47
38
  return every(values, isObject);
48
39
  };
package/es/config.js CHANGED
@@ -1,33 +1,29 @@
1
- import store from 'store'; // NOTE: Configuration from environment variables is deprecated.
1
+ import store from 'store';
2
+
3
+ // NOTE: Configuration from environment variables is deprecated.
2
4
  // Pass configuration as props instead.
3
- // TODO: figure out if any consumers are still passing in quizzes_vars - (don't think so)
4
5
 
6
+ // TODO: figure out if any consumers are still passing in quizzes_vars - (don't think so)
5
7
  var quizzesVars = process.quizzes_vars || process.env || {};
6
8
  export var environment = {
7
9
  nodeEnv: quizzesVars.NODE_ENV || 'development'
8
10
  };
9
-
10
11
  environment.inDevelopment = function () {
11
12
  return environment.nodeEnv === 'development';
12
13
  };
13
-
14
14
  var langParam = window.location.search.match(/[&?]lang=([^&]*)/);
15
15
  environment.lang = langParam && langParam[1] || store.enabled && store.get('lang') || void 0;
16
-
17
16
  if (store.enabled) {
18
17
  store.set('lang', environment.lang);
19
18
  }
20
- /* eslint-disable no-undef */
21
-
22
19
 
20
+ /* eslint-disable no-undef */
23
21
  if (typeof NODE_ENV !== 'undefined' && (NODE_ENV === 'development' || NODE_ENV === 'test')) {
24
22
  if (typeof CONFIG !== 'undefined') {
25
23
  Object.assign(environment, CONFIG);
26
24
  }
27
-
28
25
  window.ENV = environment;
29
26
  }
30
27
  /* eslint-enable no-undef */
31
28
 
32
-
33
29
  export default environment;
@@ -2,8 +2,9 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
2
2
  import { createStore, applyMiddleware } from 'redux';
3
3
  import { combineReducers } from 'redux-immutable';
4
4
  import union from 'lodash/union';
5
- import flowRight from 'lodash/flowRight'; // middleware
5
+ import flowRight from 'lodash/flowRight';
6
6
 
7
+ // middleware
7
8
  import createLogger from 'redux-logger';
8
9
  import multi from 'redux-multi';
9
10
  import thunkMiddleware from 'redux-thunk';
@@ -11,7 +12,6 @@ import alertTimerMiddleware from "./common/middleware/alertTimerMiddleware.js";
11
12
  import crossDomainMessagingMiddleware from "./common/middleware/crossDomainMessagingMiddleware.js";
12
13
  import eventLoggerMiddlewareCreator from "./common/middleware/eventLoggerMiddleware.js";
13
14
  import { createQuizTimerWebSocketMiddleware } from "./common/middleware/quizTimerWebSocketMiddleware.js"; // reducers
14
-
15
15
  import alerts from "./common/reducers/alerts.js";
16
16
  import banks from "./common/reducers/banks.js";
17
17
  import bankEntries from "./common/reducers/bankEntries.js";
@@ -53,11 +53,11 @@ import dragAndDrop from "./common/reducers/dragAndDrop.js";
53
53
  import sharedBanks from "./common/reducers/sharedBanks.js";
54
54
  export function configureStore(_ref) {
55
55
  var _ref$extraMiddleware = _ref.extraMiddleware,
56
- extraMiddleware = _ref$extraMiddleware === void 0 ? [] : _ref$extraMiddleware,
57
- _ref$inDevelopment = _ref.inDevelopment,
58
- inDevelopment = _ref$inDevelopment === void 0 ? false : _ref$inDevelopment,
59
- _ref$initialState = _ref.initialState,
60
- initialState = _ref$initialState === void 0 ? void 0 : _ref$initialState;
56
+ extraMiddleware = _ref$extraMiddleware === void 0 ? [] : _ref$extraMiddleware,
57
+ _ref$inDevelopment = _ref.inDevelopment,
58
+ inDevelopment = _ref$inDevelopment === void 0 ? false : _ref$inDevelopment,
59
+ _ref$initialState = _ref.initialState,
60
+ initialState = _ref$initialState === void 0 ? void 0 : _ref$initialState;
61
61
  var loggerMiddleware = createLogger({
62
62
  // immutable state returned as raw JS
63
63
  // for readability's sake
@@ -75,7 +75,8 @@ export function configureStore(_ref) {
75
75
  var devMiddleware = [loggerMiddleware];
76
76
  var middlewareToApply = inDevelopment ? union(baseMiddleware, devMiddleware) : baseMiddleware;
77
77
  middlewareToApply = union(middlewareToApply, extraMiddleware);
78
- var createStoreWithMiddlewareApplied = flowRight(applyMiddleware.apply(void 0, _toConsumableArray(middlewareToApply)), // todo: tweak middleware to handle (re)routing with devtools
78
+ var createStoreWithMiddlewareApplied = flowRight(applyMiddleware.apply(void 0, _toConsumableArray(middlewareToApply)),
79
+ // todo: tweak middleware to handle (re)routing with devtools
79
80
  window.devToolsExtension ? window.devToolsExtension({
80
81
  name: 'quiz-core'
81
82
  }) : function (f) {
@@ -24,11 +24,12 @@ export function createQuizEntryRegrade(quizId, payload) {
24
24
  });
25
25
  var requestParams = {
26
26
  body: body
27
- }; // Although the fetcher has an onError method, it's specifically for dispatching
27
+ };
28
+
29
+ // Although the fetcher has an onError method, it's specifically for dispatching
28
30
  // redux actions (e.g. to show notifications).
29
31
  // API validation error handling doesn't go through redux, so we catch the
30
32
  // fetcher error separately below and add the necessary formatted data to it
31
-
32
33
  return fetcher.post(url, requestParams).then(function () {
33
34
  dispatch(closeModal(REGRADE_MODAL));
34
35
  }).catch(processApiError);
@@ -4,13 +4,11 @@ import Fetcher from "../../common/util/Fetcher.js";
4
4
  import { postToParent } from "../../common/actions/postMessage.js";
5
5
  import { handleQuizSessionResultsResponse } from "../../common/api/callHandlers.js";
6
6
  import { getResultInfo } from "../../common/actions/quizSessions.js";
7
-
8
7
  var removeIdsFromModifications = function removeIdsFromModifications(modifiedResults) {
9
8
  return modifiedResults.map(function (result) {
10
9
  return omit(result, 'id');
11
10
  });
12
11
  };
13
-
14
12
  export var postQuizSessionResults = function postQuizSessionResults(sessionId, sessionItemResultsModifications, fudgePoints, previousScore) {
15
13
  var fetchQuizSessionCb = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : getResultInfo;
16
14
  var quizSessionUrl = "/api/quiz_sessions/".concat(sessionId);
@@ -27,13 +25,11 @@ export var postQuizSessionResults = function postQuizSessionResults(sessionId, s
27
25
  var fetcher = new Fetcher();
28
26
  return fetcher.post(url, params).then(function (quizSessionResult) {
29
27
  var dispatchActions = [handleQuizSessionResultsResponse([quizSessionResult]), fetchQuizSessionCb(sessionId, null)];
30
-
31
28
  if (previousScore !== (quizSessionResult === null || quizSessionResult === void 0 ? void 0 : quizSessionResult.score)) {
32
29
  dispatchActions.unshift(postToParent({
33
30
  subject: SUBMISSION_UPDATE_SUBJECT
34
31
  }));
35
32
  }
36
-
37
33
  return dispatch(dispatchActions);
38
34
  });
39
35
  };
package/es/index.js CHANGED
@@ -1,5 +1,4 @@
1
1
  /* eslint "import/newline-after-import": "warn" */
2
-
3
2
  /**
4
3
  *
5
4
  * In g/356542 we tried importing takingApiActions from here, and it caused a weird karma issue.
@@ -77,7 +76,6 @@ export { TimeUnitsInput } from "./common/components/shared/TimeUnitsInput/index.
77
76
  export { QuizEntry as QuizEntryView } from "./building/components/resources/quizEntry/QuizEntry/index.js";
78
77
  export { Provider } from "./common/react-redux.js";
79
78
  export { FormattedTimer } from "./common/components/shared/FormattedDuration/index.js"; // Utilities
80
-
81
79
  export { environment as config } from "./config.js";
82
80
  export { Fetcher } from "./common/util/Fetcher.js";
83
81
  export { httpHeaders } from "./common/util/httpHeaders.js";
@@ -102,7 +100,6 @@ export { breakdownSeconds, HOUR_IN_SECONDS } from "./common/components/shared/Fo
102
100
  export { sessionStore } from "./common/util/sessionStore.js";
103
101
  export { printWithCss, ensureImagesLoaded } from "./common/util/printUtils.js";
104
102
  export { ensureRCEContentIsLoaded } from "./common/util/rceChecker.js"; // APIs
105
-
106
103
  export { createQuizEntryRegrade } from "./grading/api/quizEntryRegrades.js";
107
104
  export { getQuizEntry } from "./building/api/quizEntries.js";
108
105
  export { getItem } from "./building/api/items.js";
@@ -115,8 +112,9 @@ export { postQuizSessionResults } from "./grading/api/updateResults.js";
115
112
  export { getQuizSession, submitOutstandingQuizSession, getQuizSessions } from "./moderating/api/quizSessions.js";
116
113
  export { getQuizSessionEvents } from "./moderating/api/quizSessionEvents.js";
117
114
  import * as takingApiActions from "./taking/api/taking.js";
118
- export { takingApiActions }; // Actions
115
+ export { takingApiActions };
119
116
 
117
+ // Actions
120
118
  export { addSuccess, addInfo, addError, screenreaderNotification, removeAlert } from "./common/actions/alerts.js";
121
119
  export { openModal, closeModal } from "./common/actions/modal.js";
122
120
  export { setGradeByQuestionEnabled, setActiveItem, dismissGradeByQuestionBanner } from "./common/actions/grading.js";
@@ -136,8 +134,9 @@ export { startQuizExportJob } from "./common/actions/quizExport.js";
136
134
  import * as modalActions from "./common/actions/modal.js";
137
135
  export { modalActions };
138
136
  import * as takingActionCreators from "./common/actions/taking.js";
139
- export { takingActionCreators }; // Selectors
137
+ export { takingActionCreators };
140
138
 
139
+ // Selectors
141
140
  export { getQuizById, getActiveQuizId, getQuizEntryById, isActiveQuizWorkingInstanceOneQuestionAtATime, getActiveQuiz } from "./common/selectors/quizzes.js";
142
141
  export { getItemById } from "./common/selectors/items.js";
143
142
  export { fileUploading } from "./common/selectors/calls.js";
@@ -147,5 +146,4 @@ export { getRCEError } from "./common/selectors/rce.js";
147
146
  export { getQuizSessionById, getActiveQuizSession, getBacktrackingIsAllowed, isOneQuestionAtATime } from "./common/selectors/quizSessions.js";
148
147
  export { getGradingSessionItems } from "./common/selectors/sessionItems.js";
149
148
  export { getGradingSessionItemResults } from "./common/selectors/sessionItemResults.js"; // Records
150
-
151
149
  export * from "./common/records/index.js";