@citolab/qti-components 7.1.6 → 7.2.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.
Files changed (411) hide show
  1. package/cdn/chunks/chunk-2CXOEWW3.js +5 -0
  2. package/cdn/chunks/chunk-2GVQHMFN.js +5 -0
  3. package/cdn/chunks/chunk-34TLO462.js +1 -0
  4. package/cdn/chunks/chunk-3AUZHOWF.js +5 -0
  5. package/cdn/chunks/chunk-3BTFQ7WO.js +5 -0
  6. package/cdn/chunks/chunk-3G52PPHF.js +1 -0
  7. package/cdn/chunks/chunk-3T7FMZJJ.js +5 -0
  8. package/cdn/chunks/chunk-3WMAQ764.js +23 -0
  9. package/cdn/chunks/chunk-3XYZ63C3.js +1 -0
  10. package/cdn/chunks/chunk-42AQQPRG.js +5 -0
  11. package/cdn/chunks/chunk-43VY76CQ.js +5 -0
  12. package/cdn/chunks/chunk-4VDQDT6F.js +1 -0
  13. package/cdn/chunks/chunk-4XDZ5XHU.js +1007 -0
  14. package/cdn/chunks/chunk-52V4Q43H.js +5 -0
  15. package/cdn/chunks/chunk-5DVS53XB.js +1007 -0
  16. package/cdn/chunks/chunk-5SM3KVCK.js +5 -0
  17. package/cdn/chunks/chunk-6BZPFYLZ.js +1 -0
  18. package/cdn/chunks/chunk-7B6HAKFL.js +1 -0
  19. package/cdn/chunks/chunk-7BENQ76L.js +1 -0
  20. package/cdn/chunks/chunk-A5GQJBQ4.js +5 -0
  21. package/cdn/chunks/chunk-A6PJTNI7.js +23 -0
  22. package/cdn/chunks/chunk-AFBSMLI4.js +5 -0
  23. package/cdn/chunks/chunk-AU2GM346.js +23 -0
  24. package/cdn/chunks/chunk-B345O2HX.js +1 -0
  25. package/cdn/chunks/chunk-B3RMHCUZ.js +1 -0
  26. package/cdn/chunks/chunk-BFPXRWNH.js +5 -0
  27. package/cdn/chunks/chunk-BGBABJCL.js +5 -0
  28. package/cdn/chunks/chunk-BKSBIZJA.js +5 -0
  29. package/cdn/chunks/chunk-BWG4B5VP.js +0 -0
  30. package/cdn/chunks/chunk-C25LH4KA.js +1 -0
  31. package/cdn/chunks/chunk-CDCBI3YD.js +1 -0
  32. package/cdn/chunks/chunk-CQPD5NPM.js +1 -0
  33. package/cdn/chunks/chunk-CS6UCV2Q.js +5 -0
  34. package/cdn/chunks/chunk-D74A6CWS.js +8 -0
  35. package/cdn/chunks/chunk-DFZQWABG.js +5 -0
  36. package/cdn/chunks/chunk-DHZMASGY.js +5 -0
  37. package/cdn/chunks/chunk-EZ7OIK2M.js +1007 -0
  38. package/cdn/chunks/chunk-F2WLIUYH.js +5 -0
  39. package/cdn/chunks/chunk-F3ZZJBV2.js +5 -0
  40. package/cdn/chunks/chunk-FCH2GIHD.js +1 -0
  41. package/cdn/chunks/chunk-FKUEIENC.js +5 -0
  42. package/cdn/chunks/chunk-FMCWO2FJ.js +17 -0
  43. package/cdn/chunks/chunk-FQW2YR3J.js +1 -0
  44. package/cdn/chunks/chunk-FVEUVB2H.js +23 -0
  45. package/cdn/chunks/chunk-GMF365YO.js +16 -0
  46. package/cdn/chunks/chunk-GWRXCQHZ.js +23 -0
  47. package/cdn/chunks/chunk-HAXNBTTE.js +1 -0
  48. package/cdn/chunks/chunk-HEAJ2NEA.js +1007 -0
  49. package/cdn/chunks/chunk-HKBOCCDM.js +5 -0
  50. package/cdn/chunks/chunk-HRLTVAPZ.js +5 -0
  51. package/cdn/chunks/chunk-HZ5STZXK.js +5 -0
  52. package/cdn/chunks/chunk-I5HGXKPD.js +1007 -0
  53. package/cdn/chunks/chunk-IELXBBZK.js +5 -0
  54. package/cdn/chunks/chunk-IHL5T5GX.js +5 -0
  55. package/cdn/chunks/chunk-IHVEZOAV.js +5 -0
  56. package/cdn/chunks/chunk-J2M4UG43.js +1 -0
  57. package/cdn/chunks/chunk-JAMSX45C.js +1 -0
  58. package/cdn/chunks/chunk-JEPI46VU.js +5 -0
  59. package/cdn/chunks/chunk-JSQUXTN4.js +1033 -0
  60. package/cdn/chunks/chunk-JXDOR5ZC.js +1 -0
  61. package/cdn/chunks/chunk-JXU7B3Q3.js +5 -0
  62. package/cdn/chunks/chunk-JZCJOPJ4.js +1007 -0
  63. package/cdn/chunks/chunk-KKEW6E2D.js +5 -0
  64. package/cdn/chunks/chunk-L4UTGAI5.js +5 -0
  65. package/cdn/chunks/chunk-LMLG3NBM.js +5 -0
  66. package/cdn/chunks/chunk-MM2ZXHVH.js +5 -0
  67. package/cdn/chunks/chunk-NQQE76LE.js +1 -0
  68. package/cdn/chunks/chunk-O6CWZJXT.js +28 -0
  69. package/cdn/chunks/chunk-OK2KV5ZV.js +1033 -0
  70. package/cdn/chunks/chunk-OSEDGNNB.js +1007 -0
  71. package/cdn/chunks/chunk-PJFHT7NY.js +5 -0
  72. package/cdn/chunks/chunk-PKWOG7OF.js +5 -0
  73. package/cdn/chunks/chunk-PTG4PTFS.js +5 -0
  74. package/cdn/chunks/chunk-PX7O5JO2.js +1033 -0
  75. package/cdn/chunks/chunk-QBLSG366.js +1033 -0
  76. package/cdn/chunks/chunk-QIRSCGXH.js +1007 -0
  77. package/cdn/chunks/chunk-RIPDQPTC.js +5 -0
  78. package/cdn/chunks/chunk-RO5THFZ6.js +5 -0
  79. package/cdn/chunks/chunk-SNS5XDXU.js +1033 -0
  80. package/cdn/chunks/chunk-SQ3RENJ6.js +5 -0
  81. package/cdn/chunks/chunk-SUOAWPV7.js +23 -0
  82. package/cdn/chunks/chunk-T43NJLH5.js +5 -0
  83. package/cdn/chunks/chunk-TIH5N4LQ.js +1007 -0
  84. package/cdn/chunks/chunk-TOUJRNTD.js +1007 -0
  85. package/cdn/chunks/chunk-TSMKXWWV.js +5 -0
  86. package/cdn/chunks/chunk-TU4L55WU.js +5 -0
  87. package/cdn/chunks/chunk-UDPQY4OA.js +1007 -0
  88. package/cdn/chunks/chunk-ULI6NOVG.js +23 -0
  89. package/cdn/chunks/chunk-UTEMKKYS.js +1 -0
  90. package/cdn/chunks/chunk-UV3CSMRU.js +5 -0
  91. package/cdn/chunks/chunk-V2RDHKE2.js +5 -0
  92. package/cdn/chunks/chunk-VQLIWL6K.js +5 -0
  93. package/cdn/chunks/chunk-VZEUFE5C.js +3455 -0
  94. package/cdn/chunks/chunk-W5B2MLGL.js +1 -0
  95. package/cdn/chunks/chunk-WJGOCWFB.js +1 -0
  96. package/cdn/chunks/chunk-WLQN7SVZ.js +1033 -0
  97. package/cdn/chunks/chunk-WUX2JPB5.js +17 -0
  98. package/cdn/chunks/chunk-X7FRU3B6.js +5 -0
  99. package/cdn/chunks/chunk-XAGT5BEK.js +1033 -0
  100. package/cdn/chunks/chunk-XS46RWY6.js +5 -0
  101. package/cdn/chunks/chunk-XTNESJMB.js +5 -0
  102. package/cdn/chunks/chunk-Y2EDF22E.js +16 -0
  103. package/cdn/chunks/chunk-YE4ZNHXG.js +23 -0
  104. package/cdn/chunks/chunk-YMFPA4QO.js +5 -0
  105. package/cdn/chunks/chunk-YRK3ZLQP.js +1033 -0
  106. package/cdn/chunks/chunk-ZOMLA6TY.js +1033 -0
  107. package/cdn/index.global.js +1 -1
  108. package/cdn/index.js +1 -1
  109. package/cdn/qti-components/index.js +1 -1
  110. package/cdn/qti-item/components/item-container.js +1 -1
  111. package/cdn/qti-item/core/index.js +1 -1
  112. package/cdn/qti-loader/index.js +1 -1
  113. package/cdn/qti-test/components/index.js +1 -1
  114. package/cdn/qti-test/components/test-container.js +1 -1
  115. package/cdn/qti-test/components/test-navigation.js +1 -1
  116. package/cdn/qti-test/components/test-next.js +1 -1
  117. package/cdn/qti-test/components/test-scoring-buttons.js +1 -1
  118. package/cdn/qti-test/components/test-scoring-feedback.js +1 -1
  119. package/cdn/qti-test/components/test-stamp.js +1 -0
  120. package/cdn/qti-test/components/test-view-toggle.js +1 -1
  121. package/cdn/qti-test/core/index.js +1 -1
  122. package/cdn/qti-transformers/index.js +1 -1
  123. package/dist/chunks/chunk-2GPGOKL6.js +94 -0
  124. package/dist/chunks/chunk-2GPGOKL6.js.map +1 -0
  125. package/dist/chunks/chunk-2J22QBLB.js +94 -0
  126. package/dist/chunks/chunk-2J22QBLB.js.map +1 -0
  127. package/dist/chunks/chunk-34F2DVNP.js +85 -0
  128. package/dist/chunks/chunk-34F2DVNP.js.map +1 -0
  129. package/dist/chunks/chunk-3TM6VQEG.js +375 -0
  130. package/dist/chunks/chunk-3TM6VQEG.js.map +1 -0
  131. package/dist/chunks/chunk-3YVVZ2MO.js +374 -0
  132. package/dist/chunks/chunk-3YVVZ2MO.js.map +1 -0
  133. package/dist/chunks/chunk-46RFKXS6.js +94 -0
  134. package/dist/chunks/chunk-46RFKXS6.js.map +1 -0
  135. package/dist/chunks/chunk-47BWT37I.js +94 -0
  136. package/dist/chunks/chunk-47BWT37I.js.map +1 -0
  137. package/dist/chunks/chunk-4EXSIVXY.js +68 -0
  138. package/dist/chunks/chunk-4EXSIVXY.js.map +1 -0
  139. package/dist/chunks/chunk-4IPSXNHA.js +870 -0
  140. package/dist/chunks/chunk-4IPSXNHA.js.map +1 -0
  141. package/dist/chunks/chunk-4JL6LXWC.js +94 -0
  142. package/dist/chunks/chunk-4JL6LXWC.js.map +1 -0
  143. package/dist/chunks/chunk-4TQ3YR2O.js +31 -0
  144. package/dist/chunks/chunk-4TQ3YR2O.js.map +1 -0
  145. package/dist/chunks/chunk-4VEH63K4.js +854 -0
  146. package/dist/chunks/chunk-4VEH63K4.js.map +1 -0
  147. package/dist/chunks/chunk-5FKTC6XV.js +99 -0
  148. package/dist/chunks/chunk-5FKTC6XV.js.map +1 -0
  149. package/dist/chunks/chunk-5SZAGP4N.js +863 -0
  150. package/dist/chunks/chunk-5SZAGP4N.js.map +1 -0
  151. package/dist/chunks/chunk-64EQ3AQ4.js +240 -0
  152. package/dist/chunks/chunk-64EQ3AQ4.js.map +1 -0
  153. package/dist/chunks/chunk-6MECYIS2.js +94 -0
  154. package/dist/chunks/chunk-6MECYIS2.js.map +1 -0
  155. package/dist/chunks/chunk-6T5ICOX2.js +94 -0
  156. package/dist/chunks/chunk-6T5ICOX2.js.map +1 -0
  157. package/dist/chunks/chunk-6ZK4ZDQA.js +94 -0
  158. package/dist/chunks/chunk-6ZK4ZDQA.js.map +1 -0
  159. package/dist/chunks/chunk-7KTTLJUH.js +45 -0
  160. package/dist/chunks/chunk-7KTTLJUH.js.map +1 -0
  161. package/dist/chunks/chunk-7LFQ6D75.js +95 -0
  162. package/dist/chunks/chunk-7LFQ6D75.js.map +1 -0
  163. package/dist/chunks/chunk-7T5WVG7T.js +853 -0
  164. package/dist/chunks/chunk-7T5WVG7T.js.map +1 -0
  165. package/dist/chunks/chunk-A5IAS5VV.js +54 -0
  166. package/dist/chunks/chunk-A5IAS5VV.js.map +1 -0
  167. package/dist/chunks/chunk-ABDJRZ2V.js +78 -0
  168. package/dist/chunks/chunk-ABDJRZ2V.js.map +1 -0
  169. package/dist/chunks/chunk-AN33KA5S.js +94 -0
  170. package/dist/chunks/chunk-AN33KA5S.js.map +1 -0
  171. package/dist/chunks/chunk-B2SP77UV.js +818 -0
  172. package/dist/chunks/chunk-B2SP77UV.js.map +1 -0
  173. package/dist/chunks/chunk-BB7V3D2X.js +250 -0
  174. package/dist/chunks/chunk-BB7V3D2X.js.map +1 -0
  175. package/dist/chunks/chunk-BJAP2552.js +6893 -0
  176. package/dist/chunks/chunk-BJAP2552.js.map +1 -0
  177. package/dist/chunks/chunk-BSPLGP2R.js +627 -0
  178. package/dist/chunks/chunk-BSPLGP2R.js.map +1 -0
  179. package/dist/chunks/chunk-BWUEY6V5.js +818 -0
  180. package/dist/chunks/chunk-BWUEY6V5.js.map +1 -0
  181. package/dist/chunks/chunk-C7YUIKFQ.js +249 -0
  182. package/dist/chunks/chunk-C7YUIKFQ.js.map +1 -0
  183. package/dist/chunks/chunk-CIZ7HKZC.js +42 -0
  184. package/dist/chunks/chunk-CIZ7HKZC.js.map +1 -0
  185. package/dist/chunks/chunk-CJSBOJOH.js +6888 -0
  186. package/dist/chunks/chunk-CJSBOJOH.js.map +1 -0
  187. package/dist/chunks/chunk-CYB63HHS.js +31 -0
  188. package/dist/chunks/chunk-CYB63HHS.js.map +1 -0
  189. package/dist/chunks/chunk-DFSZKFKS.js +43 -0
  190. package/dist/chunks/chunk-DFSZKFKS.js.map +1 -0
  191. package/dist/chunks/chunk-DNRSH4DB.js +854 -0
  192. package/dist/chunks/chunk-DNRSH4DB.js.map +1 -0
  193. package/dist/chunks/chunk-DPDCXMHW.js +81 -0
  194. package/dist/chunks/chunk-DPDCXMHW.js.map +1 -0
  195. package/dist/chunks/chunk-DQ62VQEH.js +627 -0
  196. package/dist/chunks/chunk-DQ62VQEH.js.map +1 -0
  197. package/dist/chunks/chunk-E4G74EVO.js +99 -0
  198. package/dist/chunks/chunk-E4G74EVO.js.map +1 -0
  199. package/dist/chunks/chunk-E7YBWRAI.js +870 -0
  200. package/dist/chunks/chunk-E7YBWRAI.js.map +1 -0
  201. package/dist/chunks/chunk-EA7DHOYO.js +6903 -0
  202. package/dist/chunks/chunk-EA7DHOYO.js.map +1 -0
  203. package/dist/chunks/chunk-EAFJQRTV.js +56 -0
  204. package/dist/chunks/chunk-EAFJQRTV.js.map +1 -0
  205. package/dist/chunks/chunk-EL4TPH56.js +94 -0
  206. package/dist/chunks/chunk-EL4TPH56.js.map +1 -0
  207. package/dist/chunks/chunk-ERWBN3ZB.js +6899 -0
  208. package/dist/chunks/chunk-ERWBN3ZB.js.map +1 -0
  209. package/dist/chunks/chunk-FI6LX4IS.js +853 -0
  210. package/dist/chunks/chunk-FI6LX4IS.js.map +1 -0
  211. package/dist/chunks/chunk-FORIPEB2.js +241 -0
  212. package/dist/chunks/chunk-FORIPEB2.js.map +1 -0
  213. package/dist/chunks/chunk-G3TG4ADZ.js +8 -0
  214. package/dist/chunks/chunk-G3TG4ADZ.js.map +1 -0
  215. package/dist/chunks/chunk-H4XZSMVR.js +375 -0
  216. package/dist/chunks/chunk-H4XZSMVR.js.map +1 -0
  217. package/dist/chunks/chunk-H6O2X4MD.js +42 -0
  218. package/dist/chunks/chunk-H6O2X4MD.js.map +1 -0
  219. package/dist/chunks/chunk-H7W3RQS4.js +627 -0
  220. package/dist/chunks/chunk-H7W3RQS4.js.map +1 -0
  221. package/dist/chunks/chunk-HMHM2W7Z.js +241 -0
  222. package/dist/chunks/chunk-HMHM2W7Z.js.map +1 -0
  223. package/dist/chunks/chunk-I3RHYDUK.js +6917 -0
  224. package/dist/chunks/chunk-I3RHYDUK.js.map +1 -0
  225. package/dist/chunks/chunk-IHNLBY62.js +42 -0
  226. package/dist/chunks/chunk-IHNLBY62.js.map +1 -0
  227. package/dist/chunks/chunk-ILA6BNIO.js +31 -0
  228. package/dist/chunks/chunk-ILA6BNIO.js.map +1 -0
  229. package/dist/chunks/chunk-JFZF77EN.js +31 -0
  230. package/dist/chunks/chunk-JFZF77EN.js.map +1 -0
  231. package/dist/chunks/chunk-JOQ2E6SE.js +92 -0
  232. package/dist/chunks/chunk-JOQ2E6SE.js.map +1 -0
  233. package/dist/chunks/chunk-JQBEZ43O.js +240 -0
  234. package/dist/chunks/chunk-JQBEZ43O.js.map +1 -0
  235. package/dist/chunks/chunk-JQQ755AG.js +854 -0
  236. package/dist/chunks/chunk-JQQ755AG.js.map +1 -0
  237. package/dist/chunks/chunk-JRDTY7YA.js +627 -0
  238. package/dist/chunks/chunk-JRDTY7YA.js.map +1 -0
  239. package/dist/chunks/chunk-JU7QJQ6F.js +853 -0
  240. package/dist/chunks/chunk-JU7QJQ6F.js.map +1 -0
  241. package/dist/chunks/chunk-JVAVUINW.js +870 -0
  242. package/dist/chunks/chunk-JVAVUINW.js.map +1 -0
  243. package/dist/chunks/chunk-K6LM7XK5.js +94 -0
  244. package/dist/chunks/chunk-K6LM7XK5.js.map +1 -0
  245. package/dist/chunks/chunk-K6PU3ZO4.js +853 -0
  246. package/dist/chunks/chunk-K6PU3ZO4.js.map +1 -0
  247. package/dist/chunks/chunk-KD26ZB2H.js +3445 -0
  248. package/dist/chunks/chunk-KD26ZB2H.js.map +1 -0
  249. package/dist/chunks/chunk-KGL6SIOD.js +6893 -0
  250. package/dist/chunks/chunk-KGL6SIOD.js.map +1 -0
  251. package/dist/chunks/chunk-KIRLKN6I.js +68 -0
  252. package/dist/chunks/chunk-KIRLKN6I.js.map +1 -0
  253. package/dist/chunks/chunk-L74KEUIS.js +94 -0
  254. package/dist/chunks/chunk-L74KEUIS.js.map +1 -0
  255. package/dist/chunks/chunk-LD4XIWJQ.js +6908 -0
  256. package/dist/chunks/chunk-LD4XIWJQ.js.map +1 -0
  257. package/dist/chunks/chunk-LEXNKJYF.js +6888 -0
  258. package/dist/chunks/chunk-LEXNKJYF.js.map +1 -0
  259. package/dist/chunks/chunk-LHF73NOA.js +6899 -0
  260. package/dist/chunks/chunk-LHF73NOA.js.map +1 -0
  261. package/dist/chunks/chunk-LVE5GKDT.js +94 -0
  262. package/dist/chunks/chunk-LVE5GKDT.js.map +1 -0
  263. package/dist/chunks/chunk-LVZHVB7F.js +31 -0
  264. package/dist/chunks/chunk-LVZHVB7F.js.map +1 -0
  265. package/dist/chunks/chunk-MGLNBEW4.js +33 -0
  266. package/dist/chunks/chunk-MGLNBEW4.js.map +1 -0
  267. package/dist/chunks/chunk-MS7YRGNG.js +56 -0
  268. package/dist/chunks/chunk-MS7YRGNG.js.map +1 -0
  269. package/dist/chunks/chunk-N25ZKAHQ.js +50 -0
  270. package/dist/chunks/chunk-N25ZKAHQ.js.map +1 -0
  271. package/dist/chunks/chunk-N46CJQRI.js +94 -0
  272. package/dist/chunks/chunk-N46CJQRI.js.map +1 -0
  273. package/dist/chunks/chunk-N4QWREF4.js +375 -0
  274. package/dist/chunks/chunk-N4QWREF4.js.map +1 -0
  275. package/dist/chunks/chunk-NM3JA4DH.js +6893 -0
  276. package/dist/chunks/chunk-NM3JA4DH.js.map +1 -0
  277. package/dist/chunks/chunk-NOHVLBCB.js +371 -0
  278. package/dist/chunks/chunk-NOHVLBCB.js.map +1 -0
  279. package/dist/chunks/chunk-NQSOVEFB.js +31 -0
  280. package/dist/chunks/chunk-NQSOVEFB.js.map +1 -0
  281. package/dist/chunks/chunk-OA7AFFCB.js +866 -0
  282. package/dist/chunks/chunk-OA7AFFCB.js.map +1 -0
  283. package/dist/chunks/chunk-OLNSD7FR.js +31 -0
  284. package/dist/chunks/chunk-OLNSD7FR.js.map +1 -0
  285. package/dist/chunks/chunk-OREE4FRY.js +42 -0
  286. package/dist/chunks/chunk-OREE4FRY.js.map +1 -0
  287. package/dist/chunks/chunk-P66WO2Q5.js +870 -0
  288. package/dist/chunks/chunk-P66WO2Q5.js.map +1 -0
  289. package/dist/chunks/chunk-PKOIFI5C.js +853 -0
  290. package/dist/chunks/chunk-PKOIFI5C.js.map +1 -0
  291. package/dist/chunks/chunk-Q5QUG5DL.js +870 -0
  292. package/dist/chunks/chunk-Q5QUG5DL.js.map +1 -0
  293. package/dist/chunks/chunk-QFV3VHZ4.js +43 -0
  294. package/dist/chunks/chunk-QFV3VHZ4.js.map +1 -0
  295. package/dist/chunks/chunk-QTKNSVUO.js +854 -0
  296. package/dist/chunks/chunk-QTKNSVUO.js.map +1 -0
  297. package/dist/chunks/chunk-QYH6VORA.js +6895 -0
  298. package/dist/chunks/chunk-QYH6VORA.js.map +1 -0
  299. package/dist/chunks/chunk-RSGEN2FF.js +6917 -0
  300. package/dist/chunks/chunk-RSGEN2FF.js.map +1 -0
  301. package/dist/chunks/chunk-S4YY5LQ6.js +870 -0
  302. package/dist/chunks/chunk-S4YY5LQ6.js.map +1 -0
  303. package/dist/chunks/chunk-S6XGFD5B.js +6893 -0
  304. package/dist/chunks/chunk-S6XGFD5B.js.map +1 -0
  305. package/dist/chunks/chunk-SKXNZMFN.js +870 -0
  306. package/dist/chunks/chunk-SKXNZMFN.js.map +1 -0
  307. package/dist/chunks/chunk-SOT463MH.js +68 -0
  308. package/dist/chunks/chunk-SOT463MH.js.map +1 -0
  309. package/dist/chunks/chunk-SZMR2BFI.js +94 -0
  310. package/dist/chunks/chunk-SZMR2BFI.js.map +1 -0
  311. package/dist/chunks/chunk-TDKYWAGB.js +50 -0
  312. package/dist/chunks/chunk-TDKYWAGB.js.map +1 -0
  313. package/dist/chunks/chunk-TDNCAAAT.js +627 -0
  314. package/dist/chunks/chunk-TDNCAAAT.js.map +1 -0
  315. package/dist/chunks/chunk-TVOHUHS4.js +94 -0
  316. package/dist/chunks/chunk-TVOHUHS4.js.map +1 -0
  317. package/dist/chunks/chunk-UE3R54FP.js +853 -0
  318. package/dist/chunks/chunk-UE3R54FP.js.map +1 -0
  319. package/dist/chunks/chunk-UUEOV5NM.js +1 -0
  320. package/dist/chunks/chunk-UUEOV5NM.js.map +1 -0
  321. package/dist/chunks/chunk-UZRIKXLU.js +94 -0
  322. package/dist/chunks/chunk-UZRIKXLU.js.map +1 -0
  323. package/dist/chunks/chunk-VAYGVW5R.js +6903 -0
  324. package/dist/chunks/chunk-VAYGVW5R.js.map +1 -0
  325. package/dist/chunks/chunk-VEWD22O5.js +383 -0
  326. package/dist/chunks/chunk-VEWD22O5.js.map +1 -0
  327. package/dist/chunks/chunk-VF32HLF4.js +81 -0
  328. package/dist/chunks/chunk-VF32HLF4.js.map +1 -0
  329. package/dist/chunks/chunk-VY7QNZVM.js +6893 -0
  330. package/dist/chunks/chunk-VY7QNZVM.js.map +1 -0
  331. package/dist/chunks/chunk-W4FWEMCO.js +871 -0
  332. package/dist/chunks/chunk-W4FWEMCO.js.map +1 -0
  333. package/dist/chunks/chunk-W5VRVGBL.js +81 -0
  334. package/dist/chunks/chunk-W5VRVGBL.js.map +1 -0
  335. package/dist/chunks/chunk-WDGXLQLI.js +94 -0
  336. package/dist/chunks/chunk-WDGXLQLI.js.map +1 -0
  337. package/dist/chunks/chunk-WLVDQ3UA.js +6898 -0
  338. package/dist/chunks/chunk-WLVDQ3UA.js.map +1 -0
  339. package/dist/chunks/chunk-WTTOJHIM.js +371 -0
  340. package/dist/chunks/chunk-WTTOJHIM.js.map +1 -0
  341. package/dist/chunks/chunk-WZZOX7S2.js +853 -0
  342. package/dist/chunks/chunk-WZZOX7S2.js.map +1 -0
  343. package/dist/chunks/chunk-X2G652U7.js +6903 -0
  344. package/dist/chunks/chunk-X2G652U7.js.map +1 -0
  345. package/dist/chunks/chunk-XKQP4R6O.js +380 -0
  346. package/dist/chunks/chunk-XKQP4R6O.js.map +1 -0
  347. package/dist/chunks/chunk-Y7BBA7SG.js +6895 -0
  348. package/dist/chunks/chunk-Y7BBA7SG.js.map +1 -0
  349. package/dist/chunks/chunk-Z3SN77PI.js +31 -0
  350. package/dist/chunks/chunk-Z3SN77PI.js.map +1 -0
  351. package/dist/chunks/chunk-ZECYUSVI.js +43 -0
  352. package/dist/chunks/chunk-ZECYUSVI.js.map +1 -0
  353. package/dist/chunks/chunk-ZSPVMGE5.js +94 -0
  354. package/dist/chunks/chunk-ZSPVMGE5.js.map +1 -0
  355. package/dist/chunks/chunk-ZTXBJYUG.js +94 -0
  356. package/dist/chunks/chunk-ZTXBJYUG.js.map +1 -0
  357. package/dist/exports/computed-item.context.d.ts +1 -1
  358. package/dist/exports/computed.context.d.ts +1 -1
  359. package/dist/exports/interaction.d.ts +1 -1
  360. package/dist/exports/item.context.d.ts +1 -1
  361. package/dist/exports/qti-assessment-item.context.d.ts +1 -1
  362. package/dist/exports/qti-condition-expression.d.ts +1 -1
  363. package/dist/exports/qti-expression.d.ts +1 -1
  364. package/dist/exports/session.context.d.ts +2 -2
  365. package/dist/exports/test.context.d.ts +1 -1
  366. package/dist/exports/variables.d.ts +1 -1
  367. package/dist/index.d.ts +7 -2
  368. package/dist/index.js +37 -21
  369. package/dist/item.css +26 -130
  370. package/dist/qti-components/index.d.ts +2 -2
  371. package/dist/qti-components/index.js +2 -2
  372. package/dist/qti-components-jsx.d.ts +91 -9
  373. package/dist/qti-item/components/item-container.js +3 -3
  374. package/dist/qti-item/components/item-show-correct-response.d.ts +1 -1
  375. package/dist/qti-item/components/print-item-variables.d.ts +1 -1
  376. package/dist/qti-item/core/index.d.ts +1 -1
  377. package/dist/qti-item/core/index.js +3 -3
  378. package/dist/qti-loader/index.d.ts +1 -1
  379. package/dist/qti-loader/index.js +2 -2
  380. package/dist/qti-response-declaration-C3kpm650.d.ts +1171 -0
  381. package/dist/qti-response-declaration-CNh-wf6q.d.ts +1146 -0
  382. package/dist/qti-test/components/index.d.ts +7 -2
  383. package/dist/qti-test/components/index.js +27 -11
  384. package/dist/qti-test/components/test-container.js +3 -3
  385. package/dist/qti-test/components/test-navigation.d.ts +3 -2
  386. package/dist/qti-test/components/test-navigation.js +1 -1
  387. package/dist/qti-test/components/test-next.d.ts +1 -1
  388. package/dist/qti-test/components/test-next.js +1 -1
  389. package/dist/qti-test/components/test-prev.d.ts +1 -1
  390. package/dist/qti-test/components/test-print-context.d.ts +1 -1
  391. package/dist/qti-test/components/test-print-item-variables.d.ts +1 -1
  392. package/dist/qti-test/components/test-scoring-buttons.d.ts +2 -1
  393. package/dist/qti-test/components/test-scoring-buttons.js +1 -1
  394. package/dist/qti-test/components/test-scoring-feedback.d.ts +9 -1273
  395. package/dist/qti-test/components/test-scoring-feedback.js +4 -60
  396. package/dist/qti-test/components/test-scoring-feedback.js.map +1 -1
  397. package/dist/qti-test/components/test-show-correct-response.d.ts +1 -1
  398. package/dist/qti-test/components/test-stamp.d.ts +18 -0
  399. package/dist/qti-test/components/test-stamp.js +9 -0
  400. package/dist/qti-test/components/test-stamp.js.map +1 -0
  401. package/dist/qti-test/components/test-view-toggle.d.ts +2 -2
  402. package/dist/qti-test/components/test-view-toggle.js +1 -1
  403. package/dist/qti-test/core/index.d.ts +4 -4
  404. package/dist/qti-test/core/index.js +3 -3
  405. package/dist/qti-test-feedback-CG8nrjhS.d.ts +98 -0
  406. package/dist/qti-test-feedback-DaBphqnZ.d.ts +98 -0
  407. package/dist/qti-test-feedback-R38tNXBH.d.ts +98 -0
  408. package/dist/qti-transformers/index.d.ts +4 -1
  409. package/dist/qti-transformers/index.js +1 -1
  410. package/dist/vscode.html-custom-data.json +38 -13
  411. package/package.json +4 -4
