@instructure/quiz-core 20.20.1-rc.2 → 20.20.1-snapshot.4
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 +5 -14
- package/es/banks/api/banks.js +12 -24
- package/es/banks/api/copyingBanksPoller.js +6 -14
- package/es/banks/api/tagAssociations.js +4 -14
- package/es/banks/components/AddBankEntryModal/index.js +0 -3
- package/es/banks/components/AddBankEntryModal/presenter.js +0 -17
- package/es/banks/components/AddToBankModal/presenter.js +12 -48
- package/es/banks/components/AsyncSearch/index.js +8 -62
- package/es/banks/components/Bank/presenter.js +18 -69
- package/es/banks/components/Bank/styles.js +0 -2
- package/es/banks/components/Bank/theme.js +2 -3
- package/es/banks/components/BankEntriesList/presenter.js +5 -16
- package/es/banks/components/BankEntriesList/styles.js +0 -1
- package/es/banks/components/BankEntriesList/theme.js +0 -1
- package/es/banks/components/BankEntry/index.js +0 -5
- package/es/banks/components/BankEntry/presenter.js +25 -110
- package/es/banks/components/BankEntry/styles.js +0 -2
- package/es/banks/components/BankEntry/theme.js +3 -4
- package/es/banks/components/BankEntryRow/BankEntryRow.examples.js +0 -2
- package/es/banks/components/BankEntryRow/index.js +0 -5
- package/es/banks/components/BankEntryRow/presenter.js +11 -39
- package/es/banks/components/BankEntryRow/styles.js +0 -1
- package/es/banks/components/BankEntryRow/theme.js +3 -4
- package/es/banks/components/BankSearch/index.js +0 -2
- package/es/banks/components/BankSearch/presenter.js +13 -31
- package/es/banks/components/BankSearch/styles.js +0 -1
- package/es/banks/components/BankSearch/theme.js +0 -1
- package/es/banks/components/Banks/index.js +0 -3
- package/es/banks/components/Banks/presenter.js +15 -65
- package/es/banks/components/Banks/styles.js +0 -1
- package/es/banks/components/Banks/theme.js +2 -3
- package/es/banks/components/BanksList/presenter.js +10 -63
- package/es/banks/components/BanksList/styles.js +0 -1
- package/es/banks/components/BanksList/theme.js +3 -4
- package/es/banks/components/CopyMoveBankEntryModal/presenter.js +2 -29
- package/es/banks/components/CreateBankModal/index.js +0 -3
- package/es/banks/components/CreateBankModal/presenter.js +5 -31
- package/es/banks/components/CreateBankModal/styles.js +0 -1
- package/es/banks/components/CreateBankModal/theme.js +1 -2
- package/es/banks/components/EditBankModal/index.js +0 -3
- package/es/banks/components/EditBankModal/presenter.js +5 -25
- package/es/banks/components/EditBankModal/styles.js +0 -1
- package/es/banks/components/EditBankModal/theme.js +1 -2
- package/es/banks/components/HeaderBreadCrumb/index.js +9 -19
- package/es/banks/components/HeaderMenu/index.js +0 -3
- package/es/banks/components/HeaderMenu/presenter.js +5 -15
- package/es/banks/components/HeaderMenu/styles.js +0 -1
- package/es/banks/components/HeaderMenu/theme.js +1 -2
- package/es/banks/components/NavWrapper/index.js +0 -2
- package/es/banks/components/NavWrapper/presenter.js +9 -25
- package/es/banks/components/NavWrapper/styles.js +0 -2
- package/es/banks/components/NavWrapper/theme.js +4 -5
- package/es/banks/components/SharingModal/ContextualIconButton/index.js +1 -14
- package/es/banks/components/SharingModal/RootAccountSharing.js +5 -18
- package/es/banks/components/SharingModal/ShareList/index.js +7 -24
- package/es/banks/components/SharingModal/ShareList/styles.js +0 -1
- package/es/banks/components/SharingModal/index.js +0 -2
- package/es/banks/components/SharingModal/presenter.js +27 -92
- package/es/banks/components/SharingModal/styles.js +0 -1
- package/es/banks/components/SharingModal/theme.js +2 -3
- package/es/building/api/items.js +14 -32
- package/es/building/api/qtiImports.js +4 -13
- package/es/building/api/quizEntries.js +26 -32
- package/es/building/api/quizzes.js +27 -22
- package/es/building/api/stimuli.js +6 -3
- package/es/building/components/QTIImportModal/index.js +2 -1
- package/es/building/components/layout/Sidebar/Sidebar.examples.js +2 -20
- package/es/building/components/layout/Sidebar/SidebarItem/index.js +2 -2
- package/es/building/components/layout/Sidebar/SidebarItem/presenter.js +17 -28
- package/es/building/components/layout/Sidebar/SidebarItem/styles.js +1 -4
- package/es/building/components/layout/Sidebar/SidebarItem/theme.js +0 -1
- package/es/building/components/layout/Sidebar/Stimulus/index.js +2 -3
- package/es/building/components/layout/Sidebar/Stimulus/presenter.js +15 -26
- package/es/building/components/layout/Sidebar/Stimulus/styles.js +1 -4
- package/es/building/components/layout/Sidebar/Stimulus/theme.js +0 -1
- package/es/building/components/layout/Sidebar/index.js +3 -3
- package/es/building/components/layout/Sidebar/presenter.js +11 -38
- package/es/building/components/layout/Sidebar/styles.js +0 -2
- package/es/building/components/layout/Sidebar/theme.js +0 -1
- package/es/building/components/layout/header/BuildingButtons/index.js +0 -2
- package/es/building/components/layout/header/BuildingButtons/presenter.js +7 -52
- package/es/building/components/layout/header/BuildingButtons/styles.js +0 -2
- package/es/building/components/layout/header/BuildingButtons/theme.js +2 -3
- package/es/building/components/resources/ActionButtons/index.js +0 -3
- package/es/building/components/resources/ActionButtons/presenter.js +5 -22
- package/es/building/components/resources/ActionButtons/styles.js +0 -3
- package/es/building/components/resources/ActionButtons/theme.js +1 -2
- package/es/building/components/resources/AddToBankOptions/index.js +6 -25
- package/es/building/components/resources/AddToBankOptions/styles.js +0 -1
- package/es/building/components/resources/AddToBankOptions/theme.js +1 -2
- package/es/building/components/resources/BanksTray/index.js +0 -2
- package/es/building/components/resources/BanksTray/presenter.js +2 -26
- package/es/building/components/resources/DeleteStimulusModal/index.js +3 -7
- package/es/building/components/resources/DeleteStimulusModal/presenter.js +13 -44
- package/es/building/components/resources/DeleteStimulusModal/styles.js +0 -1
- package/es/building/components/resources/DeleteStimulusModal/theme.js +1 -2
- package/es/building/components/resources/ItemFeedbackModal/index.js +0 -2
- package/es/building/components/resources/ItemFeedbackModal/presenter.js +5 -24
- package/es/building/components/resources/ItemFeedbackModal/styles.js +0 -1
- package/es/building/components/resources/ItemFeedbackModal/theme.js +0 -1
- package/es/building/components/resources/MoveImmutableModal/index.js +5 -8
- package/es/building/components/resources/MoveImmutableModal/presenter.js +4 -17
- package/es/building/components/resources/quiz/editButton/EditButton.js +0 -12
- package/es/building/components/resources/quiz/instructions/Edit/index.js +0 -2
- package/es/building/components/resources/quiz/instructions/Edit/presenter.js +4 -13
- package/es/building/components/resources/quiz/instructions/Edit/styles.js +0 -1
- package/es/building/components/resources/quiz/instructions/Instructions/index.js +0 -2
- package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +16 -41
- package/es/building/components/resources/quiz/instructions/Instructions/styles.js +0 -2
- package/es/building/components/resources/quiz/instructions/Instructions/theme.js +2 -2
- package/es/building/components/resources/quiz/instructions/Show/index.js +10 -17
- package/es/building/components/resources/quiz/instructions/Show/styles.js +0 -1
- package/es/building/components/resources/quiz/instructions/Show/theme.js +2 -2
- package/es/building/components/resources/quiz/title/Edit/index.js +12 -25
- package/es/building/components/resources/quiz/title/Edit/styles.js +0 -2
- package/es/building/components/resources/quiz/title/Edit/theme.js +3 -4
- package/es/building/components/resources/quiz/title/Show/index.js +5 -17
- package/es/building/components/resources/quiz/title/Show/styles.js +0 -1
- package/es/building/components/resources/quiz/title/Show/theme.js +0 -1
- package/es/building/components/resources/quiz/title/Title/index.js +0 -2
- package/es/building/components/resources/quiz/title/Title/presenter.js +16 -34
- package/es/building/components/resources/quiz/title/Title/styles.js +0 -2
- package/es/building/components/resources/quiz/title/Title/theme.js +3 -3
- package/es/building/components/resources/quizEntry/QuizEntry/index.js +0 -2
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +10 -43
- package/es/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +0 -9
- package/es/building/components/resources/quizEntry/QuizEntry/styles.js +0 -2
- package/es/building/components/resources/quizEntry/QuizEntry/theme.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +5 -35
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +0 -1
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +6 -17
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +0 -1
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +2 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +17 -44
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +0 -3
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +12 -60
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +0 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -3
- package/es/building/components/resources/quizEntry/QuizEntryEdit/index.js +0 -3
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +27 -91
- package/es/building/components/resources/quizEntry/QuizEntryEdit/styles.js +0 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/theme.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryShow/index.js +0 -2
- package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +23 -53
- package/es/building/components/resources/quizEntry/QuizEntryShow/styles.js +0 -2
- package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +4 -5
- package/es/common/actions/alerts.js +7 -7
- package/es/common/actions/modifications.js +37 -16
- package/es/common/actions/quizSessions.js +3 -13
- package/es/common/actions/rce.js +3 -2
- package/es/common/actions/taking.js +6 -4
- package/es/common/api/callHandlers.js +9 -13
- package/es/common/api/camelizeHelpers.js +6 -6
- package/es/common/api/features.js +0 -2
- package/es/common/api/fileUpload.js +3 -2
- package/es/common/api/getPersistenceActions.js +21 -23
- package/es/common/api/helpers.js +10 -29
- package/es/common/api/quizSessions.js +21 -26
- package/es/common/api/quizzes.js +3 -2
- package/es/common/api/schema.js +6 -4
- package/es/common/components/ApiFeatureFlagInitializer/index.js +0 -4
- package/es/common/components/ConfirmationModal/index.js +0 -3
- package/es/common/components/ConfirmationModal/presenter.js +9 -22
- package/es/common/components/ImportModal/ImportFileSelector/index.js +7 -18
- package/es/common/components/ImportModal/ImportFileSelector/styles.js +0 -1
- package/es/common/components/ImportModal/ImportFileSelector/theme.js +2 -3
- package/es/common/components/ImportModal/index.js +8 -8
- package/es/common/components/ImportModal/presenter.js +12 -59
- package/es/common/components/ImportModal/styles.js +0 -1
- package/es/common/components/ImportModal/theme.js +0 -1
- package/es/common/components/LearnosityCalculator/index.js +1 -20
- package/es/common/components/Pin/presenter.js +0 -10
- package/es/common/components/PreviewFrame/examples.config.js +0 -2
- package/es/common/components/PreviewFrame/index.js +0 -7
- package/es/common/components/PrintFontSizeModal/presenter.js +15 -25
- package/es/common/components/PrintFontSizeModal/styles.js +0 -1
- package/es/common/components/PrintFontSizeModal/theme.js +2 -3
- package/es/common/components/RceConfigProvider/index.js +0 -2
- package/es/common/components/RceConfigProvider/presenter.js +22 -50
- package/es/common/components/RceConfigProvider/rceConfigErrorHandler.js +0 -6
- package/es/common/components/RceConfigProvider/rceConfigFetcher.js +1 -10
- package/es/common/components/RceConfigProvider/rceConfigMapper.js +3 -9
- package/es/common/components/SDKApp/index.js +12 -39
- package/es/common/components/SDKApp/styles.js +0 -1
- package/es/common/components/SDKHeaderCalculator.js +1 -1
- package/es/common/components/SDKTimer.js +1 -1
- package/es/common/components/alerts/index.js +0 -2
- package/es/common/components/alerts/presenter.js +5 -21
- package/es/common/components/alerts/styles.js +0 -2
- package/es/common/components/alerts/theme.js +1 -2
- package/es/common/components/layout/Page/index.js +5 -12
- package/es/common/components/layout/Page/styles.js +0 -2
- package/es/common/components/layout/Page/theme.js +2 -3
- package/es/common/components/layout/header/Calculator/index.js +0 -2
- package/es/common/components/layout/header/Calculator/presenter.js +2 -12
- package/es/common/components/layout/header/HeaderMenuButton/presenter.js +6 -23
- package/es/common/components/layout/header/HeaderMenuButton/styles.js +0 -2
- package/es/common/components/layout/header/HeaderMenuButton/theme.js +2 -3
- package/es/common/components/layout/header/Timer/index.js +0 -3
- package/es/common/components/layout/header/Timer/presenter.js +9 -34
- package/es/common/components/layout/header/Timer/styles.js +0 -1
- package/es/common/components/layout/header/Timer/theme.js +3 -4
- package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +4 -11
- package/es/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -1
- package/es/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -1
- package/es/common/components/layout/navbar/index.js +5 -25
- package/es/common/components/layout/navbar/styles.js +0 -1
- package/es/common/components/layout/navbar/theme.js +1 -2
- package/es/common/components/layout/sidebar/PositionSummary/index.js +4 -11
- package/es/common/components/layout/sidebar/PositionSummary/styles.js +0 -1
- package/es/common/components/layout/sidebar/PositionSummary/theme.js +3 -4
- package/es/common/components/layout/sidebar/Sidebar/Pin.js +3 -11
- package/es/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +0 -3
- package/es/common/components/layout/sidebar/Sidebar/index.js +16 -53
- package/es/common/components/layout/sidebar/Sidebar/styles.js +0 -4
- package/es/common/components/layout/sidebar/Sidebar/theme.js +5 -7
- package/es/common/components/layout/sidebar/SidebarItem/presenter.js +22 -39
- package/es/common/components/layout/sidebar/SidebarItem/styles.js +0 -2
- package/es/common/components/layout/sidebar/SidebarItem/theme.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +12 -27
- package/es/common/components/layout/sidebar/Stimulus/Collection/styles.js +0 -2
- package/es/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -3
- package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +10 -32
- package/es/common/components/layout/sidebar/Stimulus/Summary/styles.js +0 -1
- package/es/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -3
- package/es/common/components/layout/sidebar/Stimulus/Title/index.js +4 -13
- package/es/common/components/layout/sidebar/Stimulus/Title/styles.js +0 -1
- package/es/common/components/layout/sidebar/Stimulus/index.js +0 -2
- package/es/common/components/layout/sidebar/Stimulus/presenter.js +16 -33
- package/es/common/components/layout/sidebar/Stimulus/styles.js +0 -1
- package/es/common/components/layout/sidebar/Stimulus/theme.js +3 -4
- package/es/common/components/resources/BankSelection/presenter.js +6 -36
- package/es/common/components/resources/WarningWrapper/index.js +5 -16
- package/es/common/components/resources/WarningWrapper/styles.js +0 -1
- package/es/common/components/resources/WarningWrapper/theme.js +2 -3
- package/es/common/components/resources/entry/EntrySave/presenter.js +8 -54
- package/es/common/components/resources/item/ItemEdit/index.js +2 -4
- package/es/common/components/resources/item/ItemEdit/presenter.js +8 -28
- package/es/common/components/resources/item/ItemOverride/index.js +0 -2
- package/es/common/components/resources/item/ItemOverride/presenter.js +0 -9
- package/es/common/components/resources/item/ItemShow/index.js +0 -7
- package/es/common/components/resources/positionBox/PositionBox.js +5 -12
- package/es/common/components/resources/positionBox/styles.js +0 -2
- package/es/common/components/resources/positionBox/theme.js +2 -3
- package/es/common/components/resources/quiz/AddContent/Body/index.js +0 -2
- package/es/common/components/resources/quiz/AddContent/Body/presenter.js +15 -33
- package/es/common/components/resources/quiz/AddContent/Body/styles.js +0 -4
- package/es/common/components/resources/quiz/AddContent/Body/theme.js +4 -5
- package/es/common/components/resources/quiz/AddContent/Button/index.js +5 -16
- package/es/common/components/resources/quiz/AddContent/Button/styles.js +0 -2
- package/es/common/components/resources/quiz/AddContent/Button/theme.js +4 -5
- package/es/common/components/resources/quiz/AddContent/Modal/index.js +5 -8
- package/es/common/components/resources/quiz/AddContent/Modal/presenter.js +0 -5
- package/es/common/components/resources/quiz/AddContent/Popover/index.js +1 -4
- package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +5 -23
- package/es/common/components/resources/quiz/AddContent/Popover/styles.js +0 -1
- package/es/common/components/resources/quiz/AddContent/Popover/theme.js +1 -2
- package/es/common/components/resources/quiz/info/QuizInfo.js +0 -5
- package/es/common/components/resources/quiz/instructions/Instructions.js +4 -13
- package/es/common/components/resources/quiz/instructions/styles.js +0 -1
- package/es/common/components/resources/quiz/instructions/theme.js +1 -2
- package/es/common/components/resources/quiz/title/Title.js +4 -12
- package/es/common/components/resources/quiz/title/styles.js +0 -1
- package/es/common/components/resources/quiz/title/theme.js +1 -2
- package/es/common/components/resources/quizSessionResult/Header/index.js +5 -17
- package/es/common/components/resources/quizSessionResult/Header/styles.js +0 -1
- package/es/common/components/resources/quizSessionResult/Header/theme.js +1 -2
- package/es/common/components/resources/quizSessionResult/Info/index.js +11 -28
- package/es/common/components/resources/quizSessionResult/Info/styles.js +0 -2
- package/es/common/components/resources/quizSessionResult/Info/theme.js +1 -2
- package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +4 -13
- package/es/common/components/resources/sessionItemResult/ResultStimulus/styles.js +0 -2
- package/es/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -5
- package/es/common/components/resources/sessionItemResult/SessionItemResult/index.js +0 -2
- package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +9 -32
- package/es/common/components/resources/sessionItemResult/SessionItemResult/styles.js +0 -2
- package/es/common/components/resources/sessionItemResult/SessionItemResult/theme.js +3 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +5 -18
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +0 -1
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +3 -4
- package/es/common/components/resources/stimulus/Stimulus/index.js +0 -3
- package/es/common/components/resources/stimulus/Stimulus/presenter.js +9 -23
- package/es/common/components/resources/stimulus/Stimulus/styles.js +1 -5
- package/es/common/components/resources/stimulus/Stimulus/theme.js +3 -4
- package/es/common/components/resources/stimulus/StimulusEdit/index.js +0 -3
- package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +18 -90
- package/es/common/components/resources/stimulus/StimulusEdit/styles.js +0 -1
- package/es/common/components/resources/stimulus/StimulusEdit/theme.js +2 -3
- package/es/common/components/resources/stimulus/StimulusEditInfo/index.js +0 -3
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +5 -27
- package/es/common/components/resources/stimulus/StimulusEditInfo/styles.js +0 -1
- package/es/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -3
- package/es/common/components/resources/stimulus/StimulusShow/index.js +5 -19
- package/es/common/components/resources/stimulus/StimulusShow/styles.js +0 -1
- package/es/common/components/resources/stimulus/StimulusShow/theme.js +2 -3
- package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +0 -7
- package/es/common/components/shared/Card/CardContent/index.js +5 -12
- package/es/common/components/shared/Card/CardContent/styles.js +0 -2
- package/es/common/components/shared/Card/CardContent/theme.js +4 -5
- package/es/common/components/shared/Card/CardWrapper/index.js +5 -12
- package/es/common/components/shared/Card/CardWrapper/styles.js +0 -2
- package/es/common/components/shared/Card/CardWrapper/theme.js +2 -3
- package/es/common/components/shared/Card/index.js +3 -4
- package/es/common/components/shared/ExpandButton/index.js +4 -11
- package/es/common/components/shared/ExpandButton/styles.js +0 -2
- package/es/common/components/shared/ExpandButton/theme.js +0 -1
- package/es/common/components/shared/FormattedDuration/index.js +4 -12
- package/es/common/components/shared/IfFeature/presenter.js +0 -6
- package/es/common/components/shared/InteractionTypes/index.js +0 -2
- package/es/common/components/shared/InteractionTypes/presenter.js +7 -23
- package/es/common/components/shared/InteractionTypes/styles.js +0 -1
- package/es/common/components/shared/InteractionTypes/theme.js +2 -3
- package/es/common/components/shared/PaginatedCollection/presenter.js +11 -36
- package/es/common/components/shared/PaginatedCollection/styles.js +0 -1
- package/es/common/components/shared/PaginatedCollection/theme.js +2 -3
- package/es/common/components/shared/Paginator/index.js +5 -15
- package/es/common/components/shared/Paginator/styles.js +0 -1
- package/es/common/components/shared/Paginator/theme.js +0 -1
- package/es/common/components/shared/PrintTrigger/index.js +0 -2
- package/es/common/components/shared/PrintTrigger/presenter.js +3 -25
- package/es/common/components/shared/TagDisplay/index.js +5 -13
- package/es/common/components/shared/TagDisplay/styles.js +0 -1
- package/es/common/components/shared/TagSelect/presenter.js +11 -43
- package/es/common/components/shared/TagSuggestSelect/index.js +0 -3
- package/es/common/components/shared/TagSuggestSelect/presenter.js +7 -18
- package/es/common/components/shared/TagWrapper/presenter.js +3 -13
- package/es/common/components/shared/TimeUnitsInput/index.js +23 -52
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +12 -24
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +0 -2
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -3
- package/es/common/components/shared/drag_and_drop/DragHandle/presenter.js +15 -50
- package/es/common/components/shared/drag_and_drop/dragAndDropUtils.js +21 -63
- package/es/common/components/shared/errors/Errors.js +5 -18
- package/es/common/components/shared/errors/styles.js +0 -1
- package/es/common/components/shared/errors/theme.js +1 -2
- package/es/common/components/shared/file_selector/FileSelector.js +5 -13
- package/es/common/components/shared/file_selector/styles.js +0 -1
- package/es/common/components/shared/file_selector/theme.js +2 -3
- package/es/common/components/shared/functionality/componentWithOutsideClick.js +0 -12
- package/es/common/components/shared/functionality/componentWithOutsideClickEmotion.js +6 -11
- package/es/common/components/shared/functionality/disableDraggingOverride.js +0 -1
- package/es/common/components/shared/functionality/makeEditable.js +15 -32
- package/es/common/components/shared/functionality/makeScrollable.js +9 -25
- package/es/common/components/shared/overlay/index.js +10 -20
- package/es/common/components/shared/overlay/styles.js +0 -2
- package/es/common/components/shared/overlay/theme.js +2 -3
- package/es/common/components/shared/return_button/ReturnButton.js +0 -7
- package/es/common/components/shared/spinner/Spinner.js +11 -20
- package/es/common/components/shared/spinner/styles.js +0 -1
- package/es/common/kinesis/QuizEventsLogger.js +14 -33
- package/es/common/kinesis/StreamQueue.js +6 -27
- package/es/common/kinesis/client.js +1 -3
- package/es/common/kinesis/config.js +2 -2
- package/es/common/kinesis/eventTypes.js +4 -4
- package/es/common/middleware/alertTimerMiddleware.js +2 -6
- package/es/common/middleware/crossDomainMessagingMiddleware.js +0 -3
- package/es/common/middleware/eventLoggerMiddleware.js +0 -5
- package/es/common/middleware/persistedStorageMiddleware.js +0 -7
- package/es/common/middleware/quizTimerWebSocketMiddleware.js +0 -11
- package/es/common/react-redux.js +0 -2
- package/es/common/records/Alert.js +0 -4
- package/es/common/records/Bank.js +0 -5
- package/es/common/records/BankEntry.js +0 -8
- package/es/common/records/Item.js +2 -9
- package/es/common/records/ItemAnalysis.js +0 -5
- package/es/common/records/QtiImport.js +0 -7
- package/es/common/records/Quiz.js +4 -13
- package/es/common/records/QuizAnalysis.js +0 -5
- package/es/common/records/QuizEntry.js +10 -57
- package/es/common/records/QuizSession.js +0 -10
- package/es/common/records/QuizSessionEvent.js +0 -5
- package/es/common/records/QuizSessionResult.js +0 -5
- package/es/common/records/Response.js +0 -5
- package/es/common/records/SessionItem.js +2 -13
- package/es/common/records/SessionItemResult.js +0 -5
- package/es/common/records/Stimulus.js +0 -5
- package/es/common/records/baseRecord.js +0 -11
- package/es/common/records/reduxRecord.js +0 -5
- package/es/common/reducers/alerts.js +0 -3
- package/es/common/reducers/analyses.js +0 -9
- package/es/common/reducers/bankEntries.js +0 -5
- package/es/common/reducers/bankSearch.js +4 -9
- package/es/common/reducers/banks.js +1 -13
- package/es/common/reducers/calls.js +0 -3
- package/es/common/reducers/config.js +0 -4
- package/es/common/reducers/dragAndDrop.js +0 -2
- package/es/common/reducers/editing.js +0 -1
- package/es/common/reducers/errorsShowing.js +0 -4
- package/es/common/reducers/features.js +0 -3
- package/es/common/reducers/grading.js +0 -4
- package/es/common/reducers/interactionTypes.js +0 -4
- package/es/common/reducers/items.js +0 -4
- package/es/common/reducers/modal.js +0 -6
- package/es/common/reducers/moderation.js +0 -3
- package/es/common/reducers/modifications.js +6 -38
- package/es/common/reducers/outcomes.js +0 -5
- package/es/common/reducers/printing.js +0 -2
- package/es/common/reducers/qtiImports.js +0 -5
- package/es/common/reducers/quizEntries.js +28 -39
- package/es/common/reducers/quizExport.js +0 -2
- package/es/common/reducers/quizSessionEvents.js +0 -5
- package/es/common/reducers/quizSessionResults.js +0 -4
- package/es/common/reducers/quizSessions.js +2 -11
- package/es/common/reducers/quizzes.js +0 -13
- package/es/common/reducers/rce.js +0 -6
- package/es/common/reducers/regrading.js +0 -4
- package/es/common/reducers/reporting.js +0 -12
- package/es/common/reducers/scrolling.js +0 -3
- package/es/common/reducers/sessionItemResults.js +0 -4
- package/es/common/reducers/sessionItems.js +0 -4
- package/es/common/reducers/sharedBanks.js +1 -8
- package/es/common/reducers/sidebar.js +0 -3
- package/es/common/reducers/stimuli.js +0 -4
- package/es/common/reducers/tagAssociations.js +0 -28
- package/es/common/reducers/taking.js +0 -37
- package/es/common/reducers/ui.js +0 -11
- package/es/common/reducers/upload.js +0 -7
- package/es/common/selectors/analyses.js +0 -2
- package/es/common/selectors/calculator.js +4 -7
- package/es/common/selectors/config.js +0 -2
- package/es/common/selectors/interactionTypes.js +3 -4
- package/es/common/selectors/items.js +0 -1
- package/es/common/selectors/qtiImports.js +2 -5
- package/es/common/selectors/quizSessions.js +2 -1
- package/es/common/selectors/quizzes.js +3 -9
- package/es/common/selectors/reporting.js +0 -2
- package/es/common/selectors/sessionItemResults.js +2 -3
- package/es/common/selectors/sessionItems.js +2 -3
- package/es/common/util/CustomPropTypes.js +0 -12
- package/es/common/util/ExhaustivePaginatedFetcher.js +7 -23
- package/es/common/util/Fetcher.js +25 -79
- package/es/common/util/MultiWeakMap.js +0 -19
- package/es/common/util/PaginatedFetcher.js +2 -16
- package/es/common/util/ThunkQueue.js +3 -30
- package/es/common/util/TimeRecordingService.js +0 -12
- package/es/common/util/TimerService.js +3 -42
- package/es/common/util/cachePreviousArgs.js +0 -3
- package/es/common/util/callHelpers.js +0 -2
- package/es/common/util/componentForItem.js +1 -6
- package/es/common/util/crossDomainMessaging.js +0 -1
- package/es/common/util/debounceLatestPromise.js +0 -2
- package/es/common/util/featureCheck.js +3 -3
- package/es/common/util/fitbCopyHelper.js +3 -3
- package/es/common/util/formatTimespan.js +0 -10
- package/es/common/util/generateDisplayPositions.js +2 -5
- package/es/common/util/immutableHelpers.js +4 -3
- package/es/common/util/interactionTypeMetadata.js +2 -3
- package/es/common/util/interactionTypePropsHelper.js +0 -7
- package/es/common/util/interactionTypeRecordForItem.js +1 -7
- package/es/common/util/jsonify.js +1 -0
- package/es/common/util/keyboardClickable.js +0 -1
- package/es/common/util/mathRenderingUtils.js +2 -1
- package/es/common/util/maxContent.js +0 -1
- package/es/common/util/persistedState.js +0 -6
- package/es/common/util/printUtils.js +0 -4
- package/es/common/util/rceChecker.js +1 -3
- package/es/common/util/renderAlerts.js +2 -6
- package/es/common/util/serializeEvent.js +0 -2
- package/es/common/util/sessionStore.js +4 -11
- package/es/common/util/warningHelpers.js +0 -9
- package/es/common/util/withCachedArguments.js +0 -6
- package/es/common/util/withDynamoPagination.js +14 -34
- package/es/common/util/withStateCache.js +0 -9
- package/es/config.js +5 -9
- package/es/configureStore.js +9 -8
- package/es/grading/api/quizEntryRegrades.js +3 -2
- package/es/grading/api/updateResults.js +0 -4
- package/es/index.js +4 -6
- package/es/messages/LocalStorageAdapter.js +0 -12
- package/es/messages/LocalStorageLimits.js +2 -23
- package/es/messages/StorageExhaustionError.js +1 -8
- package/es/messages/postMessageService.js +0 -20
- package/es/messages/subjectHandlers/forwardMessage.js +0 -1
- package/es/messages/subjectHandlers/lti.capabilities.js +0 -1
- package/es/messages/subjectHandlers/lti.fetchWindowSize.js +0 -1
- package/es/messages/subjectHandlers/lti.frameResize.js +0 -3
- package/es/messages/subjectHandlers/lti.get_data.js +2 -7
- package/es/messages/subjectHandlers/lti.put_data.js +3 -8
- package/es/messages/subjectHandlers/requestFullWindowLaunch.js +0 -4
- package/es/messages/utils.js +0 -1
- package/es/moderating/components/events/Event.js +3 -17
- package/es/moderating/components/events/PageBlurredEvent.js +0 -5
- package/es/moderating/components/events/PageFocusedEvent.js +0 -5
- package/es/moderating/components/events/RCEEvent.js +0 -5
- package/es/moderating/components/events/ResponseEvent.js +4 -16
- package/es/moderating/components/events/SessionStartEvent.js +0 -5
- package/es/moderating/components/events/styles.js +0 -1
- package/es/moderating/components/events/theme.js +1 -2
- package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +8 -23
- package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +0 -21
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +0 -21
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +0 -20
- package/es/moderating/components/resources/AccommodationsModal/index.js +7 -25
- package/es/moderating/components/resources/ElapsedTime.js +5 -9
- package/es/moderating/components/resources/ModerateTable/presenter.js +23 -70
- package/es/moderating/components/resources/ModerateTable/styles.js +0 -2
- package/es/moderating/components/resources/ModerateTable/theme.js +1 -2
- package/es/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +0 -2
- package/es/moderating/components/resources/ModerateTableRow/index.js +2 -2
- package/es/moderating/components/resources/ModerateTableRow/presenter.js +19 -60
- package/es/moderating/components/resources/ModerateTableRow/story.js +0 -2
- package/es/moderating/components/resources/ModerateTableRow/styles.js +0 -1
- package/es/moderating/components/resources/ModerateTableRow/theme.js +0 -1
- package/es/moderating/components/resources/OutstandingQuizzesModal/presenter.js +2 -26
- package/es/moderating/components/sidebar/ModerateTray/presenter.js +0 -20
- package/es/moderating/components/sidebar/ResetQuiz/index.js +0 -2
- package/es/moderating/components/sidebar/ResetQuiz/presenter.js +1 -17
- package/es/reduxStore.js +0 -4
- package/es/reporting/api/getAnalysesExport.js +4 -11
- package/es/reporting/api/getAnalysesStatus.js +3 -6
- package/es/reporting/api/getItemAnalyses.js +3 -6
- package/es/reporting/api/getQuizAnalysis.js +3 -6
- package/es/reporting/components/Caption/index.js +5 -12
- package/es/reporting/components/Caption/styles.js +0 -1
- package/es/reporting/components/Caption/theme.js +2 -3
- package/es/reporting/components/MetricsListItem/index.js +8 -15
- package/es/reporting/components/MetricsListItem/styles.js +0 -1
- package/es/reporting/components/charts/CentileDistribution/presenter.js +10 -32
- package/es/reporting/components/charts/CentileDistribution/styles.js +0 -2
- package/es/reporting/components/charts/CentileDistribution/theme.js +2 -3
- package/es/reporting/components/charts/Distribution/presenter.js +15 -45
- package/es/reporting/components/charts/Distribution/styles.js +0 -1
- package/es/reporting/components/charts/Distribution/theme.js +1 -2
- package/es/reporting/components/charts/Legend/index.js +8 -16
- package/es/reporting/components/charts/Legend/styles.js +0 -2
- package/es/reporting/components/charts/Legend/theme.js +3 -4
- package/es/reporting/components/charts/QuintileDistribution/presenter.js +7 -30
- package/es/reporting/components/charts/QuintileDistribution/styles.js +0 -1
- package/es/reporting/components/charts/QuintileDistribution/theme.js +1 -2
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +4 -21
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +0 -6
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +5 -6
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +14 -33
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +0 -3
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +3 -4
- package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +9 -23
- package/es/reporting/components/quizAnalysis/styles.js +0 -3
- package/es/reporting/components/quizAnalysis/theme.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +9 -16
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +8 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +1 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisUpdateDate/index.js +4 -9
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +2 -10
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +2 -10
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +4 -23
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +7 -19
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +2 -14
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +2 -10
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +14 -34
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +2 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +0 -8
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +5 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +12 -48
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +9 -29
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +4 -14
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +9 -22
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +1 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +2 -10
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +4 -30
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +7 -21
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +4 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +4 -36
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +9 -48
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +1 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +6 -19
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +2 -5
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +5 -20
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +4 -11
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +10 -37
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +7 -25
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +18 -40
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +5 -20
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/errorCodes.js +0 -6
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/exportReports.js +1 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +1 -8
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +1 -7
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/generateReports.js +2 -19
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +18 -53
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +0 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/utils.js +0 -5
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +0 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +32 -54
- package/es/reporting/components/resources/OutcomeAnalysis/presenter.js +6 -16
- package/es/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +4 -6
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +16 -39
- package/es/reporting/components/resources/QuizAndItemAnalysis/styles.js +0 -1
- package/es/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -3
- package/es/reporting/components/resources/ReportCard/index.js +8 -15
- package/es/reporting/components/resources/ReportCard/styles.js +0 -2
- package/es/reporting/components/resources/ReportCard/theme.js +1 -2
- package/es/reporting/components/resources/ReportList/index.js +8 -15
- package/es/reporting/components/resources/ReportList/styles.js +0 -1
- package/es/reporting/components/resources/ReportList/theme.js +0 -1
- package/es/taking/api/taking.js +30 -42
- package/es/taking/learnosity/index.js +9 -33
- package/lib/banks/api/bankEntries.js +5 -50
- package/lib/banks/api/banks.js +12 -66
- package/lib/banks/api/copyingBanksPoller.js +6 -25
- package/lib/banks/api/tagAssociations.js +4 -26
- package/lib/banks/components/AddBankEntryModal/index.js +0 -13
- package/lib/banks/components/AddBankEntryModal/presenter.js +0 -34
- package/lib/banks/components/AddToBankModal/index.js +0 -19
- package/lib/banks/components/AddToBankModal/presenter.js +12 -74
- package/lib/banks/components/AsyncSearch/index.js +8 -79
- package/lib/banks/components/Bank/index.js +0 -18
- package/lib/banks/components/Bank/presenter.js +21 -107
- package/lib/banks/components/Bank/styles.js +0 -5
- package/lib/banks/components/Bank/theme.js +2 -4
- package/lib/banks/components/BankEntriesList/index.js +0 -8
- package/lib/banks/components/BankEntriesList/presenter.js +6 -28
- package/lib/banks/components/BankEntriesList/styles.js +0 -2
- package/lib/banks/components/BankEntriesList/theme.js +0 -2
- package/lib/banks/components/BankEntry/index.js +0 -23
- package/lib/banks/components/BankEntry/presenter.js +26 -153
- package/lib/banks/components/BankEntry/styles.js +0 -4
- package/lib/banks/components/BankEntry/theme.js +3 -5
- package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +0 -7
- package/lib/banks/components/BankEntryRow/index.js +0 -19
- package/lib/banks/components/BankEntryRow/presenter.js +13 -69
- package/lib/banks/components/BankEntryRow/styles.js +0 -2
- package/lib/banks/components/BankEntryRow/theme.js +3 -5
- package/lib/banks/components/BankSearch/BankSearch.stories.js +0 -13
- package/lib/banks/components/BankSearch/index.js +0 -11
- package/lib/banks/components/BankSearch/presenter.js +14 -54
- package/lib/banks/components/BankSearch/styles.js +0 -2
- package/lib/banks/components/BankSearch/theme.js +0 -2
- package/lib/banks/components/Banks/index.js +0 -14
- package/lib/banks/components/Banks/presenter.js +16 -97
- package/lib/banks/components/Banks/styles.js +0 -2
- package/lib/banks/components/Banks/theme.js +2 -4
- package/lib/banks/components/BanksList/index.js +0 -13
- package/lib/banks/components/BanksList/presenter.js +12 -91
- package/lib/banks/components/BanksList/styles.js +0 -2
- package/lib/banks/components/BanksList/theme.js +3 -5
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +0 -16
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +2 -49
- package/lib/banks/components/CreateBankModal/index.js +0 -19
- package/lib/banks/components/CreateBankModal/presenter.js +6 -49
- package/lib/banks/components/CreateBankModal/styles.js +0 -2
- package/lib/banks/components/CreateBankModal/theme.js +1 -3
- package/lib/banks/components/EditBankModal/index.js +0 -16
- package/lib/banks/components/EditBankModal/presenter.js +6 -41
- package/lib/banks/components/EditBankModal/styles.js +0 -2
- package/lib/banks/components/EditBankModal/theme.js +1 -3
- package/lib/banks/components/HeaderBreadCrumb/index.js +9 -34
- package/lib/banks/components/HeaderMenu/index.js +0 -11
- package/lib/banks/components/HeaderMenu/presenter.js +6 -32
- package/lib/banks/components/HeaderMenu/styles.js +0 -2
- package/lib/banks/components/HeaderMenu/theme.js +1 -3
- package/lib/banks/components/NavWrapper/NavWrapper.examples.js +0 -5
- package/lib/banks/components/NavWrapper/index.js +0 -7
- package/lib/banks/components/NavWrapper/presenter.js +10 -45
- package/lib/banks/components/NavWrapper/styles.js +0 -3
- package/lib/banks/components/NavWrapper/theme.js +4 -6
- package/lib/banks/components/SharingModal/ContextualIconButton/index.js +1 -26
- package/lib/banks/components/SharingModal/RootAccountSharing.js +5 -35
- package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +0 -2
- package/lib/banks/components/SharingModal/ShareList/index.js +8 -43
- package/lib/banks/components/SharingModal/ShareList/styles.js +0 -2
- package/lib/banks/components/SharingModal/index.js +0 -13
- package/lib/banks/components/SharingModal/presenter.js +29 -123
- package/lib/banks/components/SharingModal/styles.js +0 -2
- package/lib/banks/components/SharingModal/theme.js +2 -4
- package/lib/building/api/items.js +12 -45
- package/lib/building/api/qtiImports.js +4 -29
- package/lib/building/api/quizEntries.js +23 -67
- package/lib/building/api/quizzes.js +27 -55
- package/lib/building/api/stimuli.js +4 -11
- package/lib/building/components/QTIImportModal/index.js +2 -13
- package/lib/building/components/layout/Sidebar/Sidebar.examples.js +2 -29
- package/lib/building/components/layout/Sidebar/SidebarItem/index.js +2 -25
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +18 -41
- package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +1 -5
- package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +0 -2
- package/lib/building/components/layout/Sidebar/Stimulus/index.js +2 -24
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +16 -39
- package/lib/building/components/layout/Sidebar/Stimulus/styles.js +1 -5
- package/lib/building/components/layout/Sidebar/Stimulus/theme.js +0 -2
- package/lib/building/components/layout/Sidebar/index.js +3 -22
- package/lib/building/components/layout/Sidebar/presenter.js +13 -54
- package/lib/building/components/layout/Sidebar/styles.js +0 -4
- package/lib/building/components/layout/Sidebar/theme.js +0 -2
- package/lib/building/components/layout/header/BuildingButtons/index.js +0 -17
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +8 -69
- package/lib/building/components/layout/header/BuildingButtons/styles.js +0 -4
- package/lib/building/components/layout/header/BuildingButtons/theme.js +2 -4
- package/lib/building/components/layout/header/SDKBuildingButtons/index.js +0 -7
- package/lib/building/components/resources/ActionButtons/index.js +0 -11
- package/lib/building/components/resources/ActionButtons/presenter.js +6 -38
- package/lib/building/components/resources/ActionButtons/styles.js +0 -6
- package/lib/building/components/resources/ActionButtons/theme.js +1 -3
- package/lib/building/components/resources/AddToBankOptions/index.js +7 -40
- package/lib/building/components/resources/AddToBankOptions/styles.js +0 -2
- package/lib/building/components/resources/AddToBankOptions/theme.js +1 -3
- package/lib/building/components/resources/BanksTray/index.js +0 -6
- package/lib/building/components/resources/BanksTray/presenter.js +2 -46
- package/lib/building/components/resources/DeleteStimulusModal/index.js +3 -15
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +14 -63
- package/lib/building/components/resources/DeleteStimulusModal/styles.js +0 -2
- package/lib/building/components/resources/DeleteStimulusModal/theme.js +1 -3
- package/lib/building/components/resources/ItemFeedbackModal/index.js +0 -13
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +6 -38
- package/lib/building/components/resources/ItemFeedbackModal/styles.js +0 -2
- package/lib/building/components/resources/ItemFeedbackModal/theme.js +0 -2
- package/lib/building/components/resources/MoveImmutableModal/index.js +5 -18
- package/lib/building/components/resources/MoveImmutableModal/presenter.js +4 -32
- package/lib/building/components/resources/quiz/editButton/EditButton.js +0 -26
- package/lib/building/components/resources/quiz/instructions/Edit/index.js +0 -6
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +5 -29
- package/lib/building/components/resources/quiz/instructions/Edit/styles.js +0 -2
- package/lib/building/components/resources/quiz/instructions/Edit/theme.js +0 -1
- package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +0 -4
- package/lib/building/components/resources/quiz/instructions/Instructions/index.js +0 -11
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +12 -55
- package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +0 -4
- package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +2 -3
- package/lib/building/components/resources/quiz/instructions/Show/index.js +6 -31
- package/lib/building/components/resources/quiz/instructions/Show/styles.js +0 -2
- package/lib/building/components/resources/quiz/instructions/Show/theme.js +2 -3
- package/lib/building/components/resources/quiz/title/Edit/index.js +8 -40
- package/lib/building/components/resources/quiz/title/Edit/styles.js +0 -4
- package/lib/building/components/resources/quiz/title/Edit/theme.js +3 -5
- package/lib/building/components/resources/quiz/title/Show/index.js +6 -31
- package/lib/building/components/resources/quiz/title/Show/styles.js +0 -2
- package/lib/building/components/resources/quiz/title/Show/theme.js +0 -2
- package/lib/building/components/resources/quiz/title/Title/Title.examples.js +0 -4
- package/lib/building/components/resources/quiz/title/Title/index.js +0 -12
- package/lib/building/components/resources/quiz/title/Title/presenter.js +12 -49
- package/lib/building/components/resources/quiz/title/Title/styles.js +0 -5
- package/lib/building/components/resources/quiz/title/Title/theme.js +3 -4
- package/lib/building/components/resources/quizEntry/QuizEntry/index.js +0 -22
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +13 -79
- package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +0 -13
- package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +0 -4
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +3 -5
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +0 -8
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +6 -55
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +0 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +3 -5
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +7 -30
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +0 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +3 -5
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +2 -11
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +18 -64
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +0 -5
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +3 -5
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +13 -83
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +0 -3
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +2 -4
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +0 -20
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +29 -118
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +0 -3
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +3 -5
- package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +0 -12
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +24 -76
- package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +0 -5
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +4 -6
- package/lib/common/actions/addInteractionTypes.js +0 -2
- package/lib/common/actions/alerts.js +7 -16
- package/lib/common/actions/analyses.js +0 -7
- package/lib/common/actions/bankEntries.js +0 -5
- package/lib/common/actions/bankSearch.js +0 -9
- package/lib/common/actions/banks.js +0 -13
- package/lib/common/actions/config.js +0 -4
- package/lib/common/actions/dragAndDrop.js +0 -2
- package/lib/common/actions/editing.js +0 -4
- package/lib/common/actions/errorsShowing.js +0 -4
- package/lib/common/actions/features.js +0 -3
- package/lib/common/actions/grading.js +0 -4
- package/lib/common/actions/items.js +0 -2
- package/lib/common/actions/modal.js +0 -7
- package/lib/common/actions/moderation.js +0 -3
- package/lib/common/actions/modifications.js +35 -57
- package/lib/common/actions/outcomes.js +0 -5
- package/lib/common/actions/postMessage.js +0 -2
- package/lib/common/actions/printing.js +0 -3
- package/lib/common/actions/qtiImports.js +0 -3
- package/lib/common/actions/quizEntries.js +0 -7
- package/lib/common/actions/quizExport.js +0 -3
- package/lib/common/actions/quizSessionEvents.js +0 -3
- package/lib/common/actions/quizSessionResults.js +0 -3
- package/lib/common/actions/quizSessions.js +3 -30
- package/lib/common/actions/quizzes.js +0 -13
- package/lib/common/actions/rce.js +3 -9
- package/lib/common/actions/regrading.js +0 -4
- package/lib/common/actions/reporting.js +0 -6
- package/lib/common/actions/scrolling.js +0 -3
- package/lib/common/actions/sessionItemResults.js +0 -3
- package/lib/common/actions/sessionItems.js +0 -3
- package/lib/common/actions/sharedBanks.js +0 -7
- package/lib/common/actions/sidebar.js +0 -3
- package/lib/common/actions/stimuli.js +0 -2
- package/lib/common/actions/tagAssociations.js +0 -17
- package/lib/common/actions/taking.js +6 -42
- package/lib/common/actions/ui.js +0 -19
- package/lib/common/actions/upload.js +0 -11
- package/lib/common/api/callHandlers.js +10 -62
- package/lib/common/api/camelizeHelpers.js +3 -10
- package/lib/common/api/features.js +0 -8
- package/lib/common/api/fileUpload.js +3 -9
- package/lib/common/api/getPersistenceActions.js +22 -43
- package/lib/common/api/helpers.js +10 -46
- package/lib/common/api/interactionTypes.js +0 -5
- package/lib/common/api/quizSessions.js +21 -64
- package/lib/common/api/quizzes.js +4 -12
- package/lib/common/api/schema.js +6 -7
- package/lib/common/components/ApiFeatureFlagInitializer/index.js +0 -12
- package/lib/common/components/ConfirmationModal/index.js +0 -11
- package/lib/common/components/ConfirmationModal/presenter.js +9 -36
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +8 -31
- package/lib/common/components/ImportModal/ImportFileSelector/styles.js +0 -2
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +2 -4
- package/lib/common/components/ImportModal/index.js +8 -21
- package/lib/common/components/ImportModal/presenter.js +13 -80
- package/lib/common/components/ImportModal/styles.js +0 -2
- package/lib/common/components/ImportModal/theme.js +0 -2
- package/lib/common/components/LearnosityCalculator/index.js +1 -32
- package/lib/common/components/Pin/index.js +0 -2
- package/lib/common/components/Pin/presenter.js +0 -22
- package/lib/common/components/PreviewFrame/examples.config.js +0 -4
- package/lib/common/components/PreviewFrame/index.js +0 -19
- package/lib/common/components/PrintFontSizeModal/index.js +0 -3
- package/lib/common/components/PrintFontSizeModal/presenter.js +16 -40
- package/lib/common/components/PrintFontSizeModal/styles.js +0 -2
- package/lib/common/components/PrintFontSizeModal/theme.js +2 -4
- package/lib/common/components/RceConfigProvider/index.js +0 -8
- package/lib/common/components/RceConfigProvider/presenter.js +22 -66
- package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +0 -15
- package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +0 -13
- package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +1 -14
- package/lib/common/components/RceConfigProvider/rceConfigMapper.js +3 -14
- package/lib/common/components/RceConfigProvider/rceConfigUtils.js +0 -4
- package/lib/common/components/SDKApp/index.js +16 -62
- package/lib/common/components/SDKApp/styles.js +0 -2
- package/lib/common/components/SDKHeaderCalculator.js +1 -9
- package/lib/common/components/SDKMenuButton.js +0 -7
- package/lib/common/components/SDKNavBar.js +0 -7
- package/lib/common/components/SDKTimer.js +1 -9
- package/lib/common/components/alerts/index.js +0 -9
- package/lib/common/components/alerts/presenter.js +6 -35
- package/lib/common/components/alerts/styles.js +0 -4
- package/lib/common/components/alerts/theme.js +1 -3
- package/lib/common/components/layout/Page/index.js +6 -20
- package/lib/common/components/layout/Page/styles.js +0 -5
- package/lib/common/components/layout/Page/theme.js +2 -4
- package/lib/common/components/layout/header/Calculator/index.js +0 -9
- package/lib/common/components/layout/header/Calculator/presenter.js +2 -26
- package/lib/common/components/layout/header/HeaderMenuButton/index.js +0 -10
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +7 -35
- package/lib/common/components/layout/header/HeaderMenuButton/styles.js +0 -4
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +2 -4
- package/lib/common/components/layout/header/Timer/index.js +0 -13
- package/lib/common/components/layout/header/Timer/presenter.js +10 -53
- package/lib/common/components/layout/header/Timer/styles.js +0 -2
- package/lib/common/components/layout/header/Timer/theme.js +3 -5
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +5 -21
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +0 -2
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +0 -2
- package/lib/common/components/layout/navbar/index.js +6 -37
- package/lib/common/components/layout/navbar/styles.js +0 -2
- package/lib/common/components/layout/navbar/theme.js +1 -3
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +5 -21
- package/lib/common/components/layout/sidebar/PositionSummary/styles.js +0 -2
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +3 -5
- package/lib/common/components/layout/sidebar/Sidebar/Pin.js +0 -20
- package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +0 -6
- package/lib/common/components/layout/sidebar/Sidebar/index.js +18 -76
- package/lib/common/components/layout/sidebar/Sidebar/styles.js +0 -7
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +5 -8
- package/lib/common/components/layout/sidebar/SidebarItem/index.js +0 -12
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +23 -55
- package/lib/common/components/layout/sidebar/SidebarItem/styles.js +0 -4
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +3 -5
- package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +0 -6
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +13 -43
- package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +0 -5
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +2 -4
- package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +0 -6
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +11 -44
- package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +0 -2
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +2 -4
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +5 -23
- package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +0 -2
- package/lib/common/components/layout/sidebar/Stimulus/index.js +0 -9
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +17 -51
- package/lib/common/components/layout/sidebar/Stimulus/styles.js +0 -2
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +3 -5
- package/lib/common/components/resources/BankSelection/index.js +0 -11
- package/lib/common/components/resources/BankSelection/presenter.js +6 -51
- package/lib/common/components/resources/WarningWrapper/index.js +6 -29
- package/lib/common/components/resources/WarningWrapper/styles.js +0 -2
- package/lib/common/components/resources/WarningWrapper/theme.js +2 -4
- package/lib/common/components/resources/entry/EntrySave/index.js +0 -15
- package/lib/common/components/resources/entry/EntrySave/presenter.js +8 -73
- package/lib/common/components/resources/item/ItemEdit/index.js +2 -24
- package/lib/common/components/resources/item/ItemEdit/presenter.js +8 -50
- package/lib/common/components/resources/item/ItemOverride/index.js +0 -16
- package/lib/common/components/resources/item/ItemOverride/presenter.js +0 -23
- package/lib/common/components/resources/item/ItemShow/index.js +0 -20
- package/lib/common/components/resources/positionBox/PositionBox.js +6 -22
- package/lib/common/components/resources/positionBox/styles.js +0 -4
- package/lib/common/components/resources/positionBox/theme.js +2 -4
- package/lib/common/components/resources/quiz/AddContent/Body/index.js +0 -12
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +16 -51
- package/lib/common/components/resources/quiz/AddContent/Body/styles.js +0 -6
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +4 -6
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +6 -29
- package/lib/common/components/resources/quiz/AddContent/Button/styles.js +0 -5
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +4 -6
- package/lib/common/components/resources/quiz/AddContent/Modal/index.js +5 -14
- package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +0 -18
- package/lib/common/components/resources/quiz/AddContent/Popover/index.js +1 -12
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +6 -39
- package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +0 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +1 -3
- package/lib/common/components/resources/quiz/info/QuizInfo.js +0 -16
- package/lib/common/components/resources/quiz/instructions/Instructions.js +10 -24
- package/lib/common/components/resources/quiz/instructions/styles.js +0 -2
- package/lib/common/components/resources/quiz/instructions/theme.js +1 -3
- package/lib/common/components/resources/quiz/title/Title.js +9 -24
- package/lib/common/components/resources/quiz/title/styles.js +0 -2
- package/lib/common/components/resources/quiz/title/theme.js +1 -3
- package/lib/common/components/resources/quizSessionResult/Header/index.js +6 -30
- package/lib/common/components/resources/quizSessionResult/Header/styles.js +0 -2
- package/lib/common/components/resources/quizSessionResult/Header/theme.js +1 -3
- package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +0 -5
- package/lib/common/components/resources/quizSessionResult/Info/index.js +12 -49
- package/lib/common/components/resources/quizSessionResult/Info/styles.js +0 -3
- package/lib/common/components/resources/quizSessionResult/Info/theme.js +1 -3
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +5 -24
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +0 -5
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +4 -6
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +0 -8
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +11 -53
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +0 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +3 -5
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +6 -34
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +0 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +3 -5
- package/lib/common/components/resources/stimulus/Stimulus/index.js +0 -11
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +10 -45
- package/lib/common/components/resources/stimulus/Stimulus/styles.js +1 -9
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +3 -5
- package/lib/common/components/resources/stimulus/StimulusEdit/index.js +0 -19
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +19 -122
- package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +0 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +2 -4
- package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +0 -11
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +6 -47
- package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +0 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +2 -4
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +7 -32
- package/lib/common/components/resources/stimulus/StimulusShow/styles.js +0 -2
- package/lib/common/components/resources/stimulus/StimulusShow/theme.js +2 -4
- package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +0 -3
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +0 -19
- package/lib/common/components/shared/Card/CardContent/index.js +6 -22
- package/lib/common/components/shared/Card/CardContent/styles.js +0 -4
- package/lib/common/components/shared/Card/CardContent/theme.js +4 -6
- package/lib/common/components/shared/Card/CardWrapper/index.js +6 -22
- package/lib/common/components/shared/Card/CardWrapper/styles.js +0 -4
- package/lib/common/components/shared/Card/CardWrapper/theme.js +2 -4
- package/lib/common/components/shared/Card/index.js +3 -13
- package/lib/common/components/shared/ExpandButton/index.js +5 -22
- package/lib/common/components/shared/ExpandButton/styles.js +0 -4
- package/lib/common/components/shared/ExpandButton/theme.js +0 -2
- package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +0 -4
- package/lib/common/components/shared/FormattedDuration/index.js +4 -28
- package/lib/common/components/shared/IfFeature/index.js +0 -5
- package/lib/common/components/shared/IfFeature/presenter.js +0 -13
- package/lib/common/components/shared/InteractionTypes/index.js +0 -6
- package/lib/common/components/shared/InteractionTypes/presenter.js +8 -42
- package/lib/common/components/shared/InteractionTypes/styles.js +0 -2
- package/lib/common/components/shared/InteractionTypes/theme.js +2 -4
- package/lib/common/components/shared/PaginatedCollection/index.js +0 -8
- package/lib/common/components/shared/PaginatedCollection/presenter.js +25 -51
- package/lib/common/components/shared/PaginatedCollection/styles.js +0 -2
- package/lib/common/components/shared/PaginatedCollection/theme.js +2 -4
- package/lib/common/components/shared/Paginator/index.js +6 -25
- package/lib/common/components/shared/Paginator/styles.js +0 -2
- package/lib/common/components/shared/Paginator/theme.js +0 -2
- package/lib/common/components/shared/PrintTrigger/index.js +0 -14
- package/lib/common/components/shared/PrintTrigger/presenter.js +3 -42
- package/lib/common/components/shared/TagDisplay/index.js +6 -25
- package/lib/common/components/shared/TagDisplay/styles.js +0 -2
- package/lib/common/components/shared/TagSelect/index.js +0 -3
- package/lib/common/components/shared/TagSelect/presenter.js +11 -59
- package/lib/common/components/shared/TagSuggestSelect/index.js +0 -10
- package/lib/common/components/shared/TagSuggestSelect/presenter.js +7 -34
- package/lib/common/components/shared/TagWrapper/index.js +0 -3
- package/lib/common/components/shared/TagWrapper/presenter.js +3 -25
- package/lib/common/components/shared/TimeUnitsInput/index.js +20 -68
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +13 -34
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +0 -4
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +2 -4
- package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +0 -15
- package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +15 -66
- package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +21 -88
- package/lib/common/components/shared/errors/Errors.js +6 -29
- package/lib/common/components/shared/errors/styles.js +0 -2
- package/lib/common/components/shared/errors/theme.js +1 -3
- package/lib/common/components/shared/file_selector/FileSelector.js +6 -24
- package/lib/common/components/shared/file_selector/styles.js +0 -2
- package/lib/common/components/shared/file_selector/theme.js +2 -4
- package/lib/common/components/shared/functionality/componentWithOutsideClick.js +4 -21
- package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +4 -19
- package/lib/common/components/shared/functionality/disableDraggingOverride.js +0 -5
- package/lib/common/components/shared/functionality/makeEditable.js +19 -48
- package/lib/common/components/shared/functionality/makeScrollable.js +9 -44
- package/lib/common/components/shared/overlay/index.js +17 -26
- package/lib/common/components/shared/overlay/styles.js +0 -4
- package/lib/common/components/shared/overlay/theme.js +2 -4
- package/lib/common/components/shared/return_button/ReturnButton.js +0 -18
- package/lib/common/components/shared/spinner/Spinner.js +12 -31
- package/lib/common/components/shared/spinner/styles.js +0 -2
- package/lib/common/kinesis/QuizEventsLogger.js +14 -45
- package/lib/common/kinesis/StreamQueue.js +6 -29
- package/lib/common/kinesis/client.js +1 -14
- package/lib/common/kinesis/config.js +2 -11
- package/lib/common/kinesis/eventTypes.js +4 -5
- package/lib/common/middleware/alertTimerMiddleware.js +2 -8
- package/lib/common/middleware/crossDomainMessagingMiddleware.js +0 -5
- package/lib/common/middleware/eventLoggerMiddleware.js +1 -8
- package/lib/common/middleware/persistedStorageMiddleware.js +1 -11
- package/lib/common/middleware/quizTimerWebSocketMiddleware.js +0 -29
- package/lib/common/react-redux.js +1 -4
- package/lib/common/records/Alert.js +0 -10
- package/lib/common/records/Bank.js +0 -17
- package/lib/common/records/BankEntry.js +0 -18
- package/lib/common/records/Item.js +2 -21
- package/lib/common/records/ItemAnalysis.js +0 -15
- package/lib/common/records/QtiImport.js +0 -13
- package/lib/common/records/Quiz.js +4 -28
- package/lib/common/records/QuizAnalysis.js +0 -12
- package/lib/common/records/QuizEntry.js +10 -78
- package/lib/common/records/QuizSession.js +0 -23
- package/lib/common/records/QuizSessionEvent.js +0 -12
- package/lib/common/records/QuizSessionResult.js +0 -14
- package/lib/common/records/Response.js +0 -14
- package/lib/common/records/SessionItem.js +2 -23
- package/lib/common/records/SessionItemResult.js +0 -13
- package/lib/common/records/Stimulus.js +0 -16
- package/lib/common/records/baseRecord.js +0 -21
- package/lib/common/records/index.js +0 -17
- package/lib/common/records/reduxRecord.js +0 -11
- package/lib/common/reducers/alerts.js +0 -7
- package/lib/common/reducers/analyses.js +0 -15
- package/lib/common/reducers/bankEntries.js +0 -11
- package/lib/common/reducers/bankSearch.js +4 -14
- package/lib/common/reducers/banks.js +1 -19
- package/lib/common/reducers/calls.js +0 -7
- package/lib/common/reducers/config.js +0 -9
- package/lib/common/reducers/dragAndDrop.js +0 -6
- package/lib/common/reducers/editing.js +0 -7
- package/lib/common/reducers/errorsShowing.js +0 -8
- package/lib/common/reducers/features.js +0 -7
- package/lib/common/reducers/grading.js +0 -8
- package/lib/common/reducers/interactionTypes.js +0 -9
- package/lib/common/reducers/items.js +0 -10
- package/lib/common/reducers/modal.js +0 -10
- package/lib/common/reducers/moderation.js +0 -8
- package/lib/common/reducers/modifications.js +6 -44
- package/lib/common/reducers/outcomes.js +0 -10
- package/lib/common/reducers/printing.js +0 -6
- package/lib/common/reducers/qtiImports.js +0 -11
- package/lib/common/reducers/quizEntries.js +28 -46
- package/lib/common/reducers/quizExport.js +0 -6
- package/lib/common/reducers/quizSessionEvents.js +0 -9
- package/lib/common/reducers/quizSessionResults.js +0 -9
- package/lib/common/reducers/quizSessions.js +2 -18
- package/lib/common/reducers/quizzes.js +0 -21
- package/lib/common/reducers/rce.js +0 -9
- package/lib/common/reducers/regrading.js +0 -9
- package/lib/common/reducers/reporting.js +0 -18
- package/lib/common/reducers/scrolling.js +0 -7
- package/lib/common/reducers/sessionItemResults.js +0 -9
- package/lib/common/reducers/sessionItems.js +0 -10
- package/lib/common/reducers/sharedBanks.js +1 -13
- package/lib/common/reducers/sidebar.js +0 -7
- package/lib/common/reducers/stimuli.js +0 -10
- package/lib/common/reducers/tagAssociations.js +0 -32
- package/lib/common/reducers/taking.js +0 -40
- package/lib/common/reducers/ui.js +0 -15
- package/lib/common/reducers/upload.js +0 -11
- package/lib/common/selectors/analyses.js +0 -14
- package/lib/common/selectors/calculator.js +4 -11
- package/lib/common/selectors/calls.js +0 -3
- package/lib/common/selectors/config.js +0 -4
- package/lib/common/selectors/interactionTypes.js +5 -13
- package/lib/common/selectors/items.js +0 -7
- package/lib/common/selectors/qtiImports.js +2 -9
- package/lib/common/selectors/quizSessionResults.js +0 -5
- package/lib/common/selectors/quizSessions.js +3 -14
- package/lib/common/selectors/quizzes.js +4 -39
- package/lib/common/selectors/rce.js +0 -4
- package/lib/common/selectors/reporting.js +0 -6
- package/lib/common/selectors/sessionItemResults.js +2 -10
- package/lib/common/selectors/sessionItems.js +2 -11
- package/lib/common/selectors/taking.js +0 -16
- package/lib/common/selectors/ui.js +0 -2
- package/lib/common/util/CustomPropTypes.js +0 -18
- package/lib/common/util/ElementsForSelectors.js +0 -4
- package/lib/common/util/ExhaustivePaginatedFetcher.js +7 -32
- package/lib/common/util/Fetcher.js +24 -95
- package/lib/common/util/MultiWeakMap.js +0 -21
- package/lib/common/util/PaginatedFetcher.js +2 -29
- package/lib/common/util/ThunkQueue.js +3 -33
- package/lib/common/util/TimeRecordingService.js +0 -16
- package/lib/common/util/TimerService.js +3 -50
- package/lib/common/util/cachePreviousArgs.js +0 -7
- package/lib/common/util/callHelpers.js +0 -10
- package/lib/common/util/componentForItem.js +1 -11
- package/lib/common/util/crossDomainMessaging.js +0 -2
- package/lib/common/util/debounceLatestPromise.js +0 -6
- package/lib/common/util/featureCheck.js +3 -13
- package/lib/common/util/fetchHelpers.js +0 -1
- package/lib/common/util/fitbCopyHelper.js +1 -4
- package/lib/common/util/formatTimespan.js +0 -18
- package/lib/common/util/generateDisplayPositions.js +2 -7
- package/lib/common/util/httpHeaders.js +0 -4
- package/lib/common/util/immutableHelpers.js +4 -10
- package/lib/common/util/instUIMessages.js +0 -2
- package/lib/common/util/interactionTypeMetadata.js +3 -9
- package/lib/common/util/interactionTypePropsHelper.js +0 -14
- package/lib/common/util/interactionTypeRecordForItem.js +1 -10
- package/lib/common/util/jsonify.js +1 -5
- package/lib/common/util/keyboardClickable.js +0 -2
- package/lib/common/util/mathRenderingUtils.js +0 -2
- package/lib/common/util/maxContent.js +0 -6
- package/lib/common/util/modalHelpers.js +0 -2
- package/lib/common/util/noop.js +0 -2
- package/lib/common/util/persistedState.js +0 -13
- package/lib/common/util/printUtils.js +0 -7
- package/lib/common/util/rceChecker.js +1 -10
- package/lib/common/util/renderAlerts.js +6 -17
- package/lib/common/util/serializeEvent.js +0 -8
- package/lib/common/util/sessionStore.js +4 -13
- package/lib/common/util/valMap.js +0 -4
- package/lib/common/util/warningHelpers.js +0 -27
- package/lib/common/util/windowChecks.js +0 -10
- package/lib/common/util/withCachedArguments.js +0 -9
- package/lib/common/util/withDynamoPagination.js +14 -43
- package/lib/common/util/withStateCache.js +0 -15
- package/lib/config.js +2 -11
- package/lib/configureStore.js +9 -60
- package/lib/grading/api/quizEntryRegrades.js +3 -9
- package/lib/grading/api/updateResults.js +0 -12
- package/lib/index.js +0 -130
- package/lib/messages/LocalStorageAdapter.js +0 -14
- package/lib/messages/LocalStorageLimits.js +2 -25
- package/lib/messages/StorageExhaustionError.js +1 -12
- package/lib/messages/postMessageService.js +0 -29
- package/lib/messages/subjectHandlers/forwardMessage.js +0 -2
- package/lib/messages/subjectHandlers/lti.capabilities.js +0 -2
- package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +0 -2
- package/lib/messages/subjectHandlers/lti.frameResize.js +0 -4
- package/lib/messages/subjectHandlers/lti.get_data.js +2 -9
- package/lib/messages/subjectHandlers/lti.put_data.js +3 -14
- package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +0 -7
- package/lib/messages/utils.js +0 -1
- package/lib/moderating/api/quizSessionEvents.js +0 -6
- package/lib/moderating/api/quizSessions.js +0 -8
- package/lib/moderating/components/events/Event.js +3 -33
- package/lib/moderating/components/events/PageBlurredEvent.js +0 -14
- package/lib/moderating/components/events/PageFocusedEvent.js +0 -14
- package/lib/moderating/components/events/RCEEvent.js +0 -14
- package/lib/moderating/components/events/ResponseEvent.js +5 -31
- package/lib/moderating/components/events/SessionStartEvent.js +0 -19
- package/lib/moderating/components/events/styles.js +0 -2
- package/lib/moderating/components/events/theme.js +1 -3
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +8 -33
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +0 -32
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +0 -33
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +0 -35
- package/lib/moderating/components/resources/AccommodationsModal/index.js +7 -42
- package/lib/moderating/components/resources/ElapsedTime.js +5 -19
- package/lib/moderating/components/resources/ModerateTable/index.js +0 -11
- package/lib/moderating/components/resources/ModerateTable/presenter.js +24 -93
- package/lib/moderating/components/resources/ModerateTable/styles.js +0 -4
- package/lib/moderating/components/resources/ModerateTable/theme.js +1 -3
- package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +0 -7
- package/lib/moderating/components/resources/ModerateTableRow/index.js +2 -8
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +21 -81
- package/lib/moderating/components/resources/ModerateTableRow/story.js +1 -6
- package/lib/moderating/components/resources/ModerateTableRow/styles.js +0 -2
- package/lib/moderating/components/resources/ModerateTableRow/theme.js +0 -2
- package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +0 -10
- package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +2 -42
- package/lib/moderating/components/sidebar/ModerateTray/index.js +0 -7
- package/lib/moderating/components/sidebar/ModerateTray/presenter.js +0 -39
- package/lib/moderating/components/sidebar/ResetQuiz/index.js +0 -13
- package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +1 -31
- package/lib/reduxStore.js +0 -11
- package/lib/reporting/api/getAnalysesExport.js +4 -18
- package/lib/reporting/api/getAnalysesStatus.js +3 -13
- package/lib/reporting/api/getItemAnalyses.js +3 -13
- package/lib/reporting/api/getQuizAnalysis.js +3 -13
- package/lib/reporting/api/itemAnalyses.js +0 -6
- package/lib/reporting/api/quizAnalyses.js +0 -6
- package/lib/reporting/components/Caption/index.js +6 -21
- package/lib/reporting/components/Caption/styles.js +0 -2
- package/lib/reporting/components/Caption/theme.js +2 -4
- package/lib/reporting/components/MetricsListItem/index.js +9 -26
- package/lib/reporting/components/MetricsListItem/styles.js +0 -2
- package/lib/reporting/components/charts/CentileDistribution/index.js +0 -3
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +11 -45
- package/lib/reporting/components/charts/CentileDistribution/styles.js +0 -4
- package/lib/reporting/components/charts/CentileDistribution/theme.js +2 -4
- package/lib/reporting/components/charts/Distribution/CentileDistribution.js +1 -2
- package/lib/reporting/components/charts/Distribution/Distribution.js +0 -3
- package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +0 -3
- package/lib/reporting/components/charts/Distribution/index.js +0 -3
- package/lib/reporting/components/charts/Distribution/presenter.js +13 -60
- package/lib/reporting/components/charts/Distribution/styles.js +0 -2
- package/lib/reporting/components/charts/Distribution/theme.js +1 -3
- package/lib/reporting/components/charts/Legend/index.js +9 -26
- package/lib/reporting/components/charts/Legend/styles.js +0 -4
- package/lib/reporting/components/charts/Legend/theme.js +3 -5
- package/lib/reporting/components/charts/QuintileDistribution/index.js +0 -3
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +9 -42
- package/lib/reporting/components/charts/QuintileDistribution/styles.js +0 -2
- package/lib/reporting/components/charts/QuintileDistribution/theme.js +1 -3
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +0 -4
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +5 -37
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +0 -9
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +5 -7
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +0 -4
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +0 -9
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +15 -59
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +0 -5
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +3 -5
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +10 -42
- package/lib/reporting/components/quizAnalysis/styles.js +0 -5
- package/lib/reporting/components/quizAnalysis/theme.js +3 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +10 -25
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +9 -25
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +1 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisUpdateDate/index.js +4 -21
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +2 -23
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +2 -24
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +5 -36
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +8 -34
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +2 -30
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +2 -25
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +15 -53
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +2 -30
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +0 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +0 -10
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +5 -29
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +13 -67
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +10 -45
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +4 -28
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +10 -34
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +1 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +2 -25
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +4 -47
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +9 -30
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +0 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +5 -28
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +5 -51
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +10 -67
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +1 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +7 -32
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +2 -14
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +6 -35
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/index.js +0 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +5 -19
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +0 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +0 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +11 -62
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +3 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +0 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +8 -44
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +19 -61
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +0 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +1 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +7 -35
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +2 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/errorCodes.js +0 -13
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/errorMessages.js +0 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportReports.js +1 -19
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +1 -15
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +1 -13
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/generateReports.js +2 -28
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +0 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +20 -78
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +0 -38
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +0 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/utils.js +0 -10
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +0 -16
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +32 -70
- package/lib/reporting/components/resources/OutcomeAnalysis/index.js +0 -5
- package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +6 -29
- package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +4 -12
- package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +0 -10
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +17 -58
- package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +0 -2
- package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +2 -4
- package/lib/reporting/components/resources/ReportCard/index.js +9 -28
- package/lib/reporting/components/resources/ReportCard/styles.js +0 -4
- package/lib/reporting/components/resources/ReportCard/theme.js +1 -3
- package/lib/reporting/components/resources/ReportList/index.js +9 -25
- package/lib/reporting/components/resources/ReportList/styles.js +0 -2
- package/lib/reporting/components/resources/ReportList/theme.js +0 -2
- package/lib/taking/api/taking.js +30 -78
- package/lib/taking/learnosity/index.js +9 -40
- package/package.json +11 -12
|
@@ -1,69 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = exports.StimulusShow = void 0;
|
|
9
|
-
|
|
10
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
-
|
|
12
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
-
|
|
14
10
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
-
|
|
16
11
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
-
|
|
18
12
|
var _react = require("react");
|
|
19
|
-
|
|
20
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
21
|
-
|
|
22
14
|
var _reactImmutableProptypes = _interopRequireDefault(require("react-immutable-proptypes"));
|
|
23
|
-
|
|
24
15
|
var _uiIcons = require("@instructure/ui-icons");
|
|
25
|
-
|
|
26
16
|
var _emotion = require("@instructure/emotion");
|
|
27
|
-
|
|
28
17
|
var _index = _interopRequireDefault(require("../StimulusShowInfo/index.js"));
|
|
29
|
-
|
|
30
18
|
var _index2 = _interopRequireDefault(require("../../../../../building/components/resources/ActionButtons/index.js"));
|
|
31
|
-
|
|
32
19
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
33
|
-
|
|
34
20
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
35
|
-
|
|
36
21
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
37
|
-
|
|
38
22
|
var _index3 = _interopRequireDefault(require("../../../shared/overlay/index.js"));
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
23
|
+
var _dec, _class, _StimulusShow;
|
|
24
|
+
/** @jsx jsx */
|
|
25
|
+
/* eslint "jsx-a11y/click-events-have-key-events": "warn" */
|
|
42
26
|
var _ref = (0, _emotion.jsx)(_uiIcons.IconBankLine, null);
|
|
43
|
-
|
|
44
|
-
var StimulusShow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
27
|
+
var StimulusShow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_StimulusShow = /*#__PURE__*/function (_Component) {
|
|
45
28
|
(0, _inherits2.default)(StimulusShow, _Component);
|
|
46
|
-
|
|
47
29
|
var _super = (0, _createSuper2.default)(StimulusShow);
|
|
48
|
-
|
|
49
30
|
function StimulusShow() {
|
|
50
31
|
var _this;
|
|
51
|
-
|
|
52
32
|
(0, _classCallCheck2.default)(this, StimulusShow);
|
|
53
|
-
|
|
54
33
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
55
34
|
args[_key] = arguments[_key];
|
|
56
35
|
}
|
|
57
|
-
|
|
58
36
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
59
|
-
|
|
60
37
|
_this.switchOnEditing = function () {
|
|
61
38
|
_this.props.switchOnEditing();
|
|
62
39
|
};
|
|
63
|
-
|
|
64
40
|
return _this;
|
|
65
41
|
}
|
|
66
|
-
|
|
67
42
|
(0, _createClass2.default)(StimulusShow, [{
|
|
68
43
|
key: "renderBankIcon",
|
|
69
44
|
value: function renderBankIcon() {
|
|
@@ -112,7 +87,7 @@ var StimulusShow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defau
|
|
|
112
87
|
}]);
|
|
113
88
|
StimulusShow.displayName = "StimulusShow";
|
|
114
89
|
return StimulusShow;
|
|
115
|
-
}(_react.Component),
|
|
90
|
+
}(_react.Component), _StimulusShow.propTypes = {
|
|
116
91
|
connectDragSource: _propTypes.default.func.isRequired,
|
|
117
92
|
displayPosition: _propTypes.default.number.isRequired,
|
|
118
93
|
isBankedContent: _propTypes.default.bool,
|
|
@@ -126,13 +101,13 @@ var StimulusShow = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defau
|
|
|
126
101
|
switchOnEditing: _propTypes.default.func.isRequired,
|
|
127
102
|
shouldFocusOnMount: _propTypes.default.bool.isRequired,
|
|
128
103
|
styles: _propTypes.default.object
|
|
129
|
-
},
|
|
104
|
+
}, _StimulusShow.defaultProps = {
|
|
130
105
|
isBankedContent: false,
|
|
131
106
|
isQuizContentLocked: false,
|
|
132
107
|
scrollKey: '',
|
|
133
108
|
shouldDisableDragHandle: false,
|
|
134
109
|
shouldFocusOnMount: false
|
|
135
|
-
},
|
|
110
|
+
}, _StimulusShow)) || _class);
|
|
136
111
|
exports.StimulusShow = StimulusShow;
|
|
137
112
|
var _default = StimulusShow;
|
|
138
113
|
exports.default = _default;
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var generateStyle = function generateStyle(componentTheme) {
|
|
9
8
|
return {
|
|
10
9
|
stimulus: {
|
|
@@ -36,6 +35,5 @@ var generateStyle = function generateStyle(componentTheme) {
|
|
|
36
35
|
}
|
|
37
36
|
};
|
|
38
37
|
};
|
|
39
|
-
|
|
40
38
|
var _default = generateStyle;
|
|
41
39
|
exports.default = _default;
|
|
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
9
8
|
var spacing = _ref.spacing,
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
typography = _ref.typography,
|
|
10
|
+
colors = _ref.colors;
|
|
12
11
|
return {
|
|
13
12
|
stimulusPadding: spacing.large,
|
|
14
13
|
headerPadding: spacing.small,
|
|
@@ -20,6 +19,5 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
20
19
|
stimulusContentPaddingLeftRight: spacing.small
|
|
21
20
|
};
|
|
22
21
|
};
|
|
23
|
-
|
|
24
22
|
var _default = generateComponentTheme;
|
|
25
23
|
exports.default = _default;
|
package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _Stimulus = _interopRequireDefault(require("../../../../../common/records/Stimulus.js"));
|
|
11
|
-
|
|
12
9
|
var stimulus = new _Stimulus.default({
|
|
13
10
|
instructions: 'Instructions can be useful, but people tend not to read them.',
|
|
14
11
|
title: 'A Stimulus',
|
|
@@ -1,46 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
|
-
|
|
7
5
|
Object.defineProperty(exports, "__esModule", {
|
|
8
6
|
value: true
|
|
9
7
|
});
|
|
10
8
|
exports.default = void 0;
|
|
11
|
-
|
|
12
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
13
|
-
|
|
14
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
15
|
-
|
|
16
11
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
-
|
|
18
12
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
19
|
-
|
|
20
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
21
|
-
|
|
22
14
|
var _reactImmutableProptypes = _interopRequireDefault(require("react-immutable-proptypes"));
|
|
23
|
-
|
|
24
15
|
var _uiHeading = require("@instructure/ui-heading");
|
|
25
|
-
|
|
26
16
|
var _uiText = require("@instructure/ui-text");
|
|
27
|
-
|
|
28
17
|
var _uiView = require("@instructure/ui-view");
|
|
29
|
-
|
|
30
18
|
var _quizRce = require("@instructure/quiz-rce");
|
|
31
|
-
|
|
32
19
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
33
|
-
|
|
34
20
|
var StimulusShowInfo = /*#__PURE__*/function (_Component) {
|
|
35
21
|
(0, _inherits2.default)(StimulusShowInfo, _Component);
|
|
36
|
-
|
|
37
22
|
var _super = (0, _createSuper2.default)(StimulusShowInfo);
|
|
38
|
-
|
|
39
23
|
function StimulusShowInfo() {
|
|
40
24
|
(0, _classCallCheck2.default)(this, StimulusShowInfo);
|
|
41
25
|
return _super.apply(this, arguments);
|
|
42
26
|
}
|
|
43
|
-
|
|
44
27
|
(0, _createClass2.default)(StimulusShowInfo, [{
|
|
45
28
|
key: "render",
|
|
46
29
|
value: function render() {
|
|
@@ -64,7 +47,6 @@ var StimulusShowInfo = /*#__PURE__*/function (_Component) {
|
|
|
64
47
|
size: "small",
|
|
65
48
|
weight: "bold"
|
|
66
49
|
}, this.props.stimulus.instructions))));
|
|
67
|
-
|
|
68
50
|
return /*#__PURE__*/_react.default.createElement(_uiView.View, {
|
|
69
51
|
as: "div"
|
|
70
52
|
}, this.props.stimulus.title && /*#__PURE__*/_react.default.createElement(_uiHeading.Heading, {
|
|
@@ -85,7 +67,6 @@ var StimulusShowInfo = /*#__PURE__*/function (_Component) {
|
|
|
85
67
|
StimulusShowInfo.displayName = "StimulusShowInfo";
|
|
86
68
|
return StimulusShowInfo;
|
|
87
69
|
}(_react.Component);
|
|
88
|
-
|
|
89
70
|
StimulusShowInfo.propTypes = {
|
|
90
71
|
stimulus: _reactImmutableProptypes.default.record.isRequired
|
|
91
72
|
};
|
|
@@ -1,46 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = exports.CardContent = void 0;
|
|
9
|
-
|
|
10
8
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
11
|
-
|
|
12
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
13
|
-
|
|
14
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
15
|
-
|
|
16
11
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
-
|
|
18
12
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
19
|
-
|
|
20
13
|
var _react = require("react");
|
|
21
|
-
|
|
22
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
23
|
-
|
|
24
15
|
var _emotion = require("@instructure/emotion");
|
|
25
|
-
|
|
26
16
|
var _uiView = require("@instructure/ui-view");
|
|
27
|
-
|
|
28
17
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
29
|
-
|
|
30
18
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
var CardContent = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
19
|
+
var _dec, _class, _CardContent;
|
|
20
|
+
/** @jsx jsx */
|
|
21
|
+
var CardContent = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_CardContent = /*#__PURE__*/function (_Component) {
|
|
35
22
|
(0, _inherits2.default)(CardContent, _Component);
|
|
36
|
-
|
|
37
23
|
var _super = (0, _createSuper2.default)(CardContent);
|
|
38
|
-
|
|
39
24
|
function CardContent() {
|
|
40
25
|
(0, _classCallCheck2.default)(this, CardContent);
|
|
41
26
|
return _super.apply(this, arguments);
|
|
42
27
|
}
|
|
43
|
-
|
|
44
28
|
(0, _createClass2.default)(CardContent, [{
|
|
45
29
|
key: "render",
|
|
46
30
|
value: function render() {
|
|
@@ -54,15 +38,15 @@ var CardContent = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defaul
|
|
|
54
38
|
}]);
|
|
55
39
|
CardContent.displayName = "CardContent";
|
|
56
40
|
return CardContent;
|
|
57
|
-
}(_react.Component),
|
|
41
|
+
}(_react.Component), _CardContent.propTypes = {
|
|
58
42
|
children: _propTypes.default.node.isRequired,
|
|
59
43
|
customStyles: _propTypes.default.object,
|
|
60
44
|
styles: _propTypes.default.object,
|
|
61
45
|
className: _propTypes.default.string
|
|
62
|
-
},
|
|
46
|
+
}, _CardContent.defaultProps = {
|
|
63
47
|
customStyles: {},
|
|
64
48
|
className: ''
|
|
65
|
-
},
|
|
49
|
+
}, _CardContent)) || _class);
|
|
66
50
|
exports.CardContent = CardContent;
|
|
67
51
|
var _default = CardContent;
|
|
68
52
|
exports.default = _default;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
9
|
var generateStyle = function generateStyle(componentTheme) {
|
|
13
10
|
var mq = "@media screen and ".concat(componentTheme.phoneBreakPoint);
|
|
14
11
|
return {
|
|
@@ -25,6 +22,5 @@ var generateStyle = function generateStyle(componentTheme) {
|
|
|
25
22
|
})
|
|
26
23
|
};
|
|
27
24
|
};
|
|
28
|
-
|
|
29
25
|
var _default = generateStyle;
|
|
30
26
|
exports.default = _default;
|
|
@@ -4,13 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
9
8
|
var spacing = _ref.spacing,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
shadows = _ref.shadows,
|
|
10
|
+
colors = _ref.colors,
|
|
11
|
+
breakpoints = _ref.breakpoints,
|
|
12
|
+
transitions = _ref.transitions;
|
|
14
13
|
return {
|
|
15
14
|
contentTransitionDuration: transitions.duration,
|
|
16
15
|
contentBackgroundColor: colors.white,
|
|
@@ -23,6 +22,5 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
23
22
|
contentBorderRadius: '4px'
|
|
24
23
|
};
|
|
25
24
|
};
|
|
26
|
-
|
|
27
25
|
var _default = generateComponentTheme;
|
|
28
26
|
exports.default = _default;
|
|
@@ -1,46 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = exports.CardWrapper = void 0;
|
|
9
|
-
|
|
10
8
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
11
|
-
|
|
12
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
13
|
-
|
|
14
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
15
|
-
|
|
16
11
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
17
|
-
|
|
18
12
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
19
|
-
|
|
20
13
|
var _react = require("react");
|
|
21
|
-
|
|
22
14
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
23
|
-
|
|
24
15
|
var _emotion = require("@instructure/emotion");
|
|
25
|
-
|
|
26
16
|
var _uiView = require("@instructure/ui-view");
|
|
27
|
-
|
|
28
17
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
29
|
-
|
|
30
18
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
var CardWrapper = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
19
|
+
var _dec, _class, _CardWrapper;
|
|
20
|
+
/** @jsx jsx */
|
|
21
|
+
var CardWrapper = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_CardWrapper = /*#__PURE__*/function (_Component) {
|
|
35
22
|
(0, _inherits2.default)(CardWrapper, _Component);
|
|
36
|
-
|
|
37
23
|
var _super = (0, _createSuper2.default)(CardWrapper);
|
|
38
|
-
|
|
39
24
|
function CardWrapper() {
|
|
40
25
|
(0, _classCallCheck2.default)(this, CardWrapper);
|
|
41
26
|
return _super.apply(this, arguments);
|
|
42
27
|
}
|
|
43
|
-
|
|
44
28
|
(0, _createClass2.default)(CardWrapper, [{
|
|
45
29
|
key: "render",
|
|
46
30
|
value: function render() {
|
|
@@ -54,13 +38,13 @@ var CardWrapper = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defaul
|
|
|
54
38
|
}]);
|
|
55
39
|
CardWrapper.displayName = "CardWrapper";
|
|
56
40
|
return CardWrapper;
|
|
57
|
-
}(_react.Component),
|
|
41
|
+
}(_react.Component), _CardWrapper.propTypes = {
|
|
58
42
|
children: _propTypes.default.node.isRequired,
|
|
59
43
|
customStyles: _propTypes.default.object,
|
|
60
44
|
styles: _propTypes.default.object
|
|
61
|
-
},
|
|
45
|
+
}, _CardWrapper.defaultProps = {
|
|
62
46
|
customStyles: {}
|
|
63
|
-
},
|
|
47
|
+
}, _CardWrapper)) || _class);
|
|
64
48
|
exports.CardWrapper = CardWrapper;
|
|
65
49
|
var _default = CardWrapper;
|
|
66
50
|
exports.default = _default;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
-
|
|
12
9
|
var generateStyle = function generateStyle(componentTheme) {
|
|
13
10
|
var mq = "@media screen and ".concat(componentTheme.phoneBreakPoint);
|
|
14
11
|
return {
|
|
@@ -22,6 +19,5 @@ var generateStyle = function generateStyle(componentTheme) {
|
|
|
22
19
|
})
|
|
23
20
|
};
|
|
24
21
|
};
|
|
25
|
-
|
|
26
22
|
var _default = generateStyle;
|
|
27
23
|
exports.default = _default;
|
|
@@ -4,11 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
9
8
|
var spacing = _ref.spacing,
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
breakpoints = _ref.breakpoints,
|
|
10
|
+
transitions = _ref.transitions;
|
|
12
11
|
return {
|
|
13
12
|
wrapperPadding: spacing.medium,
|
|
14
13
|
wrapperTransitionDuration: transitions.duration,
|
|
@@ -16,6 +15,5 @@ var generateComponentTheme = function generateComponentTheme(_ref) {
|
|
|
16
15
|
phoneWrapperPadding: spacing.medium
|
|
17
16
|
};
|
|
18
17
|
};
|
|
19
|
-
|
|
20
18
|
var _default = generateComponentTheme;
|
|
21
19
|
exports.default = _default;
|
|
@@ -1,36 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.Card = Card;
|
|
9
8
|
exports.default = void 0;
|
|
10
|
-
|
|
11
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
12
|
-
|
|
13
10
|
var _react = _interopRequireDefault(require("react"));
|
|
14
|
-
|
|
15
11
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
16
|
-
|
|
17
12
|
var _index = _interopRequireDefault(require("./CardContent/index.js"));
|
|
18
|
-
|
|
19
13
|
var _index2 = _interopRequireDefault(require("./CardWrapper/index.js"));
|
|
20
|
-
|
|
21
14
|
function Card(_ref) {
|
|
22
15
|
var children = _ref.children,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
16
|
+
wrapped = _ref.wrapped,
|
|
17
|
+
wrapperStyles = _ref.wrapperStyles,
|
|
18
|
+
props = (0, _objectWithoutProperties2.default)(_ref, ["children", "wrapped", "wrapperStyles"]);
|
|
27
19
|
var card = /*#__PURE__*/_react.default.createElement(_index.default, props, children);
|
|
28
|
-
|
|
29
20
|
return wrapped ? /*#__PURE__*/_react.default.createElement(_index2.default, {
|
|
30
21
|
customStyles: wrapperStyles
|
|
31
22
|
}, card) : card;
|
|
32
23
|
}
|
|
33
|
-
|
|
34
24
|
Card.propTypes = {
|
|
35
25
|
children: _propTypes.default.node.isRequired,
|
|
36
26
|
customStyles: _propTypes.default.object,
|
|
@@ -1,48 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = exports.ExpandButton = void 0;
|
|
9
|
-
|
|
10
8
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
-
|
|
12
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
13
|
-
|
|
14
10
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
-
|
|
16
11
|
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
-
|
|
18
12
|
var _react = require("react");
|
|
19
|
-
|
|
20
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
21
|
-
|
|
22
14
|
var _uiIcons = require("@instructure/ui-icons");
|
|
23
|
-
|
|
24
15
|
var _uiButtons = require("@instructure/ui-buttons");
|
|
25
|
-
|
|
26
16
|
var _emotion = require("@instructure/emotion");
|
|
27
|
-
|
|
28
17
|
var _uiReactUtils = require("@instructure/ui-react-utils");
|
|
29
|
-
|
|
30
18
|
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
31
|
-
|
|
32
19
|
var _theme = _interopRequireDefault(require("./theme.js"));
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var ExpandButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_temp = _class2 = /*#__PURE__*/function (_Component) {
|
|
20
|
+
var _dec, _class, _ExpandButton;
|
|
21
|
+
/** @jsx jsx */
|
|
22
|
+
var ExpandButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = (_ExpandButton = /*#__PURE__*/function (_Component) {
|
|
37
23
|
(0, _inherits2.default)(ExpandButton, _Component);
|
|
38
|
-
|
|
39
24
|
var _super = (0, _createSuper2.default)(ExpandButton);
|
|
40
|
-
|
|
41
25
|
function ExpandButton() {
|
|
42
26
|
(0, _classCallCheck2.default)(this, ExpandButton);
|
|
43
27
|
return _super.apply(this, arguments);
|
|
44
28
|
}
|
|
45
|
-
|
|
46
29
|
(0, _createClass2.default)(ExpandButton, [{
|
|
47
30
|
key: "componentDidMount",
|
|
48
31
|
value: function componentDidMount() {
|
|
@@ -77,14 +60,14 @@ var ExpandButton = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.defau
|
|
|
77
60
|
}]);
|
|
78
61
|
ExpandButton.displayName = "ExpandButton";
|
|
79
62
|
return ExpandButton;
|
|
80
|
-
}(_react.Component),
|
|
63
|
+
}(_react.Component), _ExpandButton.propTypes = {
|
|
81
64
|
isExpanded: _propTypes.default.bool.isRequired,
|
|
82
65
|
title: _propTypes.default.string.isRequired,
|
|
83
66
|
onClick: _propTypes.default.func.isRequired,
|
|
84
67
|
// eslint-disable-next-line react/require-default-props,react/forbid-prop-types
|
|
85
68
|
styles: _propTypes.default.object,
|
|
86
69
|
makeStyles: _propTypes.default.func
|
|
87
|
-
},
|
|
70
|
+
}, _ExpandButton)) || _class);
|
|
88
71
|
exports.ExpandButton = ExpandButton;
|
|
89
72
|
var _default = ExpandButton;
|
|
90
73
|
exports.default = _default;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
11
|
-
|
|
12
9
|
var generateStyle = function generateStyle(componentTheme, props) {
|
|
13
10
|
return {
|
|
14
11
|
icon: (0, _objectSpread2.default)({
|
|
@@ -18,6 +15,5 @@ var generateStyle = function generateStyle(componentTheme, props) {
|
|
|
18
15
|
})
|
|
19
16
|
};
|
|
20
17
|
};
|
|
21
|
-
|
|
22
18
|
var _default = generateStyle;
|
|
23
19
|
exports.default = _default;
|
|
@@ -4,12 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var generateComponentTheme = function generateComponentTheme() {
|
|
9
8
|
return {
|
|
10
9
|
iconTransitionDuration: '0.3s'
|
|
11
10
|
};
|
|
12
11
|
};
|
|
13
|
-
|
|
14
12
|
var _default = generateComponentTheme;
|
|
15
13
|
exports.default = _default;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
var _uiText = require("@instructure/ui-text");
|
|
13
|
-
|
|
14
10
|
var _default = {
|
|
15
11
|
propValues: {
|
|
16
12
|
seconds: [void 0, /*#__PURE__*/_react.default.createElement(_uiText.Text, {
|