@instructure/quiz-core 21.0.1-rc.11 → 21.0.1-rc.13

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 (1301) hide show
  1. package/es/banks/api/bankEntries.js +13 -13
  2. package/es/banks/api/banks.js +26 -24
  3. package/es/banks/api/copyingBanksPoller.js +51 -53
  4. package/es/banks/api/tagAssociations.js +23 -27
  5. package/es/banks/components/AddBankEntryModal/index.js +7 -7
  6. package/es/banks/components/AddBankEntryModal/presenter.js +19 -18
  7. package/es/banks/components/AddToBankModal/index.js +8 -8
  8. package/es/banks/components/AddToBankModal/presenter.js +35 -35
  9. package/es/banks/components/AsyncSearch/index.js +37 -35
  10. package/es/banks/components/Bank/index.js +12 -12
  11. package/es/banks/components/Bank/presenter.js +82 -86
  12. package/es/banks/components/Bank/styles.js +2 -1
  13. package/es/banks/components/BankEntriesList/index.js +3 -3
  14. package/es/banks/components/BankEntriesList/presenter.js +17 -16
  15. package/es/banks/components/BankEntry/index.js +14 -14
  16. package/es/banks/components/BankEntry/presenter.js +170 -178
  17. package/es/banks/components/BankEntry/styles.js +3 -1
  18. package/es/banks/components/BankEntryRow/BankEntryRow.examples.js +2 -2
  19. package/es/banks/components/BankEntryRow/index.js +9 -9
  20. package/es/banks/components/BankEntryRow/presenter.js +42 -42
  21. package/es/banks/components/BankSearch/BankSearch.stories.js +1 -1
  22. package/es/banks/components/BankSearch/index.js +4 -4
  23. package/es/banks/components/BankSearch/presenter.js +21 -20
  24. package/es/banks/components/Banks/index.js +7 -7
  25. package/es/banks/components/Banks/presenter.js +62 -61
  26. package/es/banks/components/BanksList/index.js +7 -7
  27. package/es/banks/components/BanksList/presenter.js +104 -111
  28. package/es/banks/components/CopyMoveBankEntryModal/index.js +8 -8
  29. package/es/banks/components/CopyMoveBankEntryModal/presenter.js +42 -43
  30. package/es/banks/components/CreateBankModal/index.js +10 -10
  31. package/es/banks/components/CreateBankModal/presenter.js +30 -29
  32. package/es/banks/components/EditBankModal/index.js +7 -7
  33. package/es/banks/components/EditBankModal/presenter.js +26 -25
  34. package/es/banks/components/HeaderBreadCrumb/index.js +14 -13
  35. package/es/banks/components/HeaderMenu/index.js +4 -4
  36. package/es/banks/components/HeaderMenu/presenter.js +17 -17
  37. package/es/banks/components/NavWrapper/index.js +2 -2
  38. package/es/banks/components/NavWrapper/presenter.js +21 -20
  39. package/es/banks/components/NavWrapper/styles.js +4 -2
  40. package/es/banks/components/SharingModal/ContextualIconButton/index.js +16 -14
  41. package/es/banks/components/SharingModal/RootAccountSharing.js +20 -20
  42. package/es/banks/components/SharingModal/ShareList/index.js +23 -23
  43. package/es/banks/components/SharingModal/index.js +5 -5
  44. package/es/banks/components/SharingModal/presenter.js +92 -93
  45. package/es/building/api/items.js +68 -72
  46. package/es/building/api/qtiImports.js +13 -12
  47. package/es/building/api/quizEntries.js +46 -46
  48. package/es/building/api/quizzes.js +10 -10
  49. package/es/building/api/stimuli.js +4 -4
  50. package/es/building/components/QTIImportModal/index.js +4 -4
  51. package/es/building/components/layout/Sidebar/Sidebar.examples.js +22 -20
  52. package/es/building/components/layout/Sidebar/SidebarItem/index.js +13 -13
  53. package/es/building/components/layout/Sidebar/SidebarItem/presenter.js +17 -16
  54. package/es/building/components/layout/Sidebar/Stimulus/index.js +11 -11
  55. package/es/building/components/layout/Sidebar/Stimulus/presenter.js +17 -16
  56. package/es/building/components/layout/Sidebar/index.js +12 -12
  57. package/es/building/components/layout/Sidebar/presenter.js +28 -27
  58. package/es/building/components/layout/Sidebar/styles.js +3 -1
  59. package/es/building/components/layout/header/BuildingButtons/index.js +9 -9
  60. package/es/building/components/layout/header/BuildingButtons/presenter.js +23 -23
  61. package/es/building/components/layout/header/BuildingButtons/styles.js +3 -1
  62. package/es/building/components/layout/header/SDKBuildingButtons/index.js +3 -3
  63. package/es/building/components/resources/ActionButtons/index.js +4 -4
  64. package/es/building/components/resources/ActionButtons/presenter.js +25 -24
  65. package/es/building/components/resources/ActionButtons/styles.js +2 -1
  66. package/es/building/components/resources/AddToBankOptions/index.js +42 -43
  67. package/es/building/components/resources/BanksTray/index.js +3 -3
  68. package/es/building/components/resources/BanksTray/presenter.js +25 -26
  69. package/es/building/components/resources/DeleteStimulusModal/index.js +5 -5
  70. package/es/building/components/resources/DeleteStimulusModal/presenter.js +27 -27
  71. package/es/building/components/resources/ItemFeedbackModal/index.js +8 -8
  72. package/es/building/components/resources/ItemFeedbackModal/presenter.js +22 -22
  73. package/es/building/components/resources/MoveImmutableModal/index.js +6 -6
  74. package/es/building/components/resources/MoveImmutableModal/presenter.js +16 -15
  75. package/es/building/components/resources/quiz/editButton/EditButton.js +17 -16
  76. package/es/building/components/resources/quiz/instructions/Edit/index.js +2 -2
  77. package/es/building/components/resources/quiz/instructions/Edit/presenter.js +24 -16
  78. package/es/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +1 -1
  79. package/es/building/components/resources/quiz/instructions/Instructions/index.js +7 -7
  80. package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +33 -28
  81. package/es/building/components/resources/quiz/instructions/Show/index.js +17 -16
  82. package/es/building/components/resources/quiz/title/Edit/index.js +27 -25
  83. package/es/building/components/resources/quiz/title/Edit/styles.js +3 -1
  84. package/es/building/components/resources/quiz/title/Show/index.js +17 -16
  85. package/es/building/components/resources/quiz/title/Title/Title.examples.js +1 -1
  86. package/es/building/components/resources/quiz/title/Title/index.js +8 -8
  87. package/es/building/components/resources/quiz/title/Title/presenter.js +34 -29
  88. package/es/building/components/resources/quiz/title/Title/styles.js +2 -1
  89. package/es/building/components/resources/quizEntry/QuizEntry/index.js +14 -14
  90. package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +48 -46
  91. package/es/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +7 -7
  92. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +4 -4
  93. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +42 -43
  94. package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +15 -15
  95. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +3 -3
  96. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +25 -24
  97. package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +3 -1
  98. package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +82 -84
  99. package/es/building/components/resources/quizEntry/QuizEntryEdit/index.js +11 -11
  100. package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +107 -110
  101. package/es/building/components/resources/quizEntry/QuizEntryShow/index.js +8 -8
  102. package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +29 -29
  103. package/es/building/components/resources/quizEntry/QuizEntryShow/styles.js +2 -1
  104. package/es/common/actions/alerts.js +1 -1
  105. package/es/common/actions/editing.js +1 -1
  106. package/es/common/actions/modal.js +2 -2
  107. package/es/common/actions/modifications.js +7 -7
  108. package/es/common/actions/quizSessions.js +9 -9
  109. package/es/common/actions/scrolling.js +1 -1
  110. package/es/common/actions/taking.js +2 -2
  111. package/es/common/api/callHandlers.js +9 -4
  112. package/es/common/api/features.js +3 -3
  113. package/es/common/api/fileUpload.js +1 -1
  114. package/es/common/api/getPersistenceActions.js +21 -18
  115. package/es/common/api/helpers.js +66 -70
  116. package/es/common/api/interactionTypes.js +2 -2
  117. package/es/common/api/quizSessions.js +28 -28
  118. package/es/common/api/quizzes.js +8 -5
  119. package/es/common/components/AccessCodeTextInput/AccessCodeTextInput.stories.js +4 -5
  120. package/es/common/components/AccessCodeTextInput/index.js +13 -12
  121. package/es/common/components/ApiFeatureFlagInitializer/index.js +7 -8
  122. package/es/common/components/ConfirmationModal/index.js +6 -4
  123. package/es/common/components/ConfirmationModal/presenter.js +20 -19
  124. package/es/common/components/ImportModal/ImportFileSelector/index.js +23 -24
  125. package/es/common/components/ImportModal/index.js +8 -8
  126. package/es/common/components/ImportModal/presenter.js +32 -30
  127. package/es/common/components/LearnosityCalculator/index.js +46 -47
  128. package/es/common/components/MaskedTextInput/MaskedTextInput.stories.js +1 -1
  129. package/es/common/components/MaskedTextInput/index.js +13 -11
  130. package/es/common/components/Pin/index.js +1 -1
  131. package/es/common/components/Pin/presenter.js +12 -11
  132. package/es/common/components/PreviewFrame/examples.config.js +1 -2
  133. package/es/common/components/PreviewFrame/index.js +13 -13
  134. package/es/common/components/PrintFontSizeModal/index.js +1 -1
  135. package/es/common/components/PrintFontSizeModal/presenter.js +28 -25
  136. package/es/common/components/RceConfigProvider/index.js +6 -6
  137. package/es/common/components/RceConfigProvider/presenter.js +74 -77
  138. package/es/common/components/RceConfigProvider/rceConfigErrorHandler.js +5 -5
  139. package/es/common/components/RceConfigProvider/rceConfigFetcher.js +24 -26
  140. package/es/common/components/RceConfigProvider/rceConfigMapper.js +3 -5
  141. package/es/common/components/RceConfigProvider/rceConfigUtils.js +2 -2
  142. package/es/common/components/SDKApp/index.js +29 -29
  143. package/es/common/components/SDKHeaderCalculator.js +3 -3
  144. package/es/common/components/SDKMenuButton.js +3 -3
  145. package/es/common/components/SDKNavBar.js +3 -3
  146. package/es/common/components/SDKTimer.js +3 -3
  147. package/es/common/components/alerts/index.js +4 -4
  148. package/es/common/components/alerts/presenter.js +15 -14
  149. package/es/common/components/layout/Page/index.js +13 -12
  150. package/es/common/components/layout/Page/styles.js +2 -1
  151. package/es/common/components/layout/header/Calculator/index.js +7 -7
  152. package/es/common/components/layout/header/Calculator/presenter.js +14 -14
  153. package/es/common/components/layout/header/HeaderMenuButton/index.js +5 -5
  154. package/es/common/components/layout/header/HeaderMenuButton/presenter.js +15 -16
  155. package/es/common/components/layout/header/Timer/index.js +6 -6
  156. package/es/common/components/layout/header/Timer/presenter.js +27 -28
  157. package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +12 -11
  158. package/es/common/components/layout/navbar/index.js +31 -30
  159. package/es/common/components/layout/navbar/styles.js +4 -2
  160. package/es/common/components/layout/sidebar/PositionSummary/index.js +14 -12
  161. package/es/common/components/layout/sidebar/Sidebar/Pin.js +12 -11
  162. package/es/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +5 -7
  163. package/es/common/components/layout/sidebar/Sidebar/index.js +44 -44
  164. package/es/common/components/layout/sidebar/Sidebar/styles.js +7 -7
  165. package/es/common/components/layout/sidebar/SidebarItem/index.js +5 -5
  166. package/es/common/components/layout/sidebar/SidebarItem/presenter.js +22 -17
  167. package/es/common/components/layout/sidebar/SidebarItem/styles.js +3 -1
  168. package/es/common/components/layout/sidebar/Stimulus/Collection/index.js +3 -3
  169. package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +24 -21
  170. package/es/common/components/layout/sidebar/Stimulus/Collection/styles.js +4 -2
  171. package/es/common/components/layout/sidebar/Stimulus/Summary/index.js +3 -3
  172. package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +21 -18
  173. package/es/common/components/layout/sidebar/Stimulus/Title/index.js +15 -12
  174. package/es/common/components/layout/sidebar/Stimulus/index.js +3 -3
  175. package/es/common/components/layout/sidebar/Stimulus/presenter.js +21 -21
  176. package/es/common/components/resources/BankSelection/index.js +5 -5
  177. package/es/common/components/resources/BankSelection/presenter.js +19 -18
  178. package/es/common/components/resources/WarningWrapper/index.js +16 -15
  179. package/es/common/components/resources/entry/EntrySave/index.js +6 -6
  180. package/es/common/components/resources/entry/EntrySave/presenter.js +78 -81
  181. package/es/common/components/resources/item/ItemEdit/index.js +14 -14
  182. package/es/common/components/resources/item/ItemEdit/presenter.js +24 -23
  183. package/es/common/components/resources/item/ItemOverride/index.js +9 -9
  184. package/es/common/components/resources/item/ItemOverride/presenter.js +18 -16
  185. package/es/common/components/resources/item/ItemShow/index.js +15 -14
  186. package/es/common/components/resources/positionBox/PositionBox.js +13 -12
  187. package/es/common/components/resources/quiz/AddContent/Body/index.js +7 -7
  188. package/es/common/components/resources/quiz/AddContent/Body/presenter.js +25 -25
  189. package/es/common/components/resources/quiz/AddContent/Body/styles.js +4 -5
  190. package/es/common/components/resources/quiz/AddContent/Button/index.js +15 -14
  191. package/es/common/components/resources/quiz/AddContent/Button/styles.js +2 -1
  192. package/es/common/components/resources/quiz/AddContent/Modal/index.js +3 -3
  193. package/es/common/components/resources/quiz/AddContent/Modal/presenter.js +13 -12
  194. package/es/common/components/resources/quiz/AddContent/Popover/index.js +7 -5
  195. package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +28 -27
  196. package/es/common/components/resources/quiz/info/QuizInfo.js +14 -13
  197. package/es/common/components/resources/quiz/instructions/Instructions.js +16 -12
  198. package/es/common/components/resources/quiz/title/Title.js +16 -12
  199. package/es/common/components/resources/quizSessionResult/Header/index.js +15 -14
  200. package/es/common/components/resources/quizSessionResult/Info/Info.examples.js +2 -2
  201. package/es/common/components/resources/quizSessionResult/Info/index.js +110 -107
  202. package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +12 -11
  203. package/es/common/components/resources/sessionItemResult/ResultStimulus/styles.js +2 -1
  204. package/es/common/components/resources/sessionItemResult/SessionItemResult/index.js +4 -4
  205. package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +64 -63
  206. package/es/common/components/resources/sessionItemResult/SessionItemResult/styles.js +3 -1
  207. package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +21 -20
  208. package/es/common/components/resources/stimulus/Stimulus/index.js +5 -5
  209. package/es/common/components/resources/stimulus/Stimulus/presenter.js +22 -21
  210. package/es/common/components/resources/stimulus/Stimulus/styles.js +2 -1
  211. package/es/common/components/resources/stimulus/StimulusEdit/index.js +10 -10
  212. package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +128 -131
  213. package/es/common/components/resources/stimulus/StimulusEditInfo/index.js +5 -5
  214. package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +27 -28
  215. package/es/common/components/resources/stimulus/StimulusShow/index.js +19 -19
  216. package/es/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +1 -1
  217. package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +10 -9
  218. package/es/common/components/shared/Card/CardContent/index.js +15 -13
  219. package/es/common/components/shared/Card/CardWrapper/index.js +15 -13
  220. package/es/common/components/shared/Card/index.js +4 -3
  221. package/es/common/components/shared/ExpandButton/index.js +12 -11
  222. package/es/common/components/shared/ExpandButton/styles.js +3 -1
  223. package/es/common/components/shared/FormattedDuration/index.js +18 -16
  224. package/es/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +38 -37
  225. package/es/common/components/shared/IfFeature/index.js +3 -3
  226. package/es/common/components/shared/IfFeature/presenter.js +12 -11
  227. package/es/common/components/shared/InteractionTypes/index.js +3 -3
  228. package/es/common/components/shared/InteractionTypes/presenter.js +20 -19
  229. package/es/common/components/shared/PaginatedCollection/index.js +3 -3
  230. package/es/common/components/shared/PaginatedCollection/presenter.js +45 -46
  231. package/es/common/components/shared/Paginator/index.js +12 -11
  232. package/es/common/components/shared/PrintTrigger/index.js +6 -6
  233. package/es/common/components/shared/PrintTrigger/presenter.js +26 -25
  234. package/es/common/components/shared/TagDisplay/index.js +12 -11
  235. package/es/common/components/shared/TagDisplay/styles.js +1 -1
  236. package/es/common/components/shared/TagSelect/index.js +1 -1
  237. package/es/common/components/shared/TagSelect/presenter.js +35 -33
  238. package/es/common/components/shared/TagSuggestSelect/index.js +4 -4
  239. package/es/common/components/shared/TagSuggestSelect/presenter.js +17 -16
  240. package/es/common/components/shared/TagWrapper/index.js +1 -1
  241. package/es/common/components/shared/TagWrapper/presenter.js +14 -13
  242. package/es/common/components/shared/TimeUnitsInput/index.js +30 -29
  243. package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +15 -14
  244. package/es/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +3 -1
  245. package/es/common/components/shared/drag_and_drop/DragHandle/index.js +9 -9
  246. package/es/common/components/shared/drag_and_drop/DragHandle/presenter.js +32 -35
  247. package/es/common/components/shared/drag_and_drop/dragAndDropUtils.js +4 -4
  248. package/es/common/components/shared/errors/Errors.js +15 -14
  249. package/es/common/components/shared/file_selector/FileSelector.js +14 -14
  250. package/es/common/components/shared/functionality/componentWithOutsideClick.js +21 -15
  251. package/es/common/components/shared/functionality/componentWithOutsideClickEmotion.js +10 -11
  252. package/es/common/components/shared/functionality/disableDraggingOverride.js +2 -2
  253. package/es/common/components/shared/functionality/makeEditable.js +26 -19
  254. package/es/common/components/shared/functionality/makeScrollable.js +30 -29
  255. package/es/common/components/shared/overlay/index.js +13 -12
  256. package/es/common/components/shared/return_button/ReturnButton.js +14 -12
  257. package/es/common/components/shared/spinner/Spinner.js +13 -11
  258. package/es/common/kinesis/QuizEventsLogger.js +37 -40
  259. package/es/common/kinesis/StreamQueue.js +7 -4
  260. package/es/common/kinesis/client.js +3 -3
  261. package/es/common/kinesis/config.js +1 -1
  262. package/es/common/kinesis/eventTypes.js +1 -1
  263. package/es/common/middleware/alertTimerMiddleware.js +2 -2
  264. package/es/common/middleware/crossDomainMessagingMiddleware.js +1 -1
  265. package/es/common/middleware/eventLoggerMiddleware.js +8 -5
  266. package/es/common/middleware/persistedStorageMiddleware.js +5 -3
  267. package/es/common/middleware/quizTimerWebSocketMiddleware.js +7 -7
  268. package/es/common/react-redux.js +1 -1
  269. package/es/common/records/Alert.js +8 -5
  270. package/es/common/records/Bank.js +10 -8
  271. package/es/common/records/BankEntry.js +10 -9
  272. package/es/common/records/Item.js +17 -14
  273. package/es/common/records/ItemAnalysis.js +9 -8
  274. package/es/common/records/QtiImport.js +8 -7
  275. package/es/common/records/Quiz.js +17 -14
  276. package/es/common/records/QuizAnalysis.js +8 -7
  277. package/es/common/records/QuizEntry.js +105 -103
  278. package/es/common/records/QuizSession.js +26 -20
  279. package/es/common/records/QuizSessionEvent.js +9 -8
  280. package/es/common/records/QuizSessionResult.js +9 -8
  281. package/es/common/records/Response.js +9 -8
  282. package/es/common/records/SessionItem.js +12 -11
  283. package/es/common/records/SessionItemResult.js +9 -8
  284. package/es/common/records/Stimulus.js +13 -12
  285. package/es/common/records/baseRecord.js +17 -12
  286. package/es/common/records/index.js +16 -16
  287. package/es/common/records/reduxRecord.js +12 -9
  288. package/es/common/reducers/alerts.js +3 -3
  289. package/es/common/reducers/analyses.js +3 -3
  290. package/es/common/reducers/bankEntries.js +2 -2
  291. package/es/common/reducers/bankSearch.js +2 -2
  292. package/es/common/reducers/banks.js +2 -2
  293. package/es/common/reducers/calls.js +2 -2
  294. package/es/common/reducers/config.js +2 -2
  295. package/es/common/reducers/dragAndDrop.js +2 -2
  296. package/es/common/reducers/editing.js +3 -4
  297. package/es/common/reducers/errorsShowing.js +2 -2
  298. package/es/common/reducers/features.js +2 -2
  299. package/es/common/reducers/grading.js +2 -2
  300. package/es/common/reducers/interactionTypes.js +2 -2
  301. package/es/common/reducers/items.js +2 -2
  302. package/es/common/reducers/modal.js +2 -2
  303. package/es/common/reducers/moderation.js +2 -2
  304. package/es/common/reducers/modifications.js +9 -8
  305. package/es/common/reducers/outcomes.js +2 -2
  306. package/es/common/reducers/printing.js +2 -2
  307. package/es/common/reducers/qtiImports.js +2 -2
  308. package/es/common/reducers/quizEntries.js +5 -5
  309. package/es/common/reducers/quizExport.js +2 -2
  310. package/es/common/reducers/quizSessionEvents.js +5 -3
  311. package/es/common/reducers/quizSessionResults.js +2 -2
  312. package/es/common/reducers/quizSessions.js +2 -2
  313. package/es/common/reducers/quizzes.js +2 -2
  314. package/es/common/reducers/rce.js +2 -2
  315. package/es/common/reducers/regrading.js +2 -2
  316. package/es/common/reducers/reporting.js +2 -2
  317. package/es/common/reducers/scrolling.js +2 -2
  318. package/es/common/reducers/sessionItemResults.js +2 -2
  319. package/es/common/reducers/sessionItems.js +2 -2
  320. package/es/common/reducers/sharedBanks.js +2 -2
  321. package/es/common/reducers/sidebar.js +2 -2
  322. package/es/common/reducers/stimuli.js +2 -2
  323. package/es/common/reducers/tagAssociations.js +2 -2
  324. package/es/common/reducers/taking.js +2 -2
  325. package/es/common/reducers/ui.js +3 -3
  326. package/es/common/reducers/upload.js +4 -4
  327. package/es/common/selectors/calculator.js +5 -3
  328. package/es/common/selectors/interactionTypes.js +7 -7
  329. package/es/common/selectors/items.js +1 -1
  330. package/es/common/selectors/qtiImports.js +1 -1
  331. package/es/common/selectors/quizSessionResults.js +2 -2
  332. package/es/common/selectors/quizSessions.js +2 -2
  333. package/es/common/selectors/quizzes.js +9 -9
  334. package/es/common/selectors/reporting.js +2 -2
  335. package/es/common/selectors/sessionItemResults.js +4 -5
  336. package/es/common/selectors/sessionItems.js +4 -5
  337. package/es/common/selectors/taking.js +2 -2
  338. package/es/common/util/ExhaustivePaginatedFetcher.js +53 -49
  339. package/es/common/util/Fetcher.js +128 -141
  340. package/es/common/util/MultiWeakMap.js +1 -2
  341. package/es/common/util/PaginatedFetcher.js +22 -22
  342. package/es/common/util/ThunkQueue.js +50 -51
  343. package/es/common/util/TimeRecordingService.js +5 -5
  344. package/es/common/util/TimerService.js +7 -7
  345. package/es/common/util/clickHandlers.js +1 -1
  346. package/es/common/util/crossDomainMessaging.js +1 -1
  347. package/es/common/util/debounceLatestPromise.js +1 -1
  348. package/es/common/util/featureCheck.js +5 -3
  349. package/es/common/util/formatTimespan.js +2 -2
  350. package/es/common/util/generateDisplayPositions.js +1 -1
  351. package/es/common/util/getClientIpAddress.js +21 -23
  352. package/es/common/util/immutableHelpers.js +4 -3
  353. package/es/common/util/interactionTypePropsHelper.js +1 -1
  354. package/es/common/util/jsonify.js +4 -2
  355. package/es/common/util/persistedState.js +4 -4
  356. package/es/common/util/printUtils.js +1 -1
  357. package/es/common/util/rceChecker.js +9 -11
  358. package/es/common/util/renderAlerts.js +11 -10
  359. package/es/common/util/serializeEvent.js +2 -2
  360. package/es/common/util/sessionStore.js +1 -2
  361. package/es/common/util/warningHelpers.js +2 -2
  362. package/es/common/util/windowChecks.js +2 -2
  363. package/es/common/util/withCachedArguments.js +3 -1
  364. package/es/common/util/withDynamoPagination.js +51 -52
  365. package/es/common/util/withStateCache.js +3 -1
  366. package/es/configureStore.js +45 -43
  367. package/es/grading/api/quizEntryRegrades.js +4 -4
  368. package/es/grading/api/updateResults.js +6 -6
  369. package/es/index.js +148 -140
  370. package/es/messages/LocalStorageAdapter.js +15 -13
  371. package/es/messages/LocalStorageLimits.js +22 -20
  372. package/es/messages/StorageExhaustionError.js +8 -5
  373. package/es/messages/postMessageService.js +34 -31
  374. package/es/messages/subjectHandlers/lti.frameResize.js +2 -2
  375. package/es/messages/subjectHandlers/lti.get_data.js +1 -1
  376. package/es/messages/subjectHandlers/lti.put_data.js +2 -2
  377. package/es/messages/subjectHandlers/requestFullWindowLaunch.js +3 -3
  378. package/es/moderating/api/quizSessionEvents.js +3 -3
  379. package/es/moderating/api/quizSessions.js +3 -3
  380. package/es/moderating/components/events/Event.js +25 -26
  381. package/es/moderating/components/events/PageBlurredEvent.js +7 -7
  382. package/es/moderating/components/events/PageFocusedEvent.js +7 -7
  383. package/es/moderating/components/events/RCEEvent.js +10 -9
  384. package/es/moderating/components/events/ResponseEvent.js +20 -19
  385. package/es/moderating/components/events/SessionStartEvent.js +12 -11
  386. package/es/moderating/components/events/SessionSubmitEvent.js +12 -11
  387. package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +19 -18
  388. package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +23 -22
  389. package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +19 -18
  390. package/es/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +23 -21
  391. package/es/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +18 -16
  392. package/es/moderating/components/resources/AccommodationsModal/index.js +26 -25
  393. package/es/moderating/components/resources/ElapsedTime.js +14 -13
  394. package/es/moderating/components/resources/EventDetails.js +2 -3
  395. package/es/moderating/components/resources/ModerateTable/index.js +7 -7
  396. package/es/moderating/components/resources/ModerateTable/presenter.js +54 -53
  397. package/es/moderating/components/resources/ModerateTable/styles.js +3 -1
  398. package/es/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +2 -2
  399. package/es/moderating/components/resources/ModerateTableRow/index.js +3 -3
  400. package/es/moderating/components/resources/ModerateTableRow/presenter.js +29 -27
  401. package/es/moderating/components/resources/ModerateTableRow/story.js +4 -1
  402. package/es/moderating/components/resources/ModerateTableRow/styles.js +1 -1
  403. package/es/moderating/components/resources/OutstandingQuizzesModal/index.js +4 -4
  404. package/es/moderating/components/resources/OutstandingQuizzesModal/presenter.js +29 -26
  405. package/es/moderating/components/resources/RetryGradePassbackButton/index.js +3 -3
  406. package/es/moderating/components/resources/RetryGradePassbackButton/presenter.js +40 -42
  407. package/es/moderating/components/resources/SessionBreachAlert.js +1 -2
  408. package/es/moderating/components/sidebar/ModerateTray/index.js +3 -3
  409. package/es/moderating/components/sidebar/ModerateTray/presenter.js +39 -38
  410. package/es/moderating/components/sidebar/ResetQuiz/index.js +7 -7
  411. package/es/moderating/components/sidebar/ResetQuiz/presenter.js +27 -28
  412. package/es/reduxStore.js +5 -5
  413. package/es/reporting/api/fetchStudentAnalyses.js +16 -18
  414. package/es/reporting/api/getAnalysesExport.js +20 -22
  415. package/es/reporting/api/getAnalysesStatus.js +18 -20
  416. package/es/reporting/api/getItemAnalyses.js +13 -15
  417. package/es/reporting/api/getQuizAnalysis.js +13 -15
  418. package/es/reporting/api/itemAnalyses.js +4 -4
  419. package/es/reporting/api/quizAnalyses.js +4 -4
  420. package/es/reporting/components/Caption/index.js +13 -12
  421. package/es/reporting/components/MetricsListItem/index.js +14 -12
  422. package/es/reporting/components/charts/CentileDistribution/presenter.js +22 -21
  423. package/es/reporting/components/charts/Distribution/presenter.js +21 -20
  424. package/es/reporting/components/charts/Legend/index.js +15 -13
  425. package/es/reporting/components/charts/Legend/styles.js +3 -1
  426. package/es/reporting/components/charts/QuintileDistribution/presenter.js +22 -21
  427. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +1 -1
  428. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +15 -16
  429. package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +2 -8
  430. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +1 -1
  431. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +3 -3
  432. package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +25 -25
  433. package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +22 -23
  434. package/es/reporting/components/quizAnalysis/styles.js +3 -4
  435. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +1 -1
  436. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +13 -12
  437. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +1 -1
  438. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +14 -13
  439. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/index.js +1 -1
  440. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +17 -13
  441. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +1 -1
  442. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +18 -14
  443. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/index.js +1 -1
  444. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +25 -25
  445. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +3 -1
  446. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +1 -1
  447. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +19 -18
  448. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +22 -17
  449. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +18 -14
  450. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/index.js +1 -1
  451. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +33 -33
  452. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +3 -1
  453. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +24 -19
  454. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +3 -3
  455. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +8 -6
  456. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/index.js +1 -1
  457. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +19 -15
  458. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/index.js +1 -1
  459. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +50 -46
  460. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/index.js +1 -1
  461. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +37 -33
  462. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/index.js +1 -1
  463. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +22 -18
  464. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +19 -18
  465. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +18 -14
  466. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/index.js +1 -1
  467. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +24 -20
  468. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/index.js +1 -1
  469. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +19 -17
  470. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +3 -1
  471. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/index.js +1 -1
  472. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +18 -14
  473. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/index.js +1 -1
  474. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +45 -45
  475. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/index.js +1 -1
  476. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +49 -47
  477. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +3 -1
  478. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/index.js +1 -1
  479. package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +25 -21
  480. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +1 -1
  481. package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +1 -1
  482. package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +24 -23
  483. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/index.js +1 -1
  484. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +12 -11
  485. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +3 -3
  486. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +48 -47
  487. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +3 -1
  488. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +1 -1
  489. package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +29 -28
  490. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +2 -2
  491. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +41 -40
  492. package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +2 -1
  493. package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +1 -1
  494. package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +19 -18
  495. package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +39 -41
  496. package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +25 -27
  497. package/es/reporting/components/resources/NewQuizAndItemAnalysis/index.js +2 -2
  498. package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +69 -68
  499. package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +11 -11
  500. package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +69 -76
  501. package/es/reporting/components/resources/OutcomeAnalysis/index.js +3 -3
  502. package/es/reporting/components/resources/OutcomeAnalysis/presenter.js +13 -12
  503. package/es/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +3 -3
  504. package/es/reporting/components/resources/QuizAndItemAnalysis/index.js +7 -7
  505. package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +21 -21
  506. package/es/reporting/components/resources/ReportCard/index.js +14 -13
  507. package/es/reporting/components/resources/ReportList/index.js +13 -12
  508. package/es/reporting/components/resources/StudentAnalysis/ReportCard/index.js +2 -2
  509. package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +40 -39
  510. package/es/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +2 -1
  511. package/es/reporting/components/resources/StudentAnalysis/fetchReport.js +34 -36
  512. package/es/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +25 -27
  513. package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +10 -10
  514. package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +79 -86
  515. package/es/reporting/components/resources/common/AnalysisUpdateDate/index.js +15 -14
  516. package/es/reporting/components/resources/common/errorCodes.js +2 -2
  517. package/es/reporting/components/resources/common/exportReports.js +38 -40
  518. package/es/reporting/components/resources/common/generateReports.js +62 -66
  519. package/es/reporting/components/resources/common/utils.js +1 -1
  520. package/es/taking/api/taking.js +36 -38
  521. package/es/taking/learnosity/index.js +36 -38
  522. package/lib/banks/api/bankEntries.js +43 -54
  523. package/lib/banks/api/banks.js +68 -78
  524. package/lib/banks/api/copyingBanksPoller.js +54 -58
  525. package/lib/banks/api/tagAssociations.js +37 -44
  526. package/lib/banks/components/AddBankEntryModal/index.js +12 -13
  527. package/lib/banks/components/AddBankEntryModal/presenter.js +43 -43
  528. package/lib/banks/components/AddToBankModal/index.js +12 -12
  529. package/lib/banks/components/AddToBankModal/presenter.js +77 -78
  530. package/lib/banks/components/AsyncSearch/index.js +91 -90
  531. package/lib/banks/components/Bank/index.js +18 -19
  532. package/lib/banks/components/Bank/presenter.js +147 -152
  533. package/lib/banks/components/Bank/styles.js +7 -7
  534. package/lib/banks/components/Bank/theme.js +2 -3
  535. package/lib/banks/components/BankEntriesList/index.js +6 -7
  536. package/lib/banks/components/BankEntriesList/presenter.js +29 -30
  537. package/lib/banks/components/BankEntriesList/styles.js +2 -3
  538. package/lib/banks/components/BankEntriesList/theme.js +2 -3
  539. package/lib/banks/components/BankEntry/index.js +21 -23
  540. package/lib/banks/components/BankEntry/presenter.js +257 -267
  541. package/lib/banks/components/BankEntry/styles.js +7 -6
  542. package/lib/banks/components/BankEntry/theme.js +2 -3
  543. package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +7 -8
  544. package/lib/banks/components/BankEntryRow/index.js +13 -13
  545. package/lib/banks/components/BankEntryRow/presenter.js +101 -102
  546. package/lib/banks/components/BankEntryRow/styles.js +2 -3
  547. package/lib/banks/components/BankEntryRow/theme.js +2 -3
  548. package/lib/banks/components/BankSearch/BankSearch.stories.js +12 -17
  549. package/lib/banks/components/BankSearch/index.js +6 -7
  550. package/lib/banks/components/BankSearch/presenter.js +55 -56
  551. package/lib/banks/components/BankSearch/styles.js +2 -3
  552. package/lib/banks/components/BankSearch/theme.js +2 -3
  553. package/lib/banks/components/Banks/index.js +12 -13
  554. package/lib/banks/components/Banks/presenter.js +154 -154
  555. package/lib/banks/components/Banks/styles.js +2 -3
  556. package/lib/banks/components/Banks/theme.js +2 -3
  557. package/lib/banks/components/BanksList/index.js +11 -12
  558. package/lib/banks/components/BanksList/presenter.js +171 -179
  559. package/lib/banks/components/BanksList/styles.js +2 -3
  560. package/lib/banks/components/BanksList/theme.js +2 -3
  561. package/lib/banks/components/CopyMoveBankEntryModal/index.js +12 -12
  562. package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +89 -91
  563. package/lib/banks/components/CreateBankModal/index.js +15 -15
  564. package/lib/banks/components/CreateBankModal/presenter.js +64 -64
  565. package/lib/banks/components/EditBankModal/index.js +11 -11
  566. package/lib/banks/components/EditBankModal/presenter.js +50 -50
  567. package/lib/banks/components/HeaderBreadCrumb/index.js +37 -37
  568. package/lib/banks/components/HeaderMenu/index.js +9 -9
  569. package/lib/banks/components/HeaderMenu/presenter.js +32 -34
  570. package/lib/banks/components/HeaderMenu/styles.js +2 -3
  571. package/lib/banks/components/HeaderMenu/theme.js +2 -3
  572. package/lib/banks/components/NavWrapper/NavWrapper.examples.js +5 -6
  573. package/lib/banks/components/NavWrapper/externalStyles.js +2 -3
  574. package/lib/banks/components/NavWrapper/index.js +4 -5
  575. package/lib/banks/components/NavWrapper/presenter.js +47 -47
  576. package/lib/banks/components/NavWrapper/styles.js +7 -6
  577. package/lib/banks/components/NavWrapper/theme.js +2 -3
  578. package/lib/banks/components/SharingModal/ContextualIconButton/index.js +22 -20
  579. package/lib/banks/components/SharingModal/RootAccountSharing.js +41 -42
  580. package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +3 -4
  581. package/lib/banks/components/SharingModal/ShareList/index.js +43 -45
  582. package/lib/banks/components/SharingModal/ShareList/styles.js +2 -3
  583. package/lib/banks/components/SharingModal/index.js +7 -8
  584. package/lib/banks/components/SharingModal/presenter.js +158 -160
  585. package/lib/banks/components/SharingModal/styles.js +2 -3
  586. package/lib/banks/components/SharingModal/theme.js +2 -3
  587. package/lib/building/api/items.js +78 -82
  588. package/lib/building/api/qtiImports.js +19 -23
  589. package/lib/building/api/quizEntries.js +75 -76
  590. package/lib/building/api/quizzes.js +28 -28
  591. package/lib/building/api/stimuli.js +8 -8
  592. package/lib/building/components/QTIImportModal/index.js +11 -15
  593. package/lib/building/components/layout/Sidebar/Sidebar.examples.js +32 -31
  594. package/lib/building/components/layout/Sidebar/SidebarItem/index.js +18 -22
  595. package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +42 -43
  596. package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +2 -3
  597. package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +2 -3
  598. package/lib/building/components/layout/Sidebar/Stimulus/index.js +16 -20
  599. package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +42 -43
  600. package/lib/building/components/layout/Sidebar/Stimulus/styles.js +2 -3
  601. package/lib/building/components/layout/Sidebar/Stimulus/theme.js +2 -3
  602. package/lib/building/components/layout/Sidebar/index.js +17 -21
  603. package/lib/building/components/layout/Sidebar/presenter.js +48 -49
  604. package/lib/building/components/layout/Sidebar/styles.js +8 -7
  605. package/lib/building/components/layout/Sidebar/theme.js +2 -3
  606. package/lib/building/components/layout/header/BuildingButtons/index.js +16 -17
  607. package/lib/building/components/layout/header/BuildingButtons/presenter.js +64 -66
  608. package/lib/building/components/layout/header/BuildingButtons/styles.js +6 -5
  609. package/lib/building/components/layout/header/BuildingButtons/theme.js +2 -3
  610. package/lib/building/components/layout/header/SDKBuildingButtons/index.js +9 -11
  611. package/lib/building/components/resources/ActionButtons/index.js +7 -9
  612. package/lib/building/components/resources/ActionButtons/presenter.js +50 -51
  613. package/lib/building/components/resources/ActionButtons/styles.js +6 -6
  614. package/lib/building/components/resources/ActionButtons/theme.js +2 -3
  615. package/lib/building/components/resources/AddToBankOptions/index.js +56 -59
  616. package/lib/building/components/resources/AddToBankOptions/styles.js +2 -3
  617. package/lib/building/components/resources/AddToBankOptions/theme.js +2 -3
  618. package/lib/building/components/resources/BanksTray/index.js +6 -8
  619. package/lib/building/components/resources/BanksTray/presenter.js +77 -79
  620. package/lib/building/components/resources/DeleteStimulusModal/index.js +8 -10
  621. package/lib/building/components/resources/DeleteStimulusModal/presenter.js +58 -60
  622. package/lib/building/components/resources/DeleteStimulusModal/styles.js +2 -3
  623. package/lib/building/components/resources/DeleteStimulusModal/theme.js +2 -3
  624. package/lib/building/components/resources/ItemFeedbackModal/index.js +13 -15
  625. package/lib/building/components/resources/ItemFeedbackModal/presenter.js +41 -43
  626. package/lib/building/components/resources/ItemFeedbackModal/styles.js +2 -3
  627. package/lib/building/components/resources/ItemFeedbackModal/theme.js +2 -3
  628. package/lib/building/components/resources/MoveImmutableModal/index.js +10 -12
  629. package/lib/building/components/resources/MoveImmutableModal/presenter.js +43 -43
  630. package/lib/building/components/resources/quiz/editButton/EditButton.js +26 -25
  631. package/lib/building/components/resources/quiz/instructions/Edit/index.js +4 -5
  632. package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +32 -29
  633. package/lib/building/components/resources/quiz/instructions/Edit/styles.js +2 -3
  634. package/lib/building/components/resources/quiz/instructions/Edit/theme.js +1 -1
  635. package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +5 -6
  636. package/lib/building/components/resources/quiz/instructions/Instructions/index.js +10 -12
  637. package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +55 -52
  638. package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +3 -4
  639. package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +1 -1
  640. package/lib/building/components/resources/quiz/instructions/Show/index.js +27 -28
  641. package/lib/building/components/resources/quiz/instructions/Show/styles.js +2 -3
  642. package/lib/building/components/resources/quiz/instructions/Show/theme.js +1 -1
  643. package/lib/building/components/resources/quiz/title/Edit/index.js +48 -48
  644. package/lib/building/components/resources/quiz/title/Edit/styles.js +6 -5
  645. package/lib/building/components/resources/quiz/title/Edit/theme.js +2 -3
  646. package/lib/building/components/resources/quiz/title/Show/index.js +26 -27
  647. package/lib/building/components/resources/quiz/title/Show/styles.js +2 -3
  648. package/lib/building/components/resources/quiz/title/Show/theme.js +2 -3
  649. package/lib/building/components/resources/quiz/title/Title/Title.examples.js +5 -6
  650. package/lib/building/components/resources/quiz/title/Title/index.js +11 -13
  651. package/lib/building/components/resources/quiz/title/Title/presenter.js +63 -60
  652. package/lib/building/components/resources/quiz/title/Title/styles.js +5 -5
  653. package/lib/building/components/resources/quiz/title/Title/theme.js +1 -1
  654. package/lib/building/components/resources/quizEntry/QuizEntry/index.js +18 -21
  655. package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +113 -113
  656. package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +12 -13
  657. package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +4 -5
  658. package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +2 -3
  659. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +7 -8
  660. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +74 -77
  661. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +2 -3
  662. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +2 -3
  663. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +25 -27
  664. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +2 -3
  665. package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -3
  666. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +5 -6
  667. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +55 -56
  668. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +6 -5
  669. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +2 -3
  670. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +130 -133
  671. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +2 -3
  672. package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -3
  673. package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +15 -15
  674. package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +180 -185
  675. package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +2 -3
  676. package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +2 -3
  677. package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +11 -13
  678. package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +81 -84
  679. package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +6 -6
  680. package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +2 -3
  681. package/lib/common/actions/alerts.js +3 -3
  682. package/lib/common/actions/analyses.js +7 -7
  683. package/lib/common/actions/bankEntries.js +3 -5
  684. package/lib/common/actions/bankSearch.js +6 -10
  685. package/lib/common/actions/banks.js +8 -14
  686. package/lib/common/actions/config.js +1 -1
  687. package/lib/common/actions/editing.js +2 -2
  688. package/lib/common/actions/errorsShowing.js +1 -1
  689. package/lib/common/actions/grading.js +2 -2
  690. package/lib/common/actions/modal.js +5 -5
  691. package/lib/common/actions/modifications.js +36 -36
  692. package/lib/common/actions/printing.js +1 -1
  693. package/lib/common/actions/quizExport.js +2 -3
  694. package/lib/common/actions/quizSessionEvents.js +2 -3
  695. package/lib/common/actions/quizSessionResults.js +2 -3
  696. package/lib/common/actions/quizSessions.js +17 -22
  697. package/lib/common/actions/quizzes.js +8 -14
  698. package/lib/common/actions/rce.js +5 -8
  699. package/lib/common/actions/regrading.js +1 -1
  700. package/lib/common/actions/reporting.js +1 -1
  701. package/lib/common/actions/scrolling.js +2 -2
  702. package/lib/common/actions/sessionItemResults.js +2 -3
  703. package/lib/common/actions/sessionItems.js +2 -3
  704. package/lib/common/actions/sharedBanks.js +5 -8
  705. package/lib/common/actions/sidebar.js +1 -1
  706. package/lib/common/actions/tagAssociations.js +9 -17
  707. package/lib/common/actions/taking.js +22 -40
  708. package/lib/common/actions/ui.js +11 -20
  709. package/lib/common/actions/upload.js +6 -11
  710. package/lib/common/api/callHandlers.js +35 -56
  711. package/lib/common/api/camelizeHelpers.js +5 -7
  712. package/lib/common/api/features.js +6 -7
  713. package/lib/common/api/fileUpload.js +6 -7
  714. package/lib/common/api/getPersistenceActions.js +22 -23
  715. package/lib/common/api/helpers.js +81 -88
  716. package/lib/common/api/interactionTypes.js +5 -6
  717. package/lib/common/api/quizSessions.js +53 -62
  718. package/lib/common/api/quizzes.js +9 -9
  719. package/lib/common/api/schema.js +20 -37
  720. package/lib/common/components/AccessCodeTextInput/AccessCodeTextInput.stories.js +8 -11
  721. package/lib/common/components/AccessCodeTextInput/index.js +22 -22
  722. package/lib/common/components/ApiFeatureFlagInitializer/index.js +12 -14
  723. package/lib/common/components/ConfirmationModal/index.js +9 -8
  724. package/lib/common/components/ConfirmationModal/presenter.js +47 -47
  725. package/lib/common/components/ImportModal/ImportFileSelector/index.js +33 -36
  726. package/lib/common/components/ImportModal/ImportFileSelector/styles.js +2 -3
  727. package/lib/common/components/ImportModal/ImportFileSelector/theme.js +2 -3
  728. package/lib/common/components/ImportModal/index.js +13 -15
  729. package/lib/common/components/ImportModal/presenter.js +74 -74
  730. package/lib/common/components/ImportModal/styles.js +2 -3
  731. package/lib/common/components/ImportModal/theme.js +2 -3
  732. package/lib/common/components/LearnosityCalculator/index.js +70 -72
  733. package/lib/common/components/MaskedTextInput/MaskedTextInput.stories.js +8 -11
  734. package/lib/common/components/MaskedTextInput/index.js +26 -25
  735. package/lib/common/components/Pin/Pin.examples.js +3 -4
  736. package/lib/common/components/Pin/index.js +4 -6
  737. package/lib/common/components/Pin/presenter.js +24 -24
  738. package/lib/common/components/PreviewFrame/examples.config.js +4 -6
  739. package/lib/common/components/PreviewFrame/index.js +25 -26
  740. package/lib/common/components/PrintFontSizeModal/index.js +3 -4
  741. package/lib/common/components/PrintFontSizeModal/presenter.js +48 -47
  742. package/lib/common/components/PrintFontSizeModal/styles.js +2 -3
  743. package/lib/common/components/PrintFontSizeModal/theme.js +2 -3
  744. package/lib/common/components/RceConfigProvider/index.js +9 -10
  745. package/lib/common/components/RceConfigProvider/presenter.js +110 -113
  746. package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +10 -12
  747. package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +12 -17
  748. package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +27 -30
  749. package/lib/common/components/RceConfigProvider/rceConfigMapper.js +7 -10
  750. package/lib/common/components/RceConfigProvider/rceConfigUtils.js +6 -8
  751. package/lib/common/components/SDKApp/index.js +64 -67
  752. package/lib/common/components/SDKApp/styles.js +2 -3
  753. package/lib/common/components/SDKHeaderCalculator.js +12 -14
  754. package/lib/common/components/SDKMenuButton.js +9 -11
  755. package/lib/common/components/SDKNavBar.js +10 -12
  756. package/lib/common/components/SDKTimer.js +12 -14
  757. package/lib/common/components/alerts/index.js +8 -9
  758. package/lib/common/components/alerts/presenter.js +25 -26
  759. package/lib/common/components/alerts/styles.js +3 -4
  760. package/lib/common/components/alerts/theme.js +2 -3
  761. package/lib/common/components/layout/Page/index.js +27 -28
  762. package/lib/common/components/layout/Page/styles.js +6 -6
  763. package/lib/common/components/layout/Page/theme.js +2 -3
  764. package/lib/common/components/layout/header/Calculator/index.js +10 -12
  765. package/lib/common/components/layout/header/Calculator/presenter.js +35 -36
  766. package/lib/common/components/layout/header/HeaderMenuButton/index.js +10 -12
  767. package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +25 -28
  768. package/lib/common/components/layout/header/HeaderMenuButton/styles.js +3 -4
  769. package/lib/common/components/layout/header/HeaderMenuButton/theme.js +2 -3
  770. package/lib/common/components/layout/header/Timer/index.js +8 -9
  771. package/lib/common/components/layout/header/Timer/presenter.js +58 -60
  772. package/lib/common/components/layout/header/Timer/styles.js +2 -3
  773. package/lib/common/components/layout/header/Timer/theme.js +2 -3
  774. package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +18 -19
  775. package/lib/common/components/layout/navbar/externalStyles.js +2 -3
  776. package/lib/common/components/layout/navbar/index.js +51 -52
  777. package/lib/common/components/layout/navbar/styles.js +7 -6
  778. package/lib/common/components/layout/navbar/theme.js +2 -3
  779. package/lib/common/components/layout/sidebar/PositionSummary/index.js +25 -25
  780. package/lib/common/components/layout/sidebar/PositionSummary/styles.js +2 -3
  781. package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -3
  782. package/lib/common/components/layout/sidebar/Sidebar/Pin.js +23 -23
  783. package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +8 -11
  784. package/lib/common/components/layout/sidebar/Sidebar/externalStyles.js +2 -3
  785. package/lib/common/components/layout/sidebar/Sidebar/index.js +83 -85
  786. package/lib/common/components/layout/sidebar/Sidebar/styles.js +17 -18
  787. package/lib/common/components/layout/sidebar/Sidebar/theme.js +2 -3
  788. package/lib/common/components/layout/sidebar/SidebarItem/index.js +11 -15
  789. package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +45 -42
  790. package/lib/common/components/layout/sidebar/SidebarItem/styles.js +7 -6
  791. package/lib/common/components/layout/sidebar/SidebarItem/theme.js +2 -3
  792. package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +6 -7
  793. package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +41 -40
  794. package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +11 -10
  795. package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -3
  796. package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +6 -7
  797. package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +37 -36
  798. package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +2 -3
  799. package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -3
  800. package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +21 -20
  801. package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +2 -3
  802. package/lib/common/components/layout/sidebar/Stimulus/index.js +8 -12
  803. package/lib/common/components/layout/sidebar/Stimulus/presenter.js +44 -47
  804. package/lib/common/components/layout/sidebar/Stimulus/styles.js +2 -3
  805. package/lib/common/components/layout/sidebar/Stimulus/theme.js +2 -3
  806. package/lib/common/components/resources/BankSelection/BankSelection.examples.js +3 -4
  807. package/lib/common/components/resources/BankSelection/index.js +9 -10
  808. package/lib/common/components/resources/BankSelection/presenter.js +34 -34
  809. package/lib/common/components/resources/WarningWrapper/index.js +33 -34
  810. package/lib/common/components/resources/WarningWrapper/styles.js +2 -3
  811. package/lib/common/components/resources/WarningWrapper/theme.js +2 -3
  812. package/lib/common/components/resources/entry/EntrySave/index.js +8 -9
  813. package/lib/common/components/resources/entry/EntrySave/presenter.js +111 -115
  814. package/lib/common/components/resources/item/ItemEdit/index.js +19 -19
  815. package/lib/common/components/resources/item/ItemEdit/presenter.js +78 -78
  816. package/lib/common/components/resources/item/ItemOverride/index.js +13 -13
  817. package/lib/common/components/resources/item/ItemOverride/presenter.js +44 -43
  818. package/lib/common/components/resources/item/ItemShow/index.js +25 -24
  819. package/lib/common/components/resources/positionBox/PositionBox.js +21 -22
  820. package/lib/common/components/resources/positionBox/styles.js +3 -4
  821. package/lib/common/components/resources/positionBox/theme.js +2 -3
  822. package/lib/common/components/resources/quiz/AddContent/Body/index.js +9 -10
  823. package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +52 -54
  824. package/lib/common/components/resources/quiz/AddContent/Body/styles.js +6 -8
  825. package/lib/common/components/resources/quiz/AddContent/Body/theme.js +2 -3
  826. package/lib/common/components/resources/quiz/AddContent/Button/index.js +28 -29
  827. package/lib/common/components/resources/quiz/AddContent/Button/styles.js +7 -7
  828. package/lib/common/components/resources/quiz/AddContent/Button/theme.js +2 -3
  829. package/lib/common/components/resources/quiz/AddContent/Modal/index.js +6 -8
  830. package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +35 -35
  831. package/lib/common/components/resources/quiz/AddContent/Popover/index.js +8 -10
  832. package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +49 -50
  833. package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +2 -3
  834. package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +2 -3
  835. package/lib/common/components/resources/quiz/info/QuizInfo.js +23 -23
  836. package/lib/common/components/resources/quiz/instructions/Instructions.js +19 -20
  837. package/lib/common/components/resources/quiz/instructions/styles.js +2 -3
  838. package/lib/common/components/resources/quiz/instructions/theme.js +2 -3
  839. package/lib/common/components/resources/quiz/title/Title.js +19 -20
  840. package/lib/common/components/resources/quiz/title/styles.js +2 -3
  841. package/lib/common/components/resources/quiz/title/theme.js +2 -3
  842. package/lib/common/components/resources/quizSessionResult/Header/index.js +25 -26
  843. package/lib/common/components/resources/quizSessionResult/Header/styles.js +2 -3
  844. package/lib/common/components/resources/quizSessionResult/Header/theme.js +2 -3
  845. package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +10 -11
  846. package/lib/common/components/resources/quizSessionResult/Info/index.js +133 -132
  847. package/lib/common/components/resources/quizSessionResult/Info/styles.js +2 -3
  848. package/lib/common/components/resources/quizSessionResult/Info/theme.js +2 -3
  849. package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +21 -22
  850. package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +13 -13
  851. package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +2 -3
  852. package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +7 -9
  853. package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +98 -99
  854. package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +6 -5
  855. package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +2 -3
  856. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +33 -34
  857. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +2 -3
  858. package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +2 -3
  859. package/lib/common/components/resources/stimulus/Stimulus/index.js +7 -8
  860. package/lib/common/components/resources/stimulus/Stimulus/presenter.js +64 -65
  861. package/lib/common/components/resources/stimulus/Stimulus/styles.js +9 -9
  862. package/lib/common/components/resources/stimulus/Stimulus/theme.js +2 -3
  863. package/lib/common/components/resources/stimulus/StimulusEdit/index.js +14 -14
  864. package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +194 -199
  865. package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +2 -3
  866. package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +2 -3
  867. package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +9 -9
  868. package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +52 -55
  869. package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +2 -3
  870. package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -3
  871. package/lib/common/components/resources/stimulus/StimulusShow/index.js +40 -42
  872. package/lib/common/components/resources/stimulus/StimulusShow/styles.js +2 -3
  873. package/lib/common/components/resources/stimulus/StimulusShow/theme.js +2 -3
  874. package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +5 -6
  875. package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +26 -25
  876. package/lib/common/components/shared/Card/CardContent/index.js +24 -24
  877. package/lib/common/components/shared/Card/CardContent/styles.js +3 -4
  878. package/lib/common/components/shared/Card/CardContent/theme.js +2 -3
  879. package/lib/common/components/shared/Card/CardWrapper/index.js +23 -23
  880. package/lib/common/components/shared/Card/CardWrapper/styles.js +3 -4
  881. package/lib/common/components/shared/Card/CardWrapper/theme.js +2 -3
  882. package/lib/common/components/shared/Card/index.js +12 -12
  883. package/lib/common/components/shared/ExpandButton/index.js +21 -22
  884. package/lib/common/components/shared/ExpandButton/styles.js +6 -5
  885. package/lib/common/components/shared/ExpandButton/theme.js +2 -3
  886. package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +7 -8
  887. package/lib/common/components/shared/FormattedDuration/index.js +36 -37
  888. package/lib/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +63 -63
  889. package/lib/common/components/shared/IfFeature/index.js +6 -8
  890. package/lib/common/components/shared/IfFeature/presenter.js +18 -19
  891. package/lib/common/components/shared/InteractionTypes/index.js +5 -6
  892. package/lib/common/components/shared/InteractionTypes/presenter.js +37 -38
  893. package/lib/common/components/shared/InteractionTypes/styles.js +2 -3
  894. package/lib/common/components/shared/InteractionTypes/theme.js +2 -3
  895. package/lib/common/components/shared/PaginatedCollection/index.js +6 -7
  896. package/lib/common/components/shared/PaginatedCollection/presenter.js +62 -66
  897. package/lib/common/components/shared/PaginatedCollection/styles.js +2 -3
  898. package/lib/common/components/shared/PaginatedCollection/theme.js +2 -3
  899. package/lib/common/components/shared/Paginator/index.js +23 -24
  900. package/lib/common/components/shared/Paginator/styles.js +2 -3
  901. package/lib/common/components/shared/Paginator/theme.js +2 -3
  902. package/lib/common/components/shared/PrintTrigger/index.js +11 -12
  903. package/lib/common/components/shared/PrintTrigger/presenter.js +51 -51
  904. package/lib/common/components/shared/TagDisplay/index.js +22 -23
  905. package/lib/common/components/shared/TagDisplay/styles.js +3 -4
  906. package/lib/common/components/shared/TagSelect/index.js +3 -4
  907. package/lib/common/components/shared/TagSelect/presenter.js +60 -59
  908. package/lib/common/components/shared/TagSuggestSelect/index.js +6 -7
  909. package/lib/common/components/shared/TagSuggestSelect/presenter.js +41 -41
  910. package/lib/common/components/shared/TagWrapper/index.js +3 -4
  911. package/lib/common/components/shared/TagWrapper/presenter.js +28 -28
  912. package/lib/common/components/shared/TimeUnitsInput/TimeUnitsInput.examples.js +3 -4
  913. package/lib/common/components/shared/TimeUnitsInput/index.js +72 -72
  914. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +29 -30
  915. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +7 -6
  916. package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -3
  917. package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +12 -14
  918. package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +63 -67
  919. package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +22 -24
  920. package/lib/common/components/shared/errors/Errors.js +21 -22
  921. package/lib/common/components/shared/errors/styles.js +2 -3
  922. package/lib/common/components/shared/errors/theme.js +2 -3
  923. package/lib/common/components/shared/file_selector/FileSelector.js +24 -26
  924. package/lib/common/components/shared/file_selector/styles.js +2 -3
  925. package/lib/common/components/shared/file_selector/theme.js +2 -3
  926. package/lib/common/components/shared/functionality/componentWithOutsideClick.js +21 -22
  927. package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +18 -20
  928. package/lib/common/components/shared/functionality/disableDraggingOverride.js +5 -6
  929. package/lib/common/components/shared/functionality/makeEditable.js +35 -35
  930. package/lib/common/components/shared/functionality/makeScrollable.js +40 -41
  931. package/lib/common/components/shared/overlay/index.js +27 -26
  932. package/lib/common/components/shared/overlay/styles.js +3 -4
  933. package/lib/common/components/shared/overlay/theme.js +2 -3
  934. package/lib/common/components/shared/return_button/ReturnButton.js +27 -26
  935. package/lib/common/components/shared/spinner/Spinner.js +25 -25
  936. package/lib/common/components/shared/spinner/styles.js +2 -3
  937. package/lib/common/kinesis/QuizEventsLogger.js +43 -49
  938. package/lib/common/kinesis/StreamQueue.js +13 -11
  939. package/lib/common/kinesis/client.js +9 -13
  940. package/lib/common/kinesis/config.js +7 -11
  941. package/lib/common/kinesis/eventTypes.js +9 -16
  942. package/lib/common/middleware/alertTimerMiddleware.js +4 -5
  943. package/lib/common/middleware/crossDomainMessagingMiddleware.js +3 -4
  944. package/lib/common/middleware/eventLoggerMiddleware.js +7 -8
  945. package/lib/common/middleware/persistedStorageMiddleware.js +5 -6
  946. package/lib/common/middleware/quizTimerWebSocketMiddleware.js +15 -21
  947. package/lib/common/react-redux.js +3 -4
  948. package/lib/common/records/Alert.js +12 -11
  949. package/lib/common/records/Bank.js +16 -16
  950. package/lib/common/records/BankEntry.js +19 -20
  951. package/lib/common/records/Item.js +25 -24
  952. package/lib/common/records/ItemAnalysis.js +14 -15
  953. package/lib/common/records/QtiImport.js +13 -14
  954. package/lib/common/records/Quiz.js +29 -28
  955. package/lib/common/records/QuizAnalysis.js +16 -17
  956. package/lib/common/records/QuizEntry.js +125 -124
  957. package/lib/common/records/QuizSession.js +32 -28
  958. package/lib/common/records/QuizSessionEvent.js +14 -15
  959. package/lib/common/records/QuizSessionResult.js +14 -15
  960. package/lib/common/records/Response.js +14 -15
  961. package/lib/common/records/SessionItem.js +21 -22
  962. package/lib/common/records/SessionItemResult.js +14 -15
  963. package/lib/common/records/Stimulus.js +20 -21
  964. package/lib/common/records/baseRecord.js +22 -18
  965. package/lib/common/records/index.js +34 -34
  966. package/lib/common/records/reduxRecord.js +16 -13
  967. package/lib/common/reducers/alerts.js +6 -7
  968. package/lib/common/reducers/analyses.js +17 -30
  969. package/lib/common/reducers/bankEntries.js +6 -7
  970. package/lib/common/reducers/bankSearch.js +5 -6
  971. package/lib/common/reducers/banks.js +6 -7
  972. package/lib/common/reducers/calls.js +5 -6
  973. package/lib/common/reducers/config.js +5 -6
  974. package/lib/common/reducers/dragAndDrop.js +5 -6
  975. package/lib/common/reducers/editing.js +6 -8
  976. package/lib/common/reducers/errorsShowing.js +5 -6
  977. package/lib/common/reducers/features.js +5 -6
  978. package/lib/common/reducers/grading.js +5 -6
  979. package/lib/common/reducers/interactionTypes.js +6 -7
  980. package/lib/common/reducers/items.js +6 -7
  981. package/lib/common/reducers/modal.js +5 -6
  982. package/lib/common/reducers/moderation.js +5 -6
  983. package/lib/common/reducers/modifications.js +16 -16
  984. package/lib/common/reducers/outcomes.js +5 -6
  985. package/lib/common/reducers/printing.js +5 -6
  986. package/lib/common/reducers/qtiImports.js +6 -7
  987. package/lib/common/reducers/quizEntries.js +10 -11
  988. package/lib/common/reducers/quizExport.js +5 -6
  989. package/lib/common/reducers/quizSessionEvents.js +8 -7
  990. package/lib/common/reducers/quizSessionResults.js +6 -7
  991. package/lib/common/reducers/quizSessions.js +7 -8
  992. package/lib/common/reducers/quizzes.js +8 -9
  993. package/lib/common/reducers/rce.js +5 -6
  994. package/lib/common/reducers/regrading.js +5 -6
  995. package/lib/common/reducers/reporting.js +6 -7
  996. package/lib/common/reducers/scrolling.js +5 -6
  997. package/lib/common/reducers/sessionItemResults.js +6 -7
  998. package/lib/common/reducers/sessionItems.js +6 -7
  999. package/lib/common/reducers/sharedBanks.js +6 -7
  1000. package/lib/common/reducers/sidebar.js +5 -6
  1001. package/lib/common/reducers/stimuli.js +6 -7
  1002. package/lib/common/reducers/tagAssociations.js +5 -6
  1003. package/lib/common/reducers/taking.js +5 -6
  1004. package/lib/common/reducers/ui.js +6 -7
  1005. package/lib/common/reducers/upload.js +7 -8
  1006. package/lib/common/selectors/analyses.js +13 -24
  1007. package/lib/common/selectors/calculator.js +3 -3
  1008. package/lib/common/selectors/config.js +1 -1
  1009. package/lib/common/selectors/interactionTypes.js +14 -16
  1010. package/lib/common/selectors/items.js +3 -3
  1011. package/lib/common/selectors/qtiImports.js +4 -5
  1012. package/lib/common/selectors/quizSessionResults.js +4 -4
  1013. package/lib/common/selectors/quizSessions.js +11 -17
  1014. package/lib/common/selectors/quizzes.js +31 -43
  1015. package/lib/common/selectors/rce.js +4 -6
  1016. package/lib/common/selectors/reporting.js +5 -6
  1017. package/lib/common/selectors/sessionItemResults.js +10 -12
  1018. package/lib/common/selectors/sessionItems.js +11 -13
  1019. package/lib/common/selectors/taking.js +12 -16
  1020. package/lib/common/selectors/ui.js +2 -3
  1021. package/lib/common/util/CustomPropTypes.js +3 -5
  1022. package/lib/common/util/ElementsForSelectors.js +3 -4
  1023. package/lib/common/util/ExhaustivePaginatedFetcher.js +57 -56
  1024. package/lib/common/util/Fetcher.js +151 -166
  1025. package/lib/common/util/MultiWeakMap.js +5 -7
  1026. package/lib/common/util/PaginatedFetcher.js +30 -32
  1027. package/lib/common/util/ThunkQueue.js +55 -57
  1028. package/lib/common/util/TimeRecordingService.js +9 -11
  1029. package/lib/common/util/TimerService.js +16 -19
  1030. package/lib/common/util/cachePreviousArgs.js +4 -5
  1031. package/lib/common/util/callHelpers.js +6 -10
  1032. package/lib/common/util/clickHandlers.js +3 -3
  1033. package/lib/common/util/componentForItem.js +5 -6
  1034. package/lib/common/util/crossDomainMessaging.js +1 -1
  1035. package/lib/common/util/debounceLatestPromise.js +5 -6
  1036. package/lib/common/util/featureCheck.js +6 -6
  1037. package/lib/common/util/formatTimespan.js +8 -9
  1038. package/lib/common/util/generateDisplayPositions.js +3 -4
  1039. package/lib/common/util/getClientIpAddress.js +24 -27
  1040. package/lib/common/util/httpHeaders.js +5 -8
  1041. package/lib/common/util/immutableHelpers.js +6 -9
  1042. package/lib/common/util/instUIMessages.js +2 -3
  1043. package/lib/common/util/interactionTypeMetadata.js +17 -19
  1044. package/lib/common/util/interactionTypePropsHelper.js +5 -7
  1045. package/lib/common/util/interactionTypeRecordForItem.js +4 -4
  1046. package/lib/common/util/jsonify.js +8 -7
  1047. package/lib/common/util/keyboardClickable.js +2 -3
  1048. package/lib/common/util/mathRenderingUtils.js +2 -4
  1049. package/lib/common/util/maxContent.js +4 -5
  1050. package/lib/common/util/noop.js +2 -3
  1051. package/lib/common/util/persistedState.js +10 -11
  1052. package/lib/common/util/printUtils.js +5 -7
  1053. package/lib/common/util/rceChecker.js +12 -15
  1054. package/lib/common/util/renderAlerts.js +13 -15
  1055. package/lib/common/util/serializeEvent.js +4 -5
  1056. package/lib/common/util/sessionStore.js +4 -7
  1057. package/lib/common/util/valMap.js +4 -5
  1058. package/lib/common/util/warningHelpers.js +33 -40
  1059. package/lib/common/util/windowChecks.js +9 -14
  1060. package/lib/common/util/withCachedArguments.js +5 -6
  1061. package/lib/common/util/withDynamoPagination.js +55 -57
  1062. package/lib/common/util/withStateCache.js +5 -6
  1063. package/lib/config.js +6 -8
  1064. package/lib/configureStore.js +90 -91
  1065. package/lib/grading/api/quizEntryRegrades.js +6 -6
  1066. package/lib/grading/api/updateResults.js +10 -11
  1067. package/lib/index.js +559 -557
  1068. package/lib/messages/LocalStorageAdapter.js +18 -18
  1069. package/lib/messages/LocalStorageLimits.js +26 -25
  1070. package/lib/messages/StorageExhaustionError.js +12 -10
  1071. package/lib/messages/postMessageService.js +47 -45
  1072. package/lib/messages/subjectHandlers/forwardMessage.js +2 -3
  1073. package/lib/messages/subjectHandlers/lti.capabilities.js +2 -3
  1074. package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +2 -3
  1075. package/lib/messages/subjectHandlers/lti.frameResize.js +4 -5
  1076. package/lib/messages/subjectHandlers/lti.get_data.js +3 -4
  1077. package/lib/messages/subjectHandlers/lti.put_data.js +5 -6
  1078. package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +7 -9
  1079. package/lib/moderating/api/quizSessionEvents.js +4 -4
  1080. package/lib/moderating/api/quizSessions.js +8 -8
  1081. package/lib/moderating/components/events/Event.js +40 -42
  1082. package/lib/moderating/components/events/PageBlurredEvent.js +14 -15
  1083. package/lib/moderating/components/events/PageFocusedEvent.js +14 -15
  1084. package/lib/moderating/components/events/RCEEvent.js +18 -18
  1085. package/lib/moderating/components/events/ResponseEvent.js +31 -31
  1086. package/lib/moderating/components/events/SessionStartEvent.js +22 -22
  1087. package/lib/moderating/components/events/SessionSubmitEvent.js +22 -22
  1088. package/lib/moderating/components/events/styles.js +2 -3
  1089. package/lib/moderating/components/events/theme.js +2 -3
  1090. package/lib/moderating/components/resources/AccommodationsModal/AccommodationsModal.examples.js +3 -4
  1091. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +38 -37
  1092. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/{}.examples.js +3 -4
  1093. package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +35 -35
  1094. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +36 -35
  1095. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/ExtraTimeSettings.examples.js +3 -4
  1096. package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +57 -56
  1097. package/lib/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +33 -32
  1098. package/lib/moderating/components/resources/AccommodationsModal/index.js +52 -52
  1099. package/lib/moderating/components/resources/ElapsedTime.js +27 -27
  1100. package/lib/moderating/components/resources/EventDetails.js +15 -17
  1101. package/lib/moderating/components/resources/ModerateTable/index.js +11 -14
  1102. package/lib/moderating/components/resources/ModerateTable/presenter.js +125 -126
  1103. package/lib/moderating/components/resources/ModerateTable/styles.js +6 -5
  1104. package/lib/moderating/components/resources/ModerateTable/theme.js +2 -3
  1105. package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +9 -10
  1106. package/lib/moderating/components/resources/ModerateTableRow/index.js +6 -7
  1107. package/lib/moderating/components/resources/ModerateTableRow/presenter.js +71 -71
  1108. package/lib/moderating/components/resources/ModerateTableRow/story.js +6 -7
  1109. package/lib/moderating/components/resources/ModerateTableRow/styles.js +3 -4
  1110. package/lib/moderating/components/resources/ModerateTableRow/theme.js +2 -3
  1111. package/lib/moderating/components/resources/OutstandingQuizzesModal/OutstandingQuizzesModal.examples.js +3 -4
  1112. package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +7 -9
  1113. package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +58 -56
  1114. package/lib/moderating/components/resources/RetryGradePassbackButton/index.js +6 -7
  1115. package/lib/moderating/components/resources/RetryGradePassbackButton/presenter.js +48 -50
  1116. package/lib/moderating/components/resources/SessionBreachAlert.js +4 -6
  1117. package/lib/moderating/components/resources/util/checkIsBreach.js +6 -7
  1118. package/lib/moderating/components/resources/util/extractSessionData.js +3 -4
  1119. package/lib/moderating/components/sidebar/ModerateTray/ModerateTray.examples.js +3 -4
  1120. package/lib/moderating/components/sidebar/ModerateTray/index.js +6 -7
  1121. package/lib/moderating/components/sidebar/ModerateTray/presenter.js +75 -75
  1122. package/lib/moderating/components/sidebar/ResetQuiz/index.js +10 -11
  1123. package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +52 -54
  1124. package/lib/reduxStore.js +13 -14
  1125. package/lib/reporting/api/fetchStudentAnalyses.js +20 -23
  1126. package/lib/reporting/api/getAnalysesExport.js +24 -27
  1127. package/lib/reporting/api/getAnalysesStatus.js +22 -25
  1128. package/lib/reporting/api/getItemAnalyses.js +17 -20
  1129. package/lib/reporting/api/getQuizAnalysis.js +17 -20
  1130. package/lib/reporting/api/itemAnalyses.js +5 -5
  1131. package/lib/reporting/api/quizAnalyses.js +5 -5
  1132. package/lib/reporting/components/Caption/index.js +20 -21
  1133. package/lib/reporting/components/Caption/styles.js +2 -3
  1134. package/lib/reporting/components/Caption/theme.js +2 -3
  1135. package/lib/reporting/components/MetricsListItem/index.js +21 -21
  1136. package/lib/reporting/components/MetricsListItem/styles.js +2 -3
  1137. package/lib/reporting/components/charts/CentileDistribution/CentileDistribution.examples.js +3 -4
  1138. package/lib/reporting/components/charts/CentileDistribution/index.js +2 -3
  1139. package/lib/reporting/components/charts/CentileDistribution/presenter.js +33 -34
  1140. package/lib/reporting/components/charts/CentileDistribution/styles.js +3 -4
  1141. package/lib/reporting/components/charts/CentileDistribution/theme.js +2 -3
  1142. package/lib/reporting/components/charts/Distribution/CentileDistribution.js +3 -5
  1143. package/lib/reporting/components/charts/Distribution/Distribution.js +2 -3
  1144. package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +2 -3
  1145. package/lib/reporting/components/charts/Distribution/index.js +2 -3
  1146. package/lib/reporting/components/charts/Distribution/presenter.js +30 -32
  1147. package/lib/reporting/components/charts/Distribution/styles.js +2 -3
  1148. package/lib/reporting/components/charts/Distribution/theme.js +2 -3
  1149. package/lib/reporting/components/charts/Legend/index.js +26 -26
  1150. package/lib/reporting/components/charts/Legend/styles.js +6 -5
  1151. package/lib/reporting/components/charts/Legend/theme.js +2 -3
  1152. package/lib/reporting/components/charts/QuintileDistribution/QuintileDistribution.examples.js +3 -4
  1153. package/lib/reporting/components/charts/QuintileDistribution/index.js +2 -3
  1154. package/lib/reporting/components/charts/QuintileDistribution/presenter.js +31 -32
  1155. package/lib/reporting/components/charts/QuintileDistribution/styles.js +2 -3
  1156. package/lib/reporting/components/charts/QuintileDistribution/theme.js +2 -3
  1157. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +5 -6
  1158. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +30 -33
  1159. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +4 -11
  1160. package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +2 -3
  1161. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +5 -6
  1162. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +6 -8
  1163. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +74 -75
  1164. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +4 -5
  1165. package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +2 -3
  1166. package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +50 -52
  1167. package/lib/reporting/components/quizAnalysis/styles.js +5 -7
  1168. package/lib/reporting/components/quizAnalysis/theme.js +2 -3
  1169. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +3 -4
  1170. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +20 -20
  1171. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +2 -3
  1172. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +3 -4
  1173. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +26 -26
  1174. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +2 -3
  1175. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/index.js +1 -1
  1176. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +24 -20
  1177. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +1 -1
  1178. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +26 -22
  1179. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/index.js +1 -1
  1180. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +36 -37
  1181. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +9 -8
  1182. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +2 -3
  1183. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +1 -1
  1184. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +32 -32
  1185. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +2 -3
  1186. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +2 -3
  1187. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +35 -30
  1188. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +27 -23
  1189. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/index.js +1 -1
  1190. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +44 -45
  1191. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +6 -5
  1192. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +2 -3
  1193. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +36 -31
  1194. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +9 -9
  1195. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +12 -11
  1196. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/index.js +1 -1
  1197. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +37 -33
  1198. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/index.js +1 -1
  1199. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +82 -79
  1200. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +2 -3
  1201. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +2 -3
  1202. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/index.js +1 -1
  1203. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +56 -53
  1204. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +2 -3
  1205. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +2 -3
  1206. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/index.js +1 -1
  1207. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +30 -26
  1208. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +31 -32
  1209. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +2 -3
  1210. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +2 -3
  1211. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +30 -27
  1212. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/index.js +1 -1
  1213. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +45 -41
  1214. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/index.js +1 -1
  1215. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +28 -26
  1216. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +6 -5
  1217. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +2 -3
  1218. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/index.js +1 -1
  1219. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +5 -6
  1220. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +26 -23
  1221. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +2 -3
  1222. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/index.js +1 -1
  1223. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +53 -54
  1224. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +2 -3
  1225. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +2 -3
  1226. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/index.js +1 -1
  1227. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +62 -61
  1228. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +6 -5
  1229. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -3
  1230. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/index.js +1 -1
  1231. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +33 -30
  1232. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +2 -3
  1233. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +2 -3
  1234. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +9 -11
  1235. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +3 -4
  1236. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +33 -33
  1237. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +2 -3
  1238. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +2 -3
  1239. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/index.js +1 -1
  1240. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +16 -16
  1241. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +2 -3
  1242. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +2 -3
  1243. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +5 -6
  1244. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +13 -16
  1245. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +71 -71
  1246. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +7 -6
  1247. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +2 -3
  1248. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +3 -4
  1249. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +10 -12
  1250. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +53 -53
  1251. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +2 -3
  1252. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +2 -3
  1253. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +5 -7
  1254. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +69 -69
  1255. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +7 -7
  1256. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +2 -3
  1257. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +3 -4
  1258. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +33 -32
  1259. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +2 -3
  1260. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -3
  1261. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportFormats.js +1 -2
  1262. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +42 -45
  1263. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +28 -31
  1264. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +5 -7
  1265. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +95 -95
  1266. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +2 -3
  1267. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +2 -3
  1268. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +14 -16
  1269. package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +102 -109
  1270. package/lib/reporting/components/resources/OutcomeAnalysis/index.js +6 -8
  1271. package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +28 -28
  1272. package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +10 -11
  1273. package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +10 -12
  1274. package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +70 -72
  1275. package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +2 -3
  1276. package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -3
  1277. package/lib/reporting/components/resources/ReportCard/index.js +24 -25
  1278. package/lib/reporting/components/resources/ReportCard/styles.js +3 -4
  1279. package/lib/reporting/components/resources/ReportCard/theme.js +2 -3
  1280. package/lib/reporting/components/resources/ReportList/index.js +22 -23
  1281. package/lib/reporting/components/resources/ReportList/styles.js +2 -3
  1282. package/lib/reporting/components/resources/ReportList/theme.js +2 -3
  1283. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/index.js +3 -4
  1284. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +66 -65
  1285. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +6 -6
  1286. package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +2 -3
  1287. package/lib/reporting/components/resources/StudentAnalysis/fetchReport.js +37 -40
  1288. package/lib/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +28 -31
  1289. package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +12 -13
  1290. package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +109 -116
  1291. package/lib/reporting/components/resources/common/AnalysisUpdateDate/index.js +26 -25
  1292. package/lib/reporting/components/resources/common/ExportButton/index.js +6 -7
  1293. package/lib/reporting/components/resources/common/errorCodes.js +11 -18
  1294. package/lib/reporting/components/resources/common/errorMessages.js +18 -26
  1295. package/lib/reporting/components/resources/common/exportReports.js +41 -44
  1296. package/lib/reporting/components/resources/common/generateReports.js +66 -72
  1297. package/lib/reporting/components/resources/common/propTypes.js +141 -159
  1298. package/lib/reporting/components/resources/common/utils.js +7 -9
  1299. package/lib/taking/api/taking.js +69 -72
  1300. package/lib/taking/learnosity/index.js +39 -41
  1301. package/package.json +9 -10
