@pie-element/math-inline 8.4.7-next.9 → 8.4.7
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 +15 -0
- package/configure/CHANGELOG.md +11 -0
- package/configure/package.json +2 -2
- package/controller/CHANGELOG.md +11 -0
- package/controller/package.json +2 -2
- package/lib/main.js +84 -61
- package/lib/main.js.map +1 -1
- package/module/configure.js +2 -2
- package/module/element.js +79 -66
- package/module/manifest.json +2 -2
- package/module/print.js +79 -66
- package/package.json +3 -3
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_pie_framework__mathquill, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering, _dll_lodash, _dll_pie_framework__mathquill, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.4.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_math_toolbar, _dll_pie_lib__pie_toolbox_math_input, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@5.11.0/module/index.js";
|
|
3
3
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
4
4
|
function getDefaultExportFromCjs(x) {
|
|
5
5
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -11842,7 +11842,7 @@ function generateAdditionalKeys(keyData = []) {
|
|
|
11842
11842
|
function isChildOfCurrentPieElement(child, parent) {
|
|
11843
11843
|
let node = child;
|
|
11844
11844
|
while (node !== null) {
|
|
11845
|
-
if (node === parent) {
|
|
11845
|
+
if (parent && node === parent) {
|
|
11846
11846
|
return true;
|
|
11847
11847
|
}
|
|
11848
11848
|
node = node.parentNode;
|
|
@@ -11874,6 +11874,19 @@ function prepareForStatic(model, state) {
|
|
|
11874
11874
|
}).replace(NEWLINE_LATEX, '\\embed{newLine}[]');
|
|
11875
11875
|
}
|
|
11876
11876
|
}
|
|
11877
|
+
function parseAnswers(session, model) {
|
|
11878
|
+
const answers = {};
|
|
11879
|
+
if (model.config && model.config.expression) {
|
|
11880
|
+
let answerBlocks = 1;
|
|
11881
|
+
(model.config.expression || '').replace(REGEX, () => {
|
|
11882
|
+
answers[`r${answerBlocks}`] = {
|
|
11883
|
+
value: session && session.answers && session.answers[`r${answerBlocks}`] && session.answers[`r${answerBlocks}`].value || ''
|
|
11884
|
+
};
|
|
11885
|
+
answerBlocks += 1;
|
|
11886
|
+
});
|
|
11887
|
+
}
|
|
11888
|
+
return answers;
|
|
11889
|
+
}
|
|
11877
11890
|
class Main extends React$1.Component {
|
|
11878
11891
|
static __initStatic() {
|
|
11879
11892
|
this.propTypes = {
|
|
@@ -11901,16 +11914,8 @@ class Main extends React$1.Component {
|
|
|
11901
11914
|
Main.prototype.__init14.call(this);
|
|
11902
11915
|
Main.prototype.__init15.call(this);
|
|
11903
11916
|
Main.prototype.__init16.call(this);
|
|
11904
|
-
const
|
|
11905
|
-
|
|
11906
|
-
let answerBlocks = 1;
|
|
11907
|
-
(props.model.config.expression || '').replace(REGEX, () => {
|
|
11908
|
-
answers[`r${answerBlocks}`] = {
|
|
11909
|
-
value: props.session && props.session.answers && props.session.answers[`r${answerBlocks}`] && props.session.answers[`r${answerBlocks}`].value || ''
|
|
11910
|
-
};
|
|
11911
|
-
answerBlocks += 1;
|
|
11912
|
-
});
|
|
11913
|
-
}
|
|
11917
|
+
const {model, session} = props;
|
|
11918
|
+
const answers = parseAnswers(session, model);
|
|
11914
11919
|
this.state = {
|
|
11915
11920
|
session: {
|
|
11916
11921
|
...props.session,
|
|
@@ -11969,12 +11974,22 @@ class Main extends React$1.Component {
|
|
|
11969
11974
|
}
|
|
11970
11975
|
countResponseOccurrences(expression) {
|
|
11971
11976
|
const pattern = /\{\{response\}\}/g;
|
|
11972
|
-
const matches = _optionalChain([expression, 'optionalAccess',
|
|
11977
|
+
const matches = _optionalChain([expression, 'optionalAccess', _10 => _10.match, 'call', _11 => _11(pattern)]);
|
|
11973
11978
|
return matches ? matches.length : 0;
|
|
11974
11979
|
}
|
|
11975
11980
|
UNSAFE_componentWillReceiveProps(nextProps) {
|
|
11976
11981
|
const {config} = this.props.model;
|
|
11977
11982
|
const {config: nextConfig = {}} = nextProps.model || ({});
|
|
11983
|
+
const {session} = this.props;
|
|
11984
|
+
const {session: nextSession = {}} = nextProps || ({});
|
|
11985
|
+
if (session && nextSession && !isEqual(session.answers, nextSession.answers)) {
|
|
11986
|
+
this.setState({
|
|
11987
|
+
session: {
|
|
11988
|
+
...nextSession,
|
|
11989
|
+
answers: parseAnswers(nextSession, this.props.model)
|
|
11990
|
+
}
|
|
11991
|
+
});
|
|
11992
|
+
}
|
|
11978
11993
|
if (config.note && config.language && config.language !== nextConfig.language && config.note === translator.t('mathInline.primaryCorrectWithAlternates', {
|
|
11979
11994
|
lng: config.language
|
|
11980
11995
|
})) {
|
|
@@ -12027,8 +12042,8 @@ class Main extends React$1.Component {
|
|
|
12027
12042
|
}
|
|
12028
12043
|
componentDidUpdate(prevProps, prevState) {
|
|
12029
12044
|
this.handleAnswerBlockDomUpdate();
|
|
12030
|
-
const prevResponseType = _optionalChain([prevProps, 'access',
|
|
12031
|
-
const currentResponseType = _optionalChain([this, 'access',
|
|
12045
|
+
const prevResponseType = _optionalChain([prevProps, 'access', _12 => _12.model, 'optionalAccess', _13 => _13.config, 'optionalAccess', _14 => _14.responseType]);
|
|
12046
|
+
const currentResponseType = _optionalChain([this, 'access', _15 => _15.props, 'access', _16 => _16.model, 'optionalAccess', _17 => _17.config, 'optionalAccess', _18 => _18.responseType]);
|
|
12032
12047
|
if (prevResponseType !== currentResponseType) {
|
|
12033
12048
|
this.updateAria();
|
|
12034
12049
|
}
|
|
@@ -12074,22 +12089,21 @@ class Main extends React$1.Component {
|
|
|
12074
12089
|
}
|
|
12075
12090
|
__init4() {
|
|
12076
12091
|
this.handleKeyDown = (event, id) => {
|
|
12077
|
-
const
|
|
12078
|
-
const
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
const isClickOrTouchEvent = event.type === 'click' || event.type === 'touchstart';
|
|
12083
|
-
if (isAnswerInputFocused && (event.key === 'ArrowDown' || isClickOrTouchEvent)) {
|
|
12092
|
+
const isTrigerredFromActualPieElement = isChildOfCurrentPieElement(event.target, this.root);
|
|
12093
|
+
const isAnswerInputFocused = this.mqStatic && _optionalChain([this, 'access', _19 => _19.mqStatic, 'access', _20 => _20.inputRef, 'optionalAccess', _21 => _21.current, 'access', _22 => _22.contains, 'call', _23 => _23(document.activeElement)]);
|
|
12094
|
+
const {key, type} = event;
|
|
12095
|
+
const isClickOrTouchEvent = type === 'click' || type === 'touchstart';
|
|
12096
|
+
if (isAnswerInputFocused && (key === 'ArrowDown' || isClickOrTouchEvent)) {
|
|
12084
12097
|
if (this.state.activeAnswerBlock !== id && isTrigerredFromActualPieElement) {
|
|
12085
12098
|
this.cleanupKeyDownListener();
|
|
12086
12099
|
this.setState({
|
|
12087
12100
|
activeAnswerBlock: id
|
|
12101
|
+
}, () => {
|
|
12102
|
+
this.onSubFieldFocus(id);
|
|
12103
|
+
if (key === 'ArrowDown') {
|
|
12104
|
+
this.focusFirstKeypadElement();
|
|
12105
|
+
}
|
|
12088
12106
|
});
|
|
12089
|
-
this.onSubFieldFocus(id);
|
|
12090
|
-
}
|
|
12091
|
-
if (event.key === 'ArrowDown') {
|
|
12092
|
-
this.focusFirstKeypadElement();
|
|
12093
12107
|
}
|
|
12094
12108
|
} else if (event.key === 'Escape') {
|
|
12095
12109
|
this.setState({
|
|
@@ -12249,7 +12263,7 @@ class Main extends React$1.Component {
|
|
|
12249
12263
|
}
|
|
12250
12264
|
function getDeepChildDataKeypad(element, depth = 0) {
|
|
12251
12265
|
if (!element || depth >= 4) return null;
|
|
12252
|
-
const child = _optionalChain([element, 'optionalAccess',
|
|
12266
|
+
const child = _optionalChain([element, 'optionalAccess', _24 => _24.children, 'optionalAccess', _25 => _25[0]]);
|
|
12253
12267
|
if (!child) return null;
|
|
12254
12268
|
if (child.attributes && child.attributes['data-keypad']) {
|
|
12255
12269
|
return child;
|
|
@@ -12258,7 +12272,7 @@ class Main extends React$1.Component {
|
|
|
12258
12272
|
}
|
|
12259
12273
|
const parentWithTooltipRole = getParentWithRoleTooltip(relatedTarget);
|
|
12260
12274
|
const childWithDataKeypad = parentWithTooltipRole ? getDeepChildDataKeypad(parentWithTooltipRole) : null;
|
|
12261
|
-
if (!relatedTarget || !currentTarget || !_optionalChain([childWithDataKeypad, 'optionalAccess',
|
|
12275
|
+
if (!relatedTarget || !currentTarget || !_optionalChain([childWithDataKeypad, 'optionalAccess', _26 => _26.attributes, 'access', _27 => _27['data-keypad']])) {
|
|
12262
12276
|
if (!isKeypadOpen) {
|
|
12263
12277
|
this.setState({
|
|
12264
12278
|
activeAnswerBlock: ''
|
|
@@ -12300,7 +12314,7 @@ class Main extends React$1.Component {
|
|
|
12300
12314
|
__self: this,
|
|
12301
12315
|
__source: {
|
|
12302
12316
|
fileName: _jsxFileName,
|
|
12303
|
-
lineNumber:
|
|
12317
|
+
lineNumber: 616
|
|
12304
12318
|
}
|
|
12305
12319
|
}, React$1.createElement(mq.Static, {
|
|
12306
12320
|
className: classes.static,
|
|
@@ -12314,7 +12328,7 @@ class Main extends React$1.Component {
|
|
|
12314
12328
|
__self: this,
|
|
12315
12329
|
__source: {
|
|
12316
12330
|
fileName: _jsxFileName,
|
|
12317
|
-
lineNumber:
|
|
12331
|
+
lineNumber: 617
|
|
12318
12332
|
}
|
|
12319
12333
|
}));
|
|
12320
12334
|
const midContent = React$1.createElement('div', {
|
|
@@ -12322,14 +12336,14 @@ class Main extends React$1.Component {
|
|
|
12322
12336
|
__self: this,
|
|
12323
12337
|
__source: {
|
|
12324
12338
|
fileName: _jsxFileName,
|
|
12325
|
-
lineNumber:
|
|
12339
|
+
lineNumber: 631
|
|
12326
12340
|
}
|
|
12327
12341
|
}, mode === 'gather' && React$1.createElement('h2', {
|
|
12328
12342
|
className: classes.srOnly,
|
|
12329
12343
|
__self: this,
|
|
12330
12344
|
__source: {
|
|
12331
12345
|
fileName: _jsxFileName,
|
|
12332
|
-
lineNumber:
|
|
12346
|
+
lineNumber: 632
|
|
12333
12347
|
}
|
|
12334
12348
|
}, "Math Equation Response Question"), viewMode && teacherInstructions && hasText(teacherInstructions) && (!animationsDisabled ? React$1.createElement(Collapsible, {
|
|
12335
12349
|
className: classes.collapsible,
|
|
@@ -12340,7 +12354,7 @@ class Main extends React$1.Component {
|
|
|
12340
12354
|
__self: this,
|
|
12341
12355
|
__source: {
|
|
12342
12356
|
fileName: _jsxFileName,
|
|
12343
|
-
lineNumber:
|
|
12357
|
+
lineNumber: 638
|
|
12344
12358
|
}
|
|
12345
12359
|
}, React$1.createElement('div', {
|
|
12346
12360
|
dangerouslySetInnerHTML: {
|
|
@@ -12349,7 +12363,7 @@ class Main extends React$1.Component {
|
|
|
12349
12363
|
__self: this,
|
|
12350
12364
|
__source: {
|
|
12351
12365
|
fileName: _jsxFileName,
|
|
12352
|
-
lineNumber:
|
|
12366
|
+
lineNumber: 642
|
|
12353
12367
|
}
|
|
12354
12368
|
})) : React$1.createElement('div', {
|
|
12355
12369
|
dangerouslySetInnerHTML: {
|
|
@@ -12358,28 +12372,28 @@ class Main extends React$1.Component {
|
|
|
12358
12372
|
__self: this,
|
|
12359
12373
|
__source: {
|
|
12360
12374
|
fileName: _jsxFileName,
|
|
12361
|
-
lineNumber:
|
|
12375
|
+
lineNumber: 645
|
|
12362
12376
|
}
|
|
12363
12377
|
})), prompt && React$1.createElement('div', {
|
|
12364
12378
|
className: classes.promptContainer,
|
|
12365
12379
|
__self: this,
|
|
12366
12380
|
__source: {
|
|
12367
12381
|
fileName: _jsxFileName,
|
|
12368
|
-
lineNumber:
|
|
12382
|
+
lineNumber: 649
|
|
12369
12383
|
}
|
|
12370
12384
|
}, React$1.createElement(PreviewPrompt, {
|
|
12371
12385
|
prompt: prompt,
|
|
12372
12386
|
__self: this,
|
|
12373
12387
|
__source: {
|
|
12374
12388
|
fileName: _jsxFileName,
|
|
12375
|
-
lineNumber:
|
|
12389
|
+
lineNumber: 650
|
|
12376
12390
|
}
|
|
12377
12391
|
})), studentPrintMode ? printView : React$1.createElement(Readable, {
|
|
12378
12392
|
false: true,
|
|
12379
12393
|
__self: this,
|
|
12380
12394
|
__source: {
|
|
12381
12395
|
fileName: _jsxFileName,
|
|
12382
|
-
lineNumber:
|
|
12396
|
+
lineNumber: 657
|
|
12383
12397
|
}
|
|
12384
12398
|
}, React$1.createElement('div', {
|
|
12385
12399
|
className: classes.inputAndKeypadContainer,
|
|
@@ -12387,7 +12401,7 @@ class Main extends React$1.Component {
|
|
|
12387
12401
|
__self: this,
|
|
12388
12402
|
__source: {
|
|
12389
12403
|
fileName: _jsxFileName,
|
|
12390
|
-
lineNumber:
|
|
12404
|
+
lineNumber: 658
|
|
12391
12405
|
}
|
|
12392
12406
|
}, responseType === ResponseTypes.simple && React$1.createElement(SimpleQuestionBlock, {
|
|
12393
12407
|
onSimpleResponseChange: this.onSimpleResponseChange,
|
|
@@ -12400,7 +12414,7 @@ class Main extends React$1.Component {
|
|
|
12400
12414
|
__self: this,
|
|
12401
12415
|
__source: {
|
|
12402
12416
|
fileName: _jsxFileName,
|
|
12403
|
-
lineNumber:
|
|
12417
|
+
lineNumber: 660
|
|
12404
12418
|
}
|
|
12405
12419
|
}), responseType === ResponseTypes.advanced && React$1.createElement('div', {
|
|
12406
12420
|
ref: tooltipContainerRef,
|
|
@@ -12414,7 +12428,7 @@ class Main extends React$1.Component {
|
|
|
12414
12428
|
__self: this,
|
|
12415
12429
|
__source: {
|
|
12416
12430
|
fileName: _jsxFileName,
|
|
12417
|
-
lineNumber:
|
|
12431
|
+
lineNumber: 672
|
|
12418
12432
|
}
|
|
12419
12433
|
}, React$1.createElement(Tooltip, {
|
|
12420
12434
|
ref: ref => this.setTooltipRef(ref),
|
|
@@ -12426,7 +12440,7 @@ class Main extends React$1.Component {
|
|
|
12426
12440
|
popper: classes.keypadTooltipPopper
|
|
12427
12441
|
},
|
|
12428
12442
|
PopperProps: {
|
|
12429
|
-
container: _optionalChain([tooltipContainerRef, 'optionalAccess',
|
|
12443
|
+
container: _optionalChain([tooltipContainerRef, 'optionalAccess', _28 => _28.current]) || undefined,
|
|
12430
12444
|
placement: 'bottom-start',
|
|
12431
12445
|
modifiers: {
|
|
12432
12446
|
preventOverflow: {
|
|
@@ -12448,7 +12462,7 @@ class Main extends React$1.Component {
|
|
|
12448
12462
|
__self: this,
|
|
12449
12463
|
__source: {
|
|
12450
12464
|
fileName: _jsxFileName,
|
|
12451
|
-
lineNumber:
|
|
12465
|
+
lineNumber: 707
|
|
12452
12466
|
}
|
|
12453
12467
|
}, React$1.createElement(HorizontalKeypad, {
|
|
12454
12468
|
additionalKeys: additionalKeys,
|
|
@@ -12457,13 +12471,13 @@ class Main extends React$1.Component {
|
|
|
12457
12471
|
__self: this,
|
|
12458
12472
|
__source: {
|
|
12459
12473
|
fileName: _jsxFileName,
|
|
12460
|
-
lineNumber:
|
|
12474
|
+
lineNumber: 716
|
|
12461
12475
|
}
|
|
12462
12476
|
})) || null),
|
|
12463
12477
|
__self: this,
|
|
12464
12478
|
__source: {
|
|
12465
12479
|
fileName: _jsxFileName,
|
|
12466
|
-
lineNumber:
|
|
12480
|
+
lineNumber: 682
|
|
12467
12481
|
}
|
|
12468
12482
|
}, React$1.createElement(mq.Static, {
|
|
12469
12483
|
className: classes.static,
|
|
@@ -12477,7 +12491,7 @@ class Main extends React$1.Component {
|
|
|
12477
12491
|
__self: this,
|
|
12478
12492
|
__source: {
|
|
12479
12493
|
fileName: _jsxFileName,
|
|
12480
|
-
lineNumber:
|
|
12494
|
+
lineNumber: 726
|
|
12481
12495
|
}
|
|
12482
12496
|
}))))), viewMode && displayNote && React$1.createElement('div', {
|
|
12483
12497
|
className: classes.note,
|
|
@@ -12487,7 +12501,7 @@ class Main extends React$1.Component {
|
|
|
12487
12501
|
__self: this,
|
|
12488
12502
|
__source: {
|
|
12489
12503
|
fileName: _jsxFileName,
|
|
12490
|
-
lineNumber:
|
|
12504
|
+
lineNumber: 744
|
|
12491
12505
|
}
|
|
12492
12506
|
}), viewMode && rationale && hasText(rationale) && (!animationsDisabled ? React$1.createElement(Collapsible, {
|
|
12493
12507
|
labels: {
|
|
@@ -12497,7 +12511,7 @@ class Main extends React$1.Component {
|
|
|
12497
12511
|
__self: this,
|
|
12498
12512
|
__source: {
|
|
12499
12513
|
fileName: _jsxFileName,
|
|
12500
|
-
lineNumber:
|
|
12514
|
+
lineNumber: 751
|
|
12501
12515
|
}
|
|
12502
12516
|
}, React$1.createElement('div', {
|
|
12503
12517
|
dangerouslySetInnerHTML: {
|
|
@@ -12506,7 +12520,7 @@ class Main extends React$1.Component {
|
|
|
12506
12520
|
__self: this,
|
|
12507
12521
|
__source: {
|
|
12508
12522
|
fileName: _jsxFileName,
|
|
12509
|
-
lineNumber:
|
|
12523
|
+
lineNumber: 752
|
|
12510
12524
|
}
|
|
12511
12525
|
})) : React$1.createElement('div', {
|
|
12512
12526
|
dangerouslySetInnerHTML: {
|
|
@@ -12515,17 +12529,16 @@ class Main extends React$1.Component {
|
|
|
12515
12529
|
__self: this,
|
|
12516
12530
|
__source: {
|
|
12517
12531
|
fileName: _jsxFileName,
|
|
12518
|
-
lineNumber:
|
|
12532
|
+
lineNumber: 755
|
|
12519
12533
|
}
|
|
12520
12534
|
})));
|
|
12521
12535
|
if (tooltipModeEnabled && (showCorrectAnswerToggle || teacherInstructions && hasText(teacherInstructions) || rationale && hasText(rationale) || feedback)) {
|
|
12522
12536
|
return React$1.createElement(UiLayout, {
|
|
12523
12537
|
extraCSSRules: extraCSSRules,
|
|
12524
|
-
id: id,
|
|
12525
12538
|
__self: this,
|
|
12526
12539
|
__source: {
|
|
12527
12540
|
fileName: _jsxFileName,
|
|
12528
|
-
lineNumber:
|
|
12541
|
+
lineNumber: 768
|
|
12529
12542
|
}
|
|
12530
12543
|
}, React$1.createElement(Tooltip, {
|
|
12531
12544
|
interactive: true,
|
|
@@ -12538,14 +12551,14 @@ class Main extends React$1.Component {
|
|
|
12538
12551
|
__self: this,
|
|
12539
12552
|
__source: {
|
|
12540
12553
|
fileName: _jsxFileName,
|
|
12541
|
-
lineNumber:
|
|
12554
|
+
lineNumber: 777
|
|
12542
12555
|
}
|
|
12543
12556
|
}, React$1.createElement('div', {
|
|
12544
12557
|
className: classes.main,
|
|
12545
12558
|
__self: this,
|
|
12546
12559
|
__source: {
|
|
12547
12560
|
fileName: _jsxFileName,
|
|
12548
|
-
lineNumber:
|
|
12561
|
+
lineNumber: 778
|
|
12549
12562
|
}
|
|
12550
12563
|
}, showCorrectAnswerToggle && React$1.createElement(CorrectAnswerToggle, {
|
|
12551
12564
|
language: language,
|
|
@@ -12556,7 +12569,7 @@ class Main extends React$1.Component {
|
|
|
12556
12569
|
__self: this,
|
|
12557
12570
|
__source: {
|
|
12558
12571
|
fileName: _jsxFileName,
|
|
12559
|
-
lineNumber:
|
|
12572
|
+
lineNumber: 780
|
|
12560
12573
|
}
|
|
12561
12574
|
})), teacherInstructions && hasText(teacherInstructions) && React$1.createElement(Collapsible, {
|
|
12562
12575
|
className: classes.collapsible,
|
|
@@ -12568,14 +12581,14 @@ class Main extends React$1.Component {
|
|
|
12568
12581
|
__self: this,
|
|
12569
12582
|
__source: {
|
|
12570
12583
|
fileName: _jsxFileName,
|
|
12571
|
-
lineNumber:
|
|
12584
|
+
lineNumber: 791
|
|
12572
12585
|
}
|
|
12573
12586
|
}, React$1.createElement(PreviewPrompt, {
|
|
12574
12587
|
prompt: teacherInstructions,
|
|
12575
12588
|
__self: this,
|
|
12576
12589
|
__source: {
|
|
12577
12590
|
fileName: _jsxFileName,
|
|
12578
|
-
lineNumber:
|
|
12591
|
+
lineNumber: 799
|
|
12579
12592
|
}
|
|
12580
12593
|
})), displayNote && hasText(note) && React$1.createElement(Collapsible, {
|
|
12581
12594
|
className: classes.collapsible,
|
|
@@ -12591,14 +12604,14 @@ class Main extends React$1.Component {
|
|
|
12591
12604
|
__self: this,
|
|
12592
12605
|
__source: {
|
|
12593
12606
|
fileName: _jsxFileName,
|
|
12594
|
-
lineNumber:
|
|
12607
|
+
lineNumber: 803
|
|
12595
12608
|
}
|
|
12596
12609
|
}, React$1.createElement(PreviewPrompt, {
|
|
12597
12610
|
prompt: note,
|
|
12598
12611
|
__self: this,
|
|
12599
12612
|
__source: {
|
|
12600
12613
|
fileName: _jsxFileName,
|
|
12601
|
-
lineNumber:
|
|
12614
|
+
lineNumber: 811
|
|
12602
12615
|
}
|
|
12603
12616
|
})), rationale && hasText(rationale) && React$1.createElement(Collapsible, {
|
|
12604
12617
|
className: classes.collapsible,
|
|
@@ -12610,14 +12623,14 @@ class Main extends React$1.Component {
|
|
|
12610
12623
|
__self: this,
|
|
12611
12624
|
__source: {
|
|
12612
12625
|
fileName: _jsxFileName,
|
|
12613
|
-
lineNumber:
|
|
12626
|
+
lineNumber: 816
|
|
12614
12627
|
}
|
|
12615
12628
|
}, React$1.createElement(PreviewPrompt, {
|
|
12616
12629
|
prompt: rationale,
|
|
12617
12630
|
__self: this,
|
|
12618
12631
|
__source: {
|
|
12619
12632
|
fileName: _jsxFileName,
|
|
12620
|
-
lineNumber:
|
|
12633
|
+
lineNumber: 824
|
|
12621
12634
|
}
|
|
12622
12635
|
})), feedback && React$1.createElement(Feedback, {
|
|
12623
12636
|
correctness: correctness.correctness,
|
|
@@ -12625,13 +12638,13 @@ class Main extends React$1.Component {
|
|
|
12625
12638
|
__self: this,
|
|
12626
12639
|
__source: {
|
|
12627
12640
|
fileName: _jsxFileName,
|
|
12628
|
-
lineNumber:
|
|
12641
|
+
lineNumber: 828
|
|
12629
12642
|
}
|
|
12630
12643
|
})),
|
|
12631
12644
|
__self: this,
|
|
12632
12645
|
__source: {
|
|
12633
12646
|
fileName: _jsxFileName,
|
|
12634
|
-
lineNumber:
|
|
12647
|
+
lineNumber: 769
|
|
12635
12648
|
}
|
|
12636
12649
|
}, React$1.createElement('div', {
|
|
12637
12650
|
className: classes.mainContainer,
|
|
@@ -12639,7 +12652,7 @@ class Main extends React$1.Component {
|
|
|
12639
12652
|
__self: this,
|
|
12640
12653
|
__source: {
|
|
12641
12654
|
fileName: _jsxFileName,
|
|
12642
|
-
lineNumber:
|
|
12655
|
+
lineNumber: 832
|
|
12643
12656
|
}
|
|
12644
12657
|
}, midContent)));
|
|
12645
12658
|
}
|
|
@@ -12654,7 +12667,7 @@ class Main extends React$1.Component {
|
|
|
12654
12667
|
__self: this,
|
|
12655
12668
|
__source: {
|
|
12656
12669
|
fileName: _jsxFileName,
|
|
12657
|
-
lineNumber:
|
|
12670
|
+
lineNumber: 841
|
|
12658
12671
|
}
|
|
12659
12672
|
}, midContent);
|
|
12660
12673
|
}
|
package/module/manifest.json
CHANGED