@citolab/qti-components 7.0.8 → 7.0.9-beta.0

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 (538) hide show
  1. package/cdn/chunks/chunk-3AHQU35T.js +1 -0
  2. package/cdn/chunks/chunk-4AGTWY6I.js +1 -0
  3. package/cdn/{chunk-A536ZOJJ.js → chunks/chunk-6EIGTAJQ.js} +2 -4
  4. package/cdn/chunks/chunk-6UEXCXHG.js +17 -0
  5. package/cdn/chunks/chunk-BJL2ZC5L.js +1 -0
  6. package/cdn/chunks/chunk-FB3WTNRH.js +8 -0
  7. package/cdn/chunks/chunk-GCKESRQG.js +1 -0
  8. package/{dist/chunks/chunk-NZQKGIJP.js → cdn/chunks/chunk-GVU44M3E.js} +6 -8
  9. package/cdn/chunks/{chunk-SATSEEWJ.js → chunk-I3HQJPKA.js} +84 -84
  10. package/cdn/chunks/chunk-IKDNYCM7.js +1 -0
  11. package/cdn/chunks/chunk-KDO3T66B.js +1 -0
  12. package/cdn/chunks/{chunk-T2KKTMAT.js → chunk-KGVJXME7.js} +84 -84
  13. package/cdn/chunks/chunk-KQPTKMFJ.js +1 -0
  14. package/cdn/chunks/{chunk-4ILXLVT5.js → chunk-LCKLXCUP.js} +6 -18
  15. package/cdn/chunks/chunk-M5PPZ5M3.js +59 -0
  16. package/cdn/chunks/chunk-O5MMIBRR.js +10 -0
  17. package/cdn/chunks/chunk-OEXGDZO2.js +8 -0
  18. package/cdn/chunks/{chunk-RXKI3AO4.js → chunk-R45JL2ZY.js} +1 -1
  19. package/cdn/chunks/chunk-W2VSEYLY.js +8 -0
  20. package/cdn/chunks/chunk-WYDU2FBY.js +8 -0
  21. package/cdn/chunks/chunk-X7T7HK65.js +8 -0
  22. package/cdn/chunks/{chunk-X2KBNXRO.js → chunk-YIYKK4RV.js} +1 -1
  23. package/cdn/exports/computed.context.js +1 -0
  24. package/cdn/exports/config.context.js +1 -0
  25. package/cdn/exports/qti-assessment-item.context.js +1 -1
  26. package/cdn/exports/qti-condition-expression.js +1 -1
  27. package/cdn/exports/qti-expression.js +1 -1
  28. package/cdn/exports/session.context.js +1 -0
  29. package/cdn/exports/test.context.js +1 -0
  30. package/cdn/index.global.js +1 -1
  31. package/cdn/index.js +1 -1
  32. package/cdn/qti-components/index.js +1 -1
  33. package/cdn/qti-item/core/index.js +1 -1
  34. package/cdn/qti-test/components/index.js +1 -1
  35. package/cdn/qti-test/components/test-container.js +1 -3549
  36. package/cdn/qti-test/components/test-end-attempt.js +1 -1
  37. package/cdn/qti-test/components/test-item-link.js +1 -1
  38. package/cdn/qti-test/components/test-navigation.js +1 -0
  39. package/cdn/qti-test/components/test-next.js +1 -1
  40. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
  41. package/cdn/qti-test/components/test-prev.js +1 -1
  42. package/cdn/qti-test/components/test-show-correct-response.js +1 -1
  43. package/cdn/qti-test/components/test-view.js +1 -1
  44. package/cdn/qti-test/core/index.js +1 -1
  45. package/dist/chunks/chunk-3A4IOMBQ.js +8 -0
  46. package/dist/chunks/chunk-3A4IOMBQ.js.map +1 -0
  47. package/dist/{chunk-2CHF3TMY.js → chunks/chunk-6MW3J6OM.js} +112 -4
  48. package/dist/chunks/chunk-6MW3J6OM.js.map +1 -0
  49. package/dist/chunks/chunk-CBYNKDSF.js +1 -0
  50. package/dist/chunks/{chunk-WWN5AD6V.js → chunk-CHINL5UJ.js} +12 -7
  51. package/dist/chunks/chunk-CHINL5UJ.js.map +1 -0
  52. package/dist/chunks/{chunk-W4272Q5U.js → chunk-CWCYTL3F.js} +18 -8
  53. package/dist/chunks/chunk-CWCYTL3F.js.map +1 -0
  54. package/dist/chunks/{chunk-GQ5P3NWC.js → chunk-FZVLLSCM.js} +18 -8
  55. package/dist/chunks/chunk-FZVLLSCM.js.map +1 -0
  56. package/dist/chunks/chunk-GNCPECOC.js +45 -0
  57. package/dist/chunks/chunk-GNCPECOC.js.map +1 -0
  58. package/dist/chunks/{chunk-YOXF6JPS.js → chunk-GRYVMG5Q.js} +135 -193
  59. package/dist/chunks/chunk-GRYVMG5Q.js.map +1 -0
  60. package/dist/chunks/{chunk-BPHQLJWE.js → chunk-I7HVKMDI.js} +2 -2
  61. package/dist/chunks/chunk-I7HVKMDI.js.map +1 -0
  62. package/dist/chunks/chunk-J4MM4JXS.js +8 -0
  63. package/dist/chunks/chunk-J4MM4JXS.js.map +1 -0
  64. package/dist/chunks/{chunk-FV7HWK54.js → chunk-JUAS2TVR.js} +1 -1
  65. package/dist/chunks/chunk-JUAS2TVR.js.map +1 -0
  66. package/dist/chunks/chunk-K6EUKFNW.js +43 -0
  67. package/dist/chunks/chunk-K6EUKFNW.js.map +1 -0
  68. package/dist/chunks/chunk-LZ7UIV5O.js +91 -0
  69. package/dist/chunks/chunk-LZ7UIV5O.js.map +1 -0
  70. package/dist/chunks/{chunk-J2SHENRN.js → chunk-MDWBTFKL.js} +100 -5
  71. package/dist/chunks/chunk-MDWBTFKL.js.map +1 -0
  72. package/dist/chunks/{chunk-KOEILLVS.js → chunk-NJNQOQUU.js} +1 -1
  73. package/dist/chunks/chunk-NJNQOQUU.js.map +1 -0
  74. package/dist/chunks/{chunk-E4TWZ2DL.js → chunk-NPHDN2TQ.js} +139 -113
  75. package/dist/chunks/chunk-NPHDN2TQ.js.map +1 -0
  76. package/dist/chunks/chunk-ODLYMQOS.js +8 -0
  77. package/dist/chunks/chunk-ODLYMQOS.js.map +1 -0
  78. package/dist/chunks/{chunk-XSI6FXGD.js → chunk-OOQLWOYU.js} +2 -2
  79. package/dist/chunks/{chunk-NHA53UTY.js → chunk-PR6AZWRP.js} +3 -6
  80. package/dist/chunks/chunk-PR6AZWRP.js.map +1 -0
  81. package/dist/chunks/chunk-QAA6MWGE.js +170 -0
  82. package/dist/chunks/chunk-QAA6MWGE.js.map +1 -0
  83. package/dist/chunks/chunk-QTH3WLGY.js +8 -0
  84. package/dist/chunks/chunk-QTH3WLGY.js.map +1 -0
  85. package/dist/chunks/{chunk-DLUJN2FW.js → chunk-W7ZXKJ5O.js} +1 -1
  86. package/dist/chunks/chunk-W7ZXKJ5O.js.map +1 -0
  87. package/dist/chunks/{chunk-OIRWOI3E.js → chunk-WRHEO7NG.js} +1 -1
  88. package/dist/chunks/chunk-WRHEO7NG.js.map +1 -0
  89. package/dist/chunks/chunk-WXART76T.js +95 -0
  90. package/dist/chunks/chunk-WXART76T.js.map +1 -0
  91. package/dist/exports/computed.context.d.ts +30 -0
  92. package/dist/exports/computed.context.js +8 -0
  93. package/dist/exports/config.context.d.ts +8 -0
  94. package/dist/exports/config.context.js +8 -0
  95. package/dist/exports/interaction.js +1 -1
  96. package/dist/exports/item.context.d.ts +2 -2
  97. package/dist/exports/item.context.js +1 -1
  98. package/dist/exports/qti-assessment-item.context.js +1 -1
  99. package/dist/exports/qti-condition-expression.js +3 -3
  100. package/dist/exports/qti-expression.js +2 -2
  101. package/dist/exports/session.context.d.ts +12 -0
  102. package/dist/exports/session.context.js +8 -0
  103. package/dist/exports/test.context.d.ts +16 -0
  104. package/dist/exports/test.context.js +8 -0
  105. package/dist/index.d.ts +9 -4
  106. package/dist/index.js +58 -55
  107. package/dist/qti-components/index.d.ts +2 -2
  108. package/dist/qti-components/index.js +7 -7
  109. package/dist/qti-components-jsx.d.ts +112 -86
  110. package/dist/qti-item/core/index.js +2 -3
  111. package/dist/qti-loader/index.d.ts +1 -1
  112. package/dist/qti-loader/index.js +1 -1
  113. package/dist/{qti-response-declaration-Di9CsqiJ.d.ts → qti-response-declaration-CyOeVboh.d.ts} +2 -2
  114. package/dist/qti-test/components/index.d.ts +10 -4
  115. package/dist/qti-test/components/index.js +28 -19
  116. package/dist/qti-test/components/test-container.d.ts +3 -1
  117. package/dist/qti-test/components/test-container.js +6 -3778
  118. package/dist/qti-test/components/test-container.js.map +1 -1
  119. package/dist/qti-test/components/test-end-attempt.d.ts +4 -11
  120. package/dist/qti-test/components/test-end-attempt.js +3 -5
  121. package/dist/qti-test/components/test-item-link.d.ts +2 -11
  122. package/dist/qti-test/components/test-item-link.js +1 -5
  123. package/dist/qti-test/components/test-navigation.d.ts +35 -0
  124. package/dist/qti-test/components/test-navigation.js +12 -0
  125. package/dist/qti-test/components/test-navigation.js.map +1 -0
  126. package/dist/qti-test/components/test-next.d.ts +12 -12
  127. package/dist/qti-test/components/test-next.js +4 -4
  128. package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +8 -15
  129. package/dist/qti-test/components/test-paging-buttons-stamp.js +2 -5
  130. package/dist/qti-test/components/test-prev.d.ts +11 -12
  131. package/dist/qti-test/components/test-prev.js +4 -4
  132. package/dist/qti-test/components/test-show-correct-response.d.ts +4 -11
  133. package/dist/qti-test/components/test-show-correct-response.js +3 -5
  134. package/dist/qti-test/components/test-view.d.ts +3 -12
  135. package/dist/qti-test/components/test-view.js +2 -4
  136. package/dist/qti-test/core/index.d.ts +18 -48
  137. package/dist/qti-test/core/index.js +7 -12
  138. package/dist/{test.context-C2LBA3w4.d.ts → qti-test-part-zX9tOUbA.d.ts} +17 -33
  139. package/dist/vscode.html-custom-data.json +33 -30
  140. package/package.json +20 -19
  141. package/cdn/chunk-4DFVJE2A.js +0 -48
  142. package/cdn/chunk-4I75QSIL.js +0 -8
  143. package/cdn/chunk-5WCOPF7O.js +0 -73
  144. package/cdn/chunk-66PERJA3.js +0 -939
  145. package/cdn/chunk-6WNSQ7U6.js +0 -939
  146. package/cdn/chunk-AT2C24P4.js +0 -8
  147. package/cdn/chunk-BLKKKK6C.js +0 -11
  148. package/cdn/chunk-DC2R556M.js +0 -5
  149. package/cdn/chunk-GALSGMIP.js +0 -5
  150. package/cdn/chunk-IXSX4SJX.js +0 -1
  151. package/cdn/chunk-KYOTSBCX.js +0 -1
  152. package/cdn/chunk-L4TDHAKL.js +0 -24
  153. package/cdn/chunk-LVW3MHTI.js +0 -23
  154. package/cdn/chunk-M6AATWPS.js +0 -59
  155. package/cdn/chunk-MFWSHIPH.js +0 -17
  156. package/cdn/chunk-QGKK4T2J.js +0 -8
  157. package/cdn/chunk-ROXN2HIJ.js +0 -8
  158. package/cdn/chunk-SQDSHH6N.js +0 -3539
  159. package/cdn/chunk-TJMODUN5.js +0 -8
  160. package/cdn/chunk-VI2WKTN4.js +0 -1
  161. package/cdn/chunk-Z6SKK5ZX.js +0 -8
  162. package/cdn/chunks/chunk-3GO57DNP.js +0 -0
  163. package/cdn/chunks/chunk-3V6LA7B3.js +0 -8
  164. package/cdn/chunks/chunk-4PEUIMDK.js +0 -8
  165. package/cdn/chunks/chunk-4WXQYE2P.js +0 -8
  166. package/cdn/chunks/chunk-5P7CTN7Q.js +0 -11
  167. package/cdn/chunks/chunk-5X76K77R.js +0 -8
  168. package/cdn/chunks/chunk-6MCYE7P5.js +0 -1
  169. package/cdn/chunks/chunk-6PW2L463.js +0 -0
  170. package/cdn/chunks/chunk-6S4CDN3T.js +0 -43
  171. package/cdn/chunks/chunk-76VGZJCP.js +0 -934
  172. package/cdn/chunks/chunk-7RBGYKOX.js +0 -5
  173. package/cdn/chunks/chunk-7XYBFL7U.js +0 -934
  174. package/cdn/chunks/chunk-AJJJAZWM.js +0 -1
  175. package/cdn/chunks/chunk-ANDPD7F2.js +0 -5
  176. package/cdn/chunks/chunk-ARHBUT6F.js +0 -5
  177. package/cdn/chunks/chunk-AUHO2E7V.js +0 -934
  178. package/cdn/chunks/chunk-CZ3CSGCE.js +0 -934
  179. package/cdn/chunks/chunk-D3GR6AUG.js +0 -43
  180. package/cdn/chunks/chunk-DZCKF45D.js +0 -5
  181. package/cdn/chunks/chunk-EFU4L43Q.js +0 -8
  182. package/cdn/chunks/chunk-FM5C34DM.js +0 -934
  183. package/cdn/chunks/chunk-FRS2J3OS.js +0 -59
  184. package/cdn/chunks/chunk-GMK2YRB2.js +0 -934
  185. package/cdn/chunks/chunk-H2V2RXUW.js +0 -11
  186. package/cdn/chunks/chunk-HUMOYGEM.js +0 -43
  187. package/cdn/chunks/chunk-IMJOPCFR.js +0 -1
  188. package/cdn/chunks/chunk-IQZ7AOCQ.js +0 -8
  189. package/cdn/chunks/chunk-J3JSSCM6.js +0 -5
  190. package/cdn/chunks/chunk-KHLUVO6Y.js +0 -8
  191. package/cdn/chunks/chunk-LARBLB7K.js +0 -8
  192. package/cdn/chunks/chunk-LNFCEHB3.js +0 -934
  193. package/cdn/chunks/chunk-MJMONWKB.js +0 -3539
  194. package/cdn/chunks/chunk-N5OHGRGG.js +0 -8
  195. package/cdn/chunks/chunk-NDHSIO2G.js +0 -8
  196. package/cdn/chunks/chunk-NRY3WHJD.js +0 -5
  197. package/cdn/chunks/chunk-PKT2SJQD.js +0 -8
  198. package/cdn/chunks/chunk-PPWEIKLT.js +0 -1
  199. package/cdn/chunks/chunk-PT523RSK.js +0 -8
  200. package/cdn/chunks/chunk-QD3NT5PG.js +0 -934
  201. package/cdn/chunks/chunk-QTK4CPHP.js +0 -8
  202. package/cdn/chunks/chunk-QV6I5NVQ.js +0 -8
  203. package/cdn/chunks/chunk-R33OODNX.js +0 -1
  204. package/cdn/chunks/chunk-RIXTWE2H.js +0 -8
  205. package/cdn/chunks/chunk-ROZIP5LG.js +0 -8
  206. package/cdn/chunks/chunk-RPZVSBLM.js +0 -8
  207. package/cdn/chunks/chunk-SXM25YH3.js +0 -934
  208. package/cdn/chunks/chunk-TEYXRLTI.js +0 -8
  209. package/cdn/chunks/chunk-TQBDBMWL.js +0 -5
  210. package/cdn/chunks/chunk-TV3SPOLH.js +0 -8
  211. package/cdn/chunks/chunk-TVDTF6P6.js +0 -934
  212. package/cdn/chunks/chunk-U2TE6TOV.js +0 -934
  213. package/cdn/chunks/chunk-W5Y3ZU2W.js +0 -5
  214. package/cdn/chunks/chunk-WPGJ54IP.js +0 -1
  215. package/cdn/chunks/chunk-YHWMZAZD.js +0 -43
  216. package/cdn/chunks/chunk-YVZ742ID.js +0 -934
  217. package/cdn/chunks/chunk-YWH4TGMA.js +0 -5
  218. package/cdn/chunks/chunk-YXR6KSZI.js +0 -11
  219. package/cdn/qti-components/index.global.js +0 -226
  220. package/cdn/qti-item/components/index.global.js +0 -149
  221. package/cdn/qti-item/components/index.js +0 -3549
  222. package/cdn/qti-item/components/item-container.global.js +0 -149
  223. package/cdn/qti-item/components/item-container.js +0 -3549
  224. package/cdn/qti-item/core/index.global.js +0 -149
  225. package/cdn/qti-item/index.global.js +0 -149
  226. package/cdn/qti-item/index.js +0 -3549
  227. package/cdn/qti-item/qti-item.global.js +0 -114
  228. package/cdn/qti-item/qti-item.js +0 -1
  229. package/cdn/qti-loader/index.global.js +0 -1
  230. package/cdn/qti-test/components/index.global.js +0 -207
  231. package/cdn/qti-test/components/styles.global.js +0 -44
  232. package/cdn/qti-test/components/test-component.abstract.global.js +0 -170
  233. package/cdn/qti-test/components/test-component.abstract.js +0 -1
  234. package/cdn/qti-test/components/test-container.global.js +0 -149
  235. package/cdn/qti-test/components/test-item-link.global.js +0 -170
  236. package/cdn/qti-test/components/test-next.global.js +0 -170
  237. package/cdn/qti-test/components/test-next.spec.css +0 -1
  238. package/cdn/qti-test/components/test-next.spec.global.js +0 -64
  239. package/cdn/qti-test/components/test-next.spec.js +0 -713
  240. package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +0 -207
  241. package/cdn/qti-test/components/test-prev.global.js +0 -170
  242. package/cdn/qti-test/components/test-view.global.js +0 -170
  243. package/cdn/qti-test/context/index.global.js +0 -58
  244. package/cdn/qti-test/context/index.js +0 -1
  245. package/cdn/qti-test/context/test.context.global.js +0 -58
  246. package/cdn/qti-test/context/test.context.js +0 -1
  247. package/cdn/qti-test/core/index.global.js +0 -205
  248. package/cdn/qti-test/index.global.js +0 -242
  249. package/cdn/qti-test/index.js +0 -3598
  250. package/cdn/qti-test/mixins/index.global.js +0 -1
  251. package/cdn/qti-test/mixins/index.js +0 -23
  252. package/cdn/qti-test/mixins/test-loader.mixin.global.js +0 -1
  253. package/cdn/qti-test/mixins/test-loader.mixin.js +0 -23
  254. package/cdn/qti-test/mixins/test-navigation.mixin.global.js +0 -1
  255. package/cdn/qti-test/mixins/test-navigation.mixin.js +0 -1
  256. package/cdn/qti-test/mixins/test-view.mixin.global.js +0 -1
  257. package/cdn/qti-test/mixins/test-view.mixin.js +0 -1
  258. package/cdn/qti-test/qti-assessment-test/index.global.js +0 -170
  259. package/cdn/qti-test/qti-assessment-test/index.js +0 -1
  260. package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +0 -170
  261. package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +0 -1
  262. package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +0 -170
  263. package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +0 -1
  264. package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +0 -170
  265. package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +0 -1
  266. package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +0 -114
  267. package/cdn/qti-test/qti-assessment-test/qti-test-part.js +0 -1
  268. package/cdn/qti-test/qti-test.global.js +0 -170
  269. package/cdn/qti-test/qti-test.js +0 -23
  270. package/cdn/qti-test/test-base.global.js +0 -170
  271. package/cdn/qti-test/test-base.js +0 -1
  272. package/cdn/qti-transformers/index.global.js +0 -1
  273. package/dist/chunk-2CHF3TMY.js.map +0 -1
  274. package/dist/chunk-2LWLX7WV.js +0 -6307
  275. package/dist/chunk-2LWLX7WV.js.map +0 -1
  276. package/dist/chunk-2OA7E3E7.js +0 -294
  277. package/dist/chunk-2OA7E3E7.js.map +0 -1
  278. package/dist/chunk-3G364JZC.js +0 -72
  279. package/dist/chunk-3G364JZC.js.map +0 -1
  280. package/dist/chunk-44VE5POH.js +0 -55
  281. package/dist/chunk-4YG2FPKK.js +0 -31
  282. package/dist/chunk-4YG2FPKK.js.map +0 -1
  283. package/dist/chunk-6TUE644E.js +0 -569
  284. package/dist/chunk-6TUE644E.js.map +0 -1
  285. package/dist/chunk-6ZMD232X.js +0 -78
  286. package/dist/chunk-6ZMD232X.js.map +0 -1
  287. package/dist/chunk-AYRSHIHA.js +0 -50
  288. package/dist/chunk-AYRSHIHA.js.map +0 -1
  289. package/dist/chunk-BN32D5J2.js +0 -43
  290. package/dist/chunk-BN32D5J2.js.map +0 -1
  291. package/dist/chunk-CJRXRBRQ.js +0 -50
  292. package/dist/chunk-CJRXRBRQ.js.map +0 -1
  293. package/dist/chunk-GPJ6WTE5.js +0 -118
  294. package/dist/chunk-GPJ6WTE5.js.map +0 -1
  295. package/dist/chunk-KAUHKHPH.js +0 -50
  296. package/dist/chunk-KAUHKHPH.js.map +0 -1
  297. package/dist/chunk-MAC76UNI.js +0 -1
  298. package/dist/chunk-QYN5S4EM.js +0 -107
  299. package/dist/chunk-QYN5S4EM.js.map +0 -1
  300. package/dist/chunk-UB5K44DB.js +0 -30
  301. package/dist/chunk-UB5K44DB.js.map +0 -1
  302. package/dist/chunk-UJTJIU3C.js +0 -43
  303. package/dist/chunk-UJTJIU3C.js.map +0 -1
  304. package/dist/chunk-XVQZ5JI5.js +0 -50
  305. package/dist/chunk-XVQZ5JI5.js.map +0 -1
  306. package/dist/chunk-XW3PQRKW.js +0 -6306
  307. package/dist/chunk-XW3PQRKW.js.map +0 -1
  308. package/dist/chunk-YQ7EXOAK.js +0 -10
  309. package/dist/chunk-YQ7EXOAK.js.map +0 -1
  310. package/dist/chunks/chunk-2V6LQV2K.js +0 -50
  311. package/dist/chunks/chunk-2V6LQV2K.js.map +0 -1
  312. package/dist/chunks/chunk-3EU75IUF.js +0 -118
  313. package/dist/chunks/chunk-3EU75IUF.js.map +0 -1
  314. package/dist/chunks/chunk-3QQFMVDS.js +0 -118
  315. package/dist/chunks/chunk-3QQFMVDS.js.map +0 -1
  316. package/dist/chunks/chunk-4GNVYCBN.js +0 -627
  317. package/dist/chunks/chunk-4GNVYCBN.js.map +0 -1
  318. package/dist/chunks/chunk-4MQV5IRV.js +0 -59
  319. package/dist/chunks/chunk-4MQV5IRV.js.map +0 -1
  320. package/dist/chunks/chunk-4WVLWWYJ.js +0 -50
  321. package/dist/chunks/chunk-4WVLWWYJ.js.map +0 -1
  322. package/dist/chunks/chunk-5KVGRLYT.js +0 -10
  323. package/dist/chunks/chunk-5KVGRLYT.js.map +0 -1
  324. package/dist/chunks/chunk-5PCD2B62.js +0 -6091
  325. package/dist/chunks/chunk-5PCD2B62.js.map +0 -1
  326. package/dist/chunks/chunk-5RTLOB3Q.js +0 -59
  327. package/dist/chunks/chunk-5RTLOB3Q.js.map +0 -1
  328. package/dist/chunks/chunk-6JXR63MH.js +0 -50
  329. package/dist/chunks/chunk-6JXR63MH.js.map +0 -1
  330. package/dist/chunks/chunk-6PAEJQSQ.js +0 -6058
  331. package/dist/chunks/chunk-6PAEJQSQ.js.map +0 -1
  332. package/dist/chunks/chunk-6QT4LIPL.js +0 -623
  333. package/dist/chunks/chunk-6QT4LIPL.js.map +0 -1
  334. package/dist/chunks/chunk-7QMCKYDR.js +0 -43
  335. package/dist/chunks/chunk-7QMCKYDR.js.map +0 -1
  336. package/dist/chunks/chunk-A24F75DB.js +0 -72
  337. package/dist/chunks/chunk-A24F75DB.js.map +0 -1
  338. package/dist/chunks/chunk-AUWATZ65.js +0 -10
  339. package/dist/chunks/chunk-AUWATZ65.js.map +0 -1
  340. package/dist/chunks/chunk-AXTEKPP5.js +0 -6084
  341. package/dist/chunks/chunk-AXTEKPP5.js.map +0 -1
  342. package/dist/chunks/chunk-B6MJCAOF.js +0 -6063
  343. package/dist/chunks/chunk-B6MJCAOF.js.map +0 -1
  344. package/dist/chunks/chunk-BJ2JLJIJ.js +0 -623
  345. package/dist/chunks/chunk-BJ2JLJIJ.js.map +0 -1
  346. package/dist/chunks/chunk-BPHQLJWE.js.map +0 -1
  347. package/dist/chunks/chunk-CD3E4M5Y.js +0 -107
  348. package/dist/chunks/chunk-CD3E4M5Y.js.map +0 -1
  349. package/dist/chunks/chunk-CEXAR7BF.js +0 -52
  350. package/dist/chunks/chunk-CEXAR7BF.js.map +0 -1
  351. package/dist/chunks/chunk-CWYAQA25.js +0 -6067
  352. package/dist/chunks/chunk-CWYAQA25.js.map +0 -1
  353. package/dist/chunks/chunk-D3QX5N57.js +0 -6117
  354. package/dist/chunks/chunk-D3QX5N57.js.map +0 -1
  355. package/dist/chunks/chunk-DLUJN2FW.js.map +0 -1
  356. package/dist/chunks/chunk-DNHDFXTV.js +0 -59
  357. package/dist/chunks/chunk-DNHDFXTV.js.map +0 -1
  358. package/dist/chunks/chunk-E4TWZ2DL.js.map +0 -1
  359. package/dist/chunks/chunk-FV7HWK54.js.map +0 -1
  360. package/dist/chunks/chunk-GQ5P3NWC.js.map +0 -1
  361. package/dist/chunks/chunk-GSWZT6N2.js +0 -50
  362. package/dist/chunks/chunk-GSWZT6N2.js.map +0 -1
  363. package/dist/chunks/chunk-HHVRU3AJ.js +0 -107
  364. package/dist/chunks/chunk-HHVRU3AJ.js.map +0 -1
  365. package/dist/chunks/chunk-HOTNM5DT.js +0 -1
  366. package/dist/chunks/chunk-IWG66KQQ.js +0 -107
  367. package/dist/chunks/chunk-IWG66KQQ.js.map +0 -1
  368. package/dist/chunks/chunk-J2SHENRN.js.map +0 -1
  369. package/dist/chunks/chunk-K6ATVWMP.js +0 -6091
  370. package/dist/chunks/chunk-K6ATVWMP.js.map +0 -1
  371. package/dist/chunks/chunk-KOEILLVS.js.map +0 -1
  372. package/dist/chunks/chunk-KYAIMBP5.js +0 -78
  373. package/dist/chunks/chunk-KYAIMBP5.js.map +0 -1
  374. package/dist/chunks/chunk-LNISKMIL.js +0 -6063
  375. package/dist/chunks/chunk-LNISKMIL.js.map +0 -1
  376. package/dist/chunks/chunk-LNKJEW5E.js +0 -627
  377. package/dist/chunks/chunk-LNKJEW5E.js.map +0 -1
  378. package/dist/chunks/chunk-LXJA3VP2.js +0 -72
  379. package/dist/chunks/chunk-LXJA3VP2.js.map +0 -1
  380. package/dist/chunks/chunk-MLT7V47R.js +0 -100
  381. package/dist/chunks/chunk-MLT7V47R.js.map +0 -1
  382. package/dist/chunks/chunk-N5FPZNMX.js +0 -43
  383. package/dist/chunks/chunk-N5FPZNMX.js.map +0 -1
  384. package/dist/chunks/chunk-NHA53UTY.js.map +0 -1
  385. package/dist/chunks/chunk-NZQKGIJP.js.map +0 -1
  386. package/dist/chunks/chunk-O6WEZVEM.js +0 -43
  387. package/dist/chunks/chunk-O6WEZVEM.js.map +0 -1
  388. package/dist/chunks/chunk-OIRWOI3E.js.map +0 -1
  389. package/dist/chunks/chunk-PWOY6REC.js +0 -6064
  390. package/dist/chunks/chunk-PWOY6REC.js.map +0 -1
  391. package/dist/chunks/chunk-QJELKGWM.js +0 -6061
  392. package/dist/chunks/chunk-QJELKGWM.js.map +0 -1
  393. package/dist/chunks/chunk-QUB54PXZ.js +0 -50
  394. package/dist/chunks/chunk-QUB54PXZ.js.map +0 -1
  395. package/dist/chunks/chunk-RX3BRYYI.js +0 -59
  396. package/dist/chunks/chunk-RX3BRYYI.js.map +0 -1
  397. package/dist/chunks/chunk-UEEMM6H2.js +0 -6090
  398. package/dist/chunks/chunk-UEEMM6H2.js.map +0 -1
  399. package/dist/chunks/chunk-UFYWCLXF.js +0 -10
  400. package/dist/chunks/chunk-UFYWCLXF.js.map +0 -1
  401. package/dist/chunks/chunk-UN2IFSGC.js +0 -1
  402. package/dist/chunks/chunk-VAPB5TN4.js +0 -46
  403. package/dist/chunks/chunk-VAPB5TN4.js.map +0 -1
  404. package/dist/chunks/chunk-VBF3GCZK.js +0 -50
  405. package/dist/chunks/chunk-VBF3GCZK.js.map +0 -1
  406. package/dist/chunks/chunk-W4272Q5U.js.map +0 -1
  407. package/dist/chunks/chunk-WWN5AD6V.js.map +0 -1
  408. package/dist/chunks/chunk-X226BX2U.js +0 -78
  409. package/dist/chunks/chunk-X226BX2U.js.map +0 -1
  410. package/dist/chunks/chunk-XCHS3RTZ.js +0 -107
  411. package/dist/chunks/chunk-XCHS3RTZ.js.map +0 -1
  412. package/dist/chunks/chunk-YFC3BVN2.js +0 -78
  413. package/dist/chunks/chunk-YFC3BVN2.js.map +0 -1
  414. package/dist/chunks/chunk-YOXF6JPS.js.map +0 -1
  415. package/dist/chunks/chunk-YQB6YLNW.js +0 -78
  416. package/dist/chunks/chunk-YQB6YLNW.js.map +0 -1
  417. package/dist/chunks/chunk-Z5THRO6Z.js +0 -46
  418. package/dist/chunks/chunk-Z5THRO6Z.js.map +0 -1
  419. package/dist/chunks/chunk-ZHAJ3CMP.js +0 -6091
  420. package/dist/chunks/chunk-ZHAJ3CMP.js.map +0 -1
  421. package/dist/chunks/chunk-ZPNJ2HP5.js +0 -71
  422. package/dist/chunks/chunk-ZPNJ2HP5.js.map +0 -1
  423. package/dist/chunks/chunk-ZQXZ6PK7.js +0 -649
  424. package/dist/chunks/chunk-ZQXZ6PK7.js.map +0 -1
  425. package/dist/custom-element-eslint-rules.js +0 -337
  426. package/dist/custom-elements.json +0 -27158
  427. package/dist/loader/index.d.ts +0 -20
  428. package/dist/loader/index.js +0 -310
  429. package/dist/loader/index.js.map +0 -1
  430. package/dist/qti-components/index.cjs +0 -6773
  431. package/dist/qti-components/index.cjs.map +0 -1
  432. package/dist/qti-components/index.d.cts +0 -150
  433. package/dist/qti-item/components/index.d.ts +0 -3
  434. package/dist/qti-item/components/index.js +0 -3856
  435. package/dist/qti-item/components/index.js.map +0 -1
  436. package/dist/qti-item/components/item-container.d.ts +0 -40
  437. package/dist/qti-item/components/item-container.js +0 -3856
  438. package/dist/qti-item/components/item-container.js.map +0 -1
  439. package/dist/qti-item/index.cjs +0 -89
  440. package/dist/qti-item/index.cjs.map +0 -1
  441. package/dist/qti-item/index.d.cts +0 -24
  442. package/dist/qti-item/index.d.ts +0 -4
  443. package/dist/qti-item/index.js +0 -3869
  444. package/dist/qti-item/index.js.map +0 -1
  445. package/dist/qti-item/qti-item.d.ts +0 -25
  446. package/dist/qti-item/qti-item.js +0 -26
  447. package/dist/qti-item/qti-item.js.map +0 -1
  448. package/dist/qti-loader/index.cjs +0 -332
  449. package/dist/qti-loader/index.cjs.map +0 -1
  450. package/dist/qti-loader/index.d.cts +0 -20
  451. package/dist/qti-response-declaration-DAeBp8HH.d.ts +0 -1008
  452. package/dist/qti-response-declaration-ucAqd0qK.d.ts +0 -1034
  453. package/dist/qti-simple-choice-3M44uWiN.d.ts +0 -1153
  454. package/dist/qti-simple-choice-B5GnzbqW.d.ts +0 -1080
  455. package/dist/qti-simple-choice-BOLF9wXz.d.ts +0 -1170
  456. package/dist/qti-simple-choice-BeixIkA0.d.ts +0 -1088
  457. package/dist/qti-simple-choice-BiEjEO6s.d.ts +0 -1152
  458. package/dist/qti-simple-choice-Bo_ikO6H.d.ts +0 -1198
  459. package/dist/qti-simple-choice-C0CcrtK5.d.ts +0 -1169
  460. package/dist/qti-simple-choice-Cgh1-Jbr.d.cts +0 -1185
  461. package/dist/qti-simple-choice-Cgh1-Jbr.d.ts +0 -1185
  462. package/dist/qti-simple-choice-Cn5y-Ta8.d.ts +0 -1158
  463. package/dist/qti-simple-choice-D0GiMrqD.d.ts +0 -1168
  464. package/dist/qti-simple-choice-DxWcdKHi.d.ts +0 -1158
  465. package/dist/qti-simple-choice-R_LxBTp8.d.ts +0 -1158
  466. package/dist/qti-simple-choice-hAIyfF0z.d.ts +0 -1114
  467. package/dist/qti-simple-choice-o4rje1RA.d.ts +0 -1176
  468. package/dist/qti-simple-choice-v2GxpPNh.d.ts +0 -1181
  469. package/dist/qti-test/components/test-component.abstract.d.ts +0 -26
  470. package/dist/qti-test/components/test-component.abstract.js +0 -11
  471. package/dist/qti-test/components/test-next.spec.css +0 -2481
  472. package/dist/qti-test/components/test-next.spec.css.map +0 -1
  473. package/dist/qti-test/components/test-next.spec.d.ts +0 -13
  474. package/dist/qti-test/components/test-next.spec.js +0 -45904
  475. package/dist/qti-test/components/test-next.spec.js.map +0 -1
  476. package/dist/qti-test/context/index.d.ts +0 -6
  477. package/dist/qti-test/context/index.js +0 -9
  478. package/dist/qti-test/context/index.js.map +0 -1
  479. package/dist/qti-test/context/test.context.d.ts +0 -6
  480. package/dist/qti-test/context/test.context.js +0 -9
  481. package/dist/qti-test/context/test.context.js.map +0 -1
  482. package/dist/qti-test/index.cjs +0 -4823
  483. package/dist/qti-test/index.cjs.map +0 -1
  484. package/dist/qti-test/index.d.cts +0 -304
  485. package/dist/qti-test/index.d.ts +0 -14
  486. package/dist/qti-test/index.js +0 -4746
  487. package/dist/qti-test/index.js.map +0 -1
  488. package/dist/qti-test/mixins/index.d.ts +0 -8
  489. package/dist/qti-test/mixins/index.js +0 -350
  490. package/dist/qti-test/mixins/index.js.map +0 -1
  491. package/dist/qti-test/mixins/test-loader.mixin.d.ts +0 -8
  492. package/dist/qti-test/mixins/test-loader.mixin.js +0 -240
  493. package/dist/qti-test/mixins/test-loader.mixin.js.map +0 -1
  494. package/dist/qti-test/mixins/test-navigation.mixin.d.ts +0 -22
  495. package/dist/qti-test/mixins/test-navigation.mixin.js +0 -64
  496. package/dist/qti-test/mixins/test-navigation.mixin.js.map +0 -1
  497. package/dist/qti-test/mixins/test-view.mixin.d.ts +0 -6
  498. package/dist/qti-test/mixins/test-view.mixin.js +0 -50
  499. package/dist/qti-test/mixins/test-view.mixin.js.map +0 -1
  500. package/dist/qti-test/qti-assessment-test/index.d.ts +0 -6
  501. package/dist/qti-test/qti-assessment-test/index.js +0 -221
  502. package/dist/qti-test/qti-assessment-test/index.js.map +0 -1
  503. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +0 -6
  504. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +0 -85
  505. package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +0 -1
  506. package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +0 -6
  507. package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +0 -73
  508. package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +0 -1
  509. package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +0 -6
  510. package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +0 -54
  511. package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +0 -1
  512. package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +0 -19
  513. package/dist/qti-test/qti-assessment-test/qti-test-part.js +0 -62
  514. package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +0 -1
  515. package/dist/qti-test/qti-test.d.ts +0 -68
  516. package/dist/qti-test/qti-test.js +0 -500
  517. package/dist/qti-test/qti-test.js.map +0 -1
  518. package/dist/qti-test/test-base.d.ts +0 -6
  519. package/dist/qti-test/test-base.js +0 -137
  520. package/dist/qti-test/test-base.js.map +0 -1
  521. package/dist/qti-transformers/index.cjs +0 -316
  522. package/dist/qti-transformers/index.cjs.map +0 -1
  523. package/dist/qti-transformers/index.d.cts +0 -75
  524. package/dist/test-base-BJwG9Ie8.d.ts +0 -109
  525. package/dist/test.context-Bx-606B3.d.ts +0 -99
  526. package/dist/test.context-CB5V4xJz.d.ts +0 -99
  527. package/dist/test.context-CaENAJNk.d.ts +0 -101
  528. package/dist/test.context-CmsDQ8k2.d.ts +0 -99
  529. package/dist/transformers/index.d.ts +0 -76
  530. package/dist/transformers/index.js +0 -293
  531. package/dist/transformers/index.js.map +0 -1
  532. /package/cdn/{chunk-22HAPLRD.js → chunks/chunk-MTNLMWSG.js} +0 -0
  533. /package/dist/{chunk-44VE5POH.js.map → chunks/chunk-CBYNKDSF.js.map} +0 -0
  534. /package/dist/chunks/{chunk-XSI6FXGD.js.map → chunk-OOQLWOYU.js.map} +0 -0
  535. /package/dist/{chunk-MAC76UNI.js.map → exports/computed.context.js.map} +0 -0
  536. /package/dist/{chunks/chunk-HOTNM5DT.js.map → exports/config.context.js.map} +0 -0
  537. /package/dist/{chunks/chunk-UN2IFSGC.js.map → exports/session.context.js.map} +0 -0
  538. /package/dist/{qti-test/components/test-component.abstract.js.map → exports/test.context.js.map} +0 -0
