@pie-element/math-inline 12.1.1-next.147 → 12.1.1-next.16
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/configure.js +2 -0
- package/controller.js +1 -0
- package/dist/author/configure.d.ts +25 -0
- package/dist/author/configure.js +114 -0
- package/dist/author/defaults.d.ts +186 -0
- package/dist/author/defaults.js +145 -0
- package/dist/author/general-config-block.d.ts +35 -0
- package/dist/author/general-config-block.js +390 -0
- package/dist/author/index.d.ts +61 -0
- package/dist/author/index.js +80 -0
- package/dist/author/response.d.ts +40 -0
- package/dist/author/response.js +238 -0
- package/dist/author/utils.d.ts +14 -0
- package/dist/author/utils.js +13 -0
- package/dist/browser/author/index.js +35601 -0
- package/dist/browser/author/index.js.map +1 -0
- package/dist/browser/controller/index.js +37791 -0
- package/dist/browser/controller/index.js.map +1 -0
- package/dist/browser/delivery/index.js +84 -0
- package/dist/browser/delivery/index.js.map +1 -0
- package/dist/browser/dist--pvq7WNe.js +324 -0
- package/dist/browser/dist--pvq7WNe.js.map +1 -0
- package/dist/browser/dist-D8taXDhz.js +16748 -0
- package/dist/browser/dist-D8taXDhz.js.map +1 -0
- package/dist/browser/dist-DiGNNRzu.js +1426 -0
- package/dist/browser/dist-DiGNNRzu.js.map +1 -0
- package/dist/browser/main-AjqUtC75.js +973 -0
- package/dist/browser/main-AjqUtC75.js.map +1 -0
- package/dist/browser/math-inline.css +2 -0
- package/dist/browser/print/index.js +50 -0
- package/dist/browser/print/index.js.map +1 -0
- package/dist/controller/defaults.d.ts +44 -0
- package/dist/controller/defaults.js +39 -0
- package/dist/controller/index.d.ts +22 -0
- package/dist/controller/index.js +171 -0
- package/dist/controller/utils.d.ts +12 -0
- package/dist/controller/utils.js +7 -0
- package/dist/delivery/index.d.ts +22 -0
- package/dist/delivery/index.js +55 -0
- package/dist/delivery/main.d.ts +44 -0
- package/dist/delivery/main.js +606 -0
- package/dist/delivery/simple-question-block.d.ts +27 -0
- package/dist/delivery/simple-question-block.js +94 -0
- package/dist/delivery/utils.d.ts +12 -0
- package/dist/delivery/utils.js +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +224 -0
- package/dist/index.js +2 -0
- package/dist/math-inline.css +2 -0
- package/dist/print/index.d.ts +15 -0
- package/dist/print/index.js +50 -0
- package/dist/runtime-support.d.ts +12 -0
- package/dist/runtime-support.js +12 -0
- package/package.json +98 -25
- package/CHANGELOG.json +0 -2627
- package/CHANGELOG.md +0 -2473
- package/LICENSE.md +0 -5
- package/README.md +0 -3
- package/configure/CHANGELOG.json +0 -1652
- package/configure/CHANGELOG.md +0 -2101
- package/configure/lib/configure.js +0 -186
- package/configure/lib/configure.js.map +0 -1
- package/configure/lib/defaults.js +0 -185
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/general-config-block.js +0 -525
- package/configure/lib/general-config-block.js.map +0 -1
- package/configure/lib/index.js +0 -140
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/response.js +0 -369
- package/configure/lib/response.js.map +0 -1
- package/configure/lib/utils.js +0 -31
- package/configure/lib/utils.js.map +0 -1
- package/configure/package.json +0 -29
- package/controller/CHANGELOG.json +0 -1002
- package/controller/CHANGELOG.md +0 -1536
- package/controller/lib/defaults.js +0 -43
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -383
- package/controller/lib/index.js.map +0 -1
- package/controller/lib/utils.js +0 -11
- package/controller/lib/utils.js.map +0 -1
- package/controller/package.json +0 -26
- package/docs/config-schema.json +0 -2071
- package/docs/config-schema.json.md +0 -1533
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -41
- package/docs/demo/index.html +0 -1
- package/docs/demo/session.js +0 -11
- package/docs/pie-schema.json +0 -1472
- package/docs/pie-schema.json.md +0 -845
- package/lib/index.js +0 -94
- package/lib/index.js.map +0 -1
- package/lib/main.js +0 -1030
- package/lib/main.js.map +0 -1
- package/lib/print.js +0 -92
- package/lib/print.js.map +0 -1
- package/lib/simple-question-block.js +0 -148
- package/lib/simple-question-block.js.map +0 -1
- package/lib/utils.js +0 -11
- package/lib/utils.js.map +0 -1
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.default = exports.Configure = void 0;
|
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
|
-
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _styles = require("@mui/material/styles");
|
|
11
|
-
var _configUi = require("@pie-lib/config-ui");
|
|
12
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var _debug = _interopRequireDefault(require("debug"));
|
|
14
|
-
var _editableHtmlTipTap = _interopRequireDefault(require("@pie-lib/editable-html-tip-tap"));
|
|
15
|
-
var _generalConfigBlock = _interopRequireDefault(require("./general-config-block"));
|
|
16
|
-
var _utils = require("./utils");
|
|
17
|
-
const log = (0, _debug.default)('@pie-element:math-inline:configure');
|
|
18
|
-
const {
|
|
19
|
-
Panel,
|
|
20
|
-
toggle,
|
|
21
|
-
radio,
|
|
22
|
-
dropdown
|
|
23
|
-
} = _configUi.settings;
|
|
24
|
-
const PromptHolder = (0, _styles.styled)(_configUi.InputContainer)(({
|
|
25
|
-
theme
|
|
26
|
-
}) => ({
|
|
27
|
-
width: '100%',
|
|
28
|
-
paddingTop: theme.spacing(2),
|
|
29
|
-
marginBottom: theme.spacing(2)
|
|
30
|
-
}));
|
|
31
|
-
const ErrorText = (0, _styles.styled)('div')(({
|
|
32
|
-
theme
|
|
33
|
-
}) => ({
|
|
34
|
-
fontSize: theme.typography.fontSize - 2,
|
|
35
|
-
color: theme.palette.error.main,
|
|
36
|
-
paddingTop: theme.spacing(1)
|
|
37
|
-
}));
|
|
38
|
-
class Configure extends _react.default.Component {
|
|
39
|
-
constructor(...args) {
|
|
40
|
-
super(...args);
|
|
41
|
-
(0, _defineProperty2.default)(this, "onChange", model => {
|
|
42
|
-
this.props.onModelChanged(model);
|
|
43
|
-
});
|
|
44
|
-
(0, _defineProperty2.default)(this, "changeTeacherInstructions", teacherInstructions => {
|
|
45
|
-
this.props.onModelChanged({
|
|
46
|
-
...this.props.model,
|
|
47
|
-
teacherInstructions
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
(0, _defineProperty2.default)(this, "onFeedbackChange", feedback => {
|
|
51
|
-
const {
|
|
52
|
-
model,
|
|
53
|
-
onModelChanged
|
|
54
|
-
} = this.props;
|
|
55
|
-
model.feedback = feedback;
|
|
56
|
-
onModelChanged(model);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
render() {
|
|
60
|
-
const {
|
|
61
|
-
model,
|
|
62
|
-
imageSupport,
|
|
63
|
-
onModelChanged,
|
|
64
|
-
configuration,
|
|
65
|
-
onConfigurationChanged,
|
|
66
|
-
uploadSoundSupport
|
|
67
|
-
} = this.props;
|
|
68
|
-
const {
|
|
69
|
-
allowTrailingZeros = {},
|
|
70
|
-
baseInputConfiguration = {},
|
|
71
|
-
contentDimensions = {},
|
|
72
|
-
feedback = {},
|
|
73
|
-
ignoreOrder = {},
|
|
74
|
-
maxImageWidth = {},
|
|
75
|
-
maxImageHeight = {},
|
|
76
|
-
prompt = {},
|
|
77
|
-
rationale = {},
|
|
78
|
-
responseType = {},
|
|
79
|
-
scoringType = {},
|
|
80
|
-
settingsPanelDisabled,
|
|
81
|
-
spellCheck = {},
|
|
82
|
-
studentInstructions = {},
|
|
83
|
-
teacherInstructions = {},
|
|
84
|
-
withRubric = {},
|
|
85
|
-
mathMlOptions = {},
|
|
86
|
-
language = {},
|
|
87
|
-
languageChoices = {}
|
|
88
|
-
} = configuration || {};
|
|
89
|
-
const {
|
|
90
|
-
errors = {},
|
|
91
|
-
extraCSSRules,
|
|
92
|
-
feedbackEnabled,
|
|
93
|
-
promptEnabled,
|
|
94
|
-
rationaleEnabled,
|
|
95
|
-
spellCheckEnabled,
|
|
96
|
-
teacherInstructionsEnabled,
|
|
97
|
-
toolbarEditorPosition
|
|
98
|
-
} = model || {};
|
|
99
|
-
const {
|
|
100
|
-
teacherInstructions: teacherInstructionsError
|
|
101
|
-
} = errors;
|
|
102
|
-
log('[render] model', model);
|
|
103
|
-
const toolbarOpts = {
|
|
104
|
-
position: toolbarEditorPosition === 'top' ? 'top' : 'bottom'
|
|
105
|
-
};
|
|
106
|
-
const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;
|
|
107
|
-
const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;
|
|
108
|
-
const panelSettings = {
|
|
109
|
-
responseType: responseType.settings && radio(responseType.label, [_utils.ResponseTypes.simple, _utils.ResponseTypes.advanced]),
|
|
110
|
-
feedbackEnabled: feedback.settings && toggle(feedback.label),
|
|
111
|
-
promptEnabled: prompt.settings && toggle(prompt.label),
|
|
112
|
-
'language.enabled': language.settings && toggle(language.label, true),
|
|
113
|
-
language: language.settings && language.enabled && dropdown(languageChoices.label, languageChoices.options)
|
|
114
|
-
};
|
|
115
|
-
const panelProperties = {
|
|
116
|
-
teacherInstructionsEnabled: teacherInstructions.settings && toggle(teacherInstructions.label),
|
|
117
|
-
studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label),
|
|
118
|
-
rationaleEnabled: rationale.settings && toggle(rationale.label),
|
|
119
|
-
spellCheckEnabled: spellCheck.settings && toggle(spellCheck.label),
|
|
120
|
-
scoringType: scoringType.settings && radio(scoringType.label, ['auto', 'rubric']),
|
|
121
|
-
'ignoreOrder.enabled': ignoreOrder.settings && toggle(ignoreOrder.label),
|
|
122
|
-
'allowTrailingZeros.enabled': allowTrailingZeros.settings && toggle(allowTrailingZeros.label),
|
|
123
|
-
rubricEnabled: withRubric?.settings && toggle(withRubric?.label)
|
|
124
|
-
};
|
|
125
|
-
return /*#__PURE__*/_react.default.createElement(_configUi.layout.ConfigLayout, {
|
|
126
|
-
extraCSSRules: extraCSSRules,
|
|
127
|
-
dimensions: contentDimensions,
|
|
128
|
-
hideSettings: settingsPanelDisabled,
|
|
129
|
-
settings: /*#__PURE__*/_react.default.createElement(Panel, {
|
|
130
|
-
model: model,
|
|
131
|
-
configuration: configuration,
|
|
132
|
-
onChangeModel: model => onModelChanged(model),
|
|
133
|
-
onChangeConfiguration: config => onConfigurationChanged(config),
|
|
134
|
-
groups: {
|
|
135
|
-
Settings: panelSettings,
|
|
136
|
-
Properties: panelProperties
|
|
137
|
-
}
|
|
138
|
-
})
|
|
139
|
-
}, teacherInstructionsEnabled && /*#__PURE__*/_react.default.createElement(PromptHolder, {
|
|
140
|
-
label: teacherInstructions.label
|
|
141
|
-
}, /*#__PURE__*/_react.default.createElement(_editableHtmlTipTap.default, {
|
|
142
|
-
markup: model.teacherInstructions || '',
|
|
143
|
-
onChange: this.changeTeacherInstructions,
|
|
144
|
-
imageSupport: imageSupport,
|
|
145
|
-
nonEmpty: false,
|
|
146
|
-
error: teacherInstructionsError,
|
|
147
|
-
toolbarOpts: toolbarOpts,
|
|
148
|
-
pluginProps: (0, _utils.getPluginProps)(teacherInstructions?.inputConfiguration, baseInputConfiguration),
|
|
149
|
-
spellCheck: spellCheckEnabled,
|
|
150
|
-
maxImageWidth: maxImageWidth && maxImageWidth.teacherInstructions || defaultImageMaxWidth,
|
|
151
|
-
maxImageHeight: maxImageHeight && maxImageHeight.teacherInstructions || defaultImageMaxHeight,
|
|
152
|
-
uploadSoundSupport: uploadSoundSupport,
|
|
153
|
-
languageCharactersProps: [{
|
|
154
|
-
language: 'spanish'
|
|
155
|
-
}, {
|
|
156
|
-
language: 'special'
|
|
157
|
-
}],
|
|
158
|
-
mathMlOptions: mathMlOptions
|
|
159
|
-
}), teacherInstructionsError && /*#__PURE__*/_react.default.createElement(ErrorText, null, teacherInstructionsError)), /*#__PURE__*/_react.default.createElement(_generalConfigBlock.default, {
|
|
160
|
-
imageSupport: imageSupport,
|
|
161
|
-
uploadSoundSupport: uploadSoundSupport,
|
|
162
|
-
model: model,
|
|
163
|
-
configuration: configuration,
|
|
164
|
-
onChange: this.onChange,
|
|
165
|
-
rationaleEnabled: rationaleEnabled,
|
|
166
|
-
promptEnabled: promptEnabled,
|
|
167
|
-
toolbarOpts: toolbarOpts,
|
|
168
|
-
spellCheck: spellCheckEnabled
|
|
169
|
-
}), feedbackEnabled && /*#__PURE__*/_react.default.createElement(_configUi.FeedbackConfig, {
|
|
170
|
-
feedback: model.feedback,
|
|
171
|
-
onChange: this.onFeedbackChange,
|
|
172
|
-
toolbarOpts: toolbarOpts
|
|
173
|
-
}));
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
exports.Configure = Configure;
|
|
177
|
-
(0, _defineProperty2.default)(Configure, "propTypes", {
|
|
178
|
-
onModelChanged: _propTypes.default.func,
|
|
179
|
-
onConfigurationChanged: _propTypes.default.func,
|
|
180
|
-
model: _propTypes.default.object.isRequired,
|
|
181
|
-
configuration: _propTypes.default.object.isRequired,
|
|
182
|
-
imageSupport: _propTypes.default.object,
|
|
183
|
-
uploadSoundSupport: _propTypes.default.object
|
|
184
|
-
});
|
|
185
|
-
var _default = exports.default = Configure;
|
|
186
|
-
//# sourceMappingURL=configure.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configure.js","names":["_react","_interopRequireDefault","require","_styles","_configUi","_propTypes","_debug","_editableHtmlTipTap","_generalConfigBlock","_utils","log","debug","Panel","toggle","radio","dropdown","settings","PromptHolder","styled","InputContainer","theme","width","paddingTop","spacing","marginBottom","ErrorText","fontSize","typography","color","palette","error","main","Configure","React","Component","constructor","args","_defineProperty2","default","model","props","onModelChanged","teacherInstructions","feedback","render","imageSupport","configuration","onConfigurationChanged","uploadSoundSupport","allowTrailingZeros","baseInputConfiguration","contentDimensions","ignoreOrder","maxImageWidth","maxImageHeight","prompt","rationale","responseType","scoringType","settingsPanelDisabled","spellCheck","studentInstructions","withRubric","mathMlOptions","language","languageChoices","errors","extraCSSRules","feedbackEnabled","promptEnabled","rationaleEnabled","spellCheckEnabled","teacherInstructionsEnabled","toolbarEditorPosition","teacherInstructionsError","toolbarOpts","position","defaultImageMaxWidth","defaultImageMaxHeight","panelSettings","label","ResponseTypes","simple","advanced","enabled","options","panelProperties","studentInstructionsEnabled","rubricEnabled","createElement","layout","ConfigLayout","dimensions","hideSettings","onChangeModel","onChangeConfiguration","config","groups","Settings","Properties","markup","onChange","changeTeacherInstructions","nonEmpty","pluginProps","getPluginProps","inputConfiguration","languageCharactersProps","FeedbackConfig","onFeedbackChange","exports","PropTypes","func","object","isRequired","_default"],"sources":["../src/configure.jsx"],"sourcesContent":["import React from 'react';\nimport { styled } from '@mui/material/styles';\nimport { FeedbackConfig, settings, layout, InputContainer } from '@pie-lib/config-ui';\nimport PropTypes from 'prop-types';\nimport debug from 'debug';\nimport EditableHtml from '@pie-lib/editable-html-tip-tap';\nimport GeneralConfigBlock from './general-config-block';\nimport { getPluginProps, ResponseTypes } from './utils';\n\nconst log = debug('@pie-element:math-inline:configure');\nconst { Panel, toggle, radio, dropdown } = settings;\n\nconst PromptHolder = styled(InputContainer)(({ theme }) => ({\n width: '100%',\n paddingTop: theme.spacing(2),\n marginBottom: theme.spacing(2),\n}));\n\nconst ErrorText = styled('div')(({ theme }) => ({\n fontSize: theme.typography.fontSize - 2,\n color: theme.palette.error.main,\n paddingTop: theme.spacing(1),\n}));\n\nexport class Configure extends React.Component {\n static propTypes = {\n onModelChanged: PropTypes.func,\n onConfigurationChanged: PropTypes.func,\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n imageSupport: PropTypes.object,\n uploadSoundSupport: PropTypes.object,\n };\n\n onChange = (model) => {\n this.props.onModelChanged(model);\n };\n\n changeTeacherInstructions = (teacherInstructions) => {\n this.props.onModelChanged({\n ...this.props.model,\n teacherInstructions,\n });\n };\n\n onFeedbackChange = (feedback) => {\n const { model, onModelChanged } = this.props;\n model.feedback = feedback;\n onModelChanged(model);\n };\n\n render() {\n const { model, imageSupport, onModelChanged, configuration, onConfigurationChanged, uploadSoundSupport } =\n this.props;\n const {\n allowTrailingZeros = {},\n baseInputConfiguration = {},\n contentDimensions = {},\n feedback = {},\n ignoreOrder = {},\n maxImageWidth = {},\n maxImageHeight = {},\n prompt = {},\n rationale = {},\n responseType = {},\n scoringType = {},\n settingsPanelDisabled,\n spellCheck = {},\n studentInstructions = {},\n teacherInstructions = {},\n withRubric = {},\n mathMlOptions = {},\n language = {},\n languageChoices = {},\n } = configuration || {};\n const {\n errors = {},\n extraCSSRules,\n feedbackEnabled,\n promptEnabled,\n rationaleEnabled,\n spellCheckEnabled,\n teacherInstructionsEnabled,\n toolbarEditorPosition,\n } = model || {};\n\n const { teacherInstructions: teacherInstructionsError } = errors;\n\n log('[render] model', model);\n\n const toolbarOpts = {\n position: toolbarEditorPosition === 'top' ? 'top' : 'bottom',\n };\n\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n\n const panelSettings = {\n responseType: responseType.settings && radio(responseType.label, [ResponseTypes.simple, ResponseTypes.advanced]),\n feedbackEnabled: feedback.settings && toggle(feedback.label),\n promptEnabled: prompt.settings && toggle(prompt.label),\n 'language.enabled': language.settings && toggle(language.label, true),\n language: language.settings && language.enabled && dropdown(languageChoices.label, languageChoices.options),\n };\n const panelProperties = {\n teacherInstructionsEnabled: teacherInstructions.settings && toggle(teacherInstructions.label),\n studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label),\n rationaleEnabled: rationale.settings && toggle(rationale.label),\n spellCheckEnabled: spellCheck.settings && toggle(spellCheck.label),\n scoringType: scoringType.settings && radio(scoringType.label, ['auto', 'rubric']),\n 'ignoreOrder.enabled': ignoreOrder.settings && toggle(ignoreOrder.label),\n 'allowTrailingZeros.enabled': allowTrailingZeros.settings && toggle(allowTrailingZeros.label),\n rubricEnabled: withRubric?.settings && toggle(withRubric?.label),\n };\n\n return (\n <layout.ConfigLayout\n extraCSSRules={extraCSSRules}\n dimensions={contentDimensions}\n hideSettings={settingsPanelDisabled}\n settings={\n <Panel\n model={model}\n configuration={configuration}\n onChangeModel={(model) => onModelChanged(model)}\n onChangeConfiguration={(config) => onConfigurationChanged(config)}\n groups={{\n Settings: panelSettings,\n Properties: panelProperties,\n }}\n />\n }\n >\n {teacherInstructionsEnabled && (\n <PromptHolder label={teacherInstructions.label}>\n <EditableHtml\n markup={model.teacherInstructions || ''}\n onChange={this.changeTeacherInstructions}\n imageSupport={imageSupport}\n nonEmpty={false}\n error={teacherInstructionsError}\n toolbarOpts={toolbarOpts}\n pluginProps={getPluginProps(teacherInstructions?.inputConfiguration, baseInputConfiguration)}\n spellCheck={spellCheckEnabled}\n maxImageWidth={(maxImageWidth && maxImageWidth.teacherInstructions) || defaultImageMaxWidth}\n maxImageHeight={(maxImageHeight && maxImageHeight.teacherInstructions) || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n mathMlOptions={mathMlOptions}\n />\n {teacherInstructionsError && <ErrorText>{teacherInstructionsError}</ErrorText>}\n </PromptHolder>\n )}\n\n <GeneralConfigBlock\n imageSupport={imageSupport}\n uploadSoundSupport={uploadSoundSupport}\n model={model}\n configuration={configuration}\n onChange={this.onChange}\n rationaleEnabled={rationaleEnabled}\n promptEnabled={promptEnabled}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n />\n\n {feedbackEnabled && (\n <FeedbackConfig feedback={model.feedback} onChange={this.onFeedbackChange} toolbarOpts={toolbarOpts} />\n )}\n </layout.ConfigLayout>\n );\n }\n}\n\nexport default Configure;\n"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;A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A,CAAAmD,aAAA,CAACrF,SAAA,CAAAwG,cAAc;MAACjE,QAAQ,EAAEJ,KAAK,CAACI,QAAS;MAAC0D,QAAQ,EAAE,IAAI,CAACQ,gBAAiB;MAAClC,WAAW,EAAEA;IAAY,CAAE,CAErF,CAAC;EAE1B;AACF;AAACmC,OAAA,CAAA9E,SAAA,GAAAA,SAAA;AAAA,IAAAK,gBAAA,CAAAC,OAAA,EApJYN,SAAS,eACD;EACjBS,cAAc,EAAEsE,kBAAS,CAACC,IAAI;EAC9BjE,sBAAsB,EAAEgE,kBAAS,CAACC,IAAI;EACtCzE,KAAK,EAAEwE,kBAAS,CAACE,MAAM,CAACC,UAAU;EAClCpE,aAAa,EAAEiE,kBAAS,CAACE,MAAM,CAACC,UAAU;EAC1CrE,YAAY,EAAEkE,kBAAS,CAACE,MAAM;EAC9BjE,kBAAkB,EAAE+D,kBAAS,CAACE;AAChC,CAAC;AAAA,IAAAE,QAAA,GAAAL,OAAA,CAAAxE,OAAA,GA8IYN,SAAS","ignoreList":[]}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _utils = require("./utils");
|
|
8
|
-
/** NOTE: teacherInstructions, studentInstructions, rationale & scoringType
|
|
9
|
-
* functionalities are not defined yet - the value for those can belong to
|
|
10
|
-
* model or to configure
|
|
11
|
-
*/
|
|
12
|
-
var _default = exports.default = {
|
|
13
|
-
model: {
|
|
14
|
-
allowTrailingZerosDefault: false,
|
|
15
|
-
customKeys: [],
|
|
16
|
-
equationEditor: '8',
|
|
17
|
-
expression: '',
|
|
18
|
-
feedback: {
|
|
19
|
-
correct: {
|
|
20
|
-
default: 'Correct',
|
|
21
|
-
type: 'none'
|
|
22
|
-
},
|
|
23
|
-
incorrect: {
|
|
24
|
-
default: 'Incorrect',
|
|
25
|
-
type: 'none'
|
|
26
|
-
},
|
|
27
|
-
partial: {
|
|
28
|
-
default: 'Nearly',
|
|
29
|
-
type: 'none'
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
feedbackEnabled: false,
|
|
33
|
-
ignoreOrderDefault: false,
|
|
34
|
-
partialScoring: true,
|
|
35
|
-
prompt: '',
|
|
36
|
-
promptEnabled: true,
|
|
37
|
-
rationale: '',
|
|
38
|
-
rationaleEnabled: true,
|
|
39
|
-
responseType: _utils.ResponseTypes.advanced,
|
|
40
|
-
responses: [],
|
|
41
|
-
scoringType: 'auto',
|
|
42
|
-
studentInstructionsEnabled: true,
|
|
43
|
-
teacherInstructions: '',
|
|
44
|
-
teacherInstructionsEnabled: true,
|
|
45
|
-
toolbarEditorPosition: 'bottom',
|
|
46
|
-
validationDefault: 'literal'
|
|
47
|
-
},
|
|
48
|
-
configuration: {
|
|
49
|
-
baseInputConfiguration: {
|
|
50
|
-
h3: {
|
|
51
|
-
disabled: true
|
|
52
|
-
},
|
|
53
|
-
audio: {
|
|
54
|
-
disabled: false
|
|
55
|
-
},
|
|
56
|
-
video: {
|
|
57
|
-
disabled: false
|
|
58
|
-
},
|
|
59
|
-
image: {
|
|
60
|
-
disabled: false
|
|
61
|
-
},
|
|
62
|
-
textAlign: {
|
|
63
|
-
disabled: true
|
|
64
|
-
},
|
|
65
|
-
showParagraphs: {
|
|
66
|
-
disabled: false
|
|
67
|
-
},
|
|
68
|
-
separateParagraphs: {
|
|
69
|
-
disabled: true
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
prompt: {
|
|
73
|
-
settings: true,
|
|
74
|
-
label: 'Prompt',
|
|
75
|
-
inputConfiguration: {
|
|
76
|
-
audio: {
|
|
77
|
-
disabled: false
|
|
78
|
-
},
|
|
79
|
-
video: {
|
|
80
|
-
disabled: false
|
|
81
|
-
},
|
|
82
|
-
image: {
|
|
83
|
-
disabled: false
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
required: false
|
|
87
|
-
},
|
|
88
|
-
feedback: {
|
|
89
|
-
settings: true,
|
|
90
|
-
label: 'Feedback'
|
|
91
|
-
},
|
|
92
|
-
responseType: {
|
|
93
|
-
settings: true,
|
|
94
|
-
label: 'Response type'
|
|
95
|
-
},
|
|
96
|
-
rationale: {
|
|
97
|
-
settings: true,
|
|
98
|
-
label: 'Rationale',
|
|
99
|
-
inputConfiguration: {
|
|
100
|
-
audio: {
|
|
101
|
-
disabled: false
|
|
102
|
-
},
|
|
103
|
-
video: {
|
|
104
|
-
disabled: false
|
|
105
|
-
},
|
|
106
|
-
image: {
|
|
107
|
-
disabled: false
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
required: false
|
|
111
|
-
},
|
|
112
|
-
settingsPanelDisabled: false,
|
|
113
|
-
spellCheck: {
|
|
114
|
-
label: 'Spellcheck',
|
|
115
|
-
settings: false,
|
|
116
|
-
enabled: true
|
|
117
|
-
},
|
|
118
|
-
scoringType: {
|
|
119
|
-
settings: false,
|
|
120
|
-
label: 'Scoring Type'
|
|
121
|
-
},
|
|
122
|
-
studentInstructions: {
|
|
123
|
-
settings: false,
|
|
124
|
-
label: 'Student Instructions'
|
|
125
|
-
},
|
|
126
|
-
teacherInstructions: {
|
|
127
|
-
settings: true,
|
|
128
|
-
label: 'Teacher Instructions',
|
|
129
|
-
inputConfiguration: {
|
|
130
|
-
audio: {
|
|
131
|
-
disabled: false
|
|
132
|
-
},
|
|
133
|
-
video: {
|
|
134
|
-
disabled: false
|
|
135
|
-
},
|
|
136
|
-
image: {
|
|
137
|
-
disabled: false
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
required: false
|
|
141
|
-
},
|
|
142
|
-
partialScoring: {
|
|
143
|
-
settings: false,
|
|
144
|
-
label: 'Allow Partial Scoring'
|
|
145
|
-
},
|
|
146
|
-
ignoreOrder: {
|
|
147
|
-
settings: false,
|
|
148
|
-
label: 'Ignore Order',
|
|
149
|
-
enabled: true
|
|
150
|
-
},
|
|
151
|
-
allowTrailingZeros: {
|
|
152
|
-
settings: false,
|
|
153
|
-
label: 'Allow Trailing Zeros',
|
|
154
|
-
enabled: true
|
|
155
|
-
},
|
|
156
|
-
maxImageWidth: {
|
|
157
|
-
teacherInstructions: 300,
|
|
158
|
-
prompt: 300,
|
|
159
|
-
rationale: 300
|
|
160
|
-
},
|
|
161
|
-
maxImageHeight: {
|
|
162
|
-
teacherInstructions: 300,
|
|
163
|
-
prompt: 300,
|
|
164
|
-
rationale: 300
|
|
165
|
-
},
|
|
166
|
-
withRubric: {
|
|
167
|
-
settings: false,
|
|
168
|
-
label: 'Add Rubric'
|
|
169
|
-
},
|
|
170
|
-
mathMlOptions: {
|
|
171
|
-
mmlOutput: false,
|
|
172
|
-
mmlEditing: false
|
|
173
|
-
},
|
|
174
|
-
language: {
|
|
175
|
-
settings: false,
|
|
176
|
-
label: 'Specify Language',
|
|
177
|
-
enabled: false
|
|
178
|
-
},
|
|
179
|
-
languageChoices: {
|
|
180
|
-
label: 'Language Choices',
|
|
181
|
-
options: []
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
};
|
|
185
|
-
//# sourceMappingURL=defaults.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.js","names":["_utils","require","_default","exports","default","model","allowTrailingZerosDefault","customKeys","equationEditor","expression","feedback","correct","type","incorrect","partial","feedbackEnabled","ignoreOrderDefault","partialScoring","prompt","promptEnabled","rationale","rationaleEnabled","responseType","ResponseTypes","advanced","responses","scoringType","studentInstructionsEnabled","teacherInstructions","teacherInstructionsEnabled","toolbarEditorPosition","validationDefault","configuration","baseInputConfiguration","h3","disabled","audio","video","image","textAlign","showParagraphs","separateParagraphs","settings","label","inputConfiguration","required","settingsPanelDisabled","spellCheck","enabled","studentInstructions","ignoreOrder","allowTrailingZeros","maxImageWidth","maxImageHeight","withRubric","mathMlOptions","mmlOutput","mmlEditing","language","languageChoices","options"],"sources":["../src/defaults.js"],"sourcesContent":["import { ResponseTypes } from './utils';\n\n/** NOTE: teacherInstructions, studentInstructions, rationale & scoringType\n * functionalities are not defined yet - the value for those can belong to\n * model or to configure\n */\n\nexport default {\n model: {\n allowTrailingZerosDefault: false,\n customKeys: [],\n equationEditor: '8',\n expression: '',\n feedback: {\n correct: { default: 'Correct', type: 'none' },\n incorrect: { default: 'Incorrect', type: 'none' },\n partial: { default: 'Nearly', type: 'none' },\n },\n feedbackEnabled: false,\n ignoreOrderDefault: false,\n partialScoring: true,\n prompt: '',\n promptEnabled: true,\n rationale: '',\n rationaleEnabled: true,\n responseType: ResponseTypes.advanced,\n responses: [],\n scoringType: 'auto',\n studentInstructionsEnabled: true,\n teacherInstructions: '',\n teacherInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom',\n validationDefault: 'literal',\n },\n configuration: {\n baseInputConfiguration: {\n h3: { disabled: true },\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n textAlign: { disabled: true },\n showParagraphs: { disabled: false },\n separateParagraphs: { disabled: true },\n },\n prompt: {\n settings: true,\n label: 'Prompt',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n feedback: {\n settings: true,\n label: 'Feedback',\n },\n responseType: {\n settings: true,\n label: 'Response type',\n },\n rationale: {\n settings: true,\n label: 'Rationale',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n settingsPanelDisabled: false,\n spellCheck: {\n label: 'Spellcheck',\n settings: false,\n enabled: true,\n },\n scoringType: {\n settings: false,\n label: 'Scoring Type',\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions',\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions',\n inputConfiguration: {\n audio: { disabled: false },\n video: { disabled: false },\n image: { disabled: false },\n },\n required: false,\n },\n partialScoring: {\n settings: false,\n label: 'Allow Partial Scoring',\n },\n ignoreOrder: {\n settings: false,\n label: 'Ignore Order',\n enabled: true,\n },\n allowTrailingZeros: {\n settings: false,\n label: 'Allow Trailing Zeros',\n enabled: true,\n },\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300,\n rationale: 300,\n },\n withRubric: {\n settings: false,\n label: 'Add Rubric',\n },\n mathMlOptions: {\n mmlOutput: false,\n mmlEditing: false,\n },\n language: {\n settings: false,\n label: 'Specify Language',\n enabled: false,\n },\n languageChoices: {\n label: 'Language Choices',\n options: [],\n },\n },\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AAHA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAKe;EACbC,KAAK,EAAE;IACLC,yBAAyB,EAAE,KAAK;IAChCC,UAAU,EAAE,EAAE;IACdC,cAAc,EAAE,GAAG;IACnBC,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE;MACRC,OAAO,EAAE;QAAEP,OAAO,EAAE,SAAS;QAAEQ,IAAI,EAAE;MAAO,CAAC;MAC7CC,SAAS,EAAE;QAAET,OAAO,EAAE,WAAW;QAAEQ,IAAI,EAAE;MAAO,CAAC;MACjDE,OAAO,EAAE;QAAEV,OAAO,EAAE,QAAQ;QAAEQ,IAAI,EAAE;MAAO;IAC7C,CAAC;IACDG,eAAe,EAAE,KAAK;IACtBC,kBAAkB,EAAE,KAAK;IACzBC,cAAc,EAAE,IAAI;IACpBC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,IAAI;IACnBC,SAAS,EAAE,EAAE;IACbC,gBAAgB,EAAE,IAAI;IACtBC,YAAY,EAAEC,oBAAa,CAACC,QAAQ;IACpCC,SAAS,EAAE,EAAE;IACbC,WAAW,EAAE,MAAM;IACnBC,0BAA0B,EAAE,IAAI;IAChCC,mBAAmB,EAAE,EAAE;IACvBC,0BAA0B,EAAE,IAAI;IAChCC,qBAAqB,EAAE,QAAQ;IAC/BC,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