@@ -3,48 +3,48 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.changeQuizTitle = changeQuizTitle;
7
- exports.changeQuizInstructions = changeQuizInstructions;
6
+ exports.changeBank = changeBank;
7
+ exports.changeFudgePoints = changeFudgePoints;
8
+ exports.changeItemBody = changeItemBody;
9
+ exports.changeItemFeedback = changeItemFeedback;
10
+ exports.changeItemState = changeItemState;
11
+ exports.changeItemTitle = changeItemTitle;
12
+ exports.changeOutcomeAlignmentSetGuid = changeOutcomeAlignmentSetGuid;
13
+ exports.changeQuizAllowBacktracking = changeQuizAllowBacktracking;
8
14
  exports.changeQuizAllowClearMCSelection = changeQuizAllowClearMCSelection;
15
+ exports.changeQuizCalculatorType = changeQuizCalculatorType;
9
16
  exports.changeQuizChoiceElimination = changeQuizChoiceElimination;
10
17
  exports.changeQuizDefaultRceSettings = changeQuizDefaultRceSettings;
11
- exports.changeQuizShuffleQuestions = changeQuizShuffleQuestions;
12
- exports.changeQuizShuffleAnswers = changeQuizShuffleAnswers;
13
- exports.changeQuizRequireStudentAccessCode = changeQuizRequireStudentAccessCode;
14
- exports.changeQuizStudentAccessCode = changeQuizStudentAccessCode;
18
+ exports.changeQuizEntryEntry = changeQuizEntryEntry;
19
+ exports.changeQuizEntryPoints = changeQuizEntryPoints;
20
+ exports.changeQuizEntryProperties = changeQuizEntryProperties;
21
+ exports.changeQuizFilterIpAddress = changeQuizFilterIpAddress;
15
22
  exports.changeQuizHasTimeLimit = changeQuizHasTimeLimit;
