@webwriter/quiz 1.0.5 → 1.0.7

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 (128) hide show
  1. package/LICENSE +6 -6
  2. package/custom.d.ts +175 -175
  3. package/dist/widgets/webwriter-choice-item.css +1 -1
  4. package/dist/widgets/webwriter-choice-item.js +1886 -802
  5. package/dist/widgets/webwriter-choice.css +1 -1
  6. package/dist/widgets/webwriter-choice.js +1943 -846
  7. package/dist/widgets/webwriter-cloze-gap.css +1 -1
  8. package/dist/widgets/webwriter-cloze-gap.js +1988 -902
  9. package/dist/widgets/webwriter-cloze.css +1 -1
  10. package/dist/widgets/webwriter-cloze.js +1833 -748
  11. package/dist/widgets/webwriter-mark.css +1 -1
  12. package/dist/widgets/webwriter-mark.js +1848 -762
  13. package/dist/widgets/webwriter-order-item.css +1 -1
  14. package/dist/widgets/webwriter-order-item.js +1884 -799
  15. package/dist/widgets/webwriter-order.css +1 -1
  16. package/dist/widgets/webwriter-order.js +1882 -790
  17. package/dist/widgets/webwriter-pairing-item.css +1 -1
  18. package/dist/widgets/webwriter-pairing-item.js +1718 -614
  19. package/dist/widgets/webwriter-pairing.css +1 -1
  20. package/dist/widgets/webwriter-pairing.js +1873 -781
  21. package/dist/widgets/webwriter-quiz.css +1 -1
  22. package/dist/widgets/webwriter-quiz.js +2241 -1026
  23. package/dist/widgets/webwriter-speech.css +1 -1
  24. package/dist/widgets/webwriter-speech.js +2179 -961
  25. package/dist/widgets/webwriter-task-explainer.css +1 -1
  26. package/dist/widgets/webwriter-task-explainer.js +1704 -600
  27. package/dist/widgets/webwriter-task-hint.css +1 -1
  28. package/dist/widgets/webwriter-task-hint.js +1695 -591
  29. package/dist/widgets/webwriter-task-prompt.css +1 -1
  30. package/dist/widgets/webwriter-task-prompt.js +1670 -566
  31. package/dist/widgets/webwriter-task.css +1 -1
  32. package/dist/widgets/webwriter-task.js +2361 -1143
  33. package/dist/widgets/webwriter-text.css +1 -1
  34. package/dist/widgets/webwriter-text.js +1876 -770
  35. package/icon.svg +1 -0
  36. package/lit-localize.json +15 -0
  37. package/localization/bg.xlf +54 -0
  38. package/localization/cs.xlf +54 -0
  39. package/localization/da.xlf +54 -0
  40. package/localization/de.xlf +54 -0
  41. package/localization/el.xlf +54 -0
  42. package/localization/es.xlf +54 -0
  43. package/localization/et.xlf +54 -0
  44. package/localization/fi.xlf +54 -0
  45. package/localization/fr.xlf +54 -0
  46. package/localization/generated/bg.ts +25 -0
  47. package/localization/generated/cs.ts +25 -0
  48. package/localization/generated/da.ts +25 -0
  49. package/localization/generated/de.ts +25 -0
  50. package/localization/generated/el.ts +25 -0
  51. package/localization/generated/es.ts +25 -0
  52. package/localization/generated/et.ts +25 -0
  53. package/localization/generated/fi.ts +25 -0
  54. package/localization/generated/fr.ts +25 -0
  55. package/localization/generated/hu.ts +25 -0
  56. package/localization/generated/id.ts +25 -0
  57. package/localization/generated/index.js +3 -0
  58. package/localization/generated/it.ts +25 -0
  59. package/localization/generated/ja.ts +25 -0
  60. package/localization/generated/ko.ts +25 -0
  61. package/localization/generated/locale-codes.js +79 -0
  62. package/localization/generated/lt.ts +25 -0
  63. package/localization/generated/lv.ts +25 -0
  64. package/localization/generated/nb.ts +25 -0
  65. package/localization/generated/nl.ts +25 -0
  66. package/localization/generated/pl.ts +25 -0
  67. package/localization/generated/pt-BR.ts +25 -0
  68. package/localization/generated/pt-PT.ts +25 -0
  69. package/localization/generated/ro.ts +25 -0
  70. package/localization/generated/ru.ts +25 -0
  71. package/localization/generated/sk.ts +25 -0
  72. package/localization/generated/sl.ts +25 -0
  73. package/localization/generated/sv.ts +25 -0
  74. package/localization/generated/tr.ts +25 -0
  75. package/localization/generated/uk.ts +25 -0
  76. package/localization/generated/zh-hans.ts +25 -0
  77. package/localization/hu.xlf +54 -0
  78. package/localization/id.xlf +54 -0
  79. package/localization/it.xlf +54 -0
  80. package/localization/ja.xlf +54 -0
  81. package/localization/ko.xlf +54 -0
  82. package/localization/lt.xlf +54 -0
  83. package/localization/lv.xlf +54 -0
  84. package/localization/nb.xlf +54 -0
  85. package/localization/nl.xlf +54 -0
  86. package/localization/pl.xlf +54 -0
  87. package/localization/pt-BR.xlf +54 -0
  88. package/localization/pt-PT.xlf +54 -0
  89. package/localization/ro.xlf +54 -0
  90. package/localization/ru.xlf +54 -0
  91. package/localization/sk.xlf +54 -0
  92. package/localization/sl.xlf +54 -0
  93. package/localization/sv.xlf +54 -0
  94. package/localization/tr.xlf +54 -0
  95. package/localization/uk.xlf +54 -0
  96. package/localization/zh-hans.xlf +54 -0
  97. package/package.json +281 -193
  98. package/src/lib/combobox.ts +455 -455
  99. package/src/lib/highlighter-fill.svg +5 -5
  100. package/src/snippets/Beispiel-Choice.html +57 -0
  101. package/src/snippets/Beispiel-Mark.html +14 -0
  102. package/src/snippets/Beispiel-Order.html +52 -0
  103. package/src/snippets/Beispiel-Text.html +20 -0
  104. package/src/snippets/choice.html +7 -7
  105. package/src/snippets/cloze.html +3 -3
  106. package/src/snippets/mark.html +3 -3
  107. package/src/snippets/order.html +7 -7
  108. package/src/snippets/pairing.html +9 -9
  109. package/src/snippets/speech.html +3 -3
  110. package/src/snippets/text.html +3 -3
  111. package/src/snippets/wordsearch.html +3 -3
  112. package/src/widgets/webwriter-choice-item.ts +250 -250
  113. package/src/widgets/webwriter-choice.ts +314 -309
  114. package/src/widgets/webwriter-cloze-gap.ts +215 -216
  115. package/src/widgets/webwriter-cloze.ts +135 -135
  116. package/src/widgets/webwriter-mark.ts +431 -434
  117. package/src/widgets/webwriter-order-item.ts +437 -436
  118. package/src/widgets/webwriter-order.ts +284 -279
  119. package/src/widgets/webwriter-pairing-item.ts +160 -155
  120. package/src/widgets/webwriter-pairing.ts +192 -187
  121. package/src/widgets/webwriter-quiz.ts +281 -280
  122. package/src/widgets/webwriter-speech.ts +272 -267
  123. package/src/widgets/webwriter-task-explainer.ts +42 -37
  124. package/src/widgets/webwriter-task-hint.ts +22 -16
  125. package/src/widgets/webwriter-task-prompt.ts +23 -17
  126. package/src/widgets/webwriter-task.ts +546 -543
  127. package/src/widgets/webwriter-text.ts +135 -130
  128. package/tsconfig.json +6 -6