@@ -1,1158 +0,0 @@
1
- import * as lit_html from 'lit-html';
2
- import * as lit from 'lit';
3
- import { LitElement, CSSResultGroup, PropertyValueMap } from 'lit';
4
- import * as lit_html_directives_ref_js from 'lit-html/directives/ref.js';
5
-
6
- interface directedPair {
7
- destination: string;
8
- source: string;
9
- }
10
- interface ResponseInteraction {
11
- responseIdentifier: string;
12
- response: string | string[];
13
- }
14
- interface Calculate {
15
- calculate: () => string | string[];
16
- }
17
- type float = number;
18
- type integer = number;
19
- type BaseType = 'boolean' | 'directedPair' | 'duration' | 'float' | 'integer' | 'string' | 'identifier' | 'pair';
20
- type Multiple = string | string[][];
21
- type Ordered = string | string[][];
22
- type Cardinality = 'multiple' | 'ordered' | 'single';
23
-
24
- interface OutcomeChangedDetails {
25
- item: string;
26
- outcomeIdentifier: string;
27
- value: Readonly<string | string[]>;
28
- }
29
- type InteractionChangedDetails = ResponseInteraction & {
30
- item: string;
31
- };
32
-
33
- type QtiInteractionChanged = CustomEvent<InteractionChangedDetails>;
34
- declare global {
35
- interface GlobalEventHandlersEventMap {
36
- 'qti-interaction-changed': QtiInteractionChanged;
37
- }
38
- }
39
-
40
- type QtiOutcomeChanged = CustomEvent<OutcomeChangedDetails>;
41
- declare global {
42
- interface GlobalEventHandlersEventMap {
43
- 'qti-outcome-changed': QtiOutcomeChanged;
44
- }
45
- }
46
-
47
- declare class QtiMapping extends LitElement {
48
- defaultValue: number;
49
- lowerBound: number;
50
- upperBound: number;
51
- get mapEntries(): {
52
- mapKey: string;
53
- mappedValue: number;
54
- }[];
55
- }
56
-
57
- interface VariableValue<T> {
58
- identifier: string;
59
- value: Readonly<T>;
60
- type: 'outcome' | 'response';
61
- }
62
- interface VariableDeclaration<T> extends VariableValue<T> {
63
- cardinality?: Cardinality;
64
- baseType?: BaseType;
65
- }
66
- interface OutcomeVariable extends VariableDeclaration<string | string[] | null> {
67
- interpolationTable?: Map<number, number>;
68
- externalScored?: 'human' | 'externalMachine' | null;
69
- }
70
- interface ResponseVariable extends VariableDeclaration<string | string[] | null> {
71
- candidateResponse?: string | string[] | null;
72
- mapping?: QtiMapping;
73
- correctResponse?: string | string[] | null;
74
- }
75
-
76
- /**
77
- * @summary The qti-assessment-item element contains all the other QTI 3 item structures.
78
- * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.dltnnj87l0yj
79
- * @status stable
80
- * @since 4.0
81
- *
82
- * @dependency qti-feedback
83
- * @dependency qti-responseprocessing
84
- *
85
- * @slot - The default slot where all the other QTI 3 item structures go.
86
- *
87
- * @event qti-interaction-changed - Emitted when an interaction is changed.
88
- * @event qti-outcome-changed - Emitted when an outcome has changed.
89
- * @event qti-response-processing - Emitted when response-processing is called.
90
- *
91
- */
92
- declare class QtiAssessmentItem extends LitElement {
93
- title: string;
94
- identifier: string;
95
- adaptive: 'true' | 'false';
96
- timeDependent: 'true' | 'false' | null;
97
- disabled: boolean;
98
- _handleDisabledChange: (_: boolean, disabled: boolean) => void;
99
- readonly: boolean;
100
- _handleReadonlyChange: (_: boolean, readonly: boolean) => void;
101
- private _context;
102
- get variables(): VariableValue<string | string[] | null>[];
103
- set variables(value: VariableValue<string | string[] | null>[]);
104
- private _initialContext;
105
- private _feedbackElements;
106
- private _interactionElements;
107
- connectedCallback(): Promise<void>;
108
- /** @deprecated use variables property instead */
109
- set responses(myResponses: ResponseInteraction[]);
110
- render(): lit_html.TemplateResult<1>;
111
- constructor();
112
- showCorrectResponse(show: boolean): void;
113
- processResponse(countNumAttempts?: boolean): boolean;
114
- resetResponses(): void;
115
- getResponse(identifier: string): Readonly<ResponseVariable>;
116
- getOutcome(identifier: string): Readonly<OutcomeVariable>;
117
- getVariable(identifier: string): Readonly<VariableDeclaration<string | string[] | null>>;
118
- private handleUpdateResponseVariable;
119
- updateResponseVariable(identifier: string, value: string | string[] | undefined): void;
120
- updateOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
121
- validate(): boolean | null;
122
- private _getCompletionStatus;
123
- private _emit;
124
- }
125
- declare global {
126
- interface HTMLElementTagNameMap {
127
- 'qti-assessment-item': QtiAssessmentItem;
128
- }
129
- }
130
-
131
- /**
132
- * Represents a custom element for referencing an assessment stimulus.
133
- */
134
- declare class QtiAssessmentStimulusRef extends LitElement {
135
- /**
136
- * The identifier of the stimulus.
137
- */
138
- identifier: string;
139
- /**
140
- * The href of the stimulus.
141
- */
142
- href: string;
143
- /**
144
- * Lifecycle method called when the element is connected to the DOM.
145
- * Loads and appends the stimulus if the 'qti-assessment-stimulus-ref-connected' event is not prevented.
146
- */
147
- connectedCallback(): Promise<void>;
148
- /**
149
- * Loads and appends the stimulus to the specified element.
150
- * @param stimulusRef - The element to which the stimulus will be appended.
151
- */
152
- updateStimulusRef(stimulusRef: Element): Promise<void>;
153
- }
154
- declare global {
155
- interface HTMLElementTagNameMap {
156
- 'qti-assessment-stimulus-ref': QtiAssessmentStimulusRef;
157
- }
158
- }
159
-
160
- type Constructor$2<T = {}> = abstract new (...args: any[]) => T;
161
- interface ChoiceInterface {
162
- identifier: string;
163
- disabled: boolean;
164
- readonly: boolean;
165
- }
166
- /**
167
- * A mixin that adds choice functionality to a LitElement-based class.
168
- * It dispatches events with a custom `type` and handles selection logic.
169
- *
170
- * @param Base - The base class to extend.
171
- * @param type - The type of the choice, used in event names.
172
- * @returns A new class extending the base class with choice functionality.
173
- */
174
- interface ActiveElementMixinInterface {
175
- identifier: string;
176
- tabIndex: number;
177
- disabled: boolean;
178
- readonly: boolean;
179
- internals: ElementInternals;
180
- }
181
- declare function ActiveElementMixin<T extends Constructor$2<LitElement>>(Base: T, type: string): Constructor$2<ActiveElementMixinInterface> & T;
182
-
183
- /**
184
- * @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.
185
- * @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.sphpo6lu6zqi
186
- * @status stable
187
- * @since 4.0
188
- *
189
- * @slot - item body content.
190
- * @slot qti-rubric-block - the qti rubric block is placed above the item
191
- *
192
- */
193
- declare class QtiItemBody extends LitElement {
194
- static styles: CSSResultGroup;
195
- render(): lit_html.TemplateResult<1>;
196
- }
197
- declare global {
198
- interface HTMLElementTagNameMap {
199
- 'qti-item-body': QtiItemBody;
200
- }
201
- }
202
-
203
- declare class QtiPrompt extends LitElement {
204
- render(): lit_html.TemplateResult<1>;
205
- connectedCallback(): void;
206
- }
207
- declare global {
208
- interface HTMLElementTagNameMap {
209
- 'qti-prompt': QtiPrompt;
210
- }
211
- }
212
-
213
- declare class QtiStylesheet extends LitElement {
214
- private styleElement;
215
- protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
216
- private minifyCss;
217
- disconnectedCallback(): void;
218
- }
219
- declare global {
220
- interface HTMLElementTagNameMap {
221
- 'qti-stylesheet': QtiStylesheet;
222
- }
223
- }
224
-
225
- interface ItemContext {
226
- href?: string;
227
- identifier: string;
228
- variables: ReadonlyArray<VariableDeclaration<string | string[]>>;
229
- }
230
- declare const itemContextVariables: VariableDeclaration<string | string[]>[];
231
- declare const itemContext: {
232
- __context__: ItemContext;
233
- };
234
-
235
- declare class QtiVariableDeclaration extends LitElement {
236
- render(): lit_html.TemplateResult<1>;
237
- protected defaultValues(variable: VariableDeclaration<string | string[] | null>): string | string[];
238
- }
239
- declare global {
240
- interface HTMLElementTagNameMap {
241
- 'qti-variabledeclaration': QtiVariableDeclaration;
242
- }
243
- }
244
-
245
- declare class QtiOutcomeDeclaration extends QtiVariableDeclaration {
246
- baseType: BaseType;
247
- externalScored: 'human' | 'externalMachine' | null;
248
- identifier: string;
249
- cardinality: Cardinality;
250
- itemContext?: ItemContext;
251
- static styles: lit.CSSResult[];
252
- render(): lit_html.TemplateResult<1>;
253
- get interpolationTable(): Map<number, number> | null;
254
- connectedCallback(): void;
255
- }
256
- declare global {
257
- interface HTMLElementTagNameMap {
258
- 'qti-outcome-declaration': QtiOutcomeDeclaration;
259
- }
260
- }
261
-
262
- declare class QtiResponseDeclaration extends QtiVariableDeclaration {
263
- baseType: BaseType;
264
- identifier: string;
265
- cardinality: Cardinality;
266
- itemContext?: ItemContext;
267
- static styles: lit.CSSResult[];
268
- render(): lit_html.TemplateResult<1>;
269
- connectedCallback(): void;
270
- private get correctResponse();
271
- private get mapping();
272
- }
273
- declare global {
274
- interface HTMLElementTagNameMap {
275
- 'qti-response-declaration': QtiResponseDeclaration;
276
- }
277
- }
278
-
279
- declare class QtiCompanionMaterialsInfo extends LitElement {
280
- }
281
- declare global {
282
- interface HTMLElementTagNameMap {
283
- 'qti-companion-materials-info': QtiCompanionMaterialsInfo;
284
- }
285
- }
286
-
287
- declare class QtiContentBody extends LitElement {
288
- render(): lit_html.TemplateResult<1>;
289
- }
290
- declare global {
291
- interface HTMLElementTagNameMap {
292
- 'qti-content-body': QtiContentBody;
293
- }
294
- }
295
-
296
- declare class QtiRubricBlock extends LitElement {
297
- id: any;
298
- use: 'instructions' | 'scoring' | 'navigation';
299
- view: 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor';
300
- classNames: any;
301
- handleclassNamesChange(): void;
302
- static styles: lit.CSSResult;
303
- render(): lit_html.TemplateResult<1>;
304
- connectedCallback(): void;
305
- }
306
- declare global {
307
- interface HTMLElementTagNameMap {
308
- 'qti-rubric-block': QtiRubricBlock;
309
- }
310
- }
311
-
312
- declare abstract class QtiFeedback extends LitElement {
313
- protected showHide: string;
314
- outcomeIdentifier: string;
315
- protected identifier: string;
316
- showStatus: string;
317
- private _context?;
318
- connectedCallback(): void;
319
- checkShowFeedback(outcomeIdentifier: string): void;
320
- private showFeedback;
321
- }
322
-
323
- declare class QtiFeedbackBlock extends QtiFeedback {
324
- static styles: lit.CSSResult;
325
- render(): lit_html.TemplateResult<1>;
326
- protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
327
- }
328
- declare global {
329
- interface HTMLElementTagNameMap {
330
- 'qti-feedback-block': QtiFeedbackBlock;
331
- }
332
- }
333
-
334
- declare class QtiFeedbackInline extends QtiFeedback {
335
- static styles: lit.CSSResult;
336
- render: () => lit_html.TemplateResult<1>;
337
- }
338
- declare global {
339
- interface HTMLElementTagNameMap {
340
- 'qti-feedback-inline': QtiFeedbackInline;
341
- }
342
- }
343
-
344
- declare class QtiModalFeedback extends QtiFeedback {
345
- static styles: lit.CSSResult;
346
- render(): lit_html.TemplateResult<1>;
347
- openFeedback(): void;
348
- closeFeedback(): void;
349
- protected firstUpdated(): void;
350
- protected updated(changedProperties: Map<string | number | symbol, unknown>): void;
351
- }
352
- declare global {
353
- interface HTMLElementTagNameMap {
354
- 'qti-modal-feedback': QtiModalFeedback;
355
- }
356
- }
357
-
358
- interface IInteraction {
359
- correctResponse: Readonly<string | string[]>;
360
- value: string | string[];
361
- responseIdentifier: string;
362
- disabled: boolean;
363
- readonly: boolean;
364
- validate(): boolean;
365
- reportValidity(): boolean;
366
- reset(): void;
367
- saveResponse(value: string | string[]): void;
368
- }
369
-
370
- declare abstract class Interaction extends LitElement implements IInteraction {
371
- static formAssociated: boolean;
372
- responseIdentifier: any;
373
- disabled: boolean;
374
- readonly: boolean;
375
- protected _correctResponse: string | string[];
376
- protected _internals: ElementInternals;
377
- constructor();
378
- abstract validate(): boolean;
379
- reportValidity(): boolean;
380
- reset(): void;
381
- abstract get value(): string | string[];
382
- abstract set value(val: string | string[]);
383
- get correctResponse(): string | string[];
384
- set correctResponse(value: string | string[]);
385
- connectedCallback(): void;
386
- saveResponse(value: string | string[]): void;
387
- }
388
-
389
- declare class QtiExtendedTextInteraction extends Interaction {
390
- static styles: CSSResultGroup;
391
- protected _rows: number;
392
- /** expected length is mapped to the property maxlength on the textarea */
393
- expectedLength: number;
394
- patternMask: string;
395
- /** text appearing in the extended-text-nteraction if it is empty */
396
- placeholderText: string;
397
- dataPatternmaskMessage: string;
398
- protected _value: string;
399
- classNames: any;
400
- handleclassNamesChange(_: any, classes: string): void;
401
- get value(): string | string[];
402
- set value(val: string | string[]);
403
- validate(): boolean;
404
- reportValidity(): boolean;
405
- render(): lit_html.TemplateResult<1>;
406
- protected textChanged(event: Event): void;
407
- protected setEmptyAttribute(text: string): void;
408
- }
409
- declare global {
410
- interface HTMLElementTagNameMap {
411
- 'qti-extended-text-interaction': QtiExtendedTextInteraction;
412
- }
413
- }
414
-
415
- declare class QtiTextEntryInteraction extends Interaction {
416
- static styles: CSSResultGroup;
417
- expectedLength: number;
418
- patternMask: string;
419
- placeholderText: string;
420
- dataPatternmaskMessage: string;
421
- private _value;
422
- inputRef: lit_html_directives_ref_js.Ref<HTMLInputElement>;
423
- get value(): string | string[];
424
- set value(val: string | string[]);
425
- validate(): boolean;
426
- render(): lit_html.TemplateResult<1>;
427
- protected textChanged(event: Event): void;
428
- reportValidity(): boolean;
429
- reset(): void;
430
- private setEmptyAttribute;
431
- }
432
- declare global {
433
- interface HTMLElementTagNameMap {
434
- 'qti-text-entry-interaction': QtiTextEntryInteraction;
435
- }
436
- }
437
-
438
- type Choice = HTMLElement & ChoiceInterface & {
439
- internals: ElementInternals;
440
- };
441
- interface ChoicesInterface extends IInteraction {
442
- correctResponse: string | string[];
443
- }
444
-
445
- declare const QtiHottextInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
446
- declare class QtiHottextInteraction extends QtiHottextInteraction_base {
447
- render: () => lit_html.TemplateResult<1>;
448
- }
449
- declare global {
450
- interface HTMLElementTagNameMap {
451
- 'qti-hottext-interaction': QtiHottextInteraction;
452
- }
453
- }
454
-
455
- interface OptionType {
456
- textContent: string;
457
- value: string;
458
- selected: boolean;
459
- }
460
- declare class QtiInlineChoiceInteraction extends Interaction {
461
- static get styles(): lit.CSSResult[];
462
- static inputWidthClass: string[];
463
- protected options: OptionType[];
464
- protected correctOption: string;
465
- dataPrompt: string;
466
- render(): lit_html.TemplateResult<1>;
467
- connectedCallback(): void;
468
- disconnectedCallback(): void;
469
- validate(): boolean;
470
- reset(): void;
471
- set value(value: string);
472
- get value(): string;
473
- set correctResponse(value: string | string[]);
474
- protected choiceSelected(event: Event): void;
475
- }
476
- declare global {
477
- interface HTMLElementTagNameMap {
478
- 'qti-inline-choice-interaction': QtiInlineChoiceInteraction;
479
- }
480
- }
481
-
482
- type Orientation = 'horizontal' | 'vertical' | undefined;
483
- declare const QtiChoiceInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
484
- /**
485
- * An sample element.
486
- *
487
- * @slot - default slot of the choices
488
- * @slot prompt - slot of the prompt
489
- *
490
- * @csspart slot - The choice elements
491
- * @csspart prompt - The prompt
492
- * @csspart message - The validation message
493
- *
494
- * @cssprop [--qti-bg-active=#ffecec] - The active background color
495
- * @cssprop [--qti-border-active=#f86d70] - The active border color
496
- * @cssprop [--qti-padding-horizontal=1px] - The option horizontal padding
497
- * @cssprop [--qti-padding-vertical=solid] - The option vertical padding
498
- * @cssprop [--qti-border-radius=8px] - The option border radius
499
- */
500
- declare class QtiChoiceInteraction extends QtiChoiceInteraction_base implements ChoicesInterface {
501
- static styles: CSSResultGroup;
502
- constructor();
503
- /** @deprecated, use 'qti-orientation-horizontal' or 'qti-orientation-vertical' instead */
504
- orientation: Orientation;
505
- render(): lit_html.TemplateResult<1>;
506
- }
507
- declare global {
508
- interface HTMLElementTagNameMap {
509
- 'qti-choice-interaction': QtiChoiceInteraction;
510
- }
511
- }
512
-
513
- declare class QtiUploadInteraction extends Interaction {
514
- private _file;
515
- private _base64;
516
- reset(): void;
517
- validate(): boolean;
518
- get value(): string | string[] | null;
519
- set value(base64: string | null);
520
- static get properties(): {
521
- [x: string]: lit.PropertyDeclaration<unknown, unknown>;
522
- };
523
- static styles: lit.CSSResult[];
524
- render(): lit_html.TemplateResult<1>;
525
- private _onFileChange;
526
- private _convertToBase64;
527
- }
528
- declare global {
529
- interface HTMLElementTagNameMap {
530
- 'qti-upload-interaction': QtiUploadInteraction;
531
- }
532
- }
533
-
534
- declare class QtiOutcomeProcessing extends LitElement {
535
- static styles: lit.CSSResult[];
536
- render(): lit_html.TemplateResult<1>;
537
- process(): void;
538
- }
539
- declare global {
540
- interface HTMLElementTagNameMap {
541
- 'qti-outcome-processing': QtiOutcomeProcessing;
542
- }
543
- }
544
- declare class QtiOutcomeProcessingProcessor {
545
- process(rules: QtiRuleBase[]): void;
546
- }
547
-
548
- declare class QtiResponseProcessing extends LitElement {
549
- static styles: lit.CSSResult[];
550
- render(): lit_html.TemplateResult<1>;
551
- process(): void;
552
- firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
553
- private fragmentFromString;
554
- }
555
- declare global {
556
- interface HTMLElementTagNameMap {
557
- 'qti-response-processing': QtiResponseProcessing;
558
- }
559
- }
560
-
561
- interface QtiExpressionBase<T> {
562
- calculate(): Readonly<T>;
563
- }
564
- declare abstract class QtiExpression<T> extends LitElement implements QtiExpressionBase<T> {
565
- protected result: any;
566
- static styles: lit.CSSResult;
567
- render(): lit_html.TemplateResult<1>;
568
- calculate(): Readonly<T>;
569
- protected getResult(): Readonly<T>;
570
- protected context?: ItemContext;
571
- getVariables: () => VariableDeclaration<number | string | (number | string)[] | null>[];
572
- }
573
-
574
- declare class QtiRule extends LitElement implements QtiRuleBase {
575
- render(): lit_html.TemplateResult<1>;
576
- process(): void;
577
- }
578
- interface QtiRuleBase {
579
- process(): any;
580
- }
581
- declare global {
582
- interface HTMLElementTagNameMap {
583
- 'qti-rule': QtiRule;
584
- }
585
- }
586
-
587
- /**
588
- * The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
589
- * by looking up the value of the associated expression in the lookupTable associated
590
- * with the outcome's declaration.
591
- */
592
- declare class QtiLookupOutcomeValue extends QtiRule {
593
- identifier: string;
594
- get childExpression(): QtiExpression<string>;
595
- process(): number;
596
- }
597
- declare global {
598
- interface HTMLElementTagNameMap {
599
- 'qti-lookup-outcome-value': QtiLookupOutcomeValue;
600
- }
601
- }
602
-
603
- declare abstract class QtiConditionExpression extends QtiExpression<boolean> {
604
- calculate(): Readonly<boolean>;
605
- getResult(): Readonly<boolean>;
606
- }
607
-
608
- type Constructor$1<T> = new (...args: any[]) => T;
609
- declare const QtiAnd_base: {
610
- new (...args: any[]): {
611
- calculateChildren(children: Array<MockQtiExpression$1<any>>): boolean;
612
- };
613
- } & Constructor$1<QtiConditionExpression>;
614
- declare class QtiAnd extends QtiAnd_base {
615
- calculate(): boolean;
616
- }
617
- type MockQtiExpression$1<T> = {
618
- calculate: () => T;
619
- };
620
- type MockConstructor$1 = new (...args: any[]) => {};
621
- declare function qtiAndMixin<TBase extends MockConstructor$1>(Base: TBase): {
622
- new (...args: any[]): {
623
- calculateChildren(children: Array<MockQtiExpression$1<any>>): boolean;
624
- };
625
- } & TBase;
626
-
627
- declare global {
628
- interface HTMLElementTagNameMap {
629
- 'qti-and': QtiAnd;
630
- }
631
- }
632
-
633
- type Constructor<T> = new (...args: any[]) => T;
634
- declare const QtiSubtract_base: {
635
- new (...args: any[]): {
636
- calculateChildren(children: Array<MockQtiExpression<any>>): number;
637
- };
638
- } & Constructor<QtiExpression<number>>;
639
- declare class QtiSubtract extends QtiSubtract_base {
640
- getResult(): number;
641
- }
642
- type MockQtiExpression<T> = {
643
- calculate: () => T;
644
- };
645
- type MockConstructor = new (...args: any[]) => {};
646
- declare function qtiSubtractMixin<TBase extends MockConstructor>(Base: TBase): {
647
- new (...args: any[]): {
648
- calculateChildren(children: Array<MockQtiExpression<any>>): number;
649
- };
650
- } & TBase;
651
-
652
- declare global {
653
- interface HTMLElementTagNameMap {
654
- 'qti-subtract': QtiSubtract;
655
- }
656
- }
657
-
658
- interface IMSpci<ConfigProperties> {
659
- typeIdentifier: string;
660
- /** @access public
661
- * @method getInstance Create a new instance of this portable custom interaction
662
- * Will be called by the qtiCustomInteractionContext
663
- * @param {DOM Element} dom - the DOM Element this PCI is being added to
664
- * @param {Object} configuration - the configuration to apply to this PCI
665
- * @param {String} state - a previous saved state to apply to this instance.
666
- * This must have been obtained from a prior call to getState on an
667
- * instance of this type (same typeIdentifier)
668
- */
669
- getInstance: (dom: HTMLElement, configuration: Configuration<ConfigProperties>, state: string) => void;
670
- /** @access public
671
- * @method getResponse
672
- * @return {Object} - the value to assign to the bound QTI response variable
673
- */
674
- getResponse: () => QtiVariableJSON;
675
- /** @access public
676
- * @method getState
677
- * @return {String} The current state of this PCI. May be passed to
678
- * getInstance to later restore this PCI instance.
679
- */
680
- getState: () => string;
681
- oncompleted?: () => void;
682
- destroy?: () => void;
683
- }
684
- declare type Configuration<T> = {
685
- onready: (pci: IMSpci<T>, state?: string) => void;
686
- properties: T;
687
- };
688
- declare type QtiVariableJSON = {
689
- [K in 'list' | 'base']?: {
690
- [Ka in 'boolean' | 'integer' | 'float' | 'string' | 'pair' | 'directedPair' | 'identifier']?: ResponseType;
691
- };
692
- };
693
- interface ModuleResolutionConfig {
694
- waitSeconds?: number;
695
- context?: string;
696
- catchError?: boolean;
697
- paths: {
698
- [key: string]: string | string[];
699
- };
700
- shim?: {
701
- [key: string]: {
702
- deps?: string[];
703
- exports?: string;
704
- };
705
- };
706
- }
707
-
708
- declare class QtiPortableCustomInteraction extends Interaction {
709
- private intervalId;
710
- private rawResponse;
711
- private pci;
712
- module: string;
713
- customInteractionTypeIdentifier: string;
714
- private _errorMessage;
715
- private convertQtiVariableJSON;
716
- private startChecking;
717
- private stopChecking;
718
- validate(): boolean;
719
- set value(_: string | string[]);
720
- get value(): string | string[];
721
- getTAOConfig(node: any): {};
722
- register(pci: IMSpci<unknown>): void;
723
- connectedCallback(): void;
724
- disconnectedCallback(): void;
725
- buildRequireConfig(): ModuleResolutionConfig;
726
- private combineRequireResolvePaths;
727
- private removeDoubleSlashes;
728
- loadConfig: (url: string, baseUrl?: string) => Promise<ModuleResolutionConfig>;
729
- getResolvablePathString: (path: string, basePath?: string) => string;
730
- getResolvablePath: (path: string | string[], basePath?: string) => string | string[];
731
- render(): lit_html.TemplateResult<1>;
732
- }
733
- declare global {
734
- interface HTMLElementTagNameMap {
735
- 'qti-portable-custom-interaction': QtiPortableCustomInteraction;
736
- }
737
- }
738
-
739
- declare const QtiAssociateInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
740
- declare class QtiAssociateInteraction extends QtiAssociateInteraction_base {
741
- static styles: CSSResultGroup;
742
- protected _childrenMap: Element[];
743
- protected _registerChoiceHandler: (event: CustomEvent) => void;
744
- constructor();
745
- protected _registerChoice(event: CustomEvent): void;
746
- render(): lit_html.TemplateResult<1>;
747
- disconnectedCallback(): void;
748
- }
749
- declare global {
750
- interface HTMLElementTagNameMap {
751
- 'qti-associate-interaction': QtiAssociateInteraction;
752
- }
753
- }
754
-
755
- declare class QtiCustomInteraction extends Interaction {
756
- private rawResponse;
757
- constructor();
758
- data: string;
759
- baseItemUrl: string;
760
- baseRefUrl: string;
761
- id: string;
762
- private _errorMessage;
763
- manifest: {
764
- script: string[];
765
- style: string[];
766
- media: string[];
767
- };
768
- connectedCallback(): void;
769
- setupCES(): void;
770
- private getIFrames;
771
- private getInnerIFrames;
772
- private postToWindowAndIframes;
773
- handlePostMessage(event: MessageEvent): void;
774
- validate(): boolean;
775
- get value(): string | string[];
776
- set value(val: string | string[]);
777
- disconnectedCallback(): void;
778
- render(): lit_html.TemplateResult<1>;
779
- }
780
- declare global {
781
- interface HTMLElementTagNameMap {
782
- 'qti-custom-interaction': QtiCustomInteraction;
783
- }
784
- }
785
-
786
- declare class QtiEndAttemptInteraction extends LitElement {
787
- responseIdentifier: any;
788
- disabled: boolean;
789
- /** 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) */
790
- countAttempt: 'true' | 'false' | null;
791
- title: string;
792
- render(): lit_html.TemplateResult<1>;
793
- endAttempt(_: Event): void;
794
- }
795
- declare global {
796
- interface HTMLElementTagNameMap {
797
- 'qti-end-attempt-interaction': QtiEndAttemptInteraction;
798
- }
799
- }
800
-
801
- declare const QtiGapMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
802
- declare class QtiGapMatchInteraction extends QtiGapMatchInteraction_base {
803
- static styles: CSSResultGroup;
804
- render(): lit_html.TemplateResult<1>;
805
- set correctResponse(value: string | string[]);
806
- }
807
- declare global {
808
- interface HTMLElementTagNameMap {
809
- 'qti-gap-match-interaction': QtiGapMatchInteraction;
810
- }
811
- }
812
-
813
- declare class QtiGraphicAssociateInteraction extends Interaction {
814
- static styles: CSSResultGroup;
815
- private hotspots;
816
- private startPoint;
817
- private endPoint;
818
- private _lines;
819
- private startCoord;
820
- private mouseCoord;
821
- private grImage;
822
- constructor();
823
- reset(): void;
824
- validate(): boolean;
825
- set value(val: string | string[]);
826
- get value(): string | string[];
827
- render(): lit_html.TemplateResult<1>;
828
- private positionHotspotOnRegister;
829
- firstUpdated(e: any): void;
830
- disconnectedCallback(): void;
831
- }
832
- declare global {
833
- interface HTMLElementTagNameMap {
834
- 'qti-graphic-associate-interaction': QtiGraphicAssociateInteraction;
835
- }
836
- }
837
-
838
- declare const QtiGraphicGapMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
839
- declare class QtiGraphicGapMatchInteraction extends QtiGraphicGapMatchInteraction_base {
840
- static styles: CSSResultGroup;
841
- render(): lit_html.TemplateResult<1>;
842
- private positionHotspotOnRegister;
843
- connectedCallback(): void;
844
- disconnectedCallback(): void;
845
- }
846
- declare global {
847
- interface HTMLElementTagNameMap {
848
- 'qti-graphic-gap-match-interaction': QtiGraphicGapMatchInteraction;
849
- }
850
- }
851
-
852
- declare const QtiGraphicOrderInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
853
- declare class QtiGraphicOrderInteraction extends QtiGraphicOrderInteraction_base {
854
- static styles: CSSResultGroup;
855
- protected choiceOrdering: boolean;
856
- protected _choiceElements: Choice[];
857
- render(): lit_html.TemplateResult<1>;
858
- private setHotspotOrder;
859
- private positionHotspotOnRegister;
860
- connectedCallback(): void;
861
- disconnectedCallback(): void;
862
- }
863
- declare global {
864
- interface HTMLElementTagNameMap {
865
- 'qti-graphic-order-interaction': QtiGraphicOrderInteraction;
866
- }
867
- }
868
-
869
- declare const QtiHotspotInteraction_base: (abstract new (...args: any[]) => ChoicesInterface) & typeof Interaction;
870
- declare class QtiHotspotInteraction extends QtiHotspotInteraction_base {
871
- static styles: CSSResultGroup;
872
- render(): lit_html.TemplateResult<1>;
873
- private positionHotspotOnRegister;
874
- connectedCallback(): void;
875
- disconnectedCallback(): void;
876
- }
877
- declare global {
878
- interface HTMLElementTagNameMap {
879
- 'qti-hotspot-interaction': QtiHotspotInteraction;
880
- }
881
- }
882
-
883
- declare const QtiSimpleAssociableChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
884
- declare class QtiSimpleAssociableChoice extends QtiSimpleAssociableChoice_base {
885
- static styles: lit.CSSResult;
886
- /** the minimal number of selections a candidate must make */
887
- matchMin: number;
888
- /** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
889
- matchMax: number;
890
- fixed: boolean;
891
- connectedCallback(): void;
892
- render(): lit_html.TemplateResult<1>;
893
- }
894
- declare global {
895
- interface HTMLElementTagNameMap {
896
- 'qti-simple-associable-choice': QtiSimpleAssociableChoice;
897
- }
898
- }
899
-
900
- declare const QtiMatchInteraction_base: (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
901
- declare class QtiMatchInteraction extends QtiMatchInteraction_base {
902
- static styles: CSSResultGroup;
903
- protected rows: QtiSimpleAssociableChoice[];
904
- protected cols: QtiSimpleAssociableChoice[];
905
- protected lastCheckedRadio: HTMLInputElement | null;
906
- class: string;
907
- protected _response: string | string[];
908
- get value(): string[];
909
- set value(val: string[]);
910
- responseIdentifier: string;
911
- protected correctOptions: string[];
912
- connectedCallback(): Promise<void>;
913
- protected handleRadioClick: (e: any) => void;
914
- protected handleRadioChange: (e: any) => void;
915
- set correctResponse(responseValue: string | string[]);
916
- render(): lit_html.TemplateResult<1>;
917
- }
918
- declare global {
919
- interface HTMLElementTagNameMap {
920
- 'qti-match-interaction': QtiMatchInteraction;
921
- }
922
- }
923
-
924
- declare class QtiMediaInteraction extends Interaction {
925
- private _value;
926
- reset(): void;
927
- validate(): boolean;
928
- get value(): string | string[];
929
- set value(val: string | string[]);
930
- static get properties(): {
931
- step: {
932
- type: NumberConstructor;
933
- attribute: string;
934
- default: number;
935
- };
936
- };
937
- static styles: lit.CSSResult[];
938
- render(): lit_html.TemplateResult<1>;
939
- constructor();
940
- connectedCallback(): void;
941
- }
942
- declare global {
943
- interface HTMLElementTagNameMap {
944
- 'qti-media-interaction': QtiMediaInteraction;
945
- }
946
- }
947
-
948
- declare const QtiOrderInteraction_base: (abstract new (...args: any[]) => {}) & (abstract new (...args: any[]) => IInteraction) & typeof Interaction;
949
- declare class QtiOrderInteraction extends QtiOrderInteraction_base {
950
- static styles: lit.CSSResult;
951
- protected childrenMap: Element[];
952
- protected nrChoices: number;
953
- correctResponses: string[];
954
- showCorrectResponses: boolean;
955
- /** orientation of choices */
956
- orientation: 'horizontal' | 'vertical';
957
- render(): lit_html.TemplateResult<1>;
958
- set correctResponse(value: string | string[]);
959
- protected getResponse(): string[];
960
- firstUpdated(changedProps: any): Promise<void>;
961
- }
962
- declare global {
963
- interface HTMLElementTagNameMap {
964
- 'qti-order-interaction': QtiOrderInteraction;
965
- }
966
- }
967
-
968
- declare class QtiPositionObjectStage extends LitElement {
969
- choiceOrdering: boolean;
970
- startX: any;
971
- startY: any;
972
- dragElement: any;
973
- render(): lit_html.TemplateResult<1>;
974
- static styles: lit.CSSResult[];
975
- constructor();
976
- dragElementHandler(event: any): void;
977
- firstUpdated(a: any): void;
978
- removeMoveListener(): void;
979
- disconnectedCallback(): void;
980
- }
981
- declare global {
982
- interface HTMLElementTagNameMap {
983
- 'qti-position-object-stage': QtiPositionObjectStage;
984
- }
985
- }
986
-
987
- declare class QtiSelectPointInteraction extends Interaction {
988
- static styles: lit.CSSResult[];
989
- maxChoices: number;
990
- minChoices: number;
991
- private _points;
992
- private _imgElement;
993
- private _onImageClick;
994
- render(): lit_html.TemplateResult<1>;
995
- reset(): void;
996
- validate(): boolean;
997
- set value(val: string | string[]);
998
- get value(): string | string[];
999
- firstUpdated(): void;
1000
- disconnectedCallback(): void;
1001
- }
1002
- declare global {
1003
- interface HTMLElementTagNameMap {
1004
- 'qti-select-point-interaction': QtiSelectPointInteraction;
1005
- }
1006
- }
1007
-
1008
- declare class QtiSliderInteraction extends LitElement {
1009
- static formAssociated: boolean;
1010
- static styles: CSSResultGroup;
1011
- private _value;
1012
- private _internals;
1013
- private _rail;
1014
- min: number;
1015
- max: number;
1016
- step: number;
1017
- constructor();
1018
- connectedCallback(): void;
1019
- get value(): string;
1020
- set value(val: string);
1021
- private _updateValue;
1022
- render(): lit_html.TemplateResult<1>;
1023
- private _onMouseDown;
1024
- private _onTouchStart;
1025
- private _startDrag;
1026
- private _onDrag;
1027
- private _onDragEnd;
1028
- }
1029
- declare global {
1030
- interface HTMLElementTagNameMap {
1031
- 'qti-slider-interaction': QtiSliderInteraction;
1032
- }
1033
- }
1034
-
1035
- /**
1036
- * https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
1037
- * <qti-custom-operator class="js.org">
1038
- <qti-base-value base-type="string"><![CDATA[
1039
- console.log(context.variables);
1040
- return 'B'
1041
- document.querySelector('qti-end-attempt-interaction').disabled = true;
1042
- ]]></qti-base-value>
1043
- </qti-custom-operator>
1044
- </qti-set-outcome-value>
1045
- */
1046
- declare class QtiCustomOperator extends LitElement implements Calculate {
1047
- private operatorFunction;
1048
- private _context?;
1049
- render(): lit_html.TemplateResult<1>;
1050
- handleSlotChange(): void;
1051
- calculate(): any;
1052
- }
1053
- declare global {
1054
- interface HTMLElementTagNameMap {
1055
- 'qti-custom-operator': QtiCustomOperator;
1056
- }
1057
- }
1058
-
1059
- declare class QtiAssociableHotspot extends LitElement {
1060
- static styles: lit.CSSResult;
1061
- connectedCallback(): void;
1062
- render(): lit_html.TemplateResult<1>;
1063
- }
1064
- declare global {
1065
- interface HTMLElementTagNameMap {
1066
- 'qti-associable-hotspot': QtiAssociableHotspot;
1067
- }
1068
- }
1069
-
1070
- declare class QtiGap extends LitElement {
1071
- static styles: lit.CSSResult;
1072
- tabindex: number | undefined;
1073
- render(): lit_html.TemplateResult<1>;
1074
- }
1075
- declare global {
1076
- interface HTMLElementTagNameMap {
1077
- 'qti-gap': QtiGap;
1078
- }
1079
- }
1080
-
1081
- declare class QtiGapImg extends LitElement {
1082
- static styles: lit.CSSResult;
1083
- tabindex: number | undefined;
1084
- connectedCallback(): void;
1085
- }
1086
- declare global {
1087
- interface HTMLElementTagNameMap {
1088
- 'qti-gap-img': QtiGapImg;
1089
- }
1090
- }
1091
-
1092
- declare const QtiGapText_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
1093
- declare class QtiGapText extends QtiGapText_base {
1094
- static styles: lit.CSSResult;
1095
- tabindex: number | undefined;
1096
- connectedCallback(): void;
1097
- render(): lit_html.TemplateResult<1>;
1098
- }
1099
- declare global {
1100
- interface HTMLElementTagNameMap {
1101
- 'qti-gap-text': QtiGapText;
1102
- }
1103
- }
1104
-
1105
- declare const QtiHotspotChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
1106
- declare class QtiHotspotChoice extends QtiHotspotChoice_base {
1107
- static styles: lit.CSSResult;
1108
- order: number;
1109
- }
1110
- declare global {
1111
- interface HTMLElementTagNameMap {
1112
- 'qti-hotspot-choice': QtiHotspotChoice;
1113
- }
1114
- }
1115
-
1116
- declare const QtiHottext_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
1117
- declare class QtiHottext extends QtiHottext_base {
1118
- static styles: lit.CSSResult;
1119
- render(): lit_html.TemplateResult<1>;
1120
- }
1121
- declare global {
1122
- interface HTMLElementTagNameMap {
1123
- 'qti-hottext': QtiHottext;
1124
- }
1125
- }
1126
-
1127
- declare class QtiInlineChoice extends LitElement {
1128
- static get styles(): lit.CSSResult[];
1129
- identifier: string;
1130
- connectedCallback(): void;
1131
- disconnectedCallback(): void;
1132
- render(): lit_html.TemplateResult<1>;
1133
- private _onSelectInlineChoice;
1134
- }
1135
- declare global {
1136
- interface HTMLElementTagNameMap {
1137
- 'qti-inline-choice': QtiInlineChoice;
1138
- }
1139
- }
1140
-
1141
- declare const QtiSimpleChoice_base: (abstract new (...args: any[]) => ActiveElementMixinInterface) & typeof LitElement;
1142
- /**
1143
- * qti-order-interaction
1144
- * qti-choice-interaction
1145
- */
1146
- declare class QtiSimpleChoice extends QtiSimpleChoice_base {
1147
- static styles: lit.CSSResult;
1148
- marker: string;
1149
- get checked(): boolean;
1150
- render(): lit_html.TemplateResult<1>;
1151
- }
1152
- declare global {
1153
- interface HTMLElementTagNameMap {
1154
- 'qti-simple-choice': QtiSimpleChoice;
1155
- }
1156
- }
1157
-
1158
- export { type QtiRuleBase as $, type ActiveElementMixinInterface as A, type BaseType as B, type Calculate as C, QtiHottextInteraction as D, QtiInlineChoiceInteraction as E, type Orientation as F, QtiChoiceInteraction as G, QtiUploadInteraction as H, type InteractionChangedDetails as I, QtiOutcomeProcessing as J, QtiOutcomeProcessingProcessor as K, QtiResponseProcessing as L, type Multiple as M, QtiLookupOutcomeValue as N, type OutcomeChangedDetails as O, QtiAnd as P, type QtiInteractionChanged as Q, type ResponseInteraction as R, qtiAndMixin as S, QtiConditionExpression as T, type QtiExpressionBase as U, type VariableValue as V, QtiExpression as W, QtiMapping as X, QtiSubtract as Y, qtiSubtractMixin as Z, QtiRule as _, type QtiOutcomeChanged as a, QtiPortableCustomInteraction as a0, QtiAssociateInteraction as a1, QtiCustomInteraction as a2, QtiEndAttemptInteraction as a3, QtiGapMatchInteraction as a4, QtiGraphicAssociateInteraction as a5, QtiGraphicGapMatchInteraction as a6, QtiGraphicOrderInteraction as a7, QtiHotspotInteraction as a8, QtiMatchInteraction as a9, QtiMediaInteraction as aa, QtiOrderInteraction as ab, QtiPositionObjectStage as ac, QtiSelectPointInteraction as ad, QtiSliderInteraction as ae, type ItemContext as af, itemContextVariables as ag, itemContext as ah, QtiCustomOperator as ai, Interaction as aj, QtiAssociableHotspot as ak, QtiGap as al, QtiGapImg as am, QtiGapText as an, QtiHotspotChoice as ao, QtiHottext as ap, QtiInlineChoice as aq, QtiSimpleAssociableChoice as ar, QtiSimpleChoice as as, type Ordered as b, type Cardinality as c, type directedPair as d, type VariableDeclaration as e, type float as f, type OutcomeVariable as g, type ResponseVariable as h, type integer as i, QtiAssessmentItem as j, QtiAssessmentStimulusRef as k, type ChoiceInterface as l, ActiveElementMixin as m, QtiItemBody as n, QtiPrompt as o, QtiStylesheet as p, QtiOutcomeDeclaration as q, QtiResponseDeclaration as r, QtiCompanionMaterialsInfo as s, QtiContentBody as t, QtiRubricBlock as u, QtiFeedbackBlock as v, QtiFeedbackInline as w, QtiModalFeedback as x, QtiExtendedTextInteraction as y, QtiTextEntryInteraction as z };