@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
|
@@ -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) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import { jsx } from '@instructure/emotion';
|
|
3
3
|
import { BUILD_TRAY_OPEN, BUILD_TRAY_POSITION, BUILD_TRAY_STIMULUS_ID, withStyleOverrides } from '@instructure/quiz-common';
|
|
4
|
-
import t from '@instructure/quiz-i18n/
|
|
4
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
5
5
|
import { Button, IconButton } from '@instructure/ui-buttons';
|
|
6
6
|
import { Grid } from '@instructure/ui-grid';
|
|
7
7
|
import { IconAiSolid, IconBankLine } from '@instructure/ui-icons';
|
|
@@ -36,7 +36,9 @@ function UnstyledAddContentBody(_ref) {
|
|
|
36
36
|
stimulusId = _ref.stimulusId,
|
|
37
37
|
styles = _ref.styles,
|
|
38
38
|
_ref$slotProps = _ref.slotProps,
|
|
39
|
-
slotProps = _ref$slotProps === void 0 ? {} : _ref$slotProps
|
|
39
|
+
slotProps = _ref$slotProps === void 0 ? {} : _ref$slotProps,
|
|
40
|
+
_ref$containerType = _ref.containerType,
|
|
41
|
+
containerType = _ref$containerType === void 0 ? 'popover' : _ref$containerType;
|
|
40
42
|
var openBankTray = useCallback(function () {
|
|
41
43
|
onOpenBankTray();
|
|
42
44
|
setUi(BUILD_TRAY_OPEN, true);
|
|
@@ -100,13 +102,17 @@ function UnstyledAddContentBody(_ref) {
|
|
|
100
102
|
width: "auto"
|
|
101
103
|
}, renderBankButton())))), ((_slotProps$quizGenera = slotProps.quizGenerationButton) === null || _slotProps$quizGenera === void 0 ? void 0 : _slotProps$quizGenera.visible) && jsx(View, {
|
|
102
104
|
as: "div",
|
|
103
|
-
|
|
105
|
+
maxWidth: containerType === 'modal' ? '100%' : '50%',
|
|
106
|
+
padding: containerType === 'modal' ? 'x-small 0 small' : 'x-small x-small small 0'
|
|
104
107
|
}, jsx(Button, {
|
|
105
|
-
|
|
108
|
+
size: "small",
|
|
106
109
|
display: "block",
|
|
110
|
+
color: "ai-primary",
|
|
111
|
+
textAlign: "start",
|
|
107
112
|
renderIcon: IconAiSolid,
|
|
108
113
|
onClick: (_slotProps$quizGenera2 = slotProps.quizGenerationButton) === null || _slotProps$quizGenera2 === void 0 ? void 0 : _slotProps$quizGenera2.onClick,
|
|
109
|
-
disabled: (_slotProps$quizGenera3 = slotProps.quizGenerationButton) === null || _slotProps$quizGenera3 === void 0 ? void 0 : _slotProps$quizGenera3.disabled
|
|
114
|
+
disabled: (_slotProps$quizGenera3 = slotProps.quizGenerationButton) === null || _slotProps$quizGenera3 === void 0 ? void 0 : _slotProps$quizGenera3.disabled,
|
|
115
|
+
"data-automation": "sdk-interaction-button-ai"
|
|
110
116
|
}, t('Generate with AI'))));
|
|
111
117
|
};
|
|
112
118
|
return jsx("div", {
|
|
@@ -26,7 +26,7 @@ import { IconPlusLine } from '@instructure/ui-icons';
|
|
|
26
26
|
import { PresentationContent, ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
27
27
|
import { Button } from '@instructure/ui-buttons';
|
|
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 { END_EDITING_TRIGGER_CLASSNAME, withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -1,88 +1,76 @@
|
|
|
1
|
-
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
2
|
-
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
3
|
-
import _possibleConstructorReturn from "@babel/runtime/helpers/esm/possibleConstructorReturn";
|
|
4
|
-
import _getPrototypeOf from "@babel/runtime/helpers/esm/getPrototypeOf";
|
|
5
|
-
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
6
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if (Reflect.construct.sham) return false;
|
|
11
|
-
if (typeof Proxy === "function") return true;
|
|
12
|
-
try {
|
|
13
|
-
return !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
14
|
-
} catch (e) {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
derived = _getPrototypeOf(derived);
|
|
19
|
-
return _possibleConstructorReturn(_this, isNativeReflectConstruct() ? Reflect.construct(derived, args || [], _getPrototypeOf(_this).constructor) : derived.apply(_this, args));
|
|
20
|
-
}
|
|
21
|
-
import React, { Component } from 'react';
|
|
2
|
+
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; }
|
|
3
|
+
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; }
|
|
4
|
+
import React from 'react';
|
|
22
5
|
import PropTypes from 'prop-types';
|
|
23
6
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
24
7
|
import { Heading } from '@instructure/ui-heading';
|
|
25
8
|
import { Modal, ModalHeader, ModalBody, ModalFooter } from '@instructure/quiz-common';
|
|
26
|
-
import t from '@instructure/quiz-i18n/
|
|
9
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
27
10
|
import AddContentBody from '../Body';
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
11
|
+
import { quizGenerationButtonPropTypes } from '../Body/presenter';
|
|
12
|
+
export function AddContentModal(_ref) {
|
|
13
|
+
var allowStimulusCreation = _ref.allowStimulusCreation,
|
|
14
|
+
closeModal = _ref.closeModal,
|
|
15
|
+
modalOpen = _ref.modalOpen,
|
|
16
|
+
_ref$parentEntryId = _ref.parentEntryId,
|
|
17
|
+
parentEntryId = _ref$parentEntryId === void 0 ? void 0 : _ref$parentEntryId,
|
|
18
|
+
position = _ref.position,
|
|
19
|
+
quizId = _ref.quizId,
|
|
20
|
+
_ref$stimulusId = _ref.stimulusId,
|
|
21
|
+
stimulusId = _ref$stimulusId === void 0 ? void 0 : _ref$stimulusId,
|
|
22
|
+
_ref$slotProps = _ref.slotProps,
|
|
23
|
+
slotProps = _ref$slotProps === void 0 ? {} : _ref$slotProps;
|
|
24
|
+
var handleGenerateWithAiClick = function handleGenerateWithAiClick() {
|
|
25
|
+
var _slotProps$quizGenera, _slotProps$quizGenera2;
|
|
26
|
+
slotProps === null || slotProps === void 0 || (_slotProps$quizGenera = slotProps.quizGenerationButton) === null || _slotProps$quizGenera === void 0 || (_slotProps$quizGenera2 = _slotProps$quizGenera.onClick) === null || _slotProps$quizGenera2 === void 0 || _slotProps$quizGenera2.call(_slotProps$quizGenera, position);
|
|
27
|
+
closeModal();
|
|
28
|
+
};
|
|
29
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Modal, {
|
|
30
|
+
open: modalOpen,
|
|
31
|
+
onDismiss: closeModal,
|
|
32
|
+
size: "large",
|
|
33
|
+
label: t('Add Content')
|
|
34
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(Heading, {
|
|
35
|
+
level: "reset",
|
|
36
|
+
as: "h2"
|
|
37
|
+
}, t('Insert Content')), /*#__PURE__*/React.createElement(CloseButton, {
|
|
38
|
+
onClick: closeModal,
|
|
39
|
+
placement: "end",
|
|
40
|
+
offset: "medium",
|
|
41
|
+
screenReaderLabel: t('Close')
|
|
42
|
+
})), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(AddContentBody, {
|
|
43
|
+
allowStimulusCreation: allowStimulusCreation,
|
|
44
|
+
onOpenBankTray: closeModal,
|
|
45
|
+
onAddItem: closeModal,
|
|
46
|
+
parentEntryId: parentEntryId,
|
|
47
|
+
position: position,
|
|
48
|
+
quizId: quizId,
|
|
49
|
+
showHeaderText: false,
|
|
50
|
+
stimulusId: stimulusId,
|
|
51
|
+
containerType: "modal",
|
|
52
|
+
slotProps: {
|
|
53
|
+
quizGenerationButton: _objectSpread(_objectSpread({}, (slotProps === null || slotProps === void 0 ? void 0 : slotProps.quizGenerationButton) || {}), {}, {
|
|
54
|
+
onClick: handleGenerateWithAiClick
|
|
55
|
+
})
|
|
54
56
|
}
|
|
55
|
-
}, {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
onDismiss: this.props.closeModal,
|
|
61
|
-
size: "large",
|
|
62
|
-
label: t('Add Content')
|
|
63
|
-
}, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(Heading, {
|
|
64
|
-
level: "reset",
|
|
65
|
-
as: "h2"
|
|
66
|
-
}, t('Insert Content')), /*#__PURE__*/React.createElement(CloseButton, {
|
|
67
|
-
onClick: this.props.closeModal,
|
|
68
|
-
placement: "end",
|
|
69
|
-
offset: "medium",
|
|
70
|
-
screenReaderLabel: t('Close')
|
|
71
|
-
})), /*#__PURE__*/React.createElement(ModalBody, null, this.renderContent()), /*#__PURE__*/React.createElement(ModalFooter, null, this.cancelButton())));
|
|
72
|
-
}
|
|
73
|
-
}]);
|
|
74
|
-
}(Component);
|
|
75
|
-
_defineProperty(AddContentModal, "propTypes", {
|
|
57
|
+
})), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
58
|
+
onClick: closeModal
|
|
59
|
+
}, t('Cancel')))));
|
|
60
|
+
}
|
|
61
|
+
AddContentModal.propTypes = {
|
|
76
62
|
allowStimulusCreation: PropTypes.bool.isRequired,
|
|
77
63
|
closeModal: PropTypes.func.isRequired,
|
|
78
64
|
modalOpen: PropTypes.bool.isRequired,
|
|
79
65
|
parentEntryId: PropTypes.string,
|
|
80
66
|
position: PropTypes.number.isRequired,
|
|
81
67
|
quizId: PropTypes.string.isRequired,
|
|
82
|
-
stimulusId: PropTypes.string
|
|
83
|
-
|
|
84
|
-
|
|
68
|
+
stimulusId: PropTypes.string,
|
|
69
|
+
slotProps: PropTypes.shape({
|
|
70
|
+
quizGenerationButton: quizGenerationButtonPropTypes
|
|
71
|
+
})
|
|
72
|
+
};
|
|
73
|
+
AddContentModal.defaultProps = {
|
|
85
74
|
parentEntryId: void 0,
|
|
86
75
|
stimulusId: void 0
|
|
87
|
-
}
|
|
88
|
-
export default AddContentModal;
|
|
76
|
+
};
|
|
@@ -74,8 +74,10 @@ function UnstyledAddContentPopover(_ref) {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
var renderPopoverButton = function renderPopoverButton() {
|
|
77
|
+
var _slotProps$quizGenera3;
|
|
77
78
|
return jsx(Popover, {
|
|
78
79
|
on: "click",
|
|
80
|
+
placement: slotProps !== null && slotProps !== void 0 && (_slotProps$quizGenera3 = slotProps.quizGenerationButton) !== null && _slotProps$quizGenera3 !== void 0 && _slotProps$quizGenera3.visible ? 'end center' : 'bottom center',
|
|
79
81
|
onShowContent: showContent,
|
|
80
82
|
onHideContent: hideContent,
|
|
81
83
|
isShowingContent: isEditing,
|
|
@@ -26,7 +26,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
26
26
|
import { Heading } from '@instructure/ui-heading';
|
|
27
27
|
import { Alert } from '@instructure/ui-alerts';
|
|
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';
|
|
@@ -30,7 +30,7 @@ import { ProgressCircle } from '@instructure/ui-progress';
|
|
|
30
30
|
import { Heading } from '@instructure/ui-heading';
|
|
31
31
|
import { View } from '@instructure/ui-view';
|
|
32
32
|
import { jsx } from '@instructure/emotion';
|
|
33
|
-
import t from '@instructure/quiz-i18n/
|
|
33
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
34
34
|
import { scoreToLetterGrade } from '@instructure/grading-utils';
|
|
35
35
|
import { withI18nSupport, withStyleOverrides } from '@instructure/quiz-common';
|
|
36
36
|
import FormattedDuration from '../../../shared/FormattedDuration';
|
|
@@ -25,7 +25,7 @@ import PropTypes from 'prop-types';
|
|
|
25
25
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
26
26
|
import { jsx } from '@instructure/emotion';
|
|
27
27
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
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';
|
|
@@ -31,7 +31,7 @@ import { View } from '@instructure/ui-view';
|
|
|
31
31
|
import { PresentationContent } from '@instructure/ui-a11y-content';
|
|
32
32
|
import { jsx } from '@instructure/emotion';
|
|
33
33
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
34
|
-
import t from '@instructure/quiz-i18n/
|
|
34
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
35
35
|
import PositionBox from '../../positionBox/PositionBox';
|
|
36
36
|
import { COMPONENT_RESULT, withStyleOverrides } from '@instructure/quiz-common';
|
|
37
37
|
import componentForItem from '../../../../util/componentForItem';
|
|
@@ -25,7 +25,7 @@ import PropTypes from 'prop-types';
|
|
|
25
25
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
26
26
|
import { Heading } from '@instructure/ui-heading';
|
|
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 CustomPropTypes from '../../../../util/CustomPropTypes';
|
|
30
30
|
import SessionItemResult from '../SessionItemResult';
|
|
31
31
|
import ResultStimulus from '../ResultStimulus';
|
|
@@ -46,7 +46,7 @@ import wrapWithOutsideClickEmotion from '../../../shared/functionality/component
|
|
|
46
46
|
import ActionButtons from '../../../../../building/components/resources/ActionButtons';
|
|
47
47
|
import generateStyle from './styles';
|
|
48
48
|
import generateComponentTheme from './theme';
|
|
49
|
-
import t from '@instructure/quiz-i18n/
|
|
49
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
50
50
|
export var StimulusEdit = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_StimulusEdit = /*#__PURE__*/function (_Component) {
|
|
51
51
|
function StimulusEdit() {
|
|
52
52
|
var _this2;
|
|
@@ -31,7 +31,7 @@ import { toErrors } from '../../../../util/instUIMessages';
|
|
|
31
31
|
import { IconUpdownLine } from '@instructure/ui-icons';
|
|
32
32
|
import { ToggleDetails } from '@instructure/ui-toggle-details';
|
|
33
33
|
import { SimpleSelect, TextInput, TOP, withStyleOverrides, FormFieldGroup, FormField } from '@instructure/quiz-common';
|
|
34
|
-
import t from '@instructure/quiz-i18n/
|
|
34
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
35
35
|
import generateStyle from './styles';
|
|
36
36
|
import generateComponentTheme from './theme';
|
|
37
37
|
import { Alert } from '@instructure/ui-alerts';
|
|
@@ -30,7 +30,7 @@ import { Text } from '@instructure/ui-text';
|
|
|
30
30
|
import { Flex, withStyleOverrides } from '@instructure/quiz-common';
|
|
31
31
|
import StimulusShowInfo from '../StimulusShowInfo';
|
|
32
32
|
import ActionButtons from '../../../../../building/components/resources/ActionButtons';
|
|
33
|
-
import t from '@instructure/quiz-i18n/
|
|
33
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
34
34
|
import generateStyle from './styles';
|
|
35
35
|
import generateComponentTheme from './theme';
|
|
36
36
|
import Overlay from '../../../shared/overlay';
|
|
@@ -24,7 +24,7 @@ import { Heading } from '@instructure/ui-heading';
|
|
|
24
24
|
import { Text } from '@instructure/ui-text';
|
|
25
25
|
import { View } from '@instructure/ui-view';
|
|
26
26
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
27
|
-
import t from '@instructure/quiz-i18n/
|
|
27
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
28
28
|
var StimulusShowInfo = /*#__PURE__*/function (_Component) {
|
|
29
29
|
function StimulusShowInfo() {
|
|
30
30
|
_classCallCheck(this, StimulusShowInfo);
|
|
@@ -22,7 +22,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
22
22
|
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; }
|
|
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 { withI18nSupport } from '@instructure/quiz-common';
|
|
27
27
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
28
28
|
import { formatTime } from '../../../util/formatTimespan';
|
|
@@ -22,7 +22,7 @@ import React, { Component } from 'react';
|
|
|
22
22
|
import PropTypes from 'prop-types';
|
|
23
23
|
import debounce from 'lodash/fp/debounce';
|
|
24
24
|
import { Spinner } from '@instructure/ui-spinner';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
import { SELECT_EMPTY_OPTION, Select } from '@instructure/quiz-common';
|
|
27
27
|
export var GenericAsyncSearch = /*#__PURE__*/function (_Component) {
|
|
28
28
|
function GenericAsyncSearch() {
|
|
@@ -32,7 +32,7 @@ import { IconPlusLine } from '@instructure/ui-icons';
|
|
|
32
32
|
import { Grid } from '@instructure/ui-grid';
|
|
33
33
|
import { PresentationContent } from '@instructure/ui-a11y-content';
|
|
34
34
|
import { interactionTypeMetadata } from '../../../util/interactionTypeMetadata';
|
|
35
|
-
import t from '@instructure/quiz-i18n/
|
|
35
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
36
36
|
import generateStyle from './styles';
|
|
37
37
|
import generateComponentTheme from './theme';
|
|
38
38
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -24,7 +24,7 @@ import { Component } from 'react';
|
|
|
24
24
|
import PropTypes from 'prop-types';
|
|
25
25
|
import { Pagination } from '@instructure/ui-pagination';
|
|
26
26
|
import { jsx } from '@instructure/emotion';
|
|
27
|
-
import t from '@instructure/quiz-i18n/
|
|
27
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
28
28
|
import generateStyle from './styles';
|
|
29
29
|
import generateComponentTheme from './theme';
|
|
30
30
|
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
@@ -22,7 +22,7 @@ function _callSuper(_this, derived, args) {
|
|
|
22
22
|
import React, { Component } from 'react';
|
|
23
23
|
import PropTypes from 'prop-types';
|
|
24
24
|
import { Overlay, Mask } from '@instructure/ui-overlays';
|
|
25
|
-
import t from '@instructure/quiz-i18n/
|
|
25
|
+
import t from '@instructure/quiz-i18n/format-message';
|
|
26
26
|
import { QuizzesSpinner as Spinner } from '../spinner/Spinner';
|
|
27
27
|
import CustomPropTypes from '../../../util/CustomPropTypes';
|
|
28
28
|
import { printWithCss, ensureImagesLoaded } from '../../../util/printUtils';
|