package/LICENSE CHANGED
@@ -1,7 +1,7 @@
1
- Copyright 2024 Frederic Salmen <frederic@fsalmen.de>
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
1
+ Copyright 2024 Frederic Salmen <frederic@fsalmen.de>
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
7
  THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/custom.d.ts CHANGED
@@ -1,176 +1,176 @@
1
- declare module '*.apng' {
2
- const content: string;
3
- export default content;
4
- }
5
- declare module '*.jpg' {
6
- const content: string;
7
- export default content;
8
- }
9
- declare module '*.jpeg' {
10
- const content: string;
11
- export default content;
12
- }
13
- declare module '*.jfif' {
14
- const content: string;
15
- export default content;
16
- }
17
- declare module '*.pjpeg' {
18
- const content: string;
19
- export default content;
20
- }
21
- declare module '*.pjp' {
22
- const content: string;
23
- export default content;
24
- }
25
- declare module '*.png' {
26
- const content: string;
27
- export default content;
28
- }
29
- declare module '*.svg' {
30
- const content: string;
31
- export default content;
32
- }
33
- declare module '*.webp' {
34
- const content: string;
35
- export default content;
36
- }
37
- declare module '*.bmp' {
38
- const content: string;
39
- export default content;
40
- }
41
- declare module '*.ico' {
42
- const content: string;
43
- export default content;
44
- }
45
- declare module '*.cur' {
46
- const content: string;
47
- export default content;
48
- }
49
- declare module '*.tif' {
50
- const content: string;
51
- export default content;
52
- }
53
- declare module '*.tiff' {
54
- const content: string;
55
- export default content;
56
- }
57
- declare module '*.wav' {
58
- const content: string;
59
- export default content;
60
- }
61
- declare module '*.wave' {
62
- const content: string;
63
- export default content;
64
- }
65
- declare module '*.mp3' {
66
- const content: string;
67
- export default content;
68
- }
69
- declare module '*.aac' {
70
- const content: string;
71
- export default content;
72
- }
73
- declare module '*.aacp' {
74
- const content: string;
75
- export default content;
76
- }
77
- declare module '*.oga' {
78
- const content: string;
79
- export default content;
80
- }
81
- declare module '*.flac' {
82
- const content: string;
83
- export default content;
84
- }
85
- declare module '*.weba' {
86
- const content: string;
87
- export default content;
88
- }
89
- declare module '*.mp4' {
90
- const content: string;
91
- export default content;
92
- }
93
- declare module '*.webm' {
94
- const content: string;
95
- export default content;
96
- }
97
- declare module '*.avif' {
98
- const content: string;
99
- export default content;
100
- }
101
- declare module '*.gif' {
102
- const content: string;
103
- export default content;
104
- }
105
- declare module '*.mov' {
106
- const content: string;
107
- export default content;
108
- }
109
- declare module '*.avi' {
110
- const content: string;
111
- export default content;
112
- }
113
- declare module '*.ogv' {
114
- const content: string;
115
- export default content;
116
- }
117
- declare module '*.mkv' {
118
- const content: string;
119
- export default content;
120
- }
121
- declare module '*.opus' {
122
- const content: string;
123
- export default content;
124
- }
125
- declare module '*.mpeg' {
126
- const content: string;
127
- export default content;
128
- }
129
- declare module '*.woff' {
130
- const content: string;
131
- export default content;
132
- }
133
- declare module '*.woff2' {
134
- const content: string;
135
- export default content;
136
- }
137
- declare module '*.ttf' {
138
- const content: string;
139
- export default content;
140
- }
141
- declare module '*.otf' {
142
- const content: string;
143
- export default content;
144
- }
145
- declare module '*.pdf' {
146
- const content: string;
147
- export default content;
148
- }
149
- declare module '*.json' {
150
- const content: {[key: string]: any};
151
- export default content;
152
- }
153
- declare module '*.jsonld' {
154
- const content: {[key: string]: any};
155
- export default content;
156
- }
157
- declare module '*.txt' {
158
- const content: string;
159
- export default content;
160
- }
161
- declare module '*.csv' {
162
- const content: string;
163
- export default content;
164
- }
165
- declare module '*.htm' {
166
- const content: string;
167
- export default content;
168
- }
169
- declare module '*.html' {
170
- const content: string;
171
- export default content;
172
- }
173
- declare module '*.xml' {
174
- const content: string;
175
- export default content;
1
+ declare module '*.apng' {
2
+ const content: string;
3
+ export default content;
4
+ }
5
+ declare module '*.jpg' {
6
+ const content: string;
7
+ export default content;
8
+ }
9
+ declare module '*.jpeg' {
10
+ const content: string;
11
+ export default content;
12
+ }
13
+ declare module '*.jfif' {
14
+ const content: string;
15
+ export default content;
16
+ }
17
+ declare module '*.pjpeg' {
18
+ const content: string;
19
+ export default content;
20
+ }
21
+ declare module '*.pjp' {
22
+ const content: string;
23
+ export default content;
24
+ }
25
+ declare module '*.png' {
26
+ const content: string;
27
+ export default content;
28
+ }
29
+ declare module '*.svg' {
30
+ const content: string;
31
+ export default content;
32
+ }
33
+ declare module '*.webp' {
34
+ const content: string;
35
+ export default content;
36
+ }
37
+ declare module '*.bmp' {
38
+ const content: string;
39
+ export default content;
40
+ }
41
+ declare module '*.ico' {
42
+ const content: string;
43
+ export default content;
44
+ }
45
+ declare module '*.cur' {
46
+ const content: string;
47
+ export default content;
48
+ }
49
+ declare module '*.tif' {
50
+ const content: string;
51
+ export default content;
52
+ }
53
+ declare module '*.tiff' {
54
+ const content: string;
55
+ export default content;
56
+ }
57
+ declare module '*.wav' {
58
+ const content: string;
59
+ export default content;
60
+ }
61
+ declare module '*.wave' {
62
+ const content: string;
63
+ export default content;
64
+ }
65
+ declare module '*.mp3' {
66
+ const content: string;
67
+ export default content;
68
+ }
69
+ declare module '*.aac' {
70
+ const content: string;
71
+ export default content;
72
+ }
73
+ declare module '*.aacp' {
74
+ const content: string;
75
+ export default content;
76
+ }
77
+ declare module '*.oga' {
78
+ const content: string;
79
+ export default content;
80
+ }
81
+ declare module '*.flac' {
82
+ const content: string;
83
+ export default content;
84
+ }
85
+ declare module '*.weba' {
86
+ const content: string;
87
+ export default content;
88
+ }
89
+ declare module '*.mp4' {
90
+ const content: string;
91
+ export default content;
92
+ }
93
+ declare module '*.webm' {
94
+ const content: string;
95
+ export default content;
96
+ }
97
+ declare module '*.avif' {
98
+ const content: string;
99
+ export default content;
100
+ }
101
+ declare module '*.gif' {
102
+ const content: string;
103
+ export default content;
104
+ }
105
+ declare module '*.mov' {
106
+ const content: string;
107
+ export default content;
108
+ }
109
+ declare module '*.avi' {
110
+ const content: string;
111
+ export default content;
112
+ }
113
+ declare module '*.ogv' {
114
+ const content: string;
115
+ export default content;
116
+ }
117
+ declare module '*.mkv' {
118
+ const content: string;
119
+ export default content;
120
+ }
121
+ declare module '*.opus' {
122
+ const content: string;
123
+ export default content;
124
+ }
125
+ declare module '*.mpeg' {
126
+ const content: string;
127
+ export default content;
128
+ }
129
+ declare module '*.woff' {
130
+ const content: string;
131
+ export default content;
132
+ }
133
+ declare module '*.woff2' {
134
+ const content: string;
135
+ export default content;
136
+ }
137
+ declare module '*.ttf' {
138
+ const content: string;
139
+ export default content;
140
+ }
141
+ declare module '*.otf' {
142
+ const content: string;
143
+ export default content;
144
+ }
145
+ declare module '*.pdf' {
146
+ const content: string;
147
+ export default content;
148
+ }
149
+ declare module '*.json' {
150
+ const content: {[key: string]: any};
151
+ export default content;
152
+ }
153
+ declare module '*.jsonld' {
154
+ const content: {[key: string]: any};
155
+ export default content;
156
+ }
157
+ declare module '*.txt' {
158
+ const content: string;
159
+ export default content;
160
+ }
161
+ declare module '*.csv' {
162
+ const content: string;
163
+ export default content;
164
+ }
165
+ declare module '*.htm' {
166
+ const content: string;
167
+ export default content;
168
+ }
169
+ declare module '*.html' {
170
+ const content: string;
171
+ export default content;
172
+ }
173
+ declare module '*.xml' {
174
+ const content: string;
175
+ export default content;
176
176
  }
@@ -1,4 +1,4 @@
1
- /* ../../node_modules/@shoelace-style/shoelace/dist/themes/light.css */
1
+ /* node_modules/@shoelace-style/shoelace/dist/themes/light.css */
2
2
  :root,
3
3
  :host,
4
4
  .sl-theme-light {