@instructure/quiz-core 20.31.1-snapshot.3 → 20.31.2-rc.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/banks/components/AddToBankModal/index.js +0 -2
- package/es/banks/components/AddToBankModal/presenter.js +27 -33
- package/es/banks/components/AsyncSearch/index.js +1 -2
- package/es/banks/components/Banks/index.js +0 -1
- package/es/banks/components/Banks/presenter.js +2 -5
- package/es/banks/components/BanksList/index.js +1 -3
- package/es/banks/components/BanksList/presenter.js +16 -19
- package/es/banks/components/SharingModal/ShareList/index.js +2 -3
- package/es/banks/components/SharingModal/index.js +0 -1
- package/es/banks/components/SharingModal/presenter.js +1 -5
- package/es/common/components/layout/Page/index.js +4 -2
- package/es/common/components/layout/sidebar/Sidebar/index.js +2 -1
- package/es/common/components/resources/entry/EntrySave/index.js +0 -2
- package/es/common/components/resources/entry/EntrySave/presenter.js +1 -3
- package/es/common/components/resources/item/ItemEdit/index.js +0 -1
- package/es/common/components/resources/item/ItemEdit/presenter.js +0 -2
- package/es/common/components/shared/PrintTrigger/index.js +0 -2
- package/es/common/components/shared/PrintTrigger/presenter.js +1 -3
- package/es/common/selectors/calculator.js +0 -4
- package/es/common/util/interactionTypePropsHelper.js +0 -3
- package/lib/banks/api/bankEntries.js +24 -13
- package/lib/banks/api/banks.js +26 -15
- package/lib/banks/api/copyingBanksPoller.js +4 -2
- package/lib/banks/api/tagAssociations.js +8 -5
- package/lib/banks/components/AddBankEntryModal/index.js +4 -2
- package/lib/banks/components/AddBankEntryModal/presenter.js +4 -2
- package/lib/banks/components/AddToBankModal/index.js +3 -4
- package/lib/banks/components/AddToBankModal/presenter.js +31 -35
- package/lib/banks/components/AsyncSearch/index.js +5 -4
- package/lib/banks/components/Bank/index.js +5 -3
- package/lib/banks/components/Bank/presenter.js +4 -2
- package/lib/banks/components/Bank/styles.js +2 -1
- package/lib/banks/components/Bank/theme.js +2 -1
- package/lib/banks/components/BankEntriesList/index.js +3 -2
- package/lib/banks/components/BankEntriesList/presenter.js +4 -2
- package/lib/banks/components/BankEntriesList/styles.js +2 -1
- package/lib/banks/components/BankEntriesList/theme.js +2 -1
- package/lib/banks/components/BankEntry/index.js +4 -2
- package/lib/banks/components/BankEntry/presenter.js +4 -2
- package/lib/banks/components/BankEntry/styles.js +2 -1
- package/lib/banks/components/BankEntry/theme.js +2 -1
- package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +3 -2
- package/lib/banks/components/BankEntryRow/index.js +2 -1
- package/lib/banks/components/BankEntryRow/presenter.js +4 -2
- package/lib/banks/components/BankEntryRow/styles.js +2 -1
- package/lib/banks/components/BankEntryRow/theme.js +2 -1
- package/lib/banks/components/BankSearch/BankSearch.stories.js +12 -7
- package/lib/banks/components/BankSearch/index.js +2 -1
- package/lib/banks/components/BankSearch/presenter.js +4 -2
- package/lib/banks/components/BankSearch/styles.js +2 -1
- package/lib/banks/components/BankSearch/theme.js +2 -1
- package/lib/banks/components/Banks/index.js +4 -3
- package/lib/banks/components/Banks/presenter.js +6 -7
- package/lib/banks/components/Banks/styles.js +2 -1
- package/lib/banks/components/Banks/theme.js +2 -1
- package/lib/banks/components/BanksList/index.js +5 -6
- package/lib/banks/components/BanksList/presenter.js +20 -21
- package/lib/banks/components/BanksList/styles.js +2 -1
- package/lib/banks/components/BanksList/theme.js +2 -1
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +3 -2
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +4 -2
- package/lib/banks/components/CreateBankModal/index.js +2 -1
- package/lib/banks/components/CreateBankModal/presenter.js +4 -2
- package/lib/banks/components/CreateBankModal/styles.js +2 -1
- package/lib/banks/components/CreateBankModal/theme.js +2 -1
- package/lib/banks/components/EditBankModal/index.js +2 -1
- package/lib/banks/components/EditBankModal/presenter.js +4 -2
- package/lib/banks/components/EditBankModal/styles.js +2 -1
- package/lib/banks/components/EditBankModal/theme.js +2 -1
- package/lib/banks/components/HeaderBreadCrumb/index.js +4 -2
- package/lib/banks/components/HeaderMenu/index.js +2 -1
- package/lib/banks/components/HeaderMenu/presenter.js +4 -2
- package/lib/banks/components/HeaderMenu/styles.js +2 -1
- package/lib/banks/components/HeaderMenu/theme.js +2 -1
- package/lib/banks/components/NavWrapper/NavWrapper.examples.js +3 -2
- package/lib/banks/components/NavWrapper/index.js +2 -1
- package/lib/banks/components/NavWrapper/presenter.js +2 -1
- package/lib/banks/components/NavWrapper/styles.js +2 -1
- package/lib/banks/components/NavWrapper/theme.js +2 -1
- package/lib/banks/components/SharingModal/ContextualIconButton/index.js +2 -1
- package/lib/banks/components/SharingModal/RootAccountSharing.js +4 -2
- package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +3 -2
- package/lib/banks/components/SharingModal/ShareList/index.js +6 -5
- package/lib/banks/components/SharingModal/ShareList/styles.js +2 -1
- package/lib/banks/components/SharingModal/index.js +2 -2
- package/lib/banks/components/SharingModal/presenter.js +5 -7
- package/lib/banks/components/SharingModal/styles.js +2 -1
- package/lib/banks/components/SharingModal/theme.js +2 -1
- package/lib/building/api/items.js +1 -1
- package/lib/building/api/qtiImports.js +9 -5
- package/lib/building/api/quizEntries.js +10 -9
- package/lib/building/api/quizzes.js +15 -15
- package/lib/building/api/stimuli.js +1 -1
- package/lib/building/components/QTIImportModal/index.js +9 -5
- package/lib/building/components/layout/Sidebar/Sidebar.examples.js +2 -1
- package/lib/building/components/layout/Sidebar/SidebarItem/index.js +9 -5
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +4 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +2 -1
- package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +2 -1
- package/lib/building/components/layout/Sidebar/Stimulus/index.js +9 -5
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +4 -2
- package/lib/building/components/layout/Sidebar/Stimulus/styles.js +2 -1
- package/lib/building/components/layout/Sidebar/Stimulus/theme.js +2 -1
- package/lib/building/components/layout/Sidebar/index.js +9 -5
- package/lib/building/components/layout/Sidebar/presenter.js +4 -2
- package/lib/building/components/layout/Sidebar/styles.js +2 -1
- package/lib/building/components/layout/Sidebar/theme.js +2 -1
- package/lib/building/components/layout/header/BuildingButtons/index.js +5 -3
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +4 -2
- package/lib/building/components/layout/header/BuildingButtons/styles.js +2 -1
- package/lib/building/components/layout/header/BuildingButtons/theme.js +2 -1
- package/lib/building/components/layout/header/SDKBuildingButtons/index.js +4 -2
- package/lib/building/components/resources/ActionButtons/index.js +4 -2
- package/lib/building/components/resources/ActionButtons/presenter.js +4 -2
- package/lib/building/components/resources/ActionButtons/styles.js +2 -1
- package/lib/building/components/resources/ActionButtons/theme.js +2 -1
- package/lib/building/components/resources/AddToBankOptions/index.js +4 -2
- package/lib/building/components/resources/AddToBankOptions/styles.js +2 -1
- package/lib/building/components/resources/AddToBankOptions/theme.js +2 -1
- package/lib/building/components/resources/BanksTray/index.js +4 -2
- package/lib/building/components/resources/BanksTray/presenter.js +4 -2
- package/lib/building/components/resources/DeleteStimulusModal/index.js +4 -2
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +4 -2
- package/lib/building/components/resources/DeleteStimulusModal/styles.js +2 -1
- package/lib/building/components/resources/DeleteStimulusModal/theme.js +2 -1
- package/lib/building/components/resources/ItemFeedbackModal/index.js +4 -2
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +4 -2
- package/lib/building/components/resources/ItemFeedbackModal/styles.js +2 -1
- package/lib/building/components/resources/ItemFeedbackModal/theme.js +2 -1
- package/lib/building/components/resources/MoveImmutableModal/index.js +4 -2
- package/lib/building/components/resources/MoveImmutableModal/presenter.js +4 -2
- package/lib/building/components/resources/quiz/editButton/EditButton.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Edit/index.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Edit/styles.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +3 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/index.js +4 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +4 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +2 -1
- package/lib/building/components/resources/quiz/instructions/Show/index.js +4 -2
- package/lib/building/components/resources/quiz/instructions/Show/styles.js +2 -1
- package/lib/building/components/resources/quiz/title/Edit/index.js +4 -2
- package/lib/building/components/resources/quiz/title/Edit/styles.js +2 -1
- package/lib/building/components/resources/quiz/title/Edit/theme.js +2 -1
- package/lib/building/components/resources/quiz/title/Show/index.js +4 -2
- package/lib/building/components/resources/quiz/title/Show/styles.js +2 -1
- package/lib/building/components/resources/quiz/title/Show/theme.js +2 -1
- package/lib/building/components/resources/quiz/title/Title/Title.examples.js +3 -2
- package/lib/building/components/resources/quiz/title/Title/index.js +4 -2
- package/lib/building/components/resources/quiz/title/Title/presenter.js +4 -2
- package/lib/building/components/resources/quiz/title/Title/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/index.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +4 -3
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +3 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +4 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +2 -1
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +2 -1
- package/lib/common/actions/alerts.js +2 -2
- package/lib/common/actions/analyses.js +7 -7
- package/lib/common/actions/bankEntries.js +5 -3
- package/lib/common/actions/bankSearch.js +10 -6
- package/lib/common/actions/banks.js +14 -8
- package/lib/common/actions/config.js +1 -1
- package/lib/common/actions/editing.js +1 -1
- package/lib/common/actions/errorsShowing.js +1 -1
- package/lib/common/actions/grading.js +2 -2
- package/lib/common/actions/modal.js +3 -3
- package/lib/common/actions/modifications.js +29 -29
- package/lib/common/actions/printing.js +1 -1
- package/lib/common/actions/quizExport.js +3 -2
- package/lib/common/actions/quizSessionEvents.js +3 -2
- package/lib/common/actions/quizSessionResults.js +3 -2
- package/lib/common/actions/quizSessions.js +13 -8
- package/lib/common/actions/quizzes.js +14 -8
- package/lib/common/actions/rce.js +8 -5
- package/lib/common/actions/regrading.js +1 -1
- package/lib/common/actions/reporting.js +1 -1
- package/lib/common/actions/scrolling.js +1 -1
- package/lib/common/actions/sessionItemResults.js +3 -2
- package/lib/common/actions/sessionItems.js +3 -2
- package/lib/common/actions/sharedBanks.js +8 -5
- package/lib/common/actions/sidebar.js +1 -1
- package/lib/common/actions/tagAssociations.js +17 -9
- package/lib/common/actions/taking.js +38 -20
- package/lib/common/actions/ui.js +20 -11
- package/lib/common/actions/upload.js +11 -6
- package/lib/common/api/callHandlers.js +46 -25
- package/lib/common/api/camelizeHelpers.js +4 -2
- package/lib/common/api/features.js +3 -2
- package/lib/common/api/fileUpload.js +3 -2
- package/lib/common/api/getPersistenceActions.js +2 -1
- package/lib/common/api/helpers.js +10 -7
- package/lib/common/api/interactionTypes.js +3 -2
- package/lib/common/api/quizSessions.js +26 -17
- package/lib/common/api/quizzes.js +2 -2
- package/lib/common/api/schema.js +37 -20
- package/lib/common/components/ApiFeatureFlagInitializer/index.js +5 -3
- package/lib/common/components/ConfirmationModal/index.js +2 -1
- package/lib/common/components/ConfirmationModal/presenter.js +4 -2
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +4 -2
- package/lib/common/components/ImportModal/ImportFileSelector/styles.js +2 -1
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +2 -1
- package/lib/common/components/ImportModal/index.js +7 -5
- package/lib/common/components/ImportModal/presenter.js +4 -2
- package/lib/common/components/ImportModal/styles.js +2 -1
- package/lib/common/components/ImportModal/theme.js +2 -1
- package/lib/common/components/LearnosityCalculator/index.js +4 -2
- package/lib/common/components/Pin/Pin.examples.js +3 -2
- package/lib/common/components/Pin/index.js +4 -2
- package/lib/common/components/Pin/presenter.js +4 -2
- package/lib/common/components/PreviewFrame/examples.config.js +3 -2
- package/lib/common/components/PreviewFrame/index.js +4 -2
- package/lib/common/components/PrintFontSizeModal/index.js +2 -1
- package/lib/common/components/PrintFontSizeModal/presenter.js +4 -2
- package/lib/common/components/PrintFontSizeModal/styles.js +2 -1
- package/lib/common/components/PrintFontSizeModal/theme.js +2 -1
- package/lib/common/components/RceConfigProvider/index.js +2 -1
- package/lib/common/components/RceConfigProvider/presenter.js +2 -1
- package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +5 -3
- package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +12 -7
- package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +3 -2
- package/lib/common/components/RceConfigProvider/rceConfigMapper.js +3 -2
- package/lib/common/components/RceConfigProvider/rceConfigUtils.js +6 -4
- package/lib/common/components/SDKApp/index.js +7 -4
- package/lib/common/components/SDKApp/styles.js +2 -1
- package/lib/common/components/SDKHeaderCalculator.js +4 -2
- package/lib/common/components/SDKMenuButton.js +4 -2
- package/lib/common/components/SDKNavBar.js +4 -2
- package/lib/common/components/SDKTimer.js +4 -2
- package/lib/common/components/alerts/index.js +3 -2
- package/lib/common/components/alerts/presenter.js +4 -2
- package/lib/common/components/alerts/styles.js +2 -1
- package/lib/common/components/alerts/theme.js +2 -1
- package/lib/common/components/layout/Page/index.js +8 -4
- package/lib/common/components/layout/Page/styles.js +2 -1
- package/lib/common/components/layout/Page/theme.js +2 -1
- package/lib/common/components/layout/header/Calculator/index.js +4 -2
- package/lib/common/components/layout/header/Calculator/presenter.js +4 -2
- package/lib/common/components/layout/header/HeaderMenuButton/index.js +7 -5
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +4 -2
- package/lib/common/components/layout/header/HeaderMenuButton/styles.js +2 -1
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +2 -1
- package/lib/common/components/layout/header/Timer/index.js +2 -1
- package/lib/common/components/layout/header/Timer/presenter.js +4 -2
- package/lib/common/components/layout/header/Timer/styles.js +2 -1
- package/lib/common/components/layout/header/Timer/theme.js +2 -1
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +4 -2
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +2 -1
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +2 -1
- package/lib/common/components/layout/navbar/index.js +4 -2
- package/lib/common/components/layout/navbar/styles.js +2 -1
- package/lib/common/components/layout/navbar/theme.js +2 -1
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +4 -2
- package/lib/common/components/layout/sidebar/PositionSummary/styles.js +2 -1
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Sidebar/Pin.js +4 -2
- package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +3 -2
- package/lib/common/components/layout/sidebar/Sidebar/index.js +6 -3
- package/lib/common/components/layout/sidebar/Sidebar/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +2 -1
- package/lib/common/components/layout/sidebar/SidebarItem/index.js +9 -5
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +4 -2
- package/lib/common/components/layout/sidebar/SidebarItem/styles.js +2 -1
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +4 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +3 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +4 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +4 -2
- package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/index.js +9 -5
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +6 -3
- package/lib/common/components/layout/sidebar/Stimulus/styles.js +2 -1
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +2 -1
- package/lib/common/components/resources/BankSelection/BankSelection.examples.js +3 -2
- package/lib/common/components/resources/BankSelection/index.js +4 -3
- package/lib/common/components/resources/BankSelection/presenter.js +4 -2
- package/lib/common/components/resources/WarningWrapper/index.js +4 -2
- package/lib/common/components/resources/WarningWrapper/styles.js +2 -1
- package/lib/common/components/resources/WarningWrapper/theme.js +2 -1
- package/lib/common/components/resources/entry/EntrySave/index.js +3 -4
- package/lib/common/components/resources/entry/EntrySave/presenter.js +5 -5
- package/lib/common/components/resources/item/ItemEdit/index.js +3 -3
- package/lib/common/components/resources/item/ItemEdit/presenter.js +4 -4
- package/lib/common/components/resources/item/ItemOverride/index.js +2 -1
- package/lib/common/components/resources/item/ItemOverride/presenter.js +4 -2
- package/lib/common/components/resources/item/ItemShow/index.js +2 -1
- package/lib/common/components/resources/positionBox/PositionBox.js +4 -2
- package/lib/common/components/resources/positionBox/styles.js +2 -1
- package/lib/common/components/resources/positionBox/theme.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Body/index.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Body/styles.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Button/styles.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Modal/index.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/index.js +5 -3
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +4 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +2 -1
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +2 -1
- package/lib/common/components/resources/quiz/info/QuizInfo.js +4 -2
- package/lib/common/components/resources/quiz/instructions/Instructions.js +4 -2
- package/lib/common/components/resources/quiz/instructions/styles.js +2 -1
- package/lib/common/components/resources/quiz/instructions/theme.js +2 -1
- package/lib/common/components/resources/quiz/title/Title.js +4 -2
- package/lib/common/components/resources/quiz/title/styles.js +2 -1
- package/lib/common/components/resources/quiz/title/theme.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Header/index.js +4 -2
- package/lib/common/components/resources/quizSessionResult/Header/styles.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Header/theme.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +3 -2
- package/lib/common/components/resources/quizSessionResult/Info/index.js +4 -2
- package/lib/common/components/resources/quizSessionResult/Info/styles.js +2 -1
- package/lib/common/components/resources/quizSessionResult/Info/theme.js +2 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +4 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +2 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +4 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +4 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +4 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +2 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +2 -1
- package/lib/common/components/resources/stimulus/Stimulus/index.js +2 -1
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +4 -2
- package/lib/common/components/resources/stimulus/Stimulus/styles.js +2 -1
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/index.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +4 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +4 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +4 -2
- package/lib/common/components/resources/stimulus/StimulusShow/styles.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusShow/theme.js +2 -1
- package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +3 -2
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +2 -1
- package/lib/common/components/shared/Card/CardContent/index.js +4 -2
- package/lib/common/components/shared/Card/CardContent/styles.js +2 -1
- package/lib/common/components/shared/Card/CardContent/theme.js +2 -1
- package/lib/common/components/shared/Card/CardWrapper/index.js +4 -2
- package/lib/common/components/shared/Card/CardWrapper/styles.js +2 -1
- package/lib/common/components/shared/Card/CardWrapper/theme.js +2 -1
- package/lib/common/components/shared/Card/index.js +2 -1
- package/lib/common/components/shared/ExpandButton/index.js +4 -2
- package/lib/common/components/shared/ExpandButton/styles.js +2 -1
- package/lib/common/components/shared/ExpandButton/theme.js +2 -1
- package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +3 -2
- package/lib/common/components/shared/FormattedDuration/index.js +11 -7
- package/lib/common/components/shared/IfFeature/index.js +5 -3
- package/lib/common/components/shared/IfFeature/presenter.js +4 -2
- package/lib/common/components/shared/InteractionTypes/index.js +2 -1
- package/lib/common/components/shared/InteractionTypes/presenter.js +4 -2
- package/lib/common/components/shared/InteractionTypes/styles.js +2 -1
- package/lib/common/components/shared/InteractionTypes/theme.js +2 -1
- package/lib/common/components/shared/PaginatedCollection/index.js +4 -3
- package/lib/common/components/shared/PaginatedCollection/presenter.js +4 -2
- package/lib/common/components/shared/PaginatedCollection/styles.js +2 -1
- package/lib/common/components/shared/PaginatedCollection/theme.js +2 -1
- package/lib/common/components/shared/Paginator/index.js +4 -2
- package/lib/common/components/shared/Paginator/styles.js +2 -1
- package/lib/common/components/shared/Paginator/theme.js +2 -1
- package/lib/common/components/shared/PrintTrigger/index.js +5 -5
- package/lib/common/components/shared/PrintTrigger/presenter.js +5 -5
- package/lib/common/components/shared/TagDisplay/index.js +4 -2
- package/lib/common/components/shared/TagDisplay/styles.js +2 -1
- package/lib/common/components/shared/TagSelect/index.js +2 -1
- package/lib/common/components/shared/TagSelect/presenter.js +4 -2
- package/lib/common/components/shared/TagSuggestSelect/index.js +2 -1
- package/lib/common/components/shared/TagSuggestSelect/presenter.js +4 -2
- package/lib/common/components/shared/TagWrapper/index.js +2 -1
- package/lib/common/components/shared/TagWrapper/presenter.js +4 -2
- package/lib/common/components/shared/TimeUnitsInput/TimeUnitsInput.examples.js +3 -2
- package/lib/common/components/shared/TimeUnitsInput/index.js +4 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +4 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +2 -1
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -1
- package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +5 -3
- package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +4 -2
- package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +19 -17
- package/lib/common/components/shared/errors/Errors.js +4 -2
- package/lib/common/components/shared/errors/styles.js +2 -1
- package/lib/common/components/shared/errors/theme.js +2 -1
- package/lib/common/components/shared/file_selector/FileSelector.js +4 -2
- package/lib/common/components/shared/file_selector/styles.js +2 -1
- package/lib/common/components/shared/file_selector/theme.js +2 -1
- package/lib/common/components/shared/functionality/componentWithOutsideClick.js +2 -1
- package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +2 -1
- package/lib/common/components/shared/functionality/disableDraggingOverride.js +3 -2
- package/lib/common/components/shared/functionality/makeEditable.js +5 -3
- package/lib/common/components/shared/functionality/makeScrollable.js +7 -4
- package/lib/common/components/shared/overlay/index.js +2 -1
- package/lib/common/components/shared/overlay/styles.js +2 -1
- package/lib/common/components/shared/overlay/theme.js +2 -1
- package/lib/common/components/shared/return_button/ReturnButton.js +4 -2
- package/lib/common/components/shared/spinner/Spinner.js +4 -2
- package/lib/common/components/shared/spinner/styles.js +2 -1
- package/lib/common/kinesis/QuizEventsLogger.js +7 -4
- package/lib/common/kinesis/StreamQueue.js +3 -2
- package/lib/common/kinesis/client.js +9 -5
- package/lib/common/kinesis/config.js +10 -6
- package/lib/common/kinesis/eventTypes.js +15 -8
- package/lib/common/middleware/alertTimerMiddleware.js +2 -1
- package/lib/common/middleware/crossDomainMessagingMiddleware.js +2 -1
- package/lib/common/middleware/eventLoggerMiddleware.js +2 -1
- package/lib/common/middleware/persistedStorageMiddleware.js +2 -1
- package/lib/common/middleware/quizTimerWebSocketMiddleware.js +14 -8
- package/lib/common/react-redux.js +3 -2
- package/lib/common/records/Alert.js +4 -2
- package/lib/common/records/Bank.js +4 -2
- package/lib/common/records/BankEntry.js +4 -2
- package/lib/common/records/Item.js +4 -2
- package/lib/common/records/ItemAnalysis.js +4 -2
- package/lib/common/records/QtiImport.js +4 -2
- package/lib/common/records/Quiz.js +4 -2
- package/lib/common/records/QuizAnalysis.js +4 -2
- package/lib/common/records/QuizEntry.js +4 -2
- package/lib/common/records/QuizSession.js +4 -2
- package/lib/common/records/QuizSessionEvent.js +4 -2
- package/lib/common/records/QuizSessionResult.js +4 -2
- package/lib/common/records/Response.js +4 -2
- package/lib/common/records/SessionItem.js +4 -2
- package/lib/common/records/SessionItemResult.js +4 -2
- package/lib/common/records/Stimulus.js +4 -2
- package/lib/common/records/baseRecord.js +3 -2
- package/lib/common/reducers/alerts.js +3 -2
- package/lib/common/reducers/analyses.js +28 -15
- package/lib/common/reducers/bankEntries.js +3 -2
- package/lib/common/reducers/bankSearch.js +3 -2
- package/lib/common/reducers/banks.js +3 -2
- package/lib/common/reducers/calls.js +3 -2
- package/lib/common/reducers/config.js +3 -2
- package/lib/common/reducers/dragAndDrop.js +3 -2
- package/lib/common/reducers/editing.js +3 -2
- package/lib/common/reducers/errorsShowing.js +3 -2
- package/lib/common/reducers/features.js +3 -2
- package/lib/common/reducers/grading.js +3 -2
- package/lib/common/reducers/interactionTypes.js +3 -2
- package/lib/common/reducers/items.js +3 -2
- package/lib/common/reducers/modal.js +3 -2
- package/lib/common/reducers/moderation.js +3 -2
- package/lib/common/reducers/modifications.js +3 -2
- package/lib/common/reducers/outcomes.js +3 -2
- package/lib/common/reducers/printing.js +3 -2
- package/lib/common/reducers/qtiImports.js +3 -2
- package/lib/common/reducers/quizEntries.js +3 -2
- package/lib/common/reducers/quizExport.js +3 -2
- package/lib/common/reducers/quizSessionEvents.js +3 -2
- package/lib/common/reducers/quizSessionResults.js +3 -2
- package/lib/common/reducers/quizSessions.js +3 -2
- package/lib/common/reducers/quizzes.js +3 -2
- package/lib/common/reducers/rce.js +3 -2
- package/lib/common/reducers/regrading.js +3 -2
- package/lib/common/reducers/reporting.js +3 -2
- package/lib/common/reducers/scrolling.js +3 -2
- package/lib/common/reducers/sessionItemResults.js +3 -2
- package/lib/common/reducers/sessionItems.js +3 -2
- package/lib/common/reducers/sharedBanks.js +3 -2
- package/lib/common/reducers/sidebar.js +3 -2
- package/lib/common/reducers/stimuli.js +3 -2
- package/lib/common/reducers/tagAssociations.js +3 -2
- package/lib/common/reducers/taking.js +3 -2
- package/lib/common/reducers/ui.js +3 -2
- package/lib/common/reducers/upload.js +3 -2
- package/lib/common/selectors/analyses.js +24 -13
- package/lib/common/selectors/calculator.js +0 -4
- package/lib/common/selectors/interactionTypes.js +4 -2
- package/lib/common/selectors/qtiImports.js +3 -2
- package/lib/common/selectors/quizSessionResults.js +1 -1
- package/lib/common/selectors/quizSessions.js +14 -8
- package/lib/common/selectors/quizzes.js +25 -13
- package/lib/common/selectors/rce.js +6 -4
- package/lib/common/selectors/reporting.js +3 -2
- package/lib/common/selectors/sessionItemResults.js +4 -3
- package/lib/common/selectors/sessionItems.js +4 -3
- package/lib/common/selectors/taking.js +11 -8
- package/lib/common/selectors/ui.js +3 -2
- package/lib/common/util/CustomPropTypes.js +5 -3
- package/lib/common/util/ElementsForSelectors.js +3 -2
- package/lib/common/util/ExhaustivePaginatedFetcher.js +2 -1
- package/lib/common/util/Fetcher.js +4 -2
- package/lib/common/util/MultiWeakMap.js +3 -2
- package/lib/common/util/PaginatedFetcher.js +4 -2
- package/lib/common/util/ThunkQueue.js +3 -2
- package/lib/common/util/TimeRecordingService.js +4 -2
- package/lib/common/util/TimerService.js +6 -3
- package/lib/common/util/cachePreviousArgs.js +3 -2
- package/lib/common/util/callHelpers.js +10 -6
- package/lib/common/util/componentForItem.js +4 -2
- package/lib/common/util/debounceLatestPromise.js +3 -2
- package/lib/common/util/formatTimespan.js +3 -2
- package/lib/common/util/generateDisplayPositions.js +3 -2
- package/lib/common/util/httpHeaders.js +8 -5
- package/lib/common/util/immutableHelpers.js +8 -5
- package/lib/common/util/instUIMessages.js +3 -2
- package/lib/common/util/interactionTypeMetadata.js +6 -4
- package/lib/common/util/interactionTypePropsHelper.js +5 -6
- 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 +63 -63
- package/CHANGELOG.md +0 -4724
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
|
|
9
9
|
var _this = void 0;
|
|
10
|
-
var _default =
|
|
10
|
+
var _default = function _default(fn) {
|
|
11
11
|
var prevArgs = null;
|
|
12
12
|
var cachedValue;
|
|
13
13
|
return function () {
|
|
@@ -21,4 +21,5 @@ var _default = exports.default = function _default(fn) {
|
|
|
21
21
|
cachedValue = fn.apply(_this, args);
|
|
22
22
|
return cachedValue;
|
|
23
23
|
};
|
|
24
|
-
};
|
|
24
|
+
};
|
|
25
|
+
exports.default = _default;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.callbacksCompleteForCall = exports.errorCallFor = exports.successCallFor = exports.startCallFor = void 0;
|
|
7
7
|
var _quizCommon = require("@instructure/quiz-common");
|
|
8
8
|
var callAction = function callAction(callStatus, type) {
|
|
9
9
|
return {
|
|
@@ -14,16 +14,19 @@ var callAction = function callAction(callStatus, type) {
|
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
|
-
var startCallFor =
|
|
17
|
+
var startCallFor = function startCallFor(type) {
|
|
18
18
|
return callAction('calling', type);
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
exports.startCallFor = startCallFor;
|
|
21
|
+
var successCallFor = function successCallFor(type) {
|
|
21
22
|
return callAction('success', type);
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
exports.successCallFor = successCallFor;
|
|
25
|
+
var errorCallFor = function errorCallFor(type) {
|
|
24
26
|
return callAction('error', type);
|
|
25
27
|
};
|
|
26
|
-
|
|
28
|
+
exports.errorCallFor = errorCallFor;
|
|
29
|
+
var callbacksCompleteForCall = function callbacksCompleteForCall(type) {
|
|
27
30
|
return {
|
|
28
31
|
type: _quizCommon.SET_CALLBACKS_STATUS,
|
|
29
32
|
payload: {
|
|
@@ -31,4 +34,5 @@ var callbacksCompleteForCall = exports.callbacksCompleteForCall = function callb
|
|
|
31
34
|
status: 'complete'
|
|
32
35
|
}
|
|
33
36
|
};
|
|
34
|
-
};
|
|
37
|
+
};
|
|
38
|
+
exports.callbacksCompleteForCall = callbacksCompleteForCall;
|
|
@@ -12,7 +12,7 @@ var slugToNameMap = {
|
|
|
12
12
|
'multi-answer': 'MultipleAnswer',
|
|
13
13
|
choice: 'MultipleChoice'
|
|
14
14
|
};
|
|
15
|
-
var componentForItem =
|
|
15
|
+
var componentForItem = function componentForItem(intTypeSlug, usage) {
|
|
16
16
|
var componentKey = slugToNameMap[intTypeSlug];
|
|
17
17
|
if (!componentKey) {
|
|
18
18
|
componentKey = pascalize(intTypeSlug);
|
|
@@ -25,4 +25,6 @@ var componentForItem = exports.componentForItem = function componentForItem(intT
|
|
|
25
25
|
}
|
|
26
26
|
return component;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
exports.componentForItem = componentForItem;
|
|
29
|
+
var _default = componentForItem;
|
|
30
|
+
exports.default = _default;
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _debounce = _interopRequireDefault(require("lodash/debounce"));
|
|
9
|
-
var _default =
|
|
9
|
+
var _default = function _default(f, ms) {
|
|
10
10
|
var waiting = null;
|
|
11
11
|
var ready = function ready() {
|
|
12
12
|
var old = waiting;
|
|
@@ -28,4 +28,5 @@ var _default = exports.default = function _default(f, ms) {
|
|
|
28
28
|
debouncedThunk.apply(void 0, arguments);
|
|
29
29
|
return promise;
|
|
30
30
|
};
|
|
31
|
-
};
|
|
31
|
+
};
|
|
32
|
+
exports.default = _default;
|
|
@@ -4,9 +4,9 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.displayDateAndTimeInTimezone = displayDateAndTimeInTimezone;
|
|
8
7
|
exports.formatTime = formatTime;
|
|
9
8
|
exports.formatTimeToFullNumeric = formatTimeToFullNumeric;
|
|
9
|
+
exports.displayDateAndTimeInTimezone = displayDateAndTimeInTimezone;
|
|
10
10
|
exports.formatTimespan = void 0;
|
|
11
11
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
12
12
|
var _luxon = require("luxon");
|
|
@@ -27,9 +27,10 @@ var formatSeconds = function formatSeconds(seconds) {
|
|
|
27
27
|
seconds: seconds
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
|
-
var formatTimespan =
|
|
30
|
+
var formatTimespan = function formatTimespan(startTime, endTime) {
|
|
31
31
|
return formatTime(endTime - startTime, 1000);
|
|
32
32
|
};
|
|
33
|
+
exports.formatTimespan = formatTimespan;
|
|
33
34
|
function formatTime(time) {
|
|
34
35
|
var secondDuration = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
35
36
|
var totalSeconds = Math.floor(time / secondDuration);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = void 0;
|
|
7
6
|
exports.generateDisplayPositions = generateDisplayPositions;
|
|
7
|
+
exports.default = void 0;
|
|
8
8
|
function generateDisplayPositions(records) {
|
|
9
9
|
var asMap = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
10
10
|
var positionTuples = [];
|
|
@@ -25,4 +25,5 @@ function generateDisplayPositions(records) {
|
|
|
25
25
|
}
|
|
26
26
|
return asMap ? positionMap : positionTuples;
|
|
27
27
|
}
|
|
28
|
-
var _default =
|
|
28
|
+
var _default = generateDisplayPositions;
|
|
29
|
+
exports.default = _default;
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
var jsonHeaders =
|
|
6
|
+
exports.httpHeaders = exports.jwtHeader = exports.jsonHeaders = void 0;
|
|
7
|
+
var jsonHeaders = {
|
|
8
8
|
Accept: 'application/json',
|
|
9
9
|
'Content-Type': 'application/json'
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
exports.jsonHeaders = jsonHeaders;
|
|
12
|
+
var jwtHeader = function jwtHeader(token) {
|
|
12
13
|
if (token) {
|
|
13
14
|
return {
|
|
14
15
|
Authorization: token,
|
|
@@ -16,6 +17,8 @@ var jwtHeader = exports.jwtHeader = function jwtHeader(token) {
|
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
+
exports.jwtHeader = jwtHeader;
|
|
21
|
+
var httpHeaders = function httpHeaders(token) {
|
|
20
22
|
return Object.assign({}, jsonHeaders, jwtHeader(token));
|
|
21
|
-
};
|
|
23
|
+
};
|
|
24
|
+
exports.httpHeaders = httpHeaders;
|
|
@@ -3,25 +3,28 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.mergeDeepOnlyMaps = exports.
|
|
6
|
+
exports.mergeDeepOnlyMaps = exports.compact = exports.keyBy = void 0;
|
|
7
7
|
var _immutable = require("immutable");
|
|
8
|
-
var keyBy =
|
|
8
|
+
var keyBy = function keyBy(immutableList, keyAttr) {
|
|
9
9
|
return immutableList.reduce(function (keyedMap, i) {
|
|
10
10
|
return keyedMap.set(i.get(keyAttr), i);
|
|
11
11
|
}, (0, _immutable.Map)());
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
// Remove any undefined values
|
|
15
|
-
|
|
15
|
+
exports.keyBy = keyBy;
|
|
16
|
+
var compact = function compact(immutableList) {
|
|
16
17
|
return immutableList.filter(function (i) {
|
|
17
18
|
return !!i;
|
|
18
19
|
});
|
|
19
20
|
};
|
|
20
21
|
|
|
21
22
|
// Deep merge Maps, but not Lists or other Collections
|
|
22
|
-
|
|
23
|
+
exports.compact = compact;
|
|
24
|
+
var mergeDeepOnlyMaps = function mergeDeepOnlyMaps(oldVal, newVal, key) {
|
|
23
25
|
if (_immutable.Map.isMap(oldVal) && _immutable.Map.isMap(newVal)) {
|
|
24
26
|
return oldVal.mergeWith(mergeDeepOnlyMaps, newVal);
|
|
25
27
|
}
|
|
26
28
|
return newVal;
|
|
27
|
-
};
|
|
29
|
+
};
|
|
30
|
+
exports.mergeDeepOnlyMaps = mergeDeepOnlyMaps;
|
|
@@ -4,11 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.toErrors = void 0;
|
|
7
|
-
var toErrors =
|
|
7
|
+
var toErrors = function toErrors(errorMessages) {
|
|
8
8
|
return errorMessages.map(function (e) {
|
|
9
9
|
return {
|
|
10
10
|
text: e,
|
|
11
11
|
type: 'error'
|
|
12
12
|
};
|
|
13
13
|
});
|
|
14
|
-
};
|
|
14
|
+
};
|
|
15
|
+
exports.toErrors = toErrors;
|
|
@@ -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.interactionTypeMetadata = exports.interactionTypesNameDictionary = void 0;
|
|
8
8
|
var _uiIcons = require("@instructure/ui-icons");
|
|
9
9
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
10
10
|
// TODO: Add correct icon file imports when they are in inst icons
|
|
@@ -28,7 +28,7 @@ var interactionTypesIconDictionary = function interactionTypesIconDictionary(int
|
|
|
28
28
|
// 'essay': EssayIcon
|
|
29
29
|
}[intType.slug] || _uiIcons.IconPlusLine;
|
|
30
30
|
};
|
|
31
|
-
var interactionTypesNameDictionary =
|
|
31
|
+
var interactionTypesNameDictionary = function interactionTypesNameDictionary(intType) {
|
|
32
32
|
return {
|
|
33
33
|
categorization: (0, _formatMessage.default)('Categorization'),
|
|
34
34
|
choice: (0, _formatMessage.default)('Multiple Choice'),
|
|
@@ -45,9 +45,11 @@ var interactionTypesNameDictionary = exports.interactionTypesNameDictionary = fu
|
|
|
45
45
|
'true-false': (0, _formatMessage.default)('True or False')
|
|
46
46
|
}[intType.slug] || intType.name;
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
exports.interactionTypesNameDictionary = interactionTypesNameDictionary;
|
|
49
|
+
var interactionTypeMetadata = function interactionTypeMetadata(intType) {
|
|
49
50
|
return {
|
|
50
51
|
icon: interactionTypesIconDictionary(intType),
|
|
51
52
|
name: interactionTypesNameDictionary(intType)
|
|
52
53
|
};
|
|
53
|
-
};
|
|
54
|
+
};
|
|
55
|
+
exports.interactionTypeMetadata = interactionTypeMetadata;
|
|
@@ -8,7 +8,7 @@ exports.propsForInteractionShow = exports.propsForInteractionEdit = void 0;
|
|
|
8
8
|
var _quizRce = require("@instructure/quiz-rce");
|
|
9
9
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
10
10
|
var _featureCheck = require("./featureCheck.js");
|
|
11
|
-
var propsForInteractionEdit =
|
|
11
|
+
var propsForInteractionEdit = function propsForInteractionEdit(props, additionalOptions) {
|
|
12
12
|
var item = props.workingItem.toJS();
|
|
13
13
|
var changeItemState = function changeItemState(newState, inputId) {
|
|
14
14
|
props.clearValidationErrorsFromApi && props.clearValidationErrorsFromApi(inputId);
|
|
@@ -39,9 +39,6 @@ var propsForInteractionEdit = exports.propsForInteractionEdit = function propsFo
|
|
|
39
39
|
validationErrorsFromApi: props.validationErrorsFromApi,
|
|
40
40
|
errorsAreShowing: props.errorsAreShowing,
|
|
41
41
|
fitbCommonWordbankEnabled: props.fitbCommonWordbankEnabled,
|
|
42
|
-
hiddenOptions: {
|
|
43
|
-
calculator: !props.showCalculator
|
|
44
|
-
},
|
|
45
42
|
interactionData: item.interactionData,
|
|
46
43
|
interactionType: props.entry.getInteractionType(),
|
|
47
44
|
// SHIM: canvas-rce breaks on null values now
|
|
@@ -73,7 +70,8 @@ var propsForInteractionEdit = exports.propsForInteractionEdit = function propsFo
|
|
|
73
70
|
multipleHotSpotEnabled: (0, _featureCheck.featureOn)('multiple_hotspot_selections')
|
|
74
71
|
};
|
|
75
72
|
};
|
|
76
|
-
|
|
73
|
+
exports.propsForInteractionEdit = propsForInteractionEdit;
|
|
74
|
+
var propsForInteractionShow = function propsForInteractionShow(item) {
|
|
77
75
|
return {
|
|
78
76
|
itemId: item.id,
|
|
79
77
|
interactionData: item.interactionData,
|
|
@@ -85,4 +83,5 @@ var propsForInteractionShow = exports.propsForInteractionShow = function propsFo
|
|
|
85
83
|
notifyScreenreader: true,
|
|
86
84
|
scoringData: item.scoringData
|
|
87
85
|
};
|
|
88
|
-
};
|
|
86
|
+
};
|
|
87
|
+
exports.propsForInteractionShow = propsForInteractionShow;
|
|
@@ -23,4 +23,5 @@ var interactionTypeRecordForItem = function interactionTypeRecordForItem(intType
|
|
|
23
23
|
var recordName = "".concat(componentKey, "InteractionType");
|
|
24
24
|
return interactions[recordName] || interactions.InteractionType;
|
|
25
25
|
};
|
|
26
|
-
var _default =
|
|
26
|
+
var _default = interactionTypeRecordForItem;
|
|
27
|
+
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.jsoniblePromise = jsoniblePromise;
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
10
10
|
// used for testing fetch calls that expect a
|
|
11
11
|
// promise returned by jsonify
|
|
@@ -29,6 +29,7 @@ function jsoniblePromise(resolutionValue) {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
var _default =
|
|
32
|
+
var _default = function _default(res) {
|
|
33
33
|
return res.json();
|
|
34
|
-
};
|
|
34
|
+
};
|
|
35
|
+
exports.default = _default;
|
|
@@ -6,5 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ensureMathRendered = exports.ensureMathIsReady = void 0;
|
|
7
7
|
var _quizRce = require("@instructure/quiz-rce");
|
|
8
8
|
// This is needed because of ES Modul Export of RCE is not supported by Sinon
|
|
9
|
-
var ensureMathIsReady =
|
|
10
|
-
|
|
9
|
+
var ensureMathIsReady = _quizRce.ensureMathIsReady;
|
|
10
|
+
exports.ensureMathIsReady = ensureMathIsReady;
|
|
11
|
+
var ensureMathRendered = _quizRce.ensureMathRendered;
|
|
12
|
+
exports.ensureMathRendered = ensureMathRendered;
|
|
@@ -7,9 +7,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
9
9
|
var _quizCommon = require("@instructure/quiz-common");
|
|
10
|
-
var _default =
|
|
10
|
+
var _default = function _default(val, options) {
|
|
11
11
|
var limit = options.limit || _quizCommon.BUILD_CHAR_LIMIT;
|
|
12
12
|
if (val && JSON.stringify(val).length > limit) {
|
|
13
13
|
return (0, _formatMessage.default)('Maximum content exceeded');
|
|
14
14
|
}
|
|
15
|
-
};
|
|
15
|
+
};
|
|
16
|
+
exports.default = _default;
|
package/lib/common/util/noop.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
7
|
-
var printWithCss =
|
|
6
|
+
exports.ensureImagesLoaded = exports.printWithCss = void 0;
|
|
7
|
+
var printWithCss = function printWithCss(cssClass) {
|
|
8
8
|
var timeout = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
9
9
|
var rootElement = document.querySelector('html');
|
|
10
10
|
if (!rootElement || !cssClass) {
|
|
@@ -18,6 +18,7 @@ var printWithCss = exports.printWithCss = function printWithCss(cssClass) {
|
|
|
18
18
|
rootElement.classList.remove(cssClass);
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
|
+
exports.printWithCss = printWithCss;
|
|
21
22
|
var setTimeoutPromise = function setTimeoutPromise(delay) {
|
|
22
23
|
return new Promise(function (resolve, reject) {
|
|
23
24
|
try {
|
|
@@ -29,7 +30,7 @@ var setTimeoutPromise = function setTimeoutPromise(delay) {
|
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
32
|
};
|
|
32
|
-
var ensureImagesLoaded =
|
|
33
|
+
var ensureImagesLoaded = function ensureImagesLoaded() {
|
|
33
34
|
return new Promise(function (resolve) {
|
|
34
35
|
setTimeoutPromise(0).then(function () {
|
|
35
36
|
Promise.all(Array.from(document.images).filter(function (img) {
|
|
@@ -44,4 +45,5 @@ var ensureImagesLoaded = exports.ensureImagesLoaded = function ensureImagesLoade
|
|
|
44
45
|
});
|
|
45
46
|
});
|
|
46
47
|
});
|
|
47
|
-
};
|
|
48
|
+
};
|
|
49
|
+
exports.ensureImagesLoaded = ensureImagesLoaded;
|
|
@@ -9,7 +9,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
9
9
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
10
|
var _mathRenderingUtils = require("./mathRenderingUtils.js");
|
|
11
11
|
var _printUtils = require("./printUtils.js");
|
|
12
|
-
var ensureRCEContentIsLoaded =
|
|
12
|
+
var ensureRCEContentIsLoaded = /*#__PURE__*/function () {
|
|
13
13
|
var _ref = (0, _asyncToGenerator2.default)(/*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
14
14
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
15
15
|
while (1) {
|
|
@@ -26,4 +26,5 @@ var ensureRCEContentIsLoaded = exports.ensureRCEContentIsLoaded = /*#__PURE__*/f
|
|
|
26
26
|
return function ensureRCEContentIsLoaded() {
|
|
27
27
|
return _ref.apply(this, arguments);
|
|
28
28
|
};
|
|
29
|
-
}();
|
|
29
|
+
}();
|
|
30
|
+
exports.ensureRCEContentIsLoaded = ensureRCEContentIsLoaded;
|
|
@@ -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.renderAlerts = renderAlerts;
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
11
11
|
var _quizCommon = require("@instructure/quiz-common");
|
|
@@ -31,4 +31,5 @@ function renderAlerts(store) {
|
|
|
31
31
|
}, _ref2), (0, _quizCommon.politeLiveRegion)());
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
var _default =
|
|
34
|
+
var _default = renderAlerts;
|
|
35
|
+
exports.default = _default;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.default = void 0;
|
|
7
6
|
exports.serializeEvent = serializeEvent;
|
|
7
|
+
exports.default = void 0;
|
|
8
8
|
var _quizCommon = require("@instructure/quiz-common");
|
|
9
9
|
var _taking = require("../selectors/taking.js");
|
|
10
10
|
var _quizSessions = require("../selectors/quizSessions.js");
|
|
@@ -31,4 +31,5 @@ function serializeEvent(action, store) {
|
|
|
31
31
|
eventData: Object.assign({}, action.payload, defaultEventData)
|
|
32
32
|
}, authoritativeData);
|
|
33
33
|
}
|
|
34
|
-
var _default =
|
|
34
|
+
var _default = serializeEvent;
|
|
35
|
+
exports.default = _default;
|
|
@@ -12,7 +12,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
12
12
|
* to sessionStorage instead of localStorage, because some things you want to be
|
|
13
13
|
* accessible to only a single browser window/tab.
|
|
14
14
|
*/
|
|
15
|
-
var SessionStore =
|
|
15
|
+
var SessionStore = /*#__PURE__*/function () {
|
|
16
16
|
function SessionStore(storage) {
|
|
17
17
|
(0, _classCallCheck2.default)(this, SessionStore);
|
|
18
18
|
var newStorage = storage;
|
|
@@ -67,4 +67,6 @@ var SessionStore = exports.SessionStore = /*#__PURE__*/function () {
|
|
|
67
67
|
}]);
|
|
68
68
|
return SessionStore;
|
|
69
69
|
}();
|
|
70
|
-
|
|
70
|
+
exports.SessionStore = SessionStore;
|
|
71
|
+
var newSessionStore = new SessionStore();
|
|
72
|
+
exports.sessionStore = newSessionStore;
|
|
@@ -6,10 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _reduce = _interopRequireDefault(require("lodash/reduce"));
|
|
9
|
-
var _default =
|
|
9
|
+
var _default = function _default(obj, func) {
|
|
10
10
|
return (0, _reduce.default)(obj, function (memo, val, key) {
|
|
11
11
|
var output = memo;
|
|
12
12
|
output[key] = func(val);
|
|
13
13
|
return output;
|
|
14
14
|
}, {});
|
|
15
|
-
};
|
|
15
|
+
};
|
|
16
|
+
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.propsForBankEntryUnauthorizedEdit = exports.propsForStimulusBankEntryEditPrompt = exports.propsForItemBankEntryEditPrompt = exports.propsForBankEntryEditPrompt = exports.propsForBankEntryVersioningWrapper = exports.propsForStimulusVersioningWrapper = exports.propsForItemVersioningWrapper = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _partial = _interopRequireDefault(require("lodash/partial"));
|
|
10
10
|
var _uiText = require("@instructure/ui-text");
|
|
@@ -37,7 +37,7 @@ var propsForVersioningWrapper = function propsForVersioningWrapper(copyDescripti
|
|
|
37
37
|
}
|
|
38
38
|
return defaultProps;
|
|
39
39
|
};
|
|
40
|
-
var propsForItemVersioningWrapper =
|
|
40
|
+
var propsForItemVersioningWrapper = function propsForItemVersioningWrapper() {
|
|
41
41
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
42
42
|
args[_key] = arguments[_key];
|
|
43
43
|
}
|
|
@@ -47,7 +47,8 @@ var propsForItemVersioningWrapper = exports.propsForItemVersioningWrapper = func
|
|
|
47
47
|
color: "primary"
|
|
48
48
|
}, /*#__PURE__*/_react.default.createElement("b", null, (0, _formatMessage.default)('Some students have already submitted answers for this question!')), "\xA0", (0, _formatMessage.default)('You can apply your edits to a copy of this question' + ' which will only be seen by students that have not taken the assessment.'))].concat(args));
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
exports.propsForItemVersioningWrapper = propsForItemVersioningWrapper;
|
|
51
|
+
var propsForStimulusVersioningWrapper = function propsForStimulusVersioningWrapper() {
|
|
51
52
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
52
53
|
args[_key2] = arguments[_key2];
|
|
53
54
|
}
|
|
@@ -57,7 +58,8 @@ var propsForStimulusVersioningWrapper = exports.propsForStimulusVersioningWrappe
|
|
|
57
58
|
color: "primary"
|
|
58
59
|
}, /*#__PURE__*/_react.default.createElement("b", null, (0, _formatMessage.default)('Some students have already submitted answers for this stimulus!')), "\xA0", (0, _formatMessage.default)('You can apply your edits to a copy of this stimulus' + ' which will only be seen by students that have not taken the assessment.' + ' Attached questions will be copied as well.'))].concat(args));
|
|
59
60
|
};
|
|
60
|
-
|
|
61
|
+
exports.propsForStimulusVersioningWrapper = propsForStimulusVersioningWrapper;
|
|
62
|
+
var propsForBankEntryVersioningWrapper = function propsForBankEntryVersioningWrapper() {
|
|
61
63
|
for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
|
|
62
64
|
args[_key3] = arguments[_key3];
|
|
63
65
|
}
|
|
@@ -67,7 +69,8 @@ var propsForBankEntryVersioningWrapper = exports.propsForBankEntryVersioningWrap
|
|
|
67
69
|
color: "primary"
|
|
68
70
|
}, (0, _formatMessage.default)('This item has been deleted from the item bank. Students will still see it on future attempts. To edit, make a copy of the item.'))].concat(args));
|
|
69
71
|
};
|
|
70
|
-
|
|
72
|
+
exports.propsForBankEntryVersioningWrapper = propsForBankEntryVersioningWrapper;
|
|
73
|
+
var propsForBankEntryEditPrompt = function propsForBankEntryEditPrompt(isEditing, switchOffEditing, defaultActionCallback, description) {
|
|
71
74
|
if (!isEditing) return {
|
|
72
75
|
showAlert: false
|
|
73
76
|
};
|
|
@@ -80,7 +83,8 @@ var propsForBankEntryEditPrompt = exports.propsForBankEntryEditPrompt = function
|
|
|
80
83
|
showAlert: true
|
|
81
84
|
};
|
|
82
85
|
};
|
|
83
|
-
|
|
86
|
+
exports.propsForBankEntryEditPrompt = propsForBankEntryEditPrompt;
|
|
87
|
+
var propsForItemBankEntryEditPrompt = function propsForItemBankEntryEditPrompt() {
|
|
84
88
|
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
85
89
|
args[_key4] = arguments[_key4];
|
|
86
90
|
}
|
|
@@ -88,7 +92,8 @@ var propsForItemBankEntryEditPrompt = exports.propsForItemBankEntryEditPrompt =
|
|
|
88
92
|
color: "primary"
|
|
89
93
|
}, /*#__PURE__*/_react.default.createElement("b", null, (0, _formatMessage.default)('Banked Item.')), "\xA0", (0, _formatMessage.default)('Some options and the points value can be changed here but editing must take place within the bank.'))]));
|
|
90
94
|
};
|
|
91
|
-
|
|
95
|
+
exports.propsForItemBankEntryEditPrompt = propsForItemBankEntryEditPrompt;
|
|
96
|
+
var propsForStimulusBankEntryEditPrompt = function propsForStimulusBankEntryEditPrompt() {
|
|
92
97
|
for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
|
|
93
98
|
args[_key5] = arguments[_key5];
|
|
94
99
|
}
|
|
@@ -96,7 +101,8 @@ var propsForStimulusBankEntryEditPrompt = exports.propsForStimulusBankEntryEditP
|
|
|
96
101
|
"data-automation": "sdk-editInBanks-warning"
|
|
97
102
|
}, /*#__PURE__*/_react.default.createElement("b", null, (0, _formatMessage.default)('Banked Stimulus.')), "\xA0", (0, _formatMessage.default)('Editing of this stimulus must take place within the bank.'))]));
|
|
98
103
|
};
|
|
99
|
-
|
|
104
|
+
exports.propsForStimulusBankEntryEditPrompt = propsForStimulusBankEntryEditPrompt;
|
|
105
|
+
var propsForBankEntryUnauthorizedEdit = function propsForBankEntryUnauthorizedEdit(isEditing) {
|
|
100
106
|
if (!isEditing) return {
|
|
101
107
|
showAlert: false
|
|
102
108
|
};
|
|
@@ -109,4 +115,5 @@ var propsForBankEntryUnauthorizedEdit = exports.propsForBankEntryUnauthorizedEdi
|
|
|
109
115
|
hideActions: true,
|
|
110
116
|
showAlert: true
|
|
111
117
|
};
|
|
112
|
-
};
|
|
118
|
+
};
|
|
119
|
+
exports.propsForBankEntryUnauthorizedEdit = propsForBankEntryUnauthorizedEdit;
|
|
@@ -3,25 +3,30 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.isQuizBuilding = exports.isQuizTaking = exports.onTablet = exports.onPhone = exports.media = void 0;
|
|
7
7
|
var _quizCommon = require("@instructure/quiz-common");
|
|
8
|
-
var media =
|
|
8
|
+
var media = {
|
|
9
9
|
'phone-break-point': 'only screen and (max-width: 48rem)',
|
|
10
10
|
'tablet-break-point': 'only screen and (max-width: 64rem)'
|
|
11
11
|
};
|
|
12
|
-
|
|
12
|
+
exports.media = media;
|
|
13
|
+
var onPhone = function onPhone() {
|
|
13
14
|
var windowObj = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
14
15
|
var mediaQueryString = media['phone-break-point'];
|
|
15
16
|
return windowObj.matchMedia(mediaQueryString).matches;
|
|
16
17
|
};
|
|
17
|
-
|
|
18
|
+
exports.onPhone = onPhone;
|
|
19
|
+
var onTablet = function onTablet() {
|
|
18
20
|
var windowObj = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window;
|
|
19
21
|
var mediaQueryString = media['tablet-break-point'];
|
|
20
22
|
return !onPhone(windowObj) && windowObj.matchMedia(mediaQueryString).matches;
|
|
21
23
|
};
|
|
22
|
-
|
|
24
|
+
exports.onTablet = onTablet;
|
|
25
|
+
var isQuizTaking = function isQuizTaking() {
|
|
23
26
|
return (0, _quizCommon.isDuringQuizTake)();
|
|
24
27
|
};
|
|
25
|
-
|
|
28
|
+
exports.isQuizTaking = isQuizTaking;
|
|
29
|
+
var isQuizBuilding = function isQuizBuilding() {
|
|
26
30
|
return (0, _quizCommon.isDuringQuizBuild)();
|
|
27
|
-
};
|
|
31
|
+
};
|
|
32
|
+
exports.isQuizBuilding = isQuizBuilding;
|
|
@@ -9,7 +9,7 @@ var _MultiWeakMap = _interopRequireDefault(require("./MultiWeakMap.js"));
|
|
|
9
9
|
/* eslint "no-param-reassign": "warn" */
|
|
10
10
|
// Method decorator that uses a MultiWeakMap to cache the results of calls
|
|
11
11
|
// for argument combinations previously seen before. See tests for examples.
|
|
12
|
-
var _default =
|
|
12
|
+
var _default = function _default(target, name, descriptor) {
|
|
13
13
|
var decoratedMethod = descriptor.value;
|
|
14
14
|
var arity = decoratedMethod.length;
|
|
15
15
|
var cache = new _MultiWeakMap.default(arity);
|
|
@@ -28,4 +28,5 @@ var _default = exports.default = function _default(target, name, descriptor) {
|
|
|
28
28
|
return result;
|
|
29
29
|
};
|
|
30
30
|
return descriptor;
|
|
31
|
-
};
|
|
31
|
+
};
|
|
32
|
+
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.withDynamoPagination = withDynamoPagination;
|
|
8
|
+
exports.default = void 0;
|
|
9
9
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
10
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
11
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
@@ -103,4 +103,5 @@ function withDynamoPagination(Fetcher) {
|
|
|
103
103
|
return _class;
|
|
104
104
|
}(Fetcher);
|
|
105
105
|
}
|
|
106
|
-
var _default =
|
|
106
|
+
var _default = withDynamoPagination;
|
|
107
|
+
exports.default = _default;
|