@pie-element/select-text 6.5.3-next.726 → 6.5.3-next.740
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/defaultConfiguration.js +2 -3
- package/configure/lib/defaultConfiguration.js.map +1 -1
- package/docs/demo/generate.js +61 -61
- package/module/configure.js +5 -6
- package/module/demo.js +34 -34
- package/module/element.js +2 -2
- package/module/manifest.json +2 -2
- package/module/print-demo.js +34 -34
- package/module/print.js +2 -2
- package/package.json +2 -2
|
@@ -28,7 +28,6 @@ var _default = {
|
|
|
28
28
|
promptEnabled: true,
|
|
29
29
|
teacherInstructionsEnabled: true,
|
|
30
30
|
studentInstructionsEnabled: true,
|
|
31
|
-
spellCheckEnabled: false,
|
|
32
31
|
toolbarEditorPosition: 'bottom'
|
|
33
32
|
},
|
|
34
33
|
configuration: {
|
|
@@ -81,8 +80,8 @@ var _default = {
|
|
|
81
80
|
label: 'Feedback'
|
|
82
81
|
},
|
|
83
82
|
spellCheck: {
|
|
84
|
-
label:
|
|
85
|
-
settings:
|
|
83
|
+
label: 'Spellcheck',
|
|
84
|
+
settings: false,
|
|
86
85
|
enabled: true
|
|
87
86
|
},
|
|
88
87
|
partialScoring: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/defaultConfiguration.js"],"names":["tokens","text","start","end","model","highlightChoices","partialScoring","maxSelections","mode","prompt","scoringType","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","
|
|
1
|
+
{"version":3,"sources":["../src/defaultConfiguration.js"],"names":["tokens","text","start","end","model","highlightChoices","partialScoring","maxSelections","mode","prompt","scoringType","feedbackEnabled","rationaleEnabled","promptEnabled","teacherInstructionsEnabled","studentInstructionsEnabled","toolbarEditorPosition","configuration","selectionCount","settings","label","correctAnswer","selections","rationale","studentInstructions","teacherInstructions","feedback","spellCheck","enabled"],"mappings":";;;;;;;AAAA,IAAMA,MAAM,GAAG,SAATA,MAAS;AAAA,SAAM,CACnB;AACEC,IAAAA,IAAI,EAAE,EADR;AAEEC,IAAAA,KAAK,EAAE,CAFT;AAGEC,IAAAA,GAAG,EAAE;AAHP,GADmB,CAAN;AAAA,CAAf;;eAQe;AACbC,EAAAA,KAAK,EAAE;AACLC,IAAAA,gBAAgB,EAAE,KADb;AAELC,IAAAA,cAAc,EAAE,KAFX;AAGLC,IAAAA,aAAa,EAAE,CAHV;AAILC,IAAAA,IAAI,EAAE,UAJD;AAKLC,IAAAA,MAAM,EAAE,2BALH;AAMLR,IAAAA,IAAI,EAAE,EAND;AAOLD,IAAAA,MAAM,EAAEA,MAAM,EAPT;AAQLU,IAAAA,WAAW,EAAE,MARR;AASLC,IAAAA,eAAe,EAAE,IATZ;AAULC,IAAAA,gBAAgB,EAAE,IAVb;AAWLC,IAAAA,aAAa,EAAE,IAXV;AAYLC,IAAAA,0BAA0B,EAAE,IAZvB;AAaLC,IAAAA,0BAA0B,EAAE,IAbvB;AAcLC,IAAAA,qBAAqB,EAAE;AAdlB,GADM;AAiBbC,EAAAA,aAAa,EAAE;AACbC,IAAAA,cAAc,EAAE;AACdC,MAAAA,QAAQ,EAAE,IADI;AAEdC,MAAAA,KAAK,EAAE;AAFO,KADH;AAKbC,IAAAA,aAAa,EAAE;AACbF,MAAAA,QAAQ,EAAE,IADG;AAEbC,MAAAA,KAAK,EAAE;AAFM,KALF;AASbE,IAAAA,UAAU,EAAE;AACVH,MAAAA,QAAQ,EAAE,IADA;AAEVC,MAAAA,KAAK,EAAE;AAFG,KATC;AAabf,IAAAA,gBAAgB,EAAE;AAChBc,MAAAA,QAAQ,EAAE,IADM;AAEhBC,MAAAA,KAAK,EAAE;AAFS,KAbL;AAiBbG,IAAAA,SAAS,EAAE;AACTJ,MAAAA,QAAQ,EAAE,IADD;AAETC,MAAAA,KAAK,EAAE;AAFE,KAjBE;AAqBbV,IAAAA,WAAW,EAAE;AACXS,MAAAA,QAAQ,EAAE,KADC;AAEXC,MAAAA,KAAK,EAAE;AAFI,KArBA;AAyBbI,IAAAA,mBAAmB,EAAE;AACnBL,MAAAA,QAAQ,EAAE,KADS;AAEnBC,MAAAA,KAAK,EAAE;AAFY,KAzBR;AA6BbK,IAAAA,mBAAmB,EAAE;AACnBN,MAAAA,QAAQ,EAAE,IADS;AAEnBC,MAAAA,KAAK,EAAE;AAFY,KA7BR;AAiCbX,IAAAA,MAAM,EAAE;AACNW,MAAAA,KAAK,EAAE,QADD;AAEND,MAAAA,QAAQ,EAAE;AAFJ,KAjCK;AAqCblB,IAAAA,IAAI,EAAE;AACJkB,MAAAA,QAAQ,EAAE,IADN;AAEJC,MAAAA,KAAK,EAAE;AAFH,KArCO;AAyCbpB,IAAAA,MAAM,EAAE;AACNmB,MAAAA,QAAQ,EAAE,IADJ;AAENC,MAAAA,KAAK,EAAE;AAFD,KAzCK;AA6CbM,IAAAA,QAAQ,EAAE;AACRP,MAAAA,QAAQ,EAAE,IADF;AAERC,MAAAA,KAAK,EAAE;AAFC,KA7CG;AAiDbO,IAAAA,UAAU,EAAE;AACVP,MAAAA,KAAK,EAAE,YADG;AAEVD,MAAAA,QAAQ,EAAC,KAFC;AAGVS,MAAAA,OAAO,EAAC;AAHE,KAjDC;AAsDbtB,IAAAA,cAAc,EAAE;AACda,MAAAA,QAAQ,EAAE,KADI;AAEdC,MAAAA,KAAK,EAAE;AAFO,KAtDH;AA0DbZ,IAAAA,IAAI,EAAE;AACJW,MAAAA,QAAQ,EAAE,IADN;AAEJC,MAAAA,KAAK,EAAE;AAFH;AA1DO;AAjBF,C","sourcesContent":["const tokens = () => [\n {\n text: '',\n start: 0,\n end: 0\n }\n];\n\nexport default {\n model: {\n highlightChoices: false,\n partialScoring: false,\n maxSelections: 2,\n mode: 'sentence',\n prompt: 'Question Prompt goes here',\n text: '',\n tokens: tokens(),\n scoringType: 'auto',\n feedbackEnabled: true,\n rationaleEnabled: true,\n promptEnabled: true,\n teacherInstructionsEnabled: true,\n studentInstructionsEnabled: true,\n toolbarEditorPosition: 'bottom'\n },\n configuration: {\n selectionCount: {\n settings: true,\n label: 'Selection count'\n },\n correctAnswer: {\n settings: true,\n label: 'Correct Answers'\n },\n selections: {\n settings: true,\n label: 'Selections Available'\n },\n highlightChoices: {\n settings: true,\n label: 'Highlight choices'\n },\n rationale: {\n settings: true,\n label: 'Rationale'\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 },\n prompt: {\n label: 'Prompt',\n settings: true\n },\n text: {\n settings: true,\n label: 'Content'\n },\n tokens: {\n settings: true,\n label: 'Tokens'\n },\n feedback: {\n settings: true,\n label: 'Feedback'\n },\n spellCheck: {\n label: 'Spellcheck',\n settings:false,\n enabled:true\n },\n partialScoring: {\n settings: false,\n label: 'Allow Partial Scoring'\n },\n mode: {\n settings: true,\n label: 'Mode'\n }\n }\n};\n"],"file":"defaultConfiguration.js"}
|
package/docs/demo/generate.js
CHANGED
|
@@ -207,98 +207,98 @@ exports.htmlAscii = (id, element) => ({
|
|
|
207
207
|
);
|
|
208
208
|
|
|
209
209
|
const simpleItem = {
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
'text': 'A. Almost never\n\nB. Once in a while\n\nC. Sometimes\n\nD. Often\n\nE. Almost all the time',
|
|
211
|
+
'tokens': [
|
|
212
212
|
{
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
'text': 'A. Almost never',
|
|
214
|
+
'end': 15,
|
|
215
|
+
'start': 0,
|
|
216
|
+
'correct': true
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
219
|
+
'start': 17,
|
|
220
|
+
'end': 35,
|
|
221
|
+
'correct': false,
|
|
222
|
+
'text': 'B. Once in a while'
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
'correct': false,
|
|
226
|
+
'end': 49,
|
|
227
|
+
'start': 37,
|
|
228
|
+
'text': 'C. Sometimes'
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
'text': 'D. Often',
|
|
232
|
+
'correct': false,
|
|
233
|
+
'end': 59,
|
|
234
|
+
'start': 51
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
'start': 61,
|
|
238
|
+
'correct': false,
|
|
239
|
+
'end': 83,
|
|
240
|
+
'text': 'E. Almost all the time'
|
|
241
241
|
}
|
|
242
242
|
],
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
243
|
+
'rationale': '<p>answers vary</p>',
|
|
244
|
+
'partialScoring': true,
|
|
245
|
+
'teacherInstructions': '',
|
|
246
|
+
'prompt': '<p>I got my work done right away instead of waiting until the last minute.</p>',
|
|
247
|
+
'maxSelections': 1,
|
|
248
248
|
};
|
|
249
249
|
|
|
250
250
|
exports.model = (id, element) => {
|
|
251
251
|
return Object.assign({}, { id, element }, base( {
|
|
252
252
|
// "id": "8a808081701d693801703174fb900421",
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
253
|
+
'teacherInstructions': '',
|
|
254
|
+
'partialScoring': true,
|
|
255
|
+
'prompt': '<p>Select the sentence from "The Gymnast" that <span class="relative-emphasis">best</span> represents the theme.</p>',
|
|
256
|
+
'rationale': '<p>The final sentence of the passage best exemplifies the theme of the short story because Natasha's practice and determination finally pays off.</p>',
|
|
257
|
+
'tokens': [
|
|
258
258
|
{
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
259
|
+
'text': 'She thought about what she had to do, struggling to rein in her wild, fearful thoughts.',
|
|
260
|
+
'end': 90,
|
|
261
|
+
'start': 3,
|
|
262
|
+
'correct': false
|
|
263
263
|
},
|
|
264
264
|
{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
265
|
+
'start': 449,
|
|
266
|
+
'end': 585,
|
|
267
|
+
'text': 'Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.',
|
|
268
|
+
'correct': false
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
271
|
+
'end': 627,
|
|
272
|
+
'correct': false,
|
|
273
|
+
'text': 'At last Natasha\'s moment arrived.',
|
|
274
|
+
'start': 594
|
|
275
275
|
},
|
|
276
276
|
{
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
277
|
+
'end': 743,
|
|
278
|
+
'text': 'The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination.',
|
|
279
|
+
'correct': false,
|
|
280
|
+
'start': 628
|
|
281
281
|
},
|
|
282
282
|
{
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
283
|
+
'text': 'Suddenly, the din of the gymnasium was silent to her.',
|
|
284
|
+
'end': 997,
|
|
285
|
+
'correct': false,
|
|
286
|
+
'start': 944
|
|
287
287
|
},
|
|
288
288
|
{
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
289
|
+
'end': 1087,
|
|
290
|
+
'start': 998,
|
|
291
|
+
'correct': false,
|
|
292
|
+
'text': 'Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her.'
|
|
293
293
|
},
|
|
294
294
|
{
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
295
|
+
'correct': true,
|
|
296
|
+
'start': 1088,
|
|
297
|
+
'end': 1225,
|
|
298
|
+
'text': 'Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.'
|
|
299
299
|
}
|
|
300
300
|
],
|
|
301
301
|
// "element": "select-text",
|
|
302
|
-
|
|
302
|
+
'text': '<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn\'t as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings\'s fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha\'s moment arrived. The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination. "I am talented. I am not afraid. I will make a perfect 10," she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n'
|
|
303
303
|
} ));
|
|
304
304
|
};
|
package/module/configure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.0.
|
|
3
|
-
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.2.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.9/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__config_ui} from "../../../@pie-lib/config-module@^1.0.32/module/index.js";
|
|
3
|
+
import {_dll_pie_lib__editable_html} from "../../../@pie-lib/editable-html-module@^1.2.8/module/index.js";
|
|
4
4
|
const React$7 = _dll_react;
|
|
5
5
|
const PropTypes$6 = _dll_prop_types;
|
|
6
6
|
const {Button: Button} = _dll_material_ui__core;
|
|
@@ -2537,7 +2537,6 @@ var defaultValues = {
|
|
|
2537
2537
|
promptEnabled: true,
|
|
2538
2538
|
teacherInstructionsEnabled: true,
|
|
2539
2539
|
studentInstructionsEnabled: true,
|
|
2540
|
-
spellCheckEnabled: false,
|
|
2541
2540
|
toolbarEditorPosition: 'bottom'
|
|
2542
2541
|
},
|
|
2543
2542
|
configuration: {
|
|
@@ -2590,8 +2589,8 @@ var defaultValues = {
|
|
|
2590
2589
|
label: 'Feedback'
|
|
2591
2590
|
},
|
|
2592
2591
|
spellCheck: {
|
|
2593
|
-
label:
|
|
2594
|
-
settings:
|
|
2592
|
+
label: 'Spellcheck',
|
|
2593
|
+
settings: false,
|
|
2595
2594
|
enabled: true
|
|
2596
2595
|
},
|
|
2597
2596
|
partialScoring: {
|
package/module/demo.js
CHANGED
|
@@ -212,56 +212,56 @@ generate.htmlAscii = (id, element) => ({
|
|
|
212
212
|
generate.model = (id, element) => {
|
|
213
213
|
return Object.assign({}, { id, element }, base( {
|
|
214
214
|
// "id": "8a808081701d693801703174fb900421",
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
'teacherInstructions': '',
|
|
216
|
+
'partialScoring': true,
|
|
217
|
+
'prompt': '<p>Select the sentence from "The Gymnast" that <span class="relative-emphasis">best</span> represents the theme.</p>',
|
|
218
|
+
'rationale': '<p>The final sentence of the passage best exemplifies the theme of the short story because Natasha's practice and determination finally pays off.</p>',
|
|
219
|
+
'tokens': [
|
|
220
220
|
{
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
221
|
+
'text': 'She thought about what she had to do, struggling to rein in her wild, fearful thoughts.',
|
|
222
|
+
'end': 90,
|
|
223
|
+
'start': 3,
|
|
224
|
+
'correct': false
|
|
225
225
|
},
|
|
226
226
|
{
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
227
|
+
'start': 449,
|
|
228
|
+
'end': 585,
|
|
229
|
+
'text': 'Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.',
|
|
230
|
+
'correct': false
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
233
|
+
'end': 627,
|
|
234
|
+
'correct': false,
|
|
235
|
+
'text': 'At last Natasha\'s moment arrived.',
|
|
236
|
+
'start': 594
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
239
|
+
'end': 743,
|
|
240
|
+
'text': 'The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination.',
|
|
241
|
+
'correct': false,
|
|
242
|
+
'start': 628
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
245
|
+
'text': 'Suddenly, the din of the gymnasium was silent to her.',
|
|
246
|
+
'end': 997,
|
|
247
|
+
'correct': false,
|
|
248
|
+
'start': 944
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
251
|
+
'end': 1087,
|
|
252
|
+
'start': 998,
|
|
253
|
+
'correct': false,
|
|
254
|
+
'text': 'Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her.'
|
|
255
255
|
},
|
|
256
256
|
{
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
257
|
+
'correct': true,
|
|
258
|
+
'start': 1088,
|
|
259
|
+
'end': 1225,
|
|
260
|
+
'text': 'Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.'
|
|
261
261
|
}
|
|
262
262
|
],
|
|
263
263
|
// "element": "select-text",
|
|
264
|
-
|
|
264
|
+
'text': '<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn\'t as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings\'s fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha\'s moment arrived. The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination. "I am talented. I am not afraid. I will make a perfect 10," she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n'
|
|
265
265
|
} ));
|
|
266
266
|
};
|
|
267
267
|
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_pie_lib__correct_answer_toggle, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_pie_lib__correct_answer_toggle, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.9/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.34/module/index.js";
|
|
3
3
|
var lib$1 = {};
|
|
4
4
|
Object.defineProperty(lib$1, "__esModule", {
|
|
5
5
|
value: true
|
package/module/manifest.json
CHANGED
package/module/print-demo.js
CHANGED
|
@@ -210,56 +210,56 @@ generate.htmlAscii = (id, element) => ({
|
|
|
210
210
|
generate.model = (id, element) => {
|
|
211
211
|
return Object.assign({}, { id, element }, base( {
|
|
212
212
|
// "id": "8a808081701d693801703174fb900421",
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
213
|
+
'teacherInstructions': '',
|
|
214
|
+
'partialScoring': true,
|
|
215
|
+
'prompt': '<p>Select the sentence from "The Gymnast" that <span class="relative-emphasis">best</span> represents the theme.</p>',
|
|
216
|
+
'rationale': '<p>The final sentence of the passage best exemplifies the theme of the short story because Natasha's practice and determination finally pays off.</p>',
|
|
217
|
+
'tokens': [
|
|
218
218
|
{
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
219
|
+
'text': 'She thought about what she had to do, struggling to rein in her wild, fearful thoughts.',
|
|
220
|
+
'end': 90,
|
|
221
|
+
'start': 3,
|
|
222
|
+
'correct': false
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
'start': 449,
|
|
226
|
+
'end': 585,
|
|
227
|
+
'text': 'Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.',
|
|
228
|
+
'correct': false
|
|
229
229
|
},
|
|
230
230
|
{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
231
|
+
'end': 627,
|
|
232
|
+
'correct': false,
|
|
233
|
+
'text': 'At last Natasha\'s moment arrived.',
|
|
234
|
+
'start': 594
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
'end': 743,
|
|
238
|
+
'text': 'The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination.',
|
|
239
|
+
'correct': false,
|
|
240
|
+
'start': 628
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
243
|
+
'text': 'Suddenly, the din of the gymnasium was silent to her.',
|
|
244
|
+
'end': 997,
|
|
245
|
+
'correct': false,
|
|
246
|
+
'start': 944
|
|
247
247
|
},
|
|
248
248
|
{
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
'end': 1087,
|
|
250
|
+
'start': 998,
|
|
251
|
+
'correct': false,
|
|
252
|
+
'text': 'Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her.'
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
255
|
+
'correct': true,
|
|
256
|
+
'start': 1088,
|
|
257
|
+
'end': 1225,
|
|
258
|
+
'text': 'Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.'
|
|
259
259
|
}
|
|
260
260
|
],
|
|
261
261
|
// "element": "select-text",
|
|
262
|
-
|
|
262
|
+
'text': '<p>She thought about what she had to do, struggling to rein in her wild, fearful thoughts. Coach Cummings always said that an undisciplined mind never scored a perfect 10. Natasha wanted to please her Coach, yet sometimes his approval wasn\'t as exciting as his anger. The gymnasts were unanimous about one thing: Coach Cummings\'s fits of disapproving rage were much more humorous to witness than his infrequent, backslapping moments of high praise. Just for a hair of a moment, Natasha wondered if she really wanted a perfect 10, so weary was she of trying for but never achieving one.</p>\n\n<p>At last Natasha\'s moment arrived. The faces of past giants of gymnastics swam before her mind\'s eye, now razor–sharp with fierce determination. "I am talented. I am not afraid. I will make a perfect 10," she spoke aloud to herself, as she approached the mat, dusted her hands with chalk to prevent slippage, and returned to her starting point. Suddenly, the din of the gymnasium was silent to her. Forcing all sound out of her mind, she focused on the gleaming balance beam ahead of her. Taking a deep breath, Natasha made her graceful, yet powerful approach, mounted the beam flawlessly, and...executed her first perfect 10.</p>\n'
|
|
263
263
|
} ));
|
|
264
264
|
};
|
|
265
265
|
|
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_pie_lib__correct_answer_toggle, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.
|
|
2
|
-
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_material_ui__core, _dll_material_ui__core_styles, _dll_lodash, _dll_debug, _dll_classnames, _dll_pie_lib__render_ui, _dll_react_dom_server, _dll_pie_lib__correct_answer_toggle, _dll_react_dom} from "../../../@pie-lib/shared-module@^1.4.9/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__math_rendering} from "../../../@pie-lib/math-rendering-module@^1.0.34/module/index.js";
|
|
3
3
|
const React$7 = _dll_react;
|
|
4
4
|
const PropTypes$6 = _dll_prop_types;
|
|
5
5
|
const {Button: Button} = _dll_material_ui__core;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.5.3-next.
|
|
7
|
+
"version": "6.5.3-next.740+ebb74b562",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "ISC",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "ebb74b562b97ba429beb9efb3341d6f43f060a36",
|
|
23
23
|
"scripts": {
|
|
24
24
|
"postpublish": "../../scripts/postpublish"
|
|
25
25
|
},
|