@instructure/quiz-core 20.34.1-snapshot.9 → 20.34.1-undefined.0
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/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/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 +3 -4
- 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/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 +1 -4
- 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/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/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 +2 -3
- 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/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 -43
- 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
|
@@ -18,7 +18,7 @@ import { BreadcrumbLink } from '@instructure/ui-breadcrumb';
|
|
|
18
18
|
import { Button } from '@instructure/ui-buttons';
|
|
19
19
|
import { Heading } from '@instructure/ui-heading';
|
|
20
20
|
import { AccessibleContent } from '@instructure/ui-a11y-content';
|
|
21
|
-
import { jsx } from '@instructure/emotion';
|
|
21
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
22
22
|
import { Checkbox } from '@instructure/ui-checkbox';
|
|
23
23
|
import { View } from '@instructure/ui-view';
|
|
24
24
|
import { HeaderBreadCrumb } from "../HeaderBreadCrumb/index.js";
|
|
@@ -33,11 +33,11 @@ import BankEntriesList from "../../../banks/components/BankEntriesList/index.js"
|
|
|
33
33
|
import BankSearch from "../../../banks/components/BankSearch/index.js";
|
|
34
34
|
import HeaderMenu from "../../../banks/components/HeaderMenu/index.js";
|
|
35
35
|
import NavWrapper from "../NavWrapper/index.js";
|
|
36
|
-
import { ADD_BANK_ENTRY_MODAL, BANKS_BANK_ENTRY_PAGINATION, CAN_EDIT, REMOVED_ACCESS, READ_ONLY
|
|
36
|
+
import { ADD_BANK_ENTRY_MODAL, BANKS_BANK_ENTRY_PAGINATION, CAN_EDIT, REMOVED_ACCESS, READ_ONLY } from '@instructure/quiz-common';
|
|
37
37
|
import generateStyle from "./styles.js";
|
|
38
38
|
import generateComponentTheme from "./theme.js";
|
|
39
39
|
var _ref = jsx(IconMoreSolid, null);
|
|
40
|
-
export var Bank = (_dec =
|
|
40
|
+
export var Bank = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Bank = /*#__PURE__*/function (_Component) {
|
|
41
41
|
_inherits(Bank, _Component);
|
|
42
42
|
var _super = _createSuper(Bank);
|
|
43
43
|
function Bank() {
|
|
@@ -440,7 +440,7 @@ export var Bank = (_dec = withStyleOverrides(generateStyle, generateComponentThe
|
|
|
440
440
|
}]);
|
|
441
441
|
Bank.displayName = "Bank";
|
|
442
442
|
return Bank;
|
|
443
|
-
}(Component), _Bank.
|
|
443
|
+
}(Component), _Bank.propTypes = {
|
|
444
444
|
activeQuizId: PropTypes.string,
|
|
445
445
|
addEntryToQuiz: PropTypes.func,
|
|
446
446
|
bankId: PropTypes.string.isRequired,
|
|
@@ -7,13 +7,12 @@ var _dec, _class, _BankEntriesList;
|
|
|
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 Card from "../../../common/components/shared/Card/index.js";
|
|
12
12
|
import BankEntryRow from "../BankEntryRow/index.js";
|
|
13
13
|
import generateStyle from "./styles.js";
|
|
14
14
|
import generateComponentTheme from "./theme.js";
|
|
15
|
-
|
|
16
|
-
export var BankEntriesList = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_BankEntriesList = /*#__PURE__*/function (_Component) {
|
|
15
|
+
export var BankEntriesList = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BankEntriesList = /*#__PURE__*/function (_Component) {
|
|
17
16
|
_inherits(BankEntriesList, _Component);
|
|
18
17
|
var _super = _createSuper(BankEntriesList);
|
|
19
18
|
function BankEntriesList() {
|
|
@@ -46,7 +45,7 @@ export var BankEntriesList = (_dec = withStyleOverrides(generateStyle, generateC
|
|
|
46
45
|
}]);
|
|
47
46
|
BankEntriesList.displayName = "BankEntriesList";
|
|
48
47
|
return BankEntriesList;
|
|
49
|
-
}(Component), _BankEntriesList.
|
|
48
|
+
}(Component), _BankEntriesList.propTypes = {
|
|
50
49
|
addEntryToQuiz: PropTypes.func,
|
|
51
50
|
bank: ImmutablePropTypes.record.isRequired,
|
|
52
51
|
bankEntries: ImmutablePropTypes.list.isRequired,
|
|
@@ -24,7 +24,7 @@ import { Heading } from '@instructure/ui-heading';
|
|
|
24
24
|
import { IconDiscussionLine, IconDiscussionSolid } from '@instructure/ui-icons';
|
|
25
25
|
import { PresentationContent, ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
26
26
|
import { TextInput } from '@instructure/ui-text-input';
|
|
27
|
-
import { jsx } from '@instructure/emotion';
|
|
27
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
28
28
|
import { HeaderBreadCrumb } from "../HeaderBreadCrumb/index.js";
|
|
29
29
|
import EntrySave from "../../../common/components/resources/entry/EntrySave/index.js";
|
|
30
30
|
import ItemEdit from "../../../common/components/resources/item/ItemEdit/index.js";
|
|
@@ -41,11 +41,11 @@ import { createItem } from "../../../building/api/items.js";
|
|
|
41
41
|
import { createStimulus } from "../../../building/api/stimuli.js";
|
|
42
42
|
import { propsForItemVersioningWrapper, propsForStimulusVersioningWrapper } from "../../../common/util/warningHelpers.js";
|
|
43
43
|
import NavWrapper from "../NavWrapper/index.js";
|
|
44
|
-
import { API_INPUT_VALIDATION_ERROR, CLEAR_ALL_INPUT_VALIDATION_ERRORS, ITEM_FEEDBACK_MODAL, ITEM_FEEDBACK_MODAL_ITEM, ITEM_FEEDBACK_MODAL_FEEDBACK, PARENT_TYPE_BANK
|
|
44
|
+
import { API_INPUT_VALIDATION_ERROR, CLEAR_ALL_INPUT_VALIDATION_ERRORS, ITEM_FEEDBACK_MODAL, ITEM_FEEDBACK_MODAL_ITEM, ITEM_FEEDBACK_MODAL_FEEDBACK, PARENT_TYPE_BANK } from '@instructure/quiz-common';
|
|
45
45
|
import generateStyle from "./styles.js";
|
|
46
46
|
import generateComponentTheme from "./theme.js";
|
|
47
47
|
var _ref3 = jsx(Spinner, null);
|
|
48
|
-
export var BankEntry = (_dec =
|
|
48
|
+
export var BankEntry = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BankEntry = /*#__PURE__*/function (_Component) {
|
|
49
49
|
_inherits(BankEntry, _Component);
|
|
50
50
|
var _super = _createSuper(BankEntry);
|
|
51
51
|
function BankEntry() {
|
|
@@ -581,7 +581,7 @@ export var BankEntry = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
581
581
|
}]);
|
|
582
582
|
BankEntry.displayName = "BankEntry";
|
|
583
583
|
return BankEntry;
|
|
584
|
-
}(Component), _BankEntry.
|
|
584
|
+
}(Component), _BankEntry.propTypes = {
|
|
585
585
|
bankEntryId: PropTypes.string.isRequired,
|
|
586
586
|
bankId: PropTypes.string.isRequired,
|
|
587
587
|
bank: ImmutablePropTypes.record.isRequired,
|
|
@@ -16,8 +16,8 @@ import { List } from '@instructure/ui-list';
|
|
|
16
16
|
import { Heading } from '@instructure/ui-heading';
|
|
17
17
|
import { PresentationContent } from '@instructure/ui-a11y-content';
|
|
18
18
|
import { Alert } from '@instructure/ui-alerts';
|
|
19
|
-
import { jsx } from '@instructure/emotion';
|
|
20
|
-
import { BUILD_TRAY_POSITION, COPY_MOVE_BANK_ENTRY_MODAL, SET_EDIT_BUTTON_FOCUS, withI18nSupport
|
|
19
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
20
|
+
import { BUILD_TRAY_POSITION, COPY_MOVE_BANK_ENTRY_MODAL, SET_EDIT_BUTTON_FOCUS, withI18nSupport } from '@instructure/quiz-common';
|
|
21
21
|
import { RichContentRenderer } from '@instructure/quiz-rce';
|
|
22
22
|
import { extractTextFromHtml } from '@instructure/quiz-interactions';
|
|
23
23
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
@@ -31,7 +31,7 @@ import generateStyle from "./styles.js";
|
|
|
31
31
|
import generateComponentTheme from "./theme.js";
|
|
32
32
|
import Overlay from "../../../common/components/shared/overlay/index.js";
|
|
33
33
|
var _ref2 = jsx("div", null);
|
|
34
|
-
export var BankEntryRow = (_dec =
|
|
34
|
+
export var BankEntryRow = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BankEntryRow = /*#__PURE__*/function (_withI18nSupport) {
|
|
35
35
|
_inherits(BankEntryRow, _withI18nSupport);
|
|
36
36
|
var _super = _createSuper(BankEntryRow);
|
|
37
37
|
function BankEntryRow() {
|
|
@@ -341,7 +341,7 @@ export var BankEntryRow = (_dec = withStyleOverrides(generateStyle, generateComp
|
|
|
341
341
|
}]);
|
|
342
342
|
BankEntryRow.displayName = "BankEntryRow";
|
|
343
343
|
return BankEntryRow;
|
|
344
|
-
}(withI18nSupport(Component)), _BankEntryRow.
|
|
344
|
+
}(withI18nSupport(Component)), _BankEntryRow.propTypes = {
|
|
345
345
|
activeQuizId: PropTypes.string,
|
|
346
346
|
addEntryToQuiz: PropTypes.func,
|
|
347
347
|
bankEntry: ImmutablePropTypes.record.isRequired,
|
|
@@ -16,13 +16,12 @@ import { View } from '@instructure/ui-view';
|
|
|
16
16
|
import { Flex } from '@instructure/ui-flex';
|
|
17
17
|
import { Text } from '@instructure/ui-text';
|
|
18
18
|
import { AccessibleContent, ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
19
|
-
import { jsx } from '@instructure/emotion';
|
|
19
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
20
20
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
21
21
|
import TagSuggestSelect from "../../../common/components/shared/TagSuggestSelect/index.js";
|
|
22
22
|
import { interactionTypesNameDictionary } from "../../../common/util/interactionTypeMetadata.js";
|
|
23
23
|
import generateStyle from "./styles.js";
|
|
24
24
|
import generateComponentTheme from "./theme.js";
|
|
25
|
-
import { withStyleOverrides } from '@instructure/quiz-common';
|
|
26
25
|
var tagShape = PropTypes.shape({
|
|
27
26
|
tag: PropTypes.shape({
|
|
28
27
|
id: PropTypes.string,
|
|
@@ -30,7 +29,7 @@ var tagShape = PropTypes.shape({
|
|
|
30
29
|
}).isRequired,
|
|
31
30
|
count: PropTypes.number.isRequired
|
|
32
31
|
});
|
|
33
|
-
export var BankSearch = (_dec =
|
|
32
|
+
export var BankSearch = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BankSearch = /*#__PURE__*/function (_Component) {
|
|
34
33
|
_inherits(BankSearch, _Component);
|
|
35
34
|
var _super = _createSuper(BankSearch);
|
|
36
35
|
function BankSearch() {
|
|
@@ -157,7 +156,7 @@ export var BankSearch = (_dec = withStyleOverrides(generateStyle, generateCompon
|
|
|
157
156
|
}]);
|
|
158
157
|
BankSearch.displayName = "BankSearch";
|
|
159
158
|
return BankSearch;
|
|
160
|
-
}(Component), _BankSearch.
|
|
159
|
+
}(Component), _BankSearch.propTypes = {
|
|
161
160
|
allInteractions: PropTypes.bool,
|
|
162
161
|
interactionTypes: PropTypes.arrayOf(PropTypes.shape({
|
|
163
162
|
count: PropTypes.number,
|
|
@@ -16,7 +16,7 @@ import { Billboard } from '@instructure/ui-billboard';
|
|
|
16
16
|
import { Button } from '@instructure/ui-buttons';
|
|
17
17
|
import { TextInput } from '@instructure/ui-text-input';
|
|
18
18
|
import { SimpleSelect } from '@instructure/ui-simple-select';
|
|
19
|
-
import { jsx } from '@instructure/emotion';
|
|
19
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
20
20
|
import { Grid } from '@instructure/ui-grid';
|
|
21
21
|
import { View } from '@instructure/ui-view';
|
|
22
22
|
import debounce from 'lodash/fp/debounce';
|
|
@@ -24,7 +24,7 @@ import Page from "../../../common/components/layout/Page/index.js";
|
|
|
24
24
|
import { HeaderBreadCrumb } from "../HeaderBreadCrumb/index.js";
|
|
25
25
|
import PaginatedCollection from "../../../common/components/shared/PaginatedCollection/index.js";
|
|
26
26
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
27
|
-
import { BANKS_BANK_FILTERS, BANKS_BANK_PAGINATION, CREATE_BANK_MODAL, SHARED_WITH_ACCOUNT
|
|
27
|
+
import { BANKS_BANK_FILTERS, BANKS_BANK_PAGINATION, CREATE_BANK_MODAL, SHARED_WITH_ACCOUNT } from '@instructure/quiz-common';
|
|
28
28
|
import BanksList from "../../../banks/components/BanksList/index.js";
|
|
29
29
|
import CreateBankModal from "../../../banks/components/CreateBankModal/index.js";
|
|
30
30
|
import NavWrapper from "../NavWrapper/index.js";
|
|
@@ -39,7 +39,7 @@ var sortOrderIcons = {
|
|
|
39
39
|
var _ref4 = jsx(Img, {
|
|
40
40
|
src: noResults
|
|
41
41
|
});
|
|
42
|
-
export var Banks = (_dec =
|
|
42
|
+
export var Banks = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_Banks = /*#__PURE__*/function (_Component) {
|
|
43
43
|
_inherits(Banks, _Component);
|
|
44
44
|
var _super = _createSuper(Banks);
|
|
45
45
|
function Banks(props) {
|
|
@@ -429,7 +429,7 @@ export var Banks = (_dec = withStyleOverrides(generateStyle, generateComponentTh
|
|
|
429
429
|
}]);
|
|
430
430
|
Banks.displayName = "Banks";
|
|
431
431
|
return Banks;
|
|
432
|
-
}(Component), _Banks.
|
|
432
|
+
}(Component), _Banks.propTypes = {
|
|
433
433
|
closeTray: PropTypes.func,
|
|
434
434
|
createBank: PropTypes.func.isRequired,
|
|
435
435
|
currentUser: PropTypes.shape({
|
|
@@ -20,8 +20,8 @@ import { IconEditLine, IconTrashLine, IconShareSolid, IconCopyLine } from '@inst
|
|
|
20
20
|
import { Alert } from '@instructure/ui-alerts';
|
|
21
21
|
import { Spinner } from '@instructure/ui-spinner';
|
|
22
22
|
import { Table } from '@instructure/ui-table';
|
|
23
|
-
import { jsx } from '@instructure/emotion';
|
|
24
|
-
import { EDIT_BANK_MODAL, withI18nSupport
|
|
23
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
24
|
+
import { EDIT_BANK_MODAL, withI18nSupport } from '@instructure/quiz-common';
|
|
25
25
|
import CustomPropTypes from "../../../common/util/CustomPropTypes.js";
|
|
26
26
|
import IfFeature from "../../../common/components/shared/IfFeature/index.js";
|
|
27
27
|
import EditBankModal from "../EditBankModal/index.js";
|
|
@@ -33,7 +33,7 @@ var _ref4 = jsx(Table.Cell, null);
|
|
|
33
33
|
var _ref5 = jsx(Table.Cell, null);
|
|
34
34
|
var _ref6 = jsx(Table.Cell, null);
|
|
35
35
|
var _ref7 = jsx(Table.Cell, null);
|
|
36
|
-
export var BanksList = (_dec =
|
|
36
|
+
export var BanksList = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_BanksList = /*#__PURE__*/function (_withI18nSupport) {
|
|
37
37
|
_inherits(BanksList, _withI18nSupport);
|
|
38
38
|
var _super = _createSuper(BanksList);
|
|
39
39
|
function BanksList() {
|
|
@@ -461,7 +461,7 @@ export var BanksList = (_dec = withStyleOverrides(generateStyle, generateCompone
|
|
|
461
461
|
}]);
|
|
462
462
|
BanksList.displayName = "BanksList";
|
|
463
463
|
return BanksList;
|
|
464
|
-
}(withI18nSupport(Component)), _BanksList.
|
|
464
|
+
}(withI18nSupport(Component)), _BanksList.propTypes = {
|
|
465
465
|
addInfo: PropTypes.func.isRequired,
|
|
466
466
|
addToPolling: PropTypes.func.isRequired,
|
|
467
467
|
appContainer: CustomPropTypes.selectors.isRequired,
|
|
@@ -11,14 +11,14 @@ import { Checkbox } from '@instructure/ui-checkbox';
|
|
|
11
11
|
import { View } from '@instructure/ui-view';
|
|
12
12
|
import { TextInput } from '@instructure/ui-text-input';
|
|
13
13
|
import { Heading } from '@instructure/ui-heading';
|
|
14
|
-
import { jsx } from '@instructure/emotion';
|
|
14
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
15
15
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
16
16
|
import Bank from "../../../common/records/Bank.js";
|
|
17
17
|
import { toErrors } from "../../../common/util/instUIMessages.js";
|
|
18
|
-
import { Modal, ModalHeader, ModalBody, ModalFooter, XSMALL_SIDE_MARGIN
|
|
18
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
19
19
|
import generateStyle from "./styles.js";
|
|
20
20
|
import generateComponentTheme from "./theme.js";
|
|
21
|
-
export var CreateBankModal = (_dec =
|
|
21
|
+
export var CreateBankModal = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_CreateBankModal = /*#__PURE__*/function (_Component) {
|
|
22
22
|
_inherits(CreateBankModal, _Component);
|
|
23
23
|
var _super = _createSuper(CreateBankModal);
|
|
24
24
|
function CreateBankModal() {
|
|
@@ -147,7 +147,7 @@ export var CreateBankModal = (_dec = withStyleOverrides(generateStyle, generateC
|
|
|
147
147
|
}]);
|
|
148
148
|
CreateBankModal.displayName = "CreateBankModal";
|
|
149
149
|
return CreateBankModal;
|
|
150
|
-
}(Component), _CreateBankModal.
|
|
150
|
+
}(Component), _CreateBankModal.propTypes = {
|
|
151
151
|
modalOpen: PropTypes.bool.isRequired,
|
|
152
152
|
modalTrigger: PropTypes.instanceOf(Component),
|
|
153
153
|
temporaryBank: PropTypes.instanceOf(Bank).isRequired,
|
|
@@ -9,14 +9,14 @@ import PropTypes from 'prop-types';
|
|
|
9
9
|
import { Button, CloseButton } from '@instructure/ui-buttons';
|
|
10
10
|
import { TextInput } from '@instructure/ui-text-input';
|
|
11
11
|
import { Heading } from '@instructure/ui-heading';
|
|
12
|
-
import { jsx } from '@instructure/emotion';
|
|
12
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
13
13
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
14
14
|
import { toErrors } from "../../../common/util/instUIMessages.js";
|
|
15
|
-
import { Modal, ModalHeader, ModalBody, ModalFooter, XSMALL_SIDE_MARGIN
|
|
15
|
+
import { Modal, ModalHeader, ModalBody, ModalFooter, XSMALL_SIDE_MARGIN } from '@instructure/quiz-common';
|
|
16
16
|
import Bank from "../../../common/records/Bank.js";
|
|
17
17
|
import generateStyle from "./styles.js";
|
|
18
18
|
import generateComponentTheme from "./theme.js";
|
|
19
|
-
export var EditBankModal = (_dec =
|
|
19
|
+
export var EditBankModal = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_EditBankModal = /*#__PURE__*/function (_Component) {
|
|
20
20
|
_inherits(EditBankModal, _Component);
|
|
21
21
|
var _super = _createSuper(EditBankModal);
|
|
22
22
|
function EditBankModal() {
|
|
@@ -110,7 +110,7 @@ export var EditBankModal = (_dec = withStyleOverrides(generateStyle, generateCom
|
|
|
110
110
|
}]);
|
|
111
111
|
EditBankModal.displayName = "EditBankModal";
|
|
112
112
|
return EditBankModal;
|
|
113
|
-
}(Component), _EditBankModal.
|
|
113
|
+
}(Component), _EditBankModal.propTypes = {
|
|
114
114
|
modalOpen: PropTypes.bool.isRequired,
|
|
115
115
|
modalTrigger: PropTypes.instanceOf(Component),
|
|
116
116
|
workingBank: PropTypes.instanceOf(Bank).isRequired,
|
|
@@ -13,16 +13,16 @@ import { IconButton } from '@instructure/ui-buttons';
|
|
|
13
13
|
import { TopNavBar } from '@instructure/ui-top-nav-bar';
|
|
14
14
|
import { Drilldown } from '@instructure/ui-drilldown';
|
|
15
15
|
import { IconMoreSolid, IconImportLine } from '@instructure/ui-icons';
|
|
16
|
-
import { jsx } from '@instructure/emotion';
|
|
16
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
17
17
|
import QTIImportModal from "../../../building/components/QTIImportModal/index.js";
|
|
18
|
-
import { PARENT_TYPE_BANK
|
|
18
|
+
import { PARENT_TYPE_BANK } from '@instructure/quiz-common';
|
|
19
19
|
import generateStyle from "./styles.js";
|
|
20
20
|
import generateComponentTheme from "./theme.js";
|
|
21
21
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
22
22
|
var _ref = jsx(IconImportLine, {
|
|
23
23
|
"data-automation": "sdk-headermenu-import-content"
|
|
24
24
|
});
|
|
25
|
-
export var HeaderMenu = (_dec =
|
|
25
|
+
export var HeaderMenu = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_HeaderMenu = /*#__PURE__*/function (_Component) {
|
|
26
26
|
_inherits(HeaderMenu, _Component);
|
|
27
27
|
var _super = _createSuper(HeaderMenu);
|
|
28
28
|
function HeaderMenu() {
|
|
@@ -85,7 +85,7 @@ export var HeaderMenu = (_dec = withStyleOverrides(generateStyle, generateCompon
|
|
|
85
85
|
}]);
|
|
86
86
|
HeaderMenu.displayName = "HeaderMenu";
|
|
87
87
|
return HeaderMenu;
|
|
88
|
-
}(Component), _HeaderMenu.
|
|
88
|
+
}(Component), _HeaderMenu.propTypes = {
|
|
89
89
|
openImportModal: PropTypes.func.isRequired,
|
|
90
90
|
bank: ImmutablePropTypes.record.isRequired,
|
|
91
91
|
iceTopNavBarEnabled: PropTypes.bool,
|
|
@@ -16,12 +16,11 @@ import { CloseButton, Button } from '@instructure/ui-buttons';
|
|
|
16
16
|
import { BreadcrumbLink } from '@instructure/ui-breadcrumb';
|
|
17
17
|
import { IconBankLine } from '@instructure/ui-icons';
|
|
18
18
|
import { View } from '@instructure/ui-view';
|
|
19
|
-
import { jsx, Global } from '@instructure/emotion';
|
|
19
|
+
import { withStyle, jsx, Global } from '@instructure/emotion';
|
|
20
20
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
21
21
|
import generateStyle from "./styles.js";
|
|
22
22
|
import generateComponentTheme from "./theme.js";
|
|
23
|
-
|
|
24
|
-
var NavWrapper = (_dec = withStyleOverrides(generateStyle, generateComponentTheme), _dec(_class = (_NavWrapper = /*#__PURE__*/function (_Component) {
|
|
23
|
+
var NavWrapper = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_NavWrapper = /*#__PURE__*/function (_Component) {
|
|
25
24
|
_inherits(NavWrapper, _Component);
|
|
26
25
|
var _super = _createSuper(NavWrapper);
|
|
27
26
|
function NavWrapper() {
|
|
@@ -130,7 +129,7 @@ var NavWrapper = (_dec = withStyleOverrides(generateStyle, generateComponentThem
|
|
|
130
129
|
}]);
|
|
131
130
|
NavWrapper.displayName = "NavWrapper";
|
|
132
131
|
return NavWrapper;
|
|
133
|
-
}(Component), _NavWrapper.
|
|
132
|
+
}(Component), _NavWrapper.propTypes = {
|
|
134
133
|
children: Children.oneOf([BreadcrumbLink]),
|
|
135
134
|
closeTray: PropTypes.func,
|
|
136
135
|
navigateToBanks: PropTypes.func,
|
|
@@ -5,13 +5,14 @@ import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
|
5
5
|
var _dec, _class, _RootAccountSharing;
|
|
6
6
|
import React, { Component } from 'react';
|
|
7
7
|
import PropTypes from 'prop-types';
|
|
8
|
-
import {
|
|
8
|
+
import { CAN_EDIT, READ_ONLY } from '@instructure/quiz-common';
|
|
9
9
|
import { IconAdminLine } from '@instructure/ui-icons';
|
|
10
10
|
import { Checkbox } from '@instructure/ui-checkbox';
|
|
11
11
|
import { View } from '@instructure/ui-view';
|
|
12
12
|
import { Grid } from '@instructure/ui-grid';
|
|
13
13
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
14
14
|
import { SimpleSelect } from '@instructure/ui-simple-select';
|
|
15
|
+
import { withStyle } from '@instructure/emotion';
|
|
15
16
|
import generateStyle from "./styles.js";
|
|
16
17
|
import generateComponentTheme from "./theme.js";
|
|
17
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
@@ -20,7 +21,7 @@ var _ref = /*#__PURE__*/React.createElement(Grid.Col, {
|
|
|
20
21
|
}, /*#__PURE__*/React.createElement(IconAdminLine, {
|
|
21
22
|
size: "medium"
|
|
22
23
|
}));
|
|
23
|
-
export var RootAccountSharing = (_dec =
|
|
24
|
+
export var RootAccountSharing = (_dec = withStyle(generateStyle, generateComponentTheme), _dec(_class = (_RootAccountSharing = /*#__PURE__*/function (_Component) {
|
|
24
25
|
_inherits(RootAccountSharing, _Component);
|
|
25
26
|
var _super = _createSuper(RootAccountSharing);
|
|
26
27
|
function RootAccountSharing() {
|
|
@@ -70,7 +71,7 @@ export var RootAccountSharing = (_dec = withStyleOverrides(generateStyle, genera
|
|
|
70
71
|
}]);
|
|
71
72
|
RootAccountSharing.displayName = "RootAccountSharing";
|
|
72
73
|
return RootAccountSharing;
|
|
73
|
-
}(Component), _RootAccountSharing.
|
|
74
|
+
}(Component), _RootAccountSharing.propTypes = {
|
|
74
75
|
accountName: PropTypes.string,
|
|
75
76
|
onShareChange: PropTypes.func.isRequired,
|
|
76
77
|
onShareTypeChange: PropTypes.func.isRequired,
|
|
@@ -13,15 +13,15 @@ import { Grid } from '@instructure/ui-grid';
|
|
|
13
13
|
import { Avatar } from '@instructure/ui-avatar';
|
|
14
14
|
import { SimpleSelect } from '@instructure/ui-simple-select';
|
|
15
15
|
import { ScreenReaderContent } from '@instructure/ui-a11y-content';
|
|
16
|
-
import { jsx } from '@instructure/emotion';
|
|
17
|
-
import { CAN_EDIT, READ_ONLY, REMOVED_ACCESS, SHARED_WITH_COURSE
|
|
16
|
+
import { withStyle, jsx } from '@instructure/emotion';
|
|
17
|
+
import { CAN_EDIT, READ_ONLY, REMOVED_ACCESS, SHARED_WITH_COURSE } from '@instructure/quiz-common';
|
|
18
18
|
import t from '@instructure/quiz-i18n/es/format-message';
|
|
19
19
|
import { ContextualIconButton } from "../ContextualIconButton/index.js";
|
|
20
20
|
import generateStyle from "./styles.js";
|
|
21
21
|
var _ref3 = jsx(IconCoursesLine, {
|
|
22
22
|
size: "small"
|
|
23
23
|
});
|
|
24
|
-
export var ShareList = (_dec =
|
|
24
|
+
export var ShareList = (_dec = withStyle(generateStyle, null), _dec(_class = (_ShareList = /*#__PURE__*/function (_Component) {
|
|
25
25
|
_inherits(ShareList, _Component);
|
|
26
26
|
var _super = _createSuper(ShareList);
|
|
27
27
|
function ShareList() {
|
|
@@ -109,7 +109,7 @@ export var ShareList = (_dec = withStyleOverrides(generateStyle, null), _dec(_cl
|
|
|
109
109
|
}]);
|
|
110
110
|
ShareList.displayName = "ShareList";
|
|
111
111
|
return ShareList;
|
|
112
|
-
}(Component), _ShareList.
|
|
112
|
+
}(Component), _ShareList.propTypes = {
|
|
113
113
|
canEdit: PropTypes.bool.isRequired,
|
|
114
114
|
entities: ImmutablePropTypes.listOf(ImmutablePropTypes.contains({
|
|
115
115
|
entityType: PropTypes.string.isRequired,
|
|
@@ -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,
|