@pie-element/select-text 6.5.23 → 6.5.26
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/CHANGELOG.md +24 -0
- package/configure/CHANGELOG.md +24 -0
- package/configure/lib/defaultConfiguration.js +5 -0
- package/configure/lib/defaultConfiguration.js.map +1 -1
- package/configure/lib/design.js +14 -6
- package/configure/lib/design.js.map +1 -1
- package/configure/lib/index.js +2 -2
- package/configure/lib/utils.js +2 -2
- package/configure/package.json +5 -5
- package/controller/CHANGELOG.md +8 -0
- package/controller/lib/index.js +6 -4
- package/controller/lib/index.js.map +1 -1
- package/controller/package.json +2 -2
- package/docs/config-schema.json +16 -0
- package/docs/config-schema.json.md +12 -0
- package/docs/demo/generate.js +61 -61
- package/docs/pie-schema.json +6 -0
- package/docs/pie-schema.json.md +4 -0
- package/lib/index.js +2 -2
- package/lib/main.js +2 -2
- package/lib/print.js +2 -1
- package/lib/print.js.map +1 -1
- package/lib/utils.js +2 -2
- package/module/configure.js +32 -22
- package/module/demo.js +34 -34
- package/module/element.js +2 -2
- package/module/index.html +1 -1
- package/module/manifest.json +3 -3
- package/module/print-demo.js +34 -34
- package/module/print.html +1 -1
- package/module/print.js +4 -3
- package/package.json +6 -6
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.html
CHANGED
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;
|
|
@@ -2454,7 +2454,8 @@ class SelectTextPrint extends HTMLElement {
|
|
|
2454
2454
|
model: printModel,
|
|
2455
2455
|
session: {
|
|
2456
2456
|
selectedTokens: []
|
|
2457
|
-
}
|
|
2457
|
+
},
|
|
2458
|
+
onSelectionChange: () => {}
|
|
2458
2459
|
});
|
|
2459
2460
|
ReactDOM.render(element, this, () => {
|
|
2460
2461
|
log('render complete - render math');
|
package/package.json
CHANGED
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.5.
|
|
7
|
+
"version": "6.5.26",
|
|
8
8
|
"description": "",
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/correct-answer-toggle": "^2.3.
|
|
13
|
-
"@pie-lib/math-rendering": "^2.3.
|
|
14
|
-
"@pie-lib/render-ui": "^4.12.
|
|
15
|
-
"@pie-lib/text-select": "^1.8.
|
|
12
|
+
"@pie-lib/correct-answer-toggle": "^2.3.35",
|
|
13
|
+
"@pie-lib/math-rendering": "^2.3.13",
|
|
14
|
+
"@pie-lib/render-ui": "^4.12.5",
|
|
15
|
+
"@pie-lib/text-select": "^1.8.14",
|
|
16
16
|
"prop-types": "^15.6.1",
|
|
17
17
|
"react": "^16.8.1",
|
|
18
18
|
"react-dom": "^16.8.1"
|
|
19
19
|
},
|
|
20
20
|
"author": "",
|
|
21
21
|
"license": "ISC",
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "92cd24e6736b2eed8f82ac44ba775ad4f2080ade",
|
|
23
23
|
"scripts": {
|
|
24
24
|
"postpublish": "../../scripts/postpublish"
|
|
25
25
|
},
|