@citolab/qti-components 7.0.6-next.1 → 7.0.6

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 (512) hide show
  1. package/cdn/{chunk-2F5323DC.js → chunk-4I75QSIL.js} +1 -1
  2. package/cdn/chunk-66PERJA3.js +939 -0
  3. package/cdn/chunk-6WNSQ7U6.js +939 -0
  4. package/cdn/{chunk-2WPNLHGH.js → chunk-A536ZOJJ.js} +1 -1
  5. package/cdn/{chunk-KXRA4DBZ.js → chunk-AT2C24P4.js} +1 -1
  6. package/cdn/{chunk-NAARXANC.js → chunk-BLKKKK6C.js} +1 -1
  7. package/cdn/{chunk-YXST4IEX.js → chunk-DC2R556M.js} +2 -2
  8. package/cdn/chunk-GALSGMIP.js +5 -0
  9. package/cdn/chunk-KYOTSBCX.js +1 -0
  10. package/cdn/{chunk-3M77CJJH.js → chunk-QGKK4T2J.js} +1 -1
  11. package/cdn/{chunk-WI7KK7NI.js → chunk-ROXN2HIJ.js} +1 -1
  12. package/cdn/{chunk-D4K2EXYX.js → chunk-TJMODUN5.js} +1 -1
  13. package/cdn/{chunk-YHB534QY.js → chunk-Z6SKK5ZX.js} +1 -1
  14. package/cdn/chunks/chunk-3GO57DNP.js +0 -0
  15. package/cdn/chunks/chunk-3V6LA7B3.js +8 -0
  16. package/cdn/chunks/chunk-4ILXLVT5.js +3545 -0
  17. package/cdn/chunks/chunk-4PEUIMDK.js +8 -0
  18. package/cdn/chunks/chunk-4UJBK6JO.js +1 -0
  19. package/cdn/chunks/chunk-4WXQYE2P.js +8 -0
  20. package/cdn/chunks/chunk-5BR5CJFH.js +24 -0
  21. package/cdn/chunks/chunk-5FCXUJAG.js +23 -0
  22. package/cdn/chunks/chunk-5GCSZ3CH.js +73 -0
  23. package/cdn/{chunk-II7AGB2E.js → chunks/chunk-5P7CTN7Q.js} +1 -1
  24. package/cdn/chunks/chunk-5X76K77R.js +8 -0
  25. package/cdn/chunks/chunk-6MCYE7P5.js +1 -0
  26. package/cdn/chunks/chunk-6PW2L463.js +0 -0
  27. package/cdn/{chunk-RBATSYIS.js → chunks/chunk-6S4CDN3T.js} +1 -1
  28. package/cdn/chunks/chunk-76VGZJCP.js +934 -0
  29. package/cdn/chunks/chunk-7XYBFL7U.js +934 -0
  30. package/cdn/chunks/chunk-AJJJAZWM.js +1 -0
  31. package/cdn/chunks/chunk-ARHBUT6F.js +5 -0
  32. package/cdn/chunks/chunk-AUHO2E7V.js +934 -0
  33. package/cdn/chunks/chunk-CZ3CSGCE.js +934 -0
  34. package/cdn/chunks/chunk-D3GR6AUG.js +43 -0
  35. package/cdn/chunks/chunk-DZCKF45D.js +5 -0
  36. package/cdn/chunks/chunk-EFU4L43Q.js +8 -0
  37. package/cdn/chunks/chunk-FM5C34DM.js +934 -0
  38. package/cdn/chunks/chunk-FRS2J3OS.js +59 -0
  39. package/cdn/chunks/chunk-GMK2YRB2.js +934 -0
  40. package/cdn/chunks/chunk-H2V2RXUW.js +11 -0
  41. package/cdn/chunks/chunk-HUMOYGEM.js +43 -0
  42. package/cdn/chunks/chunk-IAP2CEE7.js +1 -0
  43. package/cdn/chunks/chunk-IMJOPCFR.js +1 -0
  44. package/cdn/chunks/chunk-IQZ7AOCQ.js +8 -0
  45. package/cdn/chunks/chunk-J3JSSCM6.js +5 -0
  46. package/cdn/chunks/chunk-KHLUVO6Y.js +8 -0
  47. package/cdn/chunks/chunk-KWPDTFYH.js +1 -0
  48. package/cdn/chunks/chunk-L4CUWIE6.js +17 -0
  49. package/cdn/chunks/chunk-LARBLB7K.js +8 -0
  50. package/cdn/chunks/chunk-LNFCEHB3.js +934 -0
  51. package/cdn/chunks/chunk-LZZB4VGC.js +48 -0
  52. package/cdn/chunks/chunk-MJMONWKB.js +3539 -0
  53. package/cdn/chunks/chunk-N5OHGRGG.js +8 -0
  54. package/cdn/chunks/chunk-NDHSIO2G.js +8 -0
  55. package/cdn/chunks/chunk-NRY3WHJD.js +5 -0
  56. package/cdn/chunks/chunk-PKT2SJQD.js +8 -0
  57. package/cdn/chunks/chunk-PPWEIKLT.js +1 -0
  58. package/cdn/chunks/chunk-PT523RSK.js +8 -0
  59. package/cdn/chunks/chunk-QD3NT5PG.js +934 -0
  60. package/cdn/chunks/chunk-QQCGUVEV.js +1 -0
  61. package/cdn/chunks/chunk-QTK4CPHP.js +8 -0
  62. package/cdn/chunks/chunk-QV6I5NVQ.js +8 -0
  63. package/cdn/chunks/chunk-R33OODNX.js +1 -0
  64. package/cdn/chunks/chunk-RIXTWE2H.js +8 -0
  65. package/cdn/chunks/chunk-ROZIP5LG.js +8 -0
  66. package/cdn/chunks/chunk-RPZVSBLM.js +8 -0
  67. package/cdn/chunks/chunk-RXKI3AO4.js +1 -0
  68. package/cdn/chunks/chunk-SXM25YH3.js +934 -0
  69. package/cdn/chunks/chunk-T2KKTMAT.js +934 -0
  70. package/cdn/chunks/chunk-TEYXRLTI.js +8 -0
  71. package/cdn/chunks/chunk-TQBDBMWL.js +5 -0
  72. package/cdn/chunks/chunk-TV3SPOLH.js +8 -0
  73. package/cdn/chunks/chunk-TVDTF6P6.js +934 -0
  74. package/cdn/chunks/chunk-U2TE6TOV.js +934 -0
  75. package/cdn/chunks/chunk-UJP4TGD3.js +1 -0
  76. package/cdn/chunks/chunk-W5Y3ZU2W.js +5 -0
  77. package/cdn/chunks/chunk-WPGJ54IP.js +1 -0
  78. package/cdn/chunks/chunk-X2KBNXRO.js +6 -0
  79. package/cdn/chunks/chunk-XUJ7TXHW.js +1 -0
  80. package/cdn/chunks/chunk-YHWMZAZD.js +43 -0
  81. package/cdn/chunks/chunk-YVZ742ID.js +934 -0
  82. package/cdn/chunks/chunk-YWH4TGMA.js +5 -0
  83. package/cdn/chunks/chunk-YXR6KSZI.js +11 -0
  84. package/cdn/exports/expression-result.js +0 -0
  85. package/cdn/exports/interaction.interface.js +0 -0
  86. package/cdn/exports/interaction.js +1 -0
  87. package/cdn/exports/item.context.js +1 -0
  88. package/cdn/exports/qti-assessment-item.context.js +1 -0
  89. package/cdn/exports/qti-condition-expression.js +1 -0
  90. package/cdn/exports/qti-expression.js +1 -0
  91. package/cdn/exports/variables.js +0 -0
  92. package/cdn/index.global.js +226 -0
  93. package/cdn/index.js +1 -0
  94. package/cdn/qti-components/index.global.js +1 -1
  95. package/cdn/qti-components/index.js +1 -939
  96. package/cdn/qti-item/components/index.global.js +149 -0
  97. package/cdn/qti-item/components/index.js +3549 -0
  98. package/cdn/qti-item/components/item-container.global.js +149 -0
  99. package/cdn/qti-item/components/item-container.js +3549 -0
  100. package/cdn/qti-item/core/index.global.js +1 -1
  101. package/cdn/qti-item/core/index.js +1 -5
  102. package/cdn/qti-item/index.global.js +149 -0
  103. package/cdn/qti-item/index.js +3549 -0
  104. package/cdn/qti-item/qti-item.global.js +114 -0
  105. package/cdn/qti-item/qti-item.js +1 -0
  106. package/cdn/qti-loader/index.js +1 -1
  107. package/cdn/qti-test/components/index.js +1 -1
  108. package/cdn/qti-test/components/styles.js +1 -1
  109. package/cdn/qti-test/components/test-component.abstract.js +1 -1
  110. package/cdn/qti-test/components/test-container.global.js +149 -0
  111. package/cdn/qti-test/components/test-container.js +3549 -0
  112. package/cdn/qti-test/components/test-end-attempt.js +1 -0
  113. package/cdn/qti-test/components/test-item-link.js +1 -1
  114. package/cdn/qti-test/components/test-next.js +1 -1
  115. package/cdn/qti-test/components/test-next.spec.css +1 -0
  116. package/cdn/qti-test/components/test-next.spec.global.js +1 -199
  117. package/cdn/qti-test/components/test-next.spec.js +229 -229
  118. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
  119. package/cdn/qti-test/components/test-prev.js +1 -1
  120. package/cdn/qti-test/components/test-show-correct-response.js +1 -0
  121. package/cdn/qti-test/components/test-view.js +1 -1
  122. package/cdn/qti-test/context/index.global.js +58 -0
  123. package/cdn/qti-test/context/index.js +1 -0
  124. package/cdn/qti-test/context/test.context.global.js +58 -0
  125. package/cdn/qti-test/context/test.context.js +1 -0
  126. package/cdn/qti-test/core/index.global.js +1 -1
  127. package/cdn/qti-test/core/index.js +1 -1
  128. package/cdn/qti-test/index.global.js +242 -0
  129. package/cdn/qti-test/index.js +3598 -0
  130. package/cdn/qti-test/mixins/index.global.js +1 -0
  131. package/cdn/qti-test/mixins/index.js +23 -0
  132. package/cdn/qti-test/mixins/test-loader.mixin.global.js +1 -0
  133. package/cdn/qti-test/mixins/test-loader.mixin.js +23 -0
  134. package/cdn/qti-test/mixins/test-navigation.mixin.global.js +1 -0
  135. package/cdn/qti-test/mixins/test-navigation.mixin.js +1 -0
  136. package/cdn/qti-test/mixins/test-view.mixin.global.js +1 -0
  137. package/cdn/qti-test/mixins/test-view.mixin.js +1 -0
  138. package/cdn/qti-test/qti-assessment-test/index.global.js +170 -0
  139. package/cdn/qti-test/qti-assessment-test/index.js +1 -0
  140. package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +170 -0
  141. package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +1 -0
  142. package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +170 -0
  143. package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +1 -0
  144. package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +170 -0
  145. package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +1 -0
  146. package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +114 -0
  147. package/cdn/qti-test/qti-assessment-test/qti-test-part.js +1 -0
  148. package/cdn/qti-test/qti-test.global.js +170 -0
  149. package/cdn/qti-test/qti-test.js +23 -0
  150. package/cdn/qti-test/test-base.global.js +170 -0
  151. package/cdn/qti-test/test-base.js +1 -0
  152. package/cdn/qti-transformers/index.js +1 -1
  153. package/dist/chunk-2LWLX7WV.js +6307 -0
  154. package/dist/chunk-2LWLX7WV.js.map +1 -0
  155. package/dist/{chunk-TAQAVEQ2.js → chunk-3G364JZC.js} +2 -2
  156. package/dist/{chunk-QNR4WQAC.js → chunk-6TUE644E.js} +3 -2
  157. package/dist/{chunk-2GKDJDI5.js → chunk-6ZMD232X.js} +2 -2
  158. package/dist/{chunk-3F3DCHHM.js → chunk-AYRSHIHA.js} +4 -4
  159. package/dist/{chunk-LJU3MHXE.js → chunk-BN32D5J2.js} +4 -4
  160. package/dist/{chunk-ERLGA6TC.js → chunk-CJRXRBRQ.js} +4 -4
  161. package/dist/{chunk-KVFH5VBC.js → chunk-GPJ6WTE5.js} +2 -2
  162. package/dist/{chunk-KI3A6ZT6.js → chunk-KAUHKHPH.js} +2 -2
  163. package/dist/chunk-QYN5S4EM.js +107 -0
  164. package/dist/chunk-QYN5S4EM.js.map +1 -0
  165. package/dist/{chunk-EXJQ3ZUE.js → chunk-UJTJIU3C.js} +2 -2
  166. package/dist/{chunk-UDWEOEOS.js → chunk-XVQZ5JI5.js} +2 -2
  167. package/dist/chunk-XW3PQRKW.js +6306 -0
  168. package/dist/chunk-XW3PQRKW.js.map +1 -0
  169. package/dist/{chunk-E3656TSN.js → chunk-YQ7EXOAK.js} +1 -1
  170. package/dist/chunk-YQ7EXOAK.js.map +1 -0
  171. package/dist/chunks/chunk-2V6LQV2K.js +50 -0
  172. package/dist/chunks/chunk-2V6LQV2K.js.map +1 -0
  173. package/dist/{chunk-O3GIZH57.js → chunks/chunk-3EU75IUF.js} +7 -10
  174. package/dist/chunks/chunk-3EU75IUF.js.map +1 -0
  175. package/dist/chunks/chunk-3QQFMVDS.js +118 -0
  176. package/dist/chunks/chunk-3QQFMVDS.js.map +1 -0
  177. package/dist/{chunk-SLMQZKDH.js → chunks/chunk-4GNVYCBN.js} +66 -7
  178. package/dist/chunks/chunk-4GNVYCBN.js.map +1 -0
  179. package/dist/chunks/chunk-4MQV5IRV.js +59 -0
  180. package/dist/chunks/chunk-4MQV5IRV.js.map +1 -0
  181. package/dist/chunks/chunk-4O5F7WV7.js +30 -0
  182. package/dist/chunks/chunk-4O5F7WV7.js.map +1 -0
  183. package/dist/chunks/chunk-4WVLWWYJ.js +50 -0
  184. package/dist/chunks/chunk-4WVLWWYJ.js.map +1 -0
  185. package/dist/chunks/chunk-5KVGRLYT.js +10 -0
  186. package/dist/chunks/chunk-5KVGRLYT.js.map +1 -0
  187. package/dist/chunks/chunk-5PCD2B62.js +6091 -0
  188. package/dist/chunks/chunk-5PCD2B62.js.map +1 -0
  189. package/dist/chunks/chunk-5RTLOB3Q.js +59 -0
  190. package/dist/chunks/chunk-5RTLOB3Q.js.map +1 -0
  191. package/dist/chunks/chunk-6JXR63MH.js +50 -0
  192. package/dist/chunks/chunk-6JXR63MH.js.map +1 -0
  193. package/dist/chunks/chunk-6PAEJQSQ.js +6058 -0
  194. package/dist/chunks/chunk-6PAEJQSQ.js.map +1 -0
  195. package/dist/chunks/chunk-6QT4LIPL.js +623 -0
  196. package/dist/chunks/chunk-6QT4LIPL.js.map +1 -0
  197. package/dist/chunks/chunk-7QMCKYDR.js +43 -0
  198. package/dist/chunks/chunk-7QMCKYDR.js.map +1 -0
  199. package/dist/{chunk-4YR7ZPE3.js → chunks/chunk-A24F75DB.js} +4 -4
  200. package/dist/chunks/chunk-A24F75DB.js.map +1 -0
  201. package/dist/chunks/chunk-AUWATZ65.js +10 -0
  202. package/dist/chunks/chunk-AUWATZ65.js.map +1 -0
  203. package/dist/chunks/chunk-AXTEKPP5.js +6084 -0
  204. package/dist/chunks/chunk-AXTEKPP5.js.map +1 -0
  205. package/dist/chunks/chunk-B6MJCAOF.js +6063 -0
  206. package/dist/chunks/chunk-B6MJCAOF.js.map +1 -0
  207. package/dist/chunks/chunk-BJ2JLJIJ.js +623 -0
  208. package/dist/chunks/chunk-BJ2JLJIJ.js.map +1 -0
  209. package/dist/chunks/chunk-BPHQLJWE.js +102 -0
  210. package/dist/chunks/chunk-BPHQLJWE.js.map +1 -0
  211. package/dist/chunks/chunk-CD3E4M5Y.js +107 -0
  212. package/dist/chunks/chunk-CD3E4M5Y.js.map +1 -0
  213. package/dist/chunks/chunk-CEXAR7BF.js +52 -0
  214. package/dist/chunks/chunk-CEXAR7BF.js.map +1 -0
  215. package/dist/chunks/chunk-CWYAQA25.js +6067 -0
  216. package/dist/chunks/chunk-CWYAQA25.js.map +1 -0
  217. package/dist/chunks/chunk-D3QX5N57.js +6117 -0
  218. package/dist/chunks/chunk-D3QX5N57.js.map +1 -0
  219. package/dist/{chunk-4CSM2PCC.js → chunks/chunk-D3RGDWKP.js} +1 -1
  220. package/dist/chunks/chunk-D3RGDWKP.js.map +1 -0
  221. package/dist/chunks/chunk-DLUJN2FW.js +22 -0
  222. package/dist/chunks/chunk-DLUJN2FW.js.map +1 -0
  223. package/dist/chunks/chunk-DNHDFXTV.js +59 -0
  224. package/dist/chunks/chunk-DNHDFXTV.js.map +1 -0
  225. package/dist/chunks/chunk-E4TWZ2DL.js +6088 -0
  226. package/dist/chunks/chunk-E4TWZ2DL.js.map +1 -0
  227. package/dist/chunks/chunk-ELDMXTUQ.js +31 -0
  228. package/dist/chunks/chunk-ELDMXTUQ.js.map +1 -0
  229. package/dist/chunks/chunk-FV7HWK54.js +29 -0
  230. package/dist/chunks/chunk-FV7HWK54.js.map +1 -0
  231. package/dist/chunks/chunk-GQ5P3NWC.js +46 -0
  232. package/dist/chunks/chunk-GQ5P3NWC.js.map +1 -0
  233. package/dist/chunks/chunk-GSWZT6N2.js +50 -0
  234. package/dist/chunks/chunk-GSWZT6N2.js.map +1 -0
  235. package/dist/chunks/chunk-H2JE6IVU.js +15 -0
  236. package/dist/chunks/chunk-H2JE6IVU.js.map +1 -0
  237. package/dist/chunks/chunk-HHVRU3AJ.js +107 -0
  238. package/dist/chunks/chunk-HHVRU3AJ.js.map +1 -0
  239. package/dist/chunks/chunk-HOTNM5DT.js +1 -0
  240. package/dist/chunks/chunk-HOTNM5DT.js.map +1 -0
  241. package/dist/chunks/chunk-IWG66KQQ.js +107 -0
  242. package/dist/chunks/chunk-IWG66KQQ.js.map +1 -0
  243. package/dist/chunks/chunk-J2SHENRN.js +3529 -0
  244. package/dist/chunks/chunk-J2SHENRN.js.map +1 -0
  245. package/dist/chunks/chunk-K6ATVWMP.js +6091 -0
  246. package/dist/chunks/chunk-K6ATVWMP.js.map +1 -0
  247. package/dist/chunks/chunk-KOEILLVS.js +8 -0
  248. package/dist/chunks/chunk-KOEILLVS.js.map +1 -0
  249. package/dist/{chunk-TLPISJ3Z.js → chunks/chunk-KYAIMBP5.js} +3 -3
  250. package/dist/chunks/chunk-KYAIMBP5.js.map +1 -0
  251. package/dist/chunks/chunk-LNISKMIL.js +6063 -0
  252. package/dist/chunks/chunk-LNISKMIL.js.map +1 -0
  253. package/dist/chunks/chunk-LNKJEW5E.js +627 -0
  254. package/dist/chunks/chunk-LNKJEW5E.js.map +1 -0
  255. package/dist/chunks/chunk-LXJA3VP2.js +72 -0
  256. package/dist/chunks/chunk-LXJA3VP2.js.map +1 -0
  257. package/dist/chunks/chunk-MLT7V47R.js +100 -0
  258. package/dist/chunks/chunk-MLT7V47R.js.map +1 -0
  259. package/dist/chunks/chunk-N5FPZNMX.js +43 -0
  260. package/dist/chunks/chunk-N5FPZNMX.js.map +1 -0
  261. package/dist/chunks/chunk-NHA53UTY.js +52 -0
  262. package/dist/chunks/chunk-NHA53UTY.js.map +1 -0
  263. package/dist/chunks/chunk-NZQKGIJP.js +3535 -0
  264. package/dist/chunks/chunk-NZQKGIJP.js.map +1 -0
  265. package/dist/chunks/chunk-O6WEZVEM.js +43 -0
  266. package/dist/chunks/chunk-O6WEZVEM.js.map +1 -0
  267. package/dist/chunks/chunk-OIRWOI3E.js +72 -0
  268. package/dist/chunks/chunk-OIRWOI3E.js.map +1 -0
  269. package/dist/chunks/chunk-PWOY6REC.js +6064 -0
  270. package/dist/chunks/chunk-PWOY6REC.js.map +1 -0
  271. package/dist/chunks/chunk-QJELKGWM.js +6061 -0
  272. package/dist/chunks/chunk-QJELKGWM.js.map +1 -0
  273. package/dist/chunks/chunk-QUB54PXZ.js +50 -0
  274. package/dist/chunks/chunk-QUB54PXZ.js.map +1 -0
  275. package/dist/chunks/chunk-RX3BRYYI.js +59 -0
  276. package/dist/chunks/chunk-RX3BRYYI.js.map +1 -0
  277. package/dist/chunks/chunk-UEEMM6H2.js +6090 -0
  278. package/dist/chunks/chunk-UEEMM6H2.js.map +1 -0
  279. package/dist/chunks/chunk-UFYWCLXF.js +10 -0
  280. package/dist/chunks/chunk-UFYWCLXF.js.map +1 -0
  281. package/dist/chunks/chunk-UN2IFSGC.js +1 -0
  282. package/dist/chunks/chunk-UN2IFSGC.js.map +1 -0
  283. package/dist/chunks/chunk-VAPB5TN4.js +46 -0
  284. package/dist/chunks/chunk-VAPB5TN4.js.map +1 -0
  285. package/dist/chunks/chunk-VBF3GCZK.js +50 -0
  286. package/dist/chunks/chunk-VBF3GCZK.js.map +1 -0
  287. package/dist/chunks/chunk-W4272Q5U.js +46 -0
  288. package/dist/chunks/chunk-W4272Q5U.js.map +1 -0
  289. package/dist/chunks/chunk-WWN5AD6V.js +81 -0
  290. package/dist/chunks/chunk-WWN5AD6V.js.map +1 -0
  291. package/dist/chunks/chunk-X226BX2U.js +78 -0
  292. package/dist/chunks/chunk-X226BX2U.js.map +1 -0
  293. package/dist/chunks/chunk-XCHS3RTZ.js +107 -0
  294. package/dist/chunks/chunk-XCHS3RTZ.js.map +1 -0
  295. package/dist/chunks/chunk-XDMSEAYC.js +294 -0
  296. package/dist/chunks/chunk-XDMSEAYC.js.map +1 -0
  297. package/dist/chunks/chunk-XSI6FXGD.js +19 -0
  298. package/dist/chunks/chunk-XSI6FXGD.js.map +1 -0
  299. package/dist/chunks/chunk-YFC3BVN2.js +78 -0
  300. package/dist/chunks/chunk-YFC3BVN2.js.map +1 -0
  301. package/dist/chunks/chunk-YOXF6JPS.js +623 -0
  302. package/dist/chunks/chunk-YOXF6JPS.js.map +1 -0
  303. package/dist/chunks/chunk-YQB6YLNW.js +78 -0
  304. package/dist/chunks/chunk-YQB6YLNW.js.map +1 -0
  305. package/dist/chunks/chunk-Z5THRO6Z.js +46 -0
  306. package/dist/chunks/chunk-Z5THRO6Z.js.map +1 -0
  307. package/dist/chunks/chunk-ZHAJ3CMP.js +6091 -0
  308. package/dist/chunks/chunk-ZHAJ3CMP.js.map +1 -0
  309. package/dist/chunks/chunk-ZPNJ2HP5.js +71 -0
  310. package/dist/chunks/chunk-ZPNJ2HP5.js.map +1 -0
  311. package/dist/chunks/chunk-ZQXZ6PK7.js +649 -0
  312. package/dist/chunks/chunk-ZQXZ6PK7.js.map +1 -0
  313. package/dist/custom-element-eslint-rules.js +337 -0
  314. package/dist/custom-elements.json +27158 -0
  315. package/dist/exports/expression-result.d.ts +19 -0
  316. package/dist/exports/expression-result.js +1 -0
  317. package/dist/exports/expression-result.js.map +1 -0
  318. package/dist/exports/interaction.d.ts +23 -0
  319. package/dist/exports/interaction.interface.d.ts +13 -0
  320. package/dist/exports/interaction.interface.js +1 -0
  321. package/dist/exports/interaction.interface.js.map +1 -0
  322. package/dist/exports/interaction.js +8 -0
  323. package/dist/exports/interaction.js.map +1 -0
  324. package/dist/exports/item.context.d.ts +12 -0
  325. package/dist/exports/item.context.js +8 -0
  326. package/dist/exports/item.context.js.map +1 -0
  327. package/dist/exports/qti-assessment-item.context.d.ts +10 -0
  328. package/dist/exports/qti-assessment-item.context.js +8 -0
  329. package/dist/exports/qti-assessment-item.context.js.map +1 -0
  330. package/dist/exports/qti-condition-expression.d.ts +13 -0
  331. package/dist/exports/qti-condition-expression.js +10 -0
  332. package/dist/exports/qti-condition-expression.js.map +1 -0
  333. package/dist/exports/qti-expression.d.ts +21 -0
  334. package/dist/exports/qti-expression.js +9 -0
  335. package/dist/exports/qti-expression.js.map +1 -0
  336. package/dist/exports/variables.d.ts +3 -0
  337. package/dist/exports/variables.js +1 -0
  338. package/dist/exports/variables.js.map +1 -0
  339. package/dist/index.d.ts +25 -0
  340. package/dist/index.js +256 -0
  341. package/dist/index.js.map +1 -0
  342. package/dist/item.css +8 -2
  343. package/dist/loader/index.d.ts +20 -0
  344. package/dist/loader/index.js +310 -0
  345. package/dist/loader/index.js.map +1 -0
  346. package/dist/qti-components/index.cjs +6773 -0
  347. package/dist/qti-components/index.cjs.map +1 -0
  348. package/dist/qti-components/index.d.cts +150 -0
  349. package/dist/qti-components/index.d.ts +36 -9
  350. package/dist/qti-components/index.js +94 -6164
  351. package/dist/qti-components/index.js.map +1 -1
  352. package/dist/qti-components-jsx.d.ts +396 -675
  353. package/dist/qti-item/components/index.d.ts +3 -0
  354. package/dist/qti-item/components/index.js +3856 -0
  355. package/dist/qti-item/components/index.js.map +1 -0
  356. package/dist/qti-item/components/item-container.d.ts +40 -0
  357. package/dist/qti-item/components/item-container.js +3856 -0
  358. package/dist/qti-item/components/item-container.js.map +1 -0
  359. package/dist/qti-item/core/index.d.ts +1 -1
  360. package/dist/qti-item/core/index.js +8 -100
  361. package/dist/qti-item/core/index.js.map +1 -1
  362. package/dist/qti-item/index.cjs +89 -0
  363. package/dist/qti-item/index.cjs.map +1 -0
  364. package/dist/qti-item/index.d.cts +24 -0
  365. package/dist/qti-item/index.d.ts +4 -0
  366. package/dist/qti-item/index.js +3869 -0
  367. package/dist/qti-item/index.js.map +1 -0
  368. package/dist/qti-item/qti-item.d.ts +25 -0
  369. package/dist/qti-item/qti-item.js +26 -0
  370. package/dist/qti-item/qti-item.js.map +1 -0
  371. package/dist/qti-loader/index.cjs +332 -0
  372. package/dist/qti-loader/index.cjs.map +1 -0
  373. package/dist/qti-loader/index.d.cts +20 -0
  374. package/dist/qti-loader/index.d.ts +7 -1
  375. package/dist/qti-loader/index.js +5 -23
  376. package/dist/qti-loader/index.js.map +1 -1
  377. package/dist/qti-response-declaration-DAeBp8HH.d.ts +1008 -0
  378. package/dist/qti-response-declaration-Di9CsqiJ.d.ts +1012 -0
  379. package/dist/qti-response-declaration-ucAqd0qK.d.ts +1034 -0
  380. package/dist/qti-simple-choice-3M44uWiN.d.ts +1153 -0
  381. package/dist/qti-simple-choice-B5GnzbqW.d.ts +1080 -0
  382. package/dist/qti-simple-choice-BOLF9wXz.d.ts +1170 -0
  383. package/dist/qti-simple-choice-BeixIkA0.d.ts +1088 -0
  384. package/dist/qti-simple-choice-BiEjEO6s.d.ts +1152 -0
  385. package/dist/qti-simple-choice-Bo_ikO6H.d.ts +1198 -0
  386. package/dist/qti-simple-choice-C0CcrtK5.d.ts +1169 -0
  387. package/dist/qti-simple-choice-Cgh1-Jbr.d.cts +1185 -0
  388. package/dist/qti-simple-choice-Cgh1-Jbr.d.ts +1185 -0
  389. package/dist/{qti-simple-choice-DB7hqAMS.d.ts → qti-simple-choice-Cn5y-Ta8.d.ts} +1 -1
  390. package/dist/qti-simple-choice-D0GiMrqD.d.ts +1168 -0
  391. package/dist/qti-simple-choice-DxWcdKHi.d.ts +1158 -0
  392. package/dist/qti-simple-choice-R_LxBTp8.d.ts +1158 -0
  393. package/dist/qti-simple-choice-hAIyfF0z.d.ts +1114 -0
  394. package/dist/qti-simple-choice-o4rje1RA.d.ts +1176 -0
  395. package/dist/qti-simple-choice-v2GxpPNh.d.ts +1181 -0
  396. package/dist/qti-test/components/index.d.ts +10 -2
  397. package/dist/qti-test/components/index.js +22 -14
  398. package/dist/qti-test/components/styles.js +2 -2
  399. package/dist/qti-test/components/test-component.abstract.d.ts +8 -4
  400. package/dist/qti-test/components/test-component.abstract.js +5 -5
  401. package/dist/qti-test/components/test-container.d.ts +37 -0
  402. package/dist/qti-test/components/test-container.js +3782 -0
  403. package/dist/qti-test/components/test-container.js.map +1 -0
  404. package/dist/qti-test/components/test-end-attempt.d.ts +26 -0
  405. package/dist/qti-test/components/test-end-attempt.js +13 -0
  406. package/dist/qti-test/components/test-end-attempt.js.map +1 -0
  407. package/dist/qti-test/components/test-item-link.d.ts +9 -2
  408. package/dist/qti-test/components/test-item-link.js +7 -7
  409. package/dist/qti-test/components/test-next.d.ts +9 -2
  410. package/dist/qti-test/components/test-next.js +7 -7
  411. package/dist/qti-test/components/test-next.spec.css +2481 -0
  412. package/dist/qti-test/components/test-next.spec.css.map +1 -0
  413. package/dist/qti-test/components/test-next.spec.d.ts +3 -2
  414. package/dist/qti-test/components/test-next.spec.js +10 -9
  415. package/dist/qti-test/components/test-next.spec.js.map +1 -1
  416. package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +8 -2
  417. package/dist/qti-test/components/test-paging-buttons-stamp.js +6 -6
  418. package/dist/qti-test/components/test-prev.d.ts +9 -2
  419. package/dist/qti-test/components/test-prev.js +7 -7
  420. package/dist/qti-test/components/test-show-correct-response.d.ts +26 -0
  421. package/dist/qti-test/components/test-show-correct-response.js +13 -0
  422. package/dist/qti-test/components/test-show-correct-response.js.map +1 -0
  423. package/dist/qti-test/components/test-view.d.ts +9 -2
  424. package/dist/qti-test/components/test-view.js +6 -6
  425. package/dist/qti-test/context/index.d.ts +6 -0
  426. package/dist/qti-test/context/index.js +9 -0
  427. package/dist/qti-test/context/index.js.map +1 -0
  428. package/dist/qti-test/context/test.context.d.ts +6 -0
  429. package/dist/qti-test/context/test.context.js +9 -0
  430. package/dist/qti-test/context/test.context.js.map +1 -0
  431. package/dist/qti-test/core/index.d.ts +36 -25
  432. package/dist/qti-test/core/index.js +9 -7
  433. package/dist/qti-test/index.cjs +4823 -0
  434. package/dist/qti-test/index.cjs.map +1 -0
  435. package/dist/qti-test/index.d.cts +304 -0
  436. package/dist/qti-test/index.d.ts +14 -0
  437. package/dist/qti-test/index.js +4746 -0
  438. package/dist/qti-test/index.js.map +1 -0
  439. package/dist/qti-test/mixins/index.d.ts +8 -0
  440. package/dist/qti-test/mixins/index.js +350 -0
  441. package/dist/qti-test/mixins/index.js.map +1 -0
  442. package/dist/qti-test/mixins/test-loader.mixin.d.ts +8 -0
  443. package/dist/qti-test/mixins/test-loader.mixin.js +240 -0
  444. package/dist/qti-test/mixins/test-loader.mixin.js.map +1 -0
  445. package/dist/qti-test/mixins/test-navigation.mixin.d.ts +22 -0
  446. package/dist/qti-test/mixins/test-navigation.mixin.js +64 -0
  447. package/dist/qti-test/mixins/test-navigation.mixin.js.map +1 -0
  448. package/dist/qti-test/mixins/test-view.mixin.d.ts +6 -0
  449. package/dist/qti-test/mixins/test-view.mixin.js +50 -0
  450. package/dist/qti-test/mixins/test-view.mixin.js.map +1 -0
  451. package/dist/qti-test/qti-assessment-test/index.d.ts +6 -0
  452. package/dist/qti-test/qti-assessment-test/index.js +221 -0
  453. package/dist/qti-test/qti-assessment-test/index.js.map +1 -0
  454. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +6 -0
  455. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +85 -0
  456. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +1 -0
  457. package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +6 -0
  458. package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +73 -0
  459. package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +1 -0
  460. package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +6 -0
  461. package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +54 -0
  462. package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +1 -0
  463. package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +19 -0
  464. package/dist/qti-test/qti-assessment-test/qti-test-part.js +62 -0
  465. package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +1 -0
  466. package/dist/qti-test/qti-test.d.ts +68 -0
  467. package/dist/qti-test/qti-test.js +500 -0
  468. package/dist/qti-test/qti-test.js.map +1 -0
  469. package/dist/qti-test/test-base.d.ts +6 -0
  470. package/dist/qti-test/test-base.js +137 -0
  471. package/dist/qti-test/test-base.js.map +1 -0
  472. package/dist/qti-transformers/index.cjs +316 -0
  473. package/dist/qti-transformers/index.cjs.map +1 -0
  474. package/dist/qti-transformers/index.d.cts +75 -0
  475. package/dist/qti-transformers/index.js +2 -2
  476. package/dist/test-base-BJwG9Ie8.d.ts +109 -0
  477. package/dist/test.context-Bx-606B3.d.ts +99 -0
  478. package/dist/{test.context-DKSpQHyg.d.ts → test.context-C2LBA3w4.d.ts} +11 -3
  479. package/dist/{test.context-K2w-1mWi.d.ts → test.context-CB5V4xJz.d.ts} +3 -3
  480. package/dist/{test-component.abstract-DWJ0XNiI.d.ts → test.context-CaENAJNk.d.ts} +12 -19
  481. package/dist/test.context-CmsDQ8k2.d.ts +99 -0
  482. package/dist/transformers/index.d.ts +76 -0
  483. package/dist/transformers/index.js +293 -0
  484. package/dist/transformers/index.js.map +1 -0
  485. package/dist/variables-cO3DzqJy.d.ts +33 -0
  486. package/dist/vscode.html-custom-data.json +247 -295
  487. package/package.json +26 -15
  488. package/cdn/chunk-4HKDXRGE.js +0 -5
  489. package/cdn/chunk-KUOLGIA5.js +0 -1
  490. package/cdn/chunk-LY27H7YF.js +0 -1
  491. package/cdn/chunk-OEBYNBRS.js +0 -129
  492. package/cdn/chunk-RM352RXQ.js +0 -5
  493. package/dist/chunk-4CSM2PCC.js.map +0 -1
  494. package/dist/chunk-E3656TSN.js.map +0 -1
  495. package/dist/chunk-NUXEGEMP.js +0 -65
  496. package/dist/chunk-NUXEGEMP.js.map +0 -1
  497. package/dist/chunk-O3GIZH57.js.map +0 -1
  498. package/dist/chunk-SLMQZKDH.js.map +0 -1
  499. package/dist/chunk-TAQAVEQ2.js.map +0 -1
  500. package/dist/chunk-TLPISJ3Z.js.map +0 -1
  501. /package/cdn/{chunk-V2RMP73O.js → chunk-IXSX4SJX.js} +0 -0
  502. /package/cdn/{chunk-GPDDPZFH.js → chunks/chunk-EHK76KRT.js} +0 -0
  503. /package/dist/{chunk-4YR7ZPE3.js.map → chunk-3G364JZC.js.map} +0 -0
  504. /package/dist/{chunk-QNR4WQAC.js.map → chunk-6TUE644E.js.map} +0 -0
  505. /package/dist/{chunk-2GKDJDI5.js.map → chunk-6ZMD232X.js.map} +0 -0
  506. /package/dist/{chunk-3F3DCHHM.js.map → chunk-AYRSHIHA.js.map} +0 -0
  507. /package/dist/{chunk-EXJQ3ZUE.js.map → chunk-BN32D5J2.js.map} +0 -0
  508. /package/dist/{chunk-ERLGA6TC.js.map → chunk-CJRXRBRQ.js.map} +0 -0
  509. /package/dist/{chunk-KVFH5VBC.js.map → chunk-GPJ6WTE5.js.map} +0 -0
  510. /package/dist/{chunk-KI3A6ZT6.js.map → chunk-KAUHKHPH.js.map} +0 -0
  511. /package/dist/{chunk-LJU3MHXE.js.map → chunk-UJTJIU3C.js.map} +0 -0
  512. /package/dist/{chunk-UDWEOEOS.js.map → chunk-XVQZ5JI5.js.map} +0 -0
