@webwriter/quiz 1.0.9 → 1.0.10

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 (112) hide show
  1. package/.env +1 -0
  2. package/LICENSE +6 -6
  3. package/custom.d.ts +175 -175
  4. package/dist/widgets/webwriter-choice-item.js +174 -29
  5. package/dist/widgets/webwriter-choice.js +174 -29
  6. package/dist/widgets/webwriter-cloze-gap.js +174 -29
  7. package/dist/widgets/webwriter-cloze.js +174 -29
  8. package/dist/widgets/webwriter-mark.js +174 -29
  9. package/dist/widgets/webwriter-order-item.js +174 -29
  10. package/dist/widgets/webwriter-order.js +174 -29
  11. package/dist/widgets/webwriter-pairing-item.js +174 -29
  12. package/dist/widgets/webwriter-pairing.js +174 -29
  13. package/dist/widgets/webwriter-quiz.js +174 -29
  14. package/dist/widgets/webwriter-speech.js +174 -29
  15. package/dist/widgets/webwriter-task-explainer.js +174 -29
  16. package/dist/widgets/webwriter-task-hint.js +174 -29
  17. package/dist/widgets/webwriter-task-prompt.js +174 -29
  18. package/dist/widgets/webwriter-task.js +176 -31
  19. package/dist/widgets/webwriter-text.js +174 -29
  20. package/lit-localize.json +14 -14
  21. package/localization/bg.xlf +69 -54
  22. package/localization/cs.xlf +69 -54
  23. package/localization/da.xlf +69 -54
  24. package/localization/de.xlf +74 -54
  25. package/localization/el.xlf +69 -54
  26. package/localization/es.xlf +69 -54
  27. package/localization/et.xlf +69 -54
  28. package/localization/fi.xlf +69 -54
  29. package/localization/fr.xlf +69 -54
  30. package/localization/generated/bg.ts +29 -24
  31. package/localization/generated/cs.ts +29 -24
  32. package/localization/generated/da.ts +29 -24
  33. package/localization/generated/de.ts +29 -24
  34. package/localization/generated/el.ts +29 -24
  35. package/localization/generated/es.ts +29 -24
  36. package/localization/generated/et.ts +29 -24
  37. package/localization/generated/fi.ts +29 -24
  38. package/localization/generated/fr.ts +29 -24
  39. package/localization/generated/hu.ts +29 -24
  40. package/localization/generated/id.ts +29 -24
  41. package/localization/generated/index.js +2 -2
  42. package/localization/generated/it.ts +29 -24
  43. package/localization/generated/ja.ts +29 -24
  44. package/localization/generated/ko.ts +29 -24
  45. package/localization/generated/locale-codes.js +79 -79
  46. package/localization/generated/lt.ts +29 -24
  47. package/localization/generated/lv.ts +29 -24
  48. package/localization/generated/nb.ts +29 -24
  49. package/localization/generated/nl.ts +29 -24
  50. package/localization/generated/pl.ts +29 -24
  51. package/localization/generated/pt-BR.ts +29 -24
  52. package/localization/generated/pt-PT.ts +29 -24
  53. package/localization/generated/ro.ts +29 -24
  54. package/localization/generated/ru.ts +29 -24
  55. package/localization/generated/sk.ts +29 -24
  56. package/localization/generated/sl.ts +29 -24
  57. package/localization/generated/sv.ts +29 -24
  58. package/localization/generated/tr.ts +29 -24
  59. package/localization/generated/uk.ts +29 -24
  60. package/localization/generated/zh-hans.ts +29 -24
  61. package/localization/hu.xlf +69 -54
  62. package/localization/id.xlf +69 -54
  63. package/localization/it.xlf +69 -54
  64. package/localization/ja.xlf +69 -54
  65. package/localization/ko.xlf +69 -54
  66. package/localization/lt.xlf +69 -54
  67. package/localization/lv.xlf +69 -54
  68. package/localization/nb.xlf +69 -54
  69. package/localization/nl.xlf +69 -54
  70. package/localization/pl.xlf +69 -54
  71. package/localization/pt-BR.xlf +69 -54
  72. package/localization/pt-PT.xlf +69 -54
  73. package/localization/ro.xlf +69 -54
  74. package/localization/ru.xlf +69 -54
  75. package/localization/sk.xlf +69 -54
  76. package/localization/sl.xlf +69 -54
  77. package/localization/sv.xlf +69 -54
  78. package/localization/tr.xlf +69 -54
  79. package/localization/uk.xlf +69 -54
  80. package/localization/zh-hans.xlf +69 -54
  81. package/package.json +2 -53
  82. package/src/lib/combobox.ts +455 -455
  83. package/src/lib/highlighter-fill.svg +5 -5
  84. package/src/snippets/Beispiel-Choice.html +57 -57
  85. package/src/snippets/Beispiel-Mark.html +13 -13
  86. package/src/snippets/Beispiel-Order.html +52 -52
  87. package/src/snippets/Beispiel-Text.html +20 -20
  88. package/src/snippets/choice.html +7 -7
  89. package/src/snippets/cloze.html +3 -3
  90. package/src/snippets/mark.html +3 -3
  91. package/src/snippets/order.html +7 -7
  92. package/src/snippets/pairing.html +9 -9
  93. package/src/snippets/speech.html +3 -3
  94. package/src/snippets/text.html +3 -3
  95. package/src/snippets/wordsearch.html +3 -3
  96. package/src/widgets/webwriter-choice-item.ts +250 -250
  97. package/src/widgets/webwriter-choice.ts +314 -314
  98. package/src/widgets/webwriter-cloze-gap.ts +215 -215
  99. package/src/widgets/webwriter-cloze.ts +135 -135
  100. package/src/widgets/webwriter-mark.ts +431 -431
  101. package/src/widgets/webwriter-order-item.ts +437 -437
  102. package/src/widgets/webwriter-order.ts +284 -284
  103. package/src/widgets/webwriter-pairing-item.ts +160 -160
  104. package/src/widgets/webwriter-pairing.ts +192 -192
  105. package/src/widgets/webwriter-quiz.ts +281 -281
  106. package/src/widgets/webwriter-speech.ts +272 -272
  107. package/src/widgets/webwriter-task-explainer.ts +42 -42
  108. package/src/widgets/webwriter-task-hint.ts +22 -22
  109. package/src/widgets/webwriter-task-prompt.ts +23 -23
  110. package/src/widgets/webwriter-task.ts +546 -546
  111. package/src/widgets/webwriter-text.ts +135 -135
  112. package/tsconfig.json +6 -6
