@instructure/quiz-core 20.31.0 → 20.31.1-snapshot.0
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.
- package/CHANGELOG.md +4716 -0
- package/es/banks/components/BankEntryRow/presenter.js +0 -1
- package/es/banks/components/SharingModal/presenter.js +0 -1
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +0 -1
- package/es/common/components/shared/overlay/index.js +0 -1
- package/es/common/records/index.js +16 -32
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +0 -1
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +46 -55
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +2 -0
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +2 -0
- package/lib/banks/api/bankEntries.js +13 -24
- package/lib/banks/api/banks.js +15 -26
- package/lib/banks/api/copyingBanksPoller.js +2 -4
- package/lib/banks/api/tagAssociations.js +5 -8
- package/lib/banks/components/AddBankEntryModal/index.js +2 -4
- package/lib/banks/components/AddBankEntryModal/presenter.js +2 -4
- package/lib/banks/components/AddToBankModal/index.js +2 -3
- package/lib/banks/components/AddToBankModal/presenter.js +2 -4
- package/lib/banks/components/AsyncSearch/index.js +2 -4
- package/lib/banks/components/Bank/index.js +3 -5
- package/lib/banks/components/Bank/presenter.js +2 -4
- package/lib/banks/components/Bank/styles.js +1 -2
- package/lib/banks/components/Bank/theme.js +1 -2
- package/lib/banks/components/BankEntriesList/index.js +2 -3
- package/lib/banks/components/BankEntriesList/presenter.js +2 -4
- package/lib/banks/components/BankEntriesList/styles.js +1 -2
- package/lib/banks/components/BankEntriesList/theme.js +1 -2
- package/lib/banks/components/BankEntry/index.js +2 -4
- package/lib/banks/components/BankEntry/presenter.js +2 -4
- package/lib/banks/components/BankEntry/styles.js +1 -2
- package/lib/banks/components/BankEntry/theme.js +1 -2
- package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +2 -3
- package/lib/banks/components/BankEntryRow/index.js +1 -2
- package/lib/banks/components/BankEntryRow/presenter.js +2 -5
- package/lib/banks/components/BankEntryRow/styles.js +1 -2
- package/lib/banks/components/BankEntryRow/theme.js +1 -2
- package/lib/banks/components/BankSearch/BankSearch.stories.js +7 -12
- package/lib/banks/components/BankSearch/index.js +1 -2
- package/lib/banks/components/BankSearch/presenter.js +2 -4
- package/lib/banks/components/BankSearch/styles.js +1 -2
- package/lib/banks/components/BankSearch/theme.js +1 -2
- package/lib/banks/components/Banks/index.js +2 -4
- package/lib/banks/components/Banks/presenter.js +2 -4
- package/lib/banks/components/Banks/styles.js +1 -2
- package/lib/banks/components/Banks/theme.js +1 -2
- package/lib/banks/components/BanksList/index.js +3 -4
- package/lib/banks/components/BanksList/presenter.js +2 -4
- package/lib/banks/components/BanksList/styles.js +1 -2
- package/lib/banks/components/BanksList/theme.js +1 -2
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +2 -3
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +2 -4
- package/lib/banks/components/CreateBankModal/index.js +1 -2
- package/lib/banks/components/CreateBankModal/presenter.js +2 -4
- package/lib/banks/components/CreateBankModal/styles.js +1 -2
- package/lib/banks/components/CreateBankModal/theme.js +1 -2
- package/lib/banks/components/EditBankModal/index.js +1 -2
- package/lib/banks/components/EditBankModal/presenter.js +2 -4
- package/lib/banks/components/EditBankModal/styles.js +1 -2
- package/lib/banks/components/EditBankModal/theme.js +1 -2
- package/lib/banks/components/HeaderBreadCrumb/index.js +2 -4
- package/lib/banks/components/HeaderMenu/index.js +1 -2
- package/lib/banks/components/HeaderMenu/presenter.js +2 -4
- package/lib/banks/components/HeaderMenu/styles.js +1 -2
- package/lib/banks/components/HeaderMenu/theme.js +1 -2
- package/lib/banks/components/NavWrapper/NavWrapper.examples.js +2 -3
- package/lib/banks/components/NavWrapper/index.js +1 -2
- package/lib/banks/components/NavWrapper/presenter.js +1 -2
- package/lib/banks/components/NavWrapper/styles.js +1 -2
- package/lib/banks/components/NavWrapper/theme.js +1 -2
- package/lib/banks/components/SharingModal/ContextualIconButton/index.js +1 -2
- package/lib/banks/components/SharingModal/RootAccountSharing.js +2 -4
- package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +2 -3
- package/lib/banks/components/SharingModal/ShareList/index.js +2 -4
- package/lib/banks/components/SharingModal/ShareList/styles.js +1 -2
- package/lib/banks/components/SharingModal/index.js +1 -2
- package/lib/banks/components/SharingModal/presenter.js +2 -5
- package/lib/banks/components/SharingModal/styles.js +1 -2
- package/lib/banks/components/SharingModal/theme.js +1 -2
- package/lib/building/api/items.js +1 -1
- package/lib/building/api/qtiImports.js +5 -9
- package/lib/building/api/quizEntries.js +9 -10
- package/lib/building/api/quizzes.js +15 -15
- package/lib/building/api/stimuli.js +1 -1
- package/lib/building/components/QTIImportModal/index.js +5 -9
- package/lib/building/components/layout/Sidebar/Sidebar.examples.js +1 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/index.js +5 -9
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +2 -4
- package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +1 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +1 -2
- package/lib/building/components/layout/Sidebar/Stimulus/index.js +5 -9
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +2 -4
- package/lib/building/components/layout/Sidebar/Stimulus/styles.js +1 -2
- package/lib/building/components/layout/Sidebar/Stimulus/theme.js +1 -2
- package/lib/building/components/layout/Sidebar/index.js +5 -9
- package/lib/building/components/layout/Sidebar/presenter.js +2 -4
- package/lib/building/components/layout/Sidebar/styles.js +1 -2
- package/lib/building/components/layout/Sidebar/theme.js +1 -2
- package/lib/building/components/layout/header/BuildingButtons/index.js +3 -5
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +2 -4
- package/lib/building/components/layout/header/BuildingButtons/styles.js +1 -2
- package/lib/building/components/layout/header/BuildingButtons/theme.js +1 -2
- package/lib/building/components/layout/header/SDKBuildingButtons/index.js +2 -4
- package/lib/building/components/resources/ActionButtons/index.js +2 -4
- package/lib/building/components/resources/ActionButtons/presenter.js +2 -4
- package/lib/building/components/resources/ActionButtons/styles.js +1 -2
- package/lib/building/components/resources/ActionButtons/theme.js +1 -2
- package/lib/building/components/resources/AddToBankOptions/index.js +2 -4
- package/lib/building/components/resources/AddToBankOptions/styles.js +1 -2
- package/lib/building/components/resources/AddToBankOptions/theme.js +1 -2
- package/lib/building/components/resources/BanksTray/index.js +2 -4
- package/lib/building/components/resources/BanksTray/presenter.js +2 -4
- package/lib/building/components/resources/DeleteStimulusModal/index.js +2 -4
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +2 -4
- package/lib/building/components/resources/DeleteStimulusModal/styles.js +1 -2
- package/lib/building/components/resources/DeleteStimulusModal/theme.js +1 -2
- package/lib/building/components/resources/ItemFeedbackModal/index.js +2 -4
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +2 -4
- package/lib/building/components/resources/ItemFeedbackModal/styles.js +1 -2
- package/lib/building/components/resources/ItemFeedbackModal/theme.js +1 -2
- package/lib/building/components/resources/MoveImmutableModal/index.js +2 -4
- package/lib/building/components/resources/MoveImmutableModal/presenter.js +2 -4
- package/lib/building/components/resources/quiz/editButton/EditButton.js +1 -2
- package/lib/building/components/resources/quiz/instructions/Edit/index.js +1 -2
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +1 -2
- package/lib/building/components/resources/quiz/instructions/Edit/styles.js +1 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +2 -3
- package/lib/building/components/resources/quiz/instructions/Instructions/index.js +2 -4
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +2 -4
- package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +1 -2
- package/lib/building/components/resources/quiz/instructions/Show/index.js +2 -4
- package/lib/building/components/resources/quiz/instructions/Show/styles.js +1 -2
- package/lib/building/components/resources/quiz/title/Edit/index.js +2 -4
- package/lib/building/components/resources/quiz/title/Edit/styles.js +1 -2
- package/lib/building/components/resources/quiz/title/Edit/theme.js +1 -2
- package/lib/building/components/resources/quiz/title/Show/index.js +2 -4
- package/lib/building/components/resources/quiz/title/Show/styles.js +1 -2
- package/lib/building/components/resources/quiz/title/Show/theme.js +1 -2
- package/lib/building/components/resources/quiz/title/Title/Title.examples.js +2 -3
- package/lib/building/components/resources/quiz/title/Title/index.js +2 -4
- package/lib/building/components/resources/quiz/title/Title/presenter.js +2 -4
- package/lib/building/components/resources/quiz/title/Title/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/index.js +4 -7
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +2 -4
- package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +3 -4
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +2 -4
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +2 -4
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +2 -3
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -4
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +4 -8
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +2 -4
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +4 -7
- package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +1 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +1 -2
- package/lib/common/actions/alerts.js +2 -2
- package/lib/common/actions/analyses.js +7 -7
- package/lib/common/actions/bankEntries.js +3 -5
- package/lib/common/actions/bankSearch.js +6 -10
- package/lib/common/actions/banks.js +8 -14
- package/lib/common/actions/config.js +1 -1
- package/lib/common/actions/editing.js +1 -1
- package/lib/common/actions/errorsShowing.js +1 -1
- package/lib/common/actions/grading.js +2 -2
- package/lib/common/actions/modal.js +3 -3
- package/lib/common/actions/modifications.js +29 -29
- package/lib/common/actions/printing.js +1 -1
- package/lib/common/actions/quizExport.js +2 -3
- package/lib/common/actions/quizSessionEvents.js +2 -3
- package/lib/common/actions/quizSessionResults.js +2 -3
- package/lib/common/actions/quizSessions.js +8 -13
- package/lib/common/actions/quizzes.js +8 -14
- package/lib/common/actions/rce.js +5 -8
- package/lib/common/actions/regrading.js +1 -1
- package/lib/common/actions/reporting.js +1 -1
- package/lib/common/actions/scrolling.js +1 -1
- package/lib/common/actions/sessionItemResults.js +2 -3
- package/lib/common/actions/sessionItems.js +2 -3
- package/lib/common/actions/sharedBanks.js +5 -8
- package/lib/common/actions/sidebar.js +1 -1
- package/lib/common/actions/tagAssociations.js +9 -17
- package/lib/common/actions/taking.js +20 -38
- package/lib/common/actions/ui.js +11 -20
- package/lib/common/actions/upload.js +6 -11
- package/lib/common/api/callHandlers.js +25 -46
- package/lib/common/api/camelizeHelpers.js +2 -4
- package/lib/common/api/features.js +2 -3
- package/lib/common/api/fileUpload.js +2 -3
- package/lib/common/api/getPersistenceActions.js +1 -2
- package/lib/common/api/helpers.js +7 -10
- package/lib/common/api/interactionTypes.js +2 -3
- package/lib/common/api/quizSessions.js +17 -26
- package/lib/common/api/quizzes.js +2 -2
- package/lib/common/api/schema.js +20 -37
- package/lib/common/components/ApiFeatureFlagInitializer/index.js +3 -5
- package/lib/common/components/ConfirmationModal/index.js +1 -2
- package/lib/common/components/ConfirmationModal/presenter.js +2 -4
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +2 -4
- package/lib/common/components/ImportModal/ImportFileSelector/styles.js +1 -2
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +1 -2
- package/lib/common/components/ImportModal/index.js +5 -7
- package/lib/common/components/ImportModal/presenter.js +2 -4
- package/lib/common/components/ImportModal/styles.js +1 -2
- package/lib/common/components/ImportModal/theme.js +1 -2
- package/lib/common/components/LearnosityCalculator/index.js +2 -4
- package/lib/common/components/Pin/Pin.examples.js +2 -3
- package/lib/common/components/Pin/index.js +2 -4
- package/lib/common/components/Pin/presenter.js +2 -4
- package/lib/common/components/PreviewFrame/examples.config.js +2 -3
- package/lib/common/components/PreviewFrame/index.js +2 -4
- package/lib/common/components/PrintFontSizeModal/index.js +1 -2
- package/lib/common/components/PrintFontSizeModal/presenter.js +2 -4
- package/lib/common/components/PrintFontSizeModal/styles.js +1 -2
- package/lib/common/components/PrintFontSizeModal/theme.js +1 -2
- package/lib/common/components/RceConfigProvider/index.js +1 -2
- package/lib/common/components/RceConfigProvider/presenter.js +1 -2
- package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +3 -5
- package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +7 -12
- package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +2 -3
- package/lib/common/components/RceConfigProvider/rceConfigMapper.js +2 -3
- package/lib/common/components/RceConfigProvider/rceConfigUtils.js +4 -6
- package/lib/common/components/SDKApp/index.js +4 -7
- package/lib/common/components/SDKApp/styles.js +1 -2
- package/lib/common/components/SDKHeaderCalculator.js +2 -4
- package/lib/common/components/SDKMenuButton.js +2 -4
- package/lib/common/components/SDKNavBar.js +2 -4
- package/lib/common/components/SDKTimer.js +2 -4
- package/lib/common/components/alerts/index.js +2 -3
- package/lib/common/components/alerts/presenter.js +2 -4
- package/lib/common/components/alerts/styles.js +1 -2
- package/lib/common/components/alerts/theme.js +1 -2
- package/lib/common/components/layout/Page/index.js +2 -4
- package/lib/common/components/layout/Page/styles.js +1 -2
- package/lib/common/components/layout/Page/theme.js +1 -2
- package/lib/common/components/layout/header/Calculator/index.js +2 -4
- package/lib/common/components/layout/header/Calculator/presenter.js +2 -4
- package/lib/common/components/layout/header/HeaderMenuButton/index.js +5 -7
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +2 -4
- package/lib/common/components/layout/header/HeaderMenuButton/styles.js +1 -2
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +1 -2
- package/lib/common/components/layout/header/Timer/index.js +1 -2
- package/lib/common/components/layout/header/Timer/presenter.js +2 -4
- package/lib/common/components/layout/header/Timer/styles.js +1 -2
- package/lib/common/components/layout/header/Timer/theme.js +1 -2
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +2 -4
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +1 -2
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +1 -2
- package/lib/common/components/layout/navbar/index.js +2 -4
- package/lib/common/components/layout/navbar/styles.js +1 -2
- package/lib/common/components/layout/navbar/theme.js +1 -2
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +2 -4
- package/lib/common/components/layout/sidebar/PositionSummary/styles.js +1 -2
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +1 -2
- package/lib/common/components/layout/sidebar/Sidebar/Pin.js +2 -4
- package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +2 -3
- package/lib/common/components/layout/sidebar/Sidebar/index.js +2 -4
- package/lib/common/components/layout/sidebar/Sidebar/styles.js +1 -2
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +1 -2
- package/lib/common/components/layout/sidebar/SidebarItem/index.js +5 -9
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +2 -4
- package/lib/common/components/layout/sidebar/SidebarItem/styles.js +1 -2
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +2 -4
- package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +2 -4
- package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +2 -4
- package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/index.js +5 -9
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +3 -6
- package/lib/common/components/layout/sidebar/Stimulus/styles.js +1 -2
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +1 -2
- package/lib/common/components/resources/BankSelection/BankSelection.examples.js +2 -3
- package/lib/common/components/resources/BankSelection/index.js +3 -4
- package/lib/common/components/resources/BankSelection/presenter.js +2 -4
- package/lib/common/components/resources/WarningWrapper/index.js +2 -4
- package/lib/common/components/resources/WarningWrapper/styles.js +1 -2
- package/lib/common/components/resources/WarningWrapper/theme.js +1 -2
- package/lib/common/components/resources/entry/EntrySave/index.js +2 -3
- package/lib/common/components/resources/entry/EntrySave/presenter.js +2 -4
- package/lib/common/components/resources/item/ItemEdit/index.js +2 -3
- package/lib/common/components/resources/item/ItemEdit/presenter.js +2 -4
- package/lib/common/components/resources/item/ItemOverride/index.js +1 -2
- package/lib/common/components/resources/item/ItemOverride/presenter.js +2 -4
- package/lib/common/components/resources/item/ItemShow/index.js +1 -2
- package/lib/common/components/resources/positionBox/PositionBox.js +2 -4
- package/lib/common/components/resources/positionBox/styles.js +1 -2
- package/lib/common/components/resources/positionBox/theme.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Body/index.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +2 -4
- package/lib/common/components/resources/quiz/AddContent/Body/styles.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +2 -4
- package/lib/common/components/resources/quiz/AddContent/Button/styles.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Modal/index.js +2 -4
- package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +2 -4
- package/lib/common/components/resources/quiz/AddContent/Popover/index.js +3 -5
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +2 -4
- package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +1 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +1 -2
- package/lib/common/components/resources/quiz/info/QuizInfo.js +2 -4
- package/lib/common/components/resources/quiz/instructions/Instructions.js +2 -4
- package/lib/common/components/resources/quiz/instructions/styles.js +1 -2
- package/lib/common/components/resources/quiz/instructions/theme.js +1 -2
- package/lib/common/components/resources/quiz/title/Title.js +2 -4
- package/lib/common/components/resources/quiz/title/styles.js +1 -2
- package/lib/common/components/resources/quiz/title/theme.js +1 -2
- package/lib/common/components/resources/quizSessionResult/Header/index.js +2 -4
- package/lib/common/components/resources/quizSessionResult/Header/styles.js +1 -2
- package/lib/common/components/resources/quizSessionResult/Header/theme.js +1 -2
- package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +2 -3
- package/lib/common/components/resources/quizSessionResult/Info/index.js +2 -4
- package/lib/common/components/resources/quizSessionResult/Info/styles.js +1 -2
- package/lib/common/components/resources/quizSessionResult/Info/theme.js +1 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +2 -4
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +1 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +1 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +2 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +2 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +1 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +1 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +2 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +1 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +1 -2
- package/lib/common/components/resources/stimulus/Stimulus/index.js +1 -2
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +2 -4
- package/lib/common/components/resources/stimulus/Stimulus/styles.js +1 -2
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/index.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +2 -4
- package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +2 -4
- package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +2 -4
- package/lib/common/components/resources/stimulus/StimulusShow/styles.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusShow/theme.js +1 -2
- package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +2 -3
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +1 -2
- package/lib/common/components/shared/Card/CardContent/index.js +2 -4
- package/lib/common/components/shared/Card/CardContent/styles.js +1 -2
- package/lib/common/components/shared/Card/CardContent/theme.js +1 -2
- package/lib/common/components/shared/Card/CardWrapper/index.js +2 -4
- package/lib/common/components/shared/Card/CardWrapper/styles.js +1 -2
- package/lib/common/components/shared/Card/CardWrapper/theme.js +1 -2
- package/lib/common/components/shared/Card/index.js +1 -2
- package/lib/common/components/shared/ExpandButton/index.js +2 -4
- package/lib/common/components/shared/ExpandButton/styles.js +1 -2
- package/lib/common/components/shared/ExpandButton/theme.js +1 -2
- package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +2 -3
- package/lib/common/components/shared/FormattedDuration/index.js +7 -11
- package/lib/common/components/shared/IfFeature/index.js +3 -5
- package/lib/common/components/shared/IfFeature/presenter.js +2 -4
- package/lib/common/components/shared/InteractionTypes/index.js +1 -2
- package/lib/common/components/shared/InteractionTypes/presenter.js +2 -4
- package/lib/common/components/shared/InteractionTypes/styles.js +1 -2
- package/lib/common/components/shared/InteractionTypes/theme.js +1 -2
- package/lib/common/components/shared/PaginatedCollection/index.js +3 -4
- package/lib/common/components/shared/PaginatedCollection/presenter.js +2 -4
- package/lib/common/components/shared/PaginatedCollection/styles.js +1 -2
- package/lib/common/components/shared/PaginatedCollection/theme.js +1 -2
- package/lib/common/components/shared/Paginator/index.js +2 -4
- package/lib/common/components/shared/Paginator/styles.js +1 -2
- package/lib/common/components/shared/Paginator/theme.js +1 -2
- package/lib/common/components/shared/PrintTrigger/index.js +3 -5
- package/lib/common/components/shared/PrintTrigger/presenter.js +2 -4
- package/lib/common/components/shared/TagDisplay/index.js +2 -4
- package/lib/common/components/shared/TagDisplay/styles.js +1 -2
- package/lib/common/components/shared/TagSelect/index.js +1 -2
- package/lib/common/components/shared/TagSelect/presenter.js +2 -4
- package/lib/common/components/shared/TagSuggestSelect/index.js +1 -2
- package/lib/common/components/shared/TagSuggestSelect/presenter.js +2 -4
- package/lib/common/components/shared/TagWrapper/index.js +1 -2
- package/lib/common/components/shared/TagWrapper/presenter.js +2 -4
- package/lib/common/components/shared/TimeUnitsInput/TimeUnitsInput.examples.js +2 -3
- package/lib/common/components/shared/TimeUnitsInput/index.js +2 -4
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +2 -4
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +1 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +1 -2
- package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +3 -5
- package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +2 -4
- package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +17 -19
- package/lib/common/components/shared/errors/Errors.js +2 -4
- package/lib/common/components/shared/errors/styles.js +1 -2
- package/lib/common/components/shared/errors/theme.js +1 -2
- package/lib/common/components/shared/file_selector/FileSelector.js +2 -4
- package/lib/common/components/shared/file_selector/styles.js +1 -2
- package/lib/common/components/shared/file_selector/theme.js +1 -2
- package/lib/common/components/shared/functionality/componentWithOutsideClick.js +1 -2
- package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +1 -2
- package/lib/common/components/shared/functionality/disableDraggingOverride.js +2 -3
- package/lib/common/components/shared/functionality/makeEditable.js +3 -5
- package/lib/common/components/shared/functionality/makeScrollable.js +4 -7
- package/lib/common/components/shared/overlay/index.js +1 -3
- package/lib/common/components/shared/overlay/styles.js +1 -2
- package/lib/common/components/shared/overlay/theme.js +1 -2
- package/lib/common/components/shared/return_button/ReturnButton.js +2 -4
- package/lib/common/components/shared/spinner/Spinner.js +2 -4
- package/lib/common/components/shared/spinner/styles.js +1 -2
- package/lib/common/kinesis/QuizEventsLogger.js +4 -7
- package/lib/common/kinesis/StreamQueue.js +2 -3
- package/lib/common/kinesis/client.js +5 -9
- package/lib/common/kinesis/config.js +6 -10
- package/lib/common/kinesis/eventTypes.js +8 -15
- package/lib/common/middleware/alertTimerMiddleware.js +1 -2
- package/lib/common/middleware/crossDomainMessagingMiddleware.js +1 -2
- package/lib/common/middleware/eventLoggerMiddleware.js +1 -2
- package/lib/common/middleware/persistedStorageMiddleware.js +1 -2
- package/lib/common/middleware/quizTimerWebSocketMiddleware.js +8 -14
- package/lib/common/react-redux.js +2 -3
- package/lib/common/records/Alert.js +2 -4
- package/lib/common/records/Bank.js +2 -4
- package/lib/common/records/BankEntry.js +2 -4
- package/lib/common/records/Item.js +2 -4
- package/lib/common/records/ItemAnalysis.js +2 -4
- package/lib/common/records/QtiImport.js +2 -4
- package/lib/common/records/Quiz.js +2 -4
- package/lib/common/records/QuizAnalysis.js +2 -4
- package/lib/common/records/QuizEntry.js +2 -4
- package/lib/common/records/QuizSession.js +2 -4
- package/lib/common/records/QuizSessionEvent.js +2 -4
- package/lib/common/records/QuizSessionResult.js +2 -4
- package/lib/common/records/Response.js +2 -4
- package/lib/common/records/SessionItem.js +2 -4
- package/lib/common/records/SessionItemResult.js +2 -4
- package/lib/common/records/Stimulus.js +2 -4
- package/lib/common/records/baseRecord.js +2 -3
- package/lib/common/records/index.js +34 -34
- package/lib/common/reducers/alerts.js +2 -3
- package/lib/common/reducers/analyses.js +15 -28
- package/lib/common/reducers/bankEntries.js +2 -3
- package/lib/common/reducers/bankSearch.js +2 -3
- package/lib/common/reducers/banks.js +2 -3
- package/lib/common/reducers/calls.js +2 -3
- package/lib/common/reducers/config.js +2 -3
- package/lib/common/reducers/dragAndDrop.js +2 -3
- package/lib/common/reducers/editing.js +2 -3
- package/lib/common/reducers/errorsShowing.js +2 -3
- package/lib/common/reducers/features.js +2 -3
- package/lib/common/reducers/grading.js +2 -3
- package/lib/common/reducers/interactionTypes.js +2 -3
- package/lib/common/reducers/items.js +2 -3
- package/lib/common/reducers/modal.js +2 -3
- package/lib/common/reducers/moderation.js +2 -3
- package/lib/common/reducers/modifications.js +2 -3
- package/lib/common/reducers/outcomes.js +2 -3
- package/lib/common/reducers/printing.js +2 -3
- package/lib/common/reducers/qtiImports.js +2 -3
- package/lib/common/reducers/quizEntries.js +2 -3
- package/lib/common/reducers/quizExport.js +2 -3
- package/lib/common/reducers/quizSessionEvents.js +2 -3
- package/lib/common/reducers/quizSessionResults.js +2 -3
- package/lib/common/reducers/quizSessions.js +2 -3
- package/lib/common/reducers/quizzes.js +2 -3
- package/lib/common/reducers/rce.js +2 -3
- package/lib/common/reducers/regrading.js +2 -3
- package/lib/common/reducers/reporting.js +2 -3
- package/lib/common/reducers/scrolling.js +2 -3
- package/lib/common/reducers/sessionItemResults.js +2 -3
- package/lib/common/reducers/sessionItems.js +2 -3
- package/lib/common/reducers/sharedBanks.js +2 -3
- package/lib/common/reducers/sidebar.js +2 -3
- package/lib/common/reducers/stimuli.js +2 -3
- package/lib/common/reducers/tagAssociations.js +2 -3
- package/lib/common/reducers/taking.js +2 -3
- package/lib/common/reducers/ui.js +2 -3
- package/lib/common/reducers/upload.js +2 -3
- package/lib/common/selectors/analyses.js +13 -24
- package/lib/common/selectors/interactionTypes.js +2 -4
- package/lib/common/selectors/qtiImports.js +2 -3
- package/lib/common/selectors/quizSessionResults.js +1 -1
- package/lib/common/selectors/quizSessions.js +8 -14
- package/lib/common/selectors/quizzes.js +13 -25
- package/lib/common/selectors/rce.js +4 -6
- package/lib/common/selectors/reporting.js +2 -3
- package/lib/common/selectors/sessionItemResults.js +3 -4
- package/lib/common/selectors/sessionItems.js +3 -4
- package/lib/common/selectors/taking.js +8 -11
- package/lib/common/selectors/ui.js +2 -3
- package/lib/common/util/CustomPropTypes.js +3 -5
- package/lib/common/util/ElementsForSelectors.js +2 -3
- package/lib/common/util/ExhaustivePaginatedFetcher.js +1 -2
- package/lib/common/util/Fetcher.js +2 -4
- package/lib/common/util/MultiWeakMap.js +2 -3
- package/lib/common/util/PaginatedFetcher.js +2 -4
- package/lib/common/util/ThunkQueue.js +2 -3
- package/lib/common/util/TimeRecordingService.js +2 -4
- package/lib/common/util/TimerService.js +3 -6
- package/lib/common/util/cachePreviousArgs.js +2 -3
- package/lib/common/util/callHelpers.js +6 -10
- package/lib/common/util/componentForItem.js +2 -4
- package/lib/common/util/debounceLatestPromise.js +2 -3
- package/lib/common/util/formatTimespan.js +2 -3
- package/lib/common/util/generateDisplayPositions.js +2 -3
- package/lib/common/util/httpHeaders.js +5 -8
- package/lib/common/util/immutableHelpers.js +5 -8
- package/lib/common/util/instUIMessages.js +2 -3
- package/lib/common/util/interactionTypeMetadata.js +4 -6
- package/lib/common/util/interactionTypePropsHelper.js +3 -5
- package/lib/common/util/interactionTypeRecordForItem.js +1 -2
- package/lib/common/util/jsonify.js +3 -4
- package/lib/common/util/keyboardClickable.js +1 -2
- package/lib/common/util/mathRenderingUtils.js +2 -4
- package/lib/common/util/maxContent.js +2 -3
- package/lib/common/util/noop.js +2 -3
- package/lib/common/util/persistedState.js +1 -2
- package/lib/common/util/printUtils.js +4 -6
- package/lib/common/util/rceChecker.js +2 -3
- package/lib/common/util/renderAlerts.js +2 -3
- package/lib/common/util/serializeEvent.js +2 -3
- package/lib/common/util/sessionStore.js +2 -4
- package/lib/common/util/valMap.js +2 -3
- package/lib/common/util/warningHelpers.js +9 -16
- package/lib/common/util/windowChecks.js +7 -12
- package/lib/common/util/withCachedArguments.js +2 -3
- package/lib/common/util/withDynamoPagination.js +2 -3
- package/lib/common/util/withStateCache.js +1 -2
- package/lib/config.js +3 -5
- package/lib/configureStore.js +1 -2
- package/lib/grading/api/updateResults.js +2 -3
- package/lib/index.js +398 -397
- package/lib/messages/LocalStorageAdapter.js +2 -4
- package/lib/messages/LocalStorageLimits.js +1 -2
- package/lib/messages/StorageExhaustionError.js +2 -3
- package/lib/messages/postMessageService.js +2 -3
- package/lib/messages/subjectHandlers/forwardMessage.js +1 -2
- package/lib/messages/subjectHandlers/lti.capabilities.js +1 -2
- package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +1 -2
- package/lib/messages/subjectHandlers/lti.frameResize.js +1 -2
- package/lib/messages/subjectHandlers/lti.get_data.js +1 -2
- package/lib/messages/subjectHandlers/lti.put_data.js +1 -2
- package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +2 -4
- package/lib/moderating/api/quizSessions.js +1 -1
- package/lib/moderating/components/events/Event.js +2 -4
- package/lib/moderating/components/events/PageBlurredEvent.js +2 -4
- package/lib/moderating/components/events/PageFocusedEvent.js +2 -4
- package/lib/moderating/components/events/RCEEvent.js +2 -4
- package/lib/moderating/components/events/ResponseEvent.js +2 -4
- package/lib/moderating/components/events/SessionStartEvent.js +2 -4
- package/lib/moderating/components/events/styles.js +1 -2
- package/lib/moderating/components/events/theme.js +1 -2
- package/lib/moderating/components/resources/AccommodationsModal/AccommodationsModal.examples.js +2 -3
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +1 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/{}.examples.js +2 -3
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +2 -4
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +1 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/ExtraTimeSettings.examples.js +2 -3
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +2 -4
- package/lib/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +2 -4
- package/lib/moderating/components/resources/AccommodationsModal/index.js +2 -4
- package/lib/moderating/components/resources/ElapsedTime.js +2 -4
- package/lib/moderating/components/resources/ModerateTable/index.js +4 -7
- package/lib/moderating/components/resources/ModerateTable/presenter.js +2 -4
- package/lib/moderating/components/resources/ModerateTable/styles.js +1 -2
- package/lib/moderating/components/resources/ModerateTable/theme.js +1 -2
- package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +2 -3
- package/lib/moderating/components/resources/ModerateTableRow/index.js +2 -3
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +2 -4
- package/lib/moderating/components/resources/ModerateTableRow/story.js +1 -2
- package/lib/moderating/components/resources/ModerateTableRow/styles.js +1 -2
- package/lib/moderating/components/resources/ModerateTableRow/theme.js +1 -2
- package/lib/moderating/components/resources/OutstandingQuizzesModal/OutstandingQuizzesModal.examples.js +2 -3
- package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +3 -5
- package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +2 -4
- package/lib/moderating/components/resources/RetryGradePassbackButton/index.js +1 -2
- package/lib/moderating/components/sidebar/ModerateTray/ModerateTray.examples.js +2 -3
- package/lib/moderating/components/sidebar/ModerateTray/index.js +3 -4
- package/lib/moderating/components/sidebar/ModerateTray/presenter.js +2 -4
- package/lib/moderating/components/sidebar/ResetQuiz/index.js +3 -4
- package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +2 -4
- package/lib/reduxStore.js +4 -5
- package/lib/reporting/api/fetchStudentAnalyses.js +2 -3
- package/lib/reporting/api/getAnalysesExport.js +2 -3
- package/lib/reporting/api/getAnalysesStatus.js +2 -3
- package/lib/reporting/api/getItemAnalyses.js +2 -3
- package/lib/reporting/api/getQuizAnalysis.js +2 -3
- package/lib/reporting/components/Caption/index.js +2 -4
- package/lib/reporting/components/Caption/styles.js +1 -2
- package/lib/reporting/components/Caption/theme.js +1 -2
- package/lib/reporting/components/MetricsListItem/index.js +2 -4
- package/lib/reporting/components/MetricsListItem/styles.js +1 -2
- package/lib/reporting/components/charts/CentileDistribution/CentileDistribution.examples.js +2 -3
- package/lib/reporting/components/charts/CentileDistribution/index.js +1 -2
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +2 -4
- package/lib/reporting/components/charts/CentileDistribution/styles.js +1 -2
- package/lib/reporting/components/charts/CentileDistribution/theme.js +1 -2
- package/lib/reporting/components/charts/Distribution/CentileDistribution.js +2 -4
- package/lib/reporting/components/charts/Distribution/Distribution.js +1 -2
- package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +1 -2
- package/lib/reporting/components/charts/Distribution/index.js +1 -2
- package/lib/reporting/components/charts/Distribution/presenter.js +4 -7
- package/lib/reporting/components/charts/Distribution/styles.js +1 -2
- package/lib/reporting/components/charts/Distribution/theme.js +1 -2
- package/lib/reporting/components/charts/Legend/index.js +2 -4
- package/lib/reporting/components/charts/Legend/styles.js +1 -2
- package/lib/reporting/components/charts/Legend/theme.js +1 -2
- package/lib/reporting/components/charts/QuintileDistribution/QuintileDistribution.examples.js +2 -3
- package/lib/reporting/components/charts/QuintileDistribution/index.js +1 -2
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +2 -4
- package/lib/reporting/components/charts/QuintileDistribution/styles.js +1 -2
- package/lib/reporting/components/charts/QuintileDistribution/theme.js +1 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +2 -3
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +2 -4
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +1 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +1 -2
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +2 -3
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +3 -5
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +2 -4
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +1 -2
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +1 -2
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +2 -4
- package/lib/reporting/components/quizAnalysis/styles.js +1 -2
- package/lib/reporting/components/quizAnalysis/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +6 -6
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +4 -7
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +4 -6
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportFormats.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +2 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +1 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +3 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +2 -3
- package/lib/reporting/components/resources/OutcomeAnalysis/index.js +3 -5
- package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +2 -4
- package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +2 -3
- package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +3 -5
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -4
- package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +1 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +1 -2
- package/lib/reporting/components/resources/ReportCard/index.js +2 -4
- package/lib/reporting/components/resources/ReportCard/styles.js +1 -2
- package/lib/reporting/components/resources/ReportCard/theme.js +1 -2
- package/lib/reporting/components/resources/ReportList/index.js +2 -4
- package/lib/reporting/components/resources/ReportList/styles.js +1 -2
- package/lib/reporting/components/resources/ReportList/theme.js +1 -2
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/index.js +1 -2
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +48 -57
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +4 -3
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +4 -3
- package/lib/reporting/components/resources/StudentAnalysis/fetchReport.js +2 -3
- package/lib/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +2 -3
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +2 -3
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +2 -3
- package/lib/reporting/components/resources/common/AnalysisUpdateDate/index.js +1 -2
- package/lib/reporting/components/resources/common/ExportButton/index.js +1 -2
- package/lib/reporting/components/resources/common/errorCodes.js +9 -16
- package/lib/reporting/components/resources/common/errorMessages.js +10 -18
- package/lib/reporting/components/resources/common/exportReports.js +2 -3
- package/lib/reporting/components/resources/common/generateReports.js +3 -5
- package/lib/reporting/components/resources/common/propTypes.js +18 -34
- package/lib/reporting/components/resources/common/utils.js +4 -6
- package/lib/taking/api/taking.js +14 -16
- package/lib/taking/learnosity/index.js +1 -1
- package/package.json +13 -11
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.clearErrorsShowing = clearErrorsShowing;
|
|
7
|
-
exports.showError = showError;
|
|
8
7
|
exports.hideError = hideError;
|
|
8
|
+
exports.showError = showError;
|
|
9
9
|
var _quizCommon = require("@instructure/quiz-common");
|
|
10
10
|
function clearErrorsShowing() {
|
|
11
11
|
return {
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.setGradeByQuestionEnabled = setGradeByQuestionEnabled;
|
|
7
|
-
exports.setActiveItem = setActiveItem;
|
|
8
6
|
exports.dismissGradeByQuestionBanner = dismissGradeByQuestionBanner;
|
|
7
|
+
exports.setActiveItem = setActiveItem;
|
|
8
|
+
exports.setGradeByQuestionEnabled = setGradeByQuestionEnabled;
|
|
9
9
|
var _quizCommon = require("@instructure/quiz-common");
|
|
10
10
|
function setGradeByQuestionEnabled(enabled) {
|
|
11
11
|
return {
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.closeModal = closeModal;
|
|
7
7
|
exports.openAddContentModal = openAddContentModal;
|
|
8
8
|
exports.openDeleteStimulusModal = openDeleteStimulusModal;
|
|
9
|
-
exports.openMoveImmutableModal = openMoveImmutableModal;
|
|
10
9
|
exports.openModal = openModal;
|
|
11
|
-
exports.
|
|
10
|
+
exports.openMoveImmutableModal = openMoveImmutableModal;
|
|
11
|
+
exports.withConfirm = withConfirm;
|
|
12
12
|
var _quizCommon = require("@instructure/quiz-common");
|
|
13
13
|
function withConfirm(onContinue) {
|
|
14
14
|
var opts = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
@@ -3,48 +3,48 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
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.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
18
|
+
exports.changeQuizEntryEntry = changeQuizEntryEntry;
|
|
19
|
+
exports.changeQuizEntryPoints = changeQuizEntryPoints;
|
|
20
|
+
exports.changeQuizEntryProperties = changeQuizEntryProperties;
|
|
21
|
+
exports.changeQuizFilterIpAddress = changeQuizFilterIpAddress;
|
|
15
22
|
exports.changeQuizHasTimeLimit = changeQuizHasTimeLimit;
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.changeQuizAllowBacktracking = changeQuizAllowBacktracking;
|
|
23
|
+
exports.changeQuizInstructions = changeQuizInstructions;
|
|
24
|
+
exports.changeQuizIpFilters = changeQuizIpFilters;
|
|
19
25
|
exports.changeQuizOneAtATimeType = changeQuizOneAtATimeType;
|
|
20
|
-
exports.
|
|
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.
|
|
24
|
-
exports.
|
|
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.
|
|
31
|
-
exports.changeQuizEntryProperties = changeQuizEntryProperties;
|
|
32
|
-
exports.changeQuizEntryEntry = changeQuizEntryEntry;
|
|
33
|
-
exports.createItem = createItem;
|
|
37
|
+
exports.clearTemporaryBankItem = clearTemporaryBankItem;
|
|
34
38
|
exports.clearTemporaryItem = clearTemporaryItem;
|
|
35
|
-
exports.
|
|
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.
|
|
42
|
+
exports.createItem = createItem;
|
|
42
43
|
exports.createStimulus = createStimulus;
|
|
43
44
|
exports.modifyStimulus = modifyStimulus;
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
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
|
// =====================================================
|
|
@@ -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,39 +3,36 @@
|
|
|
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.
|
|
9
|
+
exports.newActiveQuizSession = exports.handleQuizSessionFetch = exports.getSessionItems = exports.getSessionItemResults = void 0;
|
|
9
10
|
var _quizCommon = require("@instructure/quiz-common");
|
|
10
11
|
var _callHandlers = require("../api/callHandlers.js");
|
|
11
12
|
var _quizSessions = require("../api/quizSessions.js");
|
|
12
|
-
var newActiveQuizSession = function newActiveQuizSession(activeQuizSessionId) {
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
38
|
-
var getSessionItems = function getSessionItems(quizSessionId) {
|
|
35
|
+
var getSessionItems = exports.getSessionItems = function getSessionItems(quizSessionId) {
|
|
39
36
|
var apiAction = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : _quizSessions.fetchSessionItems;
|
|
40
37
|
return function (dispatch) {
|
|
41
38
|
var responseCb = function responseCb(sessionItemsData) {
|
|
@@ -44,8 +41,7 @@ var getSessionItems = function getSessionItems(quizSessionId) {
|
|
|
44
41
|
return apiAction(quizSessionId, responseCb);
|
|
45
42
|
};
|
|
46
43
|
};
|
|
47
|
-
exports.
|
|
48
|
-
var getSessionItemResults = function getSessionItemResults(quizSessionId, quizSessionResultId) {
|
|
44
|
+
var getSessionItemResults = exports.getSessionItemResults = function getSessionItemResults(quizSessionId, quizSessionResultId) {
|
|
49
45
|
var apiAction = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _quizSessions.fetchSessionItemResults;
|
|
50
46
|
return function (dispatch) {
|
|
51
47
|
var responseCb = function responseCb(sessionItemResultsData) {
|
|
@@ -54,7 +50,6 @@ 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
54
|
var apiAction = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : _quizSessions.fetchQuizSessionResult;
|
|
60
55
|
return function (dispatch, getState) {
|
|
@@ -3,23 +3,21 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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,8 +3,8 @@
|
|
|
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
10
|
var requireFocus = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
+
};
|