@@ -102,8 +102,6 @@ export type QtiResponseIfProps = {};
102
102
 
103
103
  export type QtiResponseElseIfProps = {};
104
104
 
105
- export type QtiAndProps = {};
106
-
107
105
  export type QtiBaseValueProps = {
108
106
  /** */
109
107
  "base-type"?: BaseType;
@@ -111,10 +109,7 @@ export type QtiBaseValueProps = {
111
109
  getVariables?: string;
112
110
  };
113
111
 
114
- export type QtiContainsProps = {
115
- /** */
116
- getVariables?: string;
117
- };
112
+ export type QtiContainsProps = {};
118
113
 
119
114
  export type QtiCorrectProps = {
120
115
  /** */
@@ -144,10 +139,7 @@ export type QtiGtProps = {
144
139
  getVariables?: string;
145
140
  };
146
141
 
147
- export type QtiGteProps = {
148
- /** */
149
- getVariables?: string;
150
- };
142
+ export type QtiGteProps = {};
151
143
 
152
144
  export type QtiIsNullProps = {
153
145
  /** */
@@ -159,10 +151,7 @@ export type QtiLtProps = {
159
151
  getVariables?: string;
160
152
  };
161
153
 
162
- export type QtiLteProps = {
163
- /** */
164
- getVariables?: string;
165
- };
154
+ export type QtiLteProps = {};
166
155
 
167
156
  export type QtiMapResponseProps = {
168
157
  /** */
@@ -186,10 +175,7 @@ export type QtiNotProps = {
186
175
  getVariables?: string;
187
176
  };
188
177
 
189
- export type QtiOrProps = {
190
- /** */
191
- getVariables?: string;
192
- };
178
+ export type QtiOrProps = {};
193
179
 
194
180
  export type QtiOrderedProps = {
195
181
  /** */
@@ -263,57 +249,13 @@ export type QtiAssessmentStimulusRefProps = {
263
249
  href?: string;
264
250
  };
265
251
 
266
- export type QtiItemBodyProps = {};
267
-
268
- export type QtiPromptProps = {};
269
-
270
- export type QtiStylesheetProps = {};
271
-
272
- export type QtiVariableDeclarationProps = {};
273
-
274
- export type QtiOutcomeDeclarationProps = {
275
- /** */
276
- "base-type"?: BaseType;
277
- /** */
278
- "external-scored"?: "human" | "externalMachine" | null;
279
- /** */
280
- identifier?: string;
281
- /** */
282
- cardinality?: Cardinality;
283
- /** */
284
- itemContext?: ItemContext | undefined;
285
- /** */
286
- interpolationTable?: Map<number, number> | null;
287
- /** */
288
- "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
289
- };
290
-
291
- export type QtiResponseDeclarationProps = {
292
- /** */
293
- "base-type"?: BaseType;
294
- /** */
295
- identifier?: string;
296
- /** */
297
- cardinality?: Cardinality;
298
- /** */
299
- itemContext?: ItemContext | undefined;
300
- /** */
301
- "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
302
- };
303
-
304
252
  export type QtiCompanionMaterialsInfoProps = {};
305
253
 
306
- export type QtiContentBodyProps = {};
307
-
308
- export type QtiRubricBlockProps = {
309
- /** */
310
- id?: string;
311
- /** */
312
- use?: "instructions" | "scoring" | "navigation";
254
+ export type QtiCustomOperatorProps = {
313
255
  /** */
314
- view?: "author" | "candidate" | "proctor" | "scorer" | "testConstructor" | "tutor";
256
+ "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
315
257
  /** */
316
- class?: string;
258
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
317
259
  };
318
260
 
319
261
  export type QtiFeedbackBlockProps = {
@@ -355,96 +297,39 @@ export type QtiModalFeedbackProps = {
355
297
  "onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
356
298
  };
357
299
 
358
- export type QtiExtendedTextInteractionProps = {
359
- /** expected length is mapped to the property maxlength on the textarea */
360
- "expected-length"?: number;
361
- /** */
362
- "pattern-mask"?: string;
363
- /** text appearing in the extended-text-nteraction if it is empty */
364
- "placeholder-text"?: string;
365
- /** */
366
- "data-patternmask-message"?: string;
367
- /** */
368
- class?: string;
369
- /** */
370
- "response-identifier"?: string;
371
- /** */
372
- disabled?: boolean;
373
- /** */
374
- readonly?: boolean;
375
- /** */
376
- value?: string | string[];
377
- /** */
378
- correctResponse?: string | string[];
379
- /** */
380
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
381
- /** */
382
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
383
- };
384
-
385
- export type QtiTextEntryInteractionProps = {
386
- /** */
387
- "expected-length"?: number;
388
- /** */
389
- "pattern-mask"?: string;
390
- /** */
391
- "placeholder-text"?: string;
392
- /** */
393
- "data-patternmask-message"?: string;
394
- /** */
395
- "response-identifier"?: string;
396
- /** */
397
- disabled?: boolean;
398
- /** */
399
- readonly?: boolean;
400
- /** */
401
- inputRef?: string;
402
- /** */
403
- value?: string | string[];
404
- /** */
405
- correctResponse?: string | string[];
406
- /** */
407
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
300
+ export type QtiAssociableHotspotProps = {
408
301
  /** */
409
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
302
+ "onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
410
303
  };
411
304
 
412
- export type QtiHottextInteractionProps = {
413
- /** */
414
- "min-choices"?: number;
415
- /** */
416
- "max-choices"?: number;
305
+ export type QtiSimpleAssociableChoiceProps = {
306
+ /** the minimal number of selections a candidate must make */
307
+ "match-min"?: number;
308
+ /** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
309
+ "match-max"?: number;
417
310
  /** */
418
- "response-identifier"?: string;
311
+ fixed?: boolean;
419
312
  /** */
420
- disabled?: boolean;
313
+ identifier?: string;
421
314
  /** */
422
- readonly?: boolean;
315
+ tabindex?: number;
423
316
  /** */
424
- value?: string | string[];
317
+ "aria-disabled"?: boolean;
425
318
  /** */
426
- correctResponse?: string | string[];
319
+ "aria-readonly"?: boolean;
427
320
  /** */
428
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
321
+ internals?: ElementInternals;
429
322
  /** */
430
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
323
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
431
324
  };
432
325
 
433
- export type QtiInlineChoiceInteractionProps = {
434
- /** */
435
- "data-prompt"?: string;
436
- /** */
437
- "response-identifier"?: string;
438
- /** */
439
- disabled?: boolean;
440
- /** */
441
- readonly?: boolean;
326
+ export type QtiAssociateInteractionProps = {
442
327
  /** */
443
- value?: string | string[];
328
+ "min-associations"?: number;
444
329
  /** */
445
- correctResponse?: string | string[];
330
+ "max-associations"?: number;
446
331
  /** */
447
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
332
+ value?: string[];
448
333
  /** */
449
334
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
450
335
  };
@@ -480,109 +365,11 @@ export type QtiChoiceInteractionProps = {
480
365
  /** */
481
366
  "max-choices"?: number;
482
367
  /** */
483
- "response-identifier"?: string;
484
- /** */
485
- disabled?: boolean;
486
- /** */
487
- readonly?: boolean;
488
- /** */
489
368
  role?: string;
490
369
  /** */
491
- value?: string | string[];
370
+ value?: string | string[] | null;
492
371
  /** */
493
372
  correctResponse?: string | string[];
494
- /** */
495
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
496
- /** */
497
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
498
- };
499
-
500
- export type QtiUploadInteractionProps = {
501
- /** */
502
- "response-identifier"?: string;
503
- /** */
504
- disabled?: boolean;
505
- /** */
506
- readonly?: boolean;
507
- /** */
508
- value?: string | string[];
509
- /** */
510
- correctResponse?: string | string[];
511
- /** */
512
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
513
- /** */
514
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
515
- };
516
-
517
- export type QtiOutcomeProcessingProps = {};
518
-
519
- export type QtiPortableCustomInteractionProps = {
520
- /** */
521
- module?: string;
522
- /** */
523
- "custom-interaction-type-identifier"?: string;
524
- /** */
525
- "response-identifier"?: string;
526
- /** */
527
- disabled?: boolean;
528
- /** */
529
- readonly?: boolean;
530
- /** */
531
- value?: string | string[];
532
- /** */
533
- loadConfig?: string;
534
- /** */
535
- getResolvablePathString?: string;
536
- /** */
537
- getResolvablePath?: string;
538
- /** */
539
- correctResponse?: string | string[];
540
- /** */
541
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
542
- /** */
543
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
544
- };
545
-
546
- export type QtiSimpleAssociableChoiceProps = {
547
- /** the minimal number of selections a candidate must make */
548
- "match-min"?: number;
549
- /** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
550
- "match-max"?: number;
551
- /** */
552
- fixed?: boolean;
553
- /** */
554
- identifier?: string;
555
- /** */
556
- tabindex?: number;
557
- /** */
558
- "aria-disabled"?: boolean;
559
- /** */
560
- "aria-readonly"?: boolean;
561
- /** */
562
- internals?: ElementInternals;
563
- /** */
564
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
565
- };
566
-
567
- export type QtiAssociateInteractionProps = {
568
- /** */
569
- "min-associations"?: number;
570
- /** */
571
- "max-associations"?: number;
572
- /** */
573
- "response-identifier"?: string;
574
- /** */
575
- disabled?: boolean;
576
- /** */
577
- readonly?: boolean;
578
- /** */
579
- value?: string | string[];
580
- /** */
581
- correctResponse?: string | string[];
582
- /** */
583
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
584
- /** */
585
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
586
373
  };
587
374
 
588
375
  export type QtiCustomInteractionProps = {
@@ -595,12 +382,6 @@ export type QtiCustomInteractionProps = {
595
382
  /** */
596
383
  id?: string;
597
384
  /** */
598
- "response-identifier"?: string;
599
- /** */
600
- disabled?: boolean;
601
- /** */
602
- readonly?: boolean;
603
- /** */
604
385
  manifest?: {
605
386
  script: string[];
606
387
  style: string[];
@@ -608,12 +389,6 @@ export type QtiCustomInteractionProps = {
608
389
  };
609
390
  /** */
610
391
  value?: string | string[];
611
- /** */
612
- correctResponse?: string | string[];
613
- /** */
614
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
615
- /** */
616
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
617
392
  };
618
393
 
619
394
  export type QtiEndAttemptInteractionProps = {
@@ -630,25 +405,57 @@ export type QtiEndAttemptInteractionProps = {
630
405
  "onend-attempt"?: (e: CustomEvent<CustomEvent>) => void;
631
406
  };
632
407
 
408
+ export type QtiExtendedTextInteractionProps = {
409
+ /** expected length is mapped to the property maxlength on the textarea */
410
+ "expected-length"?: number;
411
+ /** */
412
+ "pattern-mask"?: string;
413
+ /** text appearing in the extended-text-nteraction if it is empty */
414
+ "placeholder-text"?: string;
415
+ /** */
416
+ "data-patternmask-message"?: string;
417
+ /** */
418
+ class?: string;
419
+ /** */
420
+ value?: string | string[] | null;
421
+ };
422
+
423
+ export type QtiGapImgProps = {
424
+ /** */
425
+ tabindex?: number | undefined;
426
+ };
427
+
633
428
  export type QtiGapMatchInteractionProps = {
634
429
  /** */
635
430
  "min-associations"?: number;
636
431
  /** */
637
432
  "max-associations"?: number;
638
433
  /** */
639
- "response-identifier"?: string;
434
+ correctResponse?: string;
640
435
  /** */
641
- disabled?: boolean;
436
+ value?: string[];
642
437
  /** */
643
- readonly?: boolean;
438
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
439
+ };
440
+
441
+ export type QtiGapTextProps = {
644
442
  /** */
645
- correctResponse?: string | string[];
443
+ tabindex?: number;
646
444
  /** */
647
- value?: string | string[];
445
+ identifier?: string;
648
446
  /** */
649
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
447
+ "aria-disabled"?: boolean;
448
+ /** */
449
+ "aria-readonly"?: boolean;
650
450
  /** */
651
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
451
+ internals?: ElementInternals;
452
+ /** */
453
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
454
+ };
455
+
456
+ export type QtiGapProps = {
457
+ /** */
458
+ tabindex?: number | undefined;
652
459
  };
653
460
 
654
461
  export type QtiHotspotChoiceProps = {
@@ -669,20 +476,8 @@ export type QtiHotspotChoiceProps = {
669
476
  };
670
477
 
671
478
  export type QtiGraphicAssociateInteractionProps = {
672
- /** */
673
- "response-identifier"?: string;
674
- /** */
675
- disabled?: boolean;
676
- /** */
677
- readonly?: boolean;
678
479
  /** */
679
480
  value?: string | string[];
680
- /** */
681
- correctResponse?: string | string[];
682
- /** */
683
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
684
- /** */
685
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
686
481
  };
687
482
 
688
483
  export type QtiGraphicGapMatchInteractionProps = {
@@ -691,19 +486,9 @@ export type QtiGraphicGapMatchInteractionProps = {
691
486
  /** */
692
487
  "max-associations"?: number;
693
488
  /** */
694
- "response-identifier"?: string;
695
- /** */
696
- disabled?: boolean;
697
- /** */
698
- readonly?: boolean;
699
- /** */
700
- value?: string | string[];
701
- /** */
702
- correctResponse?: string | string[];
489
+ value?: string[];
703
490
  /** */
704
491
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
705
- /** */
706
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
707
492
  };
708
493
 
709
494
  export type QtiGraphicOrderInteractionProps = {
@@ -712,40 +497,65 @@ export type QtiGraphicOrderInteractionProps = {
712
497
  /** */
713
498
  "max-choices"?: number;
714
499
  /** */
715
- "response-identifier"?: string;
716
- /** */
717
- disabled?: boolean;
500
+ value?: string | string[] | null;
718
501
  /** */
719
- readonly?: boolean;
502
+ correctResponse?: string | string[];
503
+ };
504
+
505
+ export type QtiHotspotInteractionProps = {
720
506
  /** */
721
- value?: string | string[];
507
+ "min-choices"?: number;
722
508
  /** */
723
- correctResponse?: string | string[];
509
+ "max-choices"?: number;
724
510
  /** */
725
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
511
+ value?: string | string[] | null;
726
512
  /** */
727
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
513
+ correctResponse?: string | string[];
728
514
  };
729
515
 
730
- export type QtiHotspotInteractionProps = {
516
+ export type QtiHottextInteractionProps = {
731
517
  /** */
732
518
  "min-choices"?: number;
733
519
  /** */
734
520
  "max-choices"?: number;
735
521
  /** */
736
- "response-identifier"?: string;
522
+ value?: string | string[] | null;
737
523
  /** */
738
- disabled?: boolean;
524
+ correctResponse?: string | string[];
525
+ };
526
+
527
+ export type QtiHottextProps = {
739
528
  /** */
740
- readonly?: boolean;
529
+ identifier?: string;
741
530
  /** */
742
- value?: string | string[];
531
+ tabindex?: number;
743
532
  /** */
744
- correctResponse?: string | string[];
533
+ "aria-disabled"?: boolean;
745
534
  /** */
746
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
535
+ "aria-readonly"?: boolean;
747
536
  /** */
748
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
537
+ internals?: ElementInternals;
538
+ /** */
539
+ onundefined?: (e: CustomEvent<CustomEvent>) => void;
540
+ };
541
+
542
+ export type QtiInlineChoiceInteractionProps = {
543
+ /** */
544
+ "data-prompt"?: string;
545
+ /** */
546
+ value?: string | null;
547
+ /** */
548
+ correctResponse?: string;
549
+ };
550
+
551
+ export type QtiInlineChoiceProps = {
552
+ /** */
553
+ identifier?: string;
554
+
555
+ /** */
556
+ "onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
557
+ /** */
558
+ "onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
749
559
  };
750
560
 
751
561
  export type QtiMatchInteractionProps = {
@@ -758,34 +568,16 @@ export type QtiMatchInteractionProps = {
758
568
  /** */
759
569
  "max-associations"?: number;
760
570
  /** */
761
- disabled?: boolean;
762
- /** */
763
- readonly?: boolean;
571
+ value?: string[];
764
572
  /** */
765
- value?: string | string[];
766
- /** */
767
- correctResponse?: string | string[];
573
+ correctResponse?: string;
768
574
  /** */
769
575
  "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
770
- /** */
771
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
772
576
  };
773
577
 
774
578
  export type QtiMediaInteractionProps = {
775
- /** */
776
- "response-identifier"?: string;
777
- /** */
778
- disabled?: boolean;
779
- /** */
780
- readonly?: boolean;
781
579
  /** */
782
580
  value?: string | string[];
783
- /** */
784
- correctResponse?: string | string[];
785
- /** */
786
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
787
- /** */
788
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
789
581
  };
790
582
 
791
583
  export type QtiOrderInteractionProps = {
@@ -798,23 +590,30 @@ export type QtiOrderInteractionProps = {
798
590
  /** */
799
591
  "max-associations"?: number;
800
592
  /** */
801
- "response-identifier"?: string;
593
+ correctResponses?: string[];
802
594
  /** */
803
- disabled?: boolean;
595
+ showCorrectResponses?: boolean;
804
596
  /** */
805
- readonly?: boolean;
597
+ correctResponse?: string;
806
598
  /** */
807
- correctResponses?: string[];
599
+ value?: string[];
808
600
  /** */
809
- showCorrectResponses?: boolean;
601
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
602
+ };
603
+
604
+ export type QtiPortableCustomInteractionProps = {
810
605
  /** */
811
- correctResponse?: string | string[];
606
+ module?: string;
607
+ /** */
608
+ "custom-interaction-type-identifier"?: string;
812
609
  /** */
813
610
  value?: string | string[];
814
611
  /** */
815
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
612
+ loadConfig?: string;
613
+ /** */
614
+ getResolvablePathString?: string;
816
615
  /** */
817
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
616
+ getResolvablePath?: string;
818
617
  };
819
618
 
820
619
  export type QtiPositionObjectInteractionProps = {};
@@ -836,19 +635,7 @@ export type QtiSelectPointInteractionProps = {
836
635
  /** */
837
636
  "min-choices"?: number;
838
637
  /** */
839
- "response-identifier"?: string;
840
- /** */
841
- disabled?: boolean;
842
- /** */
843
- readonly?: boolean;
844
- /** */
845
638
  value?: string | string[];
846
- /** */
847
- correctResponse?: string | string[];
848
- /** */
849
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
850
- /** */
851
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
852
639
  };
853
640
 
854
641
  export type QtiSliderInteractionProps = {
@@ -864,66 +651,79 @@ export type QtiSliderInteractionProps = {
864
651
  onchange?: (e: CustomEvent<Event>) => void;
865
652
  };
866
653
 
867
- export type QtiCustomOperatorProps = {
654
+ export type QtiTextEntryInteractionProps = {
868
655
  /** */
869
- "onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
656
+ "expected-length"?: number;
870
657
  /** */
871
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
872
- };
873
-
874
- export type QtiAssociableHotspotProps = {
658
+ "pattern-mask"?: string;
875
659
  /** */
876
- "onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
877
- };
878
-
879
- export type QtiGapProps = {
660
+ "placeholder-text"?: string;
880
661
  /** */
881
- tabindex?: number | undefined;
882
- };
883
-
884
- export type QtiGapImgProps = {
662
+ "data-patternmask-message"?: string;
885
663
  /** */
886
- tabindex?: number | undefined;
664
+ inputRef?: string;
665
+ /** */
666
+ value?: string | string[] | null;
887
667
  };
888
668
 
889
- export type QtiGapTextProps = {
669
+ export type QtiUploadInteractionProps = {
890
670
  /** */
891
- tabindex?: number;
671
+ value?: string | string[] | null;
892
672
  /** */
893
- identifier?: string;
673
+ "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
674
+ };
675
+
676
+ export type QtiItemBodyProps = {};
677
+
678
+ export type QtiOutcomeProcessingProps = {};
679
+
680
+ export type QtiPromptProps = {};
681
+
682
+ export type QtiContentBodyProps = {};
683
+
684
+ export type QtiRubricBlockProps = {
894
685
  /** */
895
- "aria-disabled"?: boolean;
686
+ id?: string;
896
687
  /** */
897
- "aria-readonly"?: boolean;
688
+ use?: "instructions" | "scoring" | "navigation";
898
689
  /** */
899
- internals?: ElementInternals;
690
+ view?: "author" | "candidate" | "proctor" | "scorer" | "testConstructor" | "tutor";
900
691
  /** */
901
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
692
+ class?: string;
902
693
  };
903
694
 
904
- export type QtiHottextProps = {
695
+ export type QtiStylesheetProps = {};
696
+
697
+ export type QtiVariableDeclarationProps = {};
698
+
699
+ export type QtiOutcomeDeclarationProps = {
905
700
  /** */
906
- identifier?: string;
701
+ "base-type"?: BaseType;
907
702
  /** */
908
- tabindex?: number;
703
+ "external-scored"?: "human" | "externalMachine" | null;
909
704
  /** */
910
- "aria-disabled"?: boolean;
705
+ identifier?: string;
911
706
  /** */
912
- "aria-readonly"?: boolean;
707
+ cardinality?: Cardinality;
913
708
  /** */
914
- internals?: ElementInternals;
709
+ itemContext?: ItemContext | undefined;
915
710
  /** */
916
- onundefined?: (e: CustomEvent<CustomEvent>) => void;
711
+ interpolationTable?: Map<number, number> | null;
712
+ /** */
713
+ "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
917
714
  };
918
715
 
919
- export type QtiInlineChoiceProps = {
716
+ export type QtiResponseDeclarationProps = {
717
+ /** */
718
+ "base-type"?: BaseType;
920
719
  /** */
921
720
  identifier?: string;
922
-
923
721
  /** */
924
- "onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
722
+ cardinality?: Cardinality;
925
723
  /** */
926
- "onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
724
+ itemContext?: ItemContext | undefined;
725
+ /** */
726
+ "onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
927
727
  };
928
728
 
929
729
  export type TestElementProps = {
@@ -931,20 +731,6 @@ export type TestElementProps = {
931
731
  class?: string;
932
732
  /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
933
733
  shuffle?: "true" | "false";
934
- /** */
935
- "response-identifier"?: string;
936
- /** */
937
- disabled?: boolean;
938
- /** */
939
- readonly?: boolean;
940
- /** */
941
- value?: string | string[];
942
- /** */
943
- correctResponse?: string | string[];
944
- /** */
945
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
946
- /** */
947
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
948
734
  };
949
735
 
950
736
  export type TestElementProps = {
@@ -953,19 +739,7 @@ export type TestElementProps = {
953
739
  /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
954
740
  shuffle?: "true" | "false";
955
741
  /** */
956
- "response-identifier"?: string;
957
- /** */
958
- disabled?: boolean;
959
- /** */
960
- readonly?: boolean;
961
- /** */
962
- value?: string | string[];
963
- /** */
964
- correctResponse?: string | string[];
965
- /** */
966
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
967
- /** */
968
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
742
+ value?: string;
969
743
  };
970
744
 
971
745
  export type TestElementProps = {
@@ -974,19 +748,7 @@ export type TestElementProps = {
974
748
  /** <span style="color:blue">some *blue* text</span>. Does not work in storybook */
975
749
  shuffle?: "true" | "false";
976
750
  /** */
977
- "response-identifier"?: string;
978
- /** */
979
- disabled?: boolean;
980
- /** */
981
- readonly?: boolean;
982
- /** */
983
- value?: string | string[];
984
- /** */
985
- correctResponse?: string | string[];
986
- /** */
987
- "onqti-register-interaction"?: (e: CustomEvent<CustomEvent>) => void;
988
- /** */
989
- "onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
751
+ value?: string;
990
752
  };
991
753
 
992
754
  export type ItemContainerProps = {
@@ -1000,6 +762,15 @@ export type ItemContainerProps = {
1000
762
 
1001
763
  export type QtiItemProps = {};
1002
764
 
765
+ export type TestContainerProps = {
766
+ /** URL of the item to load */
767
+ "test-url"?: string;
768
+ /** A parsed HTML document */
769
+ testDoc?: DocumentFragment;
770
+ /** The raw XML string */
771
+ testXML?: string;
772
+ };
773
+
1003
774
  export type QtiAssessmentItemRefProps = {
1004
775
  /** */
1005
776
  category?: string | undefined;
@@ -1069,6 +840,17 @@ export type QtiTestPartProps = {
1069
840
  "onqti-test-part-connected"?: (e: CustomEvent<Event>) => void;
1070
841
  };
1071
842
 
843
+ export type QtiTestProps = {
844
+ /** Items will be scored on everyinteraction when `qti-assessment-item` is not set to adaptive, and the `SCORE` outcome identifier is not set to be "human" | "externalMachine" */
845
+ "auto-score-items"?: boolean;
846
+ /** */
847
+ "auto-store-restore"?: boolean;
848
+ /** */
849
+ context?: TestContext;
850
+ /** */
851
+ "onqti-test-connected"?: (e: CustomEvent<CustomEvent>) => void;
852
+ };
853
+
1072
854
  export type TestNextProps = {
1073
855
  /** */
1074
856
  role?: string;
@@ -1077,8 +859,6 @@ export type TestNextProps = {
1077
859
  /** */
1078
860
  disabled?: boolean;
1079
861
  /** */
1080
- "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1081
- /** */
1082
862
  "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1083
863
  };
1084
864
 
@@ -1090,8 +870,6 @@ export type TestPrevProps = {
1090
870
  /** */
1091
871
  disabled?: boolean;
1092
872
  /** */
1093
- "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1094
- /** */
1095
873
  "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1096
874
  };
1097
875
 
@@ -1104,8 +882,6 @@ export type TestViewProps = {
1104
882
  disabled?: boolean;
1105
883
  /** */
1106
884
  "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1107
- /** */
1108
- "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1109
885
  };
1110
886
 
1111
887
  export type TestItemLinkProps = {
@@ -1114,11 +890,19 @@ export type TestItemLinkProps = {
1114
890
  /** */
1115
891
  disabled?: boolean;
1116
892
  /** */
1117
- "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1118
- /** */
1119
893
  "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1120
894
  };
1121
895
 
896
+ export type TestEndAttemptProps = {
897
+ /** */
898
+ disabled?: boolean;
899
+ };
900
+
901
+ export type TestShowCorrectResponseProps = {
902
+ /** */
903
+ disabled?: boolean;
904
+ };
905
+
1122
906
  export type TestPagingButtonsStampProps = {
1123
907
  /** */
1124
908
  "max-displayed-items"?: number;
@@ -1128,24 +912,15 @@ export type TestPagingButtonsStampProps = {
1128
912
  ariaLabel?: string;
1129
913
  /** */
1130
914
  disabled?: boolean;
1131
- /** */
1132
- "onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
1133
- /** */
1134
- "onqti-request-test-item"?: (e: CustomEvent<CustomEvent>) => void;
1135
915
  };
1136
916
 
1137
- export type QtiTestProps = {
917
+ export type QtiTestVariablesProps = {
1138
918
  /** */
1139
- context?: TestContext;
1140
- };
1141
-
1142
- export type TestContainerProps = {
1143
- /** URL of the item to load */
1144
- "test-url"?: string;
1145
- /** A parsed HTML document */
1146
- testDoc?: DocumentFragment;
1147
- /** The raw XML string */
1148
- testXML?: string;
919
+ _testContext?: TestContext | undefined;
920
+ /** */
921
+ _testElement?: TestElement | undefined;
922
+ /** */
923
+ getVariables?: string;
1149
924
  };
1150
925
 
1151
926
  export type CustomElements = {
@@ -1227,13 +1002,6 @@ export type CustomElements = {
1227
1002
  */
1228
1003
  "qti-response-else-if": Partial<QtiResponseElseIfProps & BaseProps & BaseEvents>;
1229
1004
 
1230
- /**
1231
- *
1232
- * ---
1233
- *
1234
- */
1235
- "qti-and": Partial<QtiAndProps & BaseProps & BaseEvents>;
1236
-
1237
1005
  /**
1238
1006
  *
1239
1007
  * ---
@@ -1399,6 +1167,9 @@ export type CustomElements = {
1399
1167
  * - **qti-outcome-changed** - Emitted when an outcome has changed.
1400
1168
  * - **qti-response-processing** - Emitted when response-processing is called.
1401
1169
  *
1170
+ * ### **Methods:**
1171
+ * - **showCorrectResponse(show: _boolean_): _void_** - Toggles the display of correct responses for interactions.
1172
+ *
1402
1173
  * ### **Slots:**
1403
1174
  * - _default_ - The default slot where all the other QTI 3 item structures go.
1404
1175
  */
@@ -1414,58 +1185,6 @@ export type CustomElements = {
1414
1185
  */
1415
1186
  "qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps & BaseEvents>;
1416
1187
 
1417
- /**
1418
- * 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.
1419
- * ---
1420
- *
1421
- *
1422
- * ### **Slots:**
1423
- * - _default_ - item body content.
1424
- * - **qti-rubric-block** - the qti rubric block is placed above the item
1425
- */
1426
- "qti-item-body": Partial<QtiItemBodyProps & BaseProps & BaseEvents>;
1427
-
1428
- /**
1429
- *
1430
- * ---
1431
- *
1432
- */
1433
- "qti-prompt": Partial<QtiPromptProps & BaseProps & BaseEvents>;
1434
-
1435
- /**
1436
- *
1437
- * ---
1438
- *
1439
- */
1440
- "qti-stylesheet": Partial<QtiStylesheetProps & BaseProps & BaseEvents>;
1441
-
1442
- /**
1443
- *
1444
- * ---
1445
- *
1446
- */
1447
- "qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps & BaseEvents>;
1448
-
1449
- /**
1450
- *
1451
- * ---
1452
- *
1453
- *
1454
- * ### **Events:**
1455
- * - **qti-register-variable**
1456
- */
1457
- "qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps & BaseEvents>;
1458
-
1459
- /**
1460
- *
1461
- * ---
1462
- *
1463
- *
1464
- * ### **Events:**
1465
- * - **qti-register-variable**
1466
- */
1467
- "qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps & BaseEvents>;
1468
-
1469
1188
  /**
1470
1189
  *
1471
1190
  * ---
@@ -1474,18 +1193,23 @@ export type CustomElements = {
1474
1193
  "qti-companion-materials-info": Partial<QtiCompanionMaterialsInfoProps & BaseProps & BaseEvents>;
1475
1194
 
1476
1195
  /**
1477
- *
1196
+ * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
1197
+ * <qti-custom-operator class="js.org">
1198
+ * <qti-base-value base-type="string"><![CDATA[
1199
+ * console.log(context.variables);
1200
+ * return 'B'
1201
+ * document.querySelector('qti-end-attempt-interaction').disabled = true;
1202
+ * ]]></qti-base-value>
1203
+ * </qti-custom-operator>
1204
+ * </qti-set-outcome-value>
1478
1205
  * ---
1479
1206
  *
1480
- */
1481
- "qti-content-body": Partial<QtiContentBodyProps & BaseProps & BaseEvents>;
1482
-
1483
- /**
1484
- *
1485
- * ---
1486
1207
  *
1208
+ * ### **Events:**
1209
+ * - **qti-set-outcome-value**
1210
+ * - **qti-interaction-response**
1487
1211
  */
1488
- "qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps & BaseEvents>;
1212
+ "qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps & BaseEvents>;
1489
1213
 
1490
1214
  /**
1491
1215
  *
@@ -1523,21 +1247,9 @@ export type CustomElements = {
1523
1247
  *
1524
1248
  *
1525
1249
  * ### **Events:**
1526
- * - **qti-register-interaction**
1527
- * - **qti-interaction-response**
1528
- */
1529
- "qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps & BaseEvents>;
1530
-
1531
- /**
1532
- *
1533
- * ---
1534
- *
1535
- *
1536
- * ### **Events:**
1537
- * - **qti-register-interaction**
1538
- * - **qti-interaction-response**
1250
+ * - **qti-register-hotspot**
1539
1251
  */
1540
- "qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps & BaseEvents>;
1252
+ "qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps & BaseEvents>;
1541
1253
 
1542
1254
  /**
1543
1255
  *
@@ -1545,13 +1257,9 @@ export type CustomElements = {
1545
1257
  *
1546
1258
  *
1547
1259
  * ### **Events:**
1548
- * - **qti-register-interaction**
1549
- * - **qti-interaction-response**
1550
- *
1551
- * ### **Methods:**
1552
1260
  *
1553
1261
  */
1554
- "qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps & BaseEvents>;
1262
+ "qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps & BaseEvents>;
1555
1263
 
1556
1264
  /**
1557
1265
  *
@@ -1559,10 +1267,9 @@ export type CustomElements = {
1559
1267
  *
1560
1268
  *
1561
1269
  * ### **Events:**
1562
- * - **qti-register-interaction**
1563
- * - **qti-interaction-response**
1270
+ * - **qti-interaction-response**
1564
1271
  */
1565
- "qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps & BaseEvents>;
1272
+ "qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps & BaseEvents>;
1566
1273
 
1567
1274
  /**
1568
1275
  * qti-order-interaction
@@ -1580,10 +1287,6 @@ export type CustomElements = {
1580
1287
  * ---
1581
1288
  *
1582
1289
  *
1583
- * ### **Events:**
1584
- * - **qti-register-interaction**
1585
- * - **qti-interaction-response**
1586
- *
1587
1290
  * ### **Methods:**
1588
1291
  *
1589
1292
  *
@@ -1605,23 +1308,36 @@ export type CustomElements = {
1605
1308
  */
1606
1309
  "qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps & BaseEvents>;
1607
1310
 
1311
+ /**
1312
+ *
1313
+ * ---
1314
+ *
1315
+ */
1316
+ "qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps & BaseEvents>;
1317
+
1608
1318
  /**
1609
1319
  *
1610
1320
  * ---
1611
1321
  *
1612
1322
  *
1613
1323
  * ### **Events:**
1614
- * - **qti-interaction-response**
1615
- * - **qti-register-interaction**
1324
+ * - **end-attempt**
1616
1325
  */
1617
- "qti-upload-interaction": Partial<QtiUploadInteractionProps & BaseProps & BaseEvents>;
1326
+ "qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps & BaseEvents>;
1618
1327
 
1619
1328
  /**
1620
1329
  *
1621
1330
  * ---
1622
1331
  *
1623
1332
  */
1624
- "qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps & BaseEvents>;
1333
+ "qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps & BaseEvents>;
1334
+
1335
+ /**
1336
+ *
1337
+ * ---
1338
+ *
1339
+ */
1340
+ "qti-gap-img": Partial<QtiGapImgProps & BaseProps & BaseEvents>;
1625
1341
 
1626
1342
  /**
1627
1343
  *
@@ -1629,10 +1345,9 @@ export type CustomElements = {
1629
1345
  *
1630
1346
  *
1631
1347
  * ### **Events:**
1632
- * - **qti-register-interaction**
1633
- * - **qti-interaction-response**
1348
+ * - **qti-interaction-response**
1634
1349
  */
1635
- "qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps & BaseEvents>;
1350
+ "qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps & BaseEvents>;
1636
1351
 
1637
1352
  /**
1638
1353
  *
@@ -1642,18 +1357,14 @@ export type CustomElements = {
1642
1357
  * ### **Events:**
1643
1358
  *
1644
1359
  */
1645
- "qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps & BaseEvents>;
1360
+ "qti-gap-text": Partial<QtiGapTextProps & BaseProps & BaseEvents>;
1646
1361
 
1647
1362
  /**
1648
1363
  *
1649
1364
  * ---
1650
1365
  *
1651
- *
1652
- * ### **Events:**
1653
- * - **qti-interaction-response**
1654
- * - **qti-register-interaction**
1655
1366
  */
1656
- "qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps & BaseEvents>;
1367
+ "qti-gap": Partial<QtiGapProps & BaseProps & BaseEvents>;
1657
1368
 
1658
1369
  /**
1659
1370
  *
@@ -1661,20 +1372,16 @@ export type CustomElements = {
1661
1372
  *
1662
1373
  *
1663
1374
  * ### **Events:**
1664
- * - **qti-register-interaction**
1665
- * - **qti-interaction-response**
1375
+ *
1666
1376
  */
1667
- "qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps & BaseEvents>;
1377
+ "qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps & BaseEvents>;
1668
1378
 
1669
1379
  /**
1670
1380
  *
1671
1381
  * ---
1672
1382
  *
1673
- *
1674
- * ### **Events:**
1675
- * - **end-attempt**
1676
1383
  */
1677
- "qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps & BaseEvents>;
1384
+ "qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps & BaseEvents>;
1678
1385
 
1679
1386
  /**
1680
1387
  *
@@ -1683,41 +1390,38 @@ export type CustomElements = {
1683
1390
  *
1684
1391
  * ### **Events:**
1685
1392
  * - **qti-interaction-response**
1686
- * - **qti-register-interaction**
1687
1393
  */
1688
- "qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps & BaseEvents>;
1394
+ "qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps & BaseEvents>;
1689
1395
 
1690
1396
  /**
1691
1397
  *
1692
1398
  * ---
1693
1399
  *
1694
1400
  *
1695
- * ### **Events:**
1401
+ * ### **Methods:**
1696
1402
  *
1697
1403
  */
1698
- "qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps & BaseEvents>;
1404
+ "qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps & BaseEvents>;
1699
1405
 
1700
1406
  /**
1701
1407
  *
1702
1408
  * ---
1703
1409
  *
1704
1410
  *
1705
- * ### **Events:**
1706
- * - **qti-register-interaction**
1707
- * - **qti-interaction-response**
1411
+ * ### **Methods:**
1412
+ *
1708
1413
  */
1709
- "qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps & BaseEvents>;
1414
+ "qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps & BaseEvents>;
1710
1415
 
1711
1416
  /**
1712
1417
  *
1713
1418
  * ---
1714
1419
  *
1715
1420
  *
1716
- * ### **Events:**
1717
- * - **qti-interaction-response**
1718
- * - **qti-register-interaction**
1421
+ * ### **Methods:**
1422
+ *
1719
1423
  */
1720
- "qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps & BaseEvents>;
1424
+ "qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps & BaseEvents>;
1721
1425
 
1722
1426
  /**
1723
1427
  *
@@ -1725,27 +1429,27 @@ export type CustomElements = {
1725
1429
  *
1726
1430
  *
1727
1431
  * ### **Events:**
1728
- * - **qti-register-interaction**
1729
- * - **qti-interaction-response**
1730
- *
1731
- * ### **Methods:**
1732
1432
  *
1733
1433
  */
1734
- "qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps & BaseEvents>;
1434
+ "qti-hottext": Partial<QtiHottextProps & BaseProps & BaseEvents>;
1735
1435
 
1736
1436
  /**
1737
1437
  *
1738
1438
  * ---
1739
1439
  *
1440
+ */
1441
+ "qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps & BaseEvents>;
1442
+
1443
+ /**
1740
1444
  *
1741
- * ### **Events:**
1742
- * - **qti-register-interaction**
1743
- * - **qti-interaction-response**
1445
+ * ---
1744
1446
  *
1745
- * ### **Methods:**
1746
1447
  *
1448
+ * ### **Events:**
1449
+ * - **qti-inline-choice-register**
1450
+ * - **qti-inline-choice-select**
1747
1451
  */
1748
- "qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps & BaseEvents>;
1452
+ "qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps & BaseEvents>;
1749
1453
 
1750
1454
  /**
1751
1455
  *
@@ -1754,7 +1458,6 @@ export type CustomElements = {
1754
1458
  *
1755
1459
  * ### **Events:**
1756
1460
  * - **qti-interaction-response**
1757
- * - **qti-register-interaction**
1758
1461
  */
1759
1462
  "qti-match-interaction": Partial<QtiMatchInteractionProps & BaseProps & BaseEvents>;
1760
1463
 
@@ -1762,10 +1465,6 @@ export type CustomElements = {
1762
1465
  *
1763
1466
  * ---
1764
1467
  *
1765
- *
1766
- * ### **Events:**
1767
- * - **qti-register-interaction**
1768
- * - **qti-interaction-response**
1769
1468
  */
1770
1469
  "qti-media-interaction": Partial<QtiMediaInteractionProps & BaseProps & BaseEvents>;
1771
1470
 
@@ -1776,10 +1475,16 @@ export type CustomElements = {
1776
1475
  *
1777
1476
  * ### **Events:**
1778
1477
  * - **qti-interaction-response**
1779
- * - **qti-register-interaction**
1780
1478
  */
1781
1479
  "qti-order-interaction": Partial<QtiOrderInteractionProps & BaseProps & BaseEvents>;
1782
1480
 
1481
+ /**
1482
+ *
1483
+ * ---
1484
+ *
1485
+ */
1486
+ "qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps & BaseEvents>;
1487
+
1783
1488
  /**
1784
1489
  *
1785
1490
  * ---
@@ -1798,10 +1503,6 @@ export type CustomElements = {
1798
1503
  *
1799
1504
  * ---
1800
1505
  *
1801
- *
1802
- * ### **Events:**
1803
- * - **qti-register-interaction**
1804
- * - **qti-interaction-response**
1805
1506
  */
1806
1507
  "qti-select-point-interaction": Partial<QtiSelectPointInteractionProps & BaseProps & BaseEvents>;
1807
1508
 
@@ -1816,23 +1517,11 @@ export type CustomElements = {
1816
1517
  "qti-slider-interaction": Partial<QtiSliderInteractionProps & BaseProps & BaseEvents>;
1817
1518
 
1818
1519
  /**
1819
- * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
1820
- * <qti-custom-operator class="js.org">
1821
- * <qti-base-value base-type="string"><![CDATA[
1822
- * console.log(context.variables);
1823
- * return 'B'
1824
- * document.querySelector('qti-end-attempt-interaction').disabled = true;
1825
- * ]]></qti-base-value>
1826
- * </qti-custom-operator>
1827
- * </qti-set-outcome-value>
1828
- * ---
1829
1520
  *
1521
+ * ---
1830
1522
  *
1831
- * ### **Events:**
1832
- * - **qti-set-outcome-value**
1833
- * - **qti-interaction-response**
1834
1523
  */
1835
- "qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps & BaseEvents>;
1524
+ "qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps & BaseEvents>;
1836
1525
 
1837
1526
  /**
1838
1527
  *
@@ -1840,43 +1529,62 @@ export type CustomElements = {
1840
1529
  *
1841
1530
  *
1842
1531
  * ### **Events:**
1843
- * - **qti-register-hotspot**
1532
+ * - **qti-interaction-response**
1844
1533
  */
1845
- "qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps & BaseEvents>;
1534
+ "qti-upload-interaction": Partial<QtiUploadInteractionProps & BaseProps & BaseEvents>;
1535
+
1536
+ /**
1537
+ * 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.
1538
+ * ---
1539
+ *
1540
+ *
1541
+ * ### **Slots:**
1542
+ * - _default_ - item body content.
1543
+ * - **qti-rubric-block** - the qti rubric block is placed above the item
1544
+ */
1545
+ "qti-item-body": Partial<QtiItemBodyProps & BaseProps & BaseEvents>;
1846
1546
 
1847
1547
  /**
1848
1548
  *
1849
1549
  * ---
1850
1550
  *
1851
1551
  */
1852
- "qti-gap": Partial<QtiGapProps & BaseProps & BaseEvents>;
1552
+ "qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps & BaseEvents>;
1853
1553
 
1854
1554
  /**
1855
1555
  *
1856
1556
  * ---
1857
1557
  *
1858
1558
  */
1859
- "qti-gap-img": Partial<QtiGapImgProps & BaseProps & BaseEvents>;
1559
+ "qti-prompt": Partial<QtiPromptProps & BaseProps & BaseEvents>;
1860
1560
 
1861
1561
  /**
1862
1562
  *
1863
1563
  * ---
1864
1564
  *
1565
+ */
1566
+ "qti-content-body": Partial<QtiContentBodyProps & BaseProps & BaseEvents>;
1567
+
1568
+ /**
1865
1569
  *
1866
- * ### **Events:**
1570
+ * ---
1867
1571
  *
1868
1572
  */
1869
- "qti-gap-text": Partial<QtiGapTextProps & BaseProps & BaseEvents>;
1573
+ "qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps & BaseEvents>;
1870
1574
 
1871
1575
  /**
1872
1576
  *
1873
1577
  * ---
1874
1578
  *
1579
+ */
1580
+ "qti-stylesheet": Partial<QtiStylesheetProps & BaseProps & BaseEvents>;
1581
+
1582
+ /**
1875
1583
  *
1876
- * ### **Events:**
1584
+ * ---
1877
1585
  *
1878
1586
  */
1879
- "qti-hottext": Partial<QtiHottextProps & BaseProps & BaseEvents>;
1587
+ "qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps & BaseEvents>;
1880
1588
 
1881
1589
  /**
1882
1590
  *
@@ -1884,10 +1592,9 @@ export type CustomElements = {
1884
1592
  *
1885
1593
  *
1886
1594
  * ### **Events:**
1887
- * - **qti-inline-choice-register**
1888
- * - **qti-inline-choice-select**
1595
+ * - **qti-register-variable**
1889
1596
  */
1890
- "qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps & BaseEvents>;
1597
+ "qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps & BaseEvents>;
1891
1598
 
1892
1599
  /**
1893
1600
  *
@@ -1895,19 +1602,14 @@ export type CustomElements = {
1895
1602
  *
1896
1603
  *
1897
1604
  * ### **Events:**
1898
- * - **qti-register-interaction**
1899
- * - **qti-interaction-response**
1605
+ * - **qti-register-variable**
1900
1606
  */
1901
- "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1607
+ "qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps & BaseEvents>;
1902
1608
 
1903
1609
  /**
1904
1610
  *
1905
1611
  * ---
1906
1612
  *
1907
- *
1908
- * ### **Events:**
1909
- * - **qti-register-interaction**
1910
- * - **qti-interaction-response**
1911
1613
  */
1912
1614
  "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1913
1615
 
@@ -1915,10 +1617,13 @@ export type CustomElements = {
1915
1617
  *
1916
1618
  * ---
1917
1619
  *
1620
+ */
1621
+ "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1622
+
1623
+ /**
1624
+ *
1625
+ * ---
1918
1626
  *
1919
- * ### **Events:**
1920
- * - **qti-register-interaction**
1921
- * - **qti-interaction-response**
1922
1627
  */
1923
1628
  "test-element": Partial<TestElementProps & BaseProps & BaseEvents>;
1924
1629
 
@@ -1956,6 +1661,21 @@ export type CustomElements = {
1956
1661
  */
1957
1662
  "qti-item": Partial<QtiItemProps & BaseProps & BaseEvents>;
1958
1663
 
1664
+ /**
1665
+ * `<test-container>` is a custom element designed for hosting the qti-assessment-item.
1666
+ * The `qti-assessment-test` will be placed inside the shadow DOM of this element.
1667
+ * The element loads the test from the provided URL and renders it inside the shadow DOM.
1668
+ *
1669
+ * ```html
1670
+ * <qti-test>
1671
+ * <test-container class="m-4 bg-white" test-url="./path/to/assessmenttest.xml"></test-container>
1672
+ * </qti-test>
1673
+ * ```
1674
+ * ---
1675
+ *
1676
+ */
1677
+ "test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
1678
+
1959
1679
  /**
1960
1680
  *
1961
1681
  * ---
@@ -1996,14 +1716,65 @@ export type CustomElements = {
1996
1716
  */
1997
1717
  "qti-test-part": Partial<QtiTestPartProps & BaseProps & BaseEvents>;
1998
1718
 
1719
+ /**
1720
+ * `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
1721
+ *
1722
+ * This component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.
1723
+ *
1724
+ * ### Example Usage
1725
+ *
1726
+ * Minimal example including navigation:
1727
+ *
1728
+ * ```html
1729
+ * <qti-test>
1730
+ * <test-container test-url="./path/to/assessment.xml"></test-container>
1731
+ * <nav class="flex">
1732
+ * <test-prev></test-prev>
1733
+ * <test-next></test-next>
1734
+ * </nav>
1735
+ * </qti-test>
1736
+ * ```
1737
+ *
1738
+ * Use the following file structure
1739
+ * A qti-test loads a QTI3.0 assessmenttest.xml file from a package folder.
1740
+ *
1741
+ * ```plaintext
1742
+ * Root/
1743
+ * ├── index.html
1744
+ * └── /assets/api/examples/
1745
+ * ├── assessmenttest.xml
1746
+ * └── imsmanifest.xml
1747
+ *
1748
+ * ```
1749
+ *
1750
+ * ### Test components
1751
+ *
1752
+ * Use test components inside the qti-test component for added functionality.
1753
+ * ### Test next
1754
+ * `<test-next> | TestNext`
1755
+ *
1756
+ * ### Test prev
1757
+ *
1758
+ * `<test-prev> | TestPrev`
1759
+ * ### Test components
1760
+ *
1761
+ * You can use normal class names to style the elements.
1762
+ * And you can use the `test-prev` and `test-next` elements to navigate through the test.
1763
+ * ---
1764
+ *
1765
+ *
1766
+ * ### **Events:**
1767
+ * - **qti-test-connected**
1768
+ */
1769
+ "qti-test": Partial<QtiTestProps & BaseProps & BaseEvents>;
1770
+
1999
1771
  /**
2000
1772
  * Represents a custom element for navigating to the next test item.
2001
1773
  * ---
2002
1774
  *
2003
1775
  *
2004
1776
  * ### **Events:**
2005
- * - **on-test-switch-view**
2006
- * - **qti-request-test-item**
1777
+ * - **qti-request-test-item**
2007
1778
  */
2008
1779
  "test-next": Partial<TestNextProps & BaseProps & BaseEvents>;
2009
1780
 
@@ -2013,8 +1784,7 @@ export type CustomElements = {
2013
1784
  *
2014
1785
  *
2015
1786
  * ### **Events:**
2016
- * - **on-test-switch-view**
2017
- * - **qti-request-test-item**
1787
+ * - **qti-request-test-item**
2018
1788
  */
2019
1789
  "test-prev": Partial<TestPrevProps & BaseProps & BaseEvents>;
2020
1790
 
@@ -2025,7 +1795,6 @@ export type CustomElements = {
2025
1795
  *
2026
1796
  * ### **Events:**
2027
1797
  * - **on-test-switch-view**
2028
- * - **qti-request-test-item**
2029
1798
  */
2030
1799
  "test-view": Partial<TestViewProps & BaseProps & BaseEvents>;
2031
1800
 
@@ -2035,8 +1804,7 @@ export type CustomElements = {
2035
1804
  *
2036
1805
  *
2037
1806
  * ### **Events:**
2038
- * - **on-test-switch-view**
2039
- * - **qti-request-test-item**
1807
+ * - **qti-request-test-item**
2040
1808
  */
2041
1809
  "test-item-link": Partial<TestItemLinkProps & BaseProps & BaseEvents>;
2042
1810
 
@@ -2044,74 +1812,27 @@ export type CustomElements = {
2044
1812
  *
2045
1813
  * ---
2046
1814
  *
2047
- *
2048
- * ### **Events:**
2049
- * - **on-test-switch-view**
2050
- * - **qti-request-test-item**
2051
1815
  */
2052
- "test-paging-buttons-stamp": Partial<TestPagingButtonsStampProps & BaseProps & BaseEvents>;
1816
+ "test-end-attempt": Partial<TestEndAttemptProps & BaseProps & BaseEvents>;
2053
1817
 
2054
1818
  /**
2055
- * `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
2056
- *
2057
- * This component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.
2058
- *
2059
- * ### Example Usage
2060
- *
2061
- * Minimal example including navigation:
2062
- *
2063
- * ```html
2064
- * <qti-test>
2065
- * <test-container test-url="./path/to/assessment.xml"></test-container>
2066
- * <nav class="flex">
2067
- * <test-prev></test-prev>
2068
- * <test-next></test-next>
2069
- * </nav>
2070
- * </qti-test>
2071
- * ```
2072
- *
2073
- * Use the following file structure
2074
- * A qti-test loads a QTI3.0 assessmenttest.xml file from a package folder.
2075
- *
2076
- * ```plaintext
2077
- * Root/
2078
- * ├── index.html
2079
- * └── /assets/api/examples/
2080
- * ├── assessmenttest.xml
2081
- * └── imsmanifest.xml
2082
- *
2083
- * ```
2084
- *
2085
- * ### Test components
2086
1819
  *
2087
- * Use test components inside the qti-test component for added functionality.
2088
- * ### Test next
2089
- * `<test-next> | TestNext`
2090
- *
2091
- * ### Test prev
1820
+ * ---
2092
1821
  *
2093
- * `<test-prev> | TestPrev`
2094
- * ### Test components
1822
+ */
1823
+ "test-show-correct-response": Partial<TestShowCorrectResponseProps & BaseProps & BaseEvents>;
1824
+
1825
+ /**
2095
1826
  *
2096
- * You can use normal class names to style the elements.
2097
- * And you can use the `test-prev` and `test-next` elements to navigate through the test.
2098
1827
  * ---
2099
1828
  *
2100
1829
  */
2101
- "qti-test": Partial<QtiTestProps & BaseProps & BaseEvents>;
1830
+ "test-paging-buttons-stamp": Partial<TestPagingButtonsStampProps & BaseProps & BaseEvents>;
2102
1831
 
2103
1832
  /**
2104
- * `<test-container>` is a custom element designed for hosting the qti-assessment-item.
2105
- * The `qti-assessment-test` will be placed inside the shadow DOM of this element.
2106
- * The element loads the test from the provided URL and renders it inside the shadow DOM.
2107
1833
  *
2108
- * ```html
2109
- * <qti-test>
2110
- * <test-container class="m-4 bg-white" test-url="./path/to/assessmenttest.xml"></test-container>
2111
- * </qti-test>
2112
- * ```
2113
1834
  * ---
2114
1835
  *
2115
1836
  */
2116
- "test-container": Partial<TestContainerProps & BaseProps & BaseEvents>;
1837
+ "qti-test-variables": Partial<QtiTestVariablesProps & BaseProps & BaseEvents>;
2117
1838
  };