@instructure/quiz-core 20.31.1 → 20.31.2-rc.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/banks/components/AddToBankModal/index.js +0 -2
- package/es/banks/components/AddToBankModal/presenter.js +27 -33
- package/es/banks/components/AsyncSearch/index.js +1 -2
- package/es/banks/components/Banks/index.js +0 -1
- package/es/banks/components/Banks/presenter.js +2 -5
- package/es/banks/components/BanksList/index.js +1 -3
- package/es/banks/components/BanksList/presenter.js +16 -19
- package/es/banks/components/SharingModal/ShareList/index.js +2 -3
- package/es/banks/components/SharingModal/index.js +0 -1
- package/es/banks/components/SharingModal/presenter.js +1 -5
- package/es/common/components/layout/Page/index.js +4 -2
- package/es/common/components/layout/sidebar/Sidebar/index.js +2 -1
- package/es/common/components/resources/entry/EntrySave/index.js +0 -2
- package/es/common/components/resources/entry/EntrySave/presenter.js +1 -3
- package/es/common/components/resources/item/ItemEdit/index.js +0 -1
- package/es/common/components/resources/item/ItemEdit/presenter.js +0 -2
- package/es/common/components/shared/PrintTrigger/index.js +0 -2
- package/es/common/components/shared/PrintTrigger/presenter.js +1 -3
- package/es/common/selectors/calculator.js +0 -4
- package/es/common/util/interactionTypePropsHelper.js +3 -4
- package/lib/banks/api/bankEntries.js +24 -13
- package/lib/banks/api/banks.js +26 -15
- package/lib/banks/api/copyingBanksPoller.js +4 -2
- package/lib/banks/api/tagAssociations.js +8 -5
- package/lib/banks/components/AddBankEntryModal/index.js +4 -2
- package/lib/banks/components/AddBankEntryModal/presenter.js +4 -2
- package/lib/banks/components/AddToBankModal/index.js +3 -4
- package/lib/banks/components/AddToBankModal/presenter.js +31 -35
- package/lib/banks/components/AsyncSearch/index.js +5 -4
- package/lib/banks/components/Bank/index.js +5 -3
- package/lib/banks/components/Bank/presenter.js +4 -2
- package/lib/banks/components/Bank/styles.js +2 -1
- package/lib/banks/components/Bank/theme.js +2 -1
- package/lib/banks/components/BankEntriesList/index.js +3 -2
- package/lib/banks/components/BankEntriesList/presenter.js +4 -2
- package/lib/banks/components/BankEntriesList/styles.js +2 -1
- package/lib/banks/components/BankEntriesList/theme.js +2 -1
- package/lib/banks/components/BankEntry/index.js +4 -2
- package/lib/banks/components/BankEntry/presenter.js +4 -2
- package/lib/banks/components/BankEntry/styles.js +2 -1
- package/lib/banks/components/BankEntry/theme.js +2 -1
- package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +3 -2
- package/lib/banks/components/BankEntryRow/index.js +2 -1
- package/lib/banks/components/BankEntryRow/presenter.js +4 -2
- package/lib/banks/components/BankEntryRow/styles.js +2 -1
- package/lib/banks/components/BankEntryRow/theme.js +2 -1
- package/lib/banks/components/BankSearch/BankSearch.stories.js +12 -7
- package/lib/banks/components/BankSearch/index.js +2 -1
- package/lib/banks/components/BankSearch/presenter.js +4 -2
- package/lib/banks/components/BankSearch/styles.js +2 -1
- package/lib/banks/components/BankSearch/theme.js +2 -1
- package/lib/banks/components/Banks/index.js +4 -3
- package/lib/banks/components/Banks/presenter.js +6 -7
- package/lib/banks/components/Banks/styles.js +2 -1
- package/lib/banks/components/Banks/theme.js +2 -1
- package/lib/banks/components/BanksList/index.js +5 -6
- package/lib/banks/components/BanksList/presenter.js +20 -21
- package/lib/banks/components/BanksList/styles.js +2 -1
- package/lib/banks/components/BanksList/theme.js +2 -1
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +3 -2
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +4 -2
- package/lib/banks/components/CreateBankModal/index.js +2 -1
- package/lib/banks/components/CreateBankModal/presenter.js +4 -2
- package/lib/banks/components/CreateBankModal/styles.js +2 -1
- package/lib/banks/components/CreateBankModal/theme.js +2 -1
- package/lib/banks/components/EditBankModal/index.js +2 -1
- package/lib/banks/components/EditBankModal/presenter.js +4 -2
- package/lib/banks/components/EditBankModal/styles.js +2 -1
- package/lib/banks/components/EditBankModal/theme.js +2 -1
- package/lib/banks/components/HeaderBreadCrumb/index.js +4 -2
- package/lib/banks/components/HeaderMenu/index.js +2 -1
- package/lib/banks/components/HeaderMenu/presenter.js +4 -2
- package/lib/banks/components/HeaderMenu/styles.js +2 -1
- package/lib/banks/components/HeaderMenu/theme.js +2 -1
- package/lib/banks/components/NavWrapper/NavWrapper.examples.js +3 -2
- package/lib/banks/components/NavWrapper/index.js +2 -1
- package/lib/banks/components/NavWrapper/presenter.js +2 -1
- package/lib/banks/components/NavWrapper/styles.js +2 -1
- package/lib/banks/components/NavWrapper/theme.js +2 -1
- package/lib/banks/components/SharingModal/ContextualIconButton/index.js +2 -1
- package/lib/banks/components/SharingModal/RootAccountSharing.js +4 -2
- package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +3 -2
- package/lib/banks/components/SharingModal/ShareList/index.js +6 -5
- package/lib/banks/components/SharingModal/ShareList/styles.js +2 -1
- package/lib/banks/components/SharingModal/index.js +2 -2
- package/lib/banks/components/SharingModal/presenter.js +5 -7
- package/lib/banks/components/SharingModal/styles.js +2 -1
- package/lib/banks/components/SharingModal/theme.js +2 -1
- package/lib/building/api/items.js +1 -1
- package/lib/building/api/qtiImports.js +9 -5
- package/lib/building/api/quizEntries.js +10 -9
- package/lib/building/api/quizzes.js +15 -15
- package/lib/building/api/stimuli.js +1 -1
- package/lib/building/components/QTIImportModal/index.js +9 -5
- package/lib/building/components/layout/Sidebar/Sidebar.examples.js +2 -1
- package/lib/building/components/layout/Sidebar/SidebarItem/index.js +9 -5
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +4 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +2 -1
- package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +2 -1
- package/lib/building/components/layout/Sidebar/Stimulus/index.js +9 -5
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +4 -2
- package/lib/building/components/layout/Sidebar/Stimulus/styles.js +2 -1
- package/lib/building/components/layout/Sidebar/Stimulus/theme.js +2 -1
- package/lib/building/components/layout/Sidebar/index.js +9 -5
- package/lib/building/components/layout/Sidebar/presenter.js +4 -2
- package/lib/building/components/layout/Sidebar/styles.js +2 -1
- package/lib/building/components/layout/Sidebar/theme.js +2 -1
- package/lib/building/components/layout/header/BuildingButtons/index.js +5 -3
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +4 -2
- package/lib/building/components/layout/header/BuildingButtons/styles.js +2 -1
- package/lib/building/components/layout/header/BuildingButtons/theme.js +2 -1
- package/lib/building/components/layout/header/SDKBuildingButtons/index.js +4 -2
- package/lib/building/components/resources/ActionButtons/index.js +4 -2
- package/lib/building/components/resources/ActionButtons/presenter.js +4 -2
- package/lib/building/components/resources/ActionButtons/styles.js +2 -1
- package/lib/building/components/resources/ActionButtons/theme.js +2 -1
- package/lib/building/components/resources/AddToBankOptions/index.js +4 -2
- package/lib/building/components/resources/AddToBankOptions/styles.js +2 -1
- package/lib/building/components/resources/AddToBankOptions/theme.js +2 -1
- package/lib/building/components/resources/BanksTray/index.js +4 -2
- package/lib/building/components/resources/BanksTray/presenter.js +4 -2
- package/lib/building/components/resources/DeleteStimulusModal/index.js +4 -2
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +4 -2
- package/lib/building/components/resources/DeleteStimulusModal/styles.js +2 -1
- package/lib/building/components/resources/DeleteStimulusModal/theme.js +2 -1
- package/lib/building/components/resources/ItemFeedbackModal/index.js +4 -2
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +4 -2
- package/lib/building/components/resources/ItemFeedbackModal/styles.js +2 -1
- package/lib/building/components/resources/ItemFeedbackModal/theme.js +2 -1
- package/lib/building/components/resources/MoveImmutableModal/index.js +4 -2
- package/lib/building/components/resources/MoveImmutableModal/presenter.js +4 -2
- package/lib/building/components/resources/quiz/editButton/EditButton.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Edit/index.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Edit/styles.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +3 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/index.js +4 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +4 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Show/index.js +4 -2
- package/lib/building/components/resources/quiz/instructions/Show/styles.js +2 -1
- package/lib/building/components/resources/quiz/title/Edit/index.js +4 -2
- package/lib/building/components/resources/quiz/title/Edit/styles.js +2 -1
- package/lib/building/components/resources/quiz/title/Edit/theme.js +2 -1
- package/lib/building/components/resources/quiz/title/Show/index.js +4 -2
- package/lib/building/components/resources/quiz/title/Show/styles.js +2 -1
- package/lib/building/components/resources/quiz/title/Show/theme.js +2 -1
- package/lib/building/components/resources/quiz/title/Title/Title.examples.js +3 -2
- package/lib/building/components/resources/quiz/title/Title/index.js +4 -2
- package/lib/building/components/resources/quiz/title/Title/presenter.js +4 -2
- package/lib/building/components/resources/quiz/title/Title/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/index.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +4 -3
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +3 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +2 -1
- package/lib/common/actions/alerts.js +2 -2
- package/lib/common/actions/analyses.js +7 -7
- package/lib/common/actions/bankEntries.js +5 -3
- package/lib/common/actions/bankSearch.js +10 -6
- package/lib/common/actions/banks.js +14 -8
- 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 +3 -2
- package/lib/common/actions/quizSessionEvents.js +3 -2
- package/lib/common/actions/quizSessionResults.js +3 -2
- package/lib/common/actions/quizSessions.js +13 -8
- package/lib/common/actions/quizzes.js +14 -8
- package/lib/common/actions/rce.js +8 -5
- 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 +3 -2
- package/lib/common/actions/sessionItems.js +3 -2
- package/lib/common/actions/sharedBanks.js +8 -5
- package/lib/common/actions/sidebar.js +1 -1
- package/lib/common/actions/tagAssociations.js +17 -9
- package/lib/common/actions/taking.js +38 -20
- package/lib/common/actions/ui.js +20 -11
- package/lib/common/actions/upload.js +11 -6
- package/lib/common/api/callHandlers.js +46 -25
- package/lib/common/api/camelizeHelpers.js +4 -2
- package/lib/common/api/features.js +3 -2
- package/lib/common/api/fileUpload.js +3 -2
- package/lib/common/api/getPersistenceActions.js +2 -1
- package/lib/common/api/helpers.js +10 -7
- package/lib/common/api/interactionTypes.js +3 -2
- package/lib/common/api/quizSessions.js +26 -17
- package/lib/common/api/quizzes.js +2 -2
- package/lib/common/api/schema.js +37 -20
- package/lib/common/components/ApiFeatureFlagInitializer/index.js +5 -3
- package/lib/common/components/ConfirmationModal/index.js +2 -1
- package/lib/common/components/ConfirmationModal/presenter.js +4 -2
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +4 -2
- package/lib/common/components/ImportModal/ImportFileSelector/styles.js +2 -1
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +2 -1
- package/lib/common/components/ImportModal/index.js +7 -5
- package/lib/common/components/ImportModal/presenter.js +4 -2
- package/lib/common/components/ImportModal/styles.js +2 -1
- package/lib/common/components/ImportModal/theme.js +2 -1
- package/lib/common/components/LearnosityCalculator/index.js +4 -2
- package/lib/common/components/Pin/Pin.examples.js +3 -2
- package/lib/common/components/Pin/index.js +4 -2
- package/lib/common/components/Pin/presenter.js +4 -2
- package/lib/common/components/PreviewFrame/examples.config.js +3 -2
- package/lib/common/components/PreviewFrame/index.js +4 -2
- package/lib/common/components/PrintFontSizeModal/index.js +2 -1
- package/lib/common/components/PrintFontSizeModal/presenter.js +4 -2
- package/lib/common/components/PrintFontSizeModal/styles.js +2 -1
- package/lib/common/components/PrintFontSizeModal/theme.js +2 -1
- package/lib/common/components/RceConfigProvider/index.js +2 -1
- package/lib/common/components/RceConfigProvider/presenter.js +2 -1
- package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +5 -3
- package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +12 -7
- package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +3 -2
- package/lib/common/components/RceConfigProvider/rceConfigMapper.js +3 -2
- package/lib/common/components/RceConfigProvider/rceConfigUtils.js +6 -4
- package/lib/common/components/SDKApp/index.js +7 -4
- package/lib/common/components/SDKApp/styles.js +2 -1
- package/lib/common/components/SDKHeaderCalculator.js +4 -2
- package/lib/common/components/SDKMenuButton.js +4 -2
- package/lib/common/components/SDKNavBar.js +4 -2
- package/lib/common/components/SDKTimer.js +4 -2
- package/lib/common/components/alerts/index.js +3 -2
- package/lib/common/components/alerts/presenter.js +4 -2
- package/lib/common/components/alerts/styles.js +2 -1
- package/lib/common/components/alerts/theme.js +2 -1
- package/lib/common/components/layout/Page/index.js +8 -4
- package/lib/common/components/layout/Page/styles.js +2 -1
- package/lib/common/components/layout/Page/theme.js +2 -1
- package/lib/common/components/layout/header/Calculator/index.js +4 -2
- package/lib/common/components/layout/header/Calculator/presenter.js +4 -2
- package/lib/common/components/layout/header/HeaderMenuButton/index.js +7 -5
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +4 -2
- package/lib/common/components/layout/header/HeaderMenuButton/styles.js +2 -1
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +2 -1
- package/lib/common/components/layout/header/Timer/index.js +2 -1
- package/lib/common/components/layout/header/Timer/presenter.js +4 -2
- package/lib/common/components/layout/header/Timer/styles.js +2 -1
- package/lib/common/components/layout/header/Timer/theme.js +2 -1
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +4 -2
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +2 -1
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +2 -1
- package/lib/common/components/layout/navbar/index.js +4 -2
- package/lib/common/components/layout/navbar/styles.js +2 -1
- package/lib/common/components/layout/navbar/theme.js +2 -1
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +4 -2
- package/lib/common/components/layout/sidebar/PositionSummary/styles.js +2 -1
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Sidebar/Pin.js +4 -2
- package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +3 -2
- package/lib/common/components/layout/sidebar/Sidebar/index.js +6 -3
- package/lib/common/components/layout/sidebar/Sidebar/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +2 -1
- package/lib/common/components/layout/sidebar/SidebarItem/index.js +9 -5
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +4 -2
- package/lib/common/components/layout/sidebar/SidebarItem/styles.js +2 -1
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +4 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +4 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +4 -2
- package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/index.js +9 -5
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +6 -3
- package/lib/common/components/layout/sidebar/Stimulus/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +2 -1
- package/lib/common/components/resources/BankSelection/BankSelection.examples.js +3 -2
- package/lib/common/components/resources/BankSelection/index.js +4 -3
- package/lib/common/components/resources/BankSelection/presenter.js +4 -2
- package/lib/common/components/resources/WarningWrapper/index.js +4 -2
- package/lib/common/components/resources/WarningWrapper/styles.js +2 -1
- package/lib/common/components/resources/WarningWrapper/theme.js +2 -1
- package/lib/common/components/resources/entry/EntrySave/index.js +3 -4
- package/lib/common/components/resources/entry/EntrySave/presenter.js +5 -5
- package/lib/common/components/resources/item/ItemEdit/index.js +3 -3
- package/lib/common/components/resources/item/ItemEdit/presenter.js +4 -4
- package/lib/common/components/resources/item/ItemOverride/index.js +2 -1
- package/lib/common/components/resources/item/ItemOverride/presenter.js +4 -2
- package/lib/common/components/resources/item/ItemShow/index.js +2 -1
- package/lib/common/components/resources/positionBox/PositionBox.js +4 -2
- package/lib/common/components/resources/positionBox/styles.js +2 -1
- package/lib/common/components/resources/positionBox/theme.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Body/index.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Body/styles.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Button/styles.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Modal/index.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/index.js +5 -3
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +2 -1
- package/lib/common/components/resources/quiz/info/QuizInfo.js +4 -2
- package/lib/common/components/resources/quiz/instructions/Instructions.js +4 -2
- package/lib/common/components/resources/quiz/instructions/styles.js +2 -1
- package/lib/common/components/resources/quiz/instructions/theme.js +2 -1
- package/lib/common/components/resources/quiz/title/Title.js +4 -2
- package/lib/common/components/resources/quiz/title/styles.js +2 -1
- package/lib/common/components/resources/quiz/title/theme.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Header/index.js +4 -2
- package/lib/common/components/resources/quizSessionResult/Header/styles.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Header/theme.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +3 -2
- package/lib/common/components/resources/quizSessionResult/Info/index.js +4 -2
- package/lib/common/components/resources/quizSessionResult/Info/styles.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Info/theme.js +2 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +4 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +2 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +4 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +4 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +4 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +2 -1
- package/lib/common/components/resources/stimulus/Stimulus/index.js +2 -1
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +4 -2
- package/lib/common/components/resources/stimulus/Stimulus/styles.js +2 -1
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/index.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +4 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +4 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +4 -2
- package/lib/common/components/resources/stimulus/StimulusShow/styles.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusShow/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +3 -2
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +2 -1
- package/lib/common/components/shared/Card/CardContent/index.js +4 -2
- package/lib/common/components/shared/Card/CardContent/styles.js +2 -1
- package/lib/common/components/shared/Card/CardContent/theme.js +2 -1
- package/lib/common/components/shared/Card/CardWrapper/index.js +4 -2
- package/lib/common/components/shared/Card/CardWrapper/styles.js +2 -1
- package/lib/common/components/shared/Card/CardWrapper/theme.js +2 -1
- package/lib/common/components/shared/Card/index.js +2 -1
- package/lib/common/components/shared/ExpandButton/index.js +4 -2
- package/lib/common/components/shared/ExpandButton/styles.js +2 -1
- package/lib/common/components/shared/ExpandButton/theme.js +2 -1
- package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +3 -2
- package/lib/common/components/shared/FormattedDuration/index.js +11 -7
- package/lib/common/components/shared/IfFeature/index.js +5 -3
- package/lib/common/components/shared/IfFeature/presenter.js +4 -2
- package/lib/common/components/shared/InteractionTypes/index.js +2 -1
- package/lib/common/components/shared/InteractionTypes/presenter.js +4 -2
- package/lib/common/components/shared/InteractionTypes/styles.js +2 -1
- package/lib/common/components/shared/InteractionTypes/theme.js +2 -1
- package/lib/common/components/shared/PaginatedCollection/index.js +4 -3
- package/lib/common/components/shared/PaginatedCollection/presenter.js +4 -2
- package/lib/common/components/shared/PaginatedCollection/styles.js +2 -1
- package/lib/common/components/shared/PaginatedCollection/theme.js +2 -1
- package/lib/common/components/shared/Paginator/index.js +4 -2
- package/lib/common/components/shared/Paginator/styles.js +2 -1
- package/lib/common/components/shared/Paginator/theme.js +2 -1
- package/lib/common/components/shared/PrintTrigger/index.js +5 -5
- package/lib/common/components/shared/PrintTrigger/presenter.js +5 -5
- package/lib/common/components/shared/TagDisplay/index.js +4 -2
- package/lib/common/components/shared/TagDisplay/styles.js +2 -1
- package/lib/common/components/shared/TagSelect/index.js +2 -1
- package/lib/common/components/shared/TagSelect/presenter.js +4 -2
- package/lib/common/components/shared/TagSuggestSelect/index.js +2 -1
- package/lib/common/components/shared/TagSuggestSelect/presenter.js +4 -2
- package/lib/common/components/shared/TagWrapper/index.js +2 -1
- package/lib/common/components/shared/TagWrapper/presenter.js +4 -2
- package/lib/common/components/shared/TimeUnitsInput/TimeUnitsInput.examples.js +3 -2
- package/lib/common/components/shared/TimeUnitsInput/index.js +4 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +4 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +2 -1
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -1
- package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +5 -3
- package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +4 -2
- package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +19 -17
- package/lib/common/components/shared/errors/Errors.js +4 -2
- package/lib/common/components/shared/errors/styles.js +2 -1
- package/lib/common/components/shared/errors/theme.js +2 -1
- package/lib/common/components/shared/file_selector/FileSelector.js +4 -2
- package/lib/common/components/shared/file_selector/styles.js +2 -1
- package/lib/common/components/shared/file_selector/theme.js +2 -1
- package/lib/common/components/shared/functionality/componentWithOutsideClick.js +2 -1
- package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +2 -1
- package/lib/common/components/shared/functionality/disableDraggingOverride.js +3 -2
- package/lib/common/components/shared/functionality/makeEditable.js +5 -3
- package/lib/common/components/shared/functionality/makeScrollable.js +7 -4
- package/lib/common/components/shared/overlay/index.js +2 -1
- package/lib/common/components/shared/overlay/styles.js +2 -1
- package/lib/common/components/shared/overlay/theme.js +2 -1
- package/lib/common/components/shared/return_button/ReturnButton.js +4 -2
- package/lib/common/components/shared/spinner/Spinner.js +4 -2
- package/lib/common/components/shared/spinner/styles.js +2 -1
- package/lib/common/kinesis/QuizEventsLogger.js +7 -4
- package/lib/common/kinesis/StreamQueue.js +3 -2
- package/lib/common/kinesis/client.js +9 -5
- package/lib/common/kinesis/config.js +10 -6
- package/lib/common/kinesis/eventTypes.js +15 -8
- package/lib/common/middleware/alertTimerMiddleware.js +2 -1
- package/lib/common/middleware/crossDomainMessagingMiddleware.js +2 -1
- package/lib/common/middleware/eventLoggerMiddleware.js +2 -1
- package/lib/common/middleware/persistedStorageMiddleware.js +2 -1
- package/lib/common/middleware/quizTimerWebSocketMiddleware.js +14 -8
- package/lib/common/react-redux.js +3 -2
- package/lib/common/records/Alert.js +4 -2
- package/lib/common/records/Bank.js +4 -2
- package/lib/common/records/BankEntry.js +4 -2
- package/lib/common/records/Item.js +4 -2
- package/lib/common/records/ItemAnalysis.js +4 -2
- package/lib/common/records/QtiImport.js +4 -2
- package/lib/common/records/Quiz.js +4 -2
- package/lib/common/records/QuizAnalysis.js +4 -2
- package/lib/common/records/QuizEntry.js +4 -2
- package/lib/common/records/QuizSession.js +4 -2
- package/lib/common/records/QuizSessionEvent.js +4 -2
- package/lib/common/records/QuizSessionResult.js +4 -2
- package/lib/common/records/Response.js +4 -2
- package/lib/common/records/SessionItem.js +4 -2
- package/lib/common/records/SessionItemResult.js +4 -2
- package/lib/common/records/Stimulus.js +4 -2
- package/lib/common/records/baseRecord.js +3 -2
- package/lib/common/reducers/alerts.js +3 -2
- package/lib/common/reducers/analyses.js +28 -15
- package/lib/common/reducers/bankEntries.js +3 -2
- package/lib/common/reducers/bankSearch.js +3 -2
- package/lib/common/reducers/banks.js +3 -2
- package/lib/common/reducers/calls.js +3 -2
- package/lib/common/reducers/config.js +3 -2
- package/lib/common/reducers/dragAndDrop.js +3 -2
- package/lib/common/reducers/editing.js +3 -2
- package/lib/common/reducers/errorsShowing.js +3 -2
- package/lib/common/reducers/features.js +3 -2
- package/lib/common/reducers/grading.js +3 -2
- package/lib/common/reducers/interactionTypes.js +3 -2
- package/lib/common/reducers/items.js +3 -2
- package/lib/common/reducers/modal.js +3 -2
- package/lib/common/reducers/moderation.js +3 -2
- package/lib/common/reducers/modifications.js +3 -2
- package/lib/common/reducers/outcomes.js +3 -2
- package/lib/common/reducers/printing.js +3 -2
- package/lib/common/reducers/qtiImports.js +3 -2
- package/lib/common/reducers/quizEntries.js +3 -2
- package/lib/common/reducers/quizExport.js +3 -2
- package/lib/common/reducers/quizSessionEvents.js +3 -2
- package/lib/common/reducers/quizSessionResults.js +3 -2
- package/lib/common/reducers/quizSessions.js +3 -2
- package/lib/common/reducers/quizzes.js +3 -2
- package/lib/common/reducers/rce.js +3 -2
- package/lib/common/reducers/regrading.js +3 -2
- package/lib/common/reducers/reporting.js +3 -2
- package/lib/common/reducers/scrolling.js +3 -2
- package/lib/common/reducers/sessionItemResults.js +3 -2
- package/lib/common/reducers/sessionItems.js +3 -2
- package/lib/common/reducers/sharedBanks.js +3 -2
- package/lib/common/reducers/sidebar.js +3 -2
- package/lib/common/reducers/stimuli.js +3 -2
- package/lib/common/reducers/tagAssociations.js +3 -2
- package/lib/common/reducers/taking.js +3 -2
- package/lib/common/reducers/ui.js +3 -2
- package/lib/common/reducers/upload.js +3 -2
- package/lib/common/selectors/analyses.js +24 -13
- package/lib/common/selectors/calculator.js +0 -4
- package/lib/common/selectors/interactionTypes.js +4 -2
- package/lib/common/selectors/qtiImports.js +3 -2
- package/lib/common/selectors/quizSessionResults.js +1 -1
- package/lib/common/selectors/quizSessions.js +14 -8
- package/lib/common/selectors/quizzes.js +25 -13
- package/lib/common/selectors/rce.js +6 -4
- package/lib/common/selectors/reporting.js +3 -2
- package/lib/common/selectors/sessionItemResults.js +4 -3
- package/lib/common/selectors/sessionItems.js +4 -3
- package/lib/common/selectors/taking.js +11 -8
- package/lib/common/selectors/ui.js +3 -2
- package/lib/common/util/CustomPropTypes.js +5 -3
- package/lib/common/util/ElementsForSelectors.js +3 -2
- package/lib/common/util/ExhaustivePaginatedFetcher.js +2 -1
- package/lib/common/util/Fetcher.js +4 -2
- package/lib/common/util/MultiWeakMap.js +3 -2
- package/lib/common/util/PaginatedFetcher.js +4 -2
- package/lib/common/util/ThunkQueue.js +3 -2
- package/lib/common/util/TimeRecordingService.js +4 -2
- package/lib/common/util/TimerService.js +6 -3
- package/lib/common/util/cachePreviousArgs.js +3 -2
- package/lib/common/util/callHelpers.js +10 -6
- package/lib/common/util/componentForItem.js +4 -2
- package/lib/common/util/debounceLatestPromise.js +3 -2
- package/lib/common/util/formatTimespan.js +3 -2
- package/lib/common/util/generateDisplayPositions.js +3 -2
- package/lib/common/util/httpHeaders.js +8 -5
- package/lib/common/util/immutableHelpers.js +8 -5
- package/lib/common/util/instUIMessages.js +3 -2
- package/lib/common/util/interactionTypeMetadata.js +6 -4
- package/lib/common/util/interactionTypePropsHelper.js +8 -7
- package/lib/common/util/interactionTypeRecordForItem.js +2 -1
- package/lib/common/util/jsonify.js +4 -3
- package/lib/common/util/keyboardClickable.js +2 -1
- package/lib/common/util/mathRenderingUtils.js +4 -2
- package/lib/common/util/maxContent.js +3 -2
- package/lib/common/util/noop.js +3 -2
- package/lib/common/util/persistedState.js +2 -1
- package/lib/common/util/printUtils.js +6 -4
- package/lib/common/util/rceChecker.js +3 -2
- package/lib/common/util/renderAlerts.js +3 -2
- package/lib/common/util/serializeEvent.js +3 -2
- package/lib/common/util/sessionStore.js +4 -2
- package/lib/common/util/valMap.js +3 -2
- package/lib/common/util/warningHelpers.js +16 -9
- package/lib/common/util/windowChecks.js +12 -7
- package/lib/common/util/withCachedArguments.js +3 -2
- package/lib/common/util/withDynamoPagination.js +3 -2
- package/lib/common/util/withStateCache.js +2 -1
- package/lib/config.js +5 -3
- package/lib/configureStore.js +2 -1
- package/lib/grading/api/updateResults.js +3 -2
- package/lib/index.js +401 -402
- package/lib/messages/LocalStorageAdapter.js +4 -2
- package/lib/messages/LocalStorageLimits.js +2 -1
- package/lib/messages/StorageExhaustionError.js +3 -2
- package/lib/messages/postMessageService.js +3 -2
- package/lib/messages/subjectHandlers/forwardMessage.js +2 -1
- package/lib/messages/subjectHandlers/lti.capabilities.js +2 -1
- package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +2 -1
- package/lib/messages/subjectHandlers/lti.frameResize.js +2 -1
- package/lib/messages/subjectHandlers/lti.get_data.js +2 -1
- package/lib/messages/subjectHandlers/lti.put_data.js +2 -1
- package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +4 -2
- package/lib/moderating/api/quizSessions.js +1 -1
- package/lib/moderating/components/events/Event.js +4 -2
- package/lib/moderating/components/events/PageBlurredEvent.js +4 -2
- package/lib/moderating/components/events/PageFocusedEvent.js +4 -2
- package/lib/moderating/components/events/RCEEvent.js +4 -2
- package/lib/moderating/components/events/ResponseEvent.js +4 -2
- package/lib/moderating/components/events/SessionStartEvent.js +4 -2
- package/lib/moderating/components/events/styles.js +2 -1
- package/lib/moderating/components/events/theme.js +2 -1
- package/lib/moderating/components/resources/AccommodationsModal/AccommodationsModal.examples.js +3 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +2 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/{}.examples.js +3 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +4 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +2 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/ExtraTimeSettings.examples.js +3 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +4 -2
- package/lib/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +4 -2
- package/lib/moderating/components/resources/AccommodationsModal/index.js +4 -2
- package/lib/moderating/components/resources/ElapsedTime.js +4 -2
- package/lib/moderating/components/resources/ModerateTable/index.js +7 -4
- package/lib/moderating/components/resources/ModerateTable/presenter.js +4 -2
- package/lib/moderating/components/resources/ModerateTable/styles.js +2 -1
- package/lib/moderating/components/resources/ModerateTable/theme.js +2 -1
- package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +3 -2
- package/lib/moderating/components/resources/ModerateTableRow/index.js +3 -2
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +4 -2
- package/lib/moderating/components/resources/ModerateTableRow/story.js +2 -1
- package/lib/moderating/components/resources/ModerateTableRow/styles.js +2 -1
- package/lib/moderating/components/resources/ModerateTableRow/theme.js +2 -1
- package/lib/moderating/components/resources/OutstandingQuizzesModal/OutstandingQuizzesModal.examples.js +3 -2
- package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +5 -3
- package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +4 -2
- package/lib/moderating/components/resources/RetryGradePassbackButton/index.js +2 -1
- package/lib/moderating/components/sidebar/ModerateTray/ModerateTray.examples.js +3 -2
- package/lib/moderating/components/sidebar/ModerateTray/index.js +4 -3
- package/lib/moderating/components/sidebar/ModerateTray/presenter.js +4 -2
- package/lib/moderating/components/sidebar/ResetQuiz/index.js +4 -3
- package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +4 -2
- package/lib/reduxStore.js +5 -4
- package/lib/reporting/api/fetchStudentAnalyses.js +3 -2
- package/lib/reporting/api/getAnalysesExport.js +3 -2
- package/lib/reporting/api/getAnalysesStatus.js +3 -2
- package/lib/reporting/api/getItemAnalyses.js +3 -2
- package/lib/reporting/api/getQuizAnalysis.js +3 -2
- package/lib/reporting/components/Caption/index.js +4 -2
- package/lib/reporting/components/Caption/styles.js +2 -1
- package/lib/reporting/components/Caption/theme.js +2 -1
- package/lib/reporting/components/MetricsListItem/index.js +4 -2
- package/lib/reporting/components/MetricsListItem/styles.js +2 -1
- package/lib/reporting/components/charts/CentileDistribution/CentileDistribution.examples.js +3 -2
- package/lib/reporting/components/charts/CentileDistribution/index.js +2 -1
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +4 -2
- package/lib/reporting/components/charts/CentileDistribution/styles.js +2 -1
- package/lib/reporting/components/charts/CentileDistribution/theme.js +2 -1
- package/lib/reporting/components/charts/Distribution/CentileDistribution.js +4 -2
- package/lib/reporting/components/charts/Distribution/Distribution.js +2 -1
- package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +2 -1
- package/lib/reporting/components/charts/Distribution/index.js +2 -1
- package/lib/reporting/components/charts/Distribution/presenter.js +7 -4
- package/lib/reporting/components/charts/Distribution/styles.js +2 -1
- package/lib/reporting/components/charts/Distribution/theme.js +2 -1
- package/lib/reporting/components/charts/Legend/index.js +4 -2
- package/lib/reporting/components/charts/Legend/styles.js +2 -1
- package/lib/reporting/components/charts/Legend/theme.js +2 -1
- package/lib/reporting/components/charts/QuintileDistribution/QuintileDistribution.examples.js +3 -2
- package/lib/reporting/components/charts/QuintileDistribution/index.js +2 -1
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +4 -2
- package/lib/reporting/components/charts/QuintileDistribution/styles.js +2 -1
- package/lib/reporting/components/charts/QuintileDistribution/theme.js +2 -1
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +3 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +4 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +2 -1
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +2 -1
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +3 -2
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +5 -3
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +4 -2
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +2 -1
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +2 -1
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +4 -2
- package/lib/reporting/components/quizAnalysis/styles.js +2 -1
- package/lib/reporting/components/quizAnalysis/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +6 -6
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +4 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +4 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +4 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +7 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +6 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +4 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportFormats.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +3 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +4 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +4 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +5 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +3 -2
- package/lib/reporting/components/resources/OutcomeAnalysis/index.js +5 -3
- package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +4 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +3 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +5 -3
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +4 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +2 -1
- package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -1
- package/lib/reporting/components/resources/ReportCard/index.js +4 -2
- package/lib/reporting/components/resources/ReportCard/styles.js +2 -1
- package/lib/reporting/components/resources/ReportCard/theme.js +2 -1
- package/lib/reporting/components/resources/ReportList/index.js +4 -2
- package/lib/reporting/components/resources/ReportList/styles.js +2 -1
- package/lib/reporting/components/resources/ReportList/theme.js +2 -1
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/index.js +2 -1
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/styles.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/theme.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/fetchReport.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/fetchReportStatus.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +3 -2
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +3 -2
- package/lib/reporting/components/resources/common/AnalysisUpdateDate/index.js +2 -1
- package/lib/reporting/components/resources/common/ExportButton/index.js +2 -1
- package/lib/reporting/components/resources/common/errorCodes.js +16 -9
- package/lib/reporting/components/resources/common/errorMessages.js +18 -10
- package/lib/reporting/components/resources/common/exportReports.js +3 -2
- package/lib/reporting/components/resources/common/generateReports.js +5 -3
- package/lib/reporting/components/resources/common/propTypes.js +34 -18
- package/lib/reporting/components/resources/common/utils.js +6 -4
- package/lib/taking/api/taking.js +16 -14
- package/lib/taking/learnosity/index.js +1 -1
- package/package.json +64 -63
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.localStorageAdapter = exports.default = void 0;
|
|
8
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
9
9
|
var _LocalStorageLimits = require("./LocalStorageLimits.js");
|
|
10
|
-
var LocalStorageAdapter =
|
|
10
|
+
var LocalStorageAdapter = function LocalStorageAdapter() {
|
|
11
11
|
var _this = this;
|
|
12
12
|
var lsLimits = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : _LocalStorageLimits.localStorageLimits;
|
|
13
13
|
var ls = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : window.localStorage;
|
|
@@ -32,4 +32,6 @@ var LocalStorageAdapter = exports.default = function LocalStorageAdapter() {
|
|
|
32
32
|
this.localStorageLimits = lsLimits;
|
|
33
33
|
this.localStorage = ls;
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
exports.default = LocalStorageAdapter;
|
|
36
|
+
var localStorageAdapter = new LocalStorageAdapter();
|
|
37
|
+
exports.localStorageAdapter = localStorageAdapter;
|
|
@@ -70,4 +70,5 @@ var LocalStorageLimits = function LocalStorageLimits() {
|
|
|
70
70
|
};
|
|
71
71
|
this.limits = new Map();
|
|
72
72
|
};
|
|
73
|
-
var localStorageLimits =
|
|
73
|
+
var localStorageLimits = new LocalStorageLimits();
|
|
74
|
+
exports.localStorageLimits = localStorageLimits;
|
|
@@ -9,7 +9,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
|
9
9
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
10
10
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
11
11
|
var _wrapNativeSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/wrapNativeSuper"));
|
|
12
|
-
var StorageExhaustionError =
|
|
12
|
+
var StorageExhaustionError = /*#__PURE__*/function (_Error) {
|
|
13
13
|
(0, _inherits2.default)(StorageExhaustionError, _Error);
|
|
14
14
|
var _super = (0, _createSuper2.default)(StorageExhaustionError);
|
|
15
15
|
function StorageExhaustionError(message) {
|
|
@@ -20,4 +20,5 @@ var StorageExhaustionError = exports.default = /*#__PURE__*/function (_Error) {
|
|
|
20
20
|
return _this;
|
|
21
21
|
}
|
|
22
22
|
return StorageExhaustionError;
|
|
23
|
-
}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
|
|
23
|
+
}(/*#__PURE__*/(0, _wrapNativeSuper2.default)(Error));
|
|
24
|
+
exports.default = StorageExhaustionError;
|
|
@@ -14,7 +14,7 @@ var _lti3 = _interopRequireDefault(require("./subjectHandlers/lti.put_data"));
|
|
|
14
14
|
var _lti4 = _interopRequireDefault(require("./subjectHandlers/lti.get_data"));
|
|
15
15
|
var _lti5 = _interopRequireDefault(require("./subjectHandlers/lti.fetchWindowSize"));
|
|
16
16
|
var _requestFullWindowLaunch = _interopRequireDefault(require("./subjectHandlers/requestFullWindowLaunch.js"));
|
|
17
|
-
var PostMessageService =
|
|
17
|
+
var PostMessageService = function PostMessageService() {
|
|
18
18
|
var _this = this;
|
|
19
19
|
(0, _classCallCheck2.default)(this, PostMessageService);
|
|
20
20
|
this.BAD_REQUEST_ERROR_CODE = 'bad_request';
|
|
@@ -83,4 +83,5 @@ var PostMessageService = exports.default = function PostMessageService() {
|
|
|
83
83
|
this.handlerMap.set('lti.put_data', _lti3.default);
|
|
84
84
|
this.handlerMap.set('lti.get_data', _lti4.default);
|
|
85
85
|
this.handlerMap.set('requestFullWindowLaunch', _requestFullWindowLaunch.default);
|
|
86
|
-
};
|
|
86
|
+
};
|
|
87
|
+
exports.default = PostMessageService;
|
|
@@ -9,4 +9,5 @@ var forwardMessage = function forwardMessage(event, _) {
|
|
|
9
9
|
window.parent.postMessage(event === null || event === void 0 ? void 0 : event.data, '*');
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
var _default =
|
|
12
|
+
var _default = forwardMessage;
|
|
13
|
+
exports.default = _default;
|
|
@@ -18,4 +18,5 @@ var handleFetchWindowSize = function handleFetchWindowSize(event, postMessageSer
|
|
|
18
18
|
offset: offset
|
|
19
19
|
}, event.source, event.origin);
|
|
20
20
|
};
|
|
21
|
-
var _default =
|
|
21
|
+
var _default = handleFetchWindowSize;
|
|
22
|
+
exports.default = _default;
|
|
@@ -13,4 +13,5 @@ var handleFrameResize = function handleFrameResize(event, postMessageService) {
|
|
|
13
13
|
postMessageService.sendSuccessPostMessageResponse('lti.frameResize', void 0, event.source, event.origin);
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
|
-
var _default =
|
|
16
|
+
var _default = handleFrameResize;
|
|
17
|
+
exports.default = _default;
|
|
@@ -6,7 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = exports.SAME_WINDOW_LAUNCH_TYPE = void 0;
|
|
8
8
|
var _forwardMessage = _interopRequireDefault(require("./forwardMessage.js"));
|
|
9
|
-
var SAME_WINDOW_LAUNCH_TYPE =
|
|
9
|
+
var SAME_WINDOW_LAUNCH_TYPE = 'same_window';
|
|
10
|
+
exports.SAME_WINDOW_LAUNCH_TYPE = SAME_WINDOW_LAUNCH_TYPE;
|
|
10
11
|
var handleRequestFullWindowLaunch = function handleRequestFullWindowLaunch(event) {
|
|
11
12
|
var _event$data, _event$data$data;
|
|
12
13
|
if ((event === null || event === void 0 ? void 0 : (_event$data = event.data) === null || _event$data === void 0 ? void 0 : (_event$data$data = _event$data.data) === null || _event$data$data === void 0 ? void 0 : _event$data$data.launchType) === SAME_WINDOW_LAUNCH_TYPE) {
|
|
@@ -14,4 +15,5 @@ var handleRequestFullWindowLaunch = function handleRequestFullWindowLaunch(event
|
|
|
14
15
|
}
|
|
15
16
|
(0, _forwardMessage.default)(event);
|
|
16
17
|
};
|
|
17
|
-
var _default =
|
|
18
|
+
var _default = handleRequestFullWindowLaunch;
|
|
19
|
+
exports.default = _default;
|
|
@@ -4,8 +4,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.getQuizSession = getQuizSession;
|
|
8
7
|
exports.getQuizSessions = getQuizSessions;
|
|
8
|
+
exports.getQuizSession = getQuizSession;
|
|
9
9
|
exports.reopenQuizSession = reopenQuizSession;
|
|
10
10
|
exports.submitOutstandingQuizSession = submitOutstandingQuizSession;
|
|
11
11
|
var _Fetcher = _interopRequireDefault(require("../../common/util/Fetcher.js"));
|
|
@@ -23,7 +23,7 @@ var _PageBlurredEvent = _interopRequireDefault(require("./PageBlurredEvent.js"))
|
|
|
23
23
|
var _PageFocusedEvent = _interopRequireDefault(require("./PageFocusedEvent.js"));
|
|
24
24
|
var _ref = /*#__PURE__*/_react.default.createElement(_PageBlurredEvent.default, null);
|
|
25
25
|
var _ref2 = /*#__PURE__*/_react.default.createElement(_PageFocusedEvent.default, null);
|
|
26
|
-
var Event =
|
|
26
|
+
var Event = /*#__PURE__*/function (_Component) {
|
|
27
27
|
(0, _inherits2.default)(Event, _Component);
|
|
28
28
|
var _super = (0, _createSuper2.default)(Event);
|
|
29
29
|
function Event() {
|
|
@@ -83,6 +83,7 @@ var Event = exports.Event = /*#__PURE__*/function (_Component) {
|
|
|
83
83
|
Event.displayName = "Event";
|
|
84
84
|
return Event;
|
|
85
85
|
}(_react.Component);
|
|
86
|
+
exports.Event = Event;
|
|
86
87
|
// This ugly hack is necessary because the InstUI v7 Table.Body only renders components with name 'Row'.
|
|
87
88
|
Event.displayName = 'Row';
|
|
88
89
|
Event.propTypes = {
|
|
@@ -93,4 +94,5 @@ Event.defaultProps = {
|
|
|
93
94
|
event: void 0,
|
|
94
95
|
startTime: void 0
|
|
95
96
|
};
|
|
96
|
-
var _default =
|
|
97
|
+
var _default = Event;
|
|
98
|
+
exports.default = _default;
|
|
@@ -13,7 +13,7 @@ var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
15
15
|
var _uiText = require("@instructure/ui-text");
|
|
16
|
-
var PageBlurredEvent =
|
|
16
|
+
var PageBlurredEvent = /*#__PURE__*/function (_Component) {
|
|
17
17
|
(0, _inherits2.default)(PageBlurredEvent, _Component);
|
|
18
18
|
var _super = (0, _createSuper2.default)(PageBlurredEvent);
|
|
19
19
|
function PageBlurredEvent() {
|
|
@@ -29,4 +29,6 @@ var PageBlurredEvent = exports.PageBlurredEvent = /*#__PURE__*/function (_Compon
|
|
|
29
29
|
PageBlurredEvent.displayName = "PageBlurredEvent";
|
|
30
30
|
return PageBlurredEvent;
|
|
31
31
|
}(_react.Component);
|
|
32
|
-
|
|
32
|
+
exports.PageBlurredEvent = PageBlurredEvent;
|
|
33
|
+
var _default = PageBlurredEvent;
|
|
34
|
+
exports.default = _default;
|
|
@@ -13,7 +13,7 @@ var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
15
15
|
var _uiText = require("@instructure/ui-text");
|
|
16
|
-
var PageFocusedEvent =
|
|
16
|
+
var PageFocusedEvent = /*#__PURE__*/function (_Component) {
|
|
17
17
|
(0, _inherits2.default)(PageFocusedEvent, _Component);
|
|
18
18
|
var _super = (0, _createSuper2.default)(PageFocusedEvent);
|
|
19
19
|
function PageFocusedEvent() {
|
|
@@ -29,4 +29,6 @@ var PageFocusedEvent = exports.PageFocusedEvent = /*#__PURE__*/function (_Compon
|
|
|
29
29
|
PageFocusedEvent.displayName = "PageFocusedEvent";
|
|
30
30
|
return PageFocusedEvent;
|
|
31
31
|
}(_react.Component);
|
|
32
|
-
|
|
32
|
+
exports.PageFocusedEvent = PageFocusedEvent;
|
|
33
|
+
var _default = PageFocusedEvent;
|
|
34
|
+
exports.default = _default;
|
|
@@ -13,7 +13,7 @@ var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _reactImmutableProptypes = _interopRequireDefault(require("react-immutable-proptypes"));
|
|
15
15
|
var _uiText = require("@instructure/ui-text");
|
|
16
|
-
var RCEEvent =
|
|
16
|
+
var RCEEvent = /*#__PURE__*/function (_Component) {
|
|
17
17
|
(0, _inherits2.default)(RCEEvent, _Component);
|
|
18
18
|
var _super = (0, _createSuper2.default)(RCEEvent);
|
|
19
19
|
function RCEEvent() {
|
|
@@ -31,7 +31,9 @@ var RCEEvent = exports.RCEEvent = /*#__PURE__*/function (_Component) {
|
|
|
31
31
|
RCEEvent.displayName = "RCEEvent";
|
|
32
32
|
return RCEEvent;
|
|
33
33
|
}(_react.Component);
|
|
34
|
+
exports.RCEEvent = RCEEvent;
|
|
34
35
|
RCEEvent.propTypes = {
|
|
35
36
|
event: _reactImmutableProptypes.default.record.isRequired
|
|
36
37
|
};
|
|
37
|
-
var _default =
|
|
38
|
+
var _default = RCEEvent;
|
|
39
|
+
exports.default = _default;
|
|
@@ -24,7 +24,7 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
24
24
|
var _dec, _class, _ResponseEvent;
|
|
25
25
|
/** @jsx jsx */
|
|
26
26
|
var imgRegex = /<img.*?src=['"](.+)['"]/g;
|
|
27
|
-
var ResponseEvent =
|
|
27
|
+
var ResponseEvent = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ResponseEvent = /*#__PURE__*/function (_Component) {
|
|
28
28
|
(0, _inherits2.default)(ResponseEvent, _Component);
|
|
29
29
|
var _super = (0, _createSuper2.default)(ResponseEvent);
|
|
30
30
|
function ResponseEvent() {
|
|
@@ -109,4 +109,6 @@ var ResponseEvent = exports.ResponseEvent = (_dec = (0, _emotion.withStyle)(_sty
|
|
|
109
109
|
item: _reactImmutableProptypes.default.record.isRequired,
|
|
110
110
|
styles: _propTypes.default.object
|
|
111
111
|
}, _ResponseEvent)) || _class);
|
|
112
|
-
|
|
112
|
+
exports.ResponseEvent = ResponseEvent;
|
|
113
|
+
var _default = ResponseEvent;
|
|
114
|
+
exports.default = _default;
|
|
@@ -16,7 +16,7 @@ var _platform = _interopRequireDefault(require("platform"));
|
|
|
16
16
|
var _uiToggleDetails = require("@instructure/ui-toggle-details");
|
|
17
17
|
var _uiTable = require("@instructure/ui-table");
|
|
18
18
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
19
|
-
var SessionStartEvent =
|
|
19
|
+
var SessionStartEvent = /*#__PURE__*/function (_Component) {
|
|
20
20
|
(0, _inherits2.default)(SessionStartEvent, _Component);
|
|
21
21
|
var _super = (0, _createSuper2.default)(SessionStartEvent);
|
|
22
22
|
function SessionStartEvent() {
|
|
@@ -43,7 +43,9 @@ var SessionStartEvent = exports.SessionStartEvent = /*#__PURE__*/function (_Comp
|
|
|
43
43
|
SessionStartEvent.displayName = "SessionStartEvent";
|
|
44
44
|
return SessionStartEvent;
|
|
45
45
|
}(_react.Component);
|
|
46
|
+
exports.SessionStartEvent = SessionStartEvent;
|
|
46
47
|
SessionStartEvent.propTypes = {
|
|
47
48
|
event: _reactImmutableProptypes.default.record.isRequired
|
|
48
49
|
};
|
|
49
|
-
var _default =
|
|
50
|
+
var _default = SessionStartEvent;
|
|
51
|
+
exports.default = _default;
|
package/lib/moderating/components/resources/AccommodationsModal/AccommodationsModal.examples.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default =
|
|
7
|
+
var _default = {
|
|
8
8
|
getComponentProps: function getComponentProps(props) {
|
|
9
9
|
return {
|
|
10
10
|
closeModal: Function.prototype,
|
|
@@ -19,4 +19,5 @@ var _default = exports.default = {
|
|
|
19
19
|
propValues: {
|
|
20
20
|
studentName: ['Jessica Jones Captain Marvel Black Widow The Wasp Jessica Jones Captain Marvel Black Widow The Wasp', 'Jessica Jones']
|
|
21
21
|
}
|
|
22
|
-
};
|
|
22
|
+
};
|
|
23
|
+
exports.default = _default;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var max = 5;
|
|
8
|
-
var _default =
|
|
8
|
+
var _default = {
|
|
9
9
|
propValues: {
|
|
10
10
|
value: [-7, 0, 2, 2.51, 5, 9, 15.89, 'apple', '23akdf', '-'],
|
|
11
11
|
parsedValue: [-7, 0, 2, 2.51, 5, 9, 15.89, null],
|
|
@@ -24,4 +24,5 @@ var _default = exports.default = {
|
|
|
24
24
|
var valueAsNumber = Number(props.value);
|
|
25
25
|
return valueAsNumber !== props.parsedValue && props.parsedValue !== null || !isNaN(valueAsNumber) && props.parsedValue === null || !isNaN(valueAsNumber) && valueAsNumber >= 0 && valueAsNumber <= max && props.revert;
|
|
26
26
|
}
|
|
27
|
-
};
|
|
27
|
+
};
|
|
28
|
+
exports.default = _default;
|
package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
15
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
16
16
|
var _index = _interopRequireDefault(require("./ExtraAttemptsInput/index.js"));
|
|
17
|
-
var ExtraAttemptSettings =
|
|
17
|
+
var ExtraAttemptSettings = /*#__PURE__*/function (_Component) {
|
|
18
18
|
(0, _inherits2.default)(ExtraAttemptSettings, _Component);
|
|
19
19
|
var _super = (0, _createSuper2.default)(ExtraAttemptSettings);
|
|
20
20
|
function ExtraAttemptSettings() {
|
|
@@ -88,6 +88,7 @@ var ExtraAttemptSettings = exports.ExtraAttemptSettings = /*#__PURE__*/function
|
|
|
88
88
|
ExtraAttemptSettings.displayName = "ExtraAttemptSettings";
|
|
89
89
|
return ExtraAttemptSettings;
|
|
90
90
|
}(_react.Component);
|
|
91
|
+
exports.ExtraAttemptSettings = ExtraAttemptSettings;
|
|
91
92
|
ExtraAttemptSettings.propTypes = {
|
|
92
93
|
onChange: _propTypes.default.func.isRequired,
|
|
93
94
|
extraAttempts: _propTypes.default.number.isRequired,
|
|
@@ -96,4 +97,5 @@ ExtraAttemptSettings.propTypes = {
|
|
|
96
97
|
ExtraAttemptSettings.defaultProps = {
|
|
97
98
|
maxExtraAttempts: 999
|
|
98
99
|
};
|
|
99
|
-
var _default =
|
|
100
|
+
var _default = ExtraAttemptSettings;
|
|
101
|
+
exports.default = _default;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default =
|
|
7
|
+
var _default = {
|
|
8
8
|
propValues: {
|
|
9
9
|
timerSettings: [{
|
|
10
10
|
disableTimer: false,
|
|
@@ -52,4 +52,5 @@ var _default = exports.default = {
|
|
|
52
52
|
onChange: Function.prototype
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
};
|
|
55
|
+
};
|
|
56
|
+
exports.default = _default;
|
|
@@ -31,7 +31,7 @@ var getTimeAdjustmentType = function getTimeAdjustmentType(timerSettings) {
|
|
|
31
31
|
}
|
|
32
32
|
return 'none';
|
|
33
33
|
};
|
|
34
|
-
var ExtraTimeSettings =
|
|
34
|
+
var ExtraTimeSettings = /*#__PURE__*/function (_Component) {
|
|
35
35
|
(0, _inherits2.default)(ExtraTimeSettings, _Component);
|
|
36
36
|
var _super = (0, _createSuper2.default)(ExtraTimeSettings);
|
|
37
37
|
function ExtraTimeSettings() {
|
|
@@ -114,6 +114,7 @@ var ExtraTimeSettings = exports.ExtraTimeSettings = /*#__PURE__*/function (_Comp
|
|
|
114
114
|
ExtraTimeSettings.displayName = "ExtraTimeSettings";
|
|
115
115
|
return ExtraTimeSettings;
|
|
116
116
|
}(_react.Component);
|
|
117
|
+
exports.ExtraTimeSettings = ExtraTimeSettings;
|
|
117
118
|
ExtraTimeSettings.propTypes = {
|
|
118
119
|
timerSettings: _propTypes.default.shape({
|
|
119
120
|
disableTimer: _propTypes.default.bool,
|
|
@@ -133,4 +134,5 @@ ExtraTimeSettings.defaultProps = {
|
|
|
133
134
|
maxMultiplier: 99,
|
|
134
135
|
minMultiplier: 1
|
|
135
136
|
};
|
|
136
|
-
var _default =
|
|
137
|
+
var _default = ExtraTimeSettings;
|
|
138
|
+
exports.default = _default;
|
package/lib/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var _uiIcons = require("@instructure/ui-icons");
|
|
|
19
19
|
var _uiTooltip = require("@instructure/ui-tooltip");
|
|
20
20
|
var _uiView = require("@instructure/ui-view");
|
|
21
21
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
22
|
-
var ReduceAnswerChoicesSettings =
|
|
22
|
+
var ReduceAnswerChoicesSettings = /*#__PURE__*/function (_Component) {
|
|
23
23
|
(0, _inherits2.default)(ReduceAnswerChoicesSettings, _Component);
|
|
24
24
|
var _super = (0, _createSuper2.default)(ReduceAnswerChoicesSettings);
|
|
25
25
|
function ReduceAnswerChoicesSettings() {
|
|
@@ -72,6 +72,7 @@ var ReduceAnswerChoicesSettings = exports.ReduceAnswerChoicesSettings = /*#__PUR
|
|
|
72
72
|
ReduceAnswerChoicesSettings.displayName = "ReduceAnswerChoicesSettings";
|
|
73
73
|
return ReduceAnswerChoicesSettings;
|
|
74
74
|
}(_react.Component);
|
|
75
|
+
exports.ReduceAnswerChoicesSettings = ReduceAnswerChoicesSettings;
|
|
75
76
|
ReduceAnswerChoicesSettings.propTypes = {
|
|
76
77
|
courseAccommodationSettings: _propTypes.default.shape({
|
|
77
78
|
reduceChoicesEnabled: _propTypes.default.bool
|
|
@@ -83,4 +84,5 @@ ReduceAnswerChoicesSettings.defaultProps = {
|
|
|
83
84
|
reduceChoicesEnabled: false
|
|
84
85
|
}
|
|
85
86
|
};
|
|
86
|
-
var _default =
|
|
87
|
+
var _default = ReduceAnswerChoicesSettings;
|
|
88
|
+
exports.default = _default;
|
|
@@ -23,7 +23,7 @@ var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/f
|
|
|
23
23
|
var _uiA11yContent = require("@instructure/ui-a11y-content");
|
|
24
24
|
var _featureCheck = require("../../../../common/util/featureCheck.js");
|
|
25
25
|
var _index = require("../../../../common/components/shared/IfFeature/index.js");
|
|
26
|
-
var AccommodationModal =
|
|
26
|
+
var AccommodationModal = /*#__PURE__*/function (_Component) {
|
|
27
27
|
(0, _inherits2.default)(AccommodationModal, _Component);
|
|
28
28
|
var _super = (0, _createSuper2.default)(AccommodationModal);
|
|
29
29
|
function AccommodationModal() {
|
|
@@ -137,6 +137,7 @@ var AccommodationModal = exports.AccommodationModal = /*#__PURE__*/function (_Co
|
|
|
137
137
|
AccommodationModal.displayName = "AccommodationModal";
|
|
138
138
|
return AccommodationModal;
|
|
139
139
|
}(_react.Component);
|
|
140
|
+
exports.AccommodationModal = AccommodationModal;
|
|
140
141
|
AccommodationModal.propTypes = {
|
|
141
142
|
closeModal: _propTypes.default.func.isRequired,
|
|
142
143
|
open: _propTypes.default.bool.isRequired,
|
|
@@ -156,4 +157,5 @@ AccommodationModal.defaultProps = {
|
|
|
156
157
|
onDismiss: null,
|
|
157
158
|
studentName: null
|
|
158
159
|
};
|
|
159
|
-
var _default =
|
|
160
|
+
var _default = AccommodationModal;
|
|
161
|
+
exports.default = _default;
|
|
@@ -14,7 +14,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
15
15
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
16
16
|
var _quizCommon = require("@instructure/quiz-common");
|
|
17
|
-
var ElapsedTime =
|
|
17
|
+
var ElapsedTime = /*#__PURE__*/function (_withI18nSupport) {
|
|
18
18
|
(0, _inherits2.default)(ElapsedTime, _withI18nSupport);
|
|
19
19
|
var _super = (0, _createSuper2.default)(ElapsedTime);
|
|
20
20
|
function ElapsedTime() {
|
|
@@ -51,6 +51,7 @@ var ElapsedTime = exports.ElapsedTime = /*#__PURE__*/function (_withI18nSupport)
|
|
|
51
51
|
ElapsedTime.displayName = "ElapsedTime";
|
|
52
52
|
return ElapsedTime;
|
|
53
53
|
}((0, _quizCommon.withI18nSupport)(_react.Component));
|
|
54
|
+
exports.ElapsedTime = ElapsedTime;
|
|
54
55
|
ElapsedTime.propTypes = {
|
|
55
56
|
eventTime: _propTypes.default.instanceOf(Date).isRequired,
|
|
56
57
|
startTime: _propTypes.default.instanceOf(Date).isRequired,
|
|
@@ -62,4 +63,5 @@ ElapsedTime.defaultProps = {
|
|
|
62
63
|
ElapsedTime.contextTypes = {
|
|
63
64
|
locale: _propTypes.default.string
|
|
64
65
|
};
|
|
65
|
-
var _default =
|
|
66
|
+
var _default = ElapsedTime;
|
|
67
|
+
exports.default = _default;
|
|
@@ -4,8 +4,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.mapDispatchToProps = exports.default = exports.ModerateTable = void 0;
|
|
8
7
|
exports.mapStateToProps = mapStateToProps;
|
|
8
|
+
exports.default = exports.ModerateTable = exports.mapDispatchToProps = void 0;
|
|
9
9
|
var _reactRedux = require("../../../../common/react-redux.js");
|
|
10
10
|
var _quizCommon = require("@instructure/quiz-common");
|
|
11
11
|
var _quizSessions = require("../../../api/quizSessions.js");
|
|
@@ -38,11 +38,14 @@ function mapStateToProps(state, ownProps) {
|
|
|
38
38
|
sessionTimeLimitInSeconds: state.getIn(['quizzes', ownProps.quizId, 'sessionTimeLimitInSeconds'])
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
var mapDispatchToProps =
|
|
41
|
+
var mapDispatchToProps = {
|
|
42
42
|
getQuizSessions: _quizSessions.getQuizSessions,
|
|
43
43
|
openTray: _moderation.openTray,
|
|
44
44
|
openModal: _modal.openModal,
|
|
45
45
|
addSuccess: _alerts.addSuccess
|
|
46
46
|
};
|
|
47
|
-
|
|
48
|
-
var
|
|
47
|
+
exports.mapDispatchToProps = mapDispatchToProps;
|
|
48
|
+
var ModerateTable = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.default);
|
|
49
|
+
exports.ModerateTable = ModerateTable;
|
|
50
|
+
var _default = ModerateTable;
|
|
51
|
+
exports.default = _default;
|
|
@@ -39,7 +39,7 @@ var _ref2 = (0, _emotion.jsx)(_uiFlex.Flex.Item, null, (0, _emotion.jsx)(_uiIcon
|
|
|
39
39
|
var _ref4 = (0, _emotion.jsx)(_uiIcons.IconConfigureLine, null);
|
|
40
40
|
var _ref5 = (0, _emotion.jsx)(_Spinner.default, null);
|
|
41
41
|
var _ref6 = (0, _emotion.jsx)(_index5.default, null);
|
|
42
|
-
var ModerateTable =
|
|
42
|
+
var ModerateTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ModerateTable = /*#__PURE__*/function (_Component) {
|
|
43
43
|
(0, _inherits2.default)(ModerateTable, _Component);
|
|
44
44
|
var _super = (0, _createSuper2.default)(ModerateTable);
|
|
45
45
|
function ModerateTable() {
|
|
@@ -404,4 +404,6 @@ var ModerateTable = exports.ModerateTable = (_dec = (0, _emotion.withStyle)(_sty
|
|
|
404
404
|
quizSessionIdsAndUsers: [],
|
|
405
405
|
afterManualSubmit: Function.prototype
|
|
406
406
|
}, _ModerateTable)) || _class);
|
|
407
|
-
|
|
407
|
+
exports.ModerateTable = ModerateTable;
|
|
408
|
+
var _default = ModerateTable;
|
|
409
|
+
exports.default = _default;
|
|
@@ -26,7 +26,7 @@ var quizSessions = (0, _immutable.List)([errorSession, new _QuizSession.default(
|
|
|
26
26
|
})), new _QuizSession.default((0, _immutable.fromJS)({
|
|
27
27
|
id: '3'
|
|
28
28
|
}))]);
|
|
29
|
-
var _default =
|
|
29
|
+
var _default = {
|
|
30
30
|
propValues: {
|
|
31
31
|
onAccommodationsClick: [null, Function.prototype],
|
|
32
32
|
shouldRenderModerateButton: [true, false],
|
|
@@ -75,4 +75,5 @@ var _default = exports.default = {
|
|
|
75
75
|
quizSessions: quizSessions
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
};
|
|
78
|
+
};
|
|
79
|
+
exports.default = _default;
|
|
@@ -4,8 +4,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.default = void 0;
|
|
8
7
|
exports.mapStateToProps = mapStateToProps;
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
var _reactRedux = require("../../../../common/react-redux.js");
|
|
10
10
|
var _presenter = _interopRequireDefault(require("./presenter.js"));
|
|
11
11
|
var _quizSessions = require("../../../../common/selectors/quizSessions.js");
|
|
@@ -21,4 +21,5 @@ function mapStateToProps(state, ownProps) {
|
|
|
21
21
|
var connectedModerateTableRow = (0, _reactRedux.connect)(mapStateToProps)(_presenter.default);
|
|
22
22
|
// This ugly hack is necessary because the InstUI v7 Table.Body only renders components with name 'Row'.
|
|
23
23
|
connectedModerateTableRow.displayName = 'Row';
|
|
24
|
-
var _default =
|
|
24
|
+
var _default = connectedModerateTableRow;
|
|
25
|
+
exports.default = _default;
|
|
@@ -32,7 +32,7 @@ var _dec, _class, _ModerateTableRow;
|
|
|
32
32
|
/* eslint "array-callback-return": "warn" */
|
|
33
33
|
var DASHES = '---';
|
|
34
34
|
var _ref = (0, _emotion.jsx)(_uiIcons.IconEditLine, null);
|
|
35
|
-
var ModerateTableRow =
|
|
35
|
+
var ModerateTableRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ModerateTableRow = /*#__PURE__*/function (_withI18nSupport) {
|
|
36
36
|
(0, _inherits2.default)(ModerateTableRow, _withI18nSupport);
|
|
37
37
|
var _super = (0, _createSuper2.default)(ModerateTableRow);
|
|
38
38
|
function ModerateTableRow() {
|
|
@@ -350,4 +350,6 @@ var ModerateTableRow = exports.ModerateTableRow = (_dec = (0, _emotion.withStyle
|
|
|
350
350
|
focusTarget: null,
|
|
351
351
|
onAccommodationsClick: null
|
|
352
352
|
}, _ModerateTableRow)) || _class);
|
|
353
|
-
|
|
353
|
+
exports.ModerateTableRow = ModerateTableRow;
|
|
354
|
+
var _default = ModerateTableRow;
|
|
355
|
+
exports.default = _default;
|
|
@@ -18,4 +18,5 @@ var render = function render(props) {
|
|
|
18
18
|
}, /*#__PURE__*/_react.default.createElement(_uiTable.Table.Body, null, /*#__PURE__*/_react.default.createElement(_presenter.default, props)));
|
|
19
19
|
};
|
|
20
20
|
render.displayName = _presenter.default.displayName;
|
|
21
|
-
var _default =
|
|
21
|
+
var _default = render;
|
|
22
|
+
exports.default = _default;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _default =
|
|
7
|
+
var _default = {
|
|
8
8
|
propValues: {
|
|
9
9
|
quizSessionIdsAndUsers: [[{
|
|
10
10
|
id: '12',
|
|
@@ -82,4 +82,5 @@ var _default = exports.default = {
|
|
|
82
82
|
onDismiss: Function.prototype
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
};
|
|
85
|
+
};
|
|
86
|
+
exports.default = _default;
|