@pie-element/ebsr 10.7.2 → 10.7.3-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.
Files changed (66) hide show
  1. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +1972 -0
  2. package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +4144 -0
  3. package/configure/node_modules/@pie-element/multiple-choice/LICENSE.md +5 -0
  4. package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +35 -0
  5. package/configure/node_modules/@pie-element/multiple-choice/README.md +56 -0
  6. package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
  7. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +1387 -0
  8. package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +3316 -0
  9. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +202 -0
  10. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +1 -0
  11. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +248 -0
  12. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +1 -0
  13. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +597 -0
  14. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +1 -0
  15. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +18 -0
  16. package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +1 -0
  17. package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +18 -0
  18. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +527 -0
  19. package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +2281 -0
  20. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +34 -0
  21. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +1 -0
  22. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +346 -0
  23. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +1 -0
  24. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +28 -0
  25. package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +1 -0
  26. package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +15 -0
  27. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +2993 -0
  28. package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +2217 -0
  29. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +8 -0
  30. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +61 -0
  31. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +1 -0
  32. package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +7 -0
  33. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +1332 -0
  34. package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +1015 -0
  35. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +427 -0
  36. package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +1 -0
  37. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +252 -0
  38. package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +1 -0
  39. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +174 -0
  40. package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +1 -0
  41. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +388 -0
  42. package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +1 -0
  43. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +108 -0
  44. package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +1 -0
  45. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +469 -0
  46. package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +1 -0
  47. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +129 -0
  48. package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +1 -0
  49. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +48 -0
  50. package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +1 -0
  51. package/configure/node_modules/@pie-element/multiple-choice/module/configure.js +1 -0
  52. package/configure/node_modules/@pie-element/multiple-choice/module/controller.js +3611 -0
  53. package/configure/node_modules/@pie-element/multiple-choice/module/demo.js +86 -0
  54. package/configure/node_modules/@pie-element/multiple-choice/module/element.js +1 -0
  55. package/configure/node_modules/@pie-element/multiple-choice/module/index.html +21 -0
  56. package/configure/node_modules/@pie-element/multiple-choice/module/manifest.json +10 -0
  57. package/configure/node_modules/@pie-element/multiple-choice/module/print-demo.js +124 -0
  58. package/configure/node_modules/@pie-element/multiple-choice/module/print.html +18 -0
  59. package/configure/node_modules/@pie-element/multiple-choice/module/print.js +1 -0
  60. package/configure/node_modules/@pie-element/multiple-choice/package.json +32 -0
  61. package/module/element.js +1 -1
  62. package/module/index.html +1 -1
  63. package/module/manifest.json +5 -1
  64. package/module/print.html +1 -1
  65. package/module/print.js +1 -1
  66. package/package.json +3 -3
@@ -0,0 +1,8 @@
1
+ const { model } = require('./generate');
2
+
3
+ module.exports = {
4
+ elements: {
5
+ 'multiple-choice': '../..',
6
+ },
7
+ models: [model('1', 'multiple-choice')],
8
+ };
@@ -0,0 +1,61 @@
1
+ exports.model = (id, element) => ({
2
+ id,
3
+ element,
4
+ choiceMode: 'checkbox',
5
+ choicePrefix: 'numbers',
6
+ choices: [
7
+ {
8
+ correct: true,
9
+ value: 'sweden',
10
+ label: 'Sweden',
11
+ feedback: {
12
+ type: 'none',
13
+ value: '',
14
+ },
15
+ },
16
+ {
17
+ value: 'iceland',
18
+ label: 'Iceland',
19
+ feedback: {
20
+ type: 'none',
21
+ value: '',
22
+ },
23
+ rationale: 'Rationale for Iceland',
24
+ },
25
+ {
26
+ value: 'norway',
27
+ label: 'Norway',
28
+ feedback: {
29
+ type: 'none',
30
+ value: '',
31
+ },
32
+ rationale: 'Rationale for Norway',
33
+ },
34
+ {
35
+ correct: true,
36
+ value: 'finland',
37
+ label: 'Finland',
38
+ feedback: {
39
+ type: 'none',
40
+ value: '',
41
+ },
42
+ rationale: 'Rationale for Finland',
43
+ },
44
+ ],
45
+ extraCSSRules: {
46
+ names: ['red', 'blue'],
47
+ rules: `
48
+ .red {
49
+ color: red !important;
50
+ }
51
+
52
+ .blue {
53
+ color: blue !important;
54
+ }
55
+ `,
56
+ },
57
+ prompt: '',
58
+ promptEnabled: true,
59
+ toolbarEditorPosition: 'bottom',
60
+ rubricEnabled: false,
61
+ });
@@ -0,0 +1 @@
1
+ <multiple-choice pie-id="1"> </multiple-choice>
@@ -0,0 +1,7 @@
1
+ module.exports = [
2
+ {
3
+ id: '1',
4
+ element: 'multiple-choice',
5
+ // value: ['iceland', 'norway']
6
+ },
7
+ ];