@instructure/quiz-core 20.31.0 → 20.31.1-snapshot.2
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 +4724 -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
|
@@ -39,7 +39,7 @@ var standardItemAnalysis = new _ItemAnalysis.default((0, _immutable.fromJS)({
|
|
|
39
39
|
quintile: [1, 2, 3, 4, 5]
|
|
40
40
|
}
|
|
41
41
|
}));
|
|
42
|
-
var _default = {
|
|
42
|
+
var _default = exports.default = {
|
|
43
43
|
propValues: {
|
|
44
44
|
animateDelay: [0],
|
|
45
45
|
animateDuration: [0],
|
|
@@ -52,5 +52,4 @@ var _default = {
|
|
|
52
52
|
outcomesToken: [''],
|
|
53
53
|
screenreaderNotification: [Function.prototype]
|
|
54
54
|
}
|
|
55
|
-
};
|
|
56
|
-
exports.default = _default;
|
|
55
|
+
};
|
|
@@ -4,16 +4,14 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
7
|
+
exports.mapDispatchToProps = exports.default = void 0;
|
|
8
8
|
var _redux = require("redux");
|
|
9
9
|
var _reactRedux = require("../../../../common/react-redux.js");
|
|
10
10
|
var _alerts = require("../../../../common/actions/alerts.js");
|
|
11
11
|
var _presenter = _interopRequireDefault(require("./presenter.js"));
|
|
12
|
-
var mapDispatchToProps = function mapDispatchToProps(dispatch) {
|
|
12
|
+
var mapDispatchToProps = exports.mapDispatchToProps = function mapDispatchToProps(dispatch) {
|
|
13
13
|
return {
|
|
14
14
|
screenreaderNotification: (0, _redux.bindActionCreators)(_alerts.screenreaderNotification, dispatch)
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
exports.
|
|
18
|
-
var _default = (0, _reactRedux.connect)(null, mapDispatchToProps)(_presenter.default);
|
|
19
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = (0, _reactRedux.connect)(null, mapDispatchToProps)(_presenter.default);
|
|
@@ -34,7 +34,7 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
34
34
|
var _dec, _class, _ItemAnalysisRow;
|
|
35
35
|
/** @jsx jsx */
|
|
36
36
|
var _ref2 = (0, _emotion.jsx)(_Spinner.default, null);
|
|
37
|
-
var ItemAnalysisRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ItemAnalysisRow = /*#__PURE__*/function (_withI18nSupport) {
|
|
37
|
+
var ItemAnalysisRow = exports.ItemAnalysisRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ItemAnalysisRow = /*#__PURE__*/function (_withI18nSupport) {
|
|
38
38
|
(0, _inherits2.default)(ItemAnalysisRow, _withI18nSupport);
|
|
39
39
|
var _super = (0, _createSuper2.default)(ItemAnalysisRow);
|
|
40
40
|
function ItemAnalysisRow() {
|
|
@@ -269,6 +269,4 @@ var ItemAnalysisRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.de
|
|
|
269
269
|
}, _ItemAnalysisRow.contextTypes = {
|
|
270
270
|
locale: _propTypes.default.string
|
|
271
271
|
}, _ItemAnalysisRow)) || _class);
|
|
272
|
-
exports.
|
|
273
|
-
var _default = ItemAnalysisRow;
|
|
274
|
-
exports.default = _default;
|
|
272
|
+
var _default = exports.default = ItemAnalysisRow;
|
|
@@ -29,5 +29,4 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
29
29
|
phoneBreakPoint: "max-width: ".concat(breakpoints.medium)
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
var _default = generateComponentTheme;
|
|
33
|
-
exports.default = _default;
|
|
32
|
+
var _default = exports.default = generateComponentTheme;
|
|
@@ -29,7 +29,7 @@ var _dec, _class, _QuizAnalysisOverview;
|
|
|
29
29
|
/** @jsx jsx */
|
|
30
30
|
var _ref = (0, _emotion.jsx)("br", null);
|
|
31
31
|
var _ref2 = (0, _emotion.jsx)(_Spinner.default, null);
|
|
32
|
-
var QuizAnalysisOverview = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_QuizAnalysisOverview = /*#__PURE__*/function (_Component) {
|
|
32
|
+
var QuizAnalysisOverview = exports.QuizAnalysisOverview = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_QuizAnalysisOverview = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2.default)(QuizAnalysisOverview, _Component);
|
|
34
34
|
var _super = (0, _createSuper2.default)(QuizAnalysisOverview);
|
|
35
35
|
function QuizAnalysisOverview() {
|
|
@@ -141,6 +141,4 @@ var QuizAnalysisOverview = (_dec = (0, _emotion.withStyle)(_styles.default, _the
|
|
|
141
141
|
quizTitle: '',
|
|
142
142
|
children: []
|
|
143
143
|
}, _QuizAnalysisOverview)) || _class);
|
|
144
|
-
exports.
|
|
145
|
-
var _default = QuizAnalysisOverview;
|
|
146
|
-
exports.default = _default;
|
|
144
|
+
var _default = exports.default = QuizAnalysisOverview;
|
|
@@ -17,5 +17,4 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
17
17
|
tabletBreakPoint: "max-width: ".concat(breakpoints.large)
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
|
-
var _default = generateComponentTheme;
|
|
21
|
-
exports.default = _default;
|
|
20
|
+
var _default = exports.default = generateComponentTheme;
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js
CHANGED
|
@@ -17,7 +17,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
17
17
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
18
18
|
var _dec, _class, _AnalysisMetric;
|
|
19
19
|
/** @jsx jsx */
|
|
20
|
-
var AnalysisMetric = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = (_AnalysisMetric = /*#__PURE__*/function (_Component) {
|
|
20
|
+
var AnalysisMetric = exports.AnalysisMetric = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = (_AnalysisMetric = /*#__PURE__*/function (_Component) {
|
|
21
21
|
(0, _inherits2.default)(AnalysisMetric, _Component);
|
|
22
22
|
var _super = (0, _createSuper2.default)(AnalysisMetric);
|
|
23
23
|
function AnalysisMetric() {
|
|
@@ -61,5 +61,4 @@ var AnalysisMetric = (_dec = (0, _emotion.withStyle)(_styles.default, null), _de
|
|
|
61
61
|
}, _AnalysisMetric.defaultProps = {
|
|
62
62
|
value: void 0,
|
|
63
63
|
suffix: ''
|
|
64
|
-
}, _AnalysisMetric)) || _class);
|
|
65
|
-
exports.AnalysisMetric = AnalysisMetric;
|
|
64
|
+
}, _AnalysisMetric)) || _class);
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js
CHANGED
|
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _presenter = require("./presenter.js");
|
|
8
|
-
var _default = _presenter.AnalysisPopoverMetric;
|
|
9
|
-
exports.default = _default;
|
|
8
|
+
var _default = exports.default = _presenter.AnalysisPopoverMetric;
|
package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js
CHANGED
|
@@ -18,7 +18,7 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
18
18
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
19
|
var _dec, _class, _AnalysisPopoverMetric;
|
|
20
20
|
/** @jsx jsx */
|
|
21
|
-
var AnalysisPopoverMetric = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = (_AnalysisPopoverMetric = /*#__PURE__*/function (_Component) {
|
|
21
|
+
var AnalysisPopoverMetric = exports.AnalysisPopoverMetric = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = (_AnalysisPopoverMetric = /*#__PURE__*/function (_Component) {
|
|
22
22
|
(0, _inherits2.default)(AnalysisPopoverMetric, _Component);
|
|
23
23
|
var _super = (0, _createSuper2.default)(AnalysisPopoverMetric);
|
|
24
24
|
function AnalysisPopoverMetric() {
|
|
@@ -70,5 +70,4 @@ var AnalysisPopoverMetric = (_dec = (0, _emotion.withStyle)(_styles.default, nul
|
|
|
70
70
|
styles: _propTypes.default.object
|
|
71
71
|
}, _AnalysisPopoverMetric.defaultProps = {
|
|
72
72
|
value: void 0
|
|
73
|
-
}, _AnalysisPopoverMetric)) || _class);
|
|
74
|
-
exports.AnalysisPopoverMetric = AnalysisPopoverMetric;
|
|
73
|
+
}, _AnalysisPopoverMetric)) || _class);
|
|
@@ -15,7 +15,7 @@ var _propTypes2 = require("../../../common/propTypes.js");
|
|
|
15
15
|
var _presenter = require("../shared/AfsTableWrapper/presenter.js");
|
|
16
16
|
var _presenter2 = require("../shared/AfsPartsContainer/presenter.js");
|
|
17
17
|
var _index = _interopRequireDefault(require("../shared/AggregationTable/index.js"));
|
|
18
|
-
var AggregationType = /*#__PURE__*/function (_Component) {
|
|
18
|
+
var AggregationType = exports.AggregationType = /*#__PURE__*/function (_Component) {
|
|
19
19
|
(0, _inherits2.default)(AggregationType, _Component);
|
|
20
20
|
var _super = (0, _createSuper2.default)(AggregationType);
|
|
21
21
|
function AggregationType() {
|
|
@@ -40,7 +40,6 @@ var AggregationType = /*#__PURE__*/function (_Component) {
|
|
|
40
40
|
}
|
|
41
41
|
return AggregationType;
|
|
42
42
|
}(_react.Component);
|
|
43
|
-
exports.AggregationType = AggregationType;
|
|
44
43
|
AggregationType.propTypes = {
|
|
45
44
|
itemId: _propTypes.default.number.isRequired,
|
|
46
45
|
answerSummary: _propTypes2.onlyAggregatePropType
|
|
@@ -16,7 +16,7 @@ var _propTypes2 = require("../../../common/propTypes.js");
|
|
|
16
16
|
var _index2 = _interopRequireDefault(require("../shared/AggregationTable/index.js"));
|
|
17
17
|
var _presenter = require("../shared/AfsPartsContainer/presenter.js");
|
|
18
18
|
var _index3 = _interopRequireDefault(require("../shared/AfsTableWrapper/index.js"));
|
|
19
|
-
var ChoiceType = /*#__PURE__*/function (_Component) {
|
|
19
|
+
var ChoiceType = exports.ChoiceType = /*#__PURE__*/function (_Component) {
|
|
20
20
|
(0, _inherits2.default)(ChoiceType, _Component);
|
|
21
21
|
var _super = (0, _createSuper2.default)(ChoiceType);
|
|
22
22
|
function ChoiceType() {
|
|
@@ -45,7 +45,6 @@ var ChoiceType = /*#__PURE__*/function (_Component) {
|
|
|
45
45
|
}
|
|
46
46
|
return ChoiceType;
|
|
47
47
|
}(_react.Component);
|
|
48
|
-
exports.ChoiceType = ChoiceType;
|
|
49
48
|
ChoiceType.propTypes = {
|
|
50
49
|
itemId: _propTypes.default.number,
|
|
51
50
|
answerSummary: _propTypes2.choiceTypeAnswerSummaryPropType
|
|
@@ -23,7 +23,7 @@ var _dec, _class, _ChoiceTypeTableRow;
|
|
|
23
23
|
/** @jsx jsx */
|
|
24
24
|
var _ref = (0, _emotion.jsx)(_uiIcons.IconCheckSolid, null);
|
|
25
25
|
var _ref2 = (0, _emotion.jsx)(_uiIcons.IconXSolid, null);
|
|
26
|
-
var ChoiceTypeTableRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ChoiceTypeTableRow = /*#__PURE__*/function (_Component) {
|
|
26
|
+
var ChoiceTypeTableRow = exports.ChoiceTypeTableRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ChoiceTypeTableRow = /*#__PURE__*/function (_Component) {
|
|
27
27
|
(0, _inherits2.default)(ChoiceTypeTableRow, _Component);
|
|
28
28
|
var _super = (0, _createSuper2.default)(ChoiceTypeTableRow);
|
|
29
29
|
function ChoiceTypeTableRow() {
|
|
@@ -105,5 +105,4 @@ var ChoiceTypeTableRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme
|
|
|
105
105
|
choiceIndex: _propTypes.default.number.isRequired,
|
|
106
106
|
styles: _propTypes.default.object,
|
|
107
107
|
makeStyles: _propTypes.default.func
|
|
108
|
-
}, _ChoiceTypeTableRow)) || _class);
|
|
109
|
-
exports.ChoiceTypeTableRow = ChoiceTypeTableRow;
|
|
108
|
+
}, _ChoiceTypeTableRow)) || _class);
|
|
@@ -22,7 +22,7 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
22
22
|
var _index2 = _interopRequireDefault(require("../shared/AfsTableWrapper/index.js"));
|
|
23
23
|
var _dec, _class, _LegacyChoiceType;
|
|
24
24
|
/** @jsx jsx */
|
|
25
|
-
var LegacyChoiceType = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_LegacyChoiceType = /*#__PURE__*/function (_Component) {
|
|
25
|
+
var LegacyChoiceType = exports.LegacyChoiceType = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_LegacyChoiceType = /*#__PURE__*/function (_Component) {
|
|
26
26
|
(0, _inherits2.default)(LegacyChoiceType, _Component);
|
|
27
27
|
var _super = (0, _createSuper2.default)(LegacyChoiceType);
|
|
28
28
|
function LegacyChoiceType() {
|
|
@@ -93,5 +93,4 @@ var LegacyChoiceType = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.d
|
|
|
93
93
|
itemId: _propTypes.default.number.isRequired,
|
|
94
94
|
answerSummary: _propTypes2.choiceTypeAnswerSummaryPropType.isRequired,
|
|
95
95
|
styles: _propTypes.default.object
|
|
96
|
-
}, _LegacyChoiceType)) || _class);
|
|
97
|
-
exports.LegacyChoiceType = LegacyChoiceType;
|
|
96
|
+
}, _LegacyChoiceType)) || _class);
|
|
@@ -19,7 +19,7 @@ var _presenter = require("../shared/AfsPartsContainer/presenter.js");
|
|
|
19
19
|
var _index2 = _interopRequireDefault(require("./MatchingTypeTable/index.js"));
|
|
20
20
|
var _index3 = _interopRequireDefault(require("../shared/AggregationTable/index.js"));
|
|
21
21
|
var distractorKey = 'distractor';
|
|
22
|
-
var CategorizationType = /*#__PURE__*/function (_Component) {
|
|
22
|
+
var CategorizationType = exports.CategorizationType = /*#__PURE__*/function (_Component) {
|
|
23
23
|
(0, _inherits2.default)(CategorizationType, _Component);
|
|
24
24
|
var _super = (0, _createSuper2.default)(CategorizationType);
|
|
25
25
|
function CategorizationType() {
|
|
@@ -66,7 +66,6 @@ var CategorizationType = /*#__PURE__*/function (_Component) {
|
|
|
66
66
|
}
|
|
67
67
|
return CategorizationType;
|
|
68
68
|
}(_react.Component);
|
|
69
|
-
exports.CategorizationType = CategorizationType;
|
|
70
69
|
CategorizationType.propTypes = {
|
|
71
70
|
itemId: _propTypes.default.number.isRequired,
|
|
72
71
|
answerSummary: _propTypes2.matchingTypeAnswerSummaryPropType.isRequired
|
|
@@ -17,7 +17,7 @@ var _presenter = require("../shared/AfsPartsContainer/presenter.js");
|
|
|
17
17
|
var _index2 = _interopRequireDefault(require("./MatchingTypeTable/index.js"));
|
|
18
18
|
var _index3 = _interopRequireDefault(require("../shared/AggregationTable/index.js"));
|
|
19
19
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
20
|
-
var MatchingType = /*#__PURE__*/function (_Component) {
|
|
20
|
+
var MatchingType = exports.MatchingType = /*#__PURE__*/function (_Component) {
|
|
21
21
|
(0, _inherits2.default)(MatchingType, _Component);
|
|
22
22
|
var _super = (0, _createSuper2.default)(MatchingType);
|
|
23
23
|
function MatchingType() {
|
|
@@ -47,7 +47,6 @@ var MatchingType = /*#__PURE__*/function (_Component) {
|
|
|
47
47
|
}
|
|
48
48
|
return MatchingType;
|
|
49
49
|
}(_react.Component);
|
|
50
|
-
exports.MatchingType = MatchingType;
|
|
51
50
|
MatchingType.propTypes = {
|
|
52
51
|
itemId: _propTypes.default.number.isRequired,
|
|
53
52
|
answerSummary: _propTypes2.matchingTypeAnswerSummaryPropType.isRequired
|
|
@@ -29,7 +29,7 @@ var _ref2 = (0, _emotion.jsx)(_uiFlex.Flex.Item, {
|
|
|
29
29
|
width: "46px",
|
|
30
30
|
textAlign: "center"
|
|
31
31
|
});
|
|
32
|
-
var MatchingTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_MatchingTypeTable = /*#__PURE__*/function (_Component) {
|
|
32
|
+
var MatchingTypeTable = exports.MatchingTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_MatchingTypeTable = /*#__PURE__*/function (_Component) {
|
|
33
33
|
(0, _inherits2.default)(MatchingTypeTable, _Component);
|
|
34
34
|
var _super = (0, _createSuper2.default)(MatchingTypeTable);
|
|
35
35
|
function MatchingTypeTable() {
|
|
@@ -183,5 +183,4 @@ var MatchingTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
|
|
|
183
183
|
firstColumnName: _propTypes.default.string.isRequired,
|
|
184
184
|
styles: _propTypes.default.object,
|
|
185
185
|
makeStyles: _propTypes.default.func
|
|
186
|
-
}, _MatchingTypeTable)) || _class);
|
|
187
|
-
exports.MatchingTypeTable = MatchingTypeTable;
|
|
186
|
+
}, _MatchingTypeTable)) || _class);
|
|
@@ -18,7 +18,7 @@ var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/f
|
|
|
18
18
|
var _presenter = require("../shared/AfsPartsContainer/presenter.js");
|
|
19
19
|
var _index2 = _interopRequireDefault(require("../shared/AggregationTable/index.js"));
|
|
20
20
|
var _index3 = _interopRequireDefault(require("./MatchingTypeTable/index.js"));
|
|
21
|
-
var OrderingType = /*#__PURE__*/function (_Component) {
|
|
21
|
+
var OrderingType = exports.OrderingType = /*#__PURE__*/function (_Component) {
|
|
22
22
|
(0, _inherits2.default)(OrderingType, _Component);
|
|
23
23
|
var _super = (0, _createSuper2.default)(OrderingType);
|
|
24
24
|
function OrderingType() {
|
|
@@ -66,7 +66,6 @@ var OrderingType = /*#__PURE__*/function (_Component) {
|
|
|
66
66
|
}
|
|
67
67
|
return OrderingType;
|
|
68
68
|
}(_react.Component);
|
|
69
|
-
exports.OrderingType = OrderingType;
|
|
70
69
|
OrderingType.propTypes = {
|
|
71
70
|
itemId: _propTypes.default.number.isRequired,
|
|
72
71
|
answerSummary: _propTypes2.matchingTypeAnswerSummaryPropType.isRequired
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "CategorizationType", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return
|
|
9
|
+
return _CategorizationType.CategorizationType;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
Object.defineProperty(exports, "
|
|
12
|
+
Object.defineProperty(exports, "MatchingType", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function get() {
|
|
15
|
-
return
|
|
15
|
+
return _MatchingType.MatchingType;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
Object.defineProperty(exports, "
|
|
18
|
+
Object.defineProperty(exports, "OrderingType", {
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function get() {
|
|
21
|
-
return
|
|
21
|
+
return _OrderingType.OrderingType;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
var _MatchingType = require("./MatchingType.js");
|
|
@@ -16,7 +16,7 @@ var _uiFlex = require("@instructure/ui-flex");
|
|
|
16
16
|
var _index = _interopRequireDefault(require("../../shared/ChoiceTypeTable/index.js"));
|
|
17
17
|
var _uiText = require("@instructure/ui-text");
|
|
18
18
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
19
|
-
var ChoiceTypeWithInfo = /*#__PURE__*/function (_Component) {
|
|
19
|
+
var ChoiceTypeWithInfo = exports.ChoiceTypeWithInfo = /*#__PURE__*/function (_Component) {
|
|
20
20
|
(0, _inherits2.default)(ChoiceTypeWithInfo, _Component);
|
|
21
21
|
var _super = (0, _createSuper2.default)(ChoiceTypeWithInfo);
|
|
22
22
|
function ChoiceTypeWithInfo() {
|
|
@@ -79,7 +79,6 @@ var ChoiceTypeWithInfo = /*#__PURE__*/function (_Component) {
|
|
|
79
79
|
}
|
|
80
80
|
return ChoiceTypeWithInfo;
|
|
81
81
|
}(_react.Component);
|
|
82
|
-
exports.ChoiceTypeWithInfo = ChoiceTypeWithInfo;
|
|
83
82
|
ChoiceTypeWithInfo.propTypes = {
|
|
84
83
|
itemId: _propTypes.default.number.isRequired,
|
|
85
84
|
index: _propTypes.default.number.isRequired,
|
|
@@ -25,7 +25,7 @@ var _uiFlex = require("@instructure/ui-flex");
|
|
|
25
25
|
var _propTypes2 = require("../../../common/propTypes.js");
|
|
26
26
|
var _dec, _class, _NumericType;
|
|
27
27
|
/** @jsx jsx */
|
|
28
|
-
var NumericType = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_NumericType = /*#__PURE__*/function (_Component) {
|
|
28
|
+
var NumericType = exports.NumericType = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_NumericType = /*#__PURE__*/function (_Component) {
|
|
29
29
|
(0, _inherits2.default)(NumericType, _Component);
|
|
30
30
|
var _super = (0, _createSuper2.default)(NumericType);
|
|
31
31
|
function NumericType() {
|
|
@@ -223,5 +223,4 @@ var NumericType = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defaul
|
|
|
223
223
|
itemId: _propTypes.default.number.isRequired,
|
|
224
224
|
answerSummary: _propTypes2.numericTypeAnswerSummaryPropType.isRequired,
|
|
225
225
|
styles: _propTypes.default.object
|
|
226
|
-
}.isRequired, _NumericType)) || _class);
|
|
227
|
-
exports.NumericType = NumericType;
|
|
226
|
+
}.isRequired, _NumericType)) || _class);
|
|
@@ -22,7 +22,7 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
22
22
|
var _index3 = _interopRequireDefault(require("../../shared/ExpandableCard/index.js"));
|
|
23
23
|
var _dec, _class, _ChoiceGroupTypeTable;
|
|
24
24
|
/** @jsx jsx */
|
|
25
|
-
var ChoiceGroupTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ChoiceGroupTypeTable = /*#__PURE__*/function (_Component) {
|
|
25
|
+
var ChoiceGroupTypeTable = exports.ChoiceGroupTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ChoiceGroupTypeTable = /*#__PURE__*/function (_Component) {
|
|
26
26
|
(0, _inherits2.default)(ChoiceGroupTypeTable, _Component);
|
|
27
27
|
var _super = (0, _createSuper2.default)(ChoiceGroupTypeTable);
|
|
28
28
|
function ChoiceGroupTypeTable() {
|
|
@@ -135,5 +135,4 @@ var ChoiceGroupTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _the
|
|
|
135
135
|
}).isRequired,
|
|
136
136
|
index: _propTypes.default.number.isRequired,
|
|
137
137
|
styles: _propTypes.default.object
|
|
138
|
-
}.isRequired, _ChoiceGroupTypeTable)) || _class);
|
|
139
|
-
exports.ChoiceGroupTypeTable = ChoiceGroupTypeTable;
|
|
138
|
+
}.isRequired, _ChoiceGroupTypeTable)) || _class);
|
|
@@ -16,7 +16,7 @@ var _index = _interopRequireDefault(require("../shared/AfsTableWrapper/index.js"
|
|
|
16
16
|
var _presenter = require("../shared/AfsPartsContainer/presenter.js");
|
|
17
17
|
var _index2 = _interopRequireDefault(require("./ChoiceGroupTypeTable/index.js"));
|
|
18
18
|
var _index3 = _interopRequireDefault(require("../shared/AggregationTable/index.js"));
|
|
19
|
-
var RichFillBlankType = /*#__PURE__*/function (_Component) {
|
|
19
|
+
var RichFillBlankType = exports.RichFillBlankType = /*#__PURE__*/function (_Component) {
|
|
20
20
|
(0, _inherits2.default)(RichFillBlankType, _Component);
|
|
21
21
|
var _super = (0, _createSuper2.default)(RichFillBlankType);
|
|
22
22
|
function RichFillBlankType() {
|
|
@@ -60,7 +60,6 @@ var RichFillBlankType = /*#__PURE__*/function (_Component) {
|
|
|
60
60
|
}
|
|
61
61
|
return RichFillBlankType;
|
|
62
62
|
}(_react.Component);
|
|
63
|
-
exports.RichFillBlankType = RichFillBlankType;
|
|
64
63
|
RichFillBlankType.propTypes = {
|
|
65
64
|
itemId: _propTypes.default.number.isRequired,
|
|
66
65
|
answerSummary: _propTypes2.richFillBlankTypeAnswerSummaryPropType.isRequired
|
|
@@ -19,7 +19,7 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
19
19
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
20
20
|
var _dec, _class, _ScoreDistributionTypeTable;
|
|
21
21
|
/** @jsx jsx */
|
|
22
|
-
var ScoreDistributionTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ScoreDistributionTypeTable = /*#__PURE__*/function (_Component) {
|
|
22
|
+
var ScoreDistributionTypeTable = exports.ScoreDistributionTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ScoreDistributionTypeTable = /*#__PURE__*/function (_Component) {
|
|
23
23
|
(0, _inherits2.default)(ScoreDistributionTypeTable, _Component);
|
|
24
24
|
var _super = (0, _createSuper2.default)(ScoreDistributionTypeTable);
|
|
25
25
|
function ScoreDistributionTypeTable() {
|
|
@@ -109,6 +109,4 @@ var ScoreDistributionTypeTable = (_dec = (0, _emotion.withStyle)(_styles.default
|
|
|
109
109
|
makeStyles: _propTypes2.default.func,
|
|
110
110
|
styles: _propTypes2.default.object
|
|
111
111
|
}, _ScoreDistributionTypeTable)) || _class);
|
|
112
|
-
exports.
|
|
113
|
-
var _default = ScoreDistributionTypeTable;
|
|
114
|
-
exports.default = _default;
|
|
112
|
+
var _default = exports.default = ScoreDistributionTypeTable;
|
|
@@ -13,5 +13,4 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
13
13
|
cellPadding: "".concat(spacing === null || spacing === void 0 ? void 0 : spacing.small, " ").concat(spacing === null || spacing === void 0 ? void 0 : spacing.small)
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
var _default = generateComponentTheme;
|
|
17
|
-
exports.default = _default;
|
|
16
|
+
var _default = exports.default = generateComponentTheme;
|
|
@@ -17,7 +17,7 @@ var _index2 = _interopRequireDefault(require("../shared/AggregationTable/index.j
|
|
|
17
17
|
var _presenter = require("../shared/AfsPartsContainer/presenter.js");
|
|
18
18
|
var _index3 = _interopRequireDefault(require("../shared/AfsTableWrapper/index.js"));
|
|
19
19
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
20
|
-
var ScoreDistributionType = /*#__PURE__*/function (_Component) {
|
|
20
|
+
var ScoreDistributionType = exports.ScoreDistributionType = /*#__PURE__*/function (_Component) {
|
|
21
21
|
(0, _inherits2.default)(ScoreDistributionType, _Component);
|
|
22
22
|
var _super = (0, _createSuper2.default)(ScoreDistributionType);
|
|
23
23
|
function ScoreDistributionType() {
|
|
@@ -48,10 +48,8 @@ var ScoreDistributionType = /*#__PURE__*/function (_Component) {
|
|
|
48
48
|
}
|
|
49
49
|
return ScoreDistributionType;
|
|
50
50
|
}(_react.Component);
|
|
51
|
-
exports.ScoreDistributionType = ScoreDistributionType;
|
|
52
51
|
ScoreDistributionType.propTypes = {
|
|
53
52
|
itemId: _propTypes.default.number,
|
|
54
53
|
answerSummary: _propTypes2.scoreDistributionTypeAnswerSummaryPropType
|
|
55
54
|
}.isRequired;
|
|
56
|
-
var _default = ScoreDistributionType;
|
|
57
|
-
exports.default = _default;
|
|
55
|
+
var _default = exports.default = ScoreDistributionType;
|
|
@@ -19,7 +19,7 @@ var _index5 = _interopRequireDefault(require("./NumericType/index.js"));
|
|
|
19
19
|
var _index6 = require("./MatchingType/index.js");
|
|
20
20
|
var _index7 = require("./ScoreDistributionType/index.js");
|
|
21
21
|
var _propTypes = require("../../common/propTypes.js");
|
|
22
|
-
var AnswerFrequencySummary = /*#__PURE__*/function (_Component) {
|
|
22
|
+
var AnswerFrequencySummary = exports.AnswerFrequencySummary = /*#__PURE__*/function (_Component) {
|
|
23
23
|
(0, _inherits2.default)(AnswerFrequencySummary, _Component);
|
|
24
24
|
var _super = (0, _createSuper2.default)(AnswerFrequencySummary);
|
|
25
25
|
function AnswerFrequencySummary() {
|
|
@@ -91,7 +91,6 @@ var AnswerFrequencySummary = /*#__PURE__*/function (_Component) {
|
|
|
91
91
|
}
|
|
92
92
|
return AnswerFrequencySummary;
|
|
93
93
|
}(_react.Component);
|
|
94
|
-
exports.AnswerFrequencySummary = AnswerFrequencySummary;
|
|
95
94
|
AnswerFrequencySummary.propTypes = {
|
|
96
95
|
itemId: _quizInteractions.PropTypes.number.isRequired,
|
|
97
96
|
answerSummary: _propTypes.answerSummaryPropType.isRequired,
|
|
@@ -17,8 +17,7 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
17
17
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
18
18
|
var _dec, _class, _AfsPartsContainer;
|
|
19
19
|
/** @jsx jsx */
|
|
20
|
-
|
|
21
|
-
var AfsPartsContainer = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_AfsPartsContainer = /*#__PURE__*/function (_Component) {
|
|
20
|
+
var AfsPartsContainer = exports.AfsPartsContainer = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_AfsPartsContainer = /*#__PURE__*/function (_Component) {
|
|
22
21
|
(0, _inherits2.default)(AfsPartsContainer, _Component);
|
|
23
22
|
var _super = (0, _createSuper2.default)(AfsPartsContainer);
|
|
24
23
|
function AfsPartsContainer() {
|
|
@@ -65,5 +64,4 @@ var AfsPartsContainer = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.
|
|
|
65
64
|
}, _AfsPartsContainer.defaultProps = {
|
|
66
65
|
afsTable: null,
|
|
67
66
|
aggregationTable: null
|
|
68
|
-
}, _AfsPartsContainer)) || _class);
|
|
69
|
-
exports.AfsPartsContainer = AfsPartsContainer;
|
|
67
|
+
}, _AfsPartsContainer)) || _class);
|