16
- exports.changeSessionTimeLimitInSeconds = changeSessionTimeLimitInSeconds;
17
- exports.changeQuizOutcomeAlignmentSetGuid = changeQuizOutcomeAlignmentSetGuid;
18
- exports.changeQuizAllowBacktracking = changeQuizAllowBacktracking;
23
+ exports.changeQuizInstructions = changeQuizInstructions;
24
+ exports.changeQuizIpFilters = changeQuizIpFilters;
19
25
  exports.changeQuizOneAtATimeType = changeQuizOneAtATimeType;
20
- exports.changeQuizCalculatorType = changeQuizCalculatorType;
26
+ exports.changeQuizOutcomeAlignmentSetGuid = changeQuizOutcomeAlignmentSetGuid;
27
+ exports.changeQuizRequireStudentAccessCode = changeQuizRequireStudentAccessCode;
28
+ exports.changeQuizShuffleAnswers = changeQuizShuffleAnswers;
29
+ exports.changeQuizShuffleQuestions = changeQuizShuffleQuestions;
30
+ exports.changeQuizStudentAccessCode = changeQuizStudentAccessCode;
31
+ exports.changeQuizTitle = changeQuizTitle;
21
32
  exports.changeResultsFeedback = changeResultsFeedback;
22
33
  exports.changeResultsFeedbackEnabled = changeResultsFeedbackEnabled;