@@ -1,54 +1,69 @@
1
- <xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
2
- <file original="lit-localize-inputs" datatype="plaintext" source-language="en" target-language="uk">
3
- <body>
4
- <trans-unit id="s4802e47fe2e95134">
5
- <source>Option</source>
6
- <target>Варіант</target>
7
- </trans-unit>
8
- <trans-unit id="s85ea99fb52be3385">
9
- <source>True</source>
10
- <target>Правда.</target>
11
- </trans-unit>
12
- <trans-unit id="s7254ca27b16ae2d8">
13
- <source>False</source>
14
- <target>Неправда.</target>
15
- </trans-unit>
16
- <trans-unit id="s159928724265eb05">
17
- <source>Add Option</source>
18
- <target>Додати опцію</target>
19
- </trans-unit>
20
- <trans-unit id="sc56e9323f076a11e">
21
- <source>Text to add gaps to</source>
22
- <target>Текст, до якого потрібно додати пробіли</target>
23
- </trans-unit>
24
- <trans-unit id="s80dc9f56411917df">
25
- <source>Text to Highlight</source>
26
- <target>Текст для виділення</target>
27
- </trans-unit>
28
- <trans-unit id="s1b23c41934894f30">
29
- <source>Explanation</source>
30
- <target>Пояснення</target>
31
- </trans-unit>
32
- <trans-unit id="sd26e8d4eef55e341">
33
- <source>Check your answers</source>
34
- <target>Перевірте свої відповіді</target>
35
- </trans-unit>
36
- <trans-unit id="scd1dd6ff53d0d01a">
37
- <source>Try again</source>
38
- <target>Спробуйте ще раз.</target>
39
- </trans-unit>
40
- <trans-unit id="sb3d4f79d9d8b71e5">
41
- <source>Submit</source>
42
- <target>Надіслати</target>
43
- </trans-unit>
44
- <trans-unit id="s255857544a9d5ec0">
45
- <source>Reset</source>
46
- <target>Перезавантаження</target>
47
- </trans-unit>
48
- <trans-unit id="s54393bfa280ea55b">
49
- <source>Prompt</source>
50
- <target>Швидко</target>
51
- </trans-unit>
52
- </body>
53
- </file>
54
- </xliff>
1
+ <xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
2
+ <file original="lit-localize-inputs" datatype="plaintext" source-language="en" target-language="uk">
3
+ <body>
4
+ <trans-unit id="s4802e47fe2e95134">
5
+ <source>Option</source>
6
+ <target>Варіант</target>
7
+ </trans-unit>
8
+ <trans-unit id="s85ea99fb52be3385">
9
+ <source>True</source>
10
+ <target>Правда.</target>
11
+ </trans-unit>
12
+ <trans-unit id="s7254ca27b16ae2d8">
13
+ <source>False</source>
14
+ <target>Неправда.</target>
15
+ </trans-unit>
16
+ <trans-unit id="s159928724265eb05">
17
+ <source>Add Option</source>
18
+ <target>Додати опцію</target>
19
+ </trans-unit>
20
+ <trans-unit id="sc56e9323f076a11e">
21
+ <source>Text to add gaps to</source>
22
+ <target>Текст, до якого потрібно додати пробіли</target>
23
+ </trans-unit>
24
+ <trans-unit id="s80dc9f56411917df">
25
+ <source>Text to Highlight</source>
26
+ <target>Текст для виділення</target>
27
+ </trans-unit>
28
+ <trans-unit id="s1b23c41934894f30">
29
+ <source>Explanation</source>
30
+ <target>Пояснення</target>
31
+ </trans-unit>
32
+ <trans-unit id="sd26e8d4eef55e341">
33
+ <source>Check your answers</source>
34
+ <target>Перевірте свої відповіді</target>
35
+ </trans-unit>
36
+ <trans-unit id="scd1dd6ff53d0d01a">
37
+ <source>Try again</source>
38
+ <target>Спробуйте ще раз.</target>
39
+ </trans-unit>
40
+ <trans-unit id="sb3d4f79d9d8b71e5">
41
+ <source>Submit</source>
42
+ <target>Надіслати</target>
43
+ </trans-unit>
44
+ <trans-unit id="s255857544a9d5ec0">
45
+ <source>Reset</source>
46
+ <target>Перезавантаження</target>
47
+ </trans-unit>
48
+ <trans-unit id="s54393bfa280ea55b">
49
+ <source>Prompt</source>
50
+ <target>Швидко</target>
51
+ </trans-unit>
52
+ <trans-unit id="sb0aadaa04e658ad6">
53
+ <source>Choice</source>
54
+ </trans-unit>
55
+ <trans-unit id="s2ba5f4d8f3bd7c57">
56
+ <source>Order</source>
57
+ </trans-unit>
58
+ <trans-unit id="s2492f5fb1b05b45e">
59
+ <source>Text</source>
60
+ </trans-unit>
61
+ <trans-unit id="s49c940aecfef3ea0">
62
+ <source>Mark</source>
63
+ </trans-unit>
64
+ <trans-unit id="saa3efba1f0c816b7">
65
+ <source>Speech</source>
66
+ </trans-unit>
67
+ </body>
68
+ </file>
69
+ </xliff>
@@ -1,54 +1,69 @@
1
- <xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
2
- <file original="lit-localize-inputs" datatype="plaintext" source-language="en" target-language="zh-hans">
3
- <body>
4
- <trans-unit id="s4802e47fe2e95134">
5
- <source>Option</source>
6
- <target>选项</target>
7
- </trans-unit>
8
- <trans-unit id="s85ea99fb52be3385">
9
- <source>True</source>
10
- <target>正确</target>
11
- </trans-unit>
12
- <trans-unit id="s7254ca27b16ae2d8">
13
- <source>False</source>
14
- <target>假的</target>
15
- </trans-unit>
16
- <trans-unit id="s159928724265eb05">
17
- <source>Add Option</source>
18
- <target>添加选项</target>
19
- </trans-unit>
20
- <trans-unit id="sc56e9323f076a11e">
21
- <source>Text to add gaps to</source>
22
- <target>为文本添加间隙</target>
23
- </trans-unit>
24
- <trans-unit id="s80dc9f56411917df">
25
- <source>Text to Highlight</source>
26
- <target>突出显示文本</target>
27
- </trans-unit>
28
- <trans-unit id="s1b23c41934894f30">
29
- <source>Explanation</source>
30
- <target>说明</target>
31
- </trans-unit>
32
- <trans-unit id="sd26e8d4eef55e341">
33
- <source>Check your answers</source>
34
- <target>检查答案</target>
35
- </trans-unit>
36
- <trans-unit id="scd1dd6ff53d0d01a">
37
- <source>Try again</source>
38
- <target>再试一次</target>
39
- </trans-unit>
40
- <trans-unit id="sb3d4f79d9d8b71e5">
41
- <source>Submit</source>
42
- <target>提交</target>
43
- </trans-unit>
44
- <trans-unit id="s255857544a9d5ec0">
45
- <source>Reset</source>
46
- <target>重置</target>
47
- </trans-unit>
48
- <trans-unit id="s54393bfa280ea55b">
49
- <source>Prompt</source>
50
- <target>提示</target>
51
- </trans-unit>
52
- </body>
53
- </file>
54
- </xliff>
1
+ <xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
2
+ <file original="lit-localize-inputs" datatype="plaintext" source-language="en" target-language="zh-hans">
3
+ <body>
4
+ <trans-unit id="s4802e47fe2e95134">
5
+ <source>Option</source>
6
+ <target>选项</target>
7
+ </trans-unit>
8
+ <trans-unit id="s85ea99fb52be3385">
9
+ <source>True</source>
10
+ <target>正确</target>
11
+ </trans-unit>
12
+ <trans-unit id="s7254ca27b16ae2d8">
13
+ <source>False</source>
14
+ <target>假的</target>
15
+ </trans-unit>
16
+ <trans-unit id="s159928724265eb05">
17
+ <source>Add Option</source>
18
+ <target>添加选项</target>
19
+ </trans-unit>
20
+ <trans-unit id="sc56e9323f076a11e">
21
+ <source>Text to add gaps to</source>
22
+ <target>为文本添加间隙</target>
23
+ </trans-unit>
24
+ <trans-unit id="s80dc9f56411917df">
25
+ <source>Text to Highlight</source>
26
+ <target>突出显示文本</target>
27
+ </trans-unit>
28
+ <trans-unit id="s1b23c41934894f30">
29
+ <source>Explanation</source>
30
+ <target>说明</target>
31
+ </trans-unit>
32
+ <trans-unit id="sd26e8d4eef55e341">
33
+ <source>Check your answers</source>
34
+ <target>检查答案</target>
35
+ </trans-unit>
36
+ <trans-unit id="scd1dd6ff53d0d01a">
37
+ <source>Try again</source>
38
+ <target>再试一次</target>
39
+ </trans-unit>
40
+ <trans-unit id="sb3d4f79d9d8b71e5">
41
+ <source>Submit</source>
42
+ <target>提交</target>
43
+ </trans-unit>
44
+ <trans-unit id="s255857544a9d5ec0">
45
+ <source>Reset</source>
46
+ <target>重置</target>
47
+ </trans-unit>
48
+ <trans-unit id="s54393bfa280ea55b">
49
+ <source>Prompt</source>
50
+ <target>提示</target>
51
+ </trans-unit>
52
+ <trans-unit id="sb0aadaa04e658ad6">
53
+ <source>Choice</source>
54
+ </trans-unit>
55
+ <trans-unit id="s2ba5f4d8f3bd7c57">
56
+ <source>Order</source>
57
+ </trans-unit>
58
+ <trans-unit id="s2492f5fb1b05b45e">
59
+ <source>Text</source>
60
+ </trans-unit>
61
+ <trans-unit id="s49c940aecfef3ea0">
62
+ <source>Mark</source>
63
+ </trans-unit>
64
+ <trans-unit id="saa3efba1f0c816b7">
65
+ <source>Speech</source>
66
+ </trans-unit>
67
+ </body>
68
+ </file>
69
+ </xliff>
package/package.json CHANGED
@@ -1,90 +1,39 @@
1
1
  {
2
2
  "name": "@webwriter/quiz",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Add interactive tasks (multiple choice, order, free text, highlighting, or speech input). Make a quiz out of multiple tasks.",
5
5
  "keywords": [
6
6
  "webwriter-widget",
7
7
  "widget-practical",
8
8
  "widget-lang-en",
9
9
  "widget-lang-de",
10
- "widget-lang-af",
11
- "widget-lang-am",
12
- "widget-lang-ar",
13
- "widget-lang-az",
14
10
  "widget-lang-bg",
15
- "widget-lang-bn",
16
- "widget-lang-bs",
17
- "widget-lang-ca",
18
11
  "widget-lang-cs",
19
- "widget-lang-cy",
20
12
  "widget-lang-da",
21
13
  "widget-lang-el",
22
- "widget-lang-eo",
23
14
  "widget-lang-es",
24
15
  "widget-lang-et",
25
- "widget-lang-eu",
26
- "widget-lang-fa",
27
16
  "widget-lang-fi",
28
- "widget-lang-fil",
29
17
  "widget-lang-fr",
30
- "widget-lang-gl",
31
- "widget-lang-he",
32
- "widget-lang-hi",
33
- "widget-lang-hr",
34
18
  "widget-lang-hu",
35
- "widget-lang-hy",
36
19
  "widget-lang-id",
37
- "widget-lang-is",
38
20
  "widget-lang-it",
39
21
  "widget-lang-ja",
40
- "widget-lang-ka",
41
- "widget-lang-kk",
42
- "widget-lang-km",
43
- "widget-lang-kn",
44
22
  "widget-lang-ko",
45
23
  "widget-lang-lt",
46
24
  "widget-lang-lv",
47
- "widget-lang-mk",
48
- "widget-lang-ml",
49
- "widget-lang-mn",
50
- "widget-lang-mr",
51
- "widget-lang-ms",
52
25
  "widget-lang-nb",
53
- "widget-lang-ne",
54
26
  "widget-lang-nl",
55
- "widget-lang-nn",
56
27
  "widget-lang-pl",
57
28
  "widget-lang-pt",
58
29
  "widget-lang-ro",
59
30
  "widget-lang-ru",
60
- "widget-lang-si",
61
31
  "widget-lang-sk",
62
32
  "widget-lang-sl",
63
- "widget-lang-sq",
64
- "widget-lang-sr",
65
33
  "widget-lang-sv",
66
- "widget-lang-ta",
67
- "widget-lang-tg",
68
- "widget-lang-th",
69
34
  "widget-lang-tr",
70
- "widget-lang-ug",
71
35
  "widget-lang-uk",
72
- "widget-lang-uz",
73
- "widget-lang-vi",
74
- "widget-lang-xh",
75
- "widget-lang-yi",
76
36
  "widget-lang-zh",
77
- "iscedf2013-99",
78
- "iscedf2013-01",
79
- "iscedf2013-02",
80
- "iscedf2013-03",
81
- "iscedf2013-04",
82
- "iscedf2013-05",
83
- "iscedf2013-06",
84
- "iscedf2013-07",
85
- "iscedf2013-08",
86
- "iscedf2013-09",
87
- "iscedf2013-10",
88
37
  "isced2011-1",
89
38
  "isced2011-2",
90
39
  "isced2011-3",
@@ -275,7 +224,7 @@
275
224
  },
276
225
  "./widgets/webwriter-task": {
277
226
  "isolating": true,
278
- "content": "webwriter-task-prompt webwriter-task-hint? answer webwriter-task-explainer*",
227
+ "content": "webwriter-task-prompt webwriter-task-hint? answer",
279
228
  "uninsertable": true
280
229
  },
281
230
  "./widgets/webwriter-task-prompt": {