@instructure/quiz-core 20.34.1-snapshot.11 → 20.34.1-snapshot.7
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/banks.js +2 -6
- package/es/banks/components/AddToBankModal/index.js +5 -1
- package/es/banks/components/AddToBankModal/presenter.js +10 -11
- package/es/banks/components/Bank/presenter.js +4 -4
- package/es/banks/components/BankEntriesList/presenter.js +3 -4
- package/es/banks/components/BankEntry/presenter.js +4 -4
- package/es/banks/components/BankEntryRow/presenter.js +4 -4
- package/es/banks/components/BankSearch/presenter.js +3 -4
- package/es/banks/components/Banks/presenter.js +4 -4
- package/es/banks/components/BanksList/presenter.js +4 -4
- package/es/banks/components/CopyMoveBankEntryModal/index.js +5 -1
- package/es/banks/components/CopyMoveBankEntryModal/presenter.js +11 -11
- package/es/banks/components/CreateBankModal/presenter.js +4 -4
- package/es/banks/components/EditBankModal/presenter.js +4 -4
- package/es/banks/components/HeaderMenu/presenter.js +4 -4
- package/es/banks/components/NavWrapper/presenter.js +3 -4
- package/es/banks/components/SharingModal/RootAccountSharing.js +4 -3
- package/es/banks/components/SharingModal/ShareList/index.js +4 -4
- package/es/banks/components/SharingModal/presenter.js +4 -4
- package/es/building/components/layout/Sidebar/SidebarItem/presenter.js +3 -4
- package/es/building/components/layout/Sidebar/Stimulus/presenter.js +3 -4
- package/es/building/components/layout/Sidebar/presenter.js +4 -4
- package/es/building/components/layout/header/BuildingButtons/presenter.js +4 -4
- package/es/building/components/resources/ActionButtons/presenter.js +4 -4
- package/es/building/components/resources/AddToBankOptions/index.js +4 -4
- package/es/building/components/resources/DeleteStimulusModal/presenter.js +4 -4
- package/es/building/components/resources/ItemFeedbackModal/presenter.js +4 -4
- package/es/building/components/resources/quiz/instructions/Edit/presenter.js +4 -4
- package/es/building/components/resources/quiz/instructions/Instructions/presenter.js +3 -4
- package/es/building/components/resources/quiz/instructions/Show/index.js +3 -4
- package/es/building/components/resources/quiz/title/Edit/index.js +3 -4
- package/es/building/components/resources/quiz/title/Show/index.js +4 -9
- package/es/building/components/resources/quiz/title/Title/presenter.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntry/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +5 -6
- package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +3 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +4 -4
- package/es/building/components/resources/quizEntry/QuizEntryShow/presenter.js +4 -4
- package/es/common/components/ImportModal/ImportFileSelector/index.js +3 -4
- package/es/common/components/ImportModal/presenter.js +4 -4
- package/es/common/components/PrintFontSizeModal/presenter.js +4 -4
- package/es/common/components/SDKApp/index.js +4 -4
- package/es/common/components/alerts/presenter.js +3 -4
- package/es/common/components/layout/Page/index.js +3 -4
- package/es/common/components/layout/header/HeaderMenuButton/presenter.js +3 -4
- package/es/common/components/layout/header/Timer/presenter.js +3 -4
- package/es/common/components/layout/navbar/SecondaryNavBarButton/index.js +3 -4
- package/es/common/components/layout/navbar/index.js +3 -4
- package/es/common/components/layout/sidebar/PositionSummary/index.js +3 -4
- package/es/common/components/layout/sidebar/Sidebar/index.js +4 -4
- package/es/common/components/layout/sidebar/SidebarItem/presenter.js +4 -4
- package/es/common/components/layout/sidebar/Stimulus/Collection/presenter.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/Summary/presenter.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/Title/index.js +3 -4
- package/es/common/components/layout/sidebar/Stimulus/presenter.js +4 -4
- package/es/common/components/resources/BankSelection/presenter.js +142 -40
- package/es/common/components/resources/WarningWrapper/index.js +3 -4
- package/es/common/components/resources/positionBox/PositionBox.js +3 -4
- package/es/common/components/resources/quiz/AddContent/Body/presenter.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Button/index.js +4 -4
- package/es/common/components/resources/quiz/AddContent/Popover/presenter.js +4 -4
- package/es/common/components/resources/quiz/instructions/Instructions.js +3 -4
- package/es/common/components/resources/quiz/title/Title.js +3 -4
- package/es/common/components/resources/quizSessionResult/Header/index.js +3 -4
- package/es/common/components/resources/quizSessionResult/Info/index.js +4 -4
- package/es/common/components/resources/sessionItemResult/ResultStimulus/index.js +3 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +4 -4
- package/es/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +3 -4
- package/es/common/components/resources/stimulus/Stimulus/presenter.js +4 -4
- package/es/common/components/resources/stimulus/StimulusEdit/presenter.js +4 -4
- package/es/common/components/resources/stimulus/StimulusEditInfo/presenter.js +4 -4
- package/es/common/components/resources/stimulus/StimulusShow/index.js +3 -4
- package/es/common/components/shared/Card/CardContent/index.js +3 -4
- package/es/common/components/shared/Card/CardWrapper/index.js +3 -4
- package/es/common/components/shared/ExpandButton/index.js +3 -4
- package/es/common/components/shared/InteractionTypes/presenter.js +3 -4
- package/es/common/components/shared/PaginatedCollection/presenter.js +3 -4
- package/es/common/components/shared/Paginator/index.js +3 -4
- package/es/common/components/shared/TagDisplay/index.js +3 -4
- package/es/common/components/shared/drag_and_drop/DragAndDropZone/index.js +3 -4
- package/es/common/components/shared/errors/Errors.js +3 -4
- package/es/common/components/shared/file_selector/FileSelector.js +3 -4
- package/es/common/components/shared/overlay/index.js +4 -4
- package/es/common/components/shared/spinner/Spinner.js +3 -4
- package/es/index.js +2 -6
- package/es/moderating/components/events/Event.js +0 -3
- package/es/moderating/components/events/ResponseEvent.js +3 -4
- package/es/moderating/components/resources/ModerateTable/presenter.js +4 -4
- package/es/moderating/components/resources/ModerateTableRow/presenter.js +4 -4
- package/es/reporting/api/fetchStudentAnalyses.js +4 -9
- package/es/reporting/api/getAnalysesExport.js +4 -11
- package/es/reporting/api/getAnalysesStatus.js +4 -11
- package/es/reporting/components/Caption/index.js +3 -4
- package/es/reporting/components/MetricsListItem/index.js +3 -4
- package/es/reporting/components/charts/CentileDistribution/presenter.js +3 -4
- package/es/reporting/components/charts/Distribution/presenter.js +3 -4
- package/es/reporting/components/charts/Legend/index.js +3 -4
- package/es/reporting/components/charts/QuintileDistribution/presenter.js +3 -4
- package/es/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +3 -4
- package/es/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +4 -4
- package/es/reporting/components/quizAnalysis/QuizAnalysisOverview.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +4 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +3 -4
- package/es/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +3 -4
- package/es/reporting/components/resources/QuizAndItemAnalysis/presenter.js +4 -4
- package/es/reporting/components/resources/ReportCard/index.js +3 -4
- package/es/reporting/components/resources/ReportList/index.js +3 -4
- package/es/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +6 -8
- package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +1 -2
- package/es/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +6 -19
- package/lib/banks/api/banks.js +3 -8
- package/lib/banks/components/AddToBankModal/index.js +4 -0
- package/lib/banks/components/AddToBankModal/presenter.js +10 -11
- package/lib/banks/components/Bank/presenter.js +2 -2
- package/lib/banks/components/BankEntriesList/presenter.js +2 -3
- package/lib/banks/components/BankEntry/presenter.js +2 -2
- package/lib/banks/components/BankEntryRow/presenter.js +2 -2
- package/lib/banks/components/BankSearch/presenter.js +2 -3
- package/lib/banks/components/Banks/presenter.js +2 -2
- package/lib/banks/components/BanksList/presenter.js +2 -2
- package/lib/banks/components/CopyMoveBankEntryModal/index.js +4 -0
- package/lib/banks/components/CopyMoveBankEntryModal/presenter.js +11 -11
- package/lib/banks/components/CreateBankModal/presenter.js +2 -2
- package/lib/banks/components/EditBankModal/presenter.js +2 -2
- package/lib/banks/components/HeaderMenu/presenter.js +2 -2
- package/lib/banks/components/NavWrapper/presenter.js +2 -3
- package/lib/banks/components/SharingModal/RootAccountSharing.js +3 -2
- package/lib/banks/components/SharingModal/ShareList/index.js +2 -2
- package/lib/banks/components/SharingModal/presenter.js +2 -2
- package/lib/building/components/layout/Sidebar/SidebarItem/presenter.js +2 -3
- package/lib/building/components/layout/Sidebar/Stimulus/presenter.js +2 -3
- package/lib/building/components/layout/Sidebar/presenter.js +2 -2
- package/lib/building/components/layout/header/BuildingButtons/presenter.js +2 -2
- package/lib/building/components/resources/ActionButtons/presenter.js +2 -2
- package/lib/building/components/resources/AddToBankOptions/index.js +2 -2
- package/lib/building/components/resources/DeleteStimulusModal/presenter.js +2 -2
- package/lib/building/components/resources/ItemFeedbackModal/presenter.js +2 -2
- package/lib/building/components/resources/quiz/instructions/Edit/presenter.js +2 -2
- package/lib/building/components/resources/quiz/instructions/Instructions/presenter.js +2 -3
- package/lib/building/components/resources/quiz/instructions/Show/index.js +2 -3
- package/lib/building/components/resources/quiz/title/Edit/index.js +2 -3
- package/lib/building/components/resources/quiz/title/Show/index.js +2 -3
- package/lib/building/components/resources/quiz/title/Title/presenter.js +2 -3
- package/lib/building/components/resources/quizEntry/QuizEntry/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js +5 -6
- package/lib/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankShow/index.js +2 -3
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Footer/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/Header/index.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryEdit/presenter.js +2 -2
- package/lib/building/components/resources/quizEntry/QuizEntryShow/presenter.js +2 -2
- package/lib/common/components/ImportModal/ImportFileSelector/index.js +2 -3
- package/lib/common/components/ImportModal/presenter.js +2 -2
- package/lib/common/components/PrintFontSizeModal/presenter.js +2 -2
- package/lib/common/components/SDKApp/index.js +2 -2
- package/lib/common/components/alerts/presenter.js +2 -3
- package/lib/common/components/layout/Page/index.js +2 -3
- package/lib/common/components/layout/header/HeaderMenuButton/presenter.js +2 -3
- package/lib/common/components/layout/header/Timer/presenter.js +2 -3
- package/lib/common/components/layout/navbar/SecondaryNavBarButton/index.js +2 -3
- package/lib/common/components/layout/navbar/index.js +2 -3
- package/lib/common/components/layout/sidebar/PositionSummary/index.js +2 -3
- package/lib/common/components/layout/sidebar/Sidebar/index.js +2 -2
- package/lib/common/components/layout/sidebar/SidebarItem/presenter.js +2 -2
- package/lib/common/components/layout/sidebar/Stimulus/Collection/presenter.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/Summary/presenter.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/Title/index.js +2 -3
- package/lib/common/components/layout/sidebar/Stimulus/presenter.js +2 -2
- package/lib/common/components/resources/BankSelection/presenter.js +142 -40
- package/lib/common/components/resources/WarningWrapper/index.js +2 -3
- package/lib/common/components/resources/positionBox/PositionBox.js +2 -3
- package/lib/common/components/resources/quiz/AddContent/Body/presenter.js +2 -2
- package/lib/common/components/resources/quiz/AddContent/Button/index.js +2 -2
- package/lib/common/components/resources/quiz/AddContent/Popover/presenter.js +2 -2
- package/lib/common/components/resources/quiz/instructions/Instructions.js +2 -3
- package/lib/common/components/resources/quiz/title/Title.js +2 -3
- package/lib/common/components/resources/quizSessionResult/Header/index.js +2 -3
- package/lib/common/components/resources/quizSessionResult/Info/index.js +2 -2
- package/lib/common/components/resources/sessionItemResult/ResultStimulus/index.js +2 -3
- package/lib/common/components/resources/sessionItemResult/SessionItemResult/presenter.js +2 -2
- package/lib/common/components/resources/sessionItemResult/SessionItemResultsList/index.js +2 -3
- package/lib/common/components/resources/stimulus/Stimulus/presenter.js +2 -2
- package/lib/common/components/resources/stimulus/StimulusEdit/presenter.js +2 -2
- package/lib/common/components/resources/stimulus/StimulusEditInfo/presenter.js +2 -2
- package/lib/common/components/resources/stimulus/StimulusShow/index.js +2 -3
- package/lib/common/components/shared/Card/CardContent/index.js +2 -3
- package/lib/common/components/shared/Card/CardWrapper/index.js +2 -3
- package/lib/common/components/shared/ExpandButton/index.js +2 -3
- package/lib/common/components/shared/InteractionTypes/presenter.js +2 -3
- package/lib/common/components/shared/PaginatedCollection/presenter.js +2 -3
- package/lib/common/components/shared/Paginator/index.js +2 -3
- package/lib/common/components/shared/TagDisplay/index.js +2 -3
- package/lib/common/components/shared/drag_and_drop/DragAndDropZone/index.js +2 -3
- package/lib/common/components/shared/errors/Errors.js +2 -3
- package/lib/common/components/shared/file_selector/FileSelector.js +2 -3
- package/lib/common/components/shared/overlay/index.js +2 -2
- package/lib/common/components/shared/spinner/Spinner.js +2 -3
- package/lib/index.js +0 -51
- package/lib/moderating/components/events/Event.js +1 -4
- package/lib/moderating/components/events/ResponseEvent.js +2 -3
- package/lib/moderating/components/resources/ModerateTable/presenter.js +2 -2
- package/lib/moderating/components/resources/ModerateTableRow/presenter.js +2 -2
- package/lib/reporting/api/fetchStudentAnalyses.js +4 -9
- package/lib/reporting/api/getAnalysesExport.js +4 -11
- package/lib/reporting/api/getAnalysesStatus.js +4 -11
- package/lib/reporting/components/Caption/index.js +2 -3
- package/lib/reporting/components/MetricsListItem/index.js +2 -3
- package/lib/reporting/components/charts/CentileDistribution/presenter.js +2 -3
- package/lib/reporting/components/charts/Distribution/presenter.js +2 -3
- package/lib/reporting/components/charts/Legend/index.js +2 -3
- package/lib/reporting/components/charts/QuintileDistribution/presenter.js +2 -3
- package/lib/reporting/components/itemAnalysis/AnswerFrequencySummary/index.js +2 -3
- package/lib/reporting/components/itemAnalysis/ItemAnalysisRow/presenter.js +2 -2
- package/lib/reporting/components/quizAnalysis/QuizAnalysisOverview.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisMetric/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnalysisPopoverMetric/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/ChoiceTypeTableRow/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/LegacyChoiceType/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/MatchingType/MatchingTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/NumericType/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/RichFillBlankType/ChoiceGroupTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/ScoreDistributionType/Table/index.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsPartsContainer/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AfsTableWrapper/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/AggregationTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ChoiceTypeTable/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/AnswerFrequencySummary/shared/ExpandableCard/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/MetricPopover/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/BlankIcon/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/NewQuizAnalysis/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/ReportCard/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/charts/ScoreDistribution/presenter.js +2 -3
- package/lib/reporting/components/resources/NewQuizAndItemAnalysis/presenter.js +2 -3
- package/lib/reporting/components/resources/QuizAndItemAnalysis/presenter.js +2 -2
- package/lib/reporting/components/resources/ReportCard/index.js +2 -3
- package/lib/reporting/components/resources/ReportList/index.js +2 -3
- package/lib/reporting/components/resources/StudentAnalysis/ReportCard/presenter.js +5 -7
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportState.js +1 -2
- package/lib/reporting/components/resources/StudentAnalysis/withStudentAnalysisReportStatePresenter.js +6 -19
- package/package.json +9 -9
- package/es/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +0 -178
- package/lib/common/components/shared/GenericAsyncSearch/GenericAsyncSearch.js +0 -188
|
@@ -14,7 +14,7 @@ import PropTypes from 'prop-types';
|
|
|
14
14
|
import { List, Map } from 'immutable';
|
|
15
15
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
16
16
|
import partial from 'lodash/partial';
|
|
17
|
-
import { Modal, ModalHeader, ModalBody, ModalFooter, CAN_EDIT, READ_ONLY, REMOVED_ACCESS, SHARED_WITH_USER, SHARED_WITH_COURSE, SHARED_WITH_ACCOUNT
|
|
17
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, CAN_EDIT, READ_ONLY, REMOVED_ACCESS, SHARED_WITH_USER, SHARED_WITH_COURSE, SHARED_WITH_ACCOUNT } from '@instructure/quiz-common';
|
|
18
18
|
import { Heading } from '@instructure/ui-heading';
|
|
19
19
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
20
20
|
import { View } from '@instructure/ui-view';
|
|
@@ -22,7 +22,7 @@ import { Grid } from '@instructure/ui-grid';
|
|
|
22
22
|
import { Tabs } from '@instructure/ui-tabs';
|
|
23
23
|
import { Text } from '@instructure/ui-text';
|
|
24
24
|
import { SimpleSelect } from '@instructure/ui-simple-select';
|
|
25
|
-
import { jsx } from '@instructure/emotion';
|
|
25
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
26
26
|
import elementsForSelectors from "../../../common/util/ElementsForSelectors.js";
|
|
27
27
|
import CustomPropTypes from "../../../common/util/CustomPropTypes.js";
|
|
28
28
|
import ShareList from "./ShareList/index.js";
|
|
@@ -34,7 +34,7 @@ import generateComponentTheme from "./theme.js";
|
|
|
34
34
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
35
35
|
var noop = function noop() {};
|
|
36
36
|
var _ref7 = jsx(Spinner, null);
|
|
37
|
-
export var SharingModalPresenter = (_dec =
|
|
37
|
+
export var SharingModalPresenter = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_SharingModalPresenter = /*#__PURE__*/function (_Component) {
|
|
38
38
|
_inherits(SharingModalPresenter, _Component);
|
|
39
39
|
var _super = _createSuper(SharingModalPresenter);
|
|
40
40
|
function SharingModalPresenter() {
|
|
@@ -551,7 +551,7 @@ export var SharingModalPresenter = (_dec = withStyleOverrides(generateStyle, gen
|
|
|
551
551
|
}]);
|
|
552
552
|
SharingModalPresenter.displayName = "SharingModalPresenter";
|
|
553
553
|
return SharingModalPresenter;
|
|
554
|
-
}(Component), _SharingModalPresenter.
|
|
554
|
+
}(Component), _SharingModalPresenter.propTypes = {
|
|
555
555
|
appContainer: CustomPropTypes.selectors.isRequired,
|
|
556
556
|
bank: ImmutablePropTypes.record.isRequired,
|
|
557
557
|
currentUser: PropTypes.shape({
|
|
@@ -7,15 +7,14 @@ var _dec, _class, _BuildingSidebarItem;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import { chooseDragConnection, usingIE } from "../../../../../common/components/shared/drag_and_drop/dragAndDropUtils.js";
|
|
12
12
|
import DragHandle from "../../../../../common/components/shared/drag_and_drop/DragHandle/index.js";
|
|
13
13
|
import DragAndDropZone from "../../../../../common/components/shared/drag_and_drop/DragAndDropZone/index.js";
|
|
14
14
|
import CommonSidebarItem from "../../../../../common/components/layout/sidebar/SidebarItem/index.js";
|
|
15
15
|
import generateStyle from "./styles.js";
|
|
16
16
|
import generateComponentTheme from "./theme.js";
|
|
17
|
-
|
|
18
|
-
export var BuildingSidebarItem = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_BuildingSidebarItem = /*#__PURE__*/function (_Component) {
|
|
17
|
+
export var BuildingSidebarItem = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BuildingSidebarItem = /*#__PURE__*/function (_Component) {
|
|
19
18
|
_inherits(BuildingSidebarItem, _Component);
|
|
20
19
|
var _super = _createSuper(BuildingSidebarItem);
|
|
21
20
|
function BuildingSidebarItem() {
|
|
@@ -101,7 +100,7 @@ export var BuildingSidebarItem = (_dec = withStyleOverrides(generateStyle, gener
|
|
|
101
100
|
}]);
|
|
102
101
|
BuildingSidebarItem.displayName = "BuildingSidebarItem";
|
|
103
102
|
return BuildingSidebarItem;
|
|
104
|
-
}(Component), _BuildingSidebarItem.
|
|
103
|
+
}(Component), _BuildingSidebarItem.propTypes = {
|
|
105
104
|
connectDragSource: PropTypes.func.isRequired,
|
|
106
105
|
// inserted by React DnD
|
|
107
106
|
connectDragPreview: PropTypes.func.isRequired,
|
|
@@ -7,15 +7,14 @@ var _dec, _class, _BuildingStimulus;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import { chooseDragConnection, usingIE } from "../../../../../common/components/shared/drag_and_drop/dragAndDropUtils.js";
|
|
12
12
|
import DragHandle from "../../../../../common/components/shared/drag_and_drop/DragHandle/index.js";
|
|
13
13
|
import DragAndDropZone from "../../../../../common/components/shared/drag_and_drop/DragAndDropZone/index.js";
|
|
14
14
|
import CommonStimulus from "../../../../../common/components/layout/sidebar/Stimulus/index.js";
|
|
15
15
|
import generateStyle from "./styles.js";
|
|
16
16
|
import generateComponentTheme from "./theme.js";
|
|
17
|
-
|
|
18
|
-
export var BuildingStimulus = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_BuildingStimulus = /*#__PURE__*/function (_Component) {
|
|
17
|
+
export var BuildingStimulus = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BuildingStimulus = /*#__PURE__*/function (_Component) {
|
|
19
18
|
_inherits(BuildingStimulus, _Component);
|
|
20
19
|
var _super = _createSuper(BuildingStimulus);
|
|
21
20
|
function BuildingStimulus() {
|
|
@@ -109,7 +108,7 @@ export var BuildingStimulus = (_dec = withStyleOverrides(generateStyle, generate
|
|
|
109
108
|
}]);
|
|
110
109
|
BuildingStimulus.displayName = "BuildingStimulus";
|
|
111
110
|
return BuildingStimulus;
|
|
112
|
-
}(Component), _BuildingStimulus.
|
|
111
|
+
}(Component), _BuildingStimulus.propTypes = {
|
|
113
112
|
childEntries: ImmutablePropTypes.listOf(ImmutablePropTypes.record).isRequired,
|
|
114
113
|
connectDragPreview: PropTypes.func.isRequired,
|
|
115
114
|
// inserted by React DnD
|
|
@@ -8,7 +8,7 @@ var _dec, _class, _BuildingSidebar;
|
|
|
8
8
|
import { Component } from 'react';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
10
10
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
11
|
-
import { jsx } from '@instructure/emotion';
|
|
11
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
12
|
import SidebarItem from "./SidebarItem/index.js";
|
|
13
13
|
import Stimulus from "./Stimulus/index.js";
|
|
14
14
|
import Sidebar from "../../../../common/components/layout/sidebar/Sidebar/index.js";
|
|
@@ -16,9 +16,9 @@ import generateDisplayPositions from "../../../../common/util/generateDisplayPos
|
|
|
16
16
|
import { extractTextFromHtml } from '@instructure/quiz-interactions';
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
|
-
import { SIDEBAR_ITEM_REF
|
|
19
|
+
import { SIDEBAR_ITEM_REF } from '@instructure/quiz-common';
|
|
20
20
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
21
|
-
export var BuildingSidebar = (_dec =
|
|
21
|
+
export var BuildingSidebar = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BuildingSidebar = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(BuildingSidebar, _Component);
|
|
23
23
|
var _super = _createSuper(BuildingSidebar);
|
|
24
24
|
function BuildingSidebar() {
|
|
@@ -197,7 +197,7 @@ export var BuildingSidebar = (_dec = withStyleOverrides(generateStyle, generateC
|
|
|
197
197
|
}]);
|
|
198
198
|
BuildingSidebar.displayName = "BuildingSidebar";
|
|
199
199
|
return BuildingSidebar;
|
|
200
|
-
}(Component), _BuildingSidebar.
|
|
200
|
+
}(Component), _BuildingSidebar.propTypes = {
|
|
201
201
|
connectDropTarget: PropTypes.func.isRequired,
|
|
202
202
|
isOver: PropTypes.bool,
|
|
203
203
|
quizEntries: ImmutablePropTypes.list.isRequired,
|
|
@@ -13,13 +13,13 @@ import { View } from '@instructure/ui-view';
|
|
|
13
13
|
import { Drilldown } from '@instructure/ui-drilldown';
|
|
14
14
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
15
15
|
import PrintTrigger from "../../../../../common/components/shared/PrintTrigger/index.js";
|
|
16
|
-
import { PRINT_CURRENT_PAGE, PRINT_BLANK
|
|
17
|
-
import { jsx } from '@instructure/emotion';
|
|
16
|
+
import { PRINT_CURRENT_PAGE, PRINT_BLANK } from '@instructure/quiz-common';
|
|
17
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
19
|
import generateStyle from "./styles.js";
|
|
20
20
|
import generateComponentTheme from "./theme.js";
|
|
21
21
|
var _ref = jsx(IconSpeedGraderLine, null);
|
|
22
|
-
export var BuildingButtons = (_dec =
|
|
22
|
+
export var BuildingButtons = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BuildingButtons = /*#__PURE__*/function (_Component) {
|
|
23
23
|
_inherits(BuildingButtons, _Component);
|
|
24
24
|
var _super = _createSuper(BuildingButtons);
|
|
25
25
|
function BuildingButtons() {
|
|
@@ -330,7 +330,7 @@ export var BuildingButtons = (_dec = withStyleOverrides(generateStyle, generateC
|
|
|
330
330
|
}]);
|
|
331
331
|
BuildingButtons.displayName = "BuildingButtons";
|
|
332
332
|
return BuildingButtons;
|
|
333
|
-
}(Component), _BuildingButtons.
|
|
333
|
+
}(Component), _BuildingButtons.propTypes = {
|
|
334
334
|
app: PropTypes.string,
|
|
335
335
|
addAlert: PropTypes.func.isRequired,
|
|
336
336
|
addInfo: PropTypes.func,
|
|
@@ -9,15 +9,15 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { IconButton } from '@instructure/ui-buttons';
|
|
11
11
|
import { IconEditLine, IconTrashLine, IconDuplicateLine } from '@instructure/ui-icons';
|
|
12
|
-
import { jsx, Global } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx, Global } from '@instructure/emotion';
|
|
13
13
|
import DragHandle from "../../../../common/components/shared/drag_and_drop/DragHandle/index.js";
|
|
14
14
|
import makeScrollable from "../../../../common/components/shared/functionality/makeScrollable.js";
|
|
15
15
|
import noop from "../../../../common/util/noop.js";
|
|
16
|
-
import { EDIT, REMOVE, COPY, END_EDITING_TRIGGER_CLASSNAME
|
|
16
|
+
import { EDIT, REMOVE, COPY, END_EDITING_TRIGGER_CLASSNAME } from '@instructure/quiz-common';
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
19
|
var ScrollTargetButton = makeScrollable(IconButton);
|
|
20
|
-
export var ActionButtons = (_dec =
|
|
20
|
+
export var ActionButtons = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_ActionButtons = /*#__PURE__*/function (_Component) {
|
|
21
21
|
_inherits(ActionButtons, _Component);
|
|
22
22
|
var _super = _createSuper(ActionButtons);
|
|
23
23
|
function ActionButtons() {
|
|
@@ -124,7 +124,7 @@ export var ActionButtons = (_dec = withStyleOverrides(generateStyle, generateCom
|
|
|
124
124
|
}]);
|
|
125
125
|
ActionButtons.displayName = "ActionButtons";
|
|
126
126
|
return ActionButtons;
|
|
127
|
-
}(Component), _ActionButtons.
|
|
127
|
+
}(Component), _ActionButtons.propTypes = {
|
|
128
128
|
connectDragSource: PropTypes.func.isRequired,
|
|
129
129
|
displayPosition: PropTypes.number.isRequired,
|
|
130
130
|
editingAddContentPopover: PropTypes.bool.isRequired,
|
|
@@ -10,12 +10,12 @@ import { Component } from 'react';
|
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
11
11
|
import { View } from '@instructure/ui-view';
|
|
12
12
|
import { CondensedButton } from '@instructure/ui-buttons';
|
|
13
|
-
import { jsx } from '@instructure/emotion';
|
|
14
|
-
import { ADD_TO_BANK_MODAL
|
|
13
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
14
|
+
import { ADD_TO_BANK_MODAL } from '@instructure/quiz-common';
|
|
15
15
|
import generateStyle from "./styles.js";
|
|
16
16
|
import generateComponentTheme from "./theme.js";
|
|
17
17
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
18
|
-
export var AddToBankOptions = (_dec =
|
|
18
|
+
export var AddToBankOptions = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_AddToBankOptions = /*#__PURE__*/function (_Component) {
|
|
19
19
|
_inherits(AddToBankOptions, _Component);
|
|
20
20
|
var _super = _createSuper(AddToBankOptions);
|
|
21
21
|
function AddToBankOptions() {
|
|
@@ -80,7 +80,7 @@ export var AddToBankOptions = (_dec = withStyleOverrides(generateStyle, generate
|
|
|
80
80
|
}]);
|
|
81
81
|
AddToBankOptions.displayName = "AddToBankOptions";
|
|
82
82
|
return AddToBankOptions;
|
|
83
|
-
}(Component), _AddToBankOptions.
|
|
83
|
+
}(Component), _AddToBankOptions.propTypes = {
|
|
84
84
|
displayPosition: PropTypes.number.isRequired,
|
|
85
85
|
entryType: PropTypes.string.isRequired,
|
|
86
86
|
focusFirstErrorField: PropTypes.func,
|
|
@@ -14,15 +14,15 @@ import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
|
14
14
|
import { Checkbox } from '@instructure/ui-checkbox';
|
|
15
15
|
import { RadioInputGroup, RadioInput } from '@instructure/ui-radio-input';
|
|
16
16
|
import { Heading } from '@instructure/ui-heading';
|
|
17
|
-
import { jsx } from '@instructure/emotion';
|
|
17
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
19
|
import { extractTextFromHtml } from '@instructure/quiz-interactions';
|
|
20
|
-
import { Modal, ModalHeader, ModalBody, ModalFooter, DELETE_STIMULUS_MODAL_SELECTED_CHILDREN, DELETE_STIMULUS_MODAL_DELETION_MODE, XSMALL_SIDE_MARGIN
|
|
20
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, DELETE_STIMULUS_MODAL_SELECTED_CHILDREN, DELETE_STIMULUS_MODAL_DELETION_MODE, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
21
21
|
import generateStyle from "./styles.js";
|
|
22
22
|
import generateComponentTheme from "./theme.js";
|
|
23
23
|
var _ref = jsx(PresentationContent, null, jsx("hr", null));
|
|
24
24
|
var _ref2 = jsx(PresentationContent, null, jsx("hr", null));
|
|
25
|
-
export var DeleteStimulusModal = (_dec =
|
|
25
|
+
export var DeleteStimulusModal = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_DeleteStimulusModal = /*#__PURE__*/function (_Component) {
|
|
26
26
|
_inherits(DeleteStimulusModal, _Component);
|
|
27
27
|
var _super = _createSuper(DeleteStimulusModal);
|
|
28
28
|
function DeleteStimulusModal() {
|
|
@@ -229,7 +229,7 @@ export var DeleteStimulusModal = (_dec = withStyleOverrides(generateStyle, gener
|
|
|
229
229
|
}]);
|
|
230
230
|
DeleteStimulusModal.displayName = "DeleteStimulusModal";
|
|
231
231
|
return DeleteStimulusModal;
|
|
232
|
-
}(Component), _DeleteStimulusModal.
|
|
232
|
+
}(Component), _DeleteStimulusModal.propTypes = {
|
|
233
233
|
childEntries: ImmutablePropTypes.list.isRequired,
|
|
234
234
|
closeModal: PropTypes.func.isRequired,
|
|
235
235
|
deletionMode: PropTypes.string,
|
|
@@ -9,14 +9,14 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
11
11
|
import { Heading } from '@instructure/ui-heading';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import { RichContentRenderer, RichContentInput, RCE_THREE_LINES_HEIGHT } from '@instructure/quiz-rce';
|
|
14
14
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
15
|
-
import { Modal, ModalHeader, ModalBody, ModalFooter, ITEM_FEEDBACK_MODAL_FEEDBACK, XSMALL_SIDE_MARGIN
|
|
15
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, ITEM_FEEDBACK_MODAL_FEEDBACK, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
16
16
|
import generateStyle from "./styles.js";
|
|
17
17
|
import generateComponentTheme from "./theme.js";
|
|
18
18
|
var _ref = jsx("br", null);
|
|
19
|
-
export var ItemFeedbackModal = (_dec =
|
|
19
|
+
export var ItemFeedbackModal = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_ItemFeedbackModal = /*#__PURE__*/function (_Component) {
|
|
20
20
|
_inherits(ItemFeedbackModal, _Component);
|
|
21
21
|
var _super = _createSuper(ItemFeedbackModal);
|
|
22
22
|
function ItemFeedbackModal() {
|
|
@@ -110,7 +110,7 @@ export var ItemFeedbackModal = (_dec = withStyleOverrides(generateStyle, generat
|
|
|
110
110
|
}]);
|
|
111
111
|
ItemFeedbackModal.displayName = "ItemFeedbackModal";
|
|
112
112
|
return ItemFeedbackModal;
|
|
113
|
-
}(Component), _ItemFeedbackModal.
|
|
113
|
+
}(Component), _ItemFeedbackModal.propTypes = {
|
|
114
114
|
changeItemFeedback: PropTypes.func.isRequired,
|
|
115
115
|
closeModal: PropTypes.func.isRequired,
|
|
116
116
|
feedback: ImmutablePropTypes.map.isRequired,
|
|
@@ -7,11 +7,11 @@ var _dec, _class, _QuizInstructionsEdit;
|
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import { Button } from '@instructure/ui-buttons';
|
|
10
|
-
import { jsx } from '@instructure/emotion';
|
|
10
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
11
11
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
12
12
|
import CustomPropTypes from "../../../../../../common/util/CustomPropTypes.js";
|
|
13
13
|
import { checkClickedNode } from "../../../../../../common/util/clickHandlers.js";
|
|
14
|
-
import { INSTRUCTIONS_EDIT_ID
|
|
14
|
+
import { INSTRUCTIONS_EDIT_ID } from '@instructure/quiz-common';
|
|
15
15
|
import { RichContentInput } from '@instructure/quiz-rce';
|
|
16
16
|
import generateStyle from "./styles.js";
|
|
17
17
|
import generateComponentTheme from "./theme.js";
|
|
@@ -20,7 +20,7 @@ import wrapWithOutsideClickEmotion from "../../../../../../common/components/sha
|
|
|
20
20
|
// is rendered & has actions that
|
|
21
21
|
// allow for canceling
|
|
22
22
|
// ===================================
|
|
23
|
-
var QuizInstructionsEdit = (_dec =
|
|
23
|
+
var QuizInstructionsEdit = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizInstructionsEdit = /*#__PURE__*/function (_Component) {
|
|
24
24
|
_inherits(QuizInstructionsEdit, _Component);
|
|
25
25
|
var _super = _createSuper(QuizInstructionsEdit);
|
|
26
26
|
function QuizInstructionsEdit() {
|
|
@@ -67,7 +67,7 @@ var QuizInstructionsEdit = (_dec = withStyleOverrides(generateStyle, generateCom
|
|
|
67
67
|
}]);
|
|
68
68
|
QuizInstructionsEdit.displayName = "QuizInstructionsEdit";
|
|
69
69
|
return QuizInstructionsEdit;
|
|
70
|
-
}(Component), _QuizInstructionsEdit.
|
|
70
|
+
}(Component), _QuizInstructionsEdit.propTypes = {
|
|
71
71
|
endEditing: PropTypes.func.isRequired,
|
|
72
72
|
inputValue: PropTypes.string.isRequired,
|
|
73
73
|
onInputChange: PropTypes.func.isRequired,
|
|
@@ -8,14 +8,13 @@ import { Component } from 'react';
|
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import { Heading } from '@instructure/ui-heading';
|
|
11
|
-
import { jsx } from '@instructure/emotion';
|
|
11
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
12
12
|
import QuizInstructionsEdit from "../Edit/index.js";
|
|
13
13
|
import QuizInstructionsShow from "../Show/index.js";
|
|
14
14
|
import EditButton from "../../editButton/EditButton.js";
|
|
15
15
|
import generateStyle from "./styles.js";
|
|
16
16
|
import generateComponentTheme from "./theme.js";
|
|
17
17
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
18
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
19
18
|
|
|
20
19
|
// ======================================
|
|
21
20
|
|
|
@@ -24,7 +23,7 @@ import { withStyleOverrides } from '@instructure/quiz-common';
|
|
|
24
23
|
|
|
25
24
|
// ======================================
|
|
26
25
|
|
|
27
|
-
export var QuizInstructions = (_dec =
|
|
26
|
+
export var QuizInstructions = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizInstructions = /*#__PURE__*/function (_Component) {
|
|
28
27
|
_inherits(QuizInstructions, _Component);
|
|
29
28
|
var _super = _createSuper(QuizInstructions);
|
|
30
29
|
function QuizInstructions() {
|
|
@@ -163,7 +162,7 @@ export var QuizInstructions = (_dec = withStyleOverrides(generateStyle, generate
|
|
|
163
162
|
}]);
|
|
164
163
|
QuizInstructions.displayName = "QuizInstructions";
|
|
165
164
|
return QuizInstructions;
|
|
166
|
-
}(Component), _QuizInstructions.
|
|
165
|
+
}(Component), _QuizInstructions.propTypes = {
|
|
167
166
|
changeQuizInstructions: PropTypes.func.isRequired,
|
|
168
167
|
clearModifications: PropTypes.func.isRequired,
|
|
169
168
|
isEditing: PropTypes.bool.isRequired,
|
|
@@ -6,14 +6,13 @@ var _dec, _class, _QuizInstructionsShow;
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import { jsx } from '@instructure/emotion';
|
|
9
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
10
10
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
11
11
|
import Overlay from "../../../../../../common/components/shared/overlay/index.js";
|
|
12
12
|
import makeScrollable from "../../../../../../common/components/shared/functionality/makeScrollable.js";
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
14
|
import generateComponentTheme from "./theme.js";
|
|
15
15
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
16
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
17
16
|
|
|
18
17
|
// ==========================================
|
|
19
18
|
|
|
@@ -22,7 +21,7 @@ import { withStyleOverrides } from '@instructure/quiz-common';
|
|
|
22
21
|
// editing and hover which shows an overlay
|
|
23
22
|
|
|
24
23
|
// ==========================================
|
|
25
|
-
export var QuizInstructionsShow = (_dec =
|
|
24
|
+
export var QuizInstructionsShow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizInstructionsShow = /*#__PURE__*/function (_Component) {
|
|
26
25
|
_inherits(QuizInstructionsShow, _Component);
|
|
27
26
|
var _super = _createSuper(QuizInstructionsShow);
|
|
28
27
|
function QuizInstructionsShow() {
|
|
@@ -57,7 +56,7 @@ export var QuizInstructionsShow = (_dec = withStyleOverrides(generateStyle, gene
|
|
|
57
56
|
}]);
|
|
58
57
|
QuizInstructionsShow.displayName = "QuizInstructionsShow";
|
|
59
58
|
return QuizInstructionsShow;
|
|
60
|
-
}(Component), _QuizInstructionsShow.
|
|
59
|
+
}(Component), _QuizInstructionsShow.propTypes = {
|
|
61
60
|
instructions: PropTypes.string,
|
|
62
61
|
switchOnEditing: PropTypes.func.isRequired,
|
|
63
62
|
contentLocked: PropTypes.bool,
|
|
@@ -9,12 +9,11 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
11
11
|
import defer from 'lodash/defer';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
14
|
import generateComponentTheme from "./theme.js";
|
|
15
15
|
import Errors from "../../../../../../common/components/shared/errors/Errors.js";
|
|
16
16
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
17
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
18
17
|
|
|
19
18
|
// =================================
|
|
20
19
|
|
|
@@ -24,7 +23,7 @@ import { withStyleOverrides } from '@instructure/quiz-common';
|
|
|
24
23
|
|
|
25
24
|
// =================================
|
|
26
25
|
|
|
27
|
-
export var TitleEdit = (_dec =
|
|
26
|
+
export var TitleEdit = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_TitleEdit = /*#__PURE__*/function (_Component) {
|
|
28
27
|
_inherits(TitleEdit, _Component);
|
|
29
28
|
var _super = _createSuper(TitleEdit);
|
|
30
29
|
function TitleEdit() {
|
|
@@ -146,7 +145,7 @@ export var TitleEdit = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
146
145
|
}]);
|
|
147
146
|
TitleEdit.displayName = "TitleEdit";
|
|
148
147
|
return TitleEdit;
|
|
149
|
-
}(Component), _TitleEdit.
|
|
148
|
+
}(Component), _TitleEdit.propTypes = {
|
|
150
149
|
value: PropTypes.string.isRequired,
|
|
151
150
|
isValid: PropTypes.bool.isRequired,
|
|
152
151
|
showError: PropTypes.func.isRequired,
|
|
@@ -6,24 +6,19 @@ var _dec, _class, _QuizTitleShow;
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { Component } from 'react';
|
|
8
8
|
import PropTypes from 'prop-types';
|
|
9
|
-
import { jsx } from '@instructure/emotion';
|
|
9
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
10
10
|
import { TruncateText } from '@instructure/ui-truncate-text';
|
|
11
11
|
import { Text } from '@instructure/ui-text';
|
|
12
12
|
import Overlay from "../../../../../../common/components/shared/overlay/index.js";
|
|
13
13
|
import makeScrollable from "../../../../../../common/components/shared/functionality/makeScrollable.js";
|
|
14
14
|
import generateStyle from "./styles.js";
|
|
15
|
-
import generateComponentTheme from "./theme.js";
|
|
16
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
17
|
-
|
|
18
|
-
// ====================================
|
|
19
|
-
|
|
15
|
+
import generateComponentTheme from "./theme.js"; // ====================================
|
|
20
16
|
// this component shows the quiz title
|
|
21
17
|
// has events that allow for toggling
|
|
22
18
|
// editing and hover which shows an
|
|
23
19
|
// overlay
|
|
24
|
-
|
|
25
20
|
// ====================================
|
|
26
|
-
export var QuizTitleShow = (_dec =
|
|
21
|
+
export var QuizTitleShow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizTitleShow = /*#__PURE__*/function (_Component) {
|
|
27
22
|
_inherits(QuizTitleShow, _Component);
|
|
28
23
|
var _super = _createSuper(QuizTitleShow);
|
|
29
24
|
function QuizTitleShow() {
|
|
@@ -58,7 +53,7 @@ export var QuizTitleShow = (_dec = withStyleOverrides(generateStyle, generateCom
|
|
|
58
53
|
}]);
|
|
59
54
|
QuizTitleShow.displayName = "QuizTitleShow";
|
|
60
55
|
return QuizTitleShow;
|
|
61
|
-
}(Component), _QuizTitleShow.
|
|
56
|
+
}(Component), _QuizTitleShow.propTypes = {
|
|
62
57
|
defaultTitle: PropTypes.string.isRequired,
|
|
63
58
|
switchOnEditing: PropTypes.func.isRequired,
|
|
64
59
|
contentLocked: PropTypes.bool,
|
|
@@ -9,14 +9,13 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
10
10
|
import partial from 'lodash/partial';
|
|
11
11
|
import { Heading } from '@instructure/ui-heading';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import EditButton from "../../editButton/EditButton.js";
|
|
14
14
|
import QuizTitleEdit from "../Edit/index.js";
|
|
15
15
|
import QuizTitleShow from "../Show/index.js";
|
|
16
16
|
import generateStyle from "./styles.js";
|
|
17
17
|
import generateComponentTheme from "./theme.js";
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
20
19
|
|
|
21
20
|
// ================================
|
|
22
21
|
|
|
@@ -25,7 +24,7 @@ import { withStyleOverrides } from '@instructure/quiz-common';
|
|
|
25
24
|
|
|
26
25
|
// ================================
|
|
27
26
|
|
|
28
|
-
export var QuizTitlePresenter = (_dec =
|
|
27
|
+
export var QuizTitlePresenter = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizTitlePresenter = /*#__PURE__*/function (_Component) {
|
|
29
28
|
_inherits(QuizTitlePresenter, _Component);
|
|
30
29
|
var _super = _createSuper(QuizTitlePresenter);
|
|
31
30
|
function QuizTitlePresenter() {
|
|
@@ -165,7 +164,7 @@ export var QuizTitlePresenter = (_dec = withStyleOverrides(generateStyle, genera
|
|
|
165
164
|
}]);
|
|
166
165
|
QuizTitlePresenter.displayName = "QuizTitlePresenter";
|
|
167
166
|
return QuizTitlePresenter;
|
|
168
|
-
}(Component), _QuizTitlePresenter.
|
|
167
|
+
}(Component), _QuizTitlePresenter.propTypes = {
|
|
169
168
|
changeQuizTitle: PropTypes.func.isRequired,
|
|
170
169
|
errorsShowing: ImmutablePropTypes.map.isRequired,
|
|
171
170
|
hideError: PropTypes.func.isRequired,
|
|
@@ -13,7 +13,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
|
|
|
13
13
|
import pick from 'lodash/pick';
|
|
14
14
|
import partial from 'lodash/partial';
|
|
15
15
|
import ReactDOM from 'react-dom';
|
|
16
|
-
import { jsx } from '@instructure/emotion';
|
|
16
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
17
17
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
18
18
|
import WarningWrapper from "../../../../../common/components/resources/WarningWrapper/index.js";
|
|
19
19
|
import { propsForItemBankEntryEditPrompt, propsForStimulusBankEntryEditPrompt, propsForBankEntryUnauthorizedEdit, propsForItemVersioningWrapper, propsForBankEntryVersioningWrapper } from "../../../../../common/util/warningHelpers.js";
|
|
@@ -26,13 +26,13 @@ import ItemOverride from "../../../../../common/components/resources/item/ItemOv
|
|
|
26
26
|
import AddToBankOptions from "../../AddToBankOptions/index.js";
|
|
27
27
|
import TagDisplay from "../../../../../common/components/shared/TagDisplay/index.js";
|
|
28
28
|
import Item from "../../../../../common/records/Item.js";
|
|
29
|
-
import { BUILD_TRAY_OPEN, PARENT_TYPE_QUIZ, REGRADE_MODAL, SHOULD_CLONE_ITEM
|
|
29
|
+
import { BUILD_TRAY_OPEN, PARENT_TYPE_QUIZ, REGRADE_MODAL, SHOULD_CLONE_ITEM } from '@instructure/quiz-common';
|
|
30
30
|
import QuizEntryShow from "../QuizEntryShow/index.js";
|
|
31
31
|
import QuizEntryEdit from "../QuizEntryEdit/index.js";
|
|
32
32
|
import Stimulus from "../../../../../common/components/resources/stimulus/Stimulus/index.js";
|
|
33
33
|
import generateStyle from "./styles.js";
|
|
34
34
|
import generateComponentTheme from "./theme.js";
|
|
35
|
-
export var QuizEntry = (_dec =
|
|
35
|
+
export var QuizEntry = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntry = /*#__PURE__*/function (_Component) {
|
|
36
36
|
_inherits(QuizEntry, _Component);
|
|
37
37
|
var _super = _createSuper(QuizEntry);
|
|
38
38
|
function QuizEntry() {
|
|
@@ -311,7 +311,7 @@ export var QuizEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
311
311
|
}]);
|
|
312
312
|
QuizEntry.displayName = "QuizEntry";
|
|
313
313
|
return QuizEntry;
|
|
314
|
-
}(Component), _QuizEntry.
|
|
314
|
+
}(Component), _QuizEntry.propTypes = {
|
|
315
315
|
changeQuizEntryPoints: PropTypes.func.isRequired,
|
|
316
316
|
childEntries: ImmutablePropTypes.listOf(ImmutablePropTypes.record),
|
|
317
317
|
connectDropTarget: PropTypes.func.isRequired,
|
package/es/building/components/resources/quizEntry/QuizEntryBank/QuizEntryBankEdit/presenter.js
CHANGED
|
@@ -13,18 +13,17 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
|
13
13
|
import NumberInput from '@instructure/quiz-number-input';
|
|
14
14
|
import { Text } from '@instructure/ui-text';
|
|
15
15
|
import { Alert } from '@instructure/ui-alerts';
|
|
16
|
-
import { jsx } from '@instructure/emotion';
|
|
16
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
17
17
|
import EntrySave from "../../../../../../common/components/resources/entry/EntrySave/index.js";
|
|
18
|
-
import BankSelection from "../../../../../../common/components/resources/BankSelection/
|
|
18
|
+
import BankSelection from "../../../../../../common/components/resources/BankSelection/index.js";
|
|
19
19
|
import QuizEntry from "../../../../../../common/records/QuizEntry.js";
|
|
20
20
|
import Bank from "../../../../../../common/records/Bank.js";
|
|
21
21
|
import generateStyle from "./styles.js";
|
|
22
22
|
import generateComponentTheme from "./theme.js";
|
|
23
23
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
24
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
25
24
|
var _ref = jsx("br", null);
|
|
26
25
|
var _ref2 = jsx("br", null);
|
|
27
|
-
export var QuizEntryBankEdit = (_dec =
|
|
26
|
+
export var QuizEntryBankEdit = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntryBankEdit = /*#__PURE__*/function (_Component) {
|
|
28
27
|
_inherits(QuizEntryBankEdit, _Component);
|
|
29
28
|
var _super = _createSuper(QuizEntryBankEdit);
|
|
30
29
|
function QuizEntryBankEdit() {
|
|
@@ -58,7 +57,7 @@ export var QuizEntryBankEdit = (_dec = withStyleOverrides(generateStyle, generat
|
|
|
58
57
|
_this.props.changeQuizEntryProperties(_this.props.quizEntry.id, properties);
|
|
59
58
|
};
|
|
60
59
|
_this.onBankSelection = function (event, option) {
|
|
61
|
-
_this.props.changeQuizEntryEntry(_this.props.quizEntry.id, option.
|
|
60
|
+
_this.props.changeQuizEntryEntry(_this.props.quizEntry.id, option.value);
|
|
62
61
|
};
|
|
63
62
|
_this.handleQuestionChange = function (event, selection) {
|
|
64
63
|
_this.onPropertiesChange({
|
|
@@ -202,7 +201,7 @@ export var QuizEntryBankEdit = (_dec = withStyleOverrides(generateStyle, generat
|
|
|
202
201
|
}]);
|
|
203
202
|
QuizEntryBankEdit.displayName = "QuizEntryBankEdit";
|
|
204
203
|
return QuizEntryBankEdit;
|
|
205
|
-
}(Component), _QuizEntryBankEdit.
|
|
204
|
+
}(Component), _QuizEntryBankEdit.propTypes = {
|
|
206
205
|
changeQuizEntryPoints: PropTypes.func.isRequired,
|
|
207
206
|
changeQuizEntryProperties: PropTypes.func.isRequired,
|
|
208
207
|
changeQuizEntryEntry: PropTypes.func.isRequired,
|
|
@@ -9,15 +9,14 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import { View } from '@instructure/ui-view';
|
|
10
10
|
import { Alert } from '@instructure/ui-alerts';
|
|
11
11
|
import { Text } from '@instructure/ui-text';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import Bank from "../../../../../../common/records/Bank.js";
|
|
14
14
|
import QuizEntry from "../../../../../../common/records/QuizEntry.js";
|
|
15
15
|
import generateStyle from "./styles.js";
|
|
16
16
|
import generateComponentTheme from "./theme.js";
|
|
17
17
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
18
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
19
18
|
var _ref = jsx("br", null);
|
|
20
|
-
export var QuizEntryBank = (_dec =
|
|
19
|
+
export var QuizEntryBank = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntryBank = /*#__PURE__*/function (_Component) {
|
|
21
20
|
_inherits(QuizEntryBank, _Component);
|
|
22
21
|
var _super = _createSuper(QuizEntryBank);
|
|
23
22
|
function QuizEntryBank() {
|
|
@@ -91,7 +90,7 @@ export var QuizEntryBank = (_dec = withStyleOverrides(generateStyle, generateCom
|
|
|
91
90
|
}]);
|
|
92
91
|
QuizEntryBank.displayName = "QuizEntryBank";
|
|
93
92
|
return QuizEntryBank;
|
|
94
|
-
}(Component), _QuizEntryBank.
|
|
93
|
+
}(Component), _QuizEntryBank.propTypes = {
|
|
95
94
|
entry: PropTypes.instanceOf(Bank).isRequired,
|
|
96
95
|
quizEntry: PropTypes.instanceOf(QuizEntry).isRequired,
|
|
97
96
|
styles: PropTypes.object
|
|
@@ -14,12 +14,12 @@ import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
|
14
14
|
import { Text } from '@instructure/ui-text';
|
|
15
15
|
import NumberInput from '@instructure/quiz-number-input';
|
|
16
16
|
import { IconButton } from '@instructure/ui-buttons';
|
|
17
|
-
import { jsx } from '@instructure/emotion';
|
|
17
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
18
18
|
import { IconDiscussionLine, IconDiscussionSolid } from '@instructure/ui-icons';
|
|
19
19
|
import { interactionPoints } from '@instructure/quiz-interactions';
|
|
20
20
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
21
21
|
import EntrySave from "../../../../../../common/components/resources/entry/EntrySave/index.js";
|
|
22
|
-
import { ITEM_FEEDBACK_MODAL, ITEM_FEEDBACK_MODAL_ITEM, ITEM_FEEDBACK_MODAL_FEEDBACK
|
|
22
|
+
import { ITEM_FEEDBACK_MODAL, ITEM_FEEDBACK_MODAL_ITEM, ITEM_FEEDBACK_MODAL_FEEDBACK } from '@instructure/quiz-common';
|
|
23
23
|
import generateStyle from "./styles.js";
|
|
24
24
|
import generateComponentTheme from "./theme.js";
|
|
25
25
|
function pointsAsFloat(pointsString) {
|
|
@@ -34,7 +34,7 @@ function countDecimals(normalizedPointsString) {
|
|
|
34
34
|
decimals = _normalizedPointsStri2[1];
|
|
35
35
|
return decimals ? decimals.length : 0;
|
|
36
36
|
}
|
|
37
|
-
export var QuizEntryEditFooter = (_dec =
|
|
37
|
+
export var QuizEntryEditFooter = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_QuizEntryEditFooter = /*#__PURE__*/function (_Component) {
|
|
38
38
|
_inherits(QuizEntryEditFooter, _Component);
|
|
39
39
|
var _super = _createSuper(QuizEntryEditFooter);
|
|
40
40
|
function QuizEntryEditFooter() {
|
|
@@ -209,7 +209,7 @@ export var QuizEntryEditFooter = (_dec = withStyleOverrides(generateStyle, gener
|
|
|
209
209
|
}]);
|
|
210
210
|
QuizEntryEditFooter.displayName = "QuizEntryEditFooter";
|
|
211
211
|
return QuizEntryEditFooter;
|
|
212
|
-
}(Component), _QuizEntryEditFooter.
|
|
212
|
+
}(Component), _QuizEntryEditFooter.propTypes = {
|
|
213
213
|
alternativeRightFooter: PropTypes.func,
|
|
214
214
|
changeQuizEntryPoints: PropTypes.func.isRequired,
|
|
215
215
|
clearChanges: PropTypes.func.isRequired,
|