@pie-element/ebsr 9.7.1 → 9.8.1-next.0
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 +17 -0
- package/configure/CHANGELOG.md +17 -0
- package/configure/lib/defaults.js +71 -3
- package/configure/lib/defaults.js.map +1 -1
- package/configure/package.json +3 -3
- package/configure/src/defaults.js +32 -0
- package/controller/CHANGELOG.md +11 -0
- package/controller/package.json +2 -2
- package/docs/config-schema.json +934 -9
- package/docs/config-schema.json.md +668 -0
- package/docs/pie-schema.json +396 -3
- package/docs/pie-schema.json.md +284 -0
- package/module/configure.js +72 -4
- package/module/element.js +1 -1
- package/module/index.html +1 -1
- package/module/manifest.json +2 -2
- package/module/print.html +1 -1
- package/module/print.js +1 -1
- package/package.json +3 -3
package/docs/pie-schema.json.md
CHANGED
|
@@ -290,6 +290,42 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
290
290
|
|
|
291
291
|
Properties of the `prompt` object:
|
|
292
292
|
|
|
293
|
+
#### `inputConfiguration` (object)
|
|
294
|
+
|
|
295
|
+
Properties of the `inputConfiguration` object:
|
|
296
|
+
|
|
297
|
+
##### `math` (object)
|
|
298
|
+
|
|
299
|
+
Properties of the `math` object:
|
|
300
|
+
|
|
301
|
+
###### `disabled` (boolean)
|
|
302
|
+
|
|
303
|
+
Indicates if the plugin is disabled or not
|
|
304
|
+
|
|
305
|
+
##### `audio` (object)
|
|
306
|
+
|
|
307
|
+
Properties of the `audio` object:
|
|
308
|
+
|
|
309
|
+
###### `disabled` (boolean)
|
|
310
|
+
|
|
311
|
+
Indicates if the plugin is disabled or not
|
|
312
|
+
|
|
313
|
+
##### `video` (object)
|
|
314
|
+
|
|
315
|
+
Properties of the `video` object:
|
|
316
|
+
|
|
317
|
+
###### `disabled` (boolean)
|
|
318
|
+
|
|
319
|
+
Indicates if the plugin is disabled or not
|
|
320
|
+
|
|
321
|
+
##### `image` (object)
|
|
322
|
+
|
|
323
|
+
Properties of the `image` object:
|
|
324
|
+
|
|
325
|
+
###### `disabled` (boolean)
|
|
326
|
+
|
|
327
|
+
Indicates if the plugin is disabled or not
|
|
328
|
+
|
|
293
329
|
#### `settings` (boolean)
|
|
294
330
|
|
|
295
331
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -318,6 +354,42 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
318
354
|
|
|
319
355
|
Properties of the `rationale` object:
|
|
320
356
|
|
|
357
|
+
#### `inputConfiguration` (object)
|
|
358
|
+
|
|
359
|
+
Properties of the `inputConfiguration` object:
|
|
360
|
+
|
|
361
|
+
##### `math` (object)
|
|
362
|
+
|
|
363
|
+
Properties of the `math` object:
|
|
364
|
+
|
|
365
|
+
###### `disabled` (boolean)
|
|
366
|
+
|
|
367
|
+
Indicates if the plugin is disabled or not
|
|
368
|
+
|
|
369
|
+
##### `audio` (object)
|
|
370
|
+
|
|
371
|
+
Properties of the `audio` object:
|
|
372
|
+
|
|
373
|
+
###### `disabled` (boolean)
|
|
374
|
+
|
|
375
|
+
Indicates if the plugin is disabled or not
|
|
376
|
+
|
|
377
|
+
##### `video` (object)
|
|
378
|
+
|
|
379
|
+
Properties of the `video` object:
|
|
380
|
+
|
|
381
|
+
###### `disabled` (boolean)
|
|
382
|
+
|
|
383
|
+
Indicates if the plugin is disabled or not
|
|
384
|
+
|
|
385
|
+
##### `image` (object)
|
|
386
|
+
|
|
387
|
+
Properties of the `image` object:
|
|
388
|
+
|
|
389
|
+
###### `disabled` (boolean)
|
|
390
|
+
|
|
391
|
+
Indicates if the plugin is disabled or not
|
|
392
|
+
|
|
321
393
|
#### `settings` (boolean)
|
|
322
394
|
|
|
323
395
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -342,6 +414,42 @@ Indicates the label for the item that has to be displayed in the Settings Panel
|
|
|
342
414
|
|
|
343
415
|
Properties of the `teacherInstructions` object:
|
|
344
416
|
|
|
417
|
+
#### `inputConfiguration` (object)
|
|
418
|
+
|
|
419
|
+
Properties of the `inputConfiguration` object:
|
|
420
|
+
|
|
421
|
+
##### `math` (object)
|
|
422
|
+
|
|
423
|
+
Properties of the `math` object:
|
|
424
|
+
|
|
425
|
+
###### `disabled` (boolean)
|
|
426
|
+
|
|
427
|
+
Indicates if the plugin is disabled or not
|
|
428
|
+
|
|
429
|
+
##### `audio` (object)
|
|
430
|
+
|
|
431
|
+
Properties of the `audio` object:
|
|
432
|
+
|
|
433
|
+
###### `disabled` (boolean)
|
|
434
|
+
|
|
435
|
+
Indicates if the plugin is disabled or not
|
|
436
|
+
|
|
437
|
+
##### `video` (object)
|
|
438
|
+
|
|
439
|
+
Properties of the `video` object:
|
|
440
|
+
|
|
441
|
+
###### `disabled` (boolean)
|
|
442
|
+
|
|
443
|
+
Indicates if the plugin is disabled or not
|
|
444
|
+
|
|
445
|
+
##### `image` (object)
|
|
446
|
+
|
|
447
|
+
Properties of the `image` object:
|
|
448
|
+
|
|
449
|
+
###### `disabled` (boolean)
|
|
450
|
+
|
|
451
|
+
Indicates if the plugin is disabled or not
|
|
452
|
+
|
|
345
453
|
#### `settings` (boolean)
|
|
346
454
|
|
|
347
455
|
Indicates if the item has to be displayed in the Settings Panel
|
|
@@ -434,6 +542,90 @@ Indicates if model should have mathML output instead of latex
|
|
|
434
542
|
|
|
435
543
|
Indicates if mathML that's already in model should be editable
|
|
436
544
|
|
|
545
|
+
### `baseInputConfiguration` (object)
|
|
546
|
+
|
|
547
|
+
Properties of the `baseInputConfiguration` object:
|
|
548
|
+
|
|
549
|
+
#### `math` (object)
|
|
550
|
+
|
|
551
|
+
Properties of the `math` object:
|
|
552
|
+
|
|
553
|
+
##### `disabled` (boolean)
|
|
554
|
+
|
|
555
|
+
Indicates if the plugin is disabled or not
|
|
556
|
+
|
|
557
|
+
#### `audio` (object)
|
|
558
|
+
|
|
559
|
+
Properties of the `audio` object:
|
|
560
|
+
|
|
561
|
+
##### `disabled` (boolean)
|
|
562
|
+
|
|
563
|
+
Indicates if the plugin is disabled or not
|
|
564
|
+
|
|
565
|
+
#### `video` (object)
|
|
566
|
+
|
|
567
|
+
Properties of the `video` object:
|
|
568
|
+
|
|
569
|
+
##### `disabled` (boolean)
|
|
570
|
+
|
|
571
|
+
Indicates if the plugin is disabled or not
|
|
572
|
+
|
|
573
|
+
#### `image` (object)
|
|
574
|
+
|
|
575
|
+
Properties of the `image` object:
|
|
576
|
+
|
|
577
|
+
##### `disabled` (boolean)
|
|
578
|
+
|
|
579
|
+
Indicates if the plugin is disabled or not
|
|
580
|
+
|
|
581
|
+
### `choices` (object)
|
|
582
|
+
|
|
583
|
+
Properties of the `choices` object:
|
|
584
|
+
|
|
585
|
+
#### `inputConfiguration` (object)
|
|
586
|
+
|
|
587
|
+
Properties of the `inputConfiguration` object:
|
|
588
|
+
|
|
589
|
+
##### `math` (object)
|
|
590
|
+
|
|
591
|
+
Properties of the `math` object:
|
|
592
|
+
|
|
593
|
+
###### `disabled` (boolean)
|
|
594
|
+
|
|
595
|
+
Indicates if the plugin is disabled or not
|
|
596
|
+
|
|
597
|
+
##### `audio` (object)
|
|
598
|
+
|
|
599
|
+
Properties of the `audio` object:
|
|
600
|
+
|
|
601
|
+
###### `disabled` (boolean)
|
|
602
|
+
|
|
603
|
+
Indicates if the plugin is disabled or not
|
|
604
|
+
|
|
605
|
+
##### `video` (object)
|
|
606
|
+
|
|
607
|
+
Properties of the `video` object:
|
|
608
|
+
|
|
609
|
+
###### `disabled` (boolean)
|
|
610
|
+
|
|
611
|
+
Indicates if the plugin is disabled or not
|
|
612
|
+
|
|
613
|
+
##### `image` (object)
|
|
614
|
+
|
|
615
|
+
Properties of the `image` object:
|
|
616
|
+
|
|
617
|
+
###### `disabled` (boolean)
|
|
618
|
+
|
|
619
|
+
Indicates if the plugin is disabled or not
|
|
620
|
+
|
|
621
|
+
#### `settings` (boolean)
|
|
622
|
+
|
|
623
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
624
|
+
|
|
625
|
+
#### `label` (string)
|
|
626
|
+
|
|
627
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
628
|
+
|
|
437
629
|
## `ConfigureProp` (object)
|
|
438
630
|
|
|
439
631
|
Properties of the `ConfigureProp` object:
|
|
@@ -446,6 +638,98 @@ Indicates if the item has to be displayed in the Settings Panel
|
|
|
446
638
|
|
|
447
639
|
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
448
640
|
|
|
641
|
+
## `EditableHtmlPluginConfigure` (object)
|
|
642
|
+
|
|
643
|
+
Properties of the `EditableHtmlPluginConfigure` object:
|
|
644
|
+
|
|
645
|
+
### `inputConfiguration` (object)
|
|
646
|
+
|
|
647
|
+
Properties of the `inputConfiguration` object:
|
|
648
|
+
|
|
649
|
+
#### `math` (object)
|
|
650
|
+
|
|
651
|
+
Properties of the `math` object:
|
|
652
|
+
|
|
653
|
+
##### `disabled` (boolean)
|
|
654
|
+
|
|
655
|
+
Indicates if the plugin is disabled or not
|
|
656
|
+
|
|
657
|
+
#### `audio` (object)
|
|
658
|
+
|
|
659
|
+
Properties of the `audio` object:
|
|
660
|
+
|
|
661
|
+
##### `disabled` (boolean)
|
|
662
|
+
|
|
663
|
+
Indicates if the plugin is disabled or not
|
|
664
|
+
|
|
665
|
+
#### `video` (object)
|
|
666
|
+
|
|
667
|
+
Properties of the `video` object:
|
|
668
|
+
|
|
669
|
+
##### `disabled` (boolean)
|
|
670
|
+
|
|
671
|
+
Indicates if the plugin is disabled or not
|
|
672
|
+
|
|
673
|
+
#### `image` (object)
|
|
674
|
+
|
|
675
|
+
Properties of the `image` object:
|
|
676
|
+
|
|
677
|
+
##### `disabled` (boolean)
|
|
678
|
+
|
|
679
|
+
Indicates if the plugin is disabled or not
|
|
680
|
+
|
|
681
|
+
### `settings` (boolean)
|
|
682
|
+
|
|
683
|
+
Indicates if the item has to be displayed in the Settings Panel
|
|
684
|
+
|
|
685
|
+
### `label` (string)
|
|
686
|
+
|
|
687
|
+
Indicates the label for the item that has to be displayed in the Settings Panel
|
|
688
|
+
|
|
689
|
+
## `EditableHtmlConfigureProp` (object)
|
|
690
|
+
|
|
691
|
+
Properties of the `EditableHtmlConfigureProp` object:
|
|
692
|
+
|
|
693
|
+
### `math` (object)
|
|
694
|
+
|
|
695
|
+
Properties of the `math` object:
|
|
696
|
+
|
|
697
|
+
#### `disabled` (boolean)
|
|
698
|
+
|
|
699
|
+
Indicates if the plugin is disabled or not
|
|
700
|
+
|
|
701
|
+
### `audio` (object)
|
|
702
|
+
|
|
703
|
+
Properties of the `audio` object:
|
|
704
|
+
|
|
705
|
+
#### `disabled` (boolean)
|
|
706
|
+
|
|
707
|
+
Indicates if the plugin is disabled or not
|
|
708
|
+
|
|
709
|
+
### `video` (object)
|
|
710
|
+
|
|
711
|
+
Properties of the `video` object:
|
|
712
|
+
|
|
713
|
+
#### `disabled` (boolean)
|
|
714
|
+
|
|
715
|
+
Indicates if the plugin is disabled or not
|
|
716
|
+
|
|
717
|
+
### `image` (object)
|
|
718
|
+
|
|
719
|
+
Properties of the `image` object:
|
|
720
|
+
|
|
721
|
+
#### `disabled` (boolean)
|
|
722
|
+
|
|
723
|
+
Indicates if the plugin is disabled or not
|
|
724
|
+
|
|
725
|
+
## `EditableHtmlButtonConfigure` (object)
|
|
726
|
+
|
|
727
|
+
Properties of the `EditableHtmlButtonConfigure` object:
|
|
728
|
+
|
|
729
|
+
### `disabled` (boolean)
|
|
730
|
+
|
|
731
|
+
Indicates if the plugin is disabled or not
|
|
732
|
+
|
|
449
733
|
## `ConfigureMaxImageDimensionsProp` (object)
|
|
450
734
|
|
|
451
735
|
Properties of the `ConfigureMaxImageDimensionsProp` object:
|
package/module/configure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.
|
|
1
|
+
import {_dll_react, _dll_prop_types, _dll_lodash, _dll_react_dom} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.1/module/index.js";
|
|
2
2
|
import MultipleChoiceConfigure from '@pie-element/multiple-choice/configure/lib';
|
|
3
3
|
import {_dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.0.0/module/index.js";
|
|
4
4
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
@@ -5731,11 +5731,33 @@ const defaultConfig = {
|
|
|
5731
5731
|
},
|
|
5732
5732
|
prompt: {
|
|
5733
5733
|
settings: true,
|
|
5734
|
-
label: 'Prompt'
|
|
5734
|
+
label: 'Prompt',
|
|
5735
|
+
inputConfiguration: {
|
|
5736
|
+
audio: {
|
|
5737
|
+
disabled: false
|
|
5738
|
+
},
|
|
5739
|
+
video: {
|
|
5740
|
+
disabled: false
|
|
5741
|
+
},
|
|
5742
|
+
image: {
|
|
5743
|
+
disabled: false
|
|
5744
|
+
}
|
|
5745
|
+
}
|
|
5735
5746
|
},
|
|
5736
5747
|
rationale: {
|
|
5737
5748
|
settings: true,
|
|
5738
|
-
label: 'Rationale'
|
|
5749
|
+
label: 'Rationale',
|
|
5750
|
+
inputConfiguration: {
|
|
5751
|
+
audio: {
|
|
5752
|
+
disabled: false
|
|
5753
|
+
},
|
|
5754
|
+
video: {
|
|
5755
|
+
disabled: false
|
|
5756
|
+
},
|
|
5757
|
+
image: {
|
|
5758
|
+
disabled: false
|
|
5759
|
+
}
|
|
5760
|
+
}
|
|
5739
5761
|
},
|
|
5740
5762
|
settingsPanelDisabled: true,
|
|
5741
5763
|
studentInstructions: {
|
|
@@ -5744,7 +5766,18 @@ const defaultConfig = {
|
|
|
5744
5766
|
},
|
|
5745
5767
|
teacherInstructions: {
|
|
5746
5768
|
settings: true,
|
|
5747
|
-
label: 'Teacher Instructions'
|
|
5769
|
+
label: 'Teacher Instructions',
|
|
5770
|
+
inputConfiguration: {
|
|
5771
|
+
audio: {
|
|
5772
|
+
disabled: false
|
|
5773
|
+
},
|
|
5774
|
+
video: {
|
|
5775
|
+
disabled: false
|
|
5776
|
+
},
|
|
5777
|
+
image: {
|
|
5778
|
+
disabled: false
|
|
5779
|
+
}
|
|
5780
|
+
}
|
|
5748
5781
|
},
|
|
5749
5782
|
choicesLayout: {
|
|
5750
5783
|
settings: false,
|
|
@@ -5773,6 +5806,30 @@ const defaultConfig = {
|
|
|
5773
5806
|
mathMlOptions: {
|
|
5774
5807
|
mmlOutput: false,
|
|
5775
5808
|
mmlEditing: false
|
|
5809
|
+
},
|
|
5810
|
+
choices: {
|
|
5811
|
+
inputConfiguration: {
|
|
5812
|
+
audio: {
|
|
5813
|
+
disabled: false
|
|
5814
|
+
},
|
|
5815
|
+
video: {
|
|
5816
|
+
disabled: false
|
|
5817
|
+
},
|
|
5818
|
+
image: {
|
|
5819
|
+
disabled: false
|
|
5820
|
+
}
|
|
5821
|
+
}
|
|
5822
|
+
},
|
|
5823
|
+
baseInputConfiguration: {
|
|
5824
|
+
audio: {
|
|
5825
|
+
disabled: false
|
|
5826
|
+
},
|
|
5827
|
+
video: {
|
|
5828
|
+
disabled: false
|
|
5829
|
+
},
|
|
5830
|
+
image: {
|
|
5831
|
+
disabled: false
|
|
5832
|
+
}
|
|
5776
5833
|
}
|
|
5777
5834
|
};
|
|
5778
5835
|
const partModel = base => ({
|
|
@@ -5804,6 +5861,17 @@ var sensibleDefaults = {
|
|
|
5804
5861
|
})
|
|
5805
5862
|
},
|
|
5806
5863
|
configuration: {
|
|
5864
|
+
baseInputConfiguration: {
|
|
5865
|
+
audio: {
|
|
5866
|
+
disabled: false
|
|
5867
|
+
},
|
|
5868
|
+
video: {
|
|
5869
|
+
disabled: false
|
|
5870
|
+
},
|
|
5871
|
+
image: {
|
|
5872
|
+
disabled: false
|
|
5873
|
+
}
|
|
5874
|
+
},
|
|
5807
5875
|
partialScoring: {
|
|
5808
5876
|
label: 'Allow Partial Scoring',
|
|
5809
5877
|
settings: false
|
package/module/element.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@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_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.1/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@4.0.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) {
|
package/module/index.html
CHANGED
package/module/manifest.json
CHANGED
package/module/print.html
CHANGED
package/module/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@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_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.5.1/module/index.js";
|
|
2
2
|
import {_dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_correct_answer_toggle} from "../../../@pie-lib/pie-toolbox-module@4.0.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) {
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/ebsr",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.8.1-next.0+4ebe37d1f",
|
|
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": "^8.
|
|
10
|
+
"@pie-element/multiple-choice": "^8.10.1-next.0+4ebe37d1f",
|
|
11
11
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
12
12
|
"classnames": "^2.2.5",
|
|
13
13
|
"debug": "^4.1.1",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"author": "pie framework developers",
|
|
17
17
|
"license": "ISC",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "4ebe37d1f1f81162b418d3348a06d3aba9b86c9b",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|