23
- exports.changeItemTitle = changeItemTitle;
24
- exports.changeItemBody = changeItemBody;
25
- exports.changeItemState = changeItemState;
26
- exports.changeItemFeedback = changeItemFeedback;
27
- exports.changeOutcomeAlignmentSetGuid = changeOutcomeAlignmentSetGuid;
28
- exports.setNextQuizEntry = setNextQuizEntry;
34
+ exports.changeSessionTimeLimitInSeconds = changeSessionTimeLimitInSeconds;
35
+ exports.clearModifications = clearModifications;
29
36
  exports.clearNextQuizEntry = clearNextQuizEntry;
30
- exports.changeQuizEntryPoints = changeQuizEntryPoints;
31
- exports.changeQuizEntryProperties = changeQuizEntryProperties;
32
- exports.changeQuizEntryEntry = changeQuizEntryEntry;
33
- exports.createItem = createItem;
37
+ exports.clearTemporaryBankItem = clearTemporaryBankItem;
34
38
  exports.clearTemporaryItem = clearTemporaryItem;
35
- exports.moveTemporaryQuizEntry = moveTemporaryQuizEntry;
36
- exports.changeFudgePoints = changeFudgePoints;
37
- exports.sessionItemResultsModification = sessionItemResultsModification;
39
+ exports.clearTemporaryStimulus = clearTemporaryStimulus;
38
40
  exports.createBank = createBank;
