@instructure/quiz-core 22.10.2 → 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 +19 -98
- 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/index.js +6 -3
- package/es/banks/components/SharingModal/presenter.js +208 -132
- package/es/building/api/items.js +121 -25
- package/es/building/api/quizEntries.js +79 -16
- 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 +22 -3
- package/es/common/actions/sharedBanks.js +13 -1
- package/es/common/actions/sharingModal.js +7 -0
- 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/index.js +1 -1
- package/es/common/components/resources/quiz/AddContent/Body/presenter.js +135 -141
- 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 +128 -119
- 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/index.js +1 -4
- package/es/common/components/shared/InteractionTypes/presenter.js +2 -4
- 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 +243 -0
- package/es/common/records/Bank.js +1 -1
- package/es/common/records/Item.js +3 -2
- package/es/common/records/Quiz.js +1 -1
- package/es/common/records/QuizAnalysis.js +1 -1
- package/es/common/records/QuizEntry.js +8 -1
- package/es/common/records/Stimulus.js +1 -1
- package/es/common/reducers/sharingModal.js +17 -0
- 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 +127 -0
- package/es/common/util/warningHelpers.js +1 -1
- package/es/common/util/withDynamoPagination.js +13 -2
- package/es/configureStore.js +4 -1
- package/es/grading/api/quizEntryRegrades.js +1 -1
- package/es/index.js +5 -3
- 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 +18 -97
- 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/index.js +5 -2
- package/lib/banks/components/SharingModal/presenter.js +206 -130
- package/lib/building/api/items.js +121 -24
- package/lib/building/api/quizEntries.js +79 -15
- 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 +21 -2
- package/lib/common/actions/sharedBanks.js +13 -1
- package/lib/common/actions/sharingModal.js +13 -0
- 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/index.js +1 -1
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +138 -141
- 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 +129 -119
- 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/index.js +1 -4
- package/lib/common/components/shared/InteractionTypes/presenter.js +2 -4
- 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 +250 -0
- package/lib/common/records/Bank.js +1 -1
- package/lib/common/records/Item.js +3 -2
- package/lib/common/records/Quiz.js +1 -1
- package/lib/common/records/QuizAnalysis.js +1 -1
- package/lib/common/records/QuizEntry.js +8 -1
- package/lib/common/records/Stimulus.js +1 -1
- package/lib/common/reducers/sharingModal.js +23 -0
- 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 +134 -0
- package/lib/common/util/warningHelpers.js +1 -1
- package/lib/common/util/withDynamoPagination.js +13 -2
- package/lib/configureStore.js +4 -1
- package/lib/grading/api/quizEntryRegrades.js +1 -1
- package/lib/index.js +37 -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
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
import { ADD_SHARED_BANKS, REMOVE_SHARED_BANK, UPDATE_SHARED_BANK_PERMISSION } from '@instructure/quiz-common';
|
|
1
|
+
import { ADD_SHARED_BANKS, REMOVE_SHARED_BANK, UPDATE_SHARED_BANK_PERMISSION, GET_SHARED_BANKS, GET_ALL_SHARED_ITEMS } from '@instructure/quiz-common';
|
|
2
2
|
export var addSharedBanks = function addSharedBanks(sharedBank) {
|
|
3
3
|
return {
|
|
4
4
|
type: ADD_SHARED_BANKS,
|
|
5
5
|
payload: sharedBank
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
+
export var getSharedBanksAction = function getSharedBanksAction(props) {
|
|
9
|
+
return {
|
|
10
|
+
type: GET_SHARED_BANKS,
|
|
11
|
+
payload: props
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export var getAllSharedItems = function getAllSharedItems(props) {
|
|
15
|
+
return {
|
|
16
|
+
type: GET_ALL_SHARED_ITEMS,
|
|
17
|
+
payload: props
|
|
18
|
+
};
|
|
19
|
+
};
|
|
8
20
|
export var updateSharedBankPermission = function updateSharedBankPermission(sharedBankId, permission) {
|
|
9
21
|
return {
|
|
10
22
|
type: UPDATE_SHARED_BANK_PERMISSION,
|
package/es/common/api/helpers.js
CHANGED
|
@@ -4,7 +4,7 @@ import { set as setUI } from '../actions/ui';
|
|
|
4
4
|
import { addError } from '../actions/alerts';
|
|
5
5
|
import { TRAY_ALERT_OPEN } from '@instructure/quiz-common';
|
|
6
6
|
import flatten from 'lodash/flatten';
|
|
7
|
-
import t from '@instructure/quiz-i18n/
|
|
7
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
8
8
|
export var handleError = function handleError(dispatch, errorMessage) {
|
|
9
9
|
return function (error) {
|
|
10
10
|
if (error.response && [404, 401].includes(error.response.status)) {
|
|
@@ -2,7 +2,7 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";
|
|
|
2
2
|
import Fetcher from '../util/Fetcher';
|
|
3
3
|
import withDynamoPagination from '../util/withDynamoPagination';
|
|
4
4
|
import noop from '../util/noop';
|
|
5
|
-
import t from '@instructure/quiz-i18n/
|
|
5
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
6
6
|
import { handleQuizSessionResponse } from './callHandlers';
|
|
7
7
|
import { OQAAT_NO_BACKTRACKING_NEXT_ITEM_FETCH_CALL, SESSION_ITEMS_FETCH_CALL, DO_NOTHING } from '@instructure/quiz-common';
|
|
8
8
|
import QuizSessionResult from '../records/QuizSessionResult';
|
|
@@ -21,7 +21,7 @@ function _callSuper(_this, derived, args) {
|
|
|
21
21
|
import React, { Component } from 'react';
|
|
22
22
|
import MaskedTextInput from '../MaskedTextInput';
|
|
23
23
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
24
|
-
import t from '@instructure/quiz-i18n/
|
|
24
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
25
25
|
export var AccessCodeTextInput = /*#__PURE__*/function (_Component) {
|
|
26
26
|
function AccessCodeTextInput() {
|
|
27
27
|
var _this2;
|
|
@@ -23,7 +23,7 @@ import PropTypes from 'prop-types';
|
|
|
23
23
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
24
24
|
import { Text } from '@instructure/ui-text';
|
|
25
25
|
import { Heading } from '@instructure/ui-heading';
|
|
26
|
-
import t from '@instructure/quiz-i18n/
|
|
26
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
27
27
|
import { ImportantModal, ModalHeader, ModalBody, ModalFooter, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
28
28
|
export var ConfirmationModal = /*#__PURE__*/function (_Component) {
|
|
29
29
|
function ConfirmationModal() {
|
|
@@ -27,7 +27,7 @@ import { Button } from '@instructure/ui-buttons';
|
|
|
27
27
|
import { Grid } from '@instructure/ui-grid';
|
|
28
28
|
import { jsx } from '@instructure/emotion';
|
|
29
29
|
import { IconUploadLine, IconCompleteLine } from '@instructure/ui-icons';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import FileSelector from '../../../../common/components/shared/file_selector/FileSelector';
|
|
32
32
|
import generateStyle from './styles';
|
|
33
33
|
import generateComponentTheme from './theme';
|
|
@@ -35,7 +35,7 @@ import { ImportantModal, ModalHeader, ModalBody, ModalFooter, FILE_UPLOAD_SELECT
|
|
|
35
35
|
import generateStyle from './styles';
|
|
36
36
|
import generateComponentTheme from './theme';
|
|
37
37
|
import ImportFileSelector from './ImportFileSelector';
|
|
38
|
-
import t from '@instructure/quiz-i18n/
|
|
38
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
39
39
|
export var ImportModal = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_ImportModal = /*#__PURE__*/function (_Component) {
|
|
40
40
|
function ImportModal() {
|
|
41
41
|
var _this2;
|
|
@@ -22,7 +22,7 @@ import React, { Component } from 'react';
|
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
23
|
import { IconButton } from '@instructure/ui-buttons';
|
|
24
24
|
import { IconPinLine, IconPinSolid } from '@instructure/ui-icons';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
export var Pin = /*#__PURE__*/function (_Component) {
|
|
27
27
|
function Pin() {
|
|
28
28
|
var _this2;
|
|
@@ -24,7 +24,7 @@ import { BarneyBox } from '@instructure/quiz-common';
|
|
|
24
24
|
import { Heading } from '@instructure/ui-heading';
|
|
25
25
|
import { IconEyeSolid } from '@instructure/ui-icons';
|
|
26
26
|
import { Button } from '@instructure/ui-buttons';
|
|
27
|
-
import t from '@instructure/quiz-i18n/
|
|
27
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
28
28
|
export var PreviewFrame = /*#__PURE__*/function (_Component) {
|
|
29
29
|
function PreviewFrame() {
|
|
30
30
|
_classCallCheck(this, PreviewFrame);
|
|
@@ -28,7 +28,7 @@ import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
|
28
28
|
import { jsx } from '@instructure/emotion';
|
|
29
29
|
import generateStyle from './styles';
|
|
30
30
|
import generateComponentTheme from './theme';
|
|
31
|
-
import t from '@instructure/quiz-i18n/
|
|
31
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
32
32
|
import { RadioInputGroup, RadioInput } from '@instructure/ui-radio-input';
|
|
33
33
|
import { Checkbox } from '@instructure/ui-checkbox';
|
|
34
34
|
export var PrintFontSizeModal = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_PrintFontSizeModal = /*#__PURE__*/function (_Component) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import t from '@instructure/quiz-i18n/
|
|
1
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
2
2
|
import { extractTextFromHtml } from '@instructure/quiz-interactions';
|
|
3
3
|
export var quizLogMsgErrorDuringTaking = function quizLogMsgErrorDuringTaking(stem) {
|
|
4
4
|
var normalizedStem = stem !== null && stem !== void 0 ? stem : 'Unknown stem';
|
|
@@ -41,7 +41,7 @@ import { renderAlerts } from '../../util/renderAlerts';
|
|
|
41
41
|
import generateStyle from './styles';
|
|
42
42
|
import CustomPropTypes from '../../../common/util/CustomPropTypes';
|
|
43
43
|
import ConfirmationModal from '../ConfirmationModal';
|
|
44
|
-
import setupFormatMessage from '@instructure/quiz-i18n
|
|
44
|
+
import { setupFormatMessage } from '@instructure/quiz-i18n';
|
|
45
45
|
import RceConfigProvider from '../RceConfigProvider';
|
|
46
46
|
import { ApiFeatureFlagInitializer } from '../ApiFeatureFlagInitializer';
|
|
47
47
|
export var SDKApp = (_dec = withStyleOverrides(generateStyle, null), _dec(_class = (_SDKApp = /*#__PURE__*/function (_Component) {
|
|
@@ -27,7 +27,7 @@ import partial from 'lodash/partial';
|
|
|
27
27
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
28
28
|
import { Alert } from '@instructure/ui-alerts';
|
|
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 generateComponentTheme from './theme';
|
|
33
33
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -26,7 +26,7 @@ import { jsx } from '@instructure/emotion';
|
|
|
26
26
|
import generateStyle from './styles';
|
|
27
27
|
import generateComponentTheme from './theme';
|
|
28
28
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
export var Page = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Page = /*#__PURE__*/function (_Component) {
|
|
31
31
|
function Page() {
|
|
32
32
|
_classCallCheck(this, Page);
|
|
@@ -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 { Button } from '@instructure/ui-buttons';
|
|
25
25
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
26
26
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
@@ -25,7 +25,7 @@ import PropTypes from 'prop-types';
|
|
|
25
25
|
import { IconHamburgerLine } from '@instructure/ui-icons';
|
|
26
26
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
27
27
|
import { jsx } from '@instructure/emotion';
|
|
28
|
-
import t from '@instructure/quiz-i18n/
|
|
28
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
29
29
|
import generateStyle from './styles';
|
|
30
30
|
import generateComponentTheme from './theme';
|
|
31
31
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -34,7 +34,7 @@ import FormattedDuration from '../../../shared/FormattedDuration';
|
|
|
34
34
|
import { formatTime } from '../../../../util/formatTimespan';
|
|
35
35
|
import generateStyle from './styles';
|
|
36
36
|
import generateComponentTheme from './theme';
|
|
37
|
-
import t from '@instructure/quiz-i18n/
|
|
37
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
38
38
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
39
39
|
export var Timer = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Timer = /*#__PURE__*/function (_Component) {
|
|
40
40
|
function Timer() {
|
|
@@ -27,7 +27,7 @@ import { Component } from 'react';
|
|
|
27
27
|
import PropTypes from 'prop-types';
|
|
28
28
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
29
29
|
import { IconQuizLine } from '@instructure/ui-icons';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import { jsx } from '@instructure/emotion';
|
|
32
32
|
import generateStyle from './styles';
|
|
33
33
|
import generateComponentTheme from './theme';
|
|
@@ -27,7 +27,7 @@ import PropTypes from 'prop-types';
|
|
|
27
27
|
import { jsx } from '@instructure/emotion';
|
|
28
28
|
import generateStyle from './styles';
|
|
29
29
|
import generateComponentTheme from './theme';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
32
32
|
export var PositionSummary = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_PositionSummary = /*#__PURE__*/function (_Component) {
|
|
33
33
|
function PositionSummary() {
|
|
@@ -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 { Link } from '@instructure/ui-link';
|
|
25
25
|
|
|
26
26
|
// Component exists to prevent the recreation of the scroll function with each render,
|
|
@@ -35,7 +35,7 @@ import { Text } from '@instructure/ui-text';
|
|
|
35
35
|
import { View } from '@instructure/ui-view';
|
|
36
36
|
import { jsx, Global } from '@instructure/emotion';
|
|
37
37
|
import { Heading } from '@instructure/ui-heading';
|
|
38
|
-
import t from '@instructure/quiz-i18n/
|
|
38
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
39
39
|
import { Tooltip } from '@instructure/ui-tooltip';
|
|
40
40
|
import { INSTRUCTIONS_SCROLL_KEY, RESULTS_SCROLL_KEY, SIDEBAR_NAV_ID, TITLE_SCROLL_KEY, END_EDITING_TRIGGER_CLASSNAME, withStyleOverrides } from '@instructure/quiz-common';
|
|
41
41
|
import { onPhone } from '../../../../util/windowChecks';
|
|
@@ -4,7 +4,7 @@ import { fileUploading } from '../../../../selectors/calls';
|
|
|
4
4
|
import { connect } from '../../../../react-redux';
|
|
5
5
|
import { SidebarItem as SidebarItemPresenter } from './presenter';
|
|
6
6
|
import { scrollToItem as scrollToItemAction } from '../../../../actions/scrolling';
|
|
7
|
-
import t from '@instructure/quiz-i18n/
|
|
7
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
8
8
|
export var mapStateToProps = function mapStateToProps(state, props) {
|
|
9
9
|
var displayPosition = props.quizEntry ? props.quizEntry.positionToDisplay(props.position) : t('{position, number}', {
|
|
10
10
|
position: props.position
|
|
@@ -26,7 +26,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
26
26
|
import { Link } from '@instructure/ui-link';
|
|
27
27
|
import { jsx } from '@instructure/emotion';
|
|
28
28
|
import PositionSummary from '../PositionSummary';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
31
31
|
import generateStyle from './styles';
|
|
32
32
|
import generateComponentTheme from './theme';
|
|
@@ -29,7 +29,7 @@ import { IconButton } from '@instructure/ui-buttons';
|
|
|
29
29
|
import { jsx } from '@instructure/emotion';
|
|
30
30
|
import PositionSummary from '../../PositionSummary';
|
|
31
31
|
import { DISPLAY_AS_SUMMARY_LIMIT } from '../presenter';
|
|
32
|
-
import t from '@instructure/quiz-i18n/
|
|
32
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
33
33
|
import generateStyle from './styles';
|
|
34
34
|
import generateComponentTheme from './theme';
|
|
35
35
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -27,7 +27,7 @@ import { jsx } from '@instructure/emotion';
|
|
|
27
27
|
import { DISPLAY_AS_SUMMARY_LIMIT } from '../presenter';
|
|
28
28
|
import generateStyle from './styles';
|
|
29
29
|
import generateComponentTheme from './theme';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
32
32
|
export var Summary = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_Summary = /*#__PURE__*/function (_Component) {
|
|
33
33
|
function Summary() {
|
|
@@ -31,7 +31,7 @@ import Title from './Title';
|
|
|
31
31
|
import Summary from './Summary';
|
|
32
32
|
import generateStyle from './styles';
|
|
33
33
|
import generateComponentTheme from './theme';
|
|
34
|
-
import t from '@instructure/quiz-i18n/
|
|
34
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
35
35
|
import { Flex, END_EDITING_TRIGGER_CLASSNAME, withStyleOverrides } from '@instructure/quiz-common';
|
|
36
36
|
import { Tooltip } from '@instructure/ui-tooltip';
|
|
37
37
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
@@ -24,7 +24,7 @@ function _callSuper(_this, derived, args) {
|
|
|
24
24
|
import React, { Component } from 'react';
|
|
25
25
|
import PropTypes from 'prop-types';
|
|
26
26
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
27
|
-
import t from '@instructure/quiz-i18n/
|
|
27
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
28
28
|
import { toErrors } from '../../../util/instUIMessages';
|
|
29
29
|
import { simpleFetchBanks } from '../../../../banks/api/banks';
|
|
30
30
|
import { GenericAsyncSearch } from '../../shared/GenericAsyncSearch/GenericAsyncSearch';
|
|
@@ -26,7 +26,7 @@ import { Alert } from '@instructure/ui-alerts';
|
|
|
26
26
|
import { Button } from '@instructure/ui-buttons';
|
|
27
27
|
import { Text } from '@instructure/ui-text';
|
|
28
28
|
import { jsx } from '@instructure/emotion';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
import generateStyle from './styles';
|
|
31
31
|
import generateComponentTheme from './theme';
|
|
32
32
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -26,7 +26,7 @@ import ReactDOM from 'react-dom';
|
|
|
26
26
|
import { Button } from '@instructure/ui-buttons';
|
|
27
27
|
import { View } from '@instructure/ui-view';
|
|
28
28
|
import { API_INPUT_VALIDATION_ERROR } from '@instructure/quiz-common';
|
|
29
|
-
import t from '@instructure/quiz-i18n/
|
|
29
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
30
30
|
import noop from '../../../../util/noop';
|
|
31
31
|
export var EntrySave = /*#__PURE__*/function (_Component) {
|
|
32
32
|
function EntrySave() {
|
|
@@ -27,7 +27,7 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
|
27
27
|
import CustomPropTypes from '../../../../../common/util/CustomPropTypes';
|
|
28
28
|
import componentForItem from '../../../../util/componentForItem';
|
|
29
29
|
import { liveRegion, COMPONENT_EDIT, FormFieldGroup } from '@instructure/quiz-common';
|
|
30
|
-
import t from '@instructure/quiz-i18n/
|
|
30
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
31
31
|
import { propsForInteractionEdit } from '../../../../util/interactionTypePropsHelper';
|
|
32
32
|
import { toErrors } from '../../../../util/instUIMessages';
|
|
33
33
|
export var ItemEdit = /*#__PURE__*/function (_Component) {
|
|
@@ -5,7 +5,7 @@ import { screenreaderNotification } from '../../../../../actions/alerts';
|
|
|
5
5
|
import AddContentBody from './presenter';
|
|
6
6
|
import { getInteractionTypes } from '../../../../../selectors/interactionTypes';
|
|
7
7
|
import { isEditingQuizEntry, getQuizEntryWithErrorsShowing } from '../../../../../selectors/quizzes';
|
|
8
|
-
var mapStateToProps = function mapStateToProps(state
|
|
8
|
+
var mapStateToProps = function mapStateToProps(state) {
|
|
9
9
|
return {
|
|
10
10
|
editingQuizEntry: isEditingQuizEntry(state),
|
|
11
11
|
interactionTypes: getInteractionTypes(state),
|