@pie-element/ebsr 13.0.0-beta.0 → 13.0.0-beta.1
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 +0 -11
- package/configure/CHANGELOG.md +0 -11
- package/configure/package.json +3 -3
- package/controller/CHANGELOG.md +0 -11
- package/controller/package.json +3 -3
- package/package.json +4 -4
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.json +0 -1972
- package/configure/node_modules/@pie-element/multiple-choice/CHANGELOG.md +0 -4213
- package/configure/node_modules/@pie-element/multiple-choice/PRINT.md +0 -35
- package/configure/node_modules/@pie-element/multiple-choice/README.md +0 -56
- package/configure/node_modules/@pie-element/multiple-choice/choice.png +0 -0
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.json +0 -1387
- package/configure/node_modules/@pie-element/multiple-choice/configure/CHANGELOG.md +0 -3351
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/__tests__/root.test.js +0 -248
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js +0 -200
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/defaults.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js +0 -211
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js +0 -477
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/main.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js +0 -18
- package/configure/node_modules/@pie-element/multiple-choice/configure/lib/utils.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/configure/package.json +0 -22
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.json +0 -527
- package/configure/node_modules/@pie-element/multiple-choice/controller/CHANGELOG.md +0 -2316
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/__tests__/index.test.js +0 -520
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/__tests__/utils.test.js +0 -8
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js +0 -33
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/defaults.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js +0 -251
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js +0 -16
- package/configure/node_modules/@pie-element/multiple-choice/controller/lib/utils.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/controller/package.json +0 -15
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json +0 -2993
- package/configure/node_modules/@pie-element/multiple-choice/docs/config-schema.json.md +0 -2217
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/config.js +0 -8
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/generate.js +0 -61
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/index.html +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/pie.manifest.json +0 -11
- package/configure/node_modules/@pie-element/multiple-choice/docs/demo/session.js +0 -7
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json +0 -1332
- package/configure/node_modules/@pie-element/multiple-choice/docs/pie-schema.json.md +0 -1015
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/choice-input-test.js +0 -117
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/index-test.js +0 -151
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/key-events-test.js +0 -95
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/multiple-choice-test.js +0 -223
- package/configure/node_modules/@pie-element/multiple-choice/lib/__tests__/session-updater-test.js +0 -70
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js +0 -370
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice-input.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js +0 -197
- package/configure/node_modules/@pie-element/multiple-choice/lib/choice.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js +0 -130
- package/configure/node_modules/@pie-element/multiple-choice/lib/feedback-tick.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js +0 -292
- package/configure/node_modules/@pie-element/multiple-choice/lib/index.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js +0 -54
- package/configure/node_modules/@pie-element/multiple-choice/lib/main.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js +0 -386
- package/configure/node_modules/@pie-element/multiple-choice/lib/multiple-choice.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js +0 -92
- package/configure/node_modules/@pie-element/multiple-choice/lib/print.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js +0 -37
- package/configure/node_modules/@pie-element/multiple-choice/lib/session-updater.js.map +0 -1
- package/configure/node_modules/@pie-element/multiple-choice/package.json +0 -39
|
@@ -1,61 +0,0 @@
|
|
|
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
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<multiple-choice pie-id="1"> </multiple-choice>
|