@pie-element/ebsr 10.5.5 → 10.5.6-next.12
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/package.json +1 -1
- package/controller/package.json +1 -1
- package/module/configure.js +2 -2
- package/module/element.js +70 -62
- package/module/index.html +1 -1
- package/module/manifest.json +3 -3
- package/module/print.html +1 -1
- package/module/print.js +70 -62
- package/package.json +4 -4
package/configure/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@material-ui/core": "^3.9.2",
|
|
11
11
|
"@pie-element/multiple-choice": "^9.15.5",
|
|
12
12
|
"@pie-framework/pie-configure-events": "^1.2.0",
|
|
13
|
-
"@pie-lib/pie-toolbox": "2.
|
|
13
|
+
"@pie-lib/pie-toolbox": "2.15.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
|
15
15
|
"prop-types": "^15.6.2",
|
|
16
16
|
"react": "^16.8.1",
|
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
|
|
2
2
|
import MultipleChoiceConfigure from '@pie-element/multiple-choice/configure/lib';
|
|
3
|
-
import {_dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@6.1.
|
|
3
|
+
import {_dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@6.1.2/module/index.js";
|
|
4
4
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
5
5
|
function getDefaultExportFromCjs(x) {
|
|
6
6
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
package/module/element.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@6.1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@6.1.2/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;
|
|
@@ -12205,6 +12205,14 @@ const styleSheet = theme => ({
|
|
|
12205
12205
|
'& > span': {
|
|
12206
12206
|
marginLeft: `-${theme.spacing.unit}px`
|
|
12207
12207
|
}
|
|
12208
|
+
},
|
|
12209
|
+
srOnly: {
|
|
12210
|
+
position: 'absolute',
|
|
12211
|
+
left: '-10000px',
|
|
12212
|
+
top: 'auto',
|
|
12213
|
+
width: '1px',
|
|
12214
|
+
height: '1px',
|
|
12215
|
+
overflow: 'hidden'
|
|
12208
12216
|
}
|
|
12209
12217
|
});
|
|
12210
12218
|
const formStyleSheet = {
|
|
@@ -12230,7 +12238,7 @@ const StyledFormControlLabel = styles$b.withStyles(formStyleSheet, {
|
|
|
12230
12238
|
__self: undefined,
|
|
12231
12239
|
__source: {
|
|
12232
12240
|
fileName: _jsxFileName$3,
|
|
12233
|
-
lineNumber:
|
|
12241
|
+
lineNumber: 86
|
|
12234
12242
|
}
|
|
12235
12243
|
}));
|
|
12236
12244
|
const colorStyle = (varName, fallback) => ({
|
|
@@ -12296,7 +12304,7 @@ const StyledCheckbox = styles$b.withStyles(inputStyles)(props => {
|
|
|
12296
12304
|
__self: undefined,
|
|
12297
12305
|
__source: {
|
|
12298
12306
|
fileName: _jsxFileName$3,
|
|
12299
|
-
lineNumber:
|
|
12307
|
+
lineNumber: 136
|
|
12300
12308
|
}
|
|
12301
12309
|
});
|
|
12302
12310
|
});
|
|
@@ -12329,7 +12337,7 @@ const StyledRadio = styles$b.withStyles(inputStyles)(props => {
|
|
|
12329
12337
|
__self: undefined,
|
|
12330
12338
|
__source: {
|
|
12331
12339
|
fileName: _jsxFileName$3,
|
|
12332
|
-
lineNumber:
|
|
12340
|
+
lineNumber: 165
|
|
12333
12341
|
}
|
|
12334
12342
|
});
|
|
12335
12343
|
});
|
|
@@ -12365,6 +12373,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12365
12373
|
super(props);
|
|
12366
12374
|
this.onToggleChoice = this.onToggleChoice.bind(this);
|
|
12367
12375
|
this.choiceId = this.generateChoiceId();
|
|
12376
|
+
this.descId = `${this.choiceId}-desc`;
|
|
12368
12377
|
}
|
|
12369
12378
|
onToggleChoice(event) {
|
|
12370
12379
|
this.props.onChange(event);
|
|
@@ -12386,7 +12395,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12386
12395
|
__self: this,
|
|
12387
12396
|
__source: {
|
|
12388
12397
|
fileName: _jsxFileName$3,
|
|
12389
|
-
lineNumber:
|
|
12398
|
+
lineNumber: 253
|
|
12390
12399
|
}
|
|
12391
12400
|
}, displayKey, ".", '\u00A0', React$4.createElement(PreviewPrompt$1, {
|
|
12392
12401
|
className: "label",
|
|
@@ -12395,7 +12404,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12395
12404
|
__self: this,
|
|
12396
12405
|
__source: {
|
|
12397
12406
|
fileName: _jsxFileName$3,
|
|
12398
|
-
lineNumber:
|
|
12407
|
+
lineNumber: 255
|
|
12399
12408
|
}
|
|
12400
12409
|
})) : React$4.createElement(PreviewPrompt$1, {
|
|
12401
12410
|
className: "label",
|
|
@@ -12404,7 +12413,50 @@ class ChoiceInput extends React$4.Component {
|
|
|
12404
12413
|
__self: this,
|
|
12405
12414
|
__source: {
|
|
12406
12415
|
fileName: _jsxFileName$3,
|
|
12407
|
-
lineNumber:
|
|
12416
|
+
lineNumber: 258
|
|
12417
|
+
}
|
|
12418
|
+
}));
|
|
12419
|
+
const screenReaderLabel = React$4.createElement('span', {
|
|
12420
|
+
id: this.descId,
|
|
12421
|
+
className: classes.srOnly,
|
|
12422
|
+
__self: this,
|
|
12423
|
+
__source: {
|
|
12424
|
+
fileName: _jsxFileName$3,
|
|
12425
|
+
lineNumber: 264
|
|
12426
|
+
}
|
|
12427
|
+
}, choiceMode === 'checkbox' ? 'Checkbox to select the answer below' : 'Radio button to select the answer below');
|
|
12428
|
+
const tagProps = {
|
|
12429
|
+
disabled,
|
|
12430
|
+
checked,
|
|
12431
|
+
correctness,
|
|
12432
|
+
value,
|
|
12433
|
+
id: this.choiceId,
|
|
12434
|
+
onChange: this.onToggleChoice,
|
|
12435
|
+
'aria-describedby': this.descId
|
|
12436
|
+
};
|
|
12437
|
+
const control = isSelectionButtonBelow ? React$4.createElement('span', {
|
|
12438
|
+
className: classes.belowSelectionComponent,
|
|
12439
|
+
__self: this,
|
|
12440
|
+
__source: {
|
|
12441
|
+
fileName: _jsxFileName$3,
|
|
12442
|
+
lineNumber: 280
|
|
12443
|
+
}
|
|
12444
|
+
}, screenReaderLabel, React$4.createElement(Tag, {
|
|
12445
|
+
...tagProps,
|
|
12446
|
+
style: {
|
|
12447
|
+
padding: 0
|
|
12448
|
+
},
|
|
12449
|
+
__self: this,
|
|
12450
|
+
__source: {
|
|
12451
|
+
fileName: _jsxFileName$3,
|
|
12452
|
+
lineNumber: 282
|
|
12453
|
+
}
|
|
12454
|
+
}), displayKey ? `${displayKey}.` : '') : React$4.createElement(React$4.Fragment, null, screenReaderLabel, React$4.createElement(Tag, {
|
|
12455
|
+
...tagProps,
|
|
12456
|
+
__self: this,
|
|
12457
|
+
__source: {
|
|
12458
|
+
fileName: _jsxFileName$3,
|
|
12459
|
+
lineNumber: 288
|
|
12408
12460
|
}
|
|
12409
12461
|
}));
|
|
12410
12462
|
return React$4.createElement('div', {
|
|
@@ -12412,83 +12464,39 @@ class ChoiceInput extends React$4.Component {
|
|
|
12412
12464
|
__self: this,
|
|
12413
12465
|
__source: {
|
|
12414
12466
|
fileName: _jsxFileName$3,
|
|
12415
|
-
lineNumber:
|
|
12467
|
+
lineNumber: 293
|
|
12416
12468
|
}
|
|
12417
12469
|
}, React$4.createElement('div', {
|
|
12418
12470
|
className: classes.row,
|
|
12419
12471
|
__self: this,
|
|
12420
12472
|
__source: {
|
|
12421
12473
|
fileName: _jsxFileName$3,
|
|
12422
|
-
lineNumber:
|
|
12474
|
+
lineNumber: 294
|
|
12423
12475
|
}
|
|
12424
12476
|
}, !hideTick && isEvaluateMode && React$4.createElement(FeedbackTick$1, {
|
|
12425
12477
|
correctness: correctness,
|
|
12426
12478
|
__self: this,
|
|
12427
12479
|
__source: {
|
|
12428
12480
|
fileName: _jsxFileName$3,
|
|
12429
|
-
lineNumber:
|
|
12481
|
+
lineNumber: 295
|
|
12430
12482
|
}
|
|
12431
12483
|
}), React$4.createElement('div', {
|
|
12432
12484
|
className: classNames$2(holderClassNames, 'checkbox-holder'),
|
|
12433
12485
|
__self: this,
|
|
12434
12486
|
__source: {
|
|
12435
12487
|
fileName: _jsxFileName$3,
|
|
12436
|
-
lineNumber:
|
|
12437
|
-
}
|
|
12438
|
-
}, isSelectionButtonBelow ? React$4.createElement(StyledFormControlLabel, {
|
|
12439
|
-
label: choicelabel,
|
|
12440
|
-
value: value,
|
|
12441
|
-
htmlFor: this.choiceId,
|
|
12442
|
-
labelPlacement: 'top',
|
|
12443
|
-
control: React$4.createElement('span', {
|
|
12444
|
-
className: classes.belowSelectionComponent,
|
|
12445
|
-
__self: this,
|
|
12446
|
-
__source: {
|
|
12447
|
-
fileName: _jsxFileName$3,
|
|
12448
|
-
lineNumber: 263
|
|
12449
|
-
}
|
|
12450
|
-
}, React$4.createElement(Tag, {
|
|
12451
|
-
disabled: disabled,
|
|
12452
|
-
checked: checked,
|
|
12453
|
-
correctness: correctness,
|
|
12454
|
-
value: value,
|
|
12455
|
-
id: this.choiceId,
|
|
12456
|
-
onChange: this.onToggleChoice,
|
|
12457
|
-
style: {
|
|
12458
|
-
padding: 0
|
|
12459
|
-
},
|
|
12460
|
-
__self: this,
|
|
12461
|
-
__source: {
|
|
12462
|
-
fileName: _jsxFileName$3,
|
|
12463
|
-
lineNumber: 264
|
|
12464
|
-
}
|
|
12465
|
-
}), displayKey ? `${displayKey}.` : ''),
|
|
12466
|
-
__self: this,
|
|
12467
|
-
__source: {
|
|
12468
|
-
fileName: _jsxFileName$3,
|
|
12469
|
-
lineNumber: 257
|
|
12488
|
+
lineNumber: 296
|
|
12470
12489
|
}
|
|
12471
|
-
}
|
|
12490
|
+
}, React$4.createElement(StyledFormControlLabel, {
|
|
12472
12491
|
label: choicelabel,
|
|
12473
12492
|
value: value,
|
|
12474
12493
|
htmlFor: this.choiceId,
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
checked: checked,
|
|
12478
|
-
correctness: correctness,
|
|
12479
|
-
value: value,
|
|
12480
|
-
id: this.choiceId,
|
|
12481
|
-
onChange: this.onToggleChoice,
|
|
12482
|
-
__self: this,
|
|
12483
|
-
__source: {
|
|
12484
|
-
fileName: _jsxFileName$3,
|
|
12485
|
-
lineNumber: 283
|
|
12486
|
-
}
|
|
12487
|
-
}),
|
|
12494
|
+
labelPlacement: isSelectionButtonBelow ? 'top' : undefined,
|
|
12495
|
+
control: control,
|
|
12488
12496
|
__self: this,
|
|
12489
12497
|
__source: {
|
|
12490
12498
|
fileName: _jsxFileName$3,
|
|
12491
|
-
lineNumber:
|
|
12499
|
+
lineNumber: 297
|
|
12492
12500
|
}
|
|
12493
12501
|
}))), rationale && React$4.createElement(PreviewPrompt$1, {
|
|
12494
12502
|
className: "rationale",
|
|
@@ -12497,7 +12505,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12497
12505
|
__self: this,
|
|
12498
12506
|
__source: {
|
|
12499
12507
|
fileName: _jsxFileName$3,
|
|
12500
|
-
lineNumber:
|
|
12508
|
+
lineNumber: 306
|
|
12501
12509
|
}
|
|
12502
12510
|
}), React$4.createElement(Feedback, {
|
|
12503
12511
|
feedback: feedback,
|
|
@@ -12505,7 +12513,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12505
12513
|
__self: this,
|
|
12506
12514
|
__source: {
|
|
12507
12515
|
fileName: _jsxFileName$3,
|
|
12508
|
-
lineNumber:
|
|
12516
|
+
lineNumber: 307
|
|
12509
12517
|
}
|
|
12510
12518
|
}));
|
|
12511
12519
|
}
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.5",
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"name": "@pie-lib/pie-toolbox-math-rendering-module",
|
|
7
|
-
"version": "3.
|
|
7
|
+
"version": "3.9.0"
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
"name": "@pie-lib/pie-toolbox-module",
|
|
11
|
-
"version": "6.1.
|
|
11
|
+
"version": "6.1.2"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.
|
|
2
|
-
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@6.1.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering} from "../../../@pie-lib/pie-toolbox-math-rendering-module@3.9.0/module/index.js";
|
|
2
|
+
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@6.1.2/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;
|
|
@@ -12168,6 +12168,14 @@ const styleSheet = theme => ({
|
|
|
12168
12168
|
'& > span': {
|
|
12169
12169
|
marginLeft: `-${theme.spacing.unit}px`
|
|
12170
12170
|
}
|
|
12171
|
+
},
|
|
12172
|
+
srOnly: {
|
|
12173
|
+
position: 'absolute',
|
|
12174
|
+
left: '-10000px',
|
|
12175
|
+
top: 'auto',
|
|
12176
|
+
width: '1px',
|
|
12177
|
+
height: '1px',
|
|
12178
|
+
overflow: 'hidden'
|
|
12171
12179
|
}
|
|
12172
12180
|
});
|
|
12173
12181
|
const formStyleSheet = {
|
|
@@ -12193,7 +12201,7 @@ const StyledFormControlLabel = styles$b.withStyles(formStyleSheet, {
|
|
|
12193
12201
|
__self: undefined,
|
|
12194
12202
|
__source: {
|
|
12195
12203
|
fileName: _jsxFileName$3,
|
|
12196
|
-
lineNumber:
|
|
12204
|
+
lineNumber: 86
|
|
12197
12205
|
}
|
|
12198
12206
|
}));
|
|
12199
12207
|
const colorStyle = (varName, fallback) => ({
|
|
@@ -12259,7 +12267,7 @@ const StyledCheckbox = styles$b.withStyles(inputStyles)(props => {
|
|
|
12259
12267
|
__self: undefined,
|
|
12260
12268
|
__source: {
|
|
12261
12269
|
fileName: _jsxFileName$3,
|
|
12262
|
-
lineNumber:
|
|
12270
|
+
lineNumber: 136
|
|
12263
12271
|
}
|
|
12264
12272
|
});
|
|
12265
12273
|
});
|
|
@@ -12292,7 +12300,7 @@ const StyledRadio = styles$b.withStyles(inputStyles)(props => {
|
|
|
12292
12300
|
__self: undefined,
|
|
12293
12301
|
__source: {
|
|
12294
12302
|
fileName: _jsxFileName$3,
|
|
12295
|
-
lineNumber:
|
|
12303
|
+
lineNumber: 165
|
|
12296
12304
|
}
|
|
12297
12305
|
});
|
|
12298
12306
|
});
|
|
@@ -12328,6 +12336,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12328
12336
|
super(props);
|
|
12329
12337
|
this.onToggleChoice = this.onToggleChoice.bind(this);
|
|
12330
12338
|
this.choiceId = this.generateChoiceId();
|
|
12339
|
+
this.descId = `${this.choiceId}-desc`;
|
|
12331
12340
|
}
|
|
12332
12341
|
onToggleChoice(event) {
|
|
12333
12342
|
this.props.onChange(event);
|
|
@@ -12349,7 +12358,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12349
12358
|
__self: this,
|
|
12350
12359
|
__source: {
|
|
12351
12360
|
fileName: _jsxFileName$3,
|
|
12352
|
-
lineNumber:
|
|
12361
|
+
lineNumber: 253
|
|
12353
12362
|
}
|
|
12354
12363
|
}, displayKey, ".", '\u00A0', React$4.createElement(PreviewPrompt$1, {
|
|
12355
12364
|
className: "label",
|
|
@@ -12358,7 +12367,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12358
12367
|
__self: this,
|
|
12359
12368
|
__source: {
|
|
12360
12369
|
fileName: _jsxFileName$3,
|
|
12361
|
-
lineNumber:
|
|
12370
|
+
lineNumber: 255
|
|
12362
12371
|
}
|
|
12363
12372
|
})) : React$4.createElement(PreviewPrompt$1, {
|
|
12364
12373
|
className: "label",
|
|
@@ -12367,7 +12376,50 @@ class ChoiceInput extends React$4.Component {
|
|
|
12367
12376
|
__self: this,
|
|
12368
12377
|
__source: {
|
|
12369
12378
|
fileName: _jsxFileName$3,
|
|
12370
|
-
lineNumber:
|
|
12379
|
+
lineNumber: 258
|
|
12380
|
+
}
|
|
12381
|
+
}));
|
|
12382
|
+
const screenReaderLabel = React$4.createElement('span', {
|
|
12383
|
+
id: this.descId,
|
|
12384
|
+
className: classes.srOnly,
|
|
12385
|
+
__self: this,
|
|
12386
|
+
__source: {
|
|
12387
|
+
fileName: _jsxFileName$3,
|
|
12388
|
+
lineNumber: 264
|
|
12389
|
+
}
|
|
12390
|
+
}, choiceMode === 'checkbox' ? 'Checkbox to select the answer below' : 'Radio button to select the answer below');
|
|
12391
|
+
const tagProps = {
|
|
12392
|
+
disabled,
|
|
12393
|
+
checked,
|
|
12394
|
+
correctness,
|
|
12395
|
+
value,
|
|
12396
|
+
id: this.choiceId,
|
|
12397
|
+
onChange: this.onToggleChoice,
|
|
12398
|
+
'aria-describedby': this.descId
|
|
12399
|
+
};
|
|
12400
|
+
const control = isSelectionButtonBelow ? React$4.createElement('span', {
|
|
12401
|
+
className: classes.belowSelectionComponent,
|
|
12402
|
+
__self: this,
|
|
12403
|
+
__source: {
|
|
12404
|
+
fileName: _jsxFileName$3,
|
|
12405
|
+
lineNumber: 280
|
|
12406
|
+
}
|
|
12407
|
+
}, screenReaderLabel, React$4.createElement(Tag, {
|
|
12408
|
+
...tagProps,
|
|
12409
|
+
style: {
|
|
12410
|
+
padding: 0
|
|
12411
|
+
},
|
|
12412
|
+
__self: this,
|
|
12413
|
+
__source: {
|
|
12414
|
+
fileName: _jsxFileName$3,
|
|
12415
|
+
lineNumber: 282
|
|
12416
|
+
}
|
|
12417
|
+
}), displayKey ? `${displayKey}.` : '') : React$4.createElement(React$4.Fragment, null, screenReaderLabel, React$4.createElement(Tag, {
|
|
12418
|
+
...tagProps,
|
|
12419
|
+
__self: this,
|
|
12420
|
+
__source: {
|
|
12421
|
+
fileName: _jsxFileName$3,
|
|
12422
|
+
lineNumber: 288
|
|
12371
12423
|
}
|
|
12372
12424
|
}));
|
|
12373
12425
|
return React$4.createElement('div', {
|
|
@@ -12375,83 +12427,39 @@ class ChoiceInput extends React$4.Component {
|
|
|
12375
12427
|
__self: this,
|
|
12376
12428
|
__source: {
|
|
12377
12429
|
fileName: _jsxFileName$3,
|
|
12378
|
-
lineNumber:
|
|
12430
|
+
lineNumber: 293
|
|
12379
12431
|
}
|
|
12380
12432
|
}, React$4.createElement('div', {
|
|
12381
12433
|
className: classes.row,
|
|
12382
12434
|
__self: this,
|
|
12383
12435
|
__source: {
|
|
12384
12436
|
fileName: _jsxFileName$3,
|
|
12385
|
-
lineNumber:
|
|
12437
|
+
lineNumber: 294
|
|
12386
12438
|
}
|
|
12387
12439
|
}, !hideTick && isEvaluateMode && React$4.createElement(FeedbackTick$1, {
|
|
12388
12440
|
correctness: correctness,
|
|
12389
12441
|
__self: this,
|
|
12390
12442
|
__source: {
|
|
12391
12443
|
fileName: _jsxFileName$3,
|
|
12392
|
-
lineNumber:
|
|
12444
|
+
lineNumber: 295
|
|
12393
12445
|
}
|
|
12394
12446
|
}), React$4.createElement('div', {
|
|
12395
12447
|
className: classNames$2(holderClassNames, 'checkbox-holder'),
|
|
12396
12448
|
__self: this,
|
|
12397
12449
|
__source: {
|
|
12398
12450
|
fileName: _jsxFileName$3,
|
|
12399
|
-
lineNumber:
|
|
12400
|
-
}
|
|
12401
|
-
}, isSelectionButtonBelow ? React$4.createElement(StyledFormControlLabel, {
|
|
12402
|
-
label: choicelabel,
|
|
12403
|
-
value: value,
|
|
12404
|
-
htmlFor: this.choiceId,
|
|
12405
|
-
labelPlacement: 'top',
|
|
12406
|
-
control: React$4.createElement('span', {
|
|
12407
|
-
className: classes.belowSelectionComponent,
|
|
12408
|
-
__self: this,
|
|
12409
|
-
__source: {
|
|
12410
|
-
fileName: _jsxFileName$3,
|
|
12411
|
-
lineNumber: 263
|
|
12412
|
-
}
|
|
12413
|
-
}, React$4.createElement(Tag, {
|
|
12414
|
-
disabled: disabled,
|
|
12415
|
-
checked: checked,
|
|
12416
|
-
correctness: correctness,
|
|
12417
|
-
value: value,
|
|
12418
|
-
id: this.choiceId,
|
|
12419
|
-
onChange: this.onToggleChoice,
|
|
12420
|
-
style: {
|
|
12421
|
-
padding: 0
|
|
12422
|
-
},
|
|
12423
|
-
__self: this,
|
|
12424
|
-
__source: {
|
|
12425
|
-
fileName: _jsxFileName$3,
|
|
12426
|
-
lineNumber: 264
|
|
12427
|
-
}
|
|
12428
|
-
}), displayKey ? `${displayKey}.` : ''),
|
|
12429
|
-
__self: this,
|
|
12430
|
-
__source: {
|
|
12431
|
-
fileName: _jsxFileName$3,
|
|
12432
|
-
lineNumber: 257
|
|
12451
|
+
lineNumber: 296
|
|
12433
12452
|
}
|
|
12434
|
-
}
|
|
12453
|
+
}, React$4.createElement(StyledFormControlLabel, {
|
|
12435
12454
|
label: choicelabel,
|
|
12436
12455
|
value: value,
|
|
12437
12456
|
htmlFor: this.choiceId,
|
|
12438
|
-
|
|
12439
|
-
|
|
12440
|
-
checked: checked,
|
|
12441
|
-
correctness: correctness,
|
|
12442
|
-
value: value,
|
|
12443
|
-
id: this.choiceId,
|
|
12444
|
-
onChange: this.onToggleChoice,
|
|
12445
|
-
__self: this,
|
|
12446
|
-
__source: {
|
|
12447
|
-
fileName: _jsxFileName$3,
|
|
12448
|
-
lineNumber: 283
|
|
12449
|
-
}
|
|
12450
|
-
}),
|
|
12457
|
+
labelPlacement: isSelectionButtonBelow ? 'top' : undefined,
|
|
12458
|
+
control: control,
|
|
12451
12459
|
__self: this,
|
|
12452
12460
|
__source: {
|
|
12453
12461
|
fileName: _jsxFileName$3,
|
|
12454
|
-
lineNumber:
|
|
12462
|
+
lineNumber: 297
|
|
12455
12463
|
}
|
|
12456
12464
|
}))), rationale && React$4.createElement(PreviewPrompt$1, {
|
|
12457
12465
|
className: "rationale",
|
|
@@ -12460,7 +12468,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12460
12468
|
__self: this,
|
|
12461
12469
|
__source: {
|
|
12462
12470
|
fileName: _jsxFileName$3,
|
|
12463
|
-
lineNumber:
|
|
12471
|
+
lineNumber: 306
|
|
12464
12472
|
}
|
|
12465
12473
|
}), React$4.createElement(Feedback, {
|
|
12466
12474
|
feedback: feedback,
|
|
@@ -12468,7 +12476,7 @@ class ChoiceInput extends React$4.Component {
|
|
|
12468
12476
|
__self: this,
|
|
12469
12477
|
__source: {
|
|
12470
12478
|
fileName: _jsxFileName$3,
|
|
12471
|
-
lineNumber:
|
|
12479
|
+
lineNumber: 307
|
|
12472
12480
|
}
|
|
12473
12481
|
}));
|
|
12474
12482
|
}
|
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.6-next.12+86ecdd035",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": "pie-framework/pie-elements",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@pie-element/multiple-choice": "^9.15.
|
|
10
|
+
"@pie-element/multiple-choice": "^9.15.6-next.12+86ecdd035",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
|
-
"@pie-lib/pie-toolbox": "2.
|
|
12
|
+
"@pie-lib/pie-toolbox": "2.15.0",
|
|
13
13
|
"classnames": "^2.2.5",
|
|
14
14
|
"debug": "^4.1.1",
|
|
15
15
|
"lodash": "^4.17.11"
|
|
16
16
|
},
|
|
17
17
|
"author": "pie framework developers",
|
|
18
18
|
"license": "ISC",
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "86ecdd035c8bf5332a29dbd92434a0aeb1de19a8",
|
|
20
20
|
"scripts": {
|
|
21
21
|
"postpublish": "../../scripts/postpublish"
|
|
22
22
|
},
|