@instructure/quiz-core 22.11.0 → 22.11.1-rc.88
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/api/bankEntries.js +1 -1
- package/es/banks/api/banks.js +1 -1
- package/es/banks/api/copyingBanksPoller.js +1 -1
- package/es/banks/api/tagAssociations.js +1 -1
- package/es/banks/components/AddBankEntryModal/presenter.js +1 -1
- package/es/banks/components/AddToBankModal/presenter.js +1 -1
- package/es/banks/components/AsyncSearch/index.js +1 -1
- package/es/banks/components/Bank/presenter.js +1 -1
- package/es/banks/components/BankEntry/presenter.js +1 -1
- package/es/banks/components/BankEntryRow/presenter.js +1 -1
- package/es/banks/components/BankSearch/presenter.js +1 -1
- package/es/banks/components/Banks/presenter.js +1 -1
- package/es/banks/components/BanksList/presenter.js +1 -1
- package/es/banks/components/CopyMoveBankEntryModal/presenter.js +1 -1
- package/es/banks/components/CreateBankModal/presenter.js +1 -1
- package/es/banks/components/EditBankModal/presenter.js +1 -1
- package/es/banks/components/HeaderBreadCrumb/index.js +1 -1
- package/es/banks/components/HeaderMenu/presenter.js +1 -1
- package/es/banks/components/NavWrapper/presenter.js +1 -1
- package/es/banks/components/SharingModal/RootAccountSharing.js +1 -1
- package/es/banks/components/SharingModal/ShareList/index.js +1 -1
- package/es/banks/components/SharingModal/presenter.js +1 -1
- package/es/building/api/items.js +1 -1
- package/es/building/api/quizEntries.js +3 -3
- package/es/building/api/quizzes.js +1 -1
- package/es/building/api/stimuli.js +1 -1
- package/es/building/components/QTIImportModal/index.js +1 -1
- package/es/building/components/layout/Sidebar/presenter.js +1 -1
- package/es/building/components/layout/header/BuildingButtons/presenter.js +1 -1
- package/es/building/components/resources/AddToBankOptions/index.js +1 -1
- package/es/building/components/resources/BanksTray/presenter.js +1 -1
- package/es/building/components/resources/DeleteStimulusModal/presenter.js +1 -1
- package/es/building/components/resources/ItemFeedbackModal/presenter.js +1 -1
- package/es/building/components/resources/MoveImmutableModal/presenter.js +1 -1
- package/es/building/components/resources/quiz/editButton/EditButton.js +1 -1
- package/es/building/components/resources/quiz/instructions/Edit/presenter.js +1 -1
- package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +1 -1
- package/es/building/components/resources/quiz/instructions/Show/index.js +1 -1
- package/es/building/components/resources/quiz/title/Edit/index.js +1 -1
- package/es/building/components/resources/quiz/title/Title/presenter.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +1 -1
- package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +16 -6
- package/es/common/api/helpers.js +1 -1
- package/es/common/api/quizSessions.js +1 -1
- package/es/common/components/AccessCodeTextInput/index.js +1 -1
- package/es/common/components/ConfirmationModal/presenter.js +1 -1
- package/es/common/components/ImportModal/ImportFileSelector/index.js +1 -1
- package/es/common/components/ImportModal/presenter.js +1 -1
- package/es/common/components/Pin/presenter.js +1 -1
- package/es/common/components/PreviewFrame/index.js +1 -1
- package/es/common/components/PrintFontSizeModal/presenter.js +1 -1
- package/es/common/components/RceConfigProvider/rceConfigErrorMessages.js +1 -1
- package/es/common/components/SDKApp/index.js +1 -1
- package/es/common/components/alerts/presenter.js +1 -1
- package/es/common/components/layout/Page/index.js +1 -1
- package/es/common/components/layout/header/Calculator/presenter.js +1 -1
- package/es/common/components/layout/header/HeaderMenuButton/presenter.js +1 -1
- package/es/common/components/layout/header/Timer/presenter.js +1 -1
- package/es/common/components/layout/navbar/index.js +1 -1
- package/es/common/components/layout/sidebar/PositionSummary/index.js +1 -1
- package/es/common/components/layout/sidebar/Sidebar/Pin.js +1 -1
- package/es/common/components/layout/sidebar/Sidebar/index.js +1 -1
- package/es/common/components/layout/sidebar/SidebarItem/index.js +1 -1
- package/es/common/components/layout/sidebar/SidebarItem/presenter.js +1 -1
- package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +1 -1
- package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +1 -1
- package/es/common/components/layout/sidebar/Stimulus/presenter.js +1 -1
- package/es/common/components/resources/BankSelection/presenter.js +1 -1
- package/es/common/components/resources/WarningWrapper/index.js +1 -1
- package/es/common/components/resources/entry/EntrySave/presenter.js +1 -1
- package/es/common/components/resources/item/ItemEdit/presenter.js +1 -1
- package/es/common/components/resources/quiz/AddContent/Body/presenter.js +11 -5
- package/es/common/components/resources/quiz/AddContent/Button/index.js +1 -1
- package/es/common/components/resources/quiz/AddContent/Modal/presenter.js +61 -73
- package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +2 -0
- package/es/common/components/resources/quizSessionResult/Header/index.js +1 -1
- package/es/common/components/resources/quizSessionResult/Info/index.js +1 -1
- package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +1 -1
- package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +1 -1
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +1 -1
- package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +1 -1
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +1 -1
- package/es/common/components/resources/stimulus/StimulusShow/index.js +1 -1
- package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +1 -1
- package/es/common/components/shared/FormattedDuration/index.js +1 -1
- package/es/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +1 -1
- package/es/common/components/shared/InteractionTypes/presenter.js +1 -1
- package/es/common/components/shared/Paginator/index.js +1 -1
- package/es/common/components/shared/PrintTrigger/presenter.js +1 -1
- package/es/common/components/shared/TagDisplay/index.js +1 -1
- package/es/common/components/shared/TagSelect/presenter.js +1 -1
- package/es/common/components/shared/TagWrapper/presenter.js +1 -1
- package/es/common/components/shared/TimeUnitsInput/index.js +1 -1
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +1 -1
- package/es/common/components/shared/drag_and_drop/DragHandle/presenter.js +1 -1
- package/es/common/components/shared/return_button/ReturnButton.js +1 -1
- package/es/common/components/shared/spinner/Spinner.js +1 -1
- package/es/common/middleware/sharedBanksMiddleware.js +1 -1
- package/es/common/records/Bank.js +1 -1
- package/es/common/records/Item.js +1 -1
- package/es/common/records/Quiz.js +1 -1
- package/es/common/records/QuizAnalysis.js +1 -1
- package/es/common/records/QuizEntry.js +1 -1
- package/es/common/records/Stimulus.js +1 -1
- package/es/common/util/Fetcher.js +1 -1
- package/es/common/util/TimerService.js +1 -1
- package/es/common/util/formatTimespan.js +1 -1
- package/es/common/util/interactionTypeMetadata.js +1 -1
- package/es/common/util/interactionTypePropsHelper.js +1 -1
- package/es/common/util/maxContent.js +1 -1
- package/es/common/util/useRemoteComponent.js +1 -1
- package/es/common/util/warningHelpers.js +1 -1
- package/es/common/util/withDynamoPagination.js +13 -2
- package/es/grading/api/quizEntryRegrades.js +1 -1
- package/es/index.js +2 -1
- package/es/moderating/api/quizSessionEvents.js +4 -2
- package/es/moderating/components/events/PageBlurredEvent.js +1 -1
- package/es/moderating/components/events/PageFocusedEvent.js +1 -1
- package/es/moderating/components/events/ResponseEvent.js +1 -1
- package/es/moderating/components/events/SessionStartEvent.js +1 -1
- package/es/moderating/components/events/SessionSubmitEvent.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +1 -1
- package/es/moderating/components/resources/AccommodationsModal/index.js +1 -1
- package/es/moderating/components/resources/ElapsedTime.js +1 -1
- package/es/moderating/components/resources/EventDetails.js +1 -1
- package/es/moderating/components/resources/ModerateTable/presenter.js +1 -1
- package/es/moderating/components/resources/ModerateTableRow/presenter.js +1 -1
- package/es/moderating/components/resources/OutstandingQuizzesModal/presenter.js +1 -1
- package/es/moderating/components/resources/RetryGradePassbackButton/presenter.js +1 -1
- package/es/moderating/components/resources/util/renderEventSummary.js +1 -1
- package/es/moderating/components/sidebar/ModerateTray/presenter.js +1 -1
- package/es/moderating/components/sidebar/ResetQuiz/presenter.js +1 -1
- package/es/reporting/components/MetricsListItem/index.js +1 -1
- package/es/reporting/components/charts/CentileDistribution/presenter.js +1 -1
- package/es/reporting/components/charts/Distribution/presenter.js +1 -1
- package/es/reporting/components/charts/QuintileDistribution/presenter.js +1 -1
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +1 -1
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +1 -1
- package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +1 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +1 -1
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +1 -1
- package/es/reporting/components/resources/ReportCard/index.js +1 -1
- package/es/reporting/components/resources/ReportList/index.js +1 -1
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +1 -1
- package/es/reporting/components/resources/common/AnalysisUpdateDate/index.js +1 -1
- package/es/reporting/components/resources/common/ExportButton/index.js +1 -1
- package/es/reporting/components/resources/common/errorMessages.js +1 -1
- package/es/reporting/components/resources/common/utils.js +1 -1
- package/es/taking/api/taking.js +1 -1
- package/lib/banks/api/bankEntries.js +1 -1
- package/lib/banks/api/banks.js +1 -1
- package/lib/banks/api/copyingBanksPoller.js +1 -1
- package/lib/banks/api/tagAssociations.js +1 -1
- package/lib/banks/components/AddBankEntryModal/presenter.js +1 -1
- package/lib/banks/components/AddToBankModal/presenter.js +1 -1
- package/lib/banks/components/AsyncSearch/index.js +1 -1
- package/lib/banks/components/Bank/presenter.js +1 -1
- package/lib/banks/components/BankEntry/presenter.js +1 -1
- package/lib/banks/components/BankEntryRow/presenter.js +1 -1
- package/lib/banks/components/BankSearch/presenter.js +1 -1
- package/lib/banks/components/Banks/presenter.js +1 -1
- package/lib/banks/components/BanksList/presenter.js +1 -1
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +1 -1
- package/lib/banks/components/CreateBankModal/presenter.js +1 -1
- package/lib/banks/components/EditBankModal/presenter.js +1 -1
- package/lib/banks/components/HeaderBreadCrumb/index.js +1 -1
- package/lib/banks/components/HeaderMenu/presenter.js +1 -1
- package/lib/banks/components/NavWrapper/presenter.js +1 -1
- package/lib/banks/components/SharingModal/RootAccountSharing.js +1 -1
- package/lib/banks/components/SharingModal/ShareList/index.js +1 -1
- package/lib/banks/components/SharingModal/presenter.js +1 -1
- package/lib/building/api/items.js +1 -1
- package/lib/building/api/quizEntries.js +3 -3
- package/lib/building/api/quizzes.js +2 -2
- package/lib/building/api/stimuli.js +1 -1
- package/lib/building/components/QTIImportModal/index.js +1 -1
- package/lib/building/components/layout/Sidebar/presenter.js +1 -1
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +1 -1
- package/lib/building/components/resources/AddToBankOptions/index.js +1 -1
- package/lib/building/components/resources/BanksTray/presenter.js +1 -1
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +1 -1
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +1 -1
- package/lib/building/components/resources/MoveImmutableModal/presenter.js +1 -1
- package/lib/building/components/resources/quiz/editButton/EditButton.js +1 -1
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +1 -1
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +1 -1
- package/lib/building/components/resources/quiz/instructions/Show/index.js +1 -1
- package/lib/building/components/resources/quiz/title/Edit/index.js +1 -1
- package/lib/building/components/resources/quiz/title/Title/presenter.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +1 -1
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +15 -5
- package/lib/common/api/helpers.js +1 -1
- package/lib/common/api/quizSessions.js +1 -1
- package/lib/common/components/AccessCodeTextInput/index.js +1 -1
- package/lib/common/components/ConfirmationModal/presenter.js +1 -1
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +1 -1
- package/lib/common/components/ImportModal/presenter.js +1 -1
- package/lib/common/components/Pin/presenter.js +1 -1
- package/lib/common/components/PreviewFrame/index.js +1 -1
- package/lib/common/components/PrintFontSizeModal/presenter.js +1 -1
- package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +1 -1
- package/lib/common/components/SDKApp/index.js +2 -2
- package/lib/common/components/alerts/presenter.js +1 -1
- package/lib/common/components/layout/Page/index.js +1 -1
- package/lib/common/components/layout/header/Calculator/presenter.js +1 -1
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +1 -1
- package/lib/common/components/layout/header/Timer/presenter.js +1 -1
- package/lib/common/components/layout/navbar/index.js +1 -1
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +1 -1
- package/lib/common/components/layout/sidebar/Sidebar/Pin.js +1 -1
- package/lib/common/components/layout/sidebar/Sidebar/index.js +1 -1
- package/lib/common/components/layout/sidebar/SidebarItem/index.js +1 -1
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +1 -1
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +1 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +1 -1
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +1 -1
- package/lib/common/components/resources/BankSelection/presenter.js +1 -1
- package/lib/common/components/resources/WarningWrapper/index.js +1 -1
- package/lib/common/components/resources/entry/EntrySave/presenter.js +1 -1
- package/lib/common/components/resources/item/ItemEdit/presenter.js +1 -1
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +11 -5
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +1 -1
- package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +61 -75
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +2 -0
- package/lib/common/components/resources/quizSessionResult/Header/index.js +1 -1
- package/lib/common/components/resources/quizSessionResult/Info/index.js +1 -1
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +1 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +1 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +1 -1
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +1 -1
- package/lib/common/components/shared/FormattedDuration/index.js +1 -1
- package/lib/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +1 -1
- package/lib/common/components/shared/InteractionTypes/presenter.js +1 -1
- package/lib/common/components/shared/Paginator/index.js +1 -1
- package/lib/common/components/shared/PrintTrigger/presenter.js +1 -1
- package/lib/common/components/shared/TagDisplay/index.js +1 -1
- package/lib/common/components/shared/TagSelect/presenter.js +1 -1
- package/lib/common/components/shared/TagWrapper/presenter.js +1 -1
- package/lib/common/components/shared/TimeUnitsInput/index.js +1 -1
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +1 -1
- package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +1 -1
- package/lib/common/components/shared/return_button/ReturnButton.js +1 -1
- package/lib/common/components/shared/spinner/Spinner.js +1 -1
- package/lib/common/middleware/sharedBanksMiddleware.js +1 -1
- package/lib/common/records/Bank.js +1 -1
- package/lib/common/records/Item.js +1 -1
- package/lib/common/records/Quiz.js +1 -1
- package/lib/common/records/QuizAnalysis.js +1 -1
- package/lib/common/records/QuizEntry.js +1 -1
- package/lib/common/records/Stimulus.js +1 -1
- package/lib/common/util/Fetcher.js +1 -1
- package/lib/common/util/TimerService.js +1 -1
- package/lib/common/util/formatTimespan.js +1 -1
- package/lib/common/util/interactionTypeMetadata.js +1 -1
- package/lib/common/util/interactionTypePropsHelper.js +1 -1
- package/lib/common/util/maxContent.js +1 -1
- package/lib/common/util/useRemoteComponent.js +1 -1
- package/lib/common/util/warningHelpers.js +1 -1
- package/lib/common/util/withDynamoPagination.js +13 -2
- package/lib/grading/api/quizEntryRegrades.js +1 -1
- package/lib/index.js +15 -0
- package/lib/moderating/api/quizSessionEvents.js +4 -2
- package/lib/moderating/components/events/PageBlurredEvent.js +1 -1
- package/lib/moderating/components/events/PageFocusedEvent.js +1 -1
- package/lib/moderating/components/events/ResponseEvent.js +1 -1
- package/lib/moderating/components/events/SessionStartEvent.js +1 -1
- package/lib/moderating/components/events/SessionSubmitEvent.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js +1 -1
- package/lib/moderating/components/resources/AccommodationsModal/index.js +1 -1
- package/lib/moderating/components/resources/ElapsedTime.js +1 -1
- package/lib/moderating/components/resources/EventDetails.js +1 -1
- package/lib/moderating/components/resources/ModerateTable/presenter.js +1 -1
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +1 -1
- package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +1 -1
- package/lib/moderating/components/resources/RetryGradePassbackButton/presenter.js +1 -1
- package/lib/moderating/components/resources/util/renderEventSummary.js +1 -1
- package/lib/moderating/components/sidebar/ModerateTray/presenter.js +1 -1
- package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +1 -1
- package/lib/reporting/components/MetricsListItem/index.js +1 -1
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +1 -1
- package/lib/reporting/components/charts/Distribution/presenter.js +1 -1
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +1 -1
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +1 -1
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +1 -1
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +1 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +1 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +1 -1
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +1 -1
- package/lib/reporting/components/resources/ReportCard/index.js +1 -1
- package/lib/reporting/components/resources/ReportList/index.js +1 -1
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +1 -1
- package/lib/reporting/components/resources/common/AnalysisUpdateDate/index.js +1 -1
- package/lib/reporting/components/resources/common/ExportButton/index.js +1 -1
- package/lib/reporting/components/resources/common/errorMessages.js +1 -1
- package/lib/reporting/components/resources/common/utils.js +1 -1
- package/lib/taking/api/taking.js +1 -1
- package/package.json +40 -32
|
@@ -27,7 +27,7 @@ import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
|
27
27
|
import { Text } from '@instructure/ui-text';
|
|
28
28
|
import { Tag } from '@instructure/ui-tag';
|
|
29
29
|
import { jsx } from '@instructure/emotion';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
33
33
|
export var TagDisplay = (_dec = withStyleOverrides(generateStyle, null), _dec(_class = (_TagDisplay = /*#__PURE__*/function (_Component) {
|
|
@@ -24,7 +24,7 @@ import React, { Component } from 'react';
|
|
|
24
24
|
import PropTypes from 'prop-types';
|
|
25
25
|
import TagWrapper from '../TagWrapper';
|
|
26
26
|
import differenceBy from 'lodash/differenceBy';
|
|
27
|
-
import t from '@instructure/quiz-i18n/
|
|
27
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
28
28
|
import { SELECT_EMPTY_OPTION, Select } from '@instructure/quiz-common';
|
|
29
29
|
var tagShape = PropTypes.shape({
|
|
30
30
|
id: PropTypes.string,
|
|
@@ -22,7 +22,7 @@ import React, { Component } from 'react';
|
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
23
|
import { Tag } from '@instructure/ui-tag';
|
|
24
24
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
export var TagWrapper = /*#__PURE__*/function (_Component) {
|
|
27
27
|
function TagWrapper() {
|
|
28
28
|
var _this2;
|
|
@@ -25,7 +25,7 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
|
25
25
|
import { View } from '@instructure/ui-view';
|
|
26
26
|
import { List } from 'immutable';
|
|
27
27
|
import { breakdownSeconds, DAY_IN_SECONDS, HOUR_IN_SECONDS, MINUTE_IN_SECONDS } from '../FormattedDuration';
|
|
28
|
-
import t from '@instructure/quiz-i18n/
|
|
28
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
29
29
|
import { NumberInput } from '@instructure/quiz-number-input';
|
|
30
30
|
|
|
31
31
|
// This component renders an input for multiple time units, and handles:
|
|
@@ -23,7 +23,7 @@ function _callSuper(_this, derived, args) {
|
|
|
23
23
|
import { Component } from 'react';
|
|
24
24
|
import PropTypes from 'prop-types';
|
|
25
25
|
import { jsx } from '@instructure/emotion';
|
|
26
|
-
import t from '@instructure/quiz-i18n/
|
|
26
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
27
27
|
import generateStyle from './styles';
|
|
28
28
|
import generateComponentTheme from './theme';
|
|
29
29
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -25,7 +25,7 @@ import { Map } from 'immutable';
|
|
|
25
25
|
import { IconButton } from '@instructure/ui-buttons';
|
|
26
26
|
import { Menu } from '@instructure/ui-menu';
|
|
27
27
|
import { IconArrowDownLine, IconArrowUpLine, IconDragHandleLine, IconMiniArrowDownLine, IconMiniArrowUpLine } from '@instructure/ui-icons';
|
|
28
|
-
import t from '@instructure/quiz-i18n/
|
|
28
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
29
29
|
import keyboardClickable from '../../../../../common/util/keyboardClickable';
|
|
30
30
|
import { MOVE_IMMUTABLE_DATA, SIDEBAR_NAV_ID, MOVED_QUIZ_ENTRY, MOVED_IN_SIDEBAR, MOVE } from '@instructure/quiz-common';
|
|
31
31
|
export var DragHandle = /*#__PURE__*/function (_Component) {
|
|
@@ -21,7 +21,7 @@ function _callSuper(_this, derived, args) {
|
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
23
|
import { Button } from '@instructure/ui-buttons';
|
|
24
|
-
import t from '@instructure/quiz-i18n/
|
|
24
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
25
25
|
import { SecondaryNavBarButton } from '../../layout/navbar/SecondaryNavBarButton';
|
|
26
26
|
export var ReturnButton = /*#__PURE__*/function (_Component) {
|
|
27
27
|
function ReturnButton() {
|
|
@@ -27,7 +27,7 @@ import { Text } from '@instructure/ui-text';
|
|
|
27
27
|
import { Spinner } from '@instructure/ui-spinner';
|
|
28
28
|
import { PresentationContent } from '@instructure/ui-a11y-content';
|
|
29
29
|
import { jsx } from '@instructure/emotion';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
33
33
|
export var QuizzesSpinner = (_dec = withStyleOverrides(generateStyle, null), _dec(_class = (_QuizzesSpinner = /*#__PURE__*/function (_Component) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
2
2
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
3
3
|
import Fetcher from '../util/Fetcher';
|
|
4
|
-
import t from '@instructure/quiz-i18n/
|
|
4
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
5
5
|
import { handleError } from '../api/helpers';
|
|
6
6
|
import { handleShareBanksResponse } from '../api/callHandlers';
|
|
7
7
|
import { CAN_EDIT, SHARED_WITH_USER, SHARED_WITH_COURSE, SHARED_WITH_ACCOUNT, GET_SHARED_BANKS } from '@instructure/quiz-common';
|
|
@@ -20,7 +20,7 @@ function _callSuper(_this, derived, args) {
|
|
|
20
20
|
}
|
|
21
21
|
import { Set } from 'immutable';
|
|
22
22
|
import ReduxRecord from './reduxRecord';
|
|
23
|
-
import t from '@instructure/quiz-i18n/
|
|
23
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
24
24
|
import { TEMPORARY_BANK_ID, CAN_EDIT } from '@instructure/quiz-common';
|
|
25
25
|
import { rule } from 'instructure-validations';
|
|
26
26
|
import { presenceMessage } from '@instructure/quiz-interactions';
|
|
@@ -19,7 +19,7 @@ function _callSuper(_this, derived, args) {
|
|
|
19
19
|
}
|
|
20
20
|
import { fromJS, Map, is } from 'immutable';
|
|
21
21
|
import { InteractionType as InteractionTypeRecord } from '@instructure/quiz-interactions';
|
|
22
|
-
import t from '@instructure/quiz-i18n/
|
|
22
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
23
23
|
import { rule } from 'instructure-validations';
|
|
24
24
|
import { TEMPORARY_ITEM_ID, BUILD_CHAR_LIMIT, RICH_FILL_BLANK_SLUG } from '@instructure/quiz-common';
|
|
25
25
|
import ReduxRecord from './reduxRecord';
|
|
@@ -22,7 +22,7 @@ function _callSuper(_this, derived, args) {
|
|
|
22
22
|
import { List, Map } from 'immutable';
|
|
23
23
|
import { rule } from 'instructure-validations';
|
|
24
24
|
import { presenceMessage } from '@instructure/quiz-interactions';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
import QuizAnalysis from './QuizAnalysis';
|
|
27
27
|
import ReduxRecord from './reduxRecord';
|
|
28
28
|
import withStateCache from '../util/withStateCache';
|
|
@@ -18,7 +18,7 @@ function _callSuper(_this, derived, args) {
|
|
|
18
18
|
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
19
19
|
}
|
|
20
20
|
import ReduxRecord from './reduxRecord';
|
|
21
|
-
import t from '@instructure/quiz-i18n/
|
|
21
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
22
22
|
export var QuizAnalysis = /*#__PURE__*/function (_ReduxRecord) {
|
|
23
23
|
function QuizAnalysis() {
|
|
24
24
|
_classCallCheck(this, QuizAnalysis);
|
|
@@ -32,7 +32,7 @@ import _BankEntry from './BankEntry';
|
|
|
32
32
|
import { TEMPORARY_ITEM_ID, TEMPORARY_STIMULUS_ID, TEMPORARY_QUIZ_ENTRY_ID, REMOVE, MOVE, EDIT, COPY } from '@instructure/quiz-common';
|
|
33
33
|
import { mergeDeepOnlyMaps } from '../util/immutableHelpers';
|
|
34
34
|
import withStateCache from '../util/withStateCache';
|
|
35
|
-
import t from '@instructure/quiz-i18n/
|
|
35
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
36
36
|
var acceptedVerbs = [REMOVE, MOVE, EDIT, COPY];
|
|
37
37
|
export var QuizEntry = (_dec = withStateCache(function () {
|
|
38
38
|
return [['quizEntries'], ['modifications', 'quizEntries']];
|
|
@@ -20,7 +20,7 @@ function _callSuper(_this, derived, args) {
|
|
|
20
20
|
import { is } from 'immutable';
|
|
21
21
|
import ReduxRecord from './reduxRecord';
|
|
22
22
|
import { TEMPORARY_STIMULUS_ID } from '@instructure/quiz-common';
|
|
23
|
-
import t from '@instructure/quiz-i18n/
|
|
23
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
24
24
|
import { rule } from 'instructure-validations';
|
|
25
25
|
import { presenceMessage } from '@instructure/quiz-interactions';
|
|
26
26
|
export var Stimulus = /*#__PURE__*/function (_ReduxRecord) {
|
|
@@ -8,7 +8,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
8
8
|
import { decamelizeKeys } from 'humps';
|
|
9
9
|
import queryString from 'query-string';
|
|
10
10
|
import fetch from 'isomorphic-fetch';
|
|
11
|
-
import t from '@instructure/quiz-i18n/
|
|
11
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
12
12
|
import jsonify from './jsonify';
|
|
13
13
|
import { httpHeaders, jwtHeader } from './httpHeaders';
|
|
14
14
|
import store from '../../reduxStore';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
2
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
-
import t from '@instructure/quiz-i18n/
|
|
4
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
5
5
|
import reduxStore from '../../reduxStore';
|
|
6
6
|
export var MAX_SETTIMEOUT_IN_MILLISECONDS = 20 * 24 * 3600 * 1000; // ms of 20 days
|
|
7
7
|
export var TimerService = /*#__PURE__*/function () {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// import { FillBlankIcon } from '@instructure/ui-icons'
|
|
8
8
|
// import { EssayIcon } from '@instructure/ui-icons'
|
|
9
9
|
import { IconPlusLine } from '@instructure/ui-icons';
|
|
10
|
-
import t from '@instructure/quiz-i18n/
|
|
10
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
11
11
|
var interactionTypesIconDictionary = function interactionTypesIconDictionary(intType) {
|
|
12
12
|
return {
|
|
13
13
|
// TODO: Uncomment when we have the icons imported
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RichContentInput } from '@instructure/quiz-rce';
|
|
2
|
-
import t from '@instructure/quiz-i18n/
|
|
2
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
3
3
|
import { featureOn } from './featureCheck';
|
|
4
4
|
export var propsForInteractionEdit = function propsForInteractionEdit(props, additionalOptions) {
|
|
5
5
|
var item = props.workingItem.toJS();
|
|
@@ -3,7 +3,7 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
// @ts-check
|
|
5
5
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
|
-
import t from '@instructure/quiz-i18n/
|
|
6
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Custom hook to load and render a remote component asynchronously.
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import partial from 'lodash/partial';
|
|
4
4
|
import { Text } from '@instructure/ui-text';
|
|
5
5
|
import { View } from '@instructure/ui-view';
|
|
6
|
-
import t from '@instructure/quiz-i18n/
|
|
6
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
7
7
|
var propsForVersioningWrapper = function propsForVersioningWrapper(copyDescription, immutableDescription, isImmutable, shouldClone, setShouldClone, switchOffEditing, isEditing) {
|
|
8
8
|
var alertType = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : 'warning';
|
|
9
9
|
var defaultProps = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
2
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
3
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
|
3
4
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
4
5
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
@@ -6,6 +7,8 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConst
|
|
|
6
7
|
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
7
8
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
8
9
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
10
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
9
12
|
function _callSuper(_this, derived, args) {
|
|
10
13
|
function isNativeReflectConstruct() {
|
|
11
14
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
@@ -20,7 +23,15 @@ function _callSuper(_this, derived, args) {
|
|
|
20
23
|
derived = _getPrototypeOf(derived);
|
|
21
24
|
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
22
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Returns a class that extends the Fetcher class to handle DynamoDB pagination.
|
|
28
|
+
*
|
|
29
|
+
* @param {Function} Fetcher - The Fetcher class to extend
|
|
30
|
+
* @param {Object.<string, any>} optionalParams - Optional query parameters to pass to the request
|
|
31
|
+
* @returns {Function} - A new class that extends Fetcher with pagination capabilities
|
|
32
|
+
*/
|
|
23
33
|
export function withDynamoPagination(Fetcher) {
|
|
34
|
+
var optionalParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
24
35
|
return /*#__PURE__*/function (_Fetcher) {
|
|
25
36
|
function _class() {
|
|
26
37
|
var _this2;
|
|
@@ -58,10 +69,10 @@ export function withDynamoPagination(Fetcher) {
|
|
|
58
69
|
ancillary = [];
|
|
59
70
|
case 3:
|
|
60
71
|
_context.next = 5;
|
|
61
|
-
return this.get(url, {
|
|
72
|
+
return this.get(url, _objectSpread({
|
|
62
73
|
lastEvaluatedHashKey: lastEvaluatedHashKey,
|
|
63
74
|
lastEvaluatedRangeKey: lastEvaluatedRangeKey
|
|
64
|
-
});
|
|
75
|
+
}, optionalParams));
|
|
65
76
|
case 5:
|
|
66
77
|
response = _context.sent;
|
|
67
78
|
responses.push(response);
|
|
@@ -2,7 +2,7 @@ import { CREATE_QUIZ_ENTRY_REGRADE, REGRADE_MODAL } from '@instructure/quiz-comm
|
|
|
2
2
|
import { closeModal } from '../../common/actions/modal';
|
|
3
3
|
import Fetcher from '../../common/util/Fetcher';
|
|
4
4
|
import { processApiError, getOnErrorWithDelayedValidationMessage } from '../../common/api/helpers';
|
|
5
|
-
import t from '@instructure/quiz-i18n/
|
|
5
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
6
6
|
export function createQuizEntryRegrade(quizId, payload) {
|
|
7
7
|
var url = "/api/quizzes/".concat(quizId, "/quiz_entry_regrades");
|
|
8
8
|
var params = {
|
package/es/index.js
CHANGED
|
@@ -27,6 +27,7 @@ export { BuildingButtons } from './building/components/layout/header/BuildingBut
|
|
|
27
27
|
export { AccommodationModal } from './moderating/components/resources/AccommodationsModal';
|
|
28
28
|
export { ExtraAttemptSettings } from './moderating/components/resources/AccommodationsModal/ExtraAttemptSettings';
|
|
29
29
|
export { ExtraTimeSettings } from './moderating/components/resources/AccommodationsModal/ExtraTimeSettings';
|
|
30
|
+
export { ReduceAnswerChoicesSettings } from './moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings';
|
|
30
31
|
export { PreviewFrame } from './common/components/PreviewFrame';
|
|
31
32
|
export { SDKHeaderCalculator } from './common/components/SDKHeaderCalculator';
|
|
32
33
|
export { QuizzesSpinner } from './common/components/shared/spinner/Spinner';
|
|
@@ -106,7 +107,7 @@ export { toErrors } from './common/util/instUIMessages';
|
|
|
106
107
|
export { elementsForSelectors } from './common/util/ElementsForSelectors';
|
|
107
108
|
export { formatTime } from './common/util/formatTimespan';
|
|
108
109
|
export { connect } from './common/react-redux';
|
|
109
|
-
export { breakdownSeconds, HOUR_IN_SECONDS } from './common/components/shared/FormattedDuration';
|
|
110
|
+
export { breakdownSeconds, HOUR_IN_SECONDS, MINUTE_IN_SECONDS } from './common/components/shared/FormattedDuration';
|
|
110
111
|
export { sessionStore } from './common/util/sessionStore';
|
|
111
112
|
export { printWithCss, ensureImagesLoaded } from './common/util/printUtils';
|
|
112
113
|
export { ensureRCEContentIsLoaded } from './common/util/rceChecker';
|
|
@@ -2,9 +2,11 @@ import Fetcher from '../../common/util/Fetcher';
|
|
|
2
2
|
import withDynamoPagination from '../../common/util/withDynamoPagination';
|
|
3
3
|
import { handleQuizSessionEventsResponse } from '../../common/api/callHandlers';
|
|
4
4
|
import { QUIZ_SESSION_EVENTS_FETCH_CALL } from '@instructure/quiz-common';
|
|
5
|
-
export function getQuizSessionEvents(quizSessionId) {
|
|
5
|
+
export function getQuizSessionEvents(quizSessionId, launchToken) {
|
|
6
6
|
var url = "/api/quiz_sessions/".concat(quizSessionId, "/quiz_session_events");
|
|
7
|
-
var fetcher = Reflect.construct(withDynamoPagination(Fetcher
|
|
7
|
+
var fetcher = Reflect.construct(withDynamoPagination(Fetcher, launchToken ? {
|
|
8
|
+
launchToken: launchToken
|
|
9
|
+
} : {}), [{
|
|
8
10
|
callType: QUIZ_SESSION_EVENTS_FETCH_CALL
|
|
9
11
|
}]);
|
|
10
12
|
return function (dispatch, getState) {
|
|
@@ -19,7 +19,7 @@ function _callSuper(_this, derived, args) {
|
|
|
19
19
|
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
20
20
|
}
|
|
21
21
|
import { Component } from 'react';
|
|
22
|
-
import t from '@instructure/quiz-i18n/
|
|
22
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
23
23
|
import { eventDataPropType } from '../../../reporting/components/resources/common/propTypes';
|
|
24
24
|
import renderSummary from '../resources/util/renderEventSummary';
|
|
25
25
|
export var PageBlurredEvent = /*#__PURE__*/function (_Component) {
|
|
@@ -19,7 +19,7 @@ function _callSuper(_this, derived, args) {
|
|
|
19
19
|
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
20
20
|
}
|
|
21
21
|
import { Component } from 'react';
|
|
22
|
-
import t from '@instructure/quiz-i18n/
|
|
22
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
23
23
|
import { eventDataPropType } from '../../../reporting/components/resources/common/propTypes';
|
|
24
24
|
import renderSummary from '../resources/util/renderEventSummary';
|
|
25
25
|
export var PageFocusedEvent = /*#__PURE__*/function (_Component) {
|
|
@@ -28,7 +28,7 @@ import { Text } from '@instructure/ui-text';
|
|
|
28
28
|
import { Img } from '@instructure/ui-img';
|
|
29
29
|
import { ToggleDetails } from '@instructure/ui-toggle-details';
|
|
30
30
|
import { jsx } from '@instructure/emotion';
|
|
31
|
-
import t from '@instructure/quiz-i18n/
|
|
31
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
32
32
|
import { extractTextFromHtml } from '@instructure/quiz-interactions';
|
|
33
33
|
import { EventDetails } from '../resources/EventDetails';
|
|
34
34
|
import generateStyle from './styles';
|
|
@@ -21,7 +21,7 @@ function _callSuper(_this, derived, args) {
|
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
22
|
import { EventDetails } from '../resources/EventDetails';
|
|
23
23
|
import { ToggleDetails } from '@instructure/ui-toggle-details';
|
|
24
|
-
import t from '@instructure/quiz-i18n/
|
|
24
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
25
25
|
import { eventDataPropType } from '../../../reporting/components/resources/common/propTypes';
|
|
26
26
|
import renderEventSummary from '../resources/util/renderEventSummary';
|
|
27
27
|
export var SessionStartEvent = /*#__PURE__*/function (_Component) {
|
|
@@ -19,7 +19,7 @@ function _callSuper(_this, derived, args) {
|
|
|
19
19
|
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
20
20
|
}
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
|
-
import t from '@instructure/quiz-i18n/
|
|
22
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
23
23
|
import { EventDetails } from '../resources/EventDetails';
|
|
24
24
|
import { ToggleDetails } from '@instructure/ui-toggle-details';
|
|
25
25
|
import { eventDataPropType } from '../../../reporting/components/resources/common/propTypes';
|
|
@@ -22,7 +22,7 @@ import React, { Component } from 'react';
|
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
23
|
import { View } from '@instructure/ui-view';
|
|
24
24
|
import NumberInput from '@instructure/quiz-number-input';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
var ExtraAttemptsInput = /*#__PURE__*/function (_Component) {
|
|
27
27
|
function ExtraAttemptsInput() {
|
|
28
28
|
var _this2;
|
package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js
CHANGED
|
@@ -20,7 +20,7 @@ function _callSuper(_this, derived, args) {
|
|
|
20
20
|
}
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
|
-
import t from '@instructure/quiz-i18n/
|
|
23
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
24
24
|
import ExtraAttemptsInput from './ExtraAttemptsInput';
|
|
25
25
|
export var ExtraAttemptSettings = /*#__PURE__*/function (_Component) {
|
|
26
26
|
function ExtraAttemptSettings() {
|
|
@@ -23,7 +23,7 @@ import CustomPropTypes from '../../../../../common/util/CustomPropTypes';
|
|
|
23
23
|
import PropTypes from 'prop-types';
|
|
24
24
|
import { View } from '@instructure/ui-view';
|
|
25
25
|
import NumberInput from '@instructure/quiz-number-input';
|
|
26
|
-
import t from '@instructure/quiz-i18n/
|
|
26
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
27
27
|
import { withI18nSupport } from '@instructure/quiz-common';
|
|
28
28
|
var ExtraTimeMultiplier = /*#__PURE__*/function (_withI18nSupport) {
|
|
29
29
|
function ExtraTimeMultiplier() {
|
|
@@ -26,7 +26,7 @@ import { SimpleSelect, Flex } from '@instructure/quiz-common';
|
|
|
26
26
|
import TimeUnitsInput from '../../../../../common/components/shared/TimeUnitsInput';
|
|
27
27
|
import ExtraTimeMultiplier from '../ExtraTimeMultiplier';
|
|
28
28
|
import { HOUR_IN_SECONDS } from '../../../../../common/components/shared/FormattedDuration';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
var getTimeAdjustmentType = function getTimeAdjustmentType(timerSettings) {
|
|
31
31
|
if (timerSettings.timerMultiplierEnabled) {
|
|
32
32
|
return 'timerMultiplierEnabled';
|
package/es/moderating/components/resources/AccommodationsModal/ReduceAnswerChoicesSettings/index.js
CHANGED
|
@@ -27,7 +27,7 @@ import { IconButton } from '@instructure/ui-buttons';
|
|
|
27
27
|
import { IconInfoLine as IconInfo } from '@instructure/ui-icons';
|
|
28
28
|
import { Tooltip } from '@instructure/ui-tooltip';
|
|
29
29
|
import { View } from '@instructure/ui-view';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
export var ReduceAnswerChoicesSettings = /*#__PURE__*/function (_Component) {
|
|
32
32
|
function ReduceAnswerChoicesSettings() {
|
|
33
33
|
var _this2;
|
|
@@ -26,7 +26,7 @@ import { TruncateText } from '@instructure/ui-truncate-text';
|
|
|
26
26
|
import { Heading } from '@instructure/ui-heading';
|
|
27
27
|
import { View } from '@instructure/ui-view';
|
|
28
28
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
31
31
|
export var AccommodationModal = /*#__PURE__*/function (_Component) {
|
|
32
32
|
function AccommodationModal() {
|
|
@@ -20,7 +20,7 @@ function _callSuper(_this, derived, args) {
|
|
|
20
20
|
}
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
|
-
import t from '@instructure/quiz-i18n/
|
|
23
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
24
24
|
import { withI18nSupport } from '@instructure/quiz-common';
|
|
25
25
|
export var ElapsedTime = /*#__PURE__*/function (_withI18nSupport) {
|
|
26
26
|
function ElapsedTime() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Table } from '@instructure/ui-table';
|
|
2
2
|
import { Text } from '@instructure/ui-text';
|
|
3
|
-
import t from '@instructure/quiz-i18n/
|
|
3
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
export var EventDetails = function EventDetails(_ref) {
|
|
6
6
|
var currentEventData = _ref.currentEventData,
|
|
@@ -34,7 +34,7 @@ import { Table } from '@instructure/ui-table';
|
|
|
34
34
|
import { IconButton } from '@instructure/ui-buttons';
|
|
35
35
|
import { IconInfoLine, IconConfigureLine } from '@instructure/ui-icons';
|
|
36
36
|
import { jsx } from '@instructure/emotion';
|
|
37
|
-
import t from '@instructure/quiz-i18n/
|
|
37
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
38
38
|
import ModerateTableRow from '../ModerateTableRow';
|
|
39
39
|
import IfFeature from '../../../../common/components/shared/IfFeature';
|
|
40
40
|
import OutstandingQuizzesModal from '../OutstandingQuizzesModal';
|
|
@@ -34,7 +34,7 @@ import { Table } from '@instructure/ui-table';
|
|
|
34
34
|
import { IconEditLine, IconWarningLine, IconWarningSolid } from '@instructure/ui-icons';
|
|
35
35
|
import { IconButton } from '@instructure/ui-buttons';
|
|
36
36
|
import { jsx } from '@instructure/emotion';
|
|
37
|
-
import t from '@instructure/quiz-i18n/
|
|
37
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
38
38
|
import { withI18nSupport, withStyleOverrides } from '@instructure/quiz-common';
|
|
39
39
|
import FormattedDuration from '../../../../common/components/shared/FormattedDuration';
|
|
40
40
|
import generateStyle from './styles';
|
|
@@ -29,7 +29,7 @@ import { Heading } from '@instructure/ui-heading';
|
|
|
29
29
|
import { Checkbox, CheckboxGroup } from '@instructure/ui-checkbox';
|
|
30
30
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
31
31
|
import { OUTSTANDING_QUIZZES_MODAL } from '@instructure/quiz-common';
|
|
32
|
-
import t from '@instructure/quiz-i18n/
|
|
32
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
33
33
|
export var OutstandingQuizzesModal = /*#__PURE__*/function (_Component) {
|
|
34
34
|
function OutstandingQuizzesModal(props) {
|
|
35
35
|
var _this2;
|
|
@@ -4,7 +4,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { Button } from '@instructure/ui-buttons';
|
|
6
6
|
import { IconRefreshLine } from '@instructure/ui-icons';
|
|
7
|
-
import t from '@instructure/quiz-i18n/
|
|
7
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
export function RetryGradePassbackButton(_ref) {
|
|
10
10
|
var addAlert = _ref.addAlert,
|
|
@@ -3,7 +3,7 @@ import { Tooltip } from '@instructure/ui-tooltip';
|
|
|
3
3
|
import { IconButton } from '@instructure/ui-buttons';
|
|
4
4
|
import { IconWarningSolid } from '@instructure/ui-icons';
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import t from '@instructure/quiz-i18n/
|
|
6
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
7
7
|
var renderEventSummary = function renderEventSummary(eventName, multipleSessionAttempt) {
|
|
8
8
|
var multipleSessionsMessage = t('Multiple sessions detected');
|
|
9
9
|
return /*#__PURE__*/React.createElement(Text, {
|
|
@@ -20,7 +20,7 @@ function _callSuper(_this, derived, args) {
|
|
|
20
20
|
}
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
|
-
import t from '@instructure/quiz-i18n/
|
|
23
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
24
24
|
import { View } from '@instructure/ui-view';
|
|
25
25
|
import { Text } from '@instructure/ui-text';
|
|
26
26
|
import { Heading } from '@instructure/ui-heading';
|
|
@@ -22,7 +22,7 @@ function _callSuper(_this, derived, args) {
|
|
|
22
22
|
}
|
|
23
23
|
import React, { Component } from 'react';
|
|
24
24
|
import PropTypes from 'prop-types';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
import { Button } from '@instructure/ui-buttons';
|
|
27
27
|
import { Heading } from '@instructure/ui-heading';
|
|
28
28
|
import { Tooltip } from '@instructure/ui-tooltip';
|
|
@@ -27,7 +27,7 @@ import PropTypes from 'prop-types';
|
|
|
27
27
|
import { Metric } from '@instructure/ui-metric';
|
|
28
28
|
import { ScreenReaderContent, PresentationContent } from '@instructure/ui-a11y-content';
|
|
29
29
|
import { jsx } from '@instructure/emotion';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
33
33
|
export var MetricsListItem = (_dec = withStyleOverrides(generateStyle, null), _dec(_class = (_MetricsListItem = /*#__PURE__*/function (_Component) {
|
|
@@ -27,7 +27,7 @@ import { jsx } from '@instructure/emotion';
|
|
|
27
27
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
28
28
|
import { Table } from '@instructure/ui-table';
|
|
29
29
|
import Distribution from '../Distribution';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import generateComponentTheme from './theme';
|
|
33
33
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -27,7 +27,7 @@ import { axisBottom } from 'd3-axis';
|
|
|
27
27
|
import { scaleBand, scaleLinear } from 'd3-scale';
|
|
28
28
|
import { select } from 'd3-selection';
|
|
29
29
|
import { jsx, css } from '@instructure/emotion';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import generateComponentTheme from './theme';
|
|
33
33
|
import { ScreenReaderContent, PresentationContent } from '@instructure/ui-a11y-content';
|
|
@@ -26,7 +26,7 @@ import { PropTypes } from 'prop-types';
|
|
|
26
26
|
import { jsx, css } from '@instructure/emotion';
|
|
27
27
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
28
28
|
import { Table } from '@instructure/ui-table';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
import Distribution from '../Distribution';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import generateComponentTheme from './theme';
|
|
@@ -29,7 +29,7 @@ import { IconXSolid, IconCheckSolid } from '@instructure/ui-icons';
|
|
|
29
29
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
30
30
|
import { Table } from '@instructure/ui-table';
|
|
31
31
|
import { jsx } from '@instructure/emotion';
|
|
32
|
-
import t from '@instructure/quiz-i18n/
|
|
32
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
33
33
|
import { extractTextFromHtml } from '@instructure/quiz-interactions';
|
|
34
34
|
import generateComponentTheme from './theme';
|
|
35
35
|
import generateStyle from './styles';
|
|
@@ -37,7 +37,7 @@ import QuintileDistribution from '../../charts/QuintileDistribution';
|
|
|
37
37
|
import Legend from '../../charts/Legend';
|
|
38
38
|
import Caption from '../../Caption';
|
|
39
39
|
import MetricsListItem from '../../MetricsListItem';
|
|
40
|
-
import t from '@instructure/quiz-i18n/
|
|
40
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
41
41
|
import { liveRegion, withI18nSupport, withStyleOverrides } from '@instructure/quiz-common';
|
|
42
42
|
import generateStyle from './styles';
|
|
43
43
|
import generateComponentTheme from './theme';
|
|
@@ -28,7 +28,7 @@ import { MetricGroup } from '@instructure/ui-metric';
|
|
|
28
28
|
import { Text } from '@instructure/ui-text';
|
|
29
29
|
import { jsx } from '@instructure/emotion';
|
|
30
30
|
import FormattedDuration from '../../../common/components/shared/FormattedDuration';
|
|
31
|
-
import t from '@instructure/quiz-i18n/
|
|
31
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
32
32
|
import Card from '../../../common/components/shared/Card';
|
|
33
33
|
import Spinner from '../../../common/components/shared/spinner/Spinner';
|
|
34
34
|
import CentileDistribution from '../charts/CentileDistribution';
|