@instructure/quiz-core 20.17.3-rc.7 → 20.17.3-rc.8
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 +20 -13
- package/es/banks/api/banks.js +34 -22
- package/es/banks/api/copyingBanksPoller.js +67 -57
- package/es/banks/api/tagAssociations.js +40 -26
- package/es/banks/components/AddBankEntryModal/index.js +10 -7
- package/es/banks/components/AddBankEntryModal/presenter.js +25 -5
- package/es/banks/components/AddToBankModal/index.js +12 -12
- package/es/banks/components/AddToBankModal/presenter.js +94 -51
- package/es/banks/components/AsyncSearch/index.js +70 -13
- package/es/banks/components/Bank/index.js +12 -12
- package/es/banks/components/Bank/presenter.js +115 -57
- package/es/banks/components/Bank/styles.js +2 -0
- package/es/banks/components/Bank/theme.js +3 -2
- package/es/banks/components/BankEntriesList/index.js +3 -3
- package/es/banks/components/BankEntriesList/presenter.js +27 -13
- package/es/banks/components/BankEntriesList/styles.js +1 -0
- package/es/banks/components/BankEntriesList/theme.js +1 -0
- package/es/banks/components/BankEntry/index.js +19 -14
- package/es/banks/components/BankEntry/presenter.js +257 -160
- package/es/banks/components/BankEntry/styles.js +2 -0
- package/es/banks/components/BankEntry/theme.js +4 -3
- package/es/banks/components/BankEntryRow/BankEntryRow.examples.js +4 -2
- package/es/banks/components/BankEntryRow/index.js +14 -9
- package/es/banks/components/BankEntryRow/presenter.js +59 -27
- package/es/banks/components/BankEntryRow/styles.js +1 -0
- package/es/banks/components/BankEntryRow/theme.js +4 -3
- package/es/banks/components/BankSearch/BankSearch.stories.js +1 -1
- package/es/banks/components/BankSearch/index.js +6 -4
- package/es/banks/components/BankSearch/presenter.js +42 -21
- package/es/banks/components/BankSearch/styles.js +1 -0
- package/es/banks/components/BankSearch/theme.js +1 -0
- package/es/banks/components/Banks/index.js +10 -7
- package/es/banks/components/Banks/presenter.js +85 -31
- package/es/banks/components/Banks/styles.js +1 -0
- package/es/banks/components/Banks/theme.js +3 -2
- package/es/banks/components/BanksList/index.js +8 -8
- package/es/banks/components/BanksList/presenter.js +143 -79
- package/es/banks/components/BanksList/styles.js +1 -0
- package/es/banks/components/BanksList/theme.js +4 -3
- package/es/banks/components/CopyMoveBankEntryModal/index.js +9 -9
- package/es/banks/components/CopyMoveBankEntryModal/presenter.js +39 -10
- package/es/banks/components/CreateBankModal/index.js +13 -10
- package/es/banks/components/CreateBankModal/presenter.js +42 -13
- package/es/banks/components/CreateBankModal/styles.js +1 -0
- package/es/banks/components/CreateBankModal/theme.js +2 -1
- package/es/banks/components/EditBankModal/index.js +10 -7
- package/es/banks/components/EditBankModal/presenter.js +36 -13
- package/es/banks/components/EditBankModal/styles.js +1 -0
- package/es/banks/components/EditBankModal/theme.js +2 -1
- package/es/banks/components/HeaderBreadCrumb/index.js +26 -13
- package/es/banks/components/HeaderMenu/index.js +7 -4
- package/es/banks/components/HeaderMenu/presenter.js +29 -15
- package/es/banks/components/HeaderMenu/styles.js +1 -0
- package/es/banks/components/HeaderMenu/theme.js +2 -1
- package/es/banks/components/NavWrapper/index.js +4 -2
- package/es/banks/components/NavWrapper/presenter.js +38 -19
- package/es/banks/components/NavWrapper/styles.js +2 -0
- package/es/banks/components/NavWrapper/theme.js +5 -4
- package/es/banks/components/SharingModal/ContextualIconButton/index.js +21 -5
- package/es/banks/components/SharingModal/RootAccountSharing.js +33 -16
- package/es/banks/components/SharingModal/ShareList/index.js +37 -16
- package/es/banks/components/SharingModal/ShareList/styles.js +1 -0
- package/es/banks/components/SharingModal/index.js +8 -6
- package/es/banks/components/SharingModal/presenter.js +126 -56
- package/es/banks/components/SharingModal/styles.js +1 -0
- package/es/banks/components/SharingModal/theme.js +3 -2
- package/es/building/api/items.js +103 -81
- package/es/building/api/qtiImports.js +22 -14
- package/es/building/api/quizEntries.js +65 -57
- package/es/building/api/quizzes.js +29 -34
- package/es/building/api/stimuli.js +6 -9
- package/es/building/components/QTIImportModal/index.js +5 -6
- package/es/building/components/layout/Sidebar/Sidebar.examples.js +38 -17
- package/es/building/components/layout/Sidebar/SidebarItem/index.js +13 -13
- package/es/building/components/layout/Sidebar/SidebarItem/presenter.js +41 -27
- package/es/building/components/layout/Sidebar/SidebarItem/styles.js +4 -1
- package/es/building/components/layout/Sidebar/SidebarItem/theme.js +1 -0
- package/es/building/components/layout/Sidebar/Stimulus/index.js +12 -11
- package/es/building/components/layout/Sidebar/Stimulus/presenter.js +39 -25
- package/es/building/components/layout/Sidebar/Stimulus/styles.js +4 -1
- package/es/building/components/layout/Sidebar/Stimulus/theme.js +1 -0
- package/es/building/components/layout/Sidebar/index.js +15 -15
- package/es/building/components/layout/Sidebar/presenter.js +51 -21
- package/es/building/components/layout/Sidebar/styles.js +2 -0
- package/es/building/components/layout/Sidebar/theme.js +1 -0
- package/es/building/components/layout/header/BuildingButtons/index.js +11 -9
- package/es/building/components/layout/header/BuildingButtons/presenter.js +64 -15
- package/es/building/components/layout/header/BuildingButtons/styles.js +2 -0
- package/es/building/components/layout/header/BuildingButtons/theme.js +3 -2
- package/es/building/components/layout/header/SDKBuildingButtons/index.js +3 -3
- package/es/building/components/resources/ActionButtons/index.js +7 -4
- package/es/building/components/resources/ActionButtons/presenter.js +34 -14
- package/es/building/components/resources/ActionButtons/styles.js +3 -0
- package/es/building/components/resources/ActionButtons/theme.js +2 -1
- package/es/building/components/resources/AddToBankOptions/index.js +62 -38
- package/es/building/components/resources/AddToBankOptions/styles.js +1 -0
- package/es/building/components/resources/AddToBankOptions/theme.js +2 -1
- package/es/building/components/resources/BanksTray/index.js +5 -3
- package/es/building/components/resources/BanksTray/presenter.js +40 -12
- package/es/building/components/resources/DeleteStimulusModal/index.js +12 -8
- package/es/building/components/resources/DeleteStimulusModal/presenter.js +56 -21
- package/es/building/components/resources/DeleteStimulusModal/styles.js +1 -0
- package/es/building/components/resources/DeleteStimulusModal/theme.js +2 -1
- package/es/building/components/resources/ItemFeedbackModal/index.js +10 -8
- package/es/building/components/resources/ItemFeedbackModal/presenter.js +35 -12
- package/es/building/components/resources/ItemFeedbackModal/styles.js +1 -0
- package/es/building/components/resources/ItemFeedbackModal/theme.js +1 -0
- package/es/building/components/resources/MoveImmutableModal/index.js +14 -11
- package/es/building/components/resources/MoveImmutableModal/presenter.js +24 -8
- package/es/building/components/resources/quiz/editButton/EditButton.js +20 -5
- package/es/building/components/resources/quiz/instructions/Edit/index.js +4 -2
- package/es/building/components/resources/quiz/instructions/Edit/presenter.js +26 -21
- package/es/building/components/resources/quiz/instructions/Edit/styles.js +1 -0
- package/es/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +1 -1
- package/es/building/components/resources/quiz/instructions/Instructions/index.js +9 -7
- package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +55 -31
- package/es/building/components/resources/quiz/instructions/Instructions/styles.js +2 -0
- package/es/building/components/resources/quiz/instructions/Instructions/theme.js +2 -2
- package/es/building/components/resources/quiz/instructions/Show/index.js +29 -18
- package/es/building/components/resources/quiz/instructions/Show/styles.js +1 -0
- package/es/building/components/resources/quiz/instructions/Show/theme.js +2 -2
- package/es/building/components/resources/quiz/title/Edit/index.js +36 -21
- package/es/building/components/resources/quiz/title/Edit/styles.js +2 -0
- package/es/building/components/resources/quiz/title/Edit/theme.js +4 -3
- package/es/building/components/resources/quiz/title/Show/index.js +28 -17
- package/es/building/components/resources/quiz/title/Show/styles.js +1 -0
- package/es/building/components/resources/quiz/title/Show/theme.js +1 -0
- package/es/building/components/resources/quiz/title/Title/Title.examples.js +1 -1
- package/es/building/components/resources/quiz/title/Title/index.js +10 -8
- package/es/building/components/resources/quiz/title/Title/presenter.js +48 -31
- package/es/building/components/resources/quiz/title/Title/styles.js +2 -0
- package/es/building/components/resources/quiz/title/Title/theme.js +3 -3
- package/es/building/components/resources/quizEntry/QuizEntry/index.js +16 -14
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +66 -30
- package/es/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +16 -4
- package/es/building/components/resources/quizEntry/QuizEntry/styles.js +2 -0
- package/es/building/components/resources/quizEntry/QuizEntry/theme.js +4 -3
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +51 -16
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +1 -0
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +4 -3
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +30 -15
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +1 -0
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +4 -3
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +7 -5
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +54 -24
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +3 -0
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +4 -3
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +124 -70
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +2 -0
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +3 -2
- package/es/building/components/resources/quizEntry/QuizEntryEdit/index.js +14 -11
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +165 -94
- package/es/building/components/resources/quizEntry/QuizEntryEdit/styles.js +2 -0
- package/es/building/components/resources/quizEntry/QuizEntryEdit/theme.js +4 -3
- package/es/building/components/resources/quizEntry/QuizEntryShow/index.js +10 -8
- package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +71 -37
- package/es/building/components/resources/quizEntry/QuizEntryShow/styles.js +2 -0
- package/es/building/components/resources/quizEntry/QuizEntryShow/theme.js +5 -4
- package/es/common/actions/alerts.js +7 -7
- package/es/common/actions/modifications.js +16 -37
- package/es/common/actions/quizSessions.js +15 -5
- package/es/common/actions/rce.js +2 -3
- package/es/common/actions/taking.js +4 -6
- package/es/common/api/callHandlers.js +15 -14
- package/es/common/api/camelizeHelpers.js +6 -6
- package/es/common/api/features.js +5 -3
- package/es/common/api/fileUpload.js +3 -4
- package/es/common/api/getPersistenceActions.js +40 -41
- package/es/common/api/helpers.js +100 -77
- package/es/common/api/interactionTypes.js +2 -2
- package/es/common/api/quizSessions.js +32 -27
- package/es/common/api/quizzes.js +6 -10
- package/es/common/api/schema.js +4 -6
- package/es/common/components/ApiFeatureFlagInitializer/index.js +12 -8
- package/es/common/components/ConfirmationModal/index.js +6 -3
- package/es/common/components/ConfirmationModal/presenter.js +29 -13
- package/es/common/components/ImportModal/ImportFileSelector/index.js +40 -24
- package/es/common/components/ImportModal/ImportFileSelector/styles.js +1 -0
- package/es/common/components/ImportModal/ImportFileSelector/theme.js +3 -2
- package/es/common/components/ImportModal/index.js +13 -13
- package/es/common/components/ImportModal/presenter.js +69 -19
- package/es/common/components/ImportModal/styles.js +1 -0
- package/es/common/components/ImportModal/theme.js +1 -0
- package/es/common/components/LearnosityCalculator/index.js +60 -36
- package/es/common/components/Pin/index.js +1 -1
- package/es/common/components/Pin/presenter.js +17 -4
- package/es/common/components/PreviewFrame/examples.config.js +4 -2
- package/es/common/components/PreviewFrame/index.js +18 -8
- package/es/common/components/PrintFontSizeModal/index.js +1 -1
- package/es/common/components/PrintFontSizeModal/presenter.js +35 -24
- package/es/common/components/PrintFontSizeModal/styles.js +1 -0
- package/es/common/components/PrintFontSizeModal/theme.js +3 -2
- package/es/common/components/RceConfigProvider/index.js +6 -4
- package/es/common/components/RceConfigProvider/presenter.js +125 -93
- package/es/common/components/RceConfigProvider/rceConfigErrorHandler.js +11 -5
- package/es/common/components/RceConfigProvider/rceConfigFetcher.js +37 -26
- package/es/common/components/RceConfigProvider/rceConfigMapper.js +11 -3
- package/es/common/components/RceConfigProvider/rceConfigUtils.js +2 -2
- package/es/common/components/SDKApp/index.js +61 -30
- package/es/common/components/SDKApp/styles.js +1 -0
- package/es/common/components/SDKHeaderCalculator.js +4 -4
- package/es/common/components/SDKMenuButton.js +3 -3
- package/es/common/components/SDKNavBar.js +3 -3
- package/es/common/components/SDKTimer.js +4 -4
- package/es/common/components/alerts/index.js +6 -4
- package/es/common/components/alerts/presenter.js +30 -11
- package/es/common/components/alerts/styles.js +2 -0
- package/es/common/components/alerts/theme.js +2 -1
- package/es/common/components/layout/Page/index.js +21 -11
- package/es/common/components/layout/Page/styles.js +2 -0
- package/es/common/components/layout/Page/theme.js +3 -2
- package/es/common/components/layout/header/Calculator/index.js +9 -7
- package/es/common/components/layout/header/Calculator/presenter.js +22 -9
- package/es/common/components/layout/header/HeaderMenuButton/index.js +5 -5
- package/es/common/components/layout/header/HeaderMenuButton/presenter.js +36 -14
- package/es/common/components/layout/header/HeaderMenuButton/styles.js +2 -0
- package/es/common/components/layout/header/HeaderMenuButton/theme.js +3 -2
- package/es/common/components/layout/header/Timer/index.js +9 -6
- package/es/common/components/layout/header/Timer/presenter.js +49 -19
- package/es/common/components/layout/header/Timer/styles.js +1 -0
- package/es/common/components/layout/header/Timer/theme.js +4 -3
- package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +20 -10
- package/es/common/components/layout/navbar/SecondaryNavBarButton/styles.js +1 -0
- package/es/common/components/layout/navbar/SecondaryNavBarButton/theme.js +1 -0
- package/es/common/components/layout/navbar/index.js +39 -15
- package/es/common/components/layout/navbar/styles.js +1 -0
- package/es/common/components/layout/navbar/theme.js +2 -1
- package/es/common/components/layout/sidebar/PositionSummary/index.js +20 -10
- package/es/common/components/layout/sidebar/PositionSummary/styles.js +1 -0
- package/es/common/components/layout/sidebar/PositionSummary/theme.js +4 -3
- package/es/common/components/layout/sidebar/Sidebar/Pin.js +18 -7
- package/es/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +10 -6
- package/es/common/components/layout/sidebar/Sidebar/index.js +81 -39
- package/es/common/components/layout/sidebar/Sidebar/styles.js +9 -4
- package/es/common/components/layout/sidebar/Sidebar/theme.js +7 -5
- package/es/common/components/layout/sidebar/SidebarItem/index.js +5 -5
- package/es/common/components/layout/sidebar/SidebarItem/presenter.js +51 -35
- package/es/common/components/layout/sidebar/SidebarItem/styles.js +2 -0
- package/es/common/components/layout/sidebar/SidebarItem/theme.js +4 -3
- package/es/common/components/layout/sidebar/Stimulus/Collection/index.js +3 -3
- package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +39 -23
- package/es/common/components/layout/sidebar/Stimulus/Collection/styles.js +3 -1
- package/es/common/components/layout/sidebar/Stimulus/Collection/theme.js +3 -2
- package/es/common/components/layout/sidebar/Stimulus/Summary/index.js +3 -3
- package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +43 -20
- package/es/common/components/layout/sidebar/Stimulus/Summary/styles.js +1 -0
- package/es/common/components/layout/sidebar/Stimulus/Summary/theme.js +3 -2
- package/es/common/components/layout/sidebar/Stimulus/Title/index.js +21 -11
- package/es/common/components/layout/sidebar/Stimulus/Title/styles.js +1 -0
- package/es/common/components/layout/sidebar/Stimulus/index.js +5 -3
- package/es/common/components/layout/sidebar/Stimulus/presenter.js +49 -28
- package/es/common/components/layout/sidebar/Stimulus/styles.js +1 -0
- package/es/common/components/layout/sidebar/Stimulus/theme.js +4 -3
- package/es/common/components/resources/BankSelection/index.js +5 -5
- package/es/common/components/resources/BankSelection/presenter.js +49 -16
- package/es/common/components/resources/WarningWrapper/index.js +25 -11
- package/es/common/components/resources/WarningWrapper/styles.js +1 -0
- package/es/common/components/resources/WarningWrapper/theme.js +3 -2
- package/es/common/components/resources/entry/EntrySave/index.js +10 -10
- package/es/common/components/resources/entry/EntrySave/presenter.js +150 -95
- package/es/common/components/resources/item/ItemEdit/index.js +18 -16
- package/es/common/components/resources/item/ItemEdit/presenter.js +41 -18
- package/es/common/components/resources/item/ItemOverride/index.js +11 -9
- package/es/common/components/resources/item/ItemOverride/presenter.js +18 -6
- package/es/common/components/resources/item/ItemShow/index.js +17 -7
- package/es/common/components/resources/positionBox/PositionBox.js +21 -11
- package/es/common/components/resources/positionBox/styles.js +2 -0
- package/es/common/components/resources/positionBox/theme.js +3 -2
- package/es/common/components/resources/quiz/AddContent/Body/index.js +9 -7
- package/es/common/components/resources/quiz/AddContent/Body/presenter.js +45 -23
- package/es/common/components/resources/quiz/AddContent/Body/styles.js +9 -4
- package/es/common/components/resources/quiz/AddContent/Body/theme.js +5 -4
- package/es/common/components/resources/quiz/AddContent/Button/index.js +25 -11
- package/es/common/components/resources/quiz/AddContent/Button/styles.js +2 -0
- package/es/common/components/resources/quiz/AddContent/Button/theme.js +5 -4
- package/es/common/components/resources/quiz/AddContent/Modal/index.js +11 -8
- package/es/common/components/resources/quiz/AddContent/Modal/presenter.js +13 -5
- package/es/common/components/resources/quiz/AddContent/Popover/index.js +8 -7
- package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +37 -16
- package/es/common/components/resources/quiz/AddContent/Popover/styles.js +1 -0
- package/es/common/components/resources/quiz/AddContent/Popover/theme.js +2 -1
- package/es/common/components/resources/quiz/info/QuizInfo.js +14 -6
- package/es/common/components/resources/quiz/instructions/Instructions.js +22 -13
- package/es/common/components/resources/quiz/instructions/styles.js +1 -0
- package/es/common/components/resources/quiz/instructions/theme.js +2 -1
- package/es/common/components/resources/quiz/title/Title.js +21 -13
- package/es/common/components/resources/quiz/title/styles.js +1 -0
- package/es/common/components/resources/quiz/title/theme.js +2 -1
- package/es/common/components/resources/quizSessionResult/Header/index.js +26 -11
- package/es/common/components/resources/quizSessionResult/Header/styles.js +1 -0
- package/es/common/components/resources/quizSessionResult/Header/theme.js +2 -1
- package/es/common/components/resources/quizSessionResult/Info/Info.examples.js +2 -2
- package/es/common/components/resources/quizSessionResult/Info/index.js +125 -107
- package/es/common/components/resources/quizSessionResult/Info/styles.js +2 -0
- package/es/common/components/resources/quizSessionResult/Info/theme.js +2 -1
- package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +22 -10
- package/es/common/components/resources/sessionItemResult/ResultStimulus/styles.js +2 -0
- package/es/common/components/resources/sessionItemResult/ResultStimulus/theme.js +5 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResult/index.js +6 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +90 -64
- package/es/common/components/resources/sessionItemResult/SessionItemResult/styles.js +2 -0
- package/es/common/components/resources/sessionItemResult/SessionItemResult/theme.js +4 -3
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +31 -15
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +1 -0
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +4 -3
- package/es/common/components/resources/stimulus/Stimulus/index.js +8 -5
- package/es/common/components/resources/stimulus/Stimulus/presenter.js +39 -22
- package/es/common/components/resources/stimulus/Stimulus/styles.js +5 -1
- package/es/common/components/resources/stimulus/Stimulus/theme.js +4 -3
- package/es/common/components/resources/stimulus/StimulusEdit/index.js +13 -10
- package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +190 -111
- package/es/common/components/resources/stimulus/StimulusEdit/styles.js +1 -0
- package/es/common/components/resources/stimulus/StimulusEdit/theme.js +3 -2
- package/es/common/components/resources/stimulus/StimulusEditInfo/index.js +7 -4
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +43 -16
- package/es/common/components/resources/stimulus/StimulusEditInfo/styles.js +1 -0
- package/es/common/components/resources/stimulus/StimulusEditInfo/theme.js +3 -2
- package/es/common/components/resources/stimulus/StimulusShow/index.js +33 -15
- package/es/common/components/resources/stimulus/StimulusShow/styles.js +1 -0
- package/es/common/components/resources/stimulus/StimulusShow/theme.js +3 -2
- package/es/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +1 -1
- package/es/common/components/resources/stimulus/StimulusShowInfo/index.js +14 -4
- package/es/common/components/shared/Card/CardContent/index.js +21 -11
- package/es/common/components/shared/Card/CardContent/styles.js +2 -0
- package/es/common/components/shared/Card/CardContent/theme.js +5 -4
- package/es/common/components/shared/Card/CardWrapper/index.js +21 -11
- package/es/common/components/shared/Card/CardWrapper/styles.js +2 -0
- package/es/common/components/shared/Card/CardWrapper/theme.js +3 -2
- package/es/common/components/shared/Card/index.js +6 -6
- package/es/common/components/shared/ExpandButton/index.js +20 -10
- package/es/common/components/shared/ExpandButton/styles.js +2 -0
- package/es/common/components/shared/ExpandButton/theme.js +1 -0
- package/es/common/components/shared/FormattedDuration/index.js +20 -9
- package/es/common/components/shared/IfFeature/index.js +3 -3
- package/es/common/components/shared/IfFeature/presenter.js +13 -4
- package/es/common/components/shared/InteractionTypes/index.js +4 -2
- package/es/common/components/shared/InteractionTypes/presenter.js +33 -14
- package/es/common/components/shared/InteractionTypes/styles.js +1 -0
- package/es/common/components/shared/InteractionTypes/theme.js +3 -2
- package/es/common/components/shared/PaginatedCollection/index.js +3 -3
- package/es/common/components/shared/PaginatedCollection/presenter.js +75 -46
- package/es/common/components/shared/PaginatedCollection/styles.js +1 -0
- package/es/common/components/shared/PaginatedCollection/theme.js +3 -2
- package/es/common/components/shared/Paginator/index.js +24 -11
- package/es/common/components/shared/Paginator/styles.js +1 -0
- package/es/common/components/shared/Paginator/theme.js +1 -0
- package/es/common/components/shared/PrintTrigger/index.js +9 -7
- package/es/common/components/shared/PrintTrigger/presenter.js +37 -12
- package/es/common/components/shared/TagDisplay/index.js +21 -10
- package/es/common/components/shared/TagDisplay/styles.js +1 -0
- package/es/common/components/shared/TagSelect/index.js +1 -1
- package/es/common/components/shared/TagSelect/presenter.js +49 -15
- package/es/common/components/shared/TagSuggestSelect/index.js +7 -4
- package/es/common/components/shared/TagSuggestSelect/presenter.js +26 -12
- package/es/common/components/shared/TagWrapper/index.js +1 -1
- package/es/common/components/shared/TagWrapper/presenter.js +20 -7
- package/es/common/components/shared/TimeUnitsInput/index.js +61 -29
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +33 -18
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +2 -0
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +3 -2
- package/es/common/components/shared/drag_and_drop/DragHandle/index.js +9 -9
- package/es/common/components/shared/drag_and_drop/DragHandle/presenter.js +67 -26
- package/es/common/components/shared/drag_and_drop/dragAndDropUtils.js +64 -22
- package/es/common/components/shared/errors/Errors.js +27 -11
- package/es/common/components/shared/errors/styles.js +1 -0
- package/es/common/components/shared/errors/theme.js +2 -1
- package/es/common/components/shared/file_selector/FileSelector.js +24 -12
- package/es/common/components/shared/file_selector/styles.js +1 -0
- package/es/common/components/shared/file_selector/theme.js +3 -2
- package/es/common/components/shared/functionality/componentWithOutsideClick.js +27 -17
- package/es/common/components/shared/functionality/componentWithOutsideClickEmotion.js +21 -12
- package/es/common/components/shared/functionality/disableDraggingOverride.js +3 -2
- package/es/common/components/shared/functionality/makeEditable.js +35 -21
- package/es/common/components/shared/functionality/makeScrollable.js +46 -27
- package/es/common/components/shared/overlay/index.js +29 -16
- package/es/common/components/shared/overlay/styles.js +2 -0
- package/es/common/components/shared/overlay/theme.js +3 -2
- package/es/common/components/shared/return_button/ReturnButton.js +15 -6
- package/es/common/components/shared/spinner/Spinner.js +28 -17
- package/es/common/components/shared/spinner/styles.js +1 -0
- package/es/common/kinesis/QuizEventsLogger.js +69 -47
- package/es/common/kinesis/StreamQueue.js +28 -9
- package/es/common/kinesis/client.js +5 -3
- package/es/common/kinesis/config.js +3 -3
- package/es/common/kinesis/eventTypes.js +4 -4
- package/es/common/middleware/alertTimerMiddleware.js +7 -3
- package/es/common/middleware/crossDomainMessagingMiddleware.js +4 -1
- package/es/common/middleware/eventLoggerMiddleware.js +7 -5
- package/es/common/middleware/persistedStorageMiddleware.js +7 -2
- package/es/common/react-redux.js +2 -0
- package/es/common/records/Alert.js +9 -5
- package/es/common/records/Bank.js +13 -7
- package/es/common/records/BankEntry.js +17 -7
- package/es/common/records/Item.js +22 -15
- package/es/common/records/ItemAnalysis.js +13 -6
- package/es/common/records/QtiImport.js +14 -5
- package/es/common/records/Quiz.js +27 -18
- package/es/common/records/QuizAnalysis.js +12 -5
- package/es/common/records/QuizEntry.js +152 -105
- package/es/common/records/QuizSession.js +28 -21
- package/es/common/records/QuizSessionEvent.js +13 -6
- package/es/common/records/QuizSessionResult.js +13 -6
- package/es/common/records/Response.js +13 -6
- package/es/common/records/SessionItem.js +23 -10
- package/es/common/records/SessionItemResult.js +13 -6
- package/es/common/records/Stimulus.js +17 -10
- package/es/common/records/baseRecord.js +19 -8
- package/es/common/records/index.js +32 -16
- package/es/common/records/reduxRecord.js +14 -9
- package/es/common/reducers/alerts.js +3 -0
- package/es/common/reducers/analyses.js +11 -1
- package/es/common/reducers/bankEntries.js +5 -0
- package/es/common/reducers/bankSearch.js +9 -4
- package/es/common/reducers/banks.js +13 -1
- package/es/common/reducers/calls.js +3 -0
- package/es/common/reducers/config.js +4 -0
- package/es/common/reducers/dragAndDrop.js +2 -0
- package/es/common/reducers/editing.js +3 -1
- package/es/common/reducers/errorsShowing.js +4 -0
- package/es/common/reducers/features.js +3 -0
- package/es/common/reducers/grading.js +4 -0
- package/es/common/reducers/interactionTypes.js +4 -0
- package/es/common/reducers/items.js +4 -0
- package/es/common/reducers/modal.js +6 -0
- package/es/common/reducers/moderation.js +3 -0
- package/es/common/reducers/modifications.js +40 -8
- package/es/common/reducers/outcomes.js +5 -0
- package/es/common/reducers/printing.js +2 -0
- package/es/common/reducers/qtiImports.js +5 -0
- package/es/common/reducers/quizEntries.js +39 -28
- package/es/common/reducers/quizExport.js +2 -0
- package/es/common/reducers/quizSessionEvents.js +5 -2
- package/es/common/reducers/quizSessionResults.js +4 -0
- package/es/common/reducers/quizSessions.js +11 -2
- package/es/common/reducers/quizzes.js +13 -0
- package/es/common/reducers/rce.js +6 -0
- package/es/common/reducers/regrading.js +4 -0
- package/es/common/reducers/reporting.js +12 -0
- package/es/common/reducers/scrolling.js +3 -0
- package/es/common/reducers/sessionItemResults.js +4 -0
- package/es/common/reducers/sessionItems.js +4 -0
- package/es/common/reducers/sharedBanks.js +8 -1
- package/es/common/reducers/sidebar.js +3 -0
- package/es/common/reducers/stimuli.js +4 -0
- package/es/common/reducers/tagAssociations.js +28 -0
- package/es/common/reducers/taking.js +35 -0
- package/es/common/reducers/ui.js +11 -0
- package/es/common/reducers/upload.js +7 -0
- package/es/common/selectors/analyses.js +2 -0
- package/es/common/selectors/calculator.js +10 -9
- package/es/common/selectors/config.js +2 -0
- package/es/common/selectors/interactionTypes.js +8 -7
- package/es/common/selectors/items.js +2 -1
- package/es/common/selectors/qtiImports.js +6 -3
- package/es/common/selectors/quizSessionResults.js +1 -1
- package/es/common/selectors/quizSessions.js +2 -3
- package/es/common/selectors/quizzes.js +14 -8
- package/es/common/selectors/reporting.js +3 -1
- package/es/common/selectors/sessionItemResults.js +5 -4
- package/es/common/selectors/sessionItems.js +5 -4
- package/es/common/selectors/taking.js +1 -1
- package/es/common/util/CustomPropTypes.js +12 -0
- package/es/common/util/ExhaustivePaginatedFetcher.js +73 -55
- package/es/common/util/Fetcher.js +224 -155
- package/es/common/util/MultiWeakMap.js +21 -1
- package/es/common/util/PaginatedFetcher.js +39 -21
- package/es/common/util/ThunkQueue.js +80 -50
- package/es/common/util/TimeRecordingService.js +14 -1
- package/es/common/util/TimerService.js +44 -5
- package/es/common/util/cachePreviousArgs.js +3 -0
- package/es/common/util/callHelpers.js +2 -0
- package/es/common/util/componentForItem.js +6 -1
- package/es/common/util/crossDomainMessaging.js +1 -0
- package/es/common/util/debounceLatestPromise.js +2 -0
- package/es/common/util/featureCheck.js +4 -6
- package/es/common/util/fitbCopyHelper.js +3 -3
- package/es/common/util/formatTimespan.js +10 -0
- package/es/common/util/generateDisplayPositions.js +5 -2
- package/es/common/util/immutableHelpers.js +6 -8
- package/es/common/util/interactionTypeMetadata.js +3 -2
- package/es/common/util/interactionTypePropsHelper.js +7 -0
- package/es/common/util/interactionTypeRecordForItem.js +7 -1
- package/es/common/util/jsonify.js +0 -1
- package/es/common/util/keyboardClickable.js +1 -0
- package/es/common/util/mathRenderingUtils.js +1 -2
- package/es/common/util/maxContent.js +1 -0
- package/es/common/util/persistedState.js +10 -4
- package/es/common/util/printUtils.js +4 -0
- package/es/common/util/rceChecker.js +15 -11
- package/es/common/util/renderAlerts.js +13 -11
- package/es/common/util/serializeEvent.js +4 -2
- package/es/common/util/sessionStore.js +13 -5
- package/es/common/util/warningHelpers.js +9 -0
- package/es/common/util/withCachedArguments.js +7 -3
- package/es/common/util/withDynamoPagination.js +84 -60
- package/es/common/util/withStateCache.js +10 -3
- package/es/config.js +9 -5
- package/es/configureStore.js +49 -52
- package/es/grading/api/quizEntryRegrades.js +5 -6
- package/es/grading/api/updateResults.js +8 -4
- package/es/index.js +135 -141
- package/es/messages/LocalStorageAdapter.js +15 -4
- package/es/messages/LocalStorageLimits.js +25 -5
- package/es/messages/StorageExhaustionError.js +12 -5
- package/es/messages/postMessageService.js +24 -5
- package/es/messages/subjectHandlers/forwardMessage.js +1 -0
- package/es/messages/subjectHandlers/lti.capabilities.js +1 -0
- package/es/messages/subjectHandlers/lti.fetchWindowSize.js +1 -0
- package/es/messages/subjectHandlers/lti.frameResize.js +4 -1
- package/es/messages/subjectHandlers/lti.get_data.js +8 -3
- package/es/messages/subjectHandlers/lti.put_data.js +10 -5
- package/es/messages/subjectHandlers/requestFullWindowLaunch.js +5 -1
- package/es/messages/utils.js +1 -0
- package/es/moderating/api/quizSessionEvents.js +3 -3
- package/es/moderating/api/quizSessions.js +2 -2
- package/es/moderating/components/events/Event.js +34 -16
- package/es/moderating/components/events/PageBlurredEvent.js +12 -4
- package/es/moderating/components/events/PageFocusedEvent.js +12 -4
- package/es/moderating/components/events/RCEEvent.js +12 -4
- package/es/moderating/components/events/ResponseEvent.js +30 -15
- package/es/moderating/components/events/SessionStartEvent.js +12 -4
- package/es/moderating/components/events/styles.js +1 -0
- package/es/moderating/components/events/theme.js +2 -1
- package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +30 -12
- package/es/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +29 -5
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +29 -5
- package/es/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +30 -7
- package/es/moderating/components/resources/AccommodationsModal/index.js +32 -11
- package/es/moderating/components/resources/ElapsedTime.js +16 -9
- package/es/moderating/components/resources/ModerateTable/index.js +7 -7
- package/es/moderating/components/resources/ModerateTable/presenter.js +96 -44
- package/es/moderating/components/resources/ModerateTable/styles.js +2 -0
- package/es/moderating/components/resources/ModerateTable/theme.js +2 -1
- package/es/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +4 -2
- package/es/moderating/components/resources/ModerateTableRow/index.js +5 -5
- package/es/moderating/components/resources/ModerateTableRow/presenter.js +73 -30
- package/es/moderating/components/resources/ModerateTableRow/story.js +2 -3
- package/es/moderating/components/resources/ModerateTableRow/styles.js +1 -0
- package/es/moderating/components/resources/ModerateTableRow/theme.js +1 -0
- package/es/moderating/components/resources/OutstandingQuizzesModal/index.js +4 -4
- package/es/moderating/components/resources/OutstandingQuizzesModal/presenter.js +32 -5
- package/es/moderating/components/sidebar/ModerateTray/index.js +3 -3
- package/es/moderating/components/sidebar/ModerateTray/presenter.js +27 -4
- package/es/moderating/components/sidebar/ResetQuiz/index.js +9 -7
- package/es/moderating/components/sidebar/ResetQuiz/presenter.js +38 -17
- package/es/reduxStore.js +8 -4
- package/es/reporting/api/getAnalysesExport.js +29 -20
- package/es/reporting/api/getAnalysesStatus.js +22 -17
- package/es/reporting/api/getItemAnalyses.js +22 -17
- package/es/reporting/api/getQuizAnalysis.js +22 -17
- package/es/reporting/api/itemAnalyses.js +4 -4
- package/es/reporting/api/quizAnalyses.js +4 -4
- package/es/reporting/components/Caption/index.js +21 -11
- package/es/reporting/components/Caption/styles.js +1 -0
- package/es/reporting/components/Caption/theme.js +3 -2
- package/es/reporting/components/MetricsListItem/index.js +23 -13
- package/es/reporting/components/MetricsListItem/styles.js +1 -0
- package/es/reporting/components/charts/CentileDistribution/presenter.js +42 -17
- package/es/reporting/components/charts/CentileDistribution/styles.js +2 -0
- package/es/reporting/components/charts/CentileDistribution/theme.js +3 -2
- package/es/reporting/components/charts/Distribution/presenter.js +54 -21
- package/es/reporting/components/charts/Distribution/styles.js +1 -0
- package/es/reporting/components/charts/Distribution/theme.js +2 -1
- package/es/reporting/components/charts/Legend/index.js +25 -14
- package/es/reporting/components/charts/Legend/styles.js +2 -0
- package/es/reporting/components/charts/Legend/theme.js +4 -3
- package/es/reporting/components/charts/QuintileDistribution/presenter.js +40 -14
- package/es/reporting/components/charts/QuintileDistribution/styles.js +1 -0
- package/es/reporting/components/charts/QuintileDistribution/theme.js +2 -1
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +1 -1
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +33 -11
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +14 -2
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +6 -5
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +1 -1
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +3 -3
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +52 -29
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +3 -0
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +4 -3
- package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +41 -22
- package/es/reporting/components/quizAnalysis/styles.js +7 -3
- package/es/reporting/components/quizAnalysis/theme.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +25 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +25 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +4 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisUpdateDate/index.js +17 -9
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +19 -11
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +20 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +34 -11
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +31 -16
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +24 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +20 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +51 -27
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +25 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +3 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +10 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +22 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +62 -26
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +40 -20
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +24 -14
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +32 -16
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +2 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +20 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +44 -19
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +29 -13
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +23 -12
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +54 -18
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +61 -19
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +2 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +28 -15
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +6 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +32 -14
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +20 -10
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +5 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +55 -25
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +4 -3
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +42 -21
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +2 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +56 -31
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +2 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +2 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +1 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +31 -13
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +3 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/errorCodes.js +7 -1
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/exportReports.js +53 -40
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +50 -41
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +35 -27
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/generateReports.js +85 -64
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/index.js +2 -2
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +77 -39
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +1 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/utils.js +5 -0
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +13 -11
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +133 -104
- package/es/reporting/components/resources/OutcomeAnalysis/index.js +3 -3
- package/es/reporting/components/resources/OutcomeAnalysis/presenter.js +25 -12
- package/es/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +9 -7
- package/es/reporting/components/resources/QuizAndItemAnalysis/index.js +7 -7
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +56 -29
- package/es/reporting/components/resources/QuizAndItemAnalysis/styles.js +1 -0
- package/es/reporting/components/resources/QuizAndItemAnalysis/theme.js +3 -2
- package/es/reporting/components/resources/ReportCard/index.js +25 -15
- package/es/reporting/components/resources/ReportCard/styles.js +2 -0
- package/es/reporting/components/resources/ReportCard/theme.js +2 -1
- package/es/reporting/components/resources/ReportList/index.js +24 -14
- package/es/reporting/components/resources/ReportList/styles.js +1 -0
- package/es/reporting/components/resources/ReportList/theme.js +1 -0
- package/es/taking/api/taking.js +53 -41
- package/es/taking/learnosity/index.js +68 -42
- package/lib/banks/api/bankEntries.js +65 -23
- package/lib/banks/api/banks.js +103 -38
- package/lib/banks/api/copyingBanksPoller.js +83 -60
- package/lib/banks/api/tagAssociations.js +61 -32
- package/lib/banks/components/AddBankEntryModal/index.js +25 -10
- package/lib/banks/components/AddBankEntryModal/presenter.js +49 -10
- package/lib/banks/components/AddToBankModal/index.js +36 -16
- package/lib/banks/components/AddToBankModal/presenter.js +126 -56
- package/lib/banks/components/AsyncSearch/index.js +94 -18
- package/lib/banks/components/Bank/index.js +37 -17
- package/lib/banks/components/Bank/presenter.js +165 -70
- package/lib/banks/components/Bank/styles.js +8 -2
- package/lib/banks/components/Bank/theme.js +6 -3
- package/lib/banks/components/BankEntriesList/index.js +15 -6
- package/lib/banks/components/BankEntriesList/presenter.js +45 -18
- package/lib/banks/components/BankEntriesList/styles.js +4 -1
- package/lib/banks/components/BankEntriesList/theme.js +4 -1
- package/lib/banks/components/BankEntry/index.js +42 -17
- package/lib/banks/components/BankEntry/presenter.js +314 -173
- package/lib/banks/components/BankEntry/styles.js +7 -2
- package/lib/banks/components/BankEntry/theme.js +7 -4
- package/lib/banks/components/BankEntryRow/BankEntryRow.examples.js +13 -5
- package/lib/banks/components/BankEntryRow/index.js +32 -12
- package/lib/banks/components/BankEntryRow/presenter.js +100 -38
- package/lib/banks/components/BankEntryRow/styles.js +4 -1
- package/lib/banks/components/BankEntryRow/theme.js +7 -4
- package/lib/banks/components/BankSearch/BankSearch.stories.js +27 -9
- package/lib/banks/components/BankSearch/index.js +18 -6
- package/lib/banks/components/BankSearch/presenter.js +70 -25
- package/lib/banks/components/BankSearch/styles.js +4 -1
- package/lib/banks/components/BankSearch/theme.js +4 -1
- package/lib/banks/components/Banks/index.js +26 -10
- package/lib/banks/components/Banks/presenter.js +129 -42
- package/lib/banks/components/Banks/styles.js +4 -1
- package/lib/banks/components/Banks/theme.js +6 -3
- package/lib/banks/components/BanksList/index.js +26 -12
- package/lib/banks/components/BanksList/presenter.js +180 -88
- package/lib/banks/components/BanksList/styles.js +4 -1
- package/lib/banks/components/BanksList/theme.js +7 -4
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +30 -13
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +65 -15
- package/lib/banks/components/CreateBankModal/index.js +33 -13
- package/lib/banks/components/CreateBankModal/presenter.js +64 -16
- package/lib/banks/components/CreateBankModal/styles.js +4 -1
- package/lib/banks/components/CreateBankModal/theme.js +5 -2
- package/lib/banks/components/EditBankModal/index.js +27 -10
- package/lib/banks/components/EditBankModal/presenter.js +56 -16
- package/lib/banks/components/EditBankModal/styles.js +4 -1
- package/lib/banks/components/EditBankModal/theme.js +5 -2
- package/lib/banks/components/HeaderBreadCrumb/index.js +47 -17
- package/lib/banks/components/HeaderMenu/index.js +20 -8
- package/lib/banks/components/HeaderMenu/presenter.js +51 -19
- package/lib/banks/components/HeaderMenu/styles.js +4 -1
- package/lib/banks/components/HeaderMenu/theme.js +5 -2
- package/lib/banks/components/NavWrapper/NavWrapper.examples.js +9 -3
- package/lib/banks/components/NavWrapper/index.js +12 -4
- package/lib/banks/components/NavWrapper/presenter.js +64 -25
- package/lib/banks/components/NavWrapper/styles.js +5 -1
- package/lib/banks/components/NavWrapper/theme.js +8 -5
- package/lib/banks/components/SharingModal/ContextualIconButton/index.js +37 -8
- package/lib/banks/components/SharingModal/RootAccountSharing.js +55 -19
- package/lib/banks/components/SharingModal/ShareList/ShareList.examples.js +5 -2
- package/lib/banks/components/SharingModal/ShareList/index.js +61 -20
- package/lib/banks/components/SharingModal/ShareList/styles.js +4 -1
- package/lib/banks/components/SharingModal/index.js +22 -8
- package/lib/banks/components/SharingModal/presenter.js +164 -63
- package/lib/banks/components/SharingModal/styles.js +4 -1
- package/lib/banks/components/SharingModal/theme.js +6 -3
- package/lib/building/api/items.js +118 -81
- package/lib/building/api/qtiImports.js +47 -18
- package/lib/building/api/quizEntries.js +111 -64
- package/lib/building/api/quizzes.js +78 -50
- package/lib/building/api/stimuli.js +16 -9
- package/lib/building/components/QTIImportModal/index.js +28 -13
- package/lib/building/components/layout/Sidebar/Sidebar.examples.js +50 -19
- package/lib/building/components/layout/Sidebar/SidebarItem/index.js +46 -19
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +62 -34
- package/lib/building/components/layout/Sidebar/SidebarItem/styles.js +7 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/theme.js +4 -1
- package/lib/building/components/layout/Sidebar/Stimulus/index.js +43 -17
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +61 -33
- package/lib/building/components/layout/Sidebar/Stimulus/styles.js +7 -2
- package/lib/building/components/layout/Sidebar/Stimulus/theme.js +4 -1
- package/lib/building/components/layout/Sidebar/index.js +44 -21
- package/lib/building/components/layout/Sidebar/presenter.js +74 -28
- package/lib/building/components/layout/Sidebar/styles.js +7 -2
- package/lib/building/components/layout/Sidebar/theme.js +4 -1
- package/lib/building/components/layout/header/BuildingButtons/index.js +34 -15
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +86 -19
- package/lib/building/components/layout/header/BuildingButtons/styles.js +7 -2
- package/lib/building/components/layout/header/BuildingButtons/theme.js +6 -3
- package/lib/building/components/layout/header/SDKBuildingButtons/index.js +16 -7
- package/lib/building/components/resources/ActionButtons/index.js +20 -7
- package/lib/building/components/resources/ActionButtons/presenter.js +55 -18
- package/lib/building/components/resources/ActionButtons/styles.js +9 -2
- package/lib/building/components/resources/ActionButtons/theme.js +5 -2
- package/lib/building/components/resources/AddToBankOptions/index.js +81 -41
- package/lib/building/components/resources/AddToBankOptions/styles.js +4 -1
- package/lib/building/components/resources/AddToBankOptions/theme.js +5 -2
- package/lib/building/components/resources/BanksTray/index.js +13 -5
- package/lib/building/components/resources/BanksTray/presenter.js +69 -19
- package/lib/building/components/resources/DeleteStimulusModal/index.js +24 -10
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +79 -24
- package/lib/building/components/resources/DeleteStimulusModal/styles.js +4 -1
- package/lib/building/components/resources/DeleteStimulusModal/theme.js +5 -2
- package/lib/building/components/resources/ItemFeedbackModal/index.js +27 -12
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +53 -15
- package/lib/building/components/resources/ItemFeedbackModal/styles.js +4 -1
- package/lib/building/components/resources/ItemFeedbackModal/theme.js +4 -1
- package/lib/building/components/resources/MoveImmutableModal/index.js +29 -14
- package/lib/building/components/resources/MoveImmutableModal/presenter.js +45 -12
- package/lib/building/components/resources/quiz/editButton/EditButton.js +38 -8
- package/lib/building/components/resources/quiz/instructions/Edit/index.js +11 -4
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +45 -20
- package/lib/building/components/resources/quiz/instructions/Edit/styles.js +4 -1
- package/lib/building/components/resources/quiz/instructions/Edit/theme.js +1 -0
- package/lib/building/components/resources/quiz/instructions/Instructions/Instructions.examples.js +9 -4
- package/lib/building/components/resources/quiz/instructions/Instructions/index.js +23 -10
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +75 -31
- package/lib/building/components/resources/quiz/instructions/Instructions/styles.js +7 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/theme.js +3 -2
- package/lib/building/components/resources/quiz/instructions/Show/index.js +47 -17
- package/lib/building/components/resources/quiz/instructions/Show/styles.js +4 -1
- package/lib/building/components/resources/quiz/instructions/Show/theme.js +3 -2
- package/lib/building/components/resources/quiz/title/Edit/index.js +55 -19
- package/lib/building/components/resources/quiz/title/Edit/styles.js +7 -2
- package/lib/building/components/resources/quiz/title/Edit/theme.js +7 -4
- package/lib/building/components/resources/quiz/title/Show/index.js +47 -17
- package/lib/building/components/resources/quiz/title/Show/styles.js +4 -1
- package/lib/building/components/resources/quiz/title/Show/theme.js +4 -1
- package/lib/building/components/resources/quiz/title/Title/Title.examples.js +9 -4
- package/lib/building/components/resources/quiz/title/Title/index.js +25 -11
- package/lib/building/components/resources/quiz/title/Title/presenter.js +69 -31
- package/lib/building/components/resources/quiz/title/Title/styles.js +8 -2
- package/lib/building/components/resources/quiz/title/Title/theme.js +4 -3
- package/lib/building/components/resources/quizEntry/QuizEntry/index.js +44 -19
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +117 -46
- package/lib/building/components/resources/quizEntry/QuizEntry/quizEntryPresenterWrapper.js +23 -6
- package/lib/building/components/resources/quizEntry/QuizEntry/styles.js +7 -2
- package/lib/building/components/resources/quizEntry/QuizEntry/theme.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/index.js +17 -8
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +77 -21
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/styles.js +4 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/theme.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +47 -18
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/styles.js +4 -1
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/theme.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/index.js +18 -8
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +79 -28
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/styles.js +8 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/theme.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +151 -74
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/styles.js +5 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/theme.js +6 -3
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/index.js +35 -14
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +206 -107
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/styles.js +5 -1
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/theme.js +7 -4
- package/lib/building/components/resources/quizEntry/QuizEntryShow/index.js +24 -10
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +106 -47
- package/lib/building/components/resources/quizEntry/QuizEntryShow/styles.js +8 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/theme.js +8 -5
- package/lib/common/actions/addInteractionTypes.js +2 -0
- package/lib/common/actions/alerts.js +18 -9
- package/lib/common/actions/analyses.js +11 -4
- package/lib/common/actions/bankEntries.js +10 -3
- package/lib/common/actions/bankSearch.js +19 -6
- package/lib/common/actions/banks.js +27 -8
- package/lib/common/actions/config.js +5 -1
- package/lib/common/actions/dragAndDrop.js +2 -0
- package/lib/common/actions/editing.js +5 -1
- package/lib/common/actions/errorsShowing.js +5 -1
- package/lib/common/actions/features.js +3 -0
- package/lib/common/actions/grading.js +6 -2
- package/lib/common/actions/items.js +2 -0
- package/lib/common/actions/modal.js +10 -3
- package/lib/common/actions/moderation.js +3 -0
- package/lib/common/actions/modifications.js +86 -64
- package/lib/common/actions/outcomes.js +5 -0
- package/lib/common/actions/postMessage.js +2 -0
- package/lib/common/actions/printing.js +4 -1
- package/lib/common/actions/qtiImports.js +3 -0
- package/lib/common/actions/quizEntries.js +7 -0
- package/lib/common/actions/quizExport.js +6 -2
- package/lib/common/actions/quizSessionEvents.js +6 -2
- package/lib/common/actions/quizSessionResults.js +6 -2
- package/lib/common/actions/quizSessions.js +45 -13
- package/lib/common/actions/quizzes.js +27 -8
- package/lib/common/actions/rce.js +17 -8
- package/lib/common/actions/regrading.js +5 -1
- package/lib/common/actions/reporting.js +7 -1
- package/lib/common/actions/scrolling.js +4 -1
- package/lib/common/actions/sessionItemResults.js +6 -2
- package/lib/common/actions/sessionItems.js +6 -2
- package/lib/common/actions/sharedBanks.js +15 -5
- package/lib/common/actions/sidebar.js +4 -1
- package/lib/common/actions/stimuli.js +2 -0
- package/lib/common/actions/tagAssociations.js +34 -9
- package/lib/common/actions/taking.js +76 -25
- package/lib/common/actions/ui.js +39 -11
- package/lib/common/actions/upload.js +22 -6
- package/lib/common/api/callHandlers.js +111 -38
- package/lib/common/api/camelizeHelpers.js +15 -6
- package/lib/common/api/features.js +15 -6
- package/lib/common/api/fileUpload.js +14 -7
- package/lib/common/api/getPersistenceActions.js +64 -42
- package/lib/common/api/helpers.js +127 -84
- package/lib/common/api/interactionTypes.js +11 -5
- package/lib/common/api/quizSessions.js +94 -42
- package/lib/common/api/quizzes.js +19 -11
- package/lib/common/api/schema.js +42 -24
- package/lib/common/components/ApiFeatureFlagInitializer/index.js +26 -12
- package/lib/common/components/ConfirmationModal/index.js +17 -5
- package/lib/common/components/ConfirmationModal/presenter.js +49 -17
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +57 -27
- package/lib/common/components/ImportModal/ImportFileSelector/styles.js +4 -1
- package/lib/common/components/ImportModal/ImportFileSelector/theme.js +6 -3
- package/lib/common/components/ImportModal/index.js +33 -18
- package/lib/common/components/ImportModal/presenter.js +95 -23
- package/lib/common/components/ImportModal/styles.js +4 -1
- package/lib/common/components/ImportModal/theme.js +4 -1
- package/lib/common/components/LearnosityCalculator/index.js +81 -43
- package/lib/common/components/Pin/Pin.examples.js +3 -2
- package/lib/common/components/Pin/index.js +7 -3
- package/lib/common/components/Pin/presenter.js +35 -8
- package/lib/common/components/PreviewFrame/examples.config.js +10 -5
- package/lib/common/components/PreviewFrame/index.js +36 -12
- package/lib/common/components/PrintFontSizeModal/index.js +7 -3
- package/lib/common/components/PrintFontSizeModal/presenter.js +54 -27
- package/lib/common/components/PrintFontSizeModal/styles.js +4 -1
- package/lib/common/components/PrintFontSizeModal/theme.js +6 -3
- package/lib/common/components/RceConfigProvider/index.js +14 -6
- package/lib/common/components/RceConfigProvider/presenter.js +145 -96
- package/lib/common/components/RceConfigProvider/rceConfigErrorHandler.js +26 -9
- package/lib/common/components/RceConfigProvider/rceConfigErrorMessages.js +26 -8
- package/lib/common/components/RceConfigProvider/rceConfigFetcher.js +45 -29
- package/lib/common/components/RceConfigProvider/rceConfigMapper.js +20 -6
- package/lib/common/components/RceConfigProvider/rceConfigUtils.js +12 -6
- package/lib/common/components/SDKApp/index.js +92 -39
- package/lib/common/components/SDKApp/styles.js +4 -1
- package/lib/common/components/SDKHeaderCalculator.js +20 -10
- package/lib/common/components/SDKMenuButton.js +16 -7
- package/lib/common/components/SDKNavBar.js +17 -8
- package/lib/common/components/SDKTimer.js +20 -10
- package/lib/common/components/alerts/index.js +17 -7
- package/lib/common/components/alerts/presenter.js +48 -14
- package/lib/common/components/alerts/styles.js +7 -2
- package/lib/common/components/alerts/theme.js +5 -2
- package/lib/common/components/layout/Page/index.js +33 -14
- package/lib/common/components/layout/Page/styles.js +8 -2
- package/lib/common/components/layout/Page/theme.js +6 -3
- package/lib/common/components/layout/header/Calculator/index.js +20 -9
- package/lib/common/components/layout/header/Calculator/presenter.js +43 -14
- package/lib/common/components/layout/header/HeaderMenuButton/index.js +22 -10
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +52 -17
- package/lib/common/components/layout/header/HeaderMenuButton/styles.js +7 -2
- package/lib/common/components/layout/header/HeaderMenuButton/theme.js +6 -3
- package/lib/common/components/layout/header/Timer/index.js +22 -8
- package/lib/common/components/layout/header/Timer/presenter.js +75 -25
- package/lib/common/components/layout/header/Timer/styles.js +4 -1
- package/lib/common/components/layout/header/Timer/theme.js +7 -4
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +34 -13
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/styles.js +4 -1
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/theme.js +4 -1
- package/lib/common/components/layout/navbar/index.js +55 -18
- package/lib/common/components/layout/navbar/styles.js +4 -1
- package/lib/common/components/layout/navbar/theme.js +5 -2
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +34 -13
- package/lib/common/components/layout/sidebar/PositionSummary/styles.js +4 -1
- package/lib/common/components/layout/sidebar/PositionSummary/theme.js +7 -4
- package/lib/common/components/layout/sidebar/Sidebar/Pin.js +33 -8
- package/lib/common/components/layout/sidebar/Sidebar/Sidebar.examples.js +17 -9
- package/lib/common/components/layout/sidebar/Sidebar/index.js +108 -43
- package/lib/common/components/layout/sidebar/Sidebar/styles.js +15 -6
- package/lib/common/components/layout/sidebar/Sidebar/theme.js +10 -6
- package/lib/common/components/layout/sidebar/SidebarItem/index.js +27 -11
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +72 -39
- package/lib/common/components/layout/sidebar/SidebarItem/styles.js +7 -2
- package/lib/common/components/layout/sidebar/SidebarItem/theme.js +7 -4
- package/lib/common/components/layout/sidebar/Stimulus/Collection/index.js +13 -6
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +60 -27
- package/lib/common/components/layout/sidebar/Stimulus/Collection/styles.js +9 -3
- package/lib/common/components/layout/sidebar/Stimulus/Collection/theme.js +6 -3
- package/lib/common/components/layout/sidebar/Stimulus/Summary/index.js +13 -6
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +59 -23
- package/lib/common/components/layout/sidebar/Stimulus/Summary/styles.js +4 -1
- package/lib/common/components/layout/sidebar/Stimulus/Summary/theme.js +6 -3
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +35 -14
- package/lib/common/components/layout/sidebar/Stimulus/Title/styles.js +4 -1
- package/lib/common/components/layout/sidebar/Stimulus/index.js +21 -8
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +76 -35
- package/lib/common/components/layout/sidebar/Stimulus/styles.js +4 -1
- package/lib/common/components/layout/sidebar/Stimulus/theme.js +7 -4
- package/lib/common/components/resources/BankSelection/BankSelection.examples.js +3 -2
- package/lib/common/components/resources/BankSelection/index.js +21 -9
- package/lib/common/components/resources/BankSelection/presenter.js +70 -20
- package/lib/common/components/resources/WarningWrapper/index.js +42 -14
- package/lib/common/components/resources/WarningWrapper/styles.js +4 -1
- package/lib/common/components/resources/WarningWrapper/theme.js +6 -3
- package/lib/common/components/resources/entry/EntrySave/index.js +29 -13
- package/lib/common/components/resources/entry/EntrySave/presenter.js +175 -99
- package/lib/common/components/resources/item/ItemEdit/index.js +44 -21
- package/lib/common/components/resources/item/ItemEdit/presenter.js +69 -22
- package/lib/common/components/resources/item/ItemOverride/index.js +29 -12
- package/lib/common/components/resources/item/ItemOverride/presenter.js +38 -10
- package/lib/common/components/resources/item/ItemShow/index.js +34 -10
- package/lib/common/components/resources/positionBox/PositionBox.js +35 -14
- package/lib/common/components/resources/positionBox/styles.js +7 -2
- package/lib/common/components/resources/positionBox/theme.js +6 -3
- package/lib/common/components/resources/quiz/AddContent/Body/index.js +22 -9
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +68 -27
- package/lib/common/components/resources/quiz/AddContent/Body/styles.js +14 -6
- package/lib/common/components/resources/quiz/AddContent/Body/theme.js +8 -5
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +42 -14
- package/lib/common/components/resources/quiz/AddContent/Button/styles.js +8 -2
- package/lib/common/components/resources/quiz/AddContent/Button/theme.js +8 -5
- package/lib/common/components/resources/quiz/AddContent/Modal/index.js +21 -10
- package/lib/common/components/resources/quiz/AddContent/Modal/presenter.js +33 -10
- package/lib/common/components/resources/quiz/AddContent/Popover/index.js +23 -10
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +59 -21
- package/lib/common/components/resources/quiz/AddContent/Popover/styles.js +4 -1
- package/lib/common/components/resources/quiz/AddContent/Popover/theme.js +5 -2
- package/lib/common/components/resources/quiz/info/QuizInfo.js +31 -10
- package/lib/common/components/resources/quiz/instructions/Instructions.js +38 -19
- package/lib/common/components/resources/quiz/instructions/styles.js +4 -1
- package/lib/common/components/resources/quiz/instructions/theme.js +5 -2
- package/lib/common/components/resources/quiz/title/Title.js +38 -18
- package/lib/common/components/resources/quiz/title/styles.js +4 -1
- package/lib/common/components/resources/quiz/title/theme.js +5 -2
- package/lib/common/components/resources/quizSessionResult/Header/index.js +43 -14
- package/lib/common/components/resources/quizSessionResult/Header/styles.js +4 -1
- package/lib/common/components/resources/quizSessionResult/Header/theme.js +5 -2
- package/lib/common/components/resources/quizSessionResult/Info/Info.examples.js +11 -5
- package/lib/common/components/resources/quizSessionResult/Info/index.js +151 -111
- package/lib/common/components/resources/quizSessionResult/Info/styles.js +5 -1
- package/lib/common/components/resources/quizSessionResult/Info/theme.js +5 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +37 -13
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/styles.js +8 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/theme.js +8 -5
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/index.js +17 -7
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +115 -68
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/styles.js +7 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/theme.js +7 -4
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +53 -20
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/styles.js +4 -1
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/theme.js +7 -4
- package/lib/common/components/resources/stimulus/Stimulus/index.js +19 -7
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +72 -32
- package/lib/common/components/resources/stimulus/Stimulus/styles.js +12 -3
- package/lib/common/components/resources/stimulus/Stimulus/theme.js +7 -4
- package/lib/common/components/resources/stimulus/StimulusEdit/index.js +33 -13
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +232 -120
- package/lib/common/components/resources/stimulus/StimulusEdit/styles.js +4 -1
- package/lib/common/components/resources/stimulus/StimulusEdit/theme.js +6 -3
- package/lib/common/components/resources/stimulus/StimulusEditInfo/index.js +19 -7
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +67 -19
- package/lib/common/components/resources/stimulus/StimulusEditInfo/styles.js +4 -1
- package/lib/common/components/resources/stimulus/StimulusEditInfo/theme.js +6 -3
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +53 -22
- package/lib/common/components/resources/stimulus/StimulusShow/styles.js +4 -1
- package/lib/common/components/resources/stimulus/StimulusShow/theme.js +6 -3
- package/lib/common/components/resources/stimulus/StimulusShowInfo/StimulusShowInfo.examples.js +8 -4
- package/lib/common/components/resources/stimulus/StimulusShowInfo/index.js +30 -7
- package/lib/common/components/shared/Card/CardContent/index.js +35 -14
- package/lib/common/components/shared/Card/CardContent/styles.js +7 -2
- package/lib/common/components/shared/Card/CardContent/theme.js +8 -5
- package/lib/common/components/shared/Card/CardWrapper/index.js +35 -14
- package/lib/common/components/shared/Card/CardWrapper/styles.js +7 -2
- package/lib/common/components/shared/Card/CardWrapper/theme.js +6 -3
- package/lib/common/components/shared/Card/index.js +20 -10
- package/lib/common/components/shared/ExpandButton/index.js +35 -13
- package/lib/common/components/shared/ExpandButton/styles.js +7 -2
- package/lib/common/components/shared/ExpandButton/theme.js +4 -1
- package/lib/common/components/shared/FormattedDuration/FormattedDuration.examples.js +8 -3
- package/lib/common/components/shared/FormattedDuration/index.js +48 -17
- package/lib/common/components/shared/IfFeature/index.js +13 -6
- package/lib/common/components/shared/IfFeature/presenter.js +25 -7
- package/lib/common/components/shared/InteractionTypes/index.js +11 -4
- package/lib/common/components/shared/InteractionTypes/presenter.js +56 -17
- package/lib/common/components/shared/InteractionTypes/styles.js +4 -1
- package/lib/common/components/shared/InteractionTypes/theme.js +6 -3
- package/lib/common/components/shared/PaginatedCollection/index.js +16 -7
- package/lib/common/components/shared/PaginatedCollection/presenter.js +97 -63
- package/lib/common/components/shared/PaginatedCollection/styles.js +4 -1
- package/lib/common/components/shared/PaginatedCollection/theme.js +6 -3
- package/lib/common/components/shared/Paginator/index.js +38 -14
- package/lib/common/components/shared/Paginator/styles.js +4 -1
- package/lib/common/components/shared/Paginator/theme.js +4 -1
- package/lib/common/components/shared/PrintTrigger/index.js +27 -11
- package/lib/common/components/shared/PrintTrigger/presenter.js +61 -17
- package/lib/common/components/shared/TagDisplay/index.js +37 -13
- package/lib/common/components/shared/TagDisplay/styles.js +4 -1
- package/lib/common/components/shared/TagSelect/index.js +7 -3
- package/lib/common/components/shared/TagSelect/presenter.js +72 -20
- package/lib/common/components/shared/TagSuggestSelect/index.js +17 -6
- package/lib/common/components/shared/TagSuggestSelect/presenter.js +49 -17
- package/lib/common/components/shared/TagWrapper/index.js +7 -3
- package/lib/common/components/shared/TagWrapper/presenter.js +38 -11
- package/lib/common/components/shared/TimeUnitsInput/TimeUnitsInput.examples.js +3 -2
- package/lib/common/components/shared/TimeUnitsInput/index.js +89 -36
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +47 -21
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/styles.js +7 -2
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/theme.js +6 -3
- package/lib/common/components/shared/drag_and_drop/DragHandle/index.js +30 -13
- package/lib/common/components/shared/drag_and_drop/DragHandle/presenter.js +89 -30
- package/lib/common/components/shared/drag_and_drop/dragAndDropUtils.js +108 -39
- package/lib/common/components/shared/errors/Errors.js +42 -14
- package/lib/common/components/shared/errors/styles.js +4 -1
- package/lib/common/components/shared/errors/theme.js +5 -2
- package/lib/common/components/shared/file_selector/FileSelector.js +39 -15
- package/lib/common/components/shared/file_selector/styles.js +4 -1
- package/lib/common/components/shared/file_selector/theme.js +6 -3
- package/lib/common/components/shared/functionality/componentWithOutsideClick.js +40 -18
- package/lib/common/components/shared/functionality/componentWithOutsideClickEmotion.js +32 -12
- package/lib/common/components/shared/functionality/disableDraggingOverride.js +10 -4
- package/lib/common/components/shared/functionality/makeEditable.js +59 -25
- package/lib/common/components/shared/functionality/makeScrollable.js +74 -33
- package/lib/common/components/shared/overlay/index.js +39 -26
- package/lib/common/components/shared/overlay/styles.js +7 -2
- package/lib/common/components/shared/overlay/theme.js +6 -3
- package/lib/common/components/shared/return_button/ReturnButton.js +33 -11
- package/lib/common/components/shared/spinner/Spinner.js +43 -20
- package/lib/common/components/shared/spinner/styles.js +4 -1
- package/lib/common/kinesis/QuizEventsLogger.js +89 -52
- package/lib/common/kinesis/StreamQueue.js +33 -12
- package/lib/common/kinesis/client.js +26 -9
- package/lib/common/kinesis/config.js +22 -9
- package/lib/common/kinesis/eventTypes.js +20 -12
- package/lib/common/middleware/alertTimerMiddleware.js +11 -4
- package/lib/common/middleware/crossDomainMessagingMiddleware.js +8 -2
- package/lib/common/middleware/eventLoggerMiddleware.js +14 -6
- package/lib/common/middleware/persistedStorageMiddleware.js +15 -4
- package/lib/common/react-redux.js +7 -3
- package/lib/common/records/Alert.js +20 -8
- package/lib/common/records/Bank.js +30 -10
- package/lib/common/records/BankEntry.js +32 -10
- package/lib/common/records/Item.js +39 -18
- package/lib/common/records/ItemAnalysis.js +28 -9
- package/lib/common/records/QtiImport.js +25 -8
- package/lib/common/records/Quiz.js +47 -21
- package/lib/common/records/QuizAnalysis.js +24 -8
- package/lib/common/records/QuizEntry.js +179 -109
- package/lib/common/records/QuizSession.js +46 -24
- package/lib/common/records/QuizSessionEvent.js +25 -9
- package/lib/common/records/QuizSessionResult.js +27 -9
- package/lib/common/records/Response.js +27 -9
- package/lib/common/records/SessionItem.js +38 -13
- package/lib/common/records/SessionItemResult.js +26 -9
- package/lib/common/records/Stimulus.js +33 -13
- package/lib/common/records/baseRecord.js +33 -11
- package/lib/common/records/index.js +52 -35
- package/lib/common/records/reduxRecord.js +21 -10
- package/lib/common/reducers/alerts.js +10 -2
- package/lib/common/reducers/analyses.js +35 -11
- package/lib/common/reducers/bankEntries.js +15 -3
- package/lib/common/reducers/bankSearch.js +17 -6
- package/lib/common/reducers/banks.js +23 -4
- package/lib/common/reducers/calls.js +10 -2
- package/lib/common/reducers/config.js +12 -2
- package/lib/common/reducers/dragAndDrop.js +9 -2
- package/lib/common/reducers/editing.js +13 -4
- package/lib/common/reducers/errorsShowing.js +11 -2
- package/lib/common/reducers/features.js +10 -2
- package/lib/common/reducers/grading.js +11 -2
- package/lib/common/reducers/interactionTypes.js +13 -3
- package/lib/common/reducers/items.js +14 -3
- package/lib/common/reducers/modal.js +13 -2
- package/lib/common/reducers/moderation.js +11 -2
- package/lib/common/reducers/modifications.js +50 -11
- package/lib/common/reducers/outcomes.js +13 -2
- package/lib/common/reducers/printing.js +9 -2
- package/lib/common/reducers/qtiImports.js +15 -3
- package/lib/common/reducers/quizEntries.js +50 -31
- package/lib/common/reducers/quizExport.js +9 -2
- package/lib/common/reducers/quizSessionEvents.js +12 -4
- package/lib/common/reducers/quizSessionResults.js +13 -3
- package/lib/common/reducers/quizSessions.js +22 -5
- package/lib/common/reducers/quizzes.js +25 -3
- package/lib/common/reducers/rce.js +12 -2
- package/lib/common/reducers/regrading.js +12 -2
- package/lib/common/reducers/reporting.js +22 -3
- package/lib/common/reducers/scrolling.js +10 -2
- package/lib/common/reducers/sessionItemResults.js +13 -3
- package/lib/common/reducers/sessionItems.js +14 -3
- package/lib/common/reducers/sharedBanks.js +17 -4
- package/lib/common/reducers/sidebar.js +10 -2
- package/lib/common/reducers/stimuli.js +14 -3
- package/lib/common/reducers/tagAssociations.js +35 -2
- package/lib/common/reducers/taking.js +41 -2
- package/lib/common/reducers/ui.js +18 -2
- package/lib/common/reducers/upload.js +14 -2
- package/lib/common/selectors/analyses.js +28 -8
- package/lib/common/selectors/calculator.js +15 -8
- package/lib/common/selectors/calls.js +3 -0
- package/lib/common/selectors/config.js +5 -1
- package/lib/common/selectors/interactionTypes.js +22 -12
- package/lib/common/selectors/items.js +9 -2
- package/lib/common/selectors/qtiImports.js +14 -6
- package/lib/common/selectors/quizSessionResults.js +8 -3
- package/lib/common/selectors/quizSessions.js +30 -13
- package/lib/common/selectors/quizzes.js +70 -23
- package/lib/common/selectors/rce.js +10 -4
- package/lib/common/selectors/reporting.js +11 -4
- package/lib/common/selectors/sessionItemResults.js +17 -8
- package/lib/common/selectors/sessionItems.js +18 -8
- package/lib/common/selectors/taking.js +29 -10
- package/lib/common/selectors/ui.js +5 -2
- package/lib/common/util/CustomPropTypes.js +23 -3
- package/lib/common/util/ElementsForSelectors.js +8 -3
- package/lib/common/util/ExhaustivePaginatedFetcher.js +85 -55
- package/lib/common/util/Fetcher.js +245 -157
- package/lib/common/util/MultiWeakMap.js +27 -4
- package/lib/common/util/PaginatedFetcher.js +57 -24
- package/lib/common/util/ThunkQueue.js +87 -53
- package/lib/common/util/TimeRecordingService.js +23 -4
- package/lib/common/util/TimerService.js +59 -9
- package/lib/common/util/cachePreviousArgs.js +11 -3
- package/lib/common/util/callHelpers.js +20 -6
- package/lib/common/util/componentForItem.js +16 -4
- package/lib/common/util/crossDomainMessaging.js +2 -0
- package/lib/common/util/debounceLatestPromise.js +10 -3
- package/lib/common/util/featureCheck.js +16 -6
- package/lib/common/util/fetchHelpers.js +1 -0
- package/lib/common/util/fitbCopyHelper.js +4 -1
- package/lib/common/util/formatTimespan.js +22 -3
- package/lib/common/util/generateDisplayPositions.js +10 -4
- package/lib/common/util/httpHeaders.js +12 -5
- package/lib/common/util/immutableHelpers.js +19 -10
- package/lib/common/util/instUIMessages.js +5 -2
- package/lib/common/util/interactionTypeMetadata.js +16 -8
- package/lib/common/util/interactionTypePropsHelper.js +20 -4
- package/lib/common/util/interactionTypeRecordForItem.js +13 -3
- package/lib/common/util/jsonify.js +10 -5
- package/lib/common/util/keyboardClickable.js +4 -1
- package/lib/common/util/mathRenderingUtils.js +6 -2
- package/lib/common/util/maxContent.js +10 -3
- package/lib/common/util/modalHelpers.js +2 -0
- package/lib/common/util/noop.js +5 -2
- package/lib/common/util/persistedState.js +20 -6
- package/lib/common/util/printUtils.js +13 -4
- package/lib/common/util/rceChecker.js +26 -14
- package/lib/common/util/renderAlerts.js +25 -13
- package/lib/common/util/serializeEvent.js +13 -4
- package/lib/common/util/sessionStore.js +20 -8
- package/lib/common/util/valMap.js +8 -3
- package/lib/common/util/warningHelpers.js +44 -10
- package/lib/common/util/windowChecks.js +22 -7
- package/lib/common/util/withCachedArguments.js +14 -4
- package/lib/common/util/withDynamoPagination.js +97 -63
- package/lib/common/util/withStateCache.js +19 -3
- package/lib/config.js +17 -6
- package/lib/configureStore.js +104 -53
- package/lib/grading/api/quizEntryRegrades.js +13 -7
- package/lib/grading/api/updateResults.js +20 -7
- package/lib/index.js +646 -517
- package/lib/messages/LocalStorageAdapter.js +21 -6
- package/lib/messages/LocalStorageLimits.js +30 -7
- package/lib/messages/StorageExhaustionError.js +20 -8
- package/lib/messages/postMessageService.js +35 -6
- package/lib/messages/subjectHandlers/forwardMessage.js +4 -1
- package/lib/messages/subjectHandlers/lti.capabilities.js +4 -1
- package/lib/messages/subjectHandlers/lti.fetchWindowSize.js +4 -1
- package/lib/messages/subjectHandlers/lti.frameResize.js +7 -2
- package/lib/messages/subjectHandlers/lti.get_data.js +12 -4
- package/lib/messages/subjectHandlers/lti.put_data.js +19 -7
- package/lib/messages/subjectHandlers/requestFullWindowLaunch.js +13 -4
- package/lib/messages/utils.js +1 -0
- package/lib/moderating/api/quizSessionEvents.js +10 -4
- package/lib/moderating/api/quizSessions.js +12 -4
- package/lib/moderating/components/events/Event.js +56 -20
- package/lib/moderating/components/events/PageBlurredEvent.js +27 -8
- package/lib/moderating/components/events/PageFocusedEvent.js +27 -8
- package/lib/moderating/components/events/RCEEvent.js +27 -8
- package/lib/moderating/components/events/ResponseEvent.js +49 -18
- package/lib/moderating/components/events/SessionStartEvent.js +32 -8
- package/lib/moderating/components/events/styles.js +4 -1
- package/lib/moderating/components/events/theme.js +5 -2
- package/lib/moderating/components/resources/AccommodationsModal/AccommodationsModal.examples.js +3 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/index.js +44 -15
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/ExtraAttemptsInput/{}.examples.js +3 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraAttemptSettings/index.js +47 -10
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeMultiplier/index.js +45 -8
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/ExtraTimeSettings.examples.js +3 -2
- package/lib/moderating/components/resources/AccommodationsModal/ExtraTimeSettings/index.js +54 -14
- package/lib/moderating/components/resources/AccommodationsModal/index.js +55 -15
- package/lib/moderating/components/resources/ElapsedTime.js +32 -13
- package/lib/moderating/components/resources/ModerateTable/index.js +26 -12
- package/lib/moderating/components/resources/ModerateTable/presenter.js +128 -52
- package/lib/moderating/components/resources/ModerateTable/styles.js +7 -2
- package/lib/moderating/components/resources/ModerateTable/theme.js +5 -2
- package/lib/moderating/components/resources/ModerateTableRow/ModerateTableRow.examples.js +13 -5
- package/lib/moderating/components/resources/ModerateTableRow/index.js +15 -8
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +99 -35
- package/lib/moderating/components/resources/ModerateTableRow/story.js +10 -4
- package/lib/moderating/components/resources/ModerateTableRow/styles.js +4 -1
- package/lib/moderating/components/resources/ModerateTableRow/theme.js +4 -1
- package/lib/moderating/components/resources/OutstandingQuizzesModal/OutstandingQuizzesModal.examples.js +3 -2
- package/lib/moderating/components/resources/OutstandingQuizzesModal/index.js +20 -8
- package/lib/moderating/components/resources/OutstandingQuizzesModal/presenter.js +54 -9
- package/lib/moderating/components/sidebar/ModerateTray/ModerateTray.examples.js +3 -2
- package/lib/moderating/components/sidebar/ModerateTray/index.js +15 -7
- package/lib/moderating/components/sidebar/ModerateTray/presenter.js +52 -8
- package/lib/moderating/components/sidebar/ResetQuiz/index.js +25 -11
- package/lib/moderating/components/sidebar/ResetQuiz/presenter.js +58 -21
- package/lib/reduxStore.js +21 -9
- package/lib/reporting/api/getAnalysesExport.js +40 -23
- package/lib/reporting/api/getAnalysesStatus.js +33 -20
- package/lib/reporting/api/getItemAnalyses.js +33 -20
- package/lib/reporting/api/getQuizAnalysis.js +33 -20
- package/lib/reporting/api/itemAnalyses.js +11 -5
- package/lib/reporting/api/quizAnalyses.js +11 -5
- package/lib/reporting/components/Caption/index.js +34 -14
- package/lib/reporting/components/Caption/styles.js +4 -1
- package/lib/reporting/components/Caption/theme.js +6 -3
- package/lib/reporting/components/MetricsListItem/index.js +38 -16
- package/lib/reporting/components/MetricsListItem/styles.js +4 -1
- package/lib/reporting/components/charts/CentileDistribution/CentileDistribution.examples.js +3 -2
- package/lib/reporting/components/charts/CentileDistribution/index.js +6 -2
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +60 -21
- package/lib/reporting/components/charts/CentileDistribution/styles.js +7 -2
- package/lib/reporting/components/charts/CentileDistribution/theme.js +6 -3
- package/lib/reporting/components/charts/Distribution/CentileDistribution.js +6 -3
- package/lib/reporting/components/charts/Distribution/Distribution.js +6 -2
- package/lib/reporting/components/charts/Distribution/QuintileDistribution.js +6 -2
- package/lib/reporting/components/charts/Distribution/index.js +6 -2
- package/lib/reporting/components/charts/Distribution/presenter.js +76 -23
- package/lib/reporting/components/charts/Distribution/styles.js +4 -1
- package/lib/reporting/components/charts/Distribution/theme.js +5 -2
- package/lib/reporting/components/charts/Legend/index.js +39 -17
- package/lib/reporting/components/charts/Legend/styles.js +7 -2
- package/lib/reporting/components/charts/Legend/theme.js +7 -4
- package/lib/reporting/components/charts/QuintileDistribution/QuintileDistribution.examples.js +3 -2
- package/lib/reporting/components/charts/QuintileDistribution/index.js +6 -2
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +57 -19
- package/lib/reporting/components/charts/QuintileDistribution/styles.js +4 -1
- package/lib/reporting/components/charts/QuintileDistribution/theme.js +5 -2
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/AnswerFrequencySummary.examples.js +9 -4
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +53 -14
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/styles.js +20 -4
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/theme.js +9 -6
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/ItemAnalysisRow.examples.js +9 -4
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/index.js +18 -7
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +95 -45
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/styles.js +8 -2
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/theme.js +7 -4
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +74 -35
- package/lib/reporting/components/quizAnalysis/styles.js +12 -5
- package/lib/reporting/components/quizAnalysis/theme.js +7 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/index.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +36 -17
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/index.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +38 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/styles.js +7 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisUpdateDate/index.js +33 -12
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/AggregationType/presenter.js +37 -15
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ChoiceType/presenter.js +41 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +49 -13
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/styles.js +7 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +51 -21
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/CategorizationType.js +47 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingType.js +42 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +72 -29
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/styles.js +7 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/OrderingType.js +47 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/index.js +12 -9
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/utils/matchingTypeOrderer.js +15 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/ChoiceTypeWithInfo/presenter.js +41 -16
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +89 -34
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +61 -25
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/presenter.js +45 -20
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +48 -19
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/theme.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/index.js +44 -19
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/presenter.js +80 -37
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +41 -17
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/styles.js +7 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/popoverContent.js +7 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +39 -15
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +71 -20
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +82 -21
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/styles.js +7 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/theme.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +45 -19
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ExportButton/index.js +20 -6
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/index.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +49 -16
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/index.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +30 -12
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/index.js +10 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/popoverContent.js +11 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +91 -36
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/styles.js +7 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/theme.js +7 -4
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/index.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/popoverContent.js +10 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +73 -33
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/index.js +11 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +85 -39
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/styles.js +8 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/theme.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/index.js +5 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +51 -19
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/theme.js +6 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/errorCodes.js +30 -10
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/errorMessages.js +37 -11
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportFormats.js +2 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/exportReports.js +64 -43
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReports.js +61 -44
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/fetchReportsStatus.js +45 -30
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/generateReports.js +100 -68
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/index.js +11 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +111 -48
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/propTypes.js +71 -18
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/styles.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/theme.js +4 -1
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/utils.js +17 -5
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisState.js +32 -15
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/withAnalysisStatePresenter.js +154 -108
- package/lib/reporting/components/resources/OutcomeAnalysis/index.js +13 -6
- package/lib/reporting/components/resources/OutcomeAnalysis/presenter.js +44 -16
- package/lib/reporting/components/resources/QuizAndItemAnalysis/QuizAndItemAnalysis.examples.js +19 -10
- package/lib/reporting/components/resources/QuizAndItemAnalysis/index.js +22 -10
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +92 -45
- package/lib/reporting/components/resources/QuizAndItemAnalysis/styles.js +4 -1
- package/lib/reporting/components/resources/QuizAndItemAnalysis/theme.js +6 -3
- package/lib/reporting/components/resources/ReportCard/index.js +43 -19
- package/lib/reporting/components/resources/ReportCard/styles.js +7 -2
- package/lib/reporting/components/resources/ReportCard/theme.js +5 -2
- package/lib/reporting/components/resources/ReportList/index.js +38 -17
- package/lib/reporting/components/resources/ReportList/styles.js +4 -1
- package/lib/reporting/components/resources/ReportList/theme.js +4 -1
- package/lib/taking/api/taking.js +104 -56
- package/lib/taking/learnosity/index.js +77 -44
- package/package.json +10 -9
|
@@ -1,25 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.QuizSessionResult = void 0;
|
|
9
|
+
|
|
8
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
9
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
|
|
13
|
+
|
|
11
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
+
|
|
12
18
|
var _immutable = require("immutable");
|
|
13
|
-
|
|
19
|
+
|
|
20
|
+
var _reduxRecord = _interopRequireDefault(require("./reduxRecord.js"));
|
|
21
|
+
|
|
14
22
|
var _quizCommon = require("@instructure/quiz-common");
|
|
15
|
-
|
|
16
|
-
var
|
|
23
|
+
|
|
24
|
+
var _sessionItemResults = require("../selectors/sessionItemResults.js");
|
|
25
|
+
|
|
26
|
+
var QuizSessionResult = /*#__PURE__*/function (_ReduxRecord) {
|
|
27
|
+
(0, _inherits2.default)(QuizSessionResult, _ReduxRecord);
|
|
28
|
+
|
|
29
|
+
var _super = (0, _createSuper2.default)(QuizSessionResult);
|
|
30
|
+
|
|
17
31
|
function QuizSessionResult() {
|
|
18
32
|
(0, _classCallCheck2.default)(this, QuizSessionResult);
|
|
19
|
-
return
|
|
33
|
+
return _super.apply(this, arguments);
|
|
20
34
|
}
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
|
|
36
|
+
(0, _createClass2.default)(QuizSessionResult, [{
|
|
23
37
|
key: "isGraded",
|
|
24
38
|
value: function isGraded() {
|
|
25
39
|
return this.status === 'graded' || this.autogradingFailed();
|
|
@@ -56,6 +70,7 @@ var QuizSessionResult = exports.QuizSessionResult = /*#__PURE__*/function (_Redu
|
|
|
56
70
|
return "".concat(_quizCommon.QUIZ_SESSION_RESULT_FETCH_CALL, "_").concat(id);
|
|
57
71
|
}
|
|
58
72
|
}]);
|
|
73
|
+
return QuizSessionResult;
|
|
59
74
|
}((0, _reduxRecord.default)({
|
|
60
75
|
createdAt: null,
|
|
61
76
|
fudgePoints: null,
|
|
@@ -69,4 +84,7 @@ var QuizSessionResult = exports.QuizSessionResult = /*#__PURE__*/function (_Redu
|
|
|
69
84
|
status: null,
|
|
70
85
|
updatedAt: null
|
|
71
86
|
}));
|
|
72
|
-
|
|
87
|
+
|
|
88
|
+
exports.QuizSessionResult = QuizSessionResult;
|
|
89
|
+
var _default = QuizSessionResult;
|
|
90
|
+
exports.default = _default;
|
|
@@ -1,25 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.Response = void 0;
|
|
9
|
+
|
|
8
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
9
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
|
|
13
|
+
|
|
11
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
12
|
-
|
|
15
|
+
|
|
16
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
+
|
|
18
|
+
var _reduxRecord = _interopRequireDefault(require("./reduxRecord.js"));
|
|
19
|
+
|
|
13
20
|
var _instructureValidations = require("instructure-validations");
|
|
21
|
+
|
|
14
22
|
var _quizCommon = require("@instructure/quiz-common");
|
|
15
|
-
|
|
16
|
-
var
|
|
23
|
+
|
|
24
|
+
var _sessionItems = require("../selectors/sessionItems.js");
|
|
25
|
+
|
|
26
|
+
var Response = /*#__PURE__*/function (_ReduxRecord) {
|
|
27
|
+
(0, _inherits2.default)(Response, _ReduxRecord);
|
|
28
|
+
|
|
29
|
+
var _super = (0, _createSuper2.default)(Response);
|
|
30
|
+
|
|
17
31
|
function Response() {
|
|
18
32
|
(0, _classCallCheck2.default)(this, Response);
|
|
19
|
-
return
|
|
33
|
+
return _super.apply(this, arguments);
|
|
20
34
|
}
|
|
21
|
-
|
|
22
|
-
|
|
35
|
+
|
|
36
|
+
(0, _createClass2.default)(Response, [{
|
|
23
37
|
key: "getItem",
|
|
24
38
|
value: function getItem() {
|
|
25
39
|
if (this.itemId) {
|
|
@@ -36,6 +50,7 @@ var Response = exports.Response = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
36
50
|
};
|
|
37
51
|
}
|
|
38
52
|
}]);
|
|
53
|
+
return Response;
|
|
39
54
|
}((0, _reduxRecord.default)({
|
|
40
55
|
attempt: null,
|
|
41
56
|
itemId: null,
|
|
@@ -44,4 +59,7 @@ var Response = exports.Response = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
44
59
|
userResponse: null,
|
|
45
60
|
id: null
|
|
46
61
|
}));
|
|
47
|
-
|
|
62
|
+
|
|
63
|
+
exports.Response = Response;
|
|
64
|
+
var _default = Response;
|
|
65
|
+
exports.default = _default;
|
|
@@ -1,26 +1,41 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.SessionItem = void 0;
|
|
9
|
+
|
|
8
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
9
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
|
|
13
|
+
|
|
11
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
+
|
|
12
18
|
var _immutable = require("immutable");
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
var
|
|
17
|
-
|
|
19
|
+
|
|
20
|
+
var _reduxRecord = _interopRequireDefault(require("./reduxRecord.js"));
|
|
21
|
+
|
|
22
|
+
var _Item = _interopRequireDefault(require("./Item.js"));
|
|
23
|
+
|
|
24
|
+
var _Stimulus = _interopRequireDefault(require("./Stimulus.js"));
|
|
25
|
+
|
|
26
|
+
var _SessionItemResult = _interopRequireDefault(require("./SessionItemResult.js"));
|
|
27
|
+
|
|
28
|
+
var SessionItem = /*#__PURE__*/function (_ReduxRecord) {
|
|
29
|
+
(0, _inherits2.default)(SessionItem, _ReduxRecord);
|
|
30
|
+
|
|
31
|
+
var _super = (0, _createSuper2.default)(SessionItem);
|
|
32
|
+
|
|
18
33
|
function SessionItem() {
|
|
19
34
|
(0, _classCallCheck2.default)(this, SessionItem);
|
|
20
|
-
return
|
|
35
|
+
return _super.apply(this, arguments);
|
|
21
36
|
}
|
|
22
|
-
|
|
23
|
-
|
|
37
|
+
|
|
38
|
+
(0, _createClass2.default)(SessionItem, [{
|
|
24
39
|
key: "getItem",
|
|
25
40
|
value: function getItem() {
|
|
26
41
|
if (this.item) {
|
|
@@ -39,19 +54,23 @@ var SessionItem = exports.SessionItem = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
39
54
|
key: "getNestedEntries",
|
|
40
55
|
value: function getNestedEntries() {
|
|
41
56
|
var _this = this;
|
|
57
|
+
|
|
42
58
|
var fromState = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
|
|
59
|
+
|
|
43
60
|
if (this.stimulus) {
|
|
44
61
|
if (this.items && !fromState) {
|
|
45
62
|
return this.items;
|
|
46
63
|
}
|
|
64
|
+
|
|
47
65
|
var stimulusIdFilter = function stimulusIdFilter(si) {
|
|
48
66
|
return si.get('quizSessionId') === _this.quizSessionId && si.getIn(['stimulus', 'id']) === _this.getIn(['stimulus', 'id']);
|
|
49
67
|
};
|
|
68
|
+
|
|
50
69
|
var stimulusKeyFilter = function stimulusKeyFilter(si) {
|
|
51
70
|
return si.get('quizSessionId') === _this.quizSessionId && si.get('stimulusKey') === _this.stimulusKey;
|
|
52
|
-
};
|
|
71
|
+
}; // fallback to use the stimulus id when stimulusKey is not present
|
|
72
|
+
|
|
53
73
|
|
|
54
|
-
// fallback to use the stimulus id when stimulusKey is not present
|
|
55
74
|
var filter = this.stimulusKey === null ? stimulusIdFilter : stimulusKeyFilter;
|
|
56
75
|
this.items = this.getState().get('sessionItems').filter(filter).map(function (si) {
|
|
57
76
|
return SessionItem.create(si);
|
|
@@ -60,6 +79,7 @@ var SessionItem = exports.SessionItem = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
60
79
|
}).toList();
|
|
61
80
|
return this.items;
|
|
62
81
|
}
|
|
82
|
+
|
|
63
83
|
return (0, _immutable.List)();
|
|
64
84
|
}
|
|
65
85
|
}, {
|
|
@@ -107,9 +127,11 @@ var SessionItem = exports.SessionItem = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
107
127
|
if (this.isStimulus) {
|
|
108
128
|
return this.getNestedEntries().size;
|
|
109
129
|
}
|
|
130
|
+
|
|
110
131
|
return 1;
|
|
111
132
|
}
|
|
112
133
|
}]);
|
|
134
|
+
return SessionItem;
|
|
113
135
|
}((0, _reduxRecord.default)({
|
|
114
136
|
id: null,
|
|
115
137
|
item: {},
|
|
@@ -123,4 +145,7 @@ var SessionItem = exports.SessionItem = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
123
145
|
stimulusKey: null,
|
|
124
146
|
bolaPosition: null
|
|
125
147
|
}));
|
|
126
|
-
|
|
148
|
+
|
|
149
|
+
exports.SessionItem = SessionItem;
|
|
150
|
+
var _default = SessionItem;
|
|
151
|
+
exports.default = _default;
|
|
@@ -1,24 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.SessionItemResult = void 0;
|
|
9
|
+
|
|
8
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
9
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
|
|
13
|
+
|
|
11
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
+
|
|
12
18
|
var _immutable = require("immutable");
|
|
13
|
-
|
|
14
|
-
var
|
|
15
|
-
|
|
19
|
+
|
|
20
|
+
var _reduxRecord = _interopRequireDefault(require("./reduxRecord.js"));
|
|
21
|
+
|
|
22
|
+
var _sessionItems = require("../selectors/sessionItems.js");
|
|
23
|
+
|
|
24
|
+
var SessionItemResult = /*#__PURE__*/function (_ReduxRecord) {
|
|
25
|
+
(0, _inherits2.default)(SessionItemResult, _ReduxRecord);
|
|
26
|
+
|
|
27
|
+
var _super = (0, _createSuper2.default)(SessionItemResult);
|
|
28
|
+
|
|
16
29
|
function SessionItemResult() {
|
|
17
30
|
(0, _classCallCheck2.default)(this, SessionItemResult);
|
|
18
|
-
return
|
|
31
|
+
return _super.apply(this, arguments);
|
|
19
32
|
}
|
|
20
|
-
|
|
21
|
-
|
|
33
|
+
|
|
34
|
+
(0, _createClass2.default)(SessionItemResult, [{
|
|
22
35
|
key: "getItem",
|
|
23
36
|
value: function getItem() {
|
|
24
37
|
return (0, _sessionItems.getSessionItemById)(this.getState(), this.id).getItem();
|
|
@@ -56,6 +69,7 @@ var SessionItemResult = exports.SessionItemResult = /*#__PURE__*/function (_Redu
|
|
|
56
69
|
return !!this.gradedAt;
|
|
57
70
|
}
|
|
58
71
|
}]);
|
|
72
|
+
return SessionItemResult;
|
|
59
73
|
}((0, _reduxRecord.default)({
|
|
60
74
|
answerFeedback: null,
|
|
61
75
|
attempt: null,
|
|
@@ -71,4 +85,7 @@ var SessionItemResult = exports.SessionItemResult = /*#__PURE__*/function (_Redu
|
|
|
71
85
|
score: null,
|
|
72
86
|
scoredData: (0, _immutable.Map)()
|
|
73
87
|
}));
|
|
74
|
-
|
|
88
|
+
|
|
89
|
+
exports.SessionItemResult = SessionItemResult;
|
|
90
|
+
var _default = SessionItemResult;
|
|
91
|
+
exports.default = _default;
|
|
@@ -1,32 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = exports.Stimulus = void 0;
|
|
9
|
+
|
|
8
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
|
+
|
|
9
12
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
10
|
-
|
|
13
|
+
|
|
11
14
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
15
|
+
|
|
16
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
17
|
+
|
|
12
18
|
var _immutable = require("immutable");
|
|
13
|
-
|
|
19
|
+
|
|
20
|
+
var _reduxRecord = _interopRequireDefault(require("./reduxRecord.js"));
|
|
21
|
+
|
|
14
22
|
var _quizCommon = require("@instructure/quiz-common");
|
|
23
|
+
|
|
15
24
|
var _formatMessage = _interopRequireDefault(require("@instructure/quiz-i18n/es/format-message"));
|
|
25
|
+
|
|
16
26
|
var _instructureValidations = require("instructure-validations");
|
|
27
|
+
|
|
17
28
|
var _quizInteractions = require("@instructure/quiz-interactions");
|
|
18
|
-
|
|
29
|
+
|
|
30
|
+
var Stimulus = /*#__PURE__*/function (_ReduxRecord) {
|
|
31
|
+
(0, _inherits2.default)(Stimulus, _ReduxRecord);
|
|
32
|
+
|
|
33
|
+
var _super = (0, _createSuper2.default)(Stimulus);
|
|
34
|
+
|
|
19
35
|
function Stimulus() {
|
|
20
36
|
(0, _classCallCheck2.default)(this, Stimulus);
|
|
21
|
-
return
|
|
37
|
+
return _super.apply(this, arguments);
|
|
22
38
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
key: "isStimulus",
|
|
26
|
-
get: function get() {
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
}, {
|
|
39
|
+
|
|
40
|
+
(0, _createClass2.default)(Stimulus, [{
|
|
30
41
|
key: "isLoaded",
|
|
31
42
|
value: function isLoaded() {
|
|
32
43
|
return this.id !== '0';
|
|
@@ -54,6 +65,11 @@ var Stimulus = exports.Stimulus = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
54
65
|
value: function isImmutable() {
|
|
55
66
|
return this.status === 'immutable';
|
|
56
67
|
}
|
|
68
|
+
}, {
|
|
69
|
+
key: "isStimulus",
|
|
70
|
+
get: function get() {
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
57
73
|
}], [{
|
|
58
74
|
key: "validations",
|
|
59
75
|
value: function validations() {
|
|
@@ -68,6 +84,7 @@ var Stimulus = exports.Stimulus = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
68
84
|
};
|
|
69
85
|
}
|
|
70
86
|
}]);
|
|
87
|
+
return Stimulus;
|
|
71
88
|
}((0, _reduxRecord.default)({
|
|
72
89
|
id: '0',
|
|
73
90
|
stimulusType: 'text',
|
|
@@ -78,4 +95,7 @@ var Stimulus = exports.Stimulus = /*#__PURE__*/function (_ReduxRecord) {
|
|
|
78
95
|
status: 'mutable',
|
|
79
96
|
orientation: 'left'
|
|
80
97
|
}));
|
|
81
|
-
|
|
98
|
+
|
|
99
|
+
exports.Stimulus = Stimulus;
|
|
100
|
+
var _default = Stimulus;
|
|
101
|
+
exports.default = _default;
|
|
@@ -1,28 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
|
-
exports.default = void 0;
|
|
8
8
|
exports.mixinBaseRecord = mixinBaseRecord;
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
|
|
9
11
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
|
|
12
|
+
|
|
10
13
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
14
|
+
|
|
11
15
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
|
-
|
|
16
|
+
|
|
13
17
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
18
|
+
|
|
19
|
+
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
|
|
20
|
+
|
|
14
21
|
var _immutable = require("immutable");
|
|
15
|
-
|
|
22
|
+
|
|
23
|
+
var _maxContent = _interopRequireDefault(require("../util/maxContent.js"));
|
|
24
|
+
|
|
16
25
|
var _instructureValidations = require("instructure-validations");
|
|
26
|
+
|
|
17
27
|
(0, _instructureValidations.addValidator)('maxContent', _maxContent.default);
|
|
28
|
+
|
|
18
29
|
function mixinBaseRecord(schema) {
|
|
19
30
|
return /*#__PURE__*/function (_Record) {
|
|
31
|
+
(0, _inherits2.default)(BaseRecord, _Record);
|
|
32
|
+
|
|
33
|
+
var _super = (0, _createSuper2.default)(BaseRecord);
|
|
34
|
+
|
|
20
35
|
function BaseRecord() {
|
|
21
36
|
(0, _classCallCheck2.default)(this, BaseRecord);
|
|
22
|
-
return
|
|
37
|
+
return _super.apply(this, arguments);
|
|
23
38
|
}
|
|
24
|
-
|
|
25
|
-
|
|
39
|
+
|
|
40
|
+
(0, _createClass2.default)(BaseRecord, [{
|
|
26
41
|
key: "getErrors",
|
|
27
42
|
value: function getErrors() {
|
|
28
43
|
var objectToValidate = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this;
|
|
@@ -33,9 +48,11 @@ function mixinBaseRecord(schema) {
|
|
|
33
48
|
value: function isValid() {
|
|
34
49
|
var obj = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this;
|
|
35
50
|
var errors = this.getErrors();
|
|
51
|
+
|
|
36
52
|
if (errors.size === 0) {
|
|
37
53
|
return true;
|
|
38
54
|
}
|
|
55
|
+
|
|
39
56
|
return !errors.find(function (val) {
|
|
40
57
|
return val.size > 0;
|
|
41
58
|
});
|
|
@@ -62,14 +79,12 @@ function mixinBaseRecord(schema) {
|
|
|
62
79
|
}
|
|
63
80
|
}], [{
|
|
64
81
|
key: "validations",
|
|
65
|
-
value:
|
|
66
82
|
// ====================
|
|
67
83
|
// ====================
|
|
68
84
|
// VALIDATION & ERRORS
|
|
69
85
|
// ====================
|
|
70
86
|
// ====================
|
|
71
|
-
|
|
72
|
-
function validations() {
|
|
87
|
+
value: function validations() {
|
|
73
88
|
return {};
|
|
74
89
|
}
|
|
75
90
|
}, {
|
|
@@ -77,18 +92,25 @@ function mixinBaseRecord(schema) {
|
|
|
77
92
|
value: function create(attrs) {
|
|
78
93
|
this.recordCache = this.hasOwnProperty('recordCache') ? this.recordCache : new WeakMap();
|
|
79
94
|
var recordCache = this.recordCache;
|
|
95
|
+
|
|
80
96
|
if (attrs && typeof attrs === 'object' && recordCache.has(attrs)) {
|
|
81
97
|
return recordCache.get(attrs);
|
|
82
98
|
}
|
|
99
|
+
|
|
83
100
|
var newRecord = new this(attrs);
|
|
101
|
+
|
|
84
102
|
if (attrs && typeof attrs === 'object') {
|
|
85
103
|
recordCache.set(attrs, newRecord);
|
|
86
104
|
}
|
|
105
|
+
|
|
87
106
|
return newRecord;
|
|
88
107
|
}
|
|
89
108
|
}]);
|
|
109
|
+
return BaseRecord;
|
|
90
110
|
}((0, _immutable.Record)((0, _objectSpread2.default)({
|
|
91
111
|
errors: (0, _immutable.Map)()
|
|
92
112
|
}, schema)));
|
|
93
113
|
}
|
|
94
|
-
|
|
114
|
+
|
|
115
|
+
var _default = mixinBaseRecord;
|
|
116
|
+
exports.default = _default;
|
|
@@ -1,118 +1,135 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
Object.defineProperty(exports, "Alert", {
|
|
8
9
|
enumerable: true,
|
|
9
10
|
get: function get() {
|
|
10
|
-
return
|
|
11
|
+
return _Alert2.default;
|
|
11
12
|
}
|
|
12
13
|
});
|
|
13
14
|
Object.defineProperty(exports, "Bank", {
|
|
14
15
|
enumerable: true,
|
|
15
16
|
get: function get() {
|
|
16
|
-
return
|
|
17
|
+
return _Bank2.default;
|
|
17
18
|
}
|
|
18
19
|
});
|
|
19
20
|
Object.defineProperty(exports, "BankEntry", {
|
|
20
21
|
enumerable: true,
|
|
21
22
|
get: function get() {
|
|
22
|
-
return
|
|
23
|
+
return _BankEntry2.default;
|
|
23
24
|
}
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "Item", {
|
|
26
27
|
enumerable: true,
|
|
27
28
|
get: function get() {
|
|
28
|
-
return
|
|
29
|
+
return _Item2.default;
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
32
|
Object.defineProperty(exports, "ItemAnalysis", {
|
|
32
33
|
enumerable: true,
|
|
33
34
|
get: function get() {
|
|
34
|
-
return
|
|
35
|
+
return _ItemAnalysis2.default;
|
|
35
36
|
}
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "QtiImport", {
|
|
38
39
|
enumerable: true,
|
|
39
40
|
get: function get() {
|
|
40
|
-
return
|
|
41
|
+
return _QtiImport2.default;
|
|
41
42
|
}
|
|
42
43
|
});
|
|
43
44
|
Object.defineProperty(exports, "Quiz", {
|
|
44
45
|
enumerable: true,
|
|
45
46
|
get: function get() {
|
|
46
|
-
return
|
|
47
|
+
return _Quiz2.default;
|
|
47
48
|
}
|
|
48
49
|
});
|
|
49
50
|
Object.defineProperty(exports, "QuizAnalysis", {
|
|
50
51
|
enumerable: true,
|
|
51
52
|
get: function get() {
|
|
52
|
-
return
|
|
53
|
+
return _QuizAnalysis2.default;
|
|
53
54
|
}
|
|
54
55
|
});
|
|
55
56
|
Object.defineProperty(exports, "QuizEntry", {
|
|
56
57
|
enumerable: true,
|
|
57
58
|
get: function get() {
|
|
58
|
-
return
|
|
59
|
+
return _QuizEntry2.default;
|
|
59
60
|
}
|
|
60
61
|
});
|
|
61
62
|
Object.defineProperty(exports, "QuizSession", {
|
|
62
63
|
enumerable: true,
|
|
63
64
|
get: function get() {
|
|
64
|
-
return
|
|
65
|
+
return _QuizSession2.default;
|
|
65
66
|
}
|
|
66
67
|
});
|
|
67
68
|
Object.defineProperty(exports, "QuizSessionEvent", {
|
|
68
69
|
enumerable: true,
|
|
69
70
|
get: function get() {
|
|
70
|
-
return
|
|
71
|
+
return _QuizSessionEvent2.default;
|
|
71
72
|
}
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "QuizSessionResult", {
|
|
74
75
|
enumerable: true,
|
|
75
76
|
get: function get() {
|
|
76
|
-
return
|
|
77
|
+
return _QuizSessionResult2.default;
|
|
77
78
|
}
|
|
78
79
|
});
|
|
79
80
|
Object.defineProperty(exports, "Response", {
|
|
80
81
|
enumerable: true,
|
|
81
82
|
get: function get() {
|
|
82
|
-
return
|
|
83
|
+
return _Response2.default;
|
|
83
84
|
}
|
|
84
85
|
});
|
|
85
86
|
Object.defineProperty(exports, "SessionItem", {
|
|
86
87
|
enumerable: true,
|
|
87
88
|
get: function get() {
|
|
88
|
-
return
|
|
89
|
+
return _SessionItem2.default;
|
|
89
90
|
}
|
|
90
91
|
});
|
|
91
92
|
Object.defineProperty(exports, "SessionItemResult", {
|
|
92
93
|
enumerable: true,
|
|
93
94
|
get: function get() {
|
|
94
|
-
return
|
|
95
|
+
return _SessionItemResult2.default;
|
|
95
96
|
}
|
|
96
97
|
});
|
|
97
98
|
Object.defineProperty(exports, "Stimulus", {
|
|
98
99
|
enumerable: true,
|
|
99
100
|
get: function get() {
|
|
100
|
-
return
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
|
|
104
|
-
var
|
|
105
|
-
|
|
106
|
-
var
|
|
107
|
-
|
|
108
|
-
var
|
|
109
|
-
|
|
110
|
-
var
|
|
111
|
-
|
|
112
|
-
var
|
|
113
|
-
|
|
114
|
-
var
|
|
115
|
-
|
|
116
|
-
var
|
|
117
|
-
|
|
118
|
-
var
|
|
101
|
+
return _Stimulus2.default;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
var _Alert2 = _interopRequireDefault(require("./Alert.js"));
|
|
106
|
+
|
|
107
|
+
var _Bank2 = _interopRequireDefault(require("./Bank.js"));
|
|
108
|
+
|
|
109
|
+
var _BankEntry2 = _interopRequireDefault(require("./BankEntry.js"));
|
|
110
|
+
|
|
111
|
+
var _Item2 = _interopRequireDefault(require("./Item.js"));
|
|
112
|
+
|
|
113
|
+
var _ItemAnalysis2 = _interopRequireDefault(require("./ItemAnalysis.js"));
|
|
114
|
+
|
|
115
|
+
var _QtiImport2 = _interopRequireDefault(require("./QtiImport.js"));
|
|
116
|
+
|
|
117
|
+
var _Quiz2 = _interopRequireDefault(require("./Quiz.js"));
|
|
118
|
+
|
|
119
|
+
var _QuizAnalysis2 = _interopRequireDefault(require("./QuizAnalysis.js"));
|
|
120
|
+
|
|
121
|
+
var _QuizEntry2 = _interopRequireDefault(require("./QuizEntry.js"));
|
|
122
|
+
|
|
123
|
+
var _QuizSession2 = _interopRequireDefault(require("./QuizSession.js"));
|
|
124
|
+
|
|
125
|
+
var _QuizSessionEvent2 = _interopRequireDefault(require("./QuizSessionEvent.js"));
|
|
126
|
+
|
|
127
|
+
var _QuizSessionResult2 = _interopRequireDefault(require("./QuizSessionResult.js"));
|
|
128
|
+
|
|
129
|
+
var _Response2 = _interopRequireDefault(require("./Response.js"));
|
|
130
|
+
|
|
131
|
+
var _SessionItem2 = _interopRequireDefault(require("./SessionItem.js"));
|
|
132
|
+
|
|
133
|
+
var _SessionItemResult2 = _interopRequireDefault(require("./SessionItemResult.js"));
|
|
134
|
+
|
|
135
|
+
var _Stimulus2 = _interopRequireDefault(require("./Stimulus.js"));
|