@pie-element/extended-text-entry 7.1.9 → 7.1.10-next.173
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/lib/defaults.js +6 -2
- package/configure/lib/defaults.js.map +1 -1
- package/configure/lib/main.js +68 -38
- package/configure/lib/main.js.map +1 -1
- package/configure/package.json +1 -1
- package/docs/config-schema.json +16 -0
- package/docs/config-schema.json.md +12 -0
- package/docs/demo/generate.js +2 -1
- package/docs/pie-schema.json +6 -0
- package/docs/pie-schema.json.md +4 -0
- package/package.json +2 -2
|
@@ -54,12 +54,12 @@ var _default = {
|
|
|
54
54
|
enabled: false
|
|
55
55
|
},
|
|
56
56
|
spanishInput: {
|
|
57
|
-
settings:
|
|
57
|
+
settings: true,
|
|
58
58
|
label: 'Students can insert Spanish',
|
|
59
59
|
enabled: false
|
|
60
60
|
},
|
|
61
61
|
specialInput: {
|
|
62
|
-
settings:
|
|
62
|
+
settings: true,
|
|
63
63
|
label: 'Students can insert Special Characters',
|
|
64
64
|
enabled: false
|
|
65
65
|
},
|
|
@@ -87,6 +87,10 @@ var _default = {
|
|
|
87
87
|
maxImageHeight: {
|
|
88
88
|
teacherInstructions: 300,
|
|
89
89
|
prompt: 300
|
|
90
|
+
},
|
|
91
|
+
withRubric: {
|
|
92
|
+
settings: false,
|
|
93
|
+
label: 'Add Rubric'
|
|
90
94
|
}
|
|
91
95
|
}
|
|
92
96
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaults.js"],"names":["model","dimensions","height","width","prompt","mathInput","spanishInput","specialInput","equationEditor","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","spellCheckEnabled","playerSpellCheckEnabled","toolbarEditorPosition","configuration","settings","label","spellCheck","enabled","playerSpellCheck","feedback","multiple","studentInstructions","teacherInstructions","maxImageWidth","maxImageHeight"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK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AAK,EAAE,4CAFE;AAGTE,MAAAA,OAAO,EAAE;AAHA,KAxBE;AA6Bbf,IAAAA,YAAY,EAAE;AACZY,MAAAA,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"sources":["../src/defaults.js"],"names":["model","dimensions","height","width","prompt","mathInput","spanishInput","specialInput","equationEditor","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","spellCheckEnabled","playerSpellCheckEnabled","toolbarEditorPosition","configuration","settings","label","spellCheck","enabled","playerSpellCheck","feedback","multiple","studentInstructions","teacherInstructions","maxImageWidth","maxImageHeight","withRubric"],"mappings":";;;;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,UAAU,EAAE;AACVC,MAAAA,MAAM,EAAE,GADE;AAEVC,MAAAA,KAAK,EAAE;AAFG,KADP;AAKLC,IAAAA,MAAM,EAAE,6BALH;AAMLC,IAAAA,SAAS,EAAE,KANN;AAOLC,IAAAA,YAAY,EAAE,KAPT;AAQLC,IAAAA,YAAY,EAAE,KART;AASLC,IAAAA,cAAc,EAAE,cATX;AAULC,IAAAA,eAAe,EAAE,IAVZ;AAWLC,IAAAA,gBAAgB,EAAE,IAXb;AAYLC,IAAAA,aAAa,EAAE,IAZV;AAaLC,IAAAA,0BAA0B,EAAE,IAbvB;AAcLC,IAAAA,0BAA0B,EAAE,IAdvB;AAeLC,IAAAA,iBAAiB,EAAC,IAfb;AAgBLC,IAAAA,uBAAuB,EAAC,IAhBnB;AAiBLC,IAAAA,qBAAqB,EAAE;AAjBlB,GADM;AAoBbC,EAAAA,aAAa,EAAE;AACbhB,IAAAA,UAAU,EAAE;AACViB,MAAAA,QAAQ,EAAE,IADA;AAEVC,MAAAA,KAAK,EAAE;AAFG,KADC;AAKbC,IAAAA,UAAU,EAAE;AACVD,MAAAA,KAAK,EAAE,YADG;AAEVD,MAAAA,QAAQ,EAAC,KAFC;AAGVG,MAAAA,OAAO,EAAC;AAHE,KALC;AAUbC,IA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AAmB,EAAE,GADR;AAEbtB,MAAAA,MAAM,EAAE;AAFK,KAxDF;AA4DbwB,IAAAA,cAAc,EAAE;AACdF,MAAAA,mBAAmB,EAAE,GADP;AAEdtB,MAAAA,MAAM,EAAE;AAFM,KA5DH;AAgEbyB,IAAAA,UAAU,EAAE;AACVX,MAAAA,QAAQ,EAAE,KADA;AAEVC,MAAAA,KAAK,EAAE;AAFG;AAhEC;AApBF,C","sourcesContent":["export default {\n model: {\n dimensions: {\n height: 100,\n width: 500\n },\n prompt: 'This is the question prompt',\n mathInput: false,\n spanishInput: false,\n specialInput: false,\n equationEditor: 'Grade 8 - HS',\n feedbackEnabled: true,\n rationaleEnabled: true,\n promptEnabled: true,\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n spellCheckEnabled:true,\n playerSpellCheckEnabled:true,\n toolbarEditorPosition: 'bottom'\n },\n configuration: {\n dimensions: {\n settings: true,\n label: 'Text-Entry Display Size'\n },\n spellCheck: {\n label: 'Spellcheck',\n settings:false,\n enabled:true\n },\n playerSpellCheck: {\n label: 'Student Spellcheck',\n settings:true,\n enabled:true\n },\n equationEditor: {\n settings: false,\n label: 'Equation Editor',\n enabled: true,\n },\n feedback: {\n settings: true,\n label: 'Feedback'\n },\n mathInput: {\n settings: true,\n label: 'Student response can include math notation',\n enabled: false,\n },\n spanishInput: {\n settings: true,\n label: 'Students can insert Spanish',\n enabled: false,\n },\n specialInput: {\n settings: true,\n label: 'Students can insert Special Characters',\n enabled: false,\n },\n multiple: {\n settings: false,\n label: 'Multiple Parts',\n enabled: false,\n },\n studentInstructions: {\n settings: false,\n label: 'Student Instructions'\n },\n prompt: {\n settings: true,\n label: 'Prompt'\n },\n teacherInstructions: {\n settings: true,\n label: 'Teacher Instructions'\n },\n maxImageWidth: {\n teacherInstructions: 300,\n prompt: 300\n },\n maxImageHeight: {\n teacherInstructions: 300,\n prompt: 300\n },\n withRubric: {\n settings: false,\n label: 'Add Rubric'\n }\n }\n};\n"],"file":"defaults.js"}
|
package/configure/lib/main.js
CHANGED
|
@@ -103,6 +103,23 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
(0, _createClass2["default"])(Main, [{
|
|
106
|
+
key: "componentDidMount",
|
|
107
|
+
value: function componentDidMount() {
|
|
108
|
+
var _ref = this.props || {},
|
|
109
|
+
model = _ref.model,
|
|
110
|
+
onModelChanged = _ref.onModelChanged,
|
|
111
|
+
configuration = _ref.configuration;
|
|
112
|
+
|
|
113
|
+
var _ref2 = configuration || {},
|
|
114
|
+
withRubric = _ref2.withRubric;
|
|
115
|
+
|
|
116
|
+
if (withRubric.enabled) {
|
|
117
|
+
onModelChanged(_objectSpread(_objectSpread({}, model), {}, {
|
|
118
|
+
rubricEnabled: true
|
|
119
|
+
}));
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}, {
|
|
106
123
|
key: "render",
|
|
107
124
|
value: function render() {
|
|
108
125
|
var _this$props4 = this.props,
|
|
@@ -114,41 +131,43 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
114
131
|
imageSupport = _this$props4.imageSupport,
|
|
115
132
|
uploadSoundSupport = _this$props4.uploadSoundSupport;
|
|
116
133
|
|
|
117
|
-
var
|
|
118
|
-
|
|
119
|
-
multiple =
|
|
120
|
-
|
|
121
|
-
feedback =
|
|
122
|
-
|
|
123
|
-
teacherInstructions =
|
|
124
|
-
|
|
125
|
-
prompt =
|
|
126
|
-
|
|
127
|
-
studentInstructions =
|
|
128
|
-
|
|
129
|
-
mathInput =
|
|
130
|
-
|
|
131
|
-
spanishInput =
|
|
132
|
-
|
|
133
|
-
specialInput =
|
|
134
|
-
|
|
135
|
-
dimensions =
|
|
136
|
-
|
|
137
|
-
equationEditor =
|
|
138
|
-
|
|
139
|
-
spellCheck =
|
|
140
|
-
|
|
141
|
-
playerSpellCheck =
|
|
142
|
-
|
|
143
|
-
maxImageWidth =
|
|
144
|
-
|
|
145
|
-
maxImageHeight =
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
134
|
+
var _ref3 = configuration || {},
|
|
135
|
+
_ref3$multiple = _ref3.multiple,
|
|
136
|
+
multiple = _ref3$multiple === void 0 ? {} : _ref3$multiple,
|
|
137
|
+
_ref3$feedback = _ref3.feedback,
|
|
138
|
+
feedback = _ref3$feedback === void 0 ? {} : _ref3$feedback,
|
|
139
|
+
_ref3$teacherInstruct = _ref3.teacherInstructions,
|
|
140
|
+
teacherInstructions = _ref3$teacherInstruct === void 0 ? {} : _ref3$teacherInstruct,
|
|
141
|
+
_ref3$prompt = _ref3.prompt,
|
|
142
|
+
prompt = _ref3$prompt === void 0 ? {} : _ref3$prompt,
|
|
143
|
+
_ref3$studentInstruct = _ref3.studentInstructions,
|
|
144
|
+
studentInstructions = _ref3$studentInstruct === void 0 ? {} : _ref3$studentInstruct,
|
|
145
|
+
_ref3$mathInput = _ref3.mathInput,
|
|
146
|
+
mathInput = _ref3$mathInput === void 0 ? {} : _ref3$mathInput,
|
|
147
|
+
_ref3$spanishInput = _ref3.spanishInput,
|
|
148
|
+
spanishInput = _ref3$spanishInput === void 0 ? {} : _ref3$spanishInput,
|
|
149
|
+
_ref3$specialInput = _ref3.specialInput,
|
|
150
|
+
specialInput = _ref3$specialInput === void 0 ? {} : _ref3$specialInput,
|
|
151
|
+
_ref3$dimensions = _ref3.dimensions,
|
|
152
|
+
dimensions = _ref3$dimensions === void 0 ? {} : _ref3$dimensions,
|
|
153
|
+
_ref3$equationEditor = _ref3.equationEditor,
|
|
154
|
+
equationEditor = _ref3$equationEditor === void 0 ? {} : _ref3$equationEditor,
|
|
155
|
+
_ref3$spellCheck = _ref3.spellCheck,
|
|
156
|
+
spellCheck = _ref3$spellCheck === void 0 ? {} : _ref3$spellCheck,
|
|
157
|
+
_ref3$playerSpellChec = _ref3.playerSpellCheck,
|
|
158
|
+
playerSpellCheck = _ref3$playerSpellChec === void 0 ? {} : _ref3$playerSpellChec,
|
|
159
|
+
_ref3$maxImageWidth = _ref3.maxImageWidth,
|
|
160
|
+
maxImageWidth = _ref3$maxImageWidth === void 0 ? {} : _ref3$maxImageWidth,
|
|
161
|
+
_ref3$maxImageHeight = _ref3.maxImageHeight,
|
|
162
|
+
maxImageHeight = _ref3$maxImageHeight === void 0 ? {} : _ref3$maxImageHeight,
|
|
163
|
+
withRubric = _ref3.withRubric;
|
|
164
|
+
|
|
165
|
+
var _ref4 = model || {},
|
|
166
|
+
teacherInstructionsEnabled = _ref4.teacherInstructionsEnabled,
|
|
167
|
+
promptEnabled = _ref4.promptEnabled,
|
|
168
|
+
feedbackEnabled = _ref4.feedbackEnabled,
|
|
169
|
+
spellCheckEnabled = _ref4.spellCheckEnabled,
|
|
170
|
+
rubricEnabled = _ref4.rubricEnabled;
|
|
152
171
|
|
|
153
172
|
var toolbarOpts = {};
|
|
154
173
|
var defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;
|
|
@@ -202,7 +221,8 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
202
221
|
},
|
|
203
222
|
Properties: {
|
|
204
223
|
teacherInstructionsEnabled: teacherInstructions.settings && toggle(teacherInstructions.label),
|
|
205
|
-
studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label)
|
|
224
|
+
studentInstructionsEnabled: studentInstructions.settings && toggle(studentInstructions.label),
|
|
225
|
+
rubricEnabled: withRubric.settings && toggle(withRubric.label)
|
|
206
226
|
}
|
|
207
227
|
}
|
|
208
228
|
})
|
|
@@ -219,7 +239,12 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
219
239
|
spellCheck: spellCheckEnabled,
|
|
220
240
|
maxImageWidth: maxImageWidth && maxImageWidth.teacherInstructions || defaultImageMaxWidth,
|
|
221
241
|
maxImageHeight: maxImageHeight && maxImageHeight.teacherInstructions || defaultImageMaxHeight,
|
|
222
|
-
uploadSoundSupport: uploadSoundSupport
|
|
242
|
+
uploadSoundSupport: uploadSoundSupport,
|
|
243
|
+
languageCharactersProps: [{
|
|
244
|
+
language: 'spanish'
|
|
245
|
+
}, {
|
|
246
|
+
language: 'special'
|
|
247
|
+
}]
|
|
223
248
|
})), /*#__PURE__*/_react["default"].createElement("br", null), promptEnabled && /*#__PURE__*/_react["default"].createElement(_configUi.InputContainer, {
|
|
224
249
|
label: prompt.label,
|
|
225
250
|
className: classes.promptContainer
|
|
@@ -234,7 +259,12 @@ var Main = /*#__PURE__*/function (_React$Component) {
|
|
|
234
259
|
spellCheck: spellCheckEnabled,
|
|
235
260
|
maxImageWidth: defaultImageMaxWidth,
|
|
236
261
|
maxImageHeight: defaultImageMaxHeight,
|
|
237
|
-
uploadSoundSupport: uploadSoundSupport
|
|
262
|
+
uploadSoundSupport: uploadSoundSupport,
|
|
263
|
+
languageCharactersProps: [{
|
|
264
|
+
language: 'spanish'
|
|
265
|
+
}, {
|
|
266
|
+
language: 'special'
|
|
267
|
+
}]
|
|
238
268
|
})), feedbackEnabled && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Typography["default"], {
|
|
239
269
|
className: classes.header,
|
|
240
270
|
variant: "subheading"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/main.jsx"],"names":["Panel","settings","toggle","numberFields","dropdown","defaultFeedback","type","Main","props","markup","onModelChanged","model","prompt","feedback","update","teacherInstructions","state","setDimensions","classes","configuration","onConfigurationChanged","imageSupport","uploadSoundSupport","multiple","studentInstructions","mathInput","spanishInput","specialInput","dimensions","equationEditor","spellCheck","playerSpellCheck","maxImageWidth","maxImageHeight","teacherInstructionsEnabled","promptEnabled","feedbackEnabled","spellCheckEnabled","toolbarOpts","defaultImageMaxWidth","defaultImageMaxHeight","toolbarEditorPosition","position","config","Settings","label","enabled","width","suffix","min","max","height","playerSpellCheckEnabled","Properties","studentInstructionsEnabled","promptContainer","changeTeacherInstructions","ALL_PLUGINS","onPromptChange","header","changeFeedback","React","Component","PropTypes","func","isRequired","object","theme","paddingBottom","spacing","unit","paddingTop","marginBottom","promptInput","field"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAMA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,IAAQA,KAAR,GAAkDC,kBAAlD,CAAQD,KAAR;AAAA,IAAeE,MAAf,GAAkDD,kBAAlD,CAAeC,MAAf;AAAA,IAAuBC,YAAvB,GAAkDF,kBAAlD,CAAuBE,YAAvB;AAAA,IAAqCC,QAArC,GAAkDH,kBAAlD,CAAqCG,QAArC;AAEA,IAAMC,eAAe,GAAG;AACtBC,EAAAA,IAAI,EAAE,SADgB;AAEtB,aAAS;AAFa,CAAxB;;IAKaC,I;;;;;AAWX,gBAAYC,KAAZ,EAAmB;AAAA;;AAAA;AACjB,8BAAMA,KAAN;AADiB,uGAOF,UAACC,MAAD,EAAY;AAC3B,wBAAkC,MAAKD,KAAvC;AAAA,UAAQE,cAAR,eAAQA,cAAR;AAAA,UAAwBC,KAAxB,eAAwBA,KAAxB;AAEAD,MAAAA,cAAc,iCACTC,KADS;AAEZC,QAAAA,MAAM,EAAEH;AAFI,SAAd;AAID,KAdkB;AAAA,uGAgBF,UAACI,QAAD,EAAc;AAC7B,yBAAkC,MAAKL,KAAvC;AAAA,UAAQG,KAAR,gBAAQA,KAAR;AAAA,UAAeD,cAAf,gBAAeA,cAAf;;AACA,UAAMI,MAAM,mCAAQH,KAAR;AAAeE,QAAAA,QAAQ,EAARA;AAAf,QAAZ;;AACAH,MAAAA,cAAc,CAACI,MAAD,CAAd;AACD,KApBkB;AAAA,kHAsBS,UAACC,mBAAD,EAAyB;AACnD,yBAAkC,MAAKP,KAAvC;AAAA,UAAQG,KAAR,gBAAQA,KAAR;AAAA,UAAeD,cAAf,gBAAeA,cAAf;;AACA,UAAMI,MAAM,mCAAQH,KAAR;AAAeI,QAAAA,mBAAmB,EAAnBA;AAAf,QAAZ;;AACAL,MAAAA,cAAc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fvB,MAAAA,KAAK,EAAE;AAHQ,KAJmB;AASpC0B,IAAAA,WAAW,EAAE;AACX1B,MAAAA,KAAK,EAAE,MADI;AAEXyB,MAAAA,YAAY,EAAEL,KAAK,CAACE,OAAN,CAAcC;AAFjB,KATuB;AAapCI,IAAAA,KAAK,EAAE;AACL3B,MAAAA,KAAK,EAAE;AADF;AAb6B,GAAZ;AAAA,CAAX,EAgBXxC,IAhBW,C","sourcesContent":["import React from 'react';\nimport {\n FeedbackSelector,\n InputContainer,\n settings,\n layout,\n} from '@pie-lib/config-ui';\nimport PropTypes from 'prop-types';\nimport Typography from '@material-ui/core/Typography';\nimport { withStyles } from '@material-ui/core/styles';\nimport EditableHtml, { ALL_PLUGINS } from '@pie-lib/editable-html';\n\nconst { Panel, toggle, numberFields, dropdown } = settings;\n\nconst defaultFeedback = {\n type: 'default',\n default: 'Your answer has been submitted',\n};\n\nexport class Main extends React.Component {\n static propTypes = {\n onModelChanged: PropTypes.func.isRequired,\n onConfigurationChanged: PropTypes.func,\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n imageSupport: PropTypes.object.isRequired,\n uploadSoundSupport: PropTypes.object.isRequired,\n classes: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n setDimensions: true,\n };\n }\n\n onPromptChange = (markup) => {\n const { onModelChanged, model } = this.props;\n\n onModelChanged({\n ...model,\n prompt: markup,\n });\n };\n\n changeFeedback = (feedback) => {\n const { model, onModelChanged } = this.props;\n const update = { ...model, feedback };\n onModelChanged(update);\n };\n\n changeTeacherInstructions = (teacherInstructions) => {\n const { model, onModelChanged } = this.props;\n const update = { ...model, teacherInstructions };\n onModelChanged(update);\n };\n\n render() {\n const {\n model,\n classes,\n onModelChanged,\n configuration,\n onConfigurationChanged,\n imageSupport,\n uploadSoundSupport\n } = this.props;\n const {\n multiple = {},\n feedback = {},\n teacherInstructions = {},\n prompt = {},\n studentInstructions = {},\n mathInput = {},\n spanishInput = {},\n specialInput = {},\n dimensions = {},\n equationEditor = {},\n spellCheck = {},\n playerSpellCheck = {},\n maxImageWidth = {},\n maxImageHeight = {}\n } = configuration || {};\n const { teacherInstructionsEnabled, promptEnabled, feedbackEnabled, spellCheckEnabled } =\n model || {};\n const toolbarOpts = {};\n\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n\n switch (model.toolbarEditorPosition) {\n case 'top':\n toolbarOpts.position = 'top';\n break;\n default:\n toolbarOpts.position = 'bottom';\n break;\n }\n return (\n <layout.ConfigLayout\n settings={\n <Panel\n model={model}\n configuration={configuration}\n onChangeModel={(model) => onModelChanged(model)}\n onChangeConfiguration={(config) => onConfigurationChanged(config)}\n groups={{\n Settings: {\n mathInput: mathInput.settings && toggle(mathInput.label),\n equationEditor:\n equationEditor.enabled &&\n model.mathInput &&\n dropdown(equationEditor.label, [\n 'non-negative-integers',\n 'integers',\n 'decimals',\n 'fractions',\n 'Grade 1 - 2',\n 'Grade 3 - 5',\n 'Grade 6 - 7',\n 'Grade 8 - HS',\n 'geometry',\n 'advanced-algebra',\n 'statistics',\n 'item-authoring',\n ]),\n spanishInput: spanishInput.settings && toggle(spanishInput.label),\n specialInput: specialInput.settings && toggle(specialInput.label),\n dimensions: numberFields(dimensions.label, {\n width: {\n label: 'Width (px)',\n suffix: 'px',\n min: 100,\n max: 500,\n },\n height: {\n label: 'Height (px)',\n suffix: 'px',\n min: 100,\n max: 500,\n },\n }),\n 'multiple.enabled':\n multiple.settings && toggle(multiple.label, true),\n promptEnabled: prompt.settings && toggle(prompt.label),\n feedbackEnabled: feedback.settings && toggle(feedback.label),\n spellCheckEnabled:\n spellCheck.settings && toggle(spellCheck.label),\n playerSpellCheckEnabled:\n playerSpellCheck.settings && toggle(playerSpellCheck.label),\n },\n Properties: {\n teacherInstructionsEnabled:\n teacherInstructions.settings &&\n toggle(teacherInstructions.label),\n studentInstructionsEnabled:\n studentInstructions.settings &&\n toggle(studentInstructions.label),\n },\n }}\n />\n }\n >\n <div>\n {teacherInstructionsEnabled && (\n <InputContainer\n label={teacherInstructions.label}\n className={classes.promptContainer}\n >\n <EditableHtml\n className={classes.prompt}\n markup={model.teacherInstructions || ''}\n onChange={this.changeTeacherInstructions}\n imageSupport={imageSupport}\n nonEmpty={false}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n maxImageWidth={maxImageWidth && maxImageWidth.teacherInstructions || defaultImageMaxWidth}\n maxImageHeight={maxImageHeight && maxImageHeight.teacherInstructions || defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n />\n </InputContainer>\n )}\n\n <br />\n\n {promptEnabled && (\n <InputContainer\n label={prompt.label}\n className={classes.promptContainer}\n >\n <EditableHtml\n activePlugins={ALL_PLUGINS}\n className={classes.prompt}\n markup={model.prompt || ''}\n onChange={this.onPromptChange}\n imageSupport={imageSupport}\n nonEmpty={false}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n maxImageWidth={defaultImageMaxWidth}\n maxImageHeight={defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n />\n </InputContainer>\n )}\n\n {feedbackEnabled && (\n <React.Fragment>\n <Typography className={classes.header} variant=\"subheading\">\n Feedback\n </Typography>\n\n <FeedbackSelector\n label=\"When submitted, show\"\n feedback={model.feedback || defaultFeedback}\n onChange={this.changeFeedback}\n toolbarOpts={toolbarOpts}\n />\n </React.Fragment>\n )}\n </div>\n </layout.ConfigLayout>\n );\n }\n}\nexport default withStyles((theme) => ({\n header: {\n paddingBottom: theme.spacing.unit,\n },\n promptContainer: {\n paddingTop: theme.spacing.unit * 2,\n marginBottom: theme.spacing.unit * 2,\n width: '100%',\n },\n promptInput: {\n width: '100%',\n marginBottom: theme.spacing.unit,\n },\n field: {\n width: '200px',\n },\n}))(Main);\n"],"file":"main.js"}
|
|
1
|
+
{"version":3,"sources":["../src/main.jsx"],"names":["Panel","settings","toggle","numberFields","dropdown","defaultFeedback","type","Main","props","markup","onModelChanged","model","prompt","feedback","update","teacherInstructions","state","setDimensions","configuration","withRubric","enabled","rubricEnabled","classes","onConfigurationChanged","imageSupport","uploadSoundSupport","multiple","studentInstructions","mathInput","spanishInput","specialInput","dimensions","equationEditor","spellCheck","playerSpellCheck","maxImageWidth","maxImageHeight","teacherInstructionsEnabled","promptEnabled","feedbackEnabled","spellCheckEnabled","toolbarOpts","defaultImageMaxWidth","defaultImageMaxHeight","toolbarEditorPosition","position","config","Settings","label","width","suffix","min","max","height","playerSpellCheckEnabled","Properties","studentInstructionsEnabled","promptContainer","changeTeacherInstructions","language","ALL_PLUGINS","onPromptChange","header","changeFeedback","React","Component","PropTypes","func","isRequired","object","theme","paddingBottom","spacing","unit","paddingTop","marginBottom","promptInput","field"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AAMA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAEA,IAAQA,KAAR,GAAkDC,kBAAlD,CAAQD,KAAR;AAAA,IAAeE,MAAf,GAAkDD,kBAAlD,CAAeC,MAAf;AAAA,IAAuBC,YAAvB,GAAkDF,kBAAlD,CAAuBE,YAAvB;AAAA,IAAqCC,QAArC,GAAkDH,kBAAlD,CAAqCG,QAArC;AAEA,IAAMC,eAAe,GAAG;AACtBC,EAAAA,IAAI,EAAE,SADgB;AAEtB,aAAS;AAFa,CAAxB;;IAKaC,I;;;;;AAWX,gBAAYC,KAAZ,EAAmB;AAAA;;AAAA;AACjB,8BAAMA,KAAN;AADiB,uGAOF,UAACC,MAAD,EAAY;AAC3B,wBAAkC,MAAKD,KAAvC;AAAA,UAAQE,cAAR,eAAQA,cAAR;AAAA,UAAwBC,KAAxB,eAAwBA,KAAxB;AAEAD,MAAAA,cAAc,iCACTC,KADS;AAEZC,QAAAA,MAAM,EAAEH;AAFI,SAAd;AAID,KAdkB;AAAA,uGAgBF,UAACI,QAAD,EAAc;AAC7B,yBAAkC,MAAKL,KAAvC;AAAA,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pC2B,IAAAA,WAAW,EAAE;AACX3B,MAAAA,KAAK,EAAE,MADI;AAEX0B,MAAAA,YAAY,EAAEL,KAAK,CAACE,OAAN,CAAcC;AAFjB,KATuB;AAapCI,IAAAA,KAAK,EAAE;AACL5B,MAAAA,KAAK,EAAE;AADF;AAb6B,GAAZ;AAAA,CAAX,EAgBX1C,IAhBW,C","sourcesContent":["import React from 'react';\nimport {\n FeedbackSelector,\n InputContainer,\n settings,\n layout,\n} from '@pie-lib/config-ui';\nimport PropTypes from 'prop-types';\nimport Typography from '@material-ui/core/Typography';\nimport { withStyles } from '@material-ui/core/styles';\nimport EditableHtml, { ALL_PLUGINS } from '@pie-lib/editable-html';\n\nconst { Panel, toggle, numberFields, dropdown } = settings;\n\nconst defaultFeedback = {\n type: 'default',\n default: 'Your answer has been submitted',\n};\n\nexport class Main extends React.Component {\n static propTypes = {\n onModelChanged: PropTypes.func.isRequired,\n onConfigurationChanged: PropTypes.func,\n model: PropTypes.object.isRequired,\n configuration: PropTypes.object.isRequired,\n imageSupport: PropTypes.object.isRequired,\n uploadSoundSupport: PropTypes.object.isRequired,\n classes: PropTypes.object.isRequired,\n };\n\n constructor(props) {\n super(props);\n this.state = {\n setDimensions: true,\n };\n }\n\n onPromptChange = (markup) => {\n const { onModelChanged, model } = this.props;\n\n onModelChanged({\n ...model,\n prompt: markup,\n });\n };\n\n changeFeedback = (feedback) => {\n const { model, onModelChanged } = this.props;\n const update = { ...model, feedback };\n onModelChanged(update);\n };\n\n changeTeacherInstructions = (teacherInstructions) => {\n const { model, onModelChanged } = this.props;\n const update = { ...model, teacherInstructions };\n onModelChanged(update);\n };\n\n componentDidMount() {\n const { model, onModelChanged, configuration } = this.props || {};\n const { withRubric } = configuration || {};\n\n if (withRubric.enabled) {\n onModelChanged({\n ...model,\n rubricEnabled: true,\n });\n }\n }\n\n render() {\n const {\n model,\n classes,\n onModelChanged,\n configuration,\n onConfigurationChanged,\n imageSupport,\n uploadSoundSupport\n } = this.props;\n const {\n multiple = {},\n feedback = {},\n teacherInstructions = {},\n prompt = {},\n studentInstructions = {},\n mathInput = {},\n spanishInput = {},\n specialInput = {},\n dimensions = {},\n equationEditor = {},\n spellCheck = {},\n playerSpellCheck = {},\n maxImageWidth = {},\n maxImageHeight = {},\n withRubric,\n } = configuration || {};\n const {\n teacherInstructionsEnabled,\n promptEnabled,\n feedbackEnabled,\n spellCheckEnabled,\n rubricEnabled\n } = model || {};\n const toolbarOpts = {};\n\n const defaultImageMaxWidth = maxImageWidth && maxImageWidth.prompt;\n const defaultImageMaxHeight = maxImageHeight && maxImageHeight.prompt;\n\n switch (model.toolbarEditorPosition) {\n case 'top':\n toolbarOpts.position = 'top';\n break;\n default:\n toolbarOpts.position = 'bottom';\n break;\n }\n return (\n <layout.ConfigLayout\n settings={\n <Panel\n model={model}\n configuration={configuration}\n onChangeModel={(model) => onModelChanged(model)}\n onChangeConfiguration={(config) => onConfigurationChanged(config)}\n groups={{\n Settings: {\n mathInput: mathInput.settings && toggle(mathInput.label),\n equationEditor:\n equationEditor.enabled &&\n model.mathInput &&\n dropdown(equationEditor.label, [\n 'non-negative-integers',\n 'integers',\n 'decimals',\n 'fractions',\n 'Grade 1 - 2',\n 'Grade 3 - 5',\n 'Grade 6 - 7',\n 'Grade 8 - HS',\n 'geometry',\n 'advanced-algebra',\n 'statistics',\n 'item-authoring',\n ]),\n spanishInput: spanishInput.settings && toggle(spanishInput.label),\n specialInput: specialInput.settings && toggle(specialInput.label),\n dimensions: numberFields(dimensions.label, {\n width: {\n label: 'Width (px)',\n suffix: 'px',\n min: 100,\n max: 500,\n },\n height: {\n label: 'Height (px)',\n suffix: 'px',\n min: 100,\n max: 500,\n },\n }),\n 'multiple.enabled':\n multiple.settings && toggle(multiple.label, true),\n promptEnabled: prompt.settings && toggle(prompt.label),\n feedbackEnabled: feedback.settings && toggle(feedback.label),\n spellCheckEnabled:\n spellCheck.settings && toggle(spellCheck.label),\n playerSpellCheckEnabled:\n playerSpellCheck.settings && toggle(playerSpellCheck.label),\n },\n Properties: {\n teacherInstructionsEnabled:\n teacherInstructions.settings &&\n toggle(teacherInstructions.label),\n studentInstructionsEnabled:\n studentInstructions.settings &&\n toggle(studentInstructions.label),\n rubricEnabled: withRubric.settings && toggle(withRubric.label)\n },\n }}\n />\n }\n >\n <div>\n {teacherInstructionsEnabled && (\n <InputContainer\n label={teacherInstructions.label}\n className={classes.promptContainer}\n >\n <EditableHtml\n className={classes.prompt}\n markup={model.teacherInstructions || ''}\n onChange={this.changeTeacherInstructions}\n imageSupport={imageSupport}\n nonEmpty={false}\n toolbarOpts={toolbarOpts}\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 />\n </InputContainer>\n )}\n\n <br />\n\n {promptEnabled && (\n <InputContainer\n label={prompt.label}\n className={classes.promptContainer}\n >\n <EditableHtml\n activePlugins={ALL_PLUGINS}\n className={classes.prompt}\n markup={model.prompt || ''}\n onChange={this.onPromptChange}\n imageSupport={imageSupport}\n nonEmpty={false}\n toolbarOpts={toolbarOpts}\n spellCheck={spellCheckEnabled}\n maxImageWidth={defaultImageMaxWidth}\n maxImageHeight={defaultImageMaxHeight}\n uploadSoundSupport={uploadSoundSupport}\n languageCharactersProps={[{ language: 'spanish' }, { language: 'special' }]}\n />\n </InputContainer>\n )}\n\n {feedbackEnabled && (\n <React.Fragment>\n <Typography className={classes.header} variant=\"subheading\">\n Feedback\n </Typography>\n\n <FeedbackSelector\n label=\"When submitted, show\"\n feedback={model.feedback || defaultFeedback}\n onChange={this.changeFeedback}\n toolbarOpts={toolbarOpts}\n />\n </React.Fragment>\n )}\n </div>\n </layout.ConfigLayout>\n );\n }\n}\nexport default withStyles((theme) => ({\n header: {\n paddingBottom: theme.spacing.unit,\n },\n promptContainer: {\n paddingTop: theme.spacing.unit * 2,\n marginBottom: theme.spacing.unit * 2,\n width: '100%',\n },\n promptInput: {\n width: '100%',\n marginBottom: theme.spacing.unit,\n },\n field: {\n width: '200px',\n },\n}))(Main);\n"],"file":"main.js"}
|
package/configure/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@material-ui/core": "^3.9.2",
|
|
12
12
|
"@pie-framework/pie-configure-events": "^1.3.0",
|
|
13
|
-
"@pie-lib/config-ui": "^11.0.
|
|
13
|
+
"@pie-lib/config-ui": "^11.0.20",
|
|
14
14
|
"@pie-lib/editable-html": "^9.2.2",
|
|
15
15
|
"lodash": "^4.17.15",
|
|
16
16
|
"prop-types": "^15.6.2",
|
package/docs/config-schema.json
CHANGED
|
@@ -210,6 +210,22 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
},
|
|
213
|
+
"withRubric": {
|
|
214
|
+
"title": "ConfigureProp",
|
|
215
|
+
"type": "object",
|
|
216
|
+
"properties": {
|
|
217
|
+
"settings": {
|
|
218
|
+
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
219
|
+
"type": "boolean",
|
|
220
|
+
"title": "settings"
|
|
221
|
+
},
|
|
222
|
+
"label": {
|
|
223
|
+
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"title": "label"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
},
|
|
213
229
|
"showPrompt": {
|
|
214
230
|
"description": "Determines whether prompt field will be displayed or not",
|
|
215
231
|
"default": true,
|
|
@@ -159,6 +159,18 @@ Indicates the max dimension for images in prompt - this is also the default dime
|
|
|
159
159
|
|
|
160
160
|
Indicates the max dimension for images in rationale
|
|
161
161
|
|
|
162
|
+
# `withRubric` (object)
|
|
163
|
+
|
|
164
|
+
Properties of the `withRubric` object:
|
|
165
|
+
|
|
166
|
+
## `settings` (boolean)
|
|
167
|
+
|
|
168
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
169
|
+
|
|
170
|
+
## `label` (string)
|
|
171
|
+
|
|
172
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
173
|
+
|
|
162
174
|
# `showPrompt` (boolean)
|
|
163
175
|
|
|
164
176
|
Determines whether prompt field will be displayed or not
|
package/docs/demo/generate.js
CHANGED
package/docs/pie-schema.json
CHANGED
|
@@ -148,6 +148,11 @@
|
|
|
148
148
|
"type": "string",
|
|
149
149
|
"title": "playersToolbarPosition"
|
|
150
150
|
},
|
|
151
|
+
"rubricEnabled": {
|
|
152
|
+
"description": "Indicates if Rubric is enabled",
|
|
153
|
+
"type": "boolean",
|
|
154
|
+
"title": "rubricEnabled"
|
|
155
|
+
},
|
|
151
156
|
"id": {
|
|
152
157
|
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
153
158
|
"type": "string",
|
|
@@ -166,6 +171,7 @@
|
|
|
166
171
|
"id",
|
|
167
172
|
"playerSpellCheckEnabled",
|
|
168
173
|
"rationaleEnabled",
|
|
174
|
+
"rubricEnabled",
|
|
169
175
|
"spellCheckEnabled",
|
|
170
176
|
"studentInstructionsEnabled",
|
|
171
177
|
"teacherInstructionsEnabled"
|
package/docs/pie-schema.json.md
CHANGED
|
@@ -126,6 +126,10 @@ This element must be one of the following enum values:
|
|
|
126
126
|
|
|
127
127
|
Default: `": 'bottom'"`
|
|
128
128
|
|
|
129
|
+
# `rubricEnabled` (boolean, required)
|
|
130
|
+
|
|
131
|
+
Indicates if Rubric is enabled
|
|
132
|
+
|
|
129
133
|
# `id` (string, required)
|
|
130
134
|
|
|
131
135
|
Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/extended-text-entry",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.10-next.173+d434ce108",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react": "^16.8.1",
|
|
23
23
|
"react-dom": "^16.8.1"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "d434ce108dd12cb05f72f676a79bbfba67944cb3",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"postpublish": "../../scripts/postpublish"
|
|
28
28
|
},
|