@@ -1,1281 +1,17 @@
1
1
  import * as lit_html from 'lit-html';
2
- import * as lit from 'lit';
3
- import { LitElement, CSSResultGroup, PropertyValueMap, nothing } from 'lit';
4
- import * as lit_html_directives_ref_js from 'lit-html/directives/ref.js';
2
+ import { LitElement } from 'lit';
3
+ import { ComputedContext } from '../../exports/computed.context.js';
5
4
  import { ViewMode } from 'storybook/internal/types';
6
-
7
- interface ResponseInteraction {
8
- responseIdentifier: string;
9
- response: string | string[];
10
- }
11
- interface Calculate {
12
- calculate: () => string | string[];
13
- }
14
- type BaseType = 'boolean' | 'directedPair' | 'duration' | 'float' | 'integer' | 'string' | 'identifier' | 'pair';
15
- type Cardinality = 'multiple' | 'ordered' | 'single';
16
-
17
- interface IInteraction {
18
- correctResponse: Readonly<string | string[]>;
19
- response: string | string[];
20
- responseIdentifier: string;
21
- disabled: boolean;
22
- readonly: boolean;
23
- validate(): boolean;
24
- reportValidity(): boolean;
25
- reset(): void;
26
- saveResponse(value: string | string[]): void;
27
- }
28
-
29
- interface VariableValue<T> {
30
- identifier: string;
31
- value: Readonly<T>;
32
- type: 'outcome' | 'response';
33
- }
34
- interface VariableDeclaration<T> extends VariableValue<T> {
35
- cardinality?: Cardinality;
36
- baseType?: BaseType;
37
- }
38
- interface OutcomeVariable extends VariableDeclaration<string | string[] | null> {
39
- interpolationTable?: Map<number, number>;
40
- externalScored?: 'human' | 'externalMachine' | null;
41
- }
42
- interface ResponseVariable extends VariableDeclaration<string | string[] | null> {
43
- candidateResponse?: string | string[] | null;
44
- mapping?: QtiMapping;
45
- areaMapping?: QtiAreaMapping;
46
- correctResponse?: string | string[] | null;
47
- }
48
-
49
- /**
50
- * @summary The qti-assessment-item element contains all the other QTI 3 item structures.
51
- * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.dltnnj87l0yj
52
- *
53
- * @dependency qti-feedback
54
- * @dependency qti-responseprocessing
55
- *
56
- * @event qti-item-context-updated - Emitted when through a user action the itemContext is updated,
57
- * typically on interaction with the interactions, or calling response processing.
58
- */
59
- declare class QtiAssessmentItem extends LitElement {
60
- title: string;
61
- identifier: string;
62
- adaptive: 'true' | 'false';
63
- timeDependent: 'true' | 'false' | null;
64
- disabled: boolean;
65
- protected _handleDisabledChange: (_: boolean, disabled: boolean) => void;
66
- readonly: boolean;
67
- protected _handleReadonlyChange: (_: boolean, readonly: boolean) => void;
68
- private _context;
69
- /**
70
- * Sets the identifier for the assessment item reference if this item is in a test.
71
- *
72
- * @param identifier - The identifier for the assessment item reference.
73
- */
74
- set assessmentItemRefId(identifier: string);
75
- get assessmentItemRefId(): string;
76
- get variables(): VariableValue<string | string[] | null>[];
77
- set variables(value: VariableValue<string | string[] | null>[]);
78
- private _initialContext;
79
- private _feedbackElements;
80
- private _interactionElements;
81
- /** @deprecated use variables property instead */
82
- set responses(myResponses: ResponseInteraction[]);
83
- render(): lit_html.TemplateResult<1>;
84
- connectedCallback(): void;
85
- disconnectedCallback(): void;
86
- private _attachEventListeners;
87
- private _removeEventListeners;
88
- private _handleRegisterVariable;
89
- private _handleRegisterFeedback;
90
- private _handleRegisterInteraction;
91
- private _handleEndAttempt;
92
- private _handleSetOutcomeValue;
93
- private _handleUpdateResponseVariable;
94
- /**
95
- * Toggles the display of correct responses for interactions.
96
- * @param show - A boolean indicating whether to show or hide correct responses.
97
- */
98
- showCorrectResponse(show: boolean): void;
99
- processResponse(countNumAttempts?: boolean, reportValidityAfterScoring?: boolean): boolean;
100
- resetResponses(): void;
101
- protected getResponse(identifier: string): Readonly<ResponseVariable>;
102
- protected getOutcome(identifier: string): Readonly<OutcomeVariable>;
103
- protected getVariable(identifier: string): Readonly<VariableDeclaration<string | string[] | null>>;
104
- /**
105
- * Updates the response variable with the specified identifier to the given value.
106
- *
107
- * @protected
108
- *
109
- * This method is intended for internal use within the class and subclasses.
110
- * It should not be called externally by third parties.
111
- *
112
- * @param identifier - The identifier of the response variable to update.
113
- * @param value - The new value for the response variable.
114
- */
115
- updateResponseVariable(identifier: string, value: string | string[] | undefined): void;
116
- setOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
117
- /**
118
- * Updates the outcome variable with the specified identifier to the given value.
119
- *
120
- * @protected
121
- *
122
- * This method is intended for internal use within the class and subclasses.
123
- * It should not be called externally by third parties.
124
- *
125
- * @param identifier - The identifier of the response variable to update.
126
- * @param value - The new value for the response variable.
127
- */
128
- updateOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
129
- validate(reportValidity?: boolean): boolean | null;
130
- reportValidity(): void;
131
- private _getCompletionStatus;
132
- }
133
- declare global {
134
- interface HTMLElementTagNameMap {
135
- 'qti-assessment-item': QtiAssessmentItem;
136
- }
137
- }
138
-
139
- /**
140
- * Represents a custom element for referencing an assessment stimulus.
141
- */
142
- declare class QtiAssessmentStimulusRef extends LitElement {
143
- /**
144
- * The identifier of the stimulus.
145
- */
146
- identifier: string;
147
- /**
148
- * The href of the stimulus.
149
- */
150
- href: string;
151
- /**
152
- * Lifecycle method called when the element is connected to the DOM.
153
- * Loads and appends the stimulus if the 'qti-assessment-stimulus-ref-connected' event is not prevented.
154
- */
155
- connectedCallback(): Promise<void>;
156
- /**
157
- * Loads and appends the stimulus to the specified element.
158
- * @param stimulusRef - The element to which the stimulus will be appended.
159
- */
160
- updateStimulusRef(stimulusRef: Element): Promise<void>;
161
- }
162
- declare global {
163
- interface HTMLElementTagNameMap {
164
- 'qti-assessment-stimulus-ref': QtiAssessmentStimulusRef;
165
- }
166
- }
167
-
168
- declare class QtiCompanionMaterialsInfo extends LitElement {
169
- }
170
- declare global {
171
- interface HTMLElementTagNameMap {
172
- 'qti-companion-materials-info': QtiCompanionMaterialsInfo;
173
- }
174
- }
175
-
176
- /**
177
- * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
178
- * <qti-custom-operator class="js.org">
179
- <qti-base-value base-type="string"><![CDATA[
180
- console.log(context.variables);
181
- return 'B'
182
- document.querySelector('qti-end-attempt-interaction').disabled = true;
183
- ]]></qti-base-value>
184
- </qti-custom-operator>
185
- </qti-set-outcome-value>
186
- */
187
- declare class QtiCustomOperator extends LitElement implements Calculate {
188
- private operatorFunction;
189
- private _context?;
190
- render(): lit_html.TemplateResult<1>;
191
- handleSlotChange(): void;
192
- calculate(): any;
193
- }
194
- declare global {
195
- interface HTMLElementTagNameMap {
196
- 'qti-custom-operator': QtiCustomOperator;
197
- }
198
- }
199
-
200
- declare abstract class QtiFeedback extends LitElement {
201
- protected showHide: string;
202
- outcomeIdentifier: string;
203
- protected identifier: string;
204
- showStatus: string;
205
- private _context?;
206
- connectedCallback(): void;
207
- checkShowFeedback(outcomeIdentifier: string): void;
208
- private showFeedback;
209
- }
210
-
211
- declare class QtiFeedbackBlock extends QtiFeedback {
212
- static styles: lit.CSSResult;
213
- render(): lit_html.TemplateResult<1>;
214
- connectedCallback(): void;
215
- }
216
- declare global {
217
- interface HTMLElementTagNameMap {
218
- 'qti-feedback-block': QtiFeedbackBlock;
219
- }
220
- }
221
-
222
- declare class QtiFeedbackInline extends QtiFeedback {
223
- static styles: lit.CSSResult;
224
- render: () => lit_html.TemplateResult<1>;
225
- connectedCallback(): void;
226
- }
227
- declare global {
228
- interface HTMLElementTagNameMap {
229
- 'qti-feedback-inline': QtiFeedbackInline;
230
- }
231
- }
232
-
233
- declare class QtiModalFeedback extends QtiFeedback {
234
- static styles: lit.CSSResult;
235
- render(): lit_html.TemplateResult<1>;
236
- openFeedback(): void;
237
- closeFeedback(): void;
238
- connectedCallback(): void;
239
- protected updated(changedProperties: Map<string | number | symbol, unknown>): void;
240
- }
241
- declare global {
242
- interface HTMLElementTagNameMap {
243
- 'qti-modal-feedback': QtiModalFeedback;
244
- }
245
- }
246
-
247
- declare class QtiAssociableHotspot extends LitElement {
248
- static styles: lit.CSSResult;
249
- connectedCallback(): void;
250
- render(): lit_html.TemplateResult<1>;
251
- }
252
- declare global {
253
- interface HTMLElementTagNameMap {
254
- 'qti-associable-hotspot': QtiAssociableHotspot;
255
- }
256
- }
257
-
258
- declare abstract class Interaction extends LitElement implements IInteraction {
259
- static formAssociated: boolean;
260
- protected _internals: ElementInternals;
261
- responseIdentifier: any;
262
- disabled: boolean;
263
- readonly: boolean;
264
- protected _correctResponse: string | string[];
265
- get correctResponse(): Readonly<string | string[]>;
266
- set correctResponse(val: Readonly<string | string[]>);
267
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
268
- constructor();
269
- abstract validate(): boolean;
270
- get value(): string | null;
271
- set value(val: string | null);
272
- abstract get response(): string | string[] | null;
273
- abstract set response(val: string | string[] | null);
274
- reportValidity(): boolean;
275
- reset(): void;
276
- connectedCallback(): void;
277
- saveResponse(value: string | string[]): void;
278
- }
279
-
280
- declare const QtiAssociateInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
281
- declare class QtiAssociateInteraction extends QtiAssociateInteraction_base {
282
- static styles: CSSResultGroup;
283
- protected _childrenMap: Element[];
284
- protected _registerChoiceHandler: (event: CustomEvent) => void;
285
- constructor();
286
- protected _registerChoice(event: CustomEvent): void;
287
- render(): lit_html.TemplateResult<1>;
288
- disconnectedCallback(): void;
289
- }
290
- declare global {
291
- interface HTMLElementTagNameMap {
292
- 'qti-associate-interaction': QtiAssociateInteraction;
293
- }
294
- }
295
-
296
- interface ChoiceInterface {
297
- identifier: string;
298
- disabled: boolean;
299
- readonly: boolean;
300
- }
301
- /**
302
- * A mixin that adds choice functionality to a LitElement-based class.
303
- * It dispatches events with a custom `type` and handles selection logic.
304
- *
305
- * @param Base - The base class to extend.
306
- * @param type - The type of the choice, used in event names.
307
- * @returns A new class extending the base class with choice functionality.
308
- */
309
- interface ActiveElementMixinInterface {
310
- identifier: string;
311
- tabIndex: number;
312
- disabled: boolean;
313
- readonly: boolean;
314
- internals: ElementInternals;
315
- }
316
-
317
- type Choice = HTMLElement & ChoiceInterface & {
318
- internals: ElementInternals;
319
- };
320
- interface ChoicesInterface extends IInteraction {
321
- minChoices: number;
322
- maxChoices: number;
323
- value: string | null;
324
- response: string | string[] | null;
325
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
326
- validate(): boolean;
327
- reportValidity(): boolean;
328
- }
329
-
330
- type Orientation = 'horizontal' | 'vertical' | undefined;
331
- declare const QtiChoiceInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
332
- declare class QtiChoiceInteraction extends QtiChoiceInteraction_base implements ChoicesInterface {
333
- static styles: CSSResultGroup;
334
- /** @deprecated, use 'qti-orientation-horizontal' or 'qti-orientation-vertical' instead */
335
- orientation: Orientation;
336
- private _handleSlotChange;
337
- render(): lit_html.TemplateResult<1>;
338
- }
339
- declare global {
340
- interface HTMLElementTagNameMap {
341
- 'qti-choice-interaction': QtiChoiceInteraction;
342
- }
343
- }
344
-
345
- declare class QtiCustomInteraction extends Interaction {
346
- private rawResponse;
347
- constructor();
348
- data: string;
349
- baseItemUrl: string;
350
- baseRefUrl: string;
351
- id: string;
352
- private _errorMessage;
353
- manifest: {
354
- script: string[];
355
- style: string[];
356
- media: string[];
357
- };
358
- connectedCallback(): void;
359
- setupCES(): void;
360
- private getIFrames;
361
- private getInnerIFrames;
362
- private postToWindowAndIframes;
363
- handlePostMessage(event: MessageEvent): void;
364
- validate(): boolean;
365
- get response(): string | null;
366
- set response(val: string | null);
367
- disconnectedCallback(): void;
368
- render(): lit_html.TemplateResult<1>;
369
- }
370
- declare global {
371
- interface HTMLElementTagNameMap {
372
- 'qti-custom-interaction': QtiCustomInteraction;
373
- }
374
- }
375
-
376
- declare class QtiEndAttemptInteraction extends LitElement {
377
- responseIdentifier: any;
378
- disabled: boolean;
379
- /** Defines the number of attempts that a user can make using the 'endAttemptInteraction' mechanism (this can be used to limit the number of hints, etc.). [More information](https://www.imsglobal.org/sites/default/files/spec/qti/v3/info/index.html#DataCharacteristic_EndAttemptInteraction.Attr_count-attempt) */
380
- countAttempt: 'true' | 'false' | null;
381
- title: string;
382
- render(): lit_html.TemplateResult<1>;
383
- endAttempt(_: Event): void;
384
- }
385
- declare global {
386
- interface HTMLElementTagNameMap {
387
- 'qti-end-attempt-interaction': QtiEndAttemptInteraction;
388
- }
389
- }
390
-
391
- declare class QtiExtendedTextInteraction extends Interaction {
392
- static styles: CSSResultGroup;
393
- protected _rows: number;
394
- /** expected length is mapped to the property maxlength on the textarea */
395
- expectedLength: number;
396
- patternMask: string;
397
- /** text appearing in the extended-text-nteraction if it is empty */
398
- placeholderText: string;
399
- dataPatternmaskMessage: string;
400
- classNames: any;
401
- handleclassNamesChange(_: any, classes: string): void;
402
- response: string | null;
403
- protected _handleResponseChange: () => void;
404
- get value(): string | null;
405
- set value(val: string | null);
406
- validate(): boolean;
407
- reportValidity(): boolean;
408
- render(): lit_html.TemplateResult<1>;
409
- protected textChanged(event: Event): void;
410
- protected setEmptyAttribute(text: string): void;
411
- }
412
- declare global {
413
- interface HTMLElementTagNameMap {
414
- 'qti-extended-text-interaction': QtiExtendedTextInteraction;
415
- }
416
- }
417
-
418
- declare class QtiGapImg extends LitElement {
419
- static styles: lit.CSSResult;
420
- tabindex: number | undefined;
421
- connectedCallback(): void;
422
- }
423
- declare global {
424
- interface HTMLElementTagNameMap {
425
- 'qti-gap-img': QtiGapImg;
426
- }
427
- }
428
-
429
- declare const QtiGapMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
430
- declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
431
- static styles: CSSResultGroup;
432
- render(): lit_html.TemplateResult<1>;
433
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
434
- }
435
- declare global {
436
- interface HTMLElementTagNameMap {
437
- 'qti-gap-match-interaction': QtiGapMatchInteraction;
438
- }
439
- }
440
-
441
- declare const QtiGapText_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
442
- declare class QtiGapText extends QtiGapText_base {
443
- static styles: lit.CSSResult;
444
- tabindex: number | undefined;
445
- connectedCallback(): void;
446
- render(): lit_html.TemplateResult<1>;
447
- }
448
- declare global {
449
- interface HTMLElementTagNameMap {
450
- 'qti-gap-text': QtiGapText;
451
- }
452
- }
453
-
454
- declare class QtiGap extends LitElement {
455
- static styles: lit.CSSResult;
456
- tabindex: number | undefined;
457
- render(): lit_html.TemplateResult<1>;
458
- }
459
- declare global {
460
- interface HTMLElementTagNameMap {
461
- 'qti-gap': QtiGap;
462
- }
463
- }
464
-
465
- declare class QtiGraphicAssociateInteraction extends Interaction {
466
- static styles: CSSResultGroup;
467
- private hotspots;
468
- private startPoint;
469
- private endPoint;
470
- private _correctLines;
471
- private startCoord;
472
- private mouseCoord;
473
- private grImage;
474
- private _response;
475
- constructor();
476
- reset(): void;
477
- validate(): boolean;
478
- set response(val: string[]);
479
- get response(): string[];
480
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
481
- render(): lit_html.TemplateResult<1>;
482
- private positionHotspotOnRegister;
483
- firstUpdated(): void;
484
- disconnectedCallback(): void;
485
- }
486
- declare global {
487
- interface HTMLElementTagNameMap {
488
- 'qti-graphic-associate-interaction': QtiGraphicAssociateInteraction;
489
- }
490
- }
491
-
492
- declare const QtiGraphicGapMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
493
- declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
494
- static styles: CSSResultGroup;
495
- render(): lit_html.TemplateResult<1>;
496
- private positionHotspotOnRegister;
497
- connectedCallback(): void;
498
- disconnectedCallback(): void;
499
- }
500
- declare global {
501
- interface HTMLElementTagNameMap {
502
- 'qti-graphic-gap-match-interaction': QtiGraphicGapMatchInteraction;
503
- }
504
- }
505
-
506
- declare const QtiGraphicOrderInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
507
- declare class QtiGraphicOrderInteraction extends QtiGraphicOrderInteraction_base {
508
- static styles: CSSResultGroup;
509
- protected choiceOrdering: boolean;
510
- protected _choiceElements: Choice[];
511
- render(): lit_html.TemplateResult<1>;
512
- private setHotspotOrder;
513
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
514
- private positionHotspotOnRegister;
515
- connectedCallback(): void;
516
- disconnectedCallback(): void;
517
- }
518
- declare global {
519
- interface HTMLElementTagNameMap {
520
- 'qti-graphic-order-interaction': QtiGraphicOrderInteraction;
521
- }
522
- }
523
-
524
- declare const QtiHotspotChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
525
- declare class QtiHotspotChoice extends QtiHotspotChoice_base {
526
- static styles: lit.CSSResult;
527
- order: number;
528
- orderCorrect: number;
529
- }
530
- declare global {
531
- interface HTMLElementTagNameMap {
532
- 'qti-hotspot-choice': QtiHotspotChoice;
533
- }
534
- }
535
-
536
- declare const QtiHotspotInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
537
- declare class QtiHotspotInteraction extends QtiHotspotInteraction_base {
538
- static styles: CSSResultGroup;
539
- render(): lit_html.TemplateResult<1>;
540
- private positionHotspotOnRegister;
541
- connectedCallback(): void;
542
- disconnectedCallback(): void;
543
- }
544
- declare global {
545
- interface HTMLElementTagNameMap {
546
- 'qti-hotspot-interaction': QtiHotspotInteraction;
547
- }
548
- }
549
-
550
- declare const QtiHottextInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
551
- declare class QtiHottextInteraction extends QtiHottextInteraction_base {
552
- render: () => lit_html.TemplateResult<1>;
553
- }
554
- declare global {
555
- interface HTMLElementTagNameMap {
556
- 'qti-hottext-interaction': QtiHottextInteraction;
557
- }
558
- }
559
-
560
- declare const QtiHottext_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
561
- declare class QtiHottext extends QtiHottext_base {
562
- static styles: lit.CSSResult;
563
- render(): lit_html.TemplateResult<1>;
564
- }
565
- declare global {
566
- interface HTMLElementTagNameMap {
567
- 'qti-hottext': QtiHottext;
568
- }
569
- }
570
-
571
- interface OptionType {
572
- textContent: string;
573
- value: string;
574
- selected: boolean;
575
- }
576
- declare class QtiInlineChoiceInteraction extends Interaction {
577
- static get styles(): lit.CSSResult[];
578
- static inputWidthClass: string[];
579
- protected options: OptionType[];
580
- protected correctOption: string;
581
- dataPrompt: string;
582
- render(): lit_html.TemplateResult<1>;
583
- connectedCallback(): void;
584
- disconnectedCallback(): void;
585
- validate(): boolean;
586
- reset(): void;
587
- set response(value: string | null);
588
- get response(): string | null;
589
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
590
- protected choiceSelected(event: Event): void;
591
- }
592
- declare global {
593
- interface HTMLElementTagNameMap {
594
- 'qti-inline-choice-interaction': QtiInlineChoiceInteraction;
595
- }
596
- }
597
-
598
- declare class QtiInlineChoice extends LitElement {
599
- static get styles(): lit.CSSResult[];
600
- identifier: string;
601
- connectedCallback(): void;
602
- disconnectedCallback(): void;
603
- render(): lit_html.TemplateResult<1>;
604
- private _onSelectInlineChoice;
605
- }
606
- declare global {
607
- interface HTMLElementTagNameMap {
608
- 'qti-inline-choice': QtiInlineChoice;
609
- }
610
- }
611
-
612
- declare const QtiSimpleAssociableChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
613
- declare class QtiSimpleAssociableChoice extends QtiSimpleAssociableChoice_base {
614
- static styles: lit.CSSResult;
615
- /** the minimal number of selections a candidate must make */
616
- matchMin: number;
617
- /** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
618
- matchMax: number;
619
- fixed: boolean;
620
- connectedCallback(): void;
621
- render(): lit_html.TemplateResult<1>;
622
- }
623
- declare global {
624
- interface HTMLElementTagNameMap {
625
- 'qti-simple-associable-choice': QtiSimpleAssociableChoice;
626
- }
627
- }
628
-
629
- declare const QtiMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
630
- declare class QtiMatchInteraction extends QtiMatchInteraction_base {
631
- static styles: CSSResultGroup;
632
- protected rows: QtiSimpleAssociableChoice[];
633
- protected cols: QtiSimpleAssociableChoice[];
634
- protected lastCheckedRadio: HTMLInputElement | null;
635
- class: string;
636
- protected _response: string | string[];
637
- get response(): string[];
638
- set response(val: string[]);
639
- responseIdentifier: string;
640
- protected correctOptions: string[];
641
- connectedCallback(): Promise<void>;
642
- protected handleRadioClick: (e: any) => void;
643
- protected handleRadioChange: (e: any) => void;
644
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
645
- set correctResponse(responseValue: string | string[]);
646
- render(): lit_html.TemplateResult<1>;
647
- }
648
- declare global {
649
- interface HTMLElementTagNameMap {
650
- 'qti-match-interaction': QtiMatchInteraction;
651
- }
652
- }
653
-
654
- declare class QtiMediaInteraction extends Interaction {
655
- private _value;
656
- reset(): void;
657
- validate(): boolean;
658
- get response(): string | null;
659
- set response(val: string | null);
660
- static get properties(): {
661
- step: {
662
- type: NumberConstructor;
663
- attribute: string;
664
- default: number;
665
- };
666
- };
667
- static styles: lit.CSSResult[];
668
- render(): lit_html.TemplateResult<1>;
669
- constructor();
670
- connectedCallback(): void;
671
- }
672
- declare global {
673
- interface HTMLElementTagNameMap {
674
- 'qti-media-interaction': QtiMediaInteraction;
675
- }
676
- }
677
-
678
- declare const QtiOrderInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
679
- declare class QtiOrderInteraction extends QtiOrderInteraction_base {
680
- static styles: lit.CSSResult;
681
- protected childrenMap: Element[];
682
- protected nrChoices: number;
683
- correctResponses: string[];
684
- showCorrectResponses: boolean;
685
- /** orientation of choices */
686
- orientation: 'horizontal' | 'vertical';
687
- render(): lit_html.TemplateResult<1>;
688
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
689
- getValue(val: string[]): string[];
690
- protected getResponse(): string[];
691
- firstUpdated(changedProps: any): Promise<void>;
692
- }
693
- declare global {
694
- interface HTMLElementTagNameMap {
695
- 'qti-order-interaction': QtiOrderInteraction;
696
- }
697
- }
698
-
699
- interface ItemContext {
700
- identifier?: string;
701
- href?: string;
702
- variables?: ReadonlyArray<VariableDeclaration<string | string[] | null>>;
703
- }
704
-
705
- interface PciReadyPayload {
706
- responseIdentifier: string;
707
- status: 'interacting' | 'suspended' | 'closed' | 'solution' | 'review';
708
- }
709
- interface PciDonePayload {
710
- responseIdentifier: string;
711
- status: 'interacting' | 'suspended' | 'closed' | 'solution' | 'review';
712
- outcome?: unknown;
713
- }
714
- interface ConfigProperties<T> {
715
- properties: T;
716
- templateVariables: Record<string, unknown>;
717
- contextVariables: Record<string, unknown>;
718
- boundTo: unknown;
719
- responseIdentifier: string;
720
- onready: (payload: PciReadyPayload) => void;
721
- ondone?: (payload: PciDonePayload) => void;
722
- status?: 'interacting' | 'suspended' | 'closed' | 'solution' | 'review';
723
- }
724
- interface IMSpci<T> {
725
- typeIdentifier: string;
726
- /** @access public
727
- * @method getInstance Create a new instance of this portable custom interaction
728
- * Will be called by the qtiCustomInteractionContext
729
- * @param {DOM Element} dom - the DOM Element this PCI is being added to
730
- * @param {Object} configuration - the configuration to apply to this PCI
731
- * @param {String} state - a previous saved state to apply to this instance.
732
- * This must have been obtained from a prior call to getState on an
733
- * instance of this type (same typeIdentifier)
734
- */
735
- getInstance: (dom: HTMLElement, configuration: Configuration<T>, state: string) => void;
736
- /** @access public
737
- * @method getResponse
738
- * @return {Object} - the value to assign to the bound QTI response variable
739
- */
740
- getResponse: () => QtiVariableJSON | undefined;
741
- /** @access public
742
- * @method getState
743
- * @return {String} The current state of this PCI. May be passed to
744
- * getInstance to later restore this PCI instance.
745
- */
746
- getState: () => string;
747
- oncompleted?: () => void;
748
- destroy?: () => void;
749
- }
750
- declare type Configuration<T> = {
751
- onready: (pci: IMSpci<ConfigProperties<T>>, state?: string) => void;
752
- properties: T;
753
- };
754
- declare type ResponseType = boolean | number | string | [number, number] | [string, string] | string[] | [number | string][];
755
- declare type ResponseVariableType = {
756
- string?: ResponseType;
757
- boolean?: ResponseType;
758
- integer?: ResponseType;
759
- float?: ResponseType;
760
- pair?: ResponseType;
761
- directedPair?: ResponseType;
762
- identifier?: ResponseType;
763
- };
764
- declare type QtiVariableJSON = {
765
- [K in 'list' | 'base']?: ResponseVariableType;
766
- };
767
- interface ModuleResolutionConfig {
768
- waitSeconds?: number;
769
- context?: string;
770
- catchError?: boolean;
771
- paths: {
772
- [key: string]: string | string[];
773
- };
774
- shim?: {
775
- [key: string]: {
776
- deps?: string[];
777
- exports?: string;
778
- };
779
- };
780
- }
781
-
782
- declare class QtiPortableCustomInteraction extends Interaction {
783
- private _value;
784
- private pci;
785
- module: string;
786
- customInteractionTypeIdentifier: string;
787
- private _errorMessage;
788
- protected context?: ItemContext;
789
- response: string | string[];
790
- private dom;
791
- private convertQtiVariableJSON;
792
- private addHyphenatedKeys;
793
- private responseVariablesToQtiVariableJSON;
794
- validate(): boolean;
795
- set value(v: string | null);
796
- get value(): string | null;
797
- set boundTo(newValue: Record<string, ResponseVariableType>);
798
- get boundTo(): Record<string, QtiVariableJSON>;
799
- register(pci: IMSpci<ConfigProperties<unknown>>): void;
800
- connectedCallback(): void;
801
- disconnectedCallback(): void;
802
- private _onInteractionChanged;
803
- buildRequireConfig(): ModuleResolutionConfig;
804
- private combineRequireResolvePaths;
805
- private removeDoubleSlashes;
806
- loadConfig: (url: string, baseUrl?: string) => Promise<ModuleResolutionConfig>;
807
- getResolvablePathString: (path: string, basePath?: string) => string;
808
- getResolvablePath: (path: string | string[], basePath?: string) => string | string[];
809
- render(): lit_html.TemplateResult<1>;
810
- }
811
- declare global {
812
- interface HTMLElementTagNameMap {
813
- 'qti-portable-custom-interaction': QtiPortableCustomInteraction;
814
- }
815
- }
816
-
817
- declare class QtiPositionObjectStage extends LitElement {
818
- choiceOrdering: boolean;
819
- startX: any;
820
- startY: any;
821
- dragElement: any;
822
- render(): lit_html.TemplateResult<1>;
823
- static styles: lit.CSSResult[];
824
- constructor();
825
- dragElementHandler(event: any): void;
826
- firstUpdated(a: any): void;
827
- removeMoveListener(): void;
828
- disconnectedCallback(): void;
829
- }
830
- declare global {
831
- interface HTMLElementTagNameMap {
832
- 'qti-position-object-stage': QtiPositionObjectStage;
833
- }
834
- }
835
-
836
- declare class QtiSelectPointInteraction extends Interaction {
837
- static styles: lit.CSSResult[];
838
- maxChoices: number;
839
- minChoices: number;
840
- response: string[];
841
- private _correctAreas;
842
- private _imgElement;
843
- private _scaleX;
844
- private _scaleY;
845
- private _imageWidthOrginal;
846
- private _imageHeightOrginal;
847
- private _onImageClick;
848
- connectedCallback(): void;
849
- private _onResize;
850
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): any;
851
- updated(changedProperties: Map<string | number | symbol, unknown>): void;
852
- render(): lit_html.TemplateResult<1>;
853
- reset(): void;
854
- validate(): boolean;
855
- private calculateScale;
856
- firstUpdated(): void;
857
- disconnectedCallback(): void;
858
- }
859
- declare global {
860
- interface HTMLElementTagNameMap {
861
- 'qti-select-point-interaction': QtiSelectPointInteraction;
862
- }
863
- }
864
-
865
- declare const QtiSimpleChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
866
- /**
867
- * qti-order-interaction
868
- * qti-choice-interaction
869
- */
870
- declare class QtiSimpleChoice extends QtiSimpleChoice_base {
871
- templateIdentifier: string | null;
872
- showHide: string | null;
873
- fixed: boolean;
874
- static styles: lit.CSSResult;
875
- marker: string;
876
- get checked(): boolean;
877
- render(): lit_html.TemplateResult<1>;
878
- }
879
- declare global {
880
- interface HTMLElementTagNameMap {
881
- 'qti-simple-choice': QtiSimpleChoice;
882
- }
883
- }
884
-
885
- declare class QtiSliderInteraction extends Interaction {
886
- static styles: CSSResultGroup;
887
- private _value;
888
- private _correctResponseNumber;
889
- private _rail;
890
- min: number;
891
- max: number;
892
- step: number;
893
- validate(): boolean;
894
- connectedCallback(): void;
895
- get response(): string;
896
- set response(val: string);
897
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
898
- private _updateValue;
899
- render(): lit_html.TemplateResult<1>;
900
- private _onMouseDown;
901
- private _onTouchStart;
902
- private _startDrag;
903
- private _onDrag;
904
- private _onDragEnd;
905
- }
906
- declare global {
907
- interface HTMLElementTagNameMap {
908
- 'qti-slider-interaction': QtiSliderInteraction;
909
- }
910
- }
911
-
912
- declare class QtiTextEntryInteraction extends Interaction {
913
- static styles: CSSResultGroup;
914
- inputRef: lit_html_directives_ref_js.Ref<HTMLInputElement>;
915
- expectedLength: number;
916
- patternMask: string;
917
- placeholderText: string;
918
- dataPatternmaskMessage: string;
919
- response: string | null;
920
- protected _handleValueChange: () => void;
921
- get value(): string | null;
922
- set value(val: string | null);
923
- validate(): boolean;
924
- toggleCorrectResponse(responseVariable: ResponseVariable, show: boolean): void;
925
- render(): lit_html.TemplateResult<1>;
926
- protected textChanged(event: Event): void;
927
- reportValidity(): boolean;
928
- reset(): void;
929
- private setEmptyAttribute;
930
- }
931
- declare global {
932
- interface HTMLElementTagNameMap {
933
- 'qti-text-entry-interaction': QtiTextEntryInteraction;
934
- }
935
- }
936
-
937
- declare class QtiUploadInteraction extends Interaction {
938
- private _file;
939
- private _base64;
940
- reset(): void;
941
- validate(): boolean;
942
- get response(): string | null;
943
- set response(base64: string | null);
944
- static get properties(): {
945
- [key: string]: lit.PropertyDeclaration<unknown, unknown>;
946
- };
947
- static styles: lit.CSSResult[];
948
- render(): lit_html.TemplateResult<1>;
949
- private _onFileChange;
950
- private _convertToBase64;
951
- }
952
- declare global {
953
- interface HTMLElementTagNameMap {
954
- 'qti-upload-interaction': QtiUploadInteraction;
955
- }
956
- }
957
-
958
- /**
959
- * @summary The qti-item-body node contains the text, graphics, media objects and interactions that describe the item's content and information about how it is structured.
960
- * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.sphpo6lu6zqi
961
- * @status stable
962
- * @since 4.0
963
- *
964
- * @slot - item body content.
965
- * @slot qti-rubric-block - the qti rubric block is placed above the item
966
- * @part qti-rubric-block - the qti rubric block part
967
- */
968
- declare class QtiItemBody extends LitElement {
969
- static styles: CSSResultGroup;
970
- render(): lit_html.TemplateResult<1>;
971
- }
972
- declare global {
973
- interface HTMLElementTagNameMap {
974
- 'qti-item-body': QtiItemBody;
975
- }
976
- }
977
-
978
- declare class QtiOutcomeProcessing extends LitElement {
979
- static styles: lit.CSSResult[];
980
- render(): lit_html.TemplateResult<1>;
981
- process(): void;
982
- }
983
- declare global {
984
- interface HTMLElementTagNameMap {
985
- 'qti-outcome-processing': QtiOutcomeProcessing;
986
- }
987
- }
988
-
989
- declare class QtiPrompt extends LitElement {
990
- render(): lit_html.TemplateResult<1>;
991
- connectedCallback(): void;
992
- }
993
- declare global {
994
- interface HTMLElementTagNameMap {
995
- 'qti-prompt': QtiPrompt;
996
- }
997
- }
998
-
999
- declare class QtiResponseProcessing extends LitElement {
1000
- static styles: lit.CSSResult[];
1001
- render(): lit_html.TemplateResult<1>;
1002
- process(): void;
1003
- firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
1004
- private fragmentFromString;
1005
- }
1006
- declare global {
1007
- interface HTMLElementTagNameMap {
1008
- 'qti-response-processing': QtiResponseProcessing;
1009
- }
1010
- }
1011
-
1012
- declare class QtiRule extends LitElement implements QtiRuleBase {
1013
- render(): lit_html.TemplateResult<1>;
1014
- process(): void;
1015
- }
1016
- interface QtiRuleBase {
1017
- process(): any;
1018
- }
1019
- declare global {
1020
- interface HTMLElementTagNameMap {
1021
- 'qti-rule': QtiRule;
1022
- }
1023
- }
1024
-
1025
- interface QtiExpressionBase<T> {
1026
- calculate(): Readonly<T>;
1027
- }
1028
- declare abstract class QtiExpression<T> extends LitElement implements QtiExpressionBase<T> {
1029
- protected result: any;
1030
- static styles: lit.CSSResult;
1031
- render(): lit_html.TemplateResult<1>;
1032
- calculate(): Readonly<T>;
1033
- protected getResult(): Readonly<T>;
1034
- protected context?: ItemContext;
1035
- getVariables: () => VariableDeclaration<number | string | (number | string)[] | null>[];
1036
- }
1037
-
1038
- /**
1039
- * The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
1040
- * by looking up the value of the associated expression in the lookupTable associated
1041
- * with the outcome's declaration.
1042
- */
1043
- declare class QtiLookupOutcomeValue extends QtiRule {
1044
- identifier: string;
1045
- protected context?: ItemContext;
1046
- get childExpression(): QtiExpression<string>;
1047
- process(): number;
1048
- }
1049
- declare global {
1050
- interface HTMLElementTagNameMap {
1051
- 'qti-lookup-outcome-value': QtiLookupOutcomeValue;
1052
- }
1053
- }
1054
-
1055
- type QtiMapping = {
1056
- defaultValue: number;
1057
- lowerBound?: number;
1058
- upperBound?: number;
1059
- mapEntries: QtiMapEntry[];
1060
- };
1061
- type QtiMapEntry = {
1062
- mapKey: string;
1063
- mappedValue: number;
1064
- caseSensitive: boolean;
1065
- };
1066
-
1067
- type QtiAreaMapping = {
1068
- defaultValue: number;
1069
- lowerBound?: number;
1070
- upperBound?: number;
1071
- areaMapEntries: QtiAreaMapEntry[];
1072
- };
1073
- type QtiAreaMapEntry = {
1074
- shape: areaShape;
1075
- coords: string;
1076
- mappedValue: number;
1077
- defaultValue: number;
1078
- };
1079
- type areaShape = 'default' | 'circle' | 'rect' | 'ellipse' | 'poly';
1080
-
1081
- type Constructor<T> = new (...args: any[]) => T;
1082
- declare const QtiSubtract_base: {
1083
- new (...args: any[]): {
1084
- calculateChildren(children: Array<MockQtiExpression<any>>): number;
1085
- };
1086
- } & Constructor<QtiExpression<number>>;
1087
- declare class QtiSubtract extends QtiSubtract_base {
1088
- getResult(): number;
1089
- }
1090
- type MockQtiExpression<T> = {
1091
- calculate: () => T;
1092
- };
1093
-
1094
- declare global {
1095
- interface HTMLElementTagNameMap {
1096
- 'qti-subtract': QtiSubtract;
1097
- }
1098
- }
1099
-
1100
- declare class QtiContentBody extends LitElement {
1101
- render(): lit_html.TemplateResult<1>;
1102
- }
1103
- declare global {
1104
- interface HTMLElementTagNameMap {
1105
- 'qti-content-body': QtiContentBody;
1106
- }
1107
- }
1108
-
1109
- declare class QtiRubricBlock extends LitElement {
1110
- id: any;
1111
- use: 'instructions' | 'scoring' | 'navigation';
1112
- view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
1113
- classNames: any;
1114
- handleclassNamesChange(): void;
1115
- static styles: lit.CSSResult;
1116
- render(): lit_html.TemplateResult<1>;
1117
- }
1118
- declare global {
1119
- interface HTMLElementTagNameMap {
1120
- 'qti-rubric-block': QtiRubricBlock;
1121
- }
1122
- }
1123
-
1124
- declare class QtiStylesheet extends LitElement {
1125
- private styleElement;
1126
- protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
1127
- private minifyCss;
1128
- disconnectedCallback(): void;
1129
- }
1130
- declare global {
1131
- interface HTMLElementTagNameMap {
1132
- 'qti-stylesheet': QtiStylesheet;
1133
- }
1134
- }
1135
-
1136
- declare class QtiVariableDeclaration extends LitElement {
1137
- render(): lit_html.TemplateResult<1>;
1138
- protected defaultValues(variable: VariableDeclaration<string | string[] | null>): string | string[];
1139
- }
1140
- declare global {
1141
- interface HTMLElementTagNameMap {
1142
- 'qti-variabledeclaration': QtiVariableDeclaration;
1143
- }
1144
- }
1145
-
1146
- declare class QtiOutcomeDeclaration extends QtiVariableDeclaration {
1147
- baseType: BaseType;
1148
- externalScored: 'human' | 'externalMachine' | null;
1149
- identifier: string;
1150
- cardinality: Cardinality;
1151
- itemContext?: ItemContext;
1152
- static styles: lit.CSSResult[];
1153
- render(): lit_html.TemplateResult<1>;
1154
- get interpolationTable(): Map<number, number> | null;
1155
- connectedCallback(): void;
1156
- }
1157
- declare global {
1158
- interface HTMLElementTagNameMap {
1159
- 'qti-outcome-declaration': QtiOutcomeDeclaration;
1160
- }
1161
- }
1162
-
1163
- declare class QtiResponseDeclaration extends QtiVariableDeclaration {
1164
- baseType: BaseType;
1165
- identifier: string;
1166
- cardinality: Cardinality;
1167
- itemContext?: ItemContext;
1168
- static styles: lit.CSSResult[];
1169
- render(): lit_html.TemplateResult<1>;
1170
- connectedCallback(): void;
1171
- private get correctResponse();
1172
- private get mapping();
1173
- private get areaMapping();
1174
- }
1175
- declare global {
1176
- interface HTMLElementTagNameMap {
1177
- 'qti-response-declaration': QtiResponseDeclaration;
1178
- }
1179
- }
1180
-
1181
- interface TestContext {
1182
- items: (ItemContext & {
1183
- category?: string;
1184
- })[];
1185
- testOutcomeVariables?: VariableDeclaration<string | string[] | null>[];
1186
- }
1187
-
1188
- type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
1189
-
1190
- interface SessionContext {
1191
- navPartId?: string | null;
1192
- navSectionId?: string | null;
1193
- navItemId?: string | null;
1194
- navItemLoading?: boolean;
1195
- navTestLoading?: boolean;
1196
- view?: View;
1197
- }
1198
-
1199
- declare class QtiAssessmentItemRef extends LitElement {
1200
- category?: string;
1201
- identifier?: string;
1202
- required?: boolean;
1203
- fixed?: boolean;
1204
- href?: string;
1205
- _testContext?: TestContext;
1206
- weigths: Map<string, number>;
1207
- xmlDoc: DocumentFragment;
1208
- protected createRenderRoot(): HTMLElement | DocumentFragment;
1209
- get assessmentItem(): QtiAssessmentItem | null;
1210
- connectedCallback(): Promise<void>;
1211
- render(): lit_html.TemplateResult<1>;
1212
- }
1213
- declare global {
1214
- interface HTMLElementTagNameMap {
1215
- 'qti-assessment-item-ref': QtiAssessmentItemRef;
1216
- }
1217
- }
1218
-
1219
- declare class QtiAssessmentSection extends LitElement {
1220
- identifier: string;
1221
- required: string;
1222
- fixed: boolean;
1223
- title: string;
1224
- visible: boolean;
1225
- keepTogether: boolean;
1226
- _testContext?: TestContext;
1227
- connectedCallback(): Promise<void>;
1228
- render(): lit_html.TemplateResult<1>;
1229
- }
1230
- declare global {
1231
- interface HTMLElementTagNameMap {
1232
- 'qti-assessment-section': QtiAssessmentSection;
1233
- }
1234
- }
1235
-
1236
- declare class QtiAssessmentTest extends LitElement {
1237
- identifier: string;
1238
- title: string;
1239
- _testContext?: TestContext;
1240
- connectedCallback(): Promise<void>;
1241
- render(): lit_html.TemplateResult<1>;
1242
- }
1243
- declare global {
1244
- interface HTMLElementTagNameMap {
1245
- 'qti-assessment-test': QtiAssessmentTest;
1246
- }
1247
- }
1248
-
1249
- declare class QtiTestPart extends LitElement {
1250
- identifier: string;
1251
- title: string;
1252
- class: string;
1253
- NavigationMode: 'linear' | 'nonlinear';
1254
- submissionMode: 'individual' | 'simultaneous';
1255
- connectedCallback(): Promise<void>;
1256
- render(): lit_html.TemplateResult<1>;
1257
- }
1258
- declare global {
1259
- interface HTMLElementTagNameMap {
1260
- 'qti-test-part': QtiTestPart;
1261
- }
1262
- }
1263
-
1264
- declare class QtiTestFeedback extends QtiModalFeedback {
1265
- static styles: lit.CSSResult;
1266
- render(): lit_html.TemplateResult<1>;
1267
- }
1268
- declare global {
1269
- interface HTMLElementTagNameMap {
1270
- 'qti-test-feedback': QtiTestFeedback;
1271
- }
1272
- }
5
+ import '../../exports/computed-item.context.js';
6
+ import '../../qti-response-declaration-C3kpm650.js';
7
+ import '../../exports/expression-result.js';
8
+ import '../../exports/interaction.interface.js';
9
+ import 'lit-html/directives/ref.js';
1273
10
 
1274
11
  declare class TestScoringFeedback extends LitElement {
1275
- _testContext?: TestContext;
1276
- _sessionContext?: SessionContext;
12
+ protected computedContext?: ComputedContext;
1277
13
  view: ViewMode;
1278
- render(): lit_html.TemplateResult<1> | typeof nothing;
14
+ render(): lit_html.TemplateResult<1>;
1279
15
  }
1280
16
  declare global {
1281
17
  interface HTMLElementTagNameMap {