@instructure/quiz-core 20.31.1 → 20.31.2-snapshot.14
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/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 +4 -2
- 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 -2
- package/lib/banks/components/Banks/presenter.js +4 -2
- 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 +4 -3
- package/lib/banks/components/BanksList/presenter.js +4 -2
- 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 +4 -2
- package/lib/banks/components/SharingModal/ShareList/styles.js +2 -1
- package/lib/banks/components/SharingModal/index.js +2 -1
- package/lib/banks/components/SharingModal/presenter.js +4 -2
- 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 +4 -2
- 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 +4 -2
- 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 +15 -14
|
@@ -20,7 +20,7 @@ var _uiHeading = require("@instructure/ui-heading");
|
|
|
20
20
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
21
21
|
var _index = _interopRequireDefault(require("../../../common/components/shared/InteractionTypes/index.js"));
|
|
22
22
|
var _quizCommon = require("@instructure/quiz-common");
|
|
23
|
-
var AddBankEntryModal =
|
|
23
|
+
var AddBankEntryModal = /*#__PURE__*/function (_Component) {
|
|
24
24
|
(0, _inherits2.default)(AddBankEntryModal, _Component);
|
|
25
25
|
var _super = (0, _createSuper2.default)(AddBankEntryModal);
|
|
26
26
|
function AddBankEntryModal() {
|
|
@@ -104,6 +104,7 @@ var AddBankEntryModal = exports.AddBankEntryModal = /*#__PURE__*/function (_Comp
|
|
|
104
104
|
AddBankEntryModal.displayName = "AddBankEntryModal";
|
|
105
105
|
return AddBankEntryModal;
|
|
106
106
|
}(_react.Component);
|
|
107
|
+
exports.AddBankEntryModal = AddBankEntryModal;
|
|
107
108
|
AddBankEntryModal.propTypes = {
|
|
108
109
|
modalOpen: _propTypes.default.bool.isRequired,
|
|
109
110
|
closeModal: _propTypes.default.func.isRequired,
|
|
@@ -117,4 +118,5 @@ AddBankEntryModal.propTypes = {
|
|
|
117
118
|
AddBankEntryModal.defaultProps = {
|
|
118
119
|
modalTrigger: null
|
|
119
120
|
};
|
|
120
|
-
var _default =
|
|
121
|
+
var _default = AddBankEntryModal;
|
|
122
|
+
exports.default = _default;
|
|
@@ -5,8 +5,8 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.default = void 0;
|
|
9
8
|
exports.mapStateToProps = mapStateToProps;
|
|
9
|
+
exports.default = void 0;
|
|
10
10
|
var _reactRedux = require("../../../common/react-redux.js");
|
|
11
11
|
var _banks = require("../../api/banks.js");
|
|
12
12
|
var _bankEntries = require("../../api/bankEntries.js");
|
|
@@ -19,13 +19,11 @@ var uiActions = _interopRequireWildcard(require("../../../common/actions/ui.js")
|
|
|
19
19
|
var _Bank = _interopRequireDefault(require("../../../common/records/Bank.js"));
|
|
20
20
|
var _quizCommon = require("@instructure/quiz-common");
|
|
21
21
|
var _modalHelpers = require("../../../common/util/modalHelpers.js");
|
|
22
|
-
var _featureCheck = require("../../../common/util/featureCheck.js");
|
|
23
22
|
function mapStateToProps(state, props) {
|
|
24
23
|
var selectedBankOption = state.getIn(['ui', _quizCommon.ADD_TO_BANK_MODAL_BANK_SELECTION]);
|
|
25
24
|
var selectedBank = selectedBankOption && new _Bank.default(state.getIn(['banks', selectedBankOption]));
|
|
26
25
|
return {
|
|
27
26
|
canvasOrigin: state.getIn(['config', 'canvasOrigin']),
|
|
28
|
-
checkBankedContentShareabilityEnabled: (0, _featureCheck.featureOn)('check_banked_content_shareability'),
|
|
29
27
|
checkContentShareability: props.entryType === 'Item' ? _items.checkItemShareability : _stimuli.checkStimulusShareability,
|
|
30
28
|
selectedBank: selectedBank,
|
|
31
29
|
modalTrigger: (0, _modalHelpers.getModalTrigger)(state),
|
|
@@ -40,4 +38,5 @@ var mapDispatchToProps = {
|
|
|
40
38
|
disassociateBankEntry: _banks2.disassociateEntry,
|
|
41
39
|
uiSet: uiActions.set
|
|
42
40
|
};
|
|
43
|
-
var _default =
|
|
41
|
+
var _default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.default);
|
|
42
|
+
exports.default = _default;
|
|
@@ -40,7 +40,7 @@ var _ref3 = /*#__PURE__*/_react.default.createElement(_uiIcons.IconWarningLine,
|
|
|
40
40
|
color: "warning"
|
|
41
41
|
});
|
|
42
42
|
var _ref4 = /*#__PURE__*/_react.default.createElement("br", null);
|
|
43
|
-
var AddToBankModal =
|
|
43
|
+
var AddToBankModal = /*#__PURE__*/function (_Component) {
|
|
44
44
|
(0, _inherits2.default)(AddToBankModal, _Component);
|
|
45
45
|
var _super = (0, _createSuper2.default)(AddToBankModal);
|
|
46
46
|
function AddToBankModal() {
|
|
@@ -115,11 +115,10 @@ var AddToBankModal = exports.AddToBankModal = /*#__PURE__*/function (_Component)
|
|
|
115
115
|
var _this2 = this;
|
|
116
116
|
var _this$props = this.props,
|
|
117
117
|
canvasOrigin = _this$props.canvasOrigin,
|
|
118
|
-
checkBankedContentShareabilityEnabled = _this$props.checkBankedContentShareabilityEnabled,
|
|
119
118
|
modalOpen = _this$props.modalOpen,
|
|
120
119
|
checkContentShareability = _this$props.checkContentShareability,
|
|
121
120
|
workingEntry = _this$props.workingEntry;
|
|
122
|
-
if (
|
|
121
|
+
if (modalOpen && !prevProps.modalOpen) {
|
|
123
122
|
this.setState({
|
|
124
123
|
contentShareable: 'loading'
|
|
125
124
|
});
|
|
@@ -176,9 +175,8 @@ var AddToBankModal = exports.AddToBankModal = /*#__PURE__*/function (_Component)
|
|
|
176
175
|
bankType = _this$state.bankType,
|
|
177
176
|
newBankTitle = _this$state.newBankTitle,
|
|
178
177
|
contentShareable = _this$state.contentShareable;
|
|
179
|
-
var checkBankedContentShareabilityEnabled = this.props.checkBankedContentShareabilityEnabled;
|
|
180
178
|
var contentShareableLoading = contentShareable === 'loading';
|
|
181
|
-
var disabled = bankType === 'existing' && !this.props.selectedBank || bankType === 'new' && (!newBankTitle || !newBankTitle.trim()) ||
|
|
179
|
+
var disabled = bankType === 'existing' && !this.props.selectedBank || bankType === 'new' && (!newBankTitle || !newBankTitle.trim()) || contentShareableLoading;
|
|
182
180
|
return /*#__PURE__*/_react.default.createElement(_uiButtons.Button, {
|
|
183
181
|
type: "button",
|
|
184
182
|
color: "primary",
|
|
@@ -186,7 +184,7 @@ var AddToBankModal = exports.AddToBankModal = /*#__PURE__*/function (_Component)
|
|
|
186
184
|
disabled: disabled,
|
|
187
185
|
margin: _quizCommon.XSMALL_SIDE_MARGIN,
|
|
188
186
|
"data-automation": "sdk-add-to-bank-button"
|
|
189
|
-
},
|
|
187
|
+
}, !contentShareableLoading && contentShareable !== 'true' ? (0, _formatMessage.default)('Add anyway') : (0, _formatMessage.default)('Add'));
|
|
190
188
|
}
|
|
191
189
|
}, {
|
|
192
190
|
key: "renderBankTypeContent",
|
|
@@ -208,33 +206,31 @@ var AddToBankModal = exports.AddToBankModal = /*#__PURE__*/function (_Component)
|
|
|
208
206
|
}, {
|
|
209
207
|
key: "renderContentShareabilityMessage",
|
|
210
208
|
value: function renderContentShareabilityMessage() {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}, _ref3, "\xA0", (0, _formatMessage.default)('There was an error attempting to validate shareability.'));
|
|
232
|
-
}
|
|
233
|
-
return /*#__PURE__*/_react.default.createElement(_uiView.View, {
|
|
234
|
-
as: "div",
|
|
235
|
-
margin: "small 0 0 0"
|
|
236
|
-
}, content);
|
|
209
|
+
var content = null;
|
|
210
|
+
if (this.state.contentShareable === 'loading') {
|
|
211
|
+
content = /*#__PURE__*/_react.default.createElement(_uiText.Text, null, /*#__PURE__*/_react.default.createElement(_uiSpinner.Spinner, {
|
|
212
|
+
size: "x-small",
|
|
213
|
+
renderTitle: (0, _formatMessage.default)('Checking content shareability...')
|
|
214
|
+
}), "\xA0", (0, _formatMessage.default)('Validating content...'));
|
|
215
|
+
} else if (this.state.contentShareable === 'true') {
|
|
216
|
+
// No message needed. The API call to check shareability is very fast in most cases,
|
|
217
|
+
// so the user may be distracted by a message here.
|
|
218
|
+
content = null;
|
|
219
|
+
} else if (this.state.contentShareable === 'false') {
|
|
220
|
+
content = /*#__PURE__*/_react.default.createElement(_uiFlex.Flex, null, _ref2, /*#__PURE__*/_react.default.createElement(_uiFlex.Flex.Item, {
|
|
221
|
+
shouldShrink: true
|
|
222
|
+
}, /*#__PURE__*/_react.default.createElement(_uiText.Text, {
|
|
223
|
+
color: "danger"
|
|
224
|
+
}, (0, _formatMessage.default)('You are attempting to add content containing course links which may not work when used in other courses.'))));
|
|
225
|
+
} else {
|
|
226
|
+
content = /*#__PURE__*/_react.default.createElement(_uiText.Text, {
|
|
227
|
+
color: "warning"
|
|
228
|
+
}, _ref3, "\xA0", (0, _formatMessage.default)('There was an error attempting to validate shareability.'));
|
|
237
229
|
}
|
|
230
|
+
return /*#__PURE__*/_react.default.createElement(_uiView.View, {
|
|
231
|
+
as: "div",
|
|
232
|
+
margin: "small 0 0 0"
|
|
233
|
+
}, content);
|
|
238
234
|
}
|
|
239
235
|
}, {
|
|
240
236
|
key: "renderContent",
|
|
@@ -275,9 +271,9 @@ var AddToBankModal = exports.AddToBankModal = /*#__PURE__*/function (_Component)
|
|
|
275
271
|
AddToBankModal.displayName = "AddToBankModal";
|
|
276
272
|
return AddToBankModal;
|
|
277
273
|
}(_react.Component);
|
|
274
|
+
exports.AddToBankModal = AddToBankModal;
|
|
278
275
|
AddToBankModal.propTypes = {
|
|
279
276
|
canvasOrigin: _propTypes.default.string,
|
|
280
|
-
checkBankedContentShareabilityEnabled: _propTypes.default.bool,
|
|
281
277
|
checkContentShareability: _propTypes.default.func.isRequired,
|
|
282
278
|
closeModal: _propTypes.default.func.isRequired,
|
|
283
279
|
createBank: _propTypes.default.func.isRequired,
|
|
@@ -303,7 +299,6 @@ AddToBankModal.propTypes = {
|
|
|
303
299
|
};
|
|
304
300
|
AddToBankModal.defaultProps = {
|
|
305
301
|
canvasOrigin: '',
|
|
306
|
-
checkBankedContentShareabilityEnabled: false,
|
|
307
302
|
handleValidationErrorsFromApi: function handleValidationErrorsFromApi() {},
|
|
308
303
|
onAdd: function onAdd() {},
|
|
309
304
|
onContinue: function onContinue() {},
|
|
@@ -312,4 +307,5 @@ AddToBankModal.defaultProps = {
|
|
|
312
307
|
AddToBankModal.contextTypes = {
|
|
313
308
|
locale: _propTypes.default.string
|
|
314
309
|
};
|
|
315
|
-
var _default =
|
|
310
|
+
var _default = AddToBankModal;
|
|
311
|
+
exports.default = _default;
|
|
@@ -21,7 +21,7 @@ var _uiSelect = require("@instructure/ui-select");
|
|
|
21
21
|
var _uiSpinner = require("@instructure/ui-spinner");
|
|
22
22
|
var _index = _interopRequireDefault(require("../../../common/components/shared/TagWrapper/index.js"));
|
|
23
23
|
var _quizCommon = require("@instructure/quiz-common");
|
|
24
|
-
var AsyncSearch =
|
|
24
|
+
var AsyncSearch = /*#__PURE__*/function (_Component) {
|
|
25
25
|
(0, _inherits2.default)(AsyncSearch, _Component);
|
|
26
26
|
var _super = (0, _createSuper2.default)(AsyncSearch);
|
|
27
27
|
function AsyncSearch() {
|
|
@@ -363,6 +363,7 @@ var AsyncSearch = exports.AsyncSearch = /*#__PURE__*/function (_Component) {
|
|
|
363
363
|
AsyncSearch.displayName = "AsyncSearch";
|
|
364
364
|
return AsyncSearch;
|
|
365
365
|
}(_react.Component);
|
|
366
|
+
exports.AsyncSearch = AsyncSearch;
|
|
366
367
|
AsyncSearch.propTypes = {
|
|
367
368
|
debounceDelay: _propTypes.default.number,
|
|
368
369
|
improvedBankSharingEnabled: _propTypes.default.bool.isRequired,
|
|
@@ -395,4 +396,5 @@ AsyncSearch.defaultProps = {
|
|
|
395
396
|
searchLabel: (0, _formatMessage.default)('Share With'),
|
|
396
397
|
placeholder: null
|
|
397
398
|
};
|
|
398
|
-
var _default =
|
|
399
|
+
var _default = AsyncSearch;
|
|
400
|
+
exports.default = _default;
|
|
@@ -5,8 +5,8 @@ var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWild
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.default = exports.Bank = void 0;
|
|
9
8
|
exports.mapStateToProps = mapStateToProps;
|
|
9
|
+
exports.default = exports.Bank = void 0;
|
|
10
10
|
var immutable = _interopRequireWildcard(require("immutable"));
|
|
11
11
|
var _presenter = require("./presenter.js");
|
|
12
12
|
var _reactRedux = require("../../../common/react-redux.js");
|
|
@@ -55,5 +55,7 @@ var mapDispatchToProps = {
|
|
|
55
55
|
updateSharedBankPermission: _banks.updateSharedBankPermission,
|
|
56
56
|
withConfirm: _modal.withConfirm
|
|
57
57
|
};
|
|
58
|
-
var Bank =
|
|
59
|
-
|
|
58
|
+
var Bank = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.Bank);
|
|
59
|
+
exports.Bank = Bank;
|
|
60
|
+
var _default = Bank;
|
|
61
|
+
exports.default = _default;
|
|
@@ -45,7 +45,7 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
45
45
|
var _dec, _class, _Bank;
|
|
46
46
|
/** @jsx jsx */
|
|
47
47
|
var _ref = (0, _emotion.jsx)(_uiIcons.IconMoreSolid, null);
|
|
48
|
-
var Bank =
|
|
48
|
+
var Bank = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Bank = /*#__PURE__*/function (_Component) {
|
|
49
49
|
(0, _inherits2.default)(Bank, _Component);
|
|
50
50
|
var _super = (0, _createSuper2.default)(Bank);
|
|
51
51
|
function Bank() {
|
|
@@ -508,4 +508,6 @@ var Bank = exports.Bank = (_dec = (0, _emotion.withStyle)(_styles.default, _them
|
|
|
508
508
|
courseSharedBank: null,
|
|
509
509
|
iceTopNavBarEnabled: false
|
|
510
510
|
}, _Bank)) || _class);
|
|
511
|
-
|
|
511
|
+
exports.Bank = Bank;
|
|
512
|
+
var _default = Bank;
|
|
513
|
+
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 _immutable = require("immutable");
|
|
10
10
|
var _reactRedux = require("../../../common/react-redux.js");
|
|
11
11
|
var _presenter = _interopRequireDefault(require("./presenter.js"));
|
|
@@ -18,4 +18,5 @@ function mapStateToProps(state, props) {
|
|
|
18
18
|
bankEntries: bankEntries
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
var _default =
|
|
21
|
+
var _default = (0, _reactRedux.connect)(mapStateToProps)(_presenter.default);
|
|
22
|
+
exports.default = _default;
|
|
@@ -19,7 +19,7 @@ var _styles = _interopRequireDefault(require("./styles.js"));
|
|
|
19
19
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
20
20
|
var _dec, _class, _BankEntriesList;
|
|
21
21
|
/** @jsx jsx */
|
|
22
|
-
var BankEntriesList =
|
|
22
|
+
var BankEntriesList = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_BankEntriesList = /*#__PURE__*/function (_Component) {
|
|
23
23
|
(0, _inherits2.default)(BankEntriesList, _Component);
|
|
24
24
|
var _super = (0, _createSuper2.default)(BankEntriesList);
|
|
25
25
|
function BankEntriesList() {
|
|
@@ -63,4 +63,6 @@ var BankEntriesList = exports.BankEntriesList = (_dec = (0, _emotion.withStyle)(
|
|
|
63
63
|
addEntryToQuiz: null,
|
|
64
64
|
isQuizContentLocked: false
|
|
65
65
|
}, _BankEntriesList)) || _class);
|
|
66
|
-
|
|
66
|
+
exports.BankEntriesList = BankEntriesList;
|
|
67
|
+
var _default = BankEntriesList;
|
|
68
|
+
exports.default = _default;
|
|
@@ -68,5 +68,7 @@ function mapDispatchToProps(dispatch) {
|
|
|
68
68
|
openModal: (0, _redux.bindActionCreators)(_modal.openModal, dispatch)
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
|
-
var BankEntry =
|
|
72
|
-
|
|
71
|
+
var BankEntry = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.BankEntry);
|
|
72
|
+
exports.BankEntry = BankEntry;
|
|
73
|
+
var _default = BankEntry;
|
|
74
|
+
exports.default = _default;
|
|
@@ -52,7 +52,7 @@ var _theme = _interopRequireDefault(require("./theme.js"));
|
|
|
52
52
|
var _dec, _class, _BankEntry;
|
|
53
53
|
/** @jsx jsx */
|
|
54
54
|
var _ref3 = (0, _emotion.jsx)(_Spinner.default, null);
|
|
55
|
-
var BankEntry =
|
|
55
|
+
var BankEntry = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_BankEntry = /*#__PURE__*/function (_Component) {
|
|
56
56
|
(0, _inherits2.default)(BankEntry, _Component);
|
|
57
57
|
var _super = (0, _createSuper2.default)(BankEntry);
|
|
58
58
|
function BankEntry() {
|
|
@@ -651,4 +651,6 @@ var BankEntry = exports.BankEntry = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
651
651
|
useBankTags: false,
|
|
652
652
|
iceTopNavBarEnabled: false
|
|
653
653
|
}, _BankEntry)) || _class);
|
|
654
|
-
|
|
654
|
+
exports.BankEntry = BankEntry;
|
|
655
|
+
var _default = BankEntry;
|
|
656
|
+
exports.default = _default;
|
|
@@ -8,7 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _immutable = require("immutable");
|
|
9
9
|
var _BankEntry = _interopRequireDefault(require("../../../common/records/BankEntry.js"));
|
|
10
10
|
var _Item = _interopRequireDefault(require("../../../common/records/Item.js"));
|
|
11
|
-
var _default =
|
|
11
|
+
var _default = {
|
|
12
12
|
propsValues: {
|
|
13
13
|
addEntryToQuiz: [null, Function.prototype],
|
|
14
14
|
isExpanded: [false, true]
|
|
@@ -44,4 +44,5 @@ var _default = exports.default = {
|
|
|
44
44
|
useBankTags: true
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
};
|
|
47
|
+
};
|
|
48
|
+
exports.default = _default;
|
|
@@ -45,4 +45,5 @@ var mapDispatchToProps = function mapDispatchToProps(dispatch, props) {
|
|
|
45
45
|
withConfirm: (0, _redux.bindActionCreators)(modalActions.withConfirm, dispatch)
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
var _default =
|
|
48
|
+
var _default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.default);
|
|
49
|
+
exports.default = _default;
|
|
@@ -39,7 +39,7 @@ var _index6 = _interopRequireDefault(require("../../../common/components/shared/
|
|
|
39
39
|
var _dec, _class, _BankEntryRow;
|
|
40
40
|
/** @jsx jsx */
|
|
41
41
|
var _ref2 = (0, _emotion.jsx)("div", null);
|
|
42
|
-
var BankEntryRow =
|
|
42
|
+
var BankEntryRow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_BankEntryRow = /*#__PURE__*/function (_withI18nSupport) {
|
|
43
43
|
(0, _inherits2.default)(BankEntryRow, _withI18nSupport);
|
|
44
44
|
var _super = (0, _createSuper2.default)(BankEntryRow);
|
|
45
45
|
function BankEntryRow() {
|
|
@@ -389,4 +389,6 @@ var BankEntryRow = exports.BankEntryRow = (_dec = (0, _emotion.withStyle)(_style
|
|
|
389
389
|
locale: _propTypes.default.string,
|
|
390
390
|
timezone: _propTypes.default.string
|
|
391
391
|
}, _BankEntryRow)) || _class);
|
|
392
|
-
|
|
392
|
+
exports.BankEntryRow = BankEntryRow;
|
|
393
|
+
var _default = BankEntryRow;
|
|
394
|
+
exports.default = _default;
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.
|
|
7
|
+
exports.withTags = exports.withEmptySearchTerm = exports.withSearchTerm = exports.withoutSearchTerm = exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _immutable = require("immutable");
|
|
10
10
|
var _presenter = _interopRequireDefault(require("./presenter.js"));
|
|
@@ -17,30 +17,34 @@ var props = {
|
|
|
17
17
|
update: Function.prototype,
|
|
18
18
|
toggle: Function.prototype
|
|
19
19
|
};
|
|
20
|
-
var _default =
|
|
20
|
+
var _default = {
|
|
21
21
|
title: 'BankSearch'
|
|
22
22
|
};
|
|
23
|
-
|
|
23
|
+
exports.default = _default;
|
|
24
|
+
var withoutSearchTerm = function withoutSearchTerm() {
|
|
24
25
|
return /*#__PURE__*/_react.default.createElement(_presenter.default, Object.assign({}, props, {
|
|
25
26
|
search: (0, _immutable.Map)({
|
|
26
27
|
text: null
|
|
27
28
|
})
|
|
28
29
|
}));
|
|
29
30
|
};
|
|
30
|
-
|
|
31
|
+
exports.withoutSearchTerm = withoutSearchTerm;
|
|
32
|
+
var withSearchTerm = function withSearchTerm() {
|
|
31
33
|
return /*#__PURE__*/_react.default.createElement(_presenter.default, Object.assign({}, props, {
|
|
32
34
|
search: (0, _immutable.Map)({
|
|
33
35
|
text: 'singlewordsearchstring'
|
|
34
36
|
})
|
|
35
37
|
}));
|
|
36
38
|
};
|
|
37
|
-
|
|
39
|
+
exports.withSearchTerm = withSearchTerm;
|
|
40
|
+
var withEmptySearchTerm = function withEmptySearchTerm() {
|
|
38
41
|
return /*#__PURE__*/_react.default.createElement(_presenter.default, Object.assign({}, props, {
|
|
39
42
|
search: (0, _immutable.Map)({
|
|
40
43
|
text: ''
|
|
41
44
|
})
|
|
42
45
|
}));
|
|
43
46
|
};
|
|
47
|
+
exports.withEmptySearchTerm = withEmptySearchTerm;
|
|
44
48
|
var tags = [{
|
|
45
49
|
id: '1',
|
|
46
50
|
value: 'Hello'
|
|
@@ -48,10 +52,11 @@ var tags = [{
|
|
|
48
52
|
id: '2',
|
|
49
53
|
value: 'World'
|
|
50
54
|
}];
|
|
51
|
-
var withTags =
|
|
55
|
+
var withTags = function withTags() {
|
|
52
56
|
return /*#__PURE__*/_react.default.createElement(_presenter.default, Object.assign({}, props, {
|
|
53
57
|
search: (0, _immutable.Map)({
|
|
54
58
|
tags: tags
|
|
55
59
|
})
|
|
56
60
|
}));
|
|
57
|
-
};
|
|
61
|
+
};
|
|
62
|
+
exports.withTags = withTags;
|
|
@@ -34,4 +34,5 @@ var mapDispatchToProps = {
|
|
|
34
34
|
setFilter: _bankSearch.setFilter,
|
|
35
35
|
update: _bankSearch.update
|
|
36
36
|
};
|
|
37
|
-
var _default =
|
|
37
|
+
var _default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.default);
|
|
38
|
+
exports.default = _default;
|
|
@@ -36,7 +36,7 @@ var tagShape = _propTypes.default.shape({
|
|
|
36
36
|
}).isRequired,
|
|
37
37
|
count: _propTypes.default.number.isRequired
|
|
38
38
|
});
|
|
39
|
-
var BankSearch =
|
|
39
|
+
var BankSearch = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_BankSearch = /*#__PURE__*/function (_Component) {
|
|
40
40
|
(0, _inherits2.default)(BankSearch, _Component);
|
|
41
41
|
var _super = (0, _createSuper2.default)(BankSearch);
|
|
42
42
|
function BankSearch() {
|
|
@@ -188,4 +188,6 @@ var BankSearch = exports.BankSearch = (_dec = (0, _emotion.withStyle)(_styles.de
|
|
|
188
188
|
showFilters: false,
|
|
189
189
|
tags: []
|
|
190
190
|
}, _BankSearch)) || _class);
|
|
191
|
-
|
|
191
|
+
exports.BankSearch = BankSearch;
|
|
192
|
+
var _default = BankSearch;
|
|
193
|
+
exports.default = _default;
|
|
@@ -46,5 +46,7 @@ function mapDispatchToProps(dispatch) {
|
|
|
46
46
|
setUI: (0, _redux.bindActionCreators)(_ui.set, dispatch)
|
|
47
47
|
};
|
|
48
48
|
}
|
|
49
|
-
var Banks =
|
|
50
|
-
|
|
49
|
+
var Banks = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_presenter.Banks);
|
|
50
|
+
exports.Banks = Banks;
|
|
51
|
+
var _default = Banks;
|
|
52
|
+
exports.default = _default;
|
|
@@ -47,7 +47,7 @@ var sortOrderIcons = {
|
|
|
47
47
|
var _ref4 = (0, _emotion.jsx)(_uiImg.Img, {
|
|
48
48
|
src: _noResults.default
|
|
49
49
|
});
|
|
50
|
-
var Banks =
|
|
50
|
+
var Banks = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_Banks = /*#__PURE__*/function (_Component) {
|
|
51
51
|
(0, _inherits2.default)(Banks, _Component);
|
|
52
52
|
var _super = (0, _createSuper2.default)(Banks);
|
|
53
53
|
function Banks(props) {
|
|
@@ -534,4 +534,6 @@ var Banks = exports.Banks = (_dec = (0, _emotion.withStyle)(_styles.default, _th
|
|
|
534
534
|
}, _Banks.contextTypes = {
|
|
535
535
|
locale: _propTypes.default.string
|
|
536
536
|
}, _Banks)) || _class);
|
|
537
|
-
|
|
537
|
+
exports.Banks = Banks;
|
|
538
|
+
var _default = Banks;
|
|
539
|
+
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 _immutable = require("immutable");
|
|
10
10
|
var _reactRedux = require("../../../common/react-redux.js");
|
|
11
11
|
var _presenter = _interopRequireDefault(require("./presenter.js"));
|
|
@@ -24,11 +24,12 @@ function mapStateToProps(state, props) {
|
|
|
24
24
|
duplicateItemBanks: (0, _featureCheck.featureOn)('duplicate_item_banks')
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
var _default =
|
|
27
|
+
var _default = (0, _reactRedux.connect)(mapStateToProps, {
|
|
28
28
|
openModal: _modal.openModal,
|
|
29
29
|
deleteBank: _banks.deleteBank,
|
|
30
30
|
withConfirm: _modal.withConfirm,
|
|
31
31
|
createBankCloneJob: _banks.createBankCloneJob,
|
|
32
32
|
addInfo: _alerts.addInfo,
|
|
33
33
|
addToPolling: _copyingBanksPoller.addToPolling
|
|
34
|
-
})(_presenter.default);
|
|
34
|
+
})(_presenter.default);
|
|
35
|
+
exports.default = _default;
|
|
@@ -41,7 +41,7 @@ var _ref4 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
|
|
|
41
41
|
var _ref5 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
|
|
42
42
|
var _ref6 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
|
|
43
43
|
var _ref7 = (0, _emotion.jsx)(_uiTable.Table.Cell, null);
|
|
44
|
-
var BanksList =
|
|
44
|
+
var BanksList = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_BanksList = /*#__PURE__*/function (_withI18nSupport) {
|
|
45
45
|
(0, _inherits2.default)(BanksList, _withI18nSupport);
|
|
46
46
|
var _super = (0, _createSuper2.default)(BanksList);
|
|
47
47
|
function BanksList() {
|
|
@@ -517,4 +517,6 @@ var BanksList = exports.BanksList = (_dec = (0, _emotion.withStyle)(_styles.defa
|
|
|
517
517
|
locale: _propTypes.default.string,
|
|
518
518
|
timezone: _propTypes.default.string
|
|
519
519
|
}, _BanksList)) || _class);
|
|
520
|
-
|
|
520
|
+
exports.BanksList = BanksList;
|
|
521
|
+
var _default = BanksList;
|
|
522
|
+
exports.default = _default;
|