39
- exports.changeBank = changeBank;
40
41
  exports.createBankItem = createBankItem;
41
- exports.clearTemporaryBankItem = clearTemporaryBankItem;
42
+ exports.createItem = createItem;
42
43
  exports.createStimulus = createStimulus;
43
44
  exports.modifyStimulus = modifyStimulus;
44
- exports.clearTemporaryStimulus = clearTemporaryStimulus;
45
- exports.changeQuizFilterIpAddress = changeQuizFilterIpAddress;
46
- exports.changeQuizIpFilters = changeQuizIpFilters;
47
- exports.clearModifications = clearModifications;
45
+ exports.moveTemporaryQuizEntry = moveTemporaryQuizEntry;
46
+ exports.sessionItemResultsModification = sessionItemResultsModification;
47
+ exports.setNextQuizEntry = setNextQuizEntry;
48
48
  var _quizCommon = require("@instructure/quiz-common");
49
49
  // =====================================================
50
50
  // =====================================================
@@ -341,7 +341,7 @@ function clearNextQuizEntry() {
341
341
  };
342
342
  }
343
343
  function changeQuizEntryPoints(quizEntryId, newPoints) {
344
- var newQuizEntryRegrades = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
344
+ var newQuizEntryRegrades = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
345
345
  return {
346
346
  type: _quizCommon.QUIZ_ENTRIES_MODIFICATION,
347
347
  payload: {
@@ -366,7 +366,7 @@ function changeQuizEntryProperties(quizEntryId, properties) {
366
366
  };
367
367
  }
368
368
  function changeQuizEntryEntry(quizEntryId, entryId) {
369
- var entryType = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
369
+ var entryType = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
370
370
  var modifications = {
371
371
  entry: {
372
372
  id: entryId
@@ -384,9 +384,9 @@ function changeQuizEntryEntry(quizEntryId, entryId) {
384
384
  };
385
385
  }
386
386
  function createItem(quizId, position, interactionTypeData) {
387
- var parentEntryId = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
388
- var stimulusId = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : null;
389
- var pointsPossible = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : null;
387
+ var parentEntryId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
388
+ var stimulusId = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : null;
389
+ var pointsPossible = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
390
390
  return function (dispatch, getState) {
391
391
  dispatch({
392
392
  type: _quizCommon.CREATE_TEMPORARY_ITEM,
@@ -468,7 +468,7 @@ function sessionItemResultsModification(sessionItemResultKey, modifications) {
468
468
  // =====================
469
469
 
470
470
  function createBank() {
471
- var _ref = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
471
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
472
472
  _ref$language = _ref.language,
473
473
  language = _ref$language === void 0 ? null : _ref$language;
474
474
  return function (dispatch, getState) {
@@ -592,7 +592,7 @@ function changeQuizIpFilters(quizId, ips, namedIps) {
592
592
  // =====================
593
593
 
594
594
  function clearModifications(objectType, objectId) {
595
- var deepKeys = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
595
+ var deepKeys = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
596
596
  return {
597
597
  type: _quizCommon.CLEAR_MODIFICATIONS,
598
598
  payload: {
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.setPrintFontSizePreference = setPrintFontSizePreference;
7
6
  exports.persistPrintFontSizePreference = persistPrintFontSizePreference;
7
+ exports.setPrintFontSizePreference = setPrintFontSizePreference;
8
8
  var _quizCommon = require("@instructure/quiz-common");
9
9
  function setPrintFontSizePreference(fontSizePreference) {
10
10
  return {
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.startQuizExportJob = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var startQuizExportJob = function startQuizExportJob(activeQuiz) {
8
+ var startQuizExportJob = exports.startQuizExportJob = function startQuizExportJob(activeQuiz) {
9
9
  return {
10
10
  type: _quizCommon.START_QUIZ_EXPORT_JOB,
11
11
  payload: activeQuiz
12
12
  };
13
- };
14
- exports.startQuizExportJob = startQuizExportJob;
13
+ };
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.addQuizSessionEvents = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addQuizSessionEvents = function addQuizSessionEvents(quizSessionEvents) {
8
+ var addQuizSessionEvents = exports.addQuizSessionEvents = function addQuizSessionEvents(quizSessionEvents) {
9
9
  return {
10
10
  type: _quizCommon.ADD_QUIZ_SESSION_EVENTS,
11
11
  payload: quizSessionEvents
12
12
  };
13
- };
14
- exports.addQuizSessionEvents = addQuizSessionEvents;
13
+ };
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.addQuizSessionResults = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addQuizSessionResults = function addQuizSessionResults(quizSessionResults) {
8
+ var addQuizSessionResults = exports.addQuizSessionResults = function addQuizSessionResults(quizSessionResults) {
9
9
  return {
10
10
  type: _quizCommon.ADD_QUIZ_SESSION_RESULTS,
11
11
  payload: quizSessionResults
12
12
  };
13
- };
14
- exports.addQuizSessionResults = addQuizSessionResults;
13
+ };
@@ -3,40 +3,37 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.clearActiveQuizSession = exports.addQuizSessions = void 0;
6
7
  exports.getQuizSessionResult = getQuizSessionResult;
7
8
  exports.getResultInfo = getResultInfo;
8
- exports.getSessionItemResults = exports.getSessionItems = exports.handleQuizSessionFetch = exports.addQuizSessions = exports.clearActiveQuizSession = exports.newActiveQuizSession = void 0;
9
+ exports.newActiveQuizSession = exports.handleQuizSessionFetch = exports.getSessionItems = exports.getSessionItemResults = void 0;
9
10
  var _quizCommon = require("@instructure/quiz-common");
10
- var _callHandlers = require("../api/callHandlers.js");
11
- var _quizSessions = require("../api/quizSessions.js");
12
- var newActiveQuizSession = function newActiveQuizSession(activeQuizSessionId) {
11
+ var _callHandlers = require("../api/callHandlers");
12
+ var _quizSessions = require("../api/quizSessions");
13
+ var newActiveQuizSession = exports.newActiveQuizSession = function newActiveQuizSession(activeQuizSessionId) {
13
14
  return {
14
15
  type: _quizCommon.ACTIVE_QUIZ_SESSION_CHANGE,
15
16
  payload: activeQuizSessionId
16
17
  };
17
18
  };
18
- exports.newActiveQuizSession = newActiveQuizSession;
19
- var clearActiveQuizSession = function clearActiveQuizSession() {
19
+ var clearActiveQuizSession = exports.clearActiveQuizSession = function clearActiveQuizSession() {
20
20
  return {
21
21
  type: _quizCommon.ACTIVE_QUIZ_SESSION_CHANGE,
22
22
  payload: null
23
23
  };
24
24
  };
25
- exports.clearActiveQuizSession = clearActiveQuizSession;
26
- var addQuizSessions = function addQuizSessions(quizSessions) {
25
+ var addQuizSessions = exports.addQuizSessions = function addQuizSessions(quizSessions) {
27
26
  var payload = Array.isArray(quizSessions) ? quizSessions : [quizSessions];
28
27
  return {
29
28
  type: _quizCommon.ADD_QUIZ_SESSIONS,
30
29
  payload: payload
31
30
  };
32
31
  };
33
- exports.addQuizSessions = addQuizSessions;
34
- var handleQuizSessionFetch = function handleQuizSessionFetch(dispatch, quizSession) {
32
+ var handleQuizSessionFetch = exports.handleQuizSessionFetch = function handleQuizSessionFetch(dispatch, quizSession) {
35
33
  return dispatch([(0, _callHandlers.handleQuizSessionResponse)(quizSession), newActiveQuizSession(quizSession.id)]);
36
34
  };
37
- exports.handleQuizSessionFetch = handleQuizSessionFetch;
38
- var getSessionItems = function getSessionItems(quizSessionId) {
39
- var apiAction = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _quizSessions.fetchSessionItems;
35
+ var getSessionItems = exports.getSessionItems = function getSessionItems(quizSessionId) {
36
+ var apiAction = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _quizSessions.fetchSessionItems;
40
37
  return function (dispatch) {
41
38
  var responseCb = function responseCb(sessionItemsData) {
42
39
  return dispatch((0, _callHandlers.handleSessionItemsResponse)(sessionItemsData, quizSessionId));
@@ -44,9 +41,8 @@ var getSessionItems = function getSessionItems(quizSessionId) {
44
41
  return apiAction(quizSessionId, responseCb);
45
42
  };
46
43
  };
47
- exports.getSessionItems = getSessionItems;
48
- var getSessionItemResults = function getSessionItemResults(quizSessionId, quizSessionResultId) {
49
- var apiAction = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _quizSessions.fetchSessionItemResults;
44
+ var getSessionItemResults = exports.getSessionItemResults = function getSessionItemResults(quizSessionId, quizSessionResultId) {
45
+ var apiAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _quizSessions.fetchSessionItemResults;
50
46
  return function (dispatch) {
51
47
  var responseCb = function responseCb(sessionItemResultsData) {
52
48
  return dispatch((0, _callHandlers.handleSessionItemResultsResponse)(sessionItemResultsData, quizSessionId));
@@ -54,9 +50,8 @@ var getSessionItemResults = function getSessionItemResults(quizSessionId, quizSe
54
50
  return apiAction(quizSessionId, quizSessionResultId, responseCb);
55
51
  };
56
52
  };
57
- exports.getSessionItemResults = getSessionItemResults;
58
53
  function getQuizSessionResult(authoritativeResultId, quizSessionId) {
59
- var apiAction = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _quizSessions.fetchQuizSessionResult;
54
+ var apiAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _quizSessions.fetchQuizSessionResult;
60
55
  return function (dispatch, getState) {
61
56
  var responseCb = function responseCb(result) {
62
57
  return dispatch((0, _callHandlers.handleQuizSessionResultsResponse)([result]));
@@ -68,10 +63,10 @@ function getQuizSessionResult(authoritativeResultId, quizSessionId) {
68
63
  // TODO: set callback tracking in fetcher to prevent hitting this again when the quizSession is loaded and graded
69
64
  // but the sessionItems aren't yet loaded, then remove the throttling functions in results and grading
70
65
  function getResultInfo(quizSessionId) {
71
- var anonymousGrading = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
72
- var apiAction = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _quizSessions.fetchQuizSession;
73
- var autoRetry = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false;
74
- var fetchItems = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : true;
66
+ var anonymousGrading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
67
+ var apiAction = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _quizSessions.fetchQuizSession;
68
+ var autoRetry = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
69
+ var fetchItems = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
75
70
  return function (dispatch, getState) {
76
71
  var getSIResults = function getSIResults(quizSessionData) {
77
72
  if (quizSessionData.status !== 'graded') {
@@ -3,23 +3,21 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.disassociateQuizEntry = exports.associateQuizEntries = exports.associateQuizAnalysis = exports.associateItemAnalyses = exports.newActiveQuiz = exports.addQuizzes = void 0;
6
+ exports.newActiveQuiz = exports.disassociateQuizEntry = exports.associateQuizEntries = exports.associateQuizAnalysis = exports.associateItemAnalyses = exports.addQuizzes = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addQuizzes = function addQuizzes(quizzes) {
8
+ var addQuizzes = exports.addQuizzes = function addQuizzes(quizzes) {
9
9
  return {
10
10
  type: _quizCommon.ADD_QUIZZES,
11
11
  payload: quizzes
12
12
  };
13
13
  };
14
- exports.addQuizzes = addQuizzes;
15
- var newActiveQuiz = function newActiveQuiz(activeQuizId) {
14
+ var newActiveQuiz = exports.newActiveQuiz = function newActiveQuiz(activeQuizId) {
16
15
  return {
17
16
  type: _quizCommon.ACTIVE_QUIZ_CHANGE,
18
17
  payload: activeQuizId
19
18
  };
20
19
  };
21
- exports.newActiveQuiz = newActiveQuiz;
22
- var associateItemAnalyses = function associateItemAnalyses(quizId, itemAnalyses) {
20
+ var associateItemAnalyses = exports.associateItemAnalyses = function associateItemAnalyses(quizId, itemAnalyses) {
23
21
  return {
24
22
  type: _quizCommon.ASSOCIATE_ITEM_ANALYSES,
25
23
  payload: {
@@ -28,8 +26,7 @@ var associateItemAnalyses = function associateItemAnalyses(quizId, itemAnalyses)
28
26
  }
29
27
  };
30
28
  };
31
- exports.associateItemAnalyses = associateItemAnalyses;
32
- var associateQuizAnalysis = function associateQuizAnalysis(quizId, quizAnalysis) {
29
+ var associateQuizAnalysis = exports.associateQuizAnalysis = function associateQuizAnalysis(quizId, quizAnalysis) {
33
30
  return {
34
31
  type: _quizCommon.ASSOCIATE_QUIZ_ANALYSIS,
35
32
  payload: {
@@ -38,8 +35,7 @@ var associateQuizAnalysis = function associateQuizAnalysis(quizId, quizAnalysis)
38
35
  }
39
36
  };
40
37
  };
41
- exports.associateQuizAnalysis = associateQuizAnalysis;
42
- var associateQuizEntries = function associateQuizEntries(quizId, quizEntries) {
38
+ var associateQuizEntries = exports.associateQuizEntries = function associateQuizEntries(quizId, quizEntries) {
43
39
  return {
44
40
  type: _quizCommon.ASSOCIATE_QUIZ_ENTRIES,
45
41
  payload: {
@@ -48,8 +44,7 @@ var associateQuizEntries = function associateQuizEntries(quizId, quizEntries) {
48
44
  }
49
45
  };
50
46
  };
51
- exports.associateQuizEntries = associateQuizEntries;
52
- var disassociateQuizEntry = function disassociateQuizEntry(quizId, quizEntryId) {
47
+ var disassociateQuizEntry = exports.disassociateQuizEntry = function disassociateQuizEntry(quizId, quizEntryId) {
53
48
  return {
54
49
  type: _quizCommon.DISASSOCIATE_QUIZ_ENTRY,
55
50
  payload: {
@@ -57,5 +52,4 @@ var disassociateQuizEntry = function disassociateQuizEntry(quizId, quizEntryId)
57
52
  quizEntryId: quizEntryId
58
53
  }
59
54
  };
60
- };
61
- exports.disassociateQuizEntry = disassociateQuizEntry;
55
+ };
@@ -3,16 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.reportRCEEvent = exports.setStoredRCEConfig = exports.setRCEError = void 0;
6
+ exports.setStoredRCEConfig = exports.setRCEError = exports.reportRCEEvent = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var setRCEError = function setRCEError(rceError) {
8
+ var setRCEError = exports.setRCEError = function setRCEError(rceError) {
9
9
  return {
10
10
  type: _quizCommon.SET_RCE_ERROR,
11
11
  payload: rceError
12
12
  };
13
13
  };
14
- exports.setRCEError = setRCEError;
15
- var setStoredRCEConfig = function setStoredRCEConfig(rceConfig) {
14
+ var setStoredRCEConfig = exports.setStoredRCEConfig = function setStoredRCEConfig(rceConfig) {
16
15
  return {
17
16
  type: _quizCommon.SET_RCE_CONFIG,
18
17
  payload: rceConfig
@@ -21,13 +20,11 @@ var setStoredRCEConfig = function setStoredRCEConfig(rceConfig) {
21
20
 
22
21
  // This is not consumed by its reducer
23
22
  // Instead it is processed by the eventLoggerMiddleware
24
- exports.setStoredRCEConfig = setStoredRCEConfig;
25
- var reportRCEEvent = function reportRCEEvent(eventMessage) {
23
+ var reportRCEEvent = exports.reportRCEEvent = function reportRCEEvent(eventMessage) {
26
24
  return {
27
25
  type: _quizCommon.RCE_EVENT,
28
26
  payload: {
29
27
  message: eventMessage
30
28
  }
31
29
  };
32
- };
33
- exports.reportRCEEvent = reportRCEEvent;
30
+ };
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.toggleRegradingEditMode = toggleRegradingEditMode;
7
6
  exports.setRegradingPayload = setRegradingPayload;
8
7
  exports.setScoreReconciliation = setScoreReconciliation;
8
+ exports.toggleRegradingEditMode = toggleRegradingEditMode;
9
9
  var _quizCommon = require("@instructure/quiz-common");
10
10
  function toggleRegradingEditMode(identifier) {
11
11
  return {
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.addItemAnalyses = addItemAnalyses;
7
7
  exports.addQuizAnalysis = addQuizAnalysis;
8
- exports.markQuizAnalysisNotFound = markQuizAnalysisNotFound;
9
8
  exports.markItemAnalysisNotFound = markItemAnalysisNotFound;
9
+ exports.markQuizAnalysisNotFound = markQuizAnalysisNotFound;
10
10
  exports.toggleItemAnalysisRowExpanded = toggleItemAnalysisRowExpanded;
11
11
  var _quizCommon = require("@instructure/quiz-common");
12
12
  function addItemAnalyses(itemAnalyses) {
@@ -3,11 +3,11 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.scrollToItem = scrollToItem;
7
6
  exports.clearsScrolledComponentKey = clearsScrolledComponentKey;
7
+ exports.scrollToItem = scrollToItem;
8
8
  var _quizCommon = require("@instructure/quiz-common");
9
9
  function scrollToItem(scrolledComponentKey) {
10
- var requireFocus = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
10
+ var requireFocus = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
11
11
  return {
12
12
  type: _quizCommon.SCROLL_TO_COMPONENT,
13
13
  payload: scrolledComponentKey,
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.addSessionItemResults = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addSessionItemResults = function addSessionItemResults(sessionItemResults) {
8
+ var addSessionItemResults = exports.addSessionItemResults = function addSessionItemResults(sessionItemResults) {
9
9
  return {
10
10
  type: _quizCommon.ADD_SESSION_ITEM_RESULTS,
11
11
  payload: sessionItemResults
12
12
  };
13
- };
14
- exports.addSessionItemResults = addSessionItemResults;
13
+ };
@@ -5,10 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.addSessionItems = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addSessionItems = function addSessionItems(sessionItems) {
8
+ var addSessionItems = exports.addSessionItems = function addSessionItems(sessionItems) {
9
9
  return {
10
10
  type: _quizCommon.ADD_SESSION_ITEMS,
11
11
  payload: sessionItems
12
12
  };
13
- };
14
- exports.addSessionItems = addSessionItems;
13
+ };
@@ -3,16 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.removeSharedBank = exports.updateSharedBankPermission = exports.addSharedBanks = void 0;
6
+ exports.updateSharedBankPermission = exports.removeSharedBank = exports.addSharedBanks = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addSharedBanks = function addSharedBanks(sharedBank) {
8
+ var addSharedBanks = exports.addSharedBanks = function addSharedBanks(sharedBank) {
9
9
  return {
10
10
  type: _quizCommon.ADD_SHARED_BANKS,
11
11
  payload: sharedBank
12
12
  };
13
13
  };
14
- exports.addSharedBanks = addSharedBanks;
15
- var updateSharedBankPermission = function updateSharedBankPermission(sharedBankId, permission) {
14
+ var updateSharedBankPermission = exports.updateSharedBankPermission = function updateSharedBankPermission(sharedBankId, permission) {
16
15
  return {
17
16
  type: _quizCommon.UPDATE_SHARED_BANK_PERMISSION,
18
17
  payload: {
@@ -21,11 +20,9 @@ var updateSharedBankPermission = function updateSharedBankPermission(sharedBankI
21
20
  }
22
21
  };
23
22
  };
24
- exports.updateSharedBankPermission = updateSharedBankPermission;
25
- var removeSharedBank = function removeSharedBank(sharedBankId) {
23
+ var removeSharedBank = exports.removeSharedBank = function removeSharedBank(sharedBankId) {
26
24
  return {
27
25
  type: _quizCommon.REMOVE_SHARED_BANK,
28
26
  payload: sharedBankId
29
27
  };
30
- };
31
- exports.removeSharedBank = removeSharedBank;
28
+ };
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.toggleSidebar = toggleSidebar;
7
6
  exports.setSidebarStimulusIsShowing = setSidebarStimulusIsShowing;
7
+ exports.toggleSidebar = toggleSidebar;
8
8
  var _quizCommon = require("@instructure/quiz-common");
9
9
  function toggleSidebar() {
10
10
  return {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.setTagSuggestions = exports.setTagInput = exports.setPendingDeletionTagAssociations = exports.setPendingAdditionTagAssociations = exports.removeTagAssociation = exports.removePendingDeletionTagAssociation = exports.removePendingAdditionTagAssociation = exports.addTagAssociation = void 0;
7
7
  var _quizCommon = require("@instructure/quiz-common");
8
- var addTagAssociation = function addTagAssociation(entityType, entityId, tagAssociation) {
8
+ var addTagAssociation = exports.addTagAssociation = function addTagAssociation(entityType, entityId, tagAssociation) {
9
9
  return {
10
10
  type: _quizCommon.ADD_TAG_ASSOCIATION,
11
11
  payload: {
@@ -15,8 +15,7 @@ var addTagAssociation = function addTagAssociation(entityType, entityId, tagAsso
15
15
  }
16
16
  };
17
17
  };
18
- exports.addTagAssociation = addTagAssociation;
19
- var removePendingAdditionTagAssociation = function removePendingAdditionTagAssociation(entityType, entityId, tagValue) {
18
+ var removePendingAdditionTagAssociation = exports.removePendingAdditionTagAssociation = function removePendingAdditionTagAssociation(entityType, entityId, tagValue) {
20
19
  return {
21
20
  type: _quizCommon.REMOVE_PENDING_ADDITION_TAG_ASSOCIATION,
22
21
  payload: {
@@ -26,8 +25,7 @@ var removePendingAdditionTagAssociation = function removePendingAdditionTagAssoc
26
25
  }
27
26
  };
28
27
  };
29
- exports.removePendingAdditionTagAssociation = removePendingAdditionTagAssociation;
30
- var removePendingDeletionTagAssociation = function removePendingDeletionTagAssociation(entityType, entityId, tagAssociationId) {
28
+ var removePendingDeletionTagAssociation = exports.removePendingDeletionTagAssociation = function removePendingDeletionTagAssociation(entityType, entityId, tagAssociationId) {
31
29
  return {
32
30
  type: _quizCommon.REMOVE_PENDING_DELETION_TAG_ASSOCIATION,
33
31
  payload: {
@@ -37,8 +35,7 @@ var removePendingDeletionTagAssociation = function removePendingDeletionTagAssoc
37
35
  }
38
36
  };
39
37
  };
40
- exports.removePendingDeletionTagAssociation = removePendingDeletionTagAssociation;
41
- var removeTagAssociation = function removeTagAssociation(entityType, entityId, tagAssociationId) {
38
+ var removeTagAssociation = exports.removeTagAssociation = function removeTagAssociation(entityType, entityId, tagAssociationId) {
42
39
  return {
43
40
  type: _quizCommon.REMOVE_TAG_ASSOCIATION,
44
41
  payload: {
@@ -48,8 +45,7 @@ var removeTagAssociation = function removeTagAssociation(entityType, entityId, t
48
45
  }
49
46
  };
50
47
  };
51
- exports.removeTagAssociation = removeTagAssociation;
52
- var setPendingAdditionTagAssociations = function setPendingAdditionTagAssociations(entityType, entityId, tags) {
48
+ var setPendingAdditionTagAssociations = exports.setPendingAdditionTagAssociations = function setPendingAdditionTagAssociations(entityType, entityId, tags) {
53
49
  return {
54
50
  type: _quizCommon.SET_PENDING_ADDITION_TAG_ASSOCIATIONS,
55
51
  payload: {
@@ -59,8 +55,7 @@ var setPendingAdditionTagAssociations = function setPendingAdditionTagAssociatio
59
55
  }
60
56
  };
61
57
  };
62
- exports.setPendingAdditionTagAssociations = setPendingAdditionTagAssociations;
63
- var setPendingDeletionTagAssociations = function setPendingDeletionTagAssociations(entityType, entityId, tags) {
58
+ var setPendingDeletionTagAssociations = exports.setPendingDeletionTagAssociations = function setPendingDeletionTagAssociations(entityType, entityId, tags) {
64
59
  return {
65
60
  type: _quizCommon.SET_PENDING_DELETION_TAG_ASSOCIATIONS,
66
61
  payload: {
@@ -70,8 +65,7 @@ var setPendingDeletionTagAssociations = function setPendingDeletionTagAssociatio
70
65
  }
71
66
  };
72
67
  };
73
- exports.setPendingDeletionTagAssociations = setPendingDeletionTagAssociations;
74
- var setTagInput = function setTagInput(entityType, entityId, tagInput) {
68
+ var setTagInput = exports.setTagInput = function setTagInput(entityType, entityId, tagInput) {
75
69
  return {
76
70
  type: _quizCommon.SET_TAG_INPUT,
77
71
  payload: {
@@ -81,8 +75,7 @@ var setTagInput = function setTagInput(entityType, entityId, tagInput) {
81
75
  }
82
76
  };
83
77
  };
84
- exports.setTagInput = setTagInput;
85
- var setTagSuggestions = function setTagSuggestions(entityType, entityId, tags, text) {
78
+ var setTagSuggestions = exports.setTagSuggestions = function setTagSuggestions(entityType, entityId, tags, text) {
86
79
  return {
87
80
  type: _quizCommon.SET_TAG_SUGGESTIONS,
88
81
  payload: {
@@ -92,5 +85,4 @@ var setTagSuggestions = function setTagSuggestions(entityType, entityId, tags, t
92
85
  text: text
93
86
  }
94
87
  };
95
- };
96
- exports.setTagSuggestions = setTagSuggestions;
88
+ };