@citolab/qti-components 7.0.9 → 7.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. package/cdn/chunks/chunk-22SOGZF4.js +1 -0
  2. package/cdn/chunks/chunk-2TYVSDOR.js +10 -0
  3. package/cdn/chunks/chunk-2UE47PDO.js +8 -0
  4. package/cdn/chunks/chunk-3AZDOXQ2.js +1 -0
  5. package/cdn/chunks/chunk-3JYWJ2NK.js +7 -0
  6. package/cdn/chunks/chunk-46LUBNDT.js +1 -0
  7. package/cdn/chunks/chunk-4AQLM6EU.js +1 -0
  8. package/cdn/chunks/chunk-4F3SWHSX.js +3537 -0
  9. package/cdn/chunks/chunk-4JDR4LHD.js +7 -0
  10. package/cdn/chunks/chunk-4PRM73PT.js +3530 -0
  11. package/cdn/chunks/chunk-4PWQZQY3.js +17 -0
  12. package/cdn/chunks/chunk-5A43OJRS.js +24 -0
  13. package/cdn/chunks/chunk-5E2MIJGV.js +0 -0
  14. package/cdn/chunks/chunk-5ETOPNVH.js +1 -0
  15. package/cdn/chunks/chunk-5HNHSP7A.js +3530 -0
  16. package/cdn/chunks/chunk-5JUDXKGO.js +7 -0
  17. package/cdn/chunks/chunk-6A2O5DS7.js +1 -0
  18. package/cdn/chunks/chunk-6FKGN7HB.js +1 -0
  19. package/cdn/chunks/chunk-7AZEP5VB.js +8 -0
  20. package/cdn/chunks/chunk-7CQK5FSF.js +3530 -0
  21. package/cdn/chunks/chunk-APXB6KK5.js +8 -0
  22. package/cdn/chunks/chunk-AV37OE2S.js +1 -0
  23. package/cdn/chunks/chunk-AWIOWT4I.js +1 -0
  24. package/cdn/chunks/chunk-BB6R7AIH.js +8 -0
  25. package/cdn/chunks/chunk-CKOTA237.js +1 -0
  26. package/cdn/chunks/chunk-CZTZFTHC.js +8 -0
  27. package/cdn/chunks/chunk-D3JZV5XV.js +1 -0
  28. package/cdn/chunks/chunk-DI3XOGVR.js +951 -0
  29. package/cdn/chunks/chunk-DSZDMYQL.js +1 -0
  30. package/cdn/chunks/chunk-ELG6OUC7.js +1 -0
  31. package/cdn/chunks/chunk-EQNTO3QG.js +8 -0
  32. package/cdn/chunks/chunk-ESTNU24A.js +1 -0
  33. package/cdn/chunks/chunk-EUHRWJ5R.js +48 -0
  34. package/cdn/chunks/chunk-EVPWT7PO.js +1 -0
  35. package/cdn/chunks/chunk-EXAWEKDS.js +1 -0
  36. package/cdn/chunks/chunk-FCESHSJ3.js +73 -0
  37. package/cdn/chunks/chunk-G457CJP5.js +1 -0
  38. package/cdn/chunks/chunk-GIFBDBLN.js +8 -0
  39. package/cdn/chunks/chunk-GIYY5ZKS.js +939 -0
  40. package/cdn/chunks/chunk-GTFFARVB.js +8 -0
  41. package/cdn/chunks/chunk-GYPMDM7U.js +41 -0
  42. package/cdn/chunks/chunk-HG75NNFK.js +1 -0
  43. package/cdn/chunks/chunk-HV4JN3XB.js +1 -0
  44. package/cdn/chunks/chunk-HXPYDFGQ.js +8 -0
  45. package/cdn/chunks/chunk-IDGQY66Q.js +8 -0
  46. package/cdn/chunks/chunk-J5BEBS4Y.js +1 -0
  47. package/cdn/chunks/chunk-JLT3S3BD.js +1 -0
  48. package/cdn/chunks/chunk-K2TKSKEN.js +1 -0
  49. package/cdn/chunks/chunk-K4LCPCDE.js +1 -0
  50. package/cdn/chunks/chunk-KFA5RO3O.js +1 -0
  51. package/cdn/chunks/chunk-KFLS5ISA.js +1 -0
  52. package/cdn/chunks/chunk-KJEXS4DB.js +1 -0
  53. package/cdn/chunks/chunk-L33RHCU4.js +1 -0
  54. package/cdn/chunks/chunk-LPXDIJR2.js +1 -0
  55. package/cdn/chunks/chunk-LQ3DVN7N.js +1 -0
  56. package/cdn/chunks/chunk-LXNE62HZ.js +1 -0
  57. package/cdn/chunks/chunk-M2YG5XJI.js +8 -0
  58. package/cdn/chunks/chunk-M5OZ7YYR.js +3537 -0
  59. package/cdn/chunks/chunk-MCB43U5P.js +1 -0
  60. package/cdn/chunks/chunk-NFO577XB.js +939 -0
  61. package/cdn/chunks/chunk-NXTUDFAR.js +8 -0
  62. package/cdn/chunks/chunk-PAQSIIBJ.js +939 -0
  63. package/cdn/chunks/chunk-PAWTFMTX.js +8 -0
  64. package/cdn/chunks/chunk-PP4PDVVF.js +1 -0
  65. package/cdn/chunks/chunk-PZ7WEWHR.js +41 -0
  66. package/cdn/chunks/chunk-QEQPGKII.js +939 -0
  67. package/cdn/chunks/chunk-QICNOCJ6.js +1 -0
  68. package/cdn/chunks/chunk-QII27W7O.js +1 -0
  69. package/cdn/chunks/chunk-QYXRVCGM.js +6 -0
  70. package/cdn/chunks/chunk-REVF4YJC.js +8 -0
  71. package/cdn/chunks/chunk-S7SSPYIM.js +1 -0
  72. package/cdn/chunks/chunk-SCAVRW3H.js +1 -0
  73. package/cdn/chunks/chunk-TAJ4OCKW.js +3530 -0
  74. package/cdn/chunks/chunk-TH2YUX3A.js +17 -0
  75. package/cdn/chunks/chunk-TV7GYNJO.js +1 -0
  76. package/cdn/chunks/chunk-UXPSLBXO.js +1 -0
  77. package/cdn/chunks/chunk-VCH5D4D5.js +1 -0
  78. package/cdn/chunks/chunk-VE4IM4WS.js +8 -0
  79. package/cdn/chunks/chunk-VQPS5EII.js +939 -0
  80. package/cdn/chunks/chunk-WIDUHBF5.js +8 -0
  81. package/cdn/chunks/chunk-WTMZDTN4.js +1 -0
  82. package/cdn/chunks/chunk-X6XFTJQH.js +8 -0
  83. package/cdn/chunks/chunk-XEXDWGVU.js +939 -0
  84. package/cdn/chunks/chunk-XHBOTQFL.js +1 -0
  85. package/cdn/chunks/chunk-Y3GKQGXZ.js +8 -0
  86. package/cdn/chunks/chunk-YM6G2V57.js +8 -0
  87. package/cdn/chunks/chunk-YWZPZLWC.js +1 -0
  88. package/cdn/chunks/chunk-YYGAT2GT.js +1 -0
  89. package/cdn/chunks/chunk-Z7NL2OYT.js +1 -0
  90. package/cdn/chunks/chunk-ZCSHWAC6.js +1 -0
  91. package/cdn/chunks/chunk-ZILMGYR5.js +1 -0
  92. package/cdn/chunks/chunk-ZJMQOR5E.js +0 -0
  93. package/cdn/chunks/chunk-ZXVHR32G.js +1 -0
  94. package/cdn/exports/config.context.js +1 -1
  95. package/cdn/exports/interaction.js +1 -1
  96. package/cdn/index.global.js +1 -1
  97. package/cdn/index.js +1 -1
  98. package/cdn/qti-components/index.js +1 -1
  99. package/cdn/qti-item/core/index.js +1 -1
  100. package/cdn/qti-test/components/index.js +1 -1
  101. package/cdn/qti-test/components/test-container.js +1 -1
  102. package/cdn/qti-test/components/test-end-attempt.js +1 -1
  103. package/cdn/qti-test/components/test-item-link.js +1 -1
  104. package/cdn/qti-test/components/test-navigation.js +1 -1
  105. package/cdn/qti-test/components/test-next.js +1 -1
  106. package/cdn/qti-test/components/test-paging-buttons-stamp copy.js +1 -0
  107. package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
  108. package/cdn/qti-test/components/test-paging-buttons-stamp.stories copy.css +1 -0
  109. package/cdn/qti-test/components/test-paging-buttons-stamp.stories copy.js +264 -0
  110. package/cdn/qti-test/components/test-prev.js +1 -1
  111. package/cdn/qti-test/components/test-print-item-variables.js +1 -0
  112. package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -0
  113. package/cdn/qti-test/components/test-section-link.js +1 -0
  114. package/cdn/qti-test/components/test-show-correct-response.js +1 -1
  115. package/cdn/qti-test/core/index.js +1 -1
  116. package/dist/chunks/chunk-25BRPHJE.js +630 -0
  117. package/dist/chunks/chunk-25BRPHJE.js.map +1 -0
  118. package/dist/chunks/chunk-25ZCG5KD.js +6432 -0
  119. package/dist/chunks/chunk-25ZCG5KD.js.map +1 -0
  120. package/dist/chunks/chunk-2Q7RXYGX.js +213 -0
  121. package/dist/chunks/chunk-2Q7RXYGX.js.map +1 -0
  122. package/dist/chunks/chunk-2VA7CRTS.js +30 -0
  123. package/dist/chunks/chunk-2VA7CRTS.js.map +1 -0
  124. package/dist/chunks/chunk-36RGXVXQ.js +3634 -0
  125. package/dist/chunks/chunk-36RGXVXQ.js.map +1 -0
  126. package/dist/chunks/chunk-3F566AXX.js +210 -0
  127. package/dist/chunks/chunk-3F566AXX.js.map +1 -0
  128. package/dist/chunks/chunk-4475MTP7.js +630 -0
  129. package/dist/chunks/chunk-4475MTP7.js.map +1 -0
  130. package/dist/chunks/chunk-4GJ5LAU5.js +631 -0
  131. package/dist/chunks/chunk-4GJ5LAU5.js.map +1 -0
  132. package/dist/chunks/chunk-4HI4Q5TO.js +3641 -0
  133. package/dist/chunks/chunk-4HI4Q5TO.js.map +1 -0
  134. package/dist/chunks/chunk-4L5S7AON.js +621 -0
  135. package/dist/chunks/chunk-4L5S7AON.js.map +1 -0
  136. package/dist/chunks/chunk-52EWQN42.js +634 -0
  137. package/dist/chunks/chunk-52EWQN42.js.map +1 -0
  138. package/dist/chunks/chunk-5BSOZZMV.js +621 -0
  139. package/dist/chunks/chunk-5BSOZZMV.js.map +1 -0
  140. package/dist/chunks/chunk-5DFTIWBN.js +95 -0
  141. package/dist/chunks/chunk-5DFTIWBN.js.map +1 -0
  142. package/dist/chunks/chunk-5DZX4TPP.js +45 -0
  143. package/dist/chunks/chunk-5DZX4TPP.js.map +1 -0
  144. package/dist/chunks/chunk-5FQYXHVK.js +213 -0
  145. package/dist/chunks/chunk-5FQYXHVK.js.map +1 -0
  146. package/dist/chunks/chunk-5JJ7ELEU.js +39 -0
  147. package/dist/chunks/chunk-5JJ7ELEU.js.map +1 -0
  148. package/dist/chunks/chunk-5OMC3DTZ.js +3628 -0
  149. package/dist/chunks/chunk-5OMC3DTZ.js.map +1 -0
  150. package/dist/chunks/chunk-63WMM765.js +30 -0
  151. package/dist/chunks/chunk-63WMM765.js.map +1 -0
  152. package/dist/chunks/chunk-7ABTMTDB.js +86 -0
  153. package/dist/chunks/chunk-7ABTMTDB.js.map +1 -0
  154. package/dist/chunks/chunk-7K6TWSAK.js +626 -0
  155. package/dist/chunks/chunk-7K6TWSAK.js.map +1 -0
  156. package/dist/chunks/chunk-7QZ4E5WZ.js +210 -0
  157. package/dist/chunks/chunk-7QZ4E5WZ.js.map +1 -0
  158. package/dist/chunks/chunk-7RB2AUJE.js +622 -0
  159. package/dist/chunks/chunk-7RB2AUJE.js.map +1 -0
  160. package/dist/chunks/chunk-7WZH7TKG.js +210 -0
  161. package/dist/chunks/chunk-7WZH7TKG.js.map +1 -0
  162. package/dist/chunks/chunk-7YREO7KD.js +214 -0
  163. package/dist/chunks/chunk-7YREO7KD.js.map +1 -0
  164. package/dist/chunks/chunk-AI3BVEE3.js +102 -0
  165. package/dist/chunks/chunk-AI3BVEE3.js.map +1 -0
  166. package/dist/chunks/chunk-AZOWZY7V.js +95 -0
  167. package/dist/chunks/chunk-AZOWZY7V.js.map +1 -0
  168. package/dist/chunks/chunk-AZZW7WYD.js +3634 -0
  169. package/dist/chunks/chunk-AZZW7WYD.js.map +1 -0
  170. package/dist/chunks/chunk-B4YBRGOO.js +72 -0
  171. package/dist/chunks/chunk-B4YBRGOO.js.map +1 -0
  172. package/dist/chunks/chunk-BBFU7KGH.js +6432 -0
  173. package/dist/chunks/chunk-BBFU7KGH.js.map +1 -0
  174. package/dist/chunks/chunk-BCX6AQCQ.js +210 -0
  175. package/dist/chunks/chunk-BCX6AQCQ.js.map +1 -0
  176. package/dist/chunks/chunk-BJHVTP5W.js +95 -0
  177. package/dist/chunks/chunk-BJHVTP5W.js.map +1 -0
  178. package/dist/chunks/chunk-BOMM6A7V.js +19 -0
  179. package/dist/chunks/chunk-BOMM6A7V.js.map +1 -0
  180. package/dist/chunks/chunk-C5Q3SNXK.js +623 -0
  181. package/dist/chunks/chunk-C5Q3SNXK.js.map +1 -0
  182. package/dist/chunks/chunk-CONPNDHF.js +6416 -0
  183. package/dist/chunks/chunk-CONPNDHF.js.map +1 -0
  184. package/dist/chunks/chunk-CP63JV6J.js +56 -0
  185. package/dist/chunks/chunk-CP63JV6J.js.map +1 -0
  186. package/dist/chunks/chunk-DRATSVXW.js +99 -0
  187. package/dist/chunks/chunk-DRATSVXW.js.map +1 -0
  188. package/dist/chunks/chunk-E7UCMQNT.js +98 -0
  189. package/dist/chunks/chunk-E7UCMQNT.js.map +1 -0
  190. package/dist/chunks/chunk-ECTTGUKY.js +72 -0
  191. package/dist/chunks/chunk-ECTTGUKY.js.map +1 -0
  192. package/dist/chunks/chunk-F3JNWOBS.js +630 -0
  193. package/dist/chunks/chunk-F3JNWOBS.js.map +1 -0
  194. package/dist/chunks/chunk-FKOHVQD5.js +565 -0
  195. package/dist/chunks/chunk-FKOHVQD5.js.map +1 -0
  196. package/dist/chunks/chunk-FKYQ474Y.js +634 -0
  197. package/dist/chunks/chunk-FKYQ474Y.js.map +1 -0
  198. package/dist/chunks/chunk-FRNEKC5E.js +211 -0
  199. package/dist/chunks/chunk-FRNEKC5E.js.map +1 -0
  200. package/dist/chunks/chunk-GM2VH33L.js +214 -0
  201. package/dist/chunks/chunk-GM2VH33L.js.map +1 -0
  202. package/dist/chunks/chunk-HRCCW6MA.js +8 -0
  203. package/dist/chunks/chunk-HRCCW6MA.js.map +1 -0
  204. package/dist/chunks/chunk-ILL4KEGU.js +616 -0
  205. package/dist/chunks/chunk-ILL4KEGU.js.map +1 -0
  206. package/dist/chunks/chunk-IPWVQUFB.js +641 -0
  207. package/dist/chunks/chunk-IPWVQUFB.js.map +1 -0
  208. package/dist/chunks/chunk-IQVU7D3B.js +1 -0
  209. package/dist/chunks/chunk-IQVU7D3B.js.map +1 -0
  210. package/dist/chunks/chunk-JCEYFPPV.js +100 -0
  211. package/dist/chunks/chunk-JCEYFPPV.js.map +1 -0
  212. package/dist/chunks/chunk-JMIFSDZ7.js +52 -0
  213. package/dist/chunks/chunk-JMIFSDZ7.js.map +1 -0
  214. package/dist/chunks/chunk-JPATXTKN.js +629 -0
  215. package/dist/chunks/chunk-JPATXTKN.js.map +1 -0
  216. package/dist/chunks/chunk-KB5LRYDB.js +1 -0
  217. package/dist/chunks/chunk-KB5LRYDB.js.map +1 -0
  218. package/dist/chunks/chunk-KEF7X2OE.js +3621 -0
  219. package/dist/chunks/chunk-KEF7X2OE.js.map +1 -0
  220. package/dist/chunks/chunk-L5B7J2ZT.js +43 -0
  221. package/dist/chunks/chunk-L5B7J2ZT.js.map +1 -0
  222. package/dist/chunks/chunk-LU3O7U7W.js +45 -0
  223. package/dist/chunks/chunk-LU3O7U7W.js.map +1 -0
  224. package/dist/chunks/chunk-M3ONQ3OO.js +45 -0
  225. package/dist/chunks/chunk-M3ONQ3OO.js.map +1 -0
  226. package/dist/chunks/chunk-MBF6HEKO.js +39 -0
  227. package/dist/chunks/chunk-MBF6HEKO.js.map +1 -0
  228. package/dist/chunks/chunk-NW6WMWBC.js +94 -0
  229. package/dist/chunks/chunk-NW6WMWBC.js.map +1 -0
  230. package/dist/chunks/chunk-NXSALC5S.js +633 -0
  231. package/dist/chunks/chunk-NXSALC5S.js.map +1 -0
  232. package/dist/chunks/chunk-OTLH5OUZ.js +44 -0
  233. package/dist/chunks/chunk-OTLH5OUZ.js.map +1 -0
  234. package/dist/chunks/chunk-P7CW3RY4.js +6538 -0
  235. package/dist/chunks/chunk-P7CW3RY4.js.map +1 -0
  236. package/dist/chunks/chunk-PWOPGMKY.js +210 -0
  237. package/dist/chunks/chunk-PWOPGMKY.js.map +1 -0
  238. package/dist/chunks/chunk-QC5NBP3D.js +44 -0
  239. package/dist/chunks/chunk-QC5NBP3D.js.map +1 -0
  240. package/dist/chunks/chunk-QHWSY3K6.js +30 -0
  241. package/dist/chunks/chunk-QHWSY3K6.js.map +1 -0
  242. package/dist/chunks/chunk-QL3I5UMG.js +43 -0
  243. package/dist/chunks/chunk-QL3I5UMG.js.map +1 -0
  244. package/dist/chunks/chunk-QV4U5W67.js +43 -0
  245. package/dist/chunks/chunk-QV4U5W67.js.map +1 -0
  246. package/dist/chunks/chunk-R7HYOALH.js +213 -0
  247. package/dist/chunks/chunk-R7HYOALH.js.map +1 -0
  248. package/dist/chunks/chunk-SC5PDBVU.js +629 -0
  249. package/dist/chunks/chunk-SC5PDBVU.js.map +1 -0
  250. package/dist/chunks/chunk-SFRILOXM.js +624 -0
  251. package/dist/chunks/chunk-SFRILOXM.js.map +1 -0
  252. package/dist/chunks/chunk-ST5C4HZG.js +3621 -0
  253. package/dist/chunks/chunk-ST5C4HZG.js.map +1 -0
  254. package/dist/chunks/chunk-T524XBVZ.js +45 -0
  255. package/dist/chunks/chunk-T524XBVZ.js.map +1 -0
  256. package/dist/chunks/chunk-TN5UCQIV.js +614 -0
  257. package/dist/chunks/chunk-TN5UCQIV.js.map +1 -0
  258. package/dist/chunks/chunk-TWGONQQT.js +44 -0
  259. package/dist/chunks/chunk-TWGONQQT.js.map +1 -0
  260. package/dist/chunks/chunk-UDDWTISS.js +615 -0
  261. package/dist/chunks/chunk-UDDWTISS.js.map +1 -0
  262. package/dist/chunks/chunk-URMN5M77.js +36 -0
  263. package/dist/chunks/chunk-URMN5M77.js.map +1 -0
  264. package/dist/chunks/chunk-VPMLJM47.js +621 -0
  265. package/dist/chunks/chunk-VPMLJM47.js.map +1 -0
  266. package/dist/chunks/chunk-WYIX3HQR.js +634 -0
  267. package/dist/chunks/chunk-WYIX3HQR.js.map +1 -0
  268. package/dist/chunks/chunk-XISZU4KI.js +614 -0
  269. package/dist/chunks/chunk-XISZU4KI.js.map +1 -0
  270. package/dist/chunks/chunk-Y32L6VYU.js +91 -0
  271. package/dist/chunks/chunk-Y32L6VYU.js.map +1 -0
  272. package/dist/chunks/chunk-Y35P6GUT.js +99 -0
  273. package/dist/chunks/chunk-Y35P6GUT.js.map +1 -0
  274. package/dist/chunks/chunk-YUWIMPXO.js +75 -0
  275. package/dist/chunks/chunk-YUWIMPXO.js.map +1 -0
  276. package/dist/chunks/chunk-ZJHKJMHR.js +52 -0
  277. package/dist/chunks/chunk-ZJHKJMHR.js.map +1 -0
  278. package/dist/chunks/chunk-ZO73DF5R.js +36 -0
  279. package/dist/chunks/chunk-ZO73DF5R.js.map +1 -0
  280. package/dist/chunks/chunk-ZRA43QD3.js +52 -0
  281. package/dist/chunks/chunk-ZRA43QD3.js.map +1 -0
  282. package/dist/exports/computed.context.d.ts +3 -1
  283. package/dist/exports/computed.context.js +1 -1
  284. package/dist/exports/config.context.d.ts +1 -0
  285. package/dist/exports/config.context.js +4 -3
  286. package/dist/exports/config.context.js.map +1 -1
  287. package/dist/exports/interaction.d.ts +5 -2
  288. package/dist/exports/interaction.js +1 -1
  289. package/dist/exports/item.context.d.ts +1 -1
  290. package/dist/exports/qti-assessment-item.context.d.ts +1 -1
  291. package/dist/exports/qti-condition-expression.d.ts +1 -1
  292. package/dist/exports/qti-expression.d.ts +1 -1
  293. package/dist/exports/session.context.d.ts +3 -3
  294. package/dist/exports/test.context.d.ts +1 -1
  295. package/dist/exports/variables.d.ts +1 -1
  296. package/dist/index.d.ts +9 -6
  297. package/dist/index.js +26 -15
  298. package/dist/item.css +14 -1
  299. package/dist/qti-components/index.d.ts +4 -4
  300. package/dist/qti-components/index.js +2 -2
  301. package/dist/qti-components-jsx.d.ts +82 -36
  302. package/dist/qti-item/core/index.js +1 -1
  303. package/dist/qti-loader/index.d.ts +3 -3
  304. package/dist/qti-response-declaration-BwciEk5R.d.ts +1022 -0
  305. package/dist/qti-response-declaration-CCx746w0.d.ts +1023 -0
  306. package/dist/qti-response-declaration-CRGM9w_b.d.ts +1023 -0
  307. package/dist/qti-response-declaration-CbWRpo5c.d.ts +1033 -0
  308. package/dist/qti-test/components/index.d.ts +10 -8
  309. package/dist/qti-test/components/index.js +22 -11
  310. package/dist/qti-test/components/test-container.js +1 -1
  311. package/dist/qti-test/components/test-end-attempt.d.ts +0 -3
  312. package/dist/qti-test/components/test-end-attempt.js +1 -3
  313. package/dist/qti-test/components/test-item-link.js +1 -1
  314. package/dist/qti-test/components/test-navigation.d.ts +21 -8
  315. package/dist/qti-test/components/test-navigation.js +2 -3
  316. package/dist/qti-test/components/test-next.js +2 -2
  317. package/dist/qti-test/components/test-paging-buttons-stamp copy.js +44 -0
  318. package/dist/qti-test/components/test-paging-buttons-stamp copy.js.map +1 -0
  319. package/dist/qti-test/components/test-paging-buttons-stamp.js +2 -2
  320. package/dist/qti-test/components/test-paging-buttons-stamp.stories copy.css +93 -0
  321. package/dist/qti-test/components/test-paging-buttons-stamp.stories copy.css.map +1 -0
  322. package/dist/qti-test/components/test-paging-buttons-stamp.stories copy.js +9774 -0
  323. package/dist/qti-test/components/test-paging-buttons-stamp.stories copy.js.map +1 -0
  324. package/dist/qti-test/components/test-prev.js +2 -2
  325. package/dist/qti-test/components/test-print-item-variables.d.ts +15 -0
  326. package/dist/qti-test/components/test-print-item-variables.js +9 -0
  327. package/dist/qti-test/components/test-print-item-variables.js.map +1 -0
  328. package/dist/qti-test/components/test-section-buttons-stamp.d.ts +20 -0
  329. package/dist/qti-test/components/test-section-buttons-stamp.js +9 -0
  330. package/dist/qti-test/components/test-section-buttons-stamp.js.map +1 -0
  331. package/dist/qti-test/components/test-section-link.d.ts +18 -0
  332. package/dist/qti-test/components/test-section-link.js +9 -0
  333. package/dist/qti-test/components/test-section-link.js.map +1 -0
  334. package/dist/qti-test/components/test-show-correct-response.d.ts +0 -3
  335. package/dist/qti-test/components/test-show-correct-response.js +1 -3
  336. package/dist/qti-test/core/index.d.ts +5 -5
  337. package/dist/qti-test/core/index.js +1 -1
  338. package/dist/qti-test-part-8W7-lWmu.d.ts +85 -0
  339. package/dist/qti-test-part-BEPYFFNO.d.ts +85 -0
  340. package/dist/qti-test-part-CTzSuEgA.d.ts +85 -0
  341. package/dist/qti-test-part-CcFpkf1G.d.ts +85 -0
  342. package/dist/variables-D70AFbp2.d.ts +47 -0
  343. package/dist/vscode.html-custom-data.json +35 -10
  344. package/package.json +2 -1
@@ -0,0 +1,3634 @@
1
+ import {
2
+ watch
3
+ } from "./chunk-ELDMXTUQ.js";
4
+ import {
5
+ qtiTransformItem
6
+ } from "./chunk-XDMSEAYC.js";
7
+ import {
8
+ __decorateClass
9
+ } from "./chunk-63WMM765.js";
10
+
11
+ // src/lib/qti-item/core/components/item-container.ts
12
+ import { LitElement, html } from "lit";
13
+ import { customElement, property, state } from "lit/decorators.js";
14
+ import { until } from "lit/directives/until.js";
15
+
16
+ // inline:../../../../item.css?inline
17
+ var item_default = `@layer qti-base, qti-components, qti-utilities, qti-variants, qti-extended;
18
+
19
+ :root,
20
+ :host {
21
+ /* Active colors */
22
+ --qti-bg-active: #ffecec;
23
+ --qti-border-active: #f86d70;
24
+
25
+ /* Gap size */
26
+ --qti-gap-size: 1rem;
27
+
28
+ /* Background colors */
29
+ --qti-bg: white;
30
+ --qti-hover-bg: #f9fafb;
31
+
32
+ /* Light theme colors */
33
+ --qti-light-bg-active: #f0f0f0; /* Light gray */
34
+ --qti-light-border-active: #d0d0d0; /* Medium gray */
35
+
36
+ /* Dark theme colors */
37
+ --qti-dark-bg-active: #1f2937; /* Dark gray */
38
+ --qti-dark-border-active: #64748b; /* Medium gray */
39
+
40
+ /* Disabled colors */
41
+ --qti-disabled-bg: #f3f4f6;
42
+ --qti-disabled-color: #45484f;
43
+
44
+ /* Border properties */
45
+ --qti-border-thickness: 2px;
46
+ --qti-border-style: solid;
47
+ --qti-border-color: #c6cad0;
48
+ --qti-border-radius: 0.3rem;
49
+ --qti-drop-border-radius: calc(var(--qti-border-radius) + var(--qti-border-thickness));
50
+
51
+ /* Focus & active states */
52
+ --qti-focus-border-width: 5px;
53
+ --qti-focus-color: #bddcff7e;
54
+
55
+ /* Class-specific variables */
56
+
57
+ /* Form elements */
58
+ --qti-form-size: 1rem;
59
+
60
+ /* Point elements */
61
+ --qti-point-size: 2rem;
62
+
63
+ /* Order buttons */
64
+ --qti-order-size: 2rem;
65
+
66
+ /* Generic padding for all elements */
67
+ --qti-padding-vertical: 0.5rem; /* py-2 */
68
+ --qti-padding-horizontal: 0.5rem; /* px-2 */
69
+ }
70
+
71
+ /* SVG masks and backgrounds */
72
+
73
+ .chevron {
74
+ background: url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E")
75
+ no-repeat center right 6px;
76
+ }
77
+
78
+ .handle {
79
+ background-image: radial-gradient(
80
+ circle at center,
81
+ rgb(0 0 0 / 10%) 0,
82
+ rgb(0 0 0 / 20%) 2px,
83
+ rgb(255 255 255 / 0%) 2px,
84
+ rgb(255 255 255 / 0%) 100%
85
+ );
86
+ background-repeat: repeat-y;
87
+ background-position: left center;
88
+ background-size: 14px 8px;
89
+ }
90
+
91
+ .check-mask {
92
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
93
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
94
+ }
95
+
96
+ /*
97
+ Following are classes that can be applied to elements and element states, so they are not used directly
98
+ The @apply directive is used to apply these classes to elements
99
+ */
100
+
101
+ /* Apply .bordered to an element */
102
+
103
+ .bordered {
104
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
105
+ outline: none;
106
+ }
107
+
108
+ /* Apply .form rules for checkbox and radiobutton */
109
+
110
+ .form {
111
+
112
+ display: grid;
113
+ place-content: center;
114
+ width: var(--qti-form-size);
115
+ height: var(--qti-form-size);
116
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
117
+ outline: none;
118
+ }
119
+
120
+ /* Apply .button rules for button-like elements, such as drags and buttons */
121
+
122
+ .button {
123
+
124
+ border-radius: var(--qti-border-radius);
125
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
126
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
127
+ outline: none;
128
+ }
129
+
130
+ /* Apply .select for the select dropdown element */
131
+
132
+ .select {
133
+
134
+ border-radius: var(--qti-border-radius);
135
+ position: relative;
136
+ -webkit-appearance: none;
137
+ -moz-appearance: none;
138
+ appearance: none;
139
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
140
+ padding-right: calc(var(--qti-padding-horizontal) + 1.5rem); /* 1.5rem for the chevron */ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color); outline: none; background: url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E")
141
+ no-repeat center right 6px;
142
+ }
143
+
144
+ /* Apply .text for the input text and textarea */
145
+
146
+ .text {
147
+
148
+ border-radius: 0;
149
+ cursor: text;
150
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
151
+ background: unset;
152
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
153
+ outline: none;
154
+ }
155
+
156
+ /* Apply .spot for hotspot shapes */
157
+
158
+ .spot {
159
+
160
+ width: 100%;
161
+ height: 100%;
162
+ background-color: transparent;
163
+ padding: 0;
164
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
165
+ outline: none;
166
+ }
167
+
168
+ /* Apply .point for circular small hotspots */
169
+
170
+ .point {
171
+
172
+ border-radius: 100%;
173
+ width: var(--qti-point-size);
174
+ height: var(--qti-point-size);
175
+ background-color: transparent;
176
+ padding: 0;
177
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
178
+ outline: none;
179
+ }
180
+
181
+ /* Apply .drag for draggable elements */
182
+
183
+ .drag {
184
+
185
+ transition:
186
+ transform 200ms ease-out,
187
+ box-shadow 200ms ease-out,
188
+ rotate 200ms ease-out;
189
+ cursor: grab;
190
+ background-color: var(--qti-bg);
191
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
192
+ border-radius: var(--qti-border-radius);
193
+ padding-left: calc(var(--qti-padding-horizontal) + 0.5rem) !important; /* 1.5rem for the drag */ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color); outline: none; background-image: radial-gradient(
194
+ circle at center,
195
+ rgb(0 0 0 / 10%) 0,
196
+ rgb(0 0 0 / 20%) 2px,
197
+ rgb(255 255 255 / 0%) 2px,
198
+ rgb(255 255 255 / 0%) 100%
199
+ ); background-repeat: repeat-y; background-position: left center; background-size: 14px 8px;
200
+ }
201
+
202
+ /* Apply .dragging for the dragging state of a draggable element */
203
+
204
+ .dragging {
205
+ pointer-events: none;
206
+ rotate: -2deg;
207
+ box-shadow:
208
+ 0 8px 12px rgb(0 0 0 / 20%),
209
+ 0 4px 8px rgb(0 0 0 / 10%);
210
+ }
211
+
212
+ /* Apply .drop for an element where you can drop the draggable */
213
+
214
+ .drop {
215
+
216
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
217
+ center no-repeat;
218
+ border-radius: var(--qti-border-radius);
219
+ position: relative;
220
+ background-color: var(--qti-bg);
221
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
222
+ outline: none;
223
+ }
224
+
225
+ /* Apply .dropping for an indicator where you can drop the draggable */
226
+
227
+ .dropping {
228
+ background-color: var(--qti-bg-active);
229
+ }
230
+
231
+ /* Apply .order for a small circular button */
232
+
233
+ .order {
234
+
235
+ display: grid;
236
+ place-content: center;
237
+
238
+ /* background-color: var(--qti-bg-active); */
239
+ border-radius: 100%;
240
+ width: var(--qti-order-size);
241
+ height: var(--qti-order-size);
242
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
243
+ outline: none;
244
+ }
245
+
246
+ /* Apply .check-size for radio and checkbox size */
247
+
248
+ .check-size {
249
+ width: calc(var(--qti-form-size) - 6px);
250
+ height: calc(var(--qti-form-size) - 6px);
251
+ }
252
+
253
+ /* Apply .check for checkbox */
254
+
255
+ .check {
256
+ gap: 0.5rem;
257
+ border-radius: var(--qti-border-radius);
258
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
259
+ outline: none;
260
+ cursor: pointer;
261
+ }
262
+
263
+ /* Apply .check-radio for outer circle of the radio buttons */
264
+
265
+ .check-radio {
266
+
267
+ border-radius: 100%;
268
+
269
+ display: grid;
270
+
271
+ place-content: center;
272
+
273
+ width: var(--qti-form-size);
274
+
275
+ height: var(--qti-form-size);
276
+
277
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
278
+
279
+ outline: none;
280
+ }
281
+
282
+ /* Apply .check-radio-checked for the inner checked radio */
283
+
284
+ .check-radio-checked {
285
+ background-color: var(--qti-border-active);
286
+ border-radius: 100%;
287
+ }
288
+
289
+ /* Apply .check-checkbox for outer square of the checkbox */
290
+
291
+ .check-checkbox {
292
+
293
+ display: flex;
294
+ place-items: center;
295
+ border-radius: var(--qti-border-radius);
296
+ display: grid;
297
+ place-content: center;
298
+ width: var(--qti-form-size);
299
+ height: var(--qti-form-size);
300
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
301
+ outline: none;
302
+ }
303
+
304
+ /* Apply .check-checkbox-checked for the inner checkmark */
305
+
306
+ .check-checkbox-checked {
307
+ background-color: var(--qti-border-active);
308
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
309
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
310
+ }
311
+
312
+ /* Apply .hov for hover state */
313
+
314
+ .hov {
315
+ background-color: var(--qti-hover-bg);
316
+ }
317
+
318
+ /* Apply .foc for focus state */
319
+
320
+ .foc {
321
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
322
+ }
323
+
324
+ /* Apply .act for active state */
325
+
326
+ .act {
327
+ border-color: var(--qti-border-active);
328
+ background-color: var(--qti-bg-active);
329
+ }
330
+
331
+ .act-bg {
332
+ background-color: var(--qti-bg-active);
333
+ }
334
+
335
+ .act-bor {
336
+ border-color: var(--qti-border-active);
337
+ }
338
+
339
+ /* Apply .rdo for readonly state */
340
+
341
+ .rdo {
342
+ cursor: pointer;
343
+ background-color: var(--qti-bg);
344
+ outline: 0;
345
+ border: none;
346
+ }
347
+
348
+ /* Apply .dis for disabled state */
349
+
350
+ .dis {
351
+ cursor: not-allowed;
352
+ background-color: var(--qti-disabled-bg);
353
+ color: var(--qti-disabled-color);
354
+ border-color: var(--qti-border-color);
355
+ outline: 4px solid var(--qti-disabled-bg);
356
+ }
357
+
358
+ /* base */
359
+
360
+ /* ============================
361
+ QTI 3 shared css
362
+ 1. Display
363
+ 2. Special Flex styles
364
+ 3. Margin
365
+ 4. Padding
366
+ 5. Horizontal Alignment styles
367
+ 6. Vertical Alignment styles
368
+ 7. Height
369
+ 8. Width
370
+ 9. Text-Indent
371
+ 10. List Style
372
+ 11. Layout
373
+ 12. Other QTI 3 presentation utilities
374
+ ============================ */
375
+
376
+ /* ==========
377
+ Display css
378
+ =========== */
379
+
380
+ .qti-display-inline {
381
+ display: inline;
382
+ }
383
+
384
+ .qti-display-inline-block {
385
+ display: inline-block;
386
+ }
387
+
388
+ .qti-display-block {
389
+ display: block;
390
+ }
391
+
392
+ .qti-display-flex {
393
+ display: flexbox;
394
+ display: flex;
395
+ }
396
+
397
+ .qti-display-inline-flex {
398
+ display: inline-flex;
399
+ }
400
+
401
+ .qti-display-grid {
402
+ display: grid;
403
+ }
404
+
405
+ .qti-display-inline-grid {
406
+ display: inline-grid;
407
+ }
408
+
409
+ .qti-display-table {
410
+ display: table;
411
+ }
412
+
413
+ .qti-display-table-cell {
414
+ display: table-cell;
415
+ }
416
+
417
+ .qti-display-table-row {
418
+ display: table-row;
419
+ }
420
+
421
+ .qti-display-list-item {
422
+ display: list-item;
423
+ }
424
+
425
+ .qti-display-inherit {
426
+ display: inherit;
427
+ }
428
+
429
+ /*
430
+ * hidden to screen readers and sighted
431
+ */
432
+
433
+ .qti-hidden {
434
+ display: none;
435
+ }
436
+
437
+ /*
438
+ * visible to screen readers, hidden to sighted
439
+ */
440
+
441
+ .qti-visually-hidden {
442
+ position: fixed !important;
443
+ overflow: hidden;
444
+ clip: rect(1px 1px 1px 1px);
445
+ height: 1px;
446
+ width: 1px;
447
+ border: 0;
448
+ margin: -1px;
449
+ }
450
+
451
+ /* =============================
452
+ Special flex styles
453
+ ============================= */
454
+
455
+ .qti-flex-direction-column {
456
+ flex-direction: column;
457
+ }
458
+
459
+ .qti-flex-direction-row {
460
+ flex-direction: row;
461
+ }
462
+
463
+ .qti-flex-grow-1 {
464
+ flex-grow: 1;
465
+ }
466
+
467
+ .qti-flex-grow-0 {
468
+ flex-grow: 0;
469
+ }
470
+
471
+ /* =========
472
+ Margin css
473
+ ========== */
474
+
475
+ /**
476
+ * For margin Top and Bottom and Left and Right
477
+ */
478
+
479
+ .qti-margin-0 {
480
+ margin: 0 !important;
481
+ }
482
+
483
+ .qti-margin-1 {
484
+ margin: 0.25rem !important;
485
+ }
486
+
487
+ .qti-margin-2 {
488
+ margin: 0.5rem !important;
489
+ }
490
+
491
+ .qti-margin-3 {
492
+ margin: 1rem !important;
493
+ }
494
+
495
+ .qti-margin-4 {
496
+ margin: 1.5rem !important;
497
+ }
498
+
499
+ .qti-margin-5 {
500
+ margin: 3rem !important;
501
+ }
502
+
503
+ .qti-margin-auto {
504
+ margin: auto !important;
505
+ }
506
+
507
+ /*
508
+ For margin Left and Right
509
+ */
510
+
511
+ .qti-margin-x-0 {
512
+ margin-right: 0 !important;
513
+ margin-left: 0 !important;
514
+ }
515
+
516
+ .qti-margin-x-1 {
517
+ margin-right: 0.25rem !important;
518
+ margin-left: 0.25rem !important;
519
+ }
520
+
521
+ .qti-margin-x-2 {
522
+ margin-right: 0.5rem !important;
523
+ margin-left: 0.5rem !important;
524
+ }
525
+
526
+ .qti-margin-x-3 {
527
+ margin-right: 1rem !important;
528
+ margin-left: 1rem !important;
529
+ }
530
+
531
+ .qti-margin-x-4 {
532
+ margin-right: 1.5rem !important;
533
+ margin-left: 1.5rem !important;
534
+ }
535
+
536
+ .qti-margin-x-5 {
537
+ margin-right: 3rem !important;
538
+ margin-left: 3rem !important;
539
+ }
540
+
541
+ .qti-margin-x-auto {
542
+ margin-right: auto !important;
543
+ margin-left: auto !important;
544
+ }
545
+
546
+ /*
547
+ For margin Top and Bottom
548
+ */
549
+
550
+ .qti-margin-y-0 {
551
+ margin-top: 0 !important;
552
+ margin-bottom: 0 !important;
553
+ }
554
+
555
+ .qti-margin-y-1 {
556
+ margin-top: 0.25rem !important;
557
+ margin-bottom: 0.25rem !important;
558
+ }
559
+
560
+ .qti-margin-y-2 {
561
+ margin-top: 0.5rem !important;
562
+ margin-bottom: 0.5rem !important;
563
+ }
564
+
565
+ .qti-margin-y-3 {
566
+ margin-top: 1rem !important;
567
+ margin-bottom: 1rem !important;
568
+ }
569
+
570
+ .qti-margin-y-4 {
571
+ margin-top: 1.5rem !important;
572
+ margin-bottom: 1.5rem !important;
573
+ }
574
+
575
+ .qti-margin-y-5 {
576
+ margin-top: 3rem !important;
577
+ margin-bottom: 3rem !important;
578
+ }
579
+
580
+ .qti-margin-y-auto {
581
+ margin-top: auto !important;
582
+ margin-bottom: auto !important;
583
+ }
584
+
585
+ /*
586
+ For margin Top
587
+ */
588
+
589
+ .qti-margin-t-0 {
590
+ margin-top: 0 !important;
591
+ }
592
+
593
+ .qti-margin-t-1 {
594
+ margin-top: 0.25rem !important;
595
+ }
596
+
597
+ .qti-margin-t-2 {
598
+ margin-top: 0.5rem !important;
599
+ }
600
+
601
+ .qti-margin-t-3 {
602
+ margin-top: 1rem !important;
603
+ }
604
+
605
+ .qti-margin-t-4 {
606
+ margin-top: 1.5rem !important;
607
+ }
608
+
609
+ .qti-margin-t-5 {
610
+ margin-top: 3rem !important;
611
+ }
612
+
613
+ .qti-margin-t-auto {
614
+ margin-top: auto !important;
615
+ }
616
+
617
+ /*
618
+ For margin Bottom
619
+ */
620
+
621
+ .qti-margin-b-0 {
622
+ margin-bottom: 0 !important;
623
+ }
624
+
625
+ .qti-margin-b-1 {
626
+ margin-bottom: 0.25rem !important;
627
+ }
628
+
629
+ .qti-margin-b-2 {
630
+ margin-bottom: 0.5rem !important;
631
+ }
632
+
633
+ .qti-margin-b-3 {
634
+ margin-bottom: 1rem !important;
635
+ }
636
+
637
+ .qti-margin-b-4 {
638
+ margin-bottom: 1.5rem !important;
639
+ }
640
+
641
+ .qti-margin-b-5 {
642
+ margin-bottom: 3rem !important;
643
+ }
644
+
645
+ .qti-margin-b-auto {
646
+ margin-bottom: auto !important;
647
+ }
648
+
649
+ /*
650
+ For margin Start LTR
651
+ */
652
+
653
+ .qti-margin-s-0 {
654
+ margin-left: 0 !important;
655
+ }
656
+
657
+ .qti-margin-s-1 {
658
+ margin-left: 0.25rem !important;
659
+ }
660
+
661
+ .qti-margin-s-2 {
662
+ margin-left: 0.5rem !important;
663
+ }
664
+
665
+ .qti-margin-s-3 {
666
+ margin-left: 1rem !important;
667
+ }
668
+
669
+ .qti-margin-s-4 {
670
+ margin-left: 1.5rem !important;
671
+ }
672
+
673
+ .qti-margin-s-5 {
674
+ margin-left: 3rem !important;
675
+ }
676
+
677
+ .qti-margin-s-auto {
678
+ margin-left: auto !important;
679
+ }
680
+
681
+ /*
682
+ For margin End LTR
683
+ */
684
+
685
+ .qti-margin-e-0 {
686
+ margin-right: 0 !important;
687
+ }
688
+
689
+ .qti-margin-e-1 {
690
+ margin-right: 0.25rem !important;
691
+ }
692
+
693
+ .qti-margin-e-2 {
694
+ margin-right: 0.5rem !important;
695
+ }
696
+
697
+ .qti-margin-e-3 {
698
+ margin-right: 1rem !important;
699
+ }
700
+
701
+ .qti-margin-e-4 {
702
+ margin-right: 1.5rem !important;
703
+ }
704
+
705
+ .qti-margin-e-5 {
706
+ margin-right: 3rem !important;
707
+ }
708
+
709
+ .qti-margin-e-auto {
710
+ margin-right: auto !important;
711
+ }
712
+
713
+ /* =========
714
+ Padding css
715
+ ========== */
716
+
717
+ /*
718
+ For padding Top and Bottom and Left and Right
719
+ */
720
+
721
+ .qti-padding-0 {
722
+ padding: 0 !important;
723
+ }
724
+
725
+ .qti-padding-1 {
726
+ padding: 0.25rem !important;
727
+ }
728
+
729
+ .qti-padding-2 {
730
+ padding: 0.5rem !important;
731
+ }
732
+
733
+ .qti-padding-3 {
734
+ padding: 1rem !important;
735
+ }
736
+
737
+ .qti-padding-4 {
738
+ padding: 1.5rem !important;
739
+ }
740
+
741
+ .qti-padding-5 {
742
+ padding: 3rem !important;
743
+ }
744
+
745
+ /*
746
+ For padding Left and Right
747
+ */
748
+
749
+ .qti-padding-x-0 {
750
+ padding-right: 0 !important;
751
+ padding-left: 0 !important;
752
+ }
753
+
754
+ .qti-padding-x-1 {
755
+ padding-right: 0.25rem !important;
756
+ padding-left: 0.25rem !important;
757
+ }
758
+
759
+ .qti-padding-x-2 {
760
+ padding-right: 0.5rem !important;
761
+ padding-left: 0.5rem !important;
762
+ }
763
+
764
+ .qti-padding-x-3 {
765
+ padding-right: 1rem !important;
766
+ padding-left: 1rem !important;
767
+ }
768
+
769
+ .qti-padding-x-4 {
770
+ padding-right: 1.5rem !important;
771
+ padding-left: 1.5rem !important;
772
+ }
773
+
774
+ .qti-padding-x-5 {
775
+ padding-right: 3rem !important;
776
+ padding-left: 3rem !important;
777
+ }
778
+
779
+ /*
780
+ For padding Top and Bottom
781
+ */
782
+
783
+ .qti-padding-y-0 {
784
+ padding-top: 0 !important;
785
+ padding-bottom: 0 !important;
786
+ }
787
+
788
+ .qti-padding-y-1 {
789
+ padding-top: 0.25rem !important;
790
+ padding-bottom: 0.25rem !important;
791
+ }
792
+
793
+ .qti-padding-y-2 {
794
+ padding-top: 0.5rem !important;
795
+ padding-bottom: 0.5rem !important;
796
+ }
797
+
798
+ .qti-padding-y-3 {
799
+ padding-top: 1rem !important;
800
+ padding-bottom: 1rem !important;
801
+ }
802
+
803
+ .qti-padding-y-4 {
804
+ padding-top: 1.5rem !important;
805
+ padding-bottom: 1.5rem !important;
806
+ }
807
+
808
+ .qti-padding-y-5 {
809
+ padding-top: 3rem !important;
810
+ padding-bottom: 3rem !important;
811
+ }
812
+
813
+ /*
814
+ For padding Top
815
+ */
816
+
817
+ .qti-padding-t-0 {
818
+ padding-top: 0 !important;
819
+ }
820
+
821
+ .qti-padding-t-1 {
822
+ padding-top: 0.25rem !important;
823
+ }
824
+
825
+ .qti-padding-t-2 {
826
+ padding-top: 0.5rem !important;
827
+ }
828
+
829
+ .qti-padding-t-3 {
830
+ padding-top: 1rem !important;
831
+ }
832
+
833
+ .qti-padding-t-4 {
834
+ padding-top: 1.5rem !important;
835
+ }
836
+
837
+ .qti-padding-t-5 {
838
+ padding-top: 3rem !important;
839
+ }
840
+
841
+ /*
842
+ For padding Bottom
843
+ */
844
+
845
+ .qti-padding-b-0 {
846
+ padding-bottom: 0 !important;
847
+ }
848
+
849
+ .qti-padding-b-1 {
850
+ padding-bottom: 0.25rem !important;
851
+ }
852
+
853
+ .qti-padding-b-2 {
854
+ padding-bottom: 0.5rem !important;
855
+ }
856
+
857
+ .qti-padding-b-3 {
858
+ padding-bottom: 1rem !important;
859
+ }
860
+
861
+ .qti-padding-b-4 {
862
+ padding-bottom: 1.5rem !important;
863
+ }
864
+
865
+ .qti-padding-b-5 {
866
+ padding-bottom: 3rem !important;
867
+ }
868
+
869
+ /*
870
+ For padding Start LTR
871
+ */
872
+
873
+ .qti-padding-s-0 {
874
+ padding-left: 0 !important;
875
+ }
876
+
877
+ .qti-padding-s-1 {
878
+ padding-left: 0.25rem !important;
879
+ }
880
+
881
+ .qti-padding-s-2 {
882
+ padding-left: 0.5rem !important;
883
+ }
884
+
885
+ .qti-padding-s-3 {
886
+ padding-left: 1rem !important;
887
+ }
888
+
889
+ .qti-padding-s-4 {
890
+ padding-left: 1.5rem !important;
891
+ }
892
+
893
+ .qti-padding-s-5 {
894
+ padding-left: 3rem !important;
895
+ }
896
+
897
+ /*
898
+ For padding End LTR
899
+ */
900
+
901
+ .qti-padding-e-0 {
902
+ padding-right: 0 !important;
903
+ }
904
+
905
+ .qti-padding-e-1 {
906
+ padding-right: 0.25rem !important;
907
+ }
908
+
909
+ .qti-padding-e-2 {
910
+ padding-right: 0.5rem !important;
911
+ }
912
+
913
+ .qti-padding-e-3 {
914
+ padding-right: 1rem !important;
915
+ }
916
+
917
+ .qti-padding-e-4 {
918
+ padding-right: 1.5rem !important;
919
+ }
920
+
921
+ .qti-padding-e-5 {
922
+ padding-right: 3rem !important;
923
+ }
924
+
925
+ /* ====================
926
+ Horizontal alignment
927
+ ==================== */
928
+
929
+ .qti-align-left {
930
+ text-align: left;
931
+ }
932
+
933
+ .qti-align-center {
934
+ text-align: center;
935
+ }
936
+
937
+ .qti-align-right {
938
+ text-align: right;
939
+ }
940
+
941
+ /* ==================
942
+ Vertical alignment
943
+ ================== */
944
+
945
+ .qti-valign-top {
946
+ vertical-align: top;
947
+ }
948
+
949
+ .qti-valign-middle {
950
+ vertical-align: middle;
951
+ }
952
+
953
+ .qti-valign-baseline {
954
+ vertical-align: baseline;
955
+ }
956
+
957
+ .qti-valign-bottom {
958
+ vertical-align: bottom;
959
+ }
960
+
961
+ /* =============
962
+ Height styles
963
+ ============= */
964
+
965
+ .qti-height-0 {
966
+ height: 0;
967
+ }
968
+
969
+ .qti-height-px {
970
+ height: 1px;
971
+ }
972
+
973
+ .qti-height-0p5 {
974
+ height: 0.125rem;
975
+ }
976
+
977
+ .qti-height-1 {
978
+ height: 0.25rem;
979
+ }
980
+
981
+ .qti-height-1p5 {
982
+ height: 0.375rem;
983
+ }
984
+
985
+ .qti-height-2 {
986
+ height: 0.5rem;
987
+ }
988
+
989
+ .qti-height-2p5 {
990
+ height: 0.625rem;
991
+ }
992
+
993
+ .qti-height-3 {
994
+ height: 0.75rem;
995
+ }
996
+
997
+ .qti-height-3p5 {
998
+ height: 0.875rem;
999
+ }
1000
+
1001
+ .qti-height-4 {
1002
+ height: 1rem;
1003
+ }
1004
+
1005
+ .qti-height-5 {
1006
+ height: 1.25rem;
1007
+ }
1008
+
1009
+ .qti-height-6 {
1010
+ height: 1.5rem;
1011
+ }
1012
+
1013
+ .qti-height-7 {
1014
+ height: 1.75rem;
1015
+ }
1016
+
1017
+ .qti-height-8 {
1018
+ height: 2rem;
1019
+ }
1020
+
1021
+ .qti-height-9 {
1022
+ height: 2.25rem;
1023
+ }
1024
+
1025
+ .qti-height-10 {
1026
+ height: 2.5rem;
1027
+ }
1028
+
1029
+ .qti-height-11 {
1030
+ height: 2.75rem;
1031
+ }
1032
+
1033
+ .qti-height-12 {
1034
+ height: 3rem;
1035
+ }
1036
+
1037
+ .qti-height-14 {
1038
+ height: 3.5rem;
1039
+ }
1040
+
1041
+ .qti-height-16 {
1042
+ height: 4rem;
1043
+ }
1044
+
1045
+ .qti-height-20 {
1046
+ height: 5rem;
1047
+ }
1048
+
1049
+ .qti-height-24 {
1050
+ height: 6rem;
1051
+ }
1052
+
1053
+ .qti-height-28 {
1054
+ height: 7rem;
1055
+ }
1056
+
1057
+ .qti-height-32 {
1058
+ height: 8rem;
1059
+ }
1060
+
1061
+ .qti-height-36 {
1062
+ height: 9rem;
1063
+ }
1064
+
1065
+ .qti-height-40 {
1066
+ height: 10rem;
1067
+ }
1068
+
1069
+ .qti-height-44 {
1070
+ height: 11rem;
1071
+ }
1072
+
1073
+ .qti-height-48 {
1074
+ height: 12rem;
1075
+ }
1076
+
1077
+ .qti-height-52 {
1078
+ height: 13rem;
1079
+ }
1080
+
1081
+ .qti-height-56 {
1082
+ height: 14rem;
1083
+ }
1084
+
1085
+ .qti-height-60 {
1086
+ height: 15rem;
1087
+ }
1088
+
1089
+ .qti-height-64 {
1090
+ height: 16rem;
1091
+ }
1092
+
1093
+ .qti-height-72 {
1094
+ height: 18rem;
1095
+ }
1096
+
1097
+ .qti-height-80 {
1098
+ height: 20rem;
1099
+ }
1100
+
1101
+ .qti-height-96 {
1102
+ height: 24rem;
1103
+ }
1104
+
1105
+ .qti-height-1-2 {
1106
+ height: 50%;
1107
+ }
1108
+
1109
+ .qti-height-1-3 {
1110
+ height: 33.3333%;
1111
+ }
1112
+
1113
+ .qti-height-2-3 {
1114
+ height: 66.6667%;
1115
+ }
1116
+
1117
+ .qti-height-1-4 {
1118
+ height: 25%;
1119
+ }
1120
+
1121
+ .qti-height-2-4 {
1122
+ height: 50%;
1123
+ }
1124
+
1125
+ .qti-height-3-4 {
1126
+ height: 75%;
1127
+ }
1128
+
1129
+ .qti-height-1-5 {
1130
+ height: 20%;
1131
+ }
1132
+
1133
+ .qti-height-2-5 {
1134
+ height: 40%;
1135
+ }
1136
+
1137
+ .qti-height-3-5 {
1138
+ height: 60%;
1139
+ }
1140
+
1141
+ .qti-height-4-5 {
1142
+ height: 80%;
1143
+ }
1144
+
1145
+ .qti-height-1-6 {
1146
+ height: 16.6667%;
1147
+ }
1148
+
1149
+ .qti-height-2-6 {
1150
+ height: 33.3333%;
1151
+ }
1152
+
1153
+ .qti-height-3-6 {
1154
+ height: 50%;
1155
+ }
1156
+
1157
+ .qti-height-4-6 {
1158
+ height: 66.6667%;
1159
+ }
1160
+
1161
+ .qti-height-5-6 {
1162
+ height: 83.3333%;
1163
+ }
1164
+
1165
+ .qti-height-auto {
1166
+ height: auto;
1167
+ }
1168
+
1169
+ .qti-height-full {
1170
+ height: 100%;
1171
+ }
1172
+
1173
+ /* ============
1174
+ Width styles
1175
+ ============ */
1176
+
1177
+ .qti-width-0 {
1178
+ width: 0;
1179
+ }
1180
+
1181
+ .qti-width-px {
1182
+ width: 1px;
1183
+ }
1184
+
1185
+ .qti-width-0p5 {
1186
+ width: 0.125rem;
1187
+ }
1188
+
1189
+ .qti-width-1 {
1190
+ width: 0.25rem;
1191
+ }
1192
+
1193
+ .qti-width-1p5 {
1194
+ width: 0.375rem;
1195
+ }
1196
+
1197
+ .qti-width-2 {
1198
+ width: 0.5rem;
1199
+ }
1200
+
1201
+ .qti-width-2p5 {
1202
+ width: 0.625rem;
1203
+ }
1204
+
1205
+ .qti-width-3 {
1206
+ width: 0.75rem;
1207
+ }
1208
+
1209
+ .qti-width-3p5 {
1210
+ width: 0.875rem;
1211
+ }
1212
+
1213
+ .qti-width-4 {
1214
+ width: 1rem;
1215
+ }
1216
+
1217
+ .qti-width-5 {
1218
+ width: 1.25rem;
1219
+ }
1220
+
1221
+ .qti-width-6 {
1222
+ width: 1.5rem;
1223
+ }
1224
+
1225
+ .qti-width-7 {
1226
+ width: 1.75rem;
1227
+ }
1228
+
1229
+ .qti-width-8 {
1230
+ width: 2rem;
1231
+ }
1232
+
1233
+ .qti-width-9 {
1234
+ width: 2.25rem;
1235
+ }
1236
+
1237
+ .qti-width-10 {
1238
+ width: 2.5rem;
1239
+ }
1240
+
1241
+ .qti-width-11 {
1242
+ width: 2.75rem;
1243
+ }
1244
+
1245
+ .qti-width-12 {
1246
+ width: 3rem;
1247
+ }
1248
+
1249
+ .qti-width-14 {
1250
+ width: 3.5rem;
1251
+ }
1252
+
1253
+ .qti-width-16 {
1254
+ width: 4rem;
1255
+ }
1256
+
1257
+ .qti-width-20 {
1258
+ width: 5rem;
1259
+ }
1260
+
1261
+ .qti-width-24 {
1262
+ width: 6rem;
1263
+ }
1264
+
1265
+ .qti-width-28 {
1266
+ width: 7rem;
1267
+ }
1268
+
1269
+ .qti-width-32 {
1270
+ width: 8rem;
1271
+ }
1272
+
1273
+ .qti-width-36 {
1274
+ width: 9rem;
1275
+ }
1276
+
1277
+ .qti-width-40 {
1278
+ width: 10rem;
1279
+ }
1280
+
1281
+ .qti-width-44 {
1282
+ width: 11rem;
1283
+ }
1284
+
1285
+ .qti-width-48 {
1286
+ width: 12rem;
1287
+ }
1288
+
1289
+ .qti-width-52 {
1290
+ width: 13rem;
1291
+ }
1292
+
1293
+ .qti-width-56 {
1294
+ width: 14rem;
1295
+ }
1296
+
1297
+ .qti-width-60 {
1298
+ width: 15rem;
1299
+ }
1300
+
1301
+ .qti-width-64 {
1302
+ width: 16rem;
1303
+ }
1304
+
1305
+ .qti-width-72 {
1306
+ width: 18rem;
1307
+ }
1308
+
1309
+ .qti-width-80 {
1310
+ width: 20rem;
1311
+ }
1312
+
1313
+ .qti-width-96 {
1314
+ width: 24rem;
1315
+ }
1316
+
1317
+ .qti-width-auto {
1318
+ width: auto;
1319
+ }
1320
+
1321
+ .qti-width-1-2 {
1322
+ width: 50%;
1323
+ }
1324
+
1325
+ .qti-width-1-3 {
1326
+ width: 33.3333%;
1327
+ }
1328
+
1329
+ .qti-width-2-3 {
1330
+ width: 66.6667%;
1331
+ }
1332
+
1333
+ .qti-width-1-4 {
1334
+ width: 25%;
1335
+ }
1336
+
1337
+ .qti-width-2-4 {
1338
+ width: 50%;
1339
+ }
1340
+
1341
+ .qti-width-3-4 {
1342
+ width: 75%;
1343
+ }
1344
+
1345
+ .qti-width-1-5 {
1346
+ width: 20%;
1347
+ }
1348
+
1349
+ .qti-width-2-5 {
1350
+ width: 40%;
1351
+ }
1352
+
1353
+ .qti-width-3-5 {
1354
+ width: 60%;
1355
+ }
1356
+
1357
+ .qti-width-4-5 {
1358
+ width: 80%;
1359
+ }
1360
+
1361
+ .qti-width-1-6 {
1362
+ width: 16.6667%;
1363
+ }
1364
+
1365
+ .qti-width-2-6 {
1366
+ width: 33.3333%;
1367
+ }
1368
+
1369
+ .qti-width-3-6 {
1370
+ width: 50%;
1371
+ }
1372
+
1373
+ .qti-width-4-6 {
1374
+ width: 66.6667%;
1375
+ }
1376
+
1377
+ .qti-width-5-6 {
1378
+ width: 83.3333%;
1379
+ }
1380
+
1381
+ .qti-width-1-12 {
1382
+ width: 8.3333%;
1383
+ }
1384
+
1385
+ .qti-width-2-12 {
1386
+ width: 16.6667%;
1387
+ }
1388
+
1389
+ .qti-width-3-12 {
1390
+ width: 25%;
1391
+ }
1392
+
1393
+ .qti-width-4-12 {
1394
+ width: 33.3333%;
1395
+ }
1396
+
1397
+ .qti-width-5-12 {
1398
+ width: 41.6667%;
1399
+ }
1400
+
1401
+ .qti-width-6-12 {
1402
+ width: 50%;
1403
+ }
1404
+
1405
+ .qti-width-7-12 {
1406
+ width: 58.3333%;
1407
+ }
1408
+
1409
+ .qti-width-8-12 {
1410
+ width: 66.6667%;
1411
+ }
1412
+
1413
+ .qti-width-9-12 {
1414
+ width: 75%;
1415
+ }
1416
+
1417
+ .qti-width-10-12 {
1418
+ width: 83.3333%;
1419
+ }
1420
+
1421
+ .qti-width-11-12 {
1422
+ width: 91.6667%;
1423
+ }
1424
+
1425
+ .qti-width-full,
1426
+ .qti-fullwidth {
1427
+ width: 100%;
1428
+ }
1429
+
1430
+ /* ==================
1431
+ Text Indent styles
1432
+ ================== */
1433
+
1434
+ .qti-text-indent-0 {
1435
+ text-indent: 0;
1436
+ }
1437
+
1438
+ .qti-text-indent-px {
1439
+ text-indent: 1px;
1440
+ }
1441
+
1442
+ .qti-text-indent-0p5 {
1443
+ text-indent: 0.125rem;
1444
+ }
1445
+
1446
+ .qti-text-indent-1 {
1447
+ text-indent: 0.25rem;
1448
+ }
1449
+
1450
+ .qti-text-indent-1p5 {
1451
+ text-indent: 0.375rem;
1452
+ }
1453
+
1454
+ .qti-text-indent-2 {
1455
+ text-indent: 0.5rem;
1456
+ }
1457
+
1458
+ .qti-text-indent-2p5 {
1459
+ text-indent: 0.625rem;
1460
+ }
1461
+
1462
+ .qti-text-indent-3 {
1463
+ text-indent: 0.75rem;
1464
+ }
1465
+
1466
+ .qti-text-indent-3p5 {
1467
+ text-indent: 0.875rem;
1468
+ }
1469
+
1470
+ .qti-text-indent-4 {
1471
+ text-indent: 1rem;
1472
+ }
1473
+
1474
+ .qti-text-indent-5 {
1475
+ text-indent: 1.25rem;
1476
+ }
1477
+
1478
+ .qti-text-indent-6 {
1479
+ text-indent: 1.5rem;
1480
+ }
1481
+
1482
+ .qti-text-indent-7 {
1483
+ text-indent: 1.75rem;
1484
+ }
1485
+
1486
+ .qti-text-indent-8 {
1487
+ text-indent: 2rem;
1488
+ }
1489
+
1490
+ .qti-text-indent-12 {
1491
+ text-indent: 3rem;
1492
+ }
1493
+
1494
+ .qti-text-indent-16 {
1495
+ text-indent: 4rem;
1496
+ }
1497
+
1498
+ .qti-text-indent-20 {
1499
+ text-indent: 5rem;
1500
+ }
1501
+
1502
+ .qti-text-indent-24 {
1503
+ text-indent: 6rem;
1504
+ }
1505
+
1506
+ .qti-text-indent-28 {
1507
+ text-indent: 7rem;
1508
+ }
1509
+
1510
+ .qti-text-indent-32 {
1511
+ text-indent: 8rem;
1512
+ }
1513
+
1514
+ /* =================
1515
+ List Style styles
1516
+ ================= */
1517
+
1518
+ .qti-list-style-type-none {
1519
+ list-style-type: none;
1520
+ }
1521
+
1522
+ .qti-list-style-type-disc {
1523
+ list-style-type: disc;
1524
+ }
1525
+
1526
+ .qti-list-style-type-circle {
1527
+ list-style-type: circle;
1528
+ }
1529
+
1530
+ .qti-list-style-type-square {
1531
+ list-style-type: square;
1532
+ }
1533
+
1534
+ .qti-list-style-type-decimal {
1535
+ list-style-type: decimal;
1536
+ }
1537
+
1538
+ .qti-list-style-type-decimal-leading-zero {
1539
+ list-style-type: decimal-leading-zero;
1540
+ }
1541
+
1542
+ .qti-list-style-type-lower-alpha {
1543
+ list-style-type: lower-alpha;
1544
+ }
1545
+
1546
+ .qti-list-style-type-upper-alpha {
1547
+ list-style-type: upper-alpha;
1548
+ }
1549
+
1550
+ .qti-list-style-type-lower-roman {
1551
+ list-style-type: lower-roman;
1552
+ }
1553
+
1554
+ .qti-list-style-type-upper-roman {
1555
+ list-style-type: upper-roman;
1556
+ }
1557
+
1558
+ .qti-list-style-type-lower-latin {
1559
+ list-style-type: lower-latin;
1560
+ }
1561
+
1562
+ .qti-list-style-type-upper-latin {
1563
+ list-style-type: upper-latin;
1564
+ }
1565
+
1566
+ .qti-list-style-type-lower-greek {
1567
+ list-style-type: lower-greek;
1568
+ }
1569
+
1570
+ .qti-list-style-type-arabic-indic {
1571
+ list-style-type: arabic-indic;
1572
+ }
1573
+
1574
+ .qti-list-style-type-armenian {
1575
+ list-style-type: armenian;
1576
+ }
1577
+
1578
+ .qti-list-style-type-lower-armenian {
1579
+ list-style-type: lower-armenian;
1580
+ }
1581
+
1582
+ .qti-list-style-type-upper-armenian {
1583
+ list-style-type: upper-armenian;
1584
+ }
1585
+
1586
+ .qti-list-style-type-bengali {
1587
+ list-style-type: bengali;
1588
+ }
1589
+
1590
+ .qti-list-style-type-cambodian {
1591
+ list-style-type: cambodian;
1592
+ }
1593
+
1594
+ .qti-list-style-type-simp-chinese-formal {
1595
+ list-style-type: simp-chinese-formal;
1596
+ }
1597
+
1598
+ .qti-list-style-type-simp-chinese-informal {
1599
+ list-style-type: simp-chinese-informal;
1600
+ }
1601
+
1602
+ .qti-list-style-type-trad-chinese-formal {
1603
+ list-style-type: trad-chinese-formal;
1604
+ }
1605
+
1606
+ .qti-list-style-type-trad-chinese-informal {
1607
+ list-style-type: trad-chinese-informal;
1608
+ }
1609
+
1610
+ .qti-list-style-type-cjk-ideographic {
1611
+ list-style-type: cjk-ideographic;
1612
+ }
1613
+
1614
+ .qti-list-style-type-cjk-heavenly-stem {
1615
+ list-style-type: cjk-heavenly-stem;
1616
+ }
1617
+
1618
+ .qti-list-style-type-cjk-earthly-branch {
1619
+ list-style-type: cjk-earthly-branch;
1620
+ }
1621
+
1622
+ .qti-list-style-type-devanagari {
1623
+ list-style-type: devanagari;
1624
+ }
1625
+
1626
+ .qti-list-style-type-ethiopic-halehame-ti-er {
1627
+ list-style-type: ethiopic-halehame-ti-er;
1628
+ }
1629
+
1630
+ .qti-list-style-type-ethiopic-halehame-ti-et {
1631
+ list-style-type: ethiopic-halehame-ti-et;
1632
+ }
1633
+
1634
+ .qti-list-style-type-ethiopic-halehame-am {
1635
+ list-style-type: ethiopic-halehame-am;
1636
+ }
1637
+
1638
+ .qti-list-style-type-ethiopic-halehame {
1639
+ list-style-type: ethiopic-halehame;
1640
+ }
1641
+
1642
+ .qti-list-style-type-georgian {
1643
+ list-style-type: georgian;
1644
+ }
1645
+
1646
+ .qti-list-style-type-gujarati {
1647
+ list-style-type: gujarati;
1648
+ }
1649
+
1650
+ .qti-list-style-type-gurmukhi {
1651
+ list-style-type: gurmukhi;
1652
+ }
1653
+
1654
+ .qti-list-style-type-hangul {
1655
+ list-style-type: hangul;
1656
+ }
1657
+
1658
+ .qti-list-style-type-hangul-consonant {
1659
+ list-style-type: hangul-consonant;
1660
+ }
1661
+
1662
+ .qti-list-style-type-hebrew {
1663
+ list-style-type: hebrew;
1664
+ }
1665
+
1666
+ .qti-list-style-type-hiragana {
1667
+ list-style-type: hiragana;
1668
+ }
1669
+
1670
+ .qti-list-style-type-hiragana-iroha {
1671
+ list-style-type: hiragana-iroha;
1672
+ }
1673
+
1674
+ .qti-list-style-type-khmer {
1675
+ list-style-type: khmer;
1676
+ }
1677
+
1678
+ .qti-list-style-type-korean-hangul-formal {
1679
+ list-style-type: korean-hangul-formal;
1680
+ }
1681
+
1682
+ .qti-list-style-type-korean-hanja-formal {
1683
+ list-style-type: korean-hanja-formal;
1684
+ }
1685
+
1686
+ .qti-list-style-type-korean-hanja-informal {
1687
+ list-style-type: korean-hanja-informal;
1688
+ }
1689
+
1690
+ .qti-list-style-type-lao {
1691
+ list-style-type: lao;
1692
+ }
1693
+
1694
+ .qti-list-style-type-malayalam {
1695
+ list-style-type: malayalam;
1696
+ }
1697
+
1698
+ .qti-list-style-type-mongolian {
1699
+ list-style-type: mongolian;
1700
+ }
1701
+
1702
+ .qti-list-style-type-myanmar {
1703
+ list-style-type: myanmar;
1704
+ }
1705
+
1706
+ .qti-list-style-type-oriya {
1707
+ list-style-type: oriya;
1708
+ }
1709
+
1710
+ .qti-list-style-type-persian {
1711
+ list-style-type: persian;
1712
+ }
1713
+
1714
+ .qti-list-style-type-thai {
1715
+ list-style-type: thai;
1716
+ }
1717
+
1718
+ .qti-list-style-type-tibetan {
1719
+ list-style-type: tibetan;
1720
+ }
1721
+
1722
+ .qti-list-style-type-telugu {
1723
+ list-style-type: telugu;
1724
+ }
1725
+
1726
+ .qti-list-style-type-urdu {
1727
+ list-style-type: urdu;
1728
+ }
1729
+
1730
+ /* =========================
1731
+ Other QTI 3 Presentation Utilities
1732
+ ========================= */
1733
+
1734
+ .qti-bordered {
1735
+ border: 1px solid var(--table-border-color);
1736
+ }
1737
+
1738
+ .qti-underline {
1739
+ text-decoration: underline;
1740
+ text-decoration-color: var(--foreground);
1741
+ }
1742
+
1743
+ .qti-italic {
1744
+ font-style: italic;
1745
+ }
1746
+
1747
+ .qti-well {
1748
+ min-height: 20px;
1749
+ padding: 19px;
1750
+ margin-bottom: 20px;
1751
+ background-color: var(--well-bg);
1752
+ border: var(--well-border);
1753
+ border-radius: 4px;
1754
+ box-shadow: var(--well-box-shadow);
1755
+ }
1756
+
1757
+ /* Set writing-mode to vertical-rl
1758
+ Typical for CJK vertical text */
1759
+
1760
+ .qti-writing-mode-vertical-rl {
1761
+ writing-mode: vertical-rl;
1762
+ }
1763
+
1764
+ /* Set writing-mode to vertical-lr
1765
+ Typical for Mongolian vertical text */
1766
+
1767
+ .qti-writing-mode-vertical-lr {
1768
+ writing-mode: vertical-lr;
1769
+ }
1770
+
1771
+ /* Set writing-mode to horizontal-tb
1772
+ Browser default */
1773
+
1774
+ .qti-writing-mode-horizontal-tb {
1775
+ writing-mode: horizontal-tb;
1776
+ }
1777
+
1778
+ /* Float an element left */
1779
+
1780
+ .qti-float-left {
1781
+ float: left;
1782
+ }
1783
+
1784
+ /* Float an element right */
1785
+
1786
+ .qti-float-right {
1787
+ float: right;
1788
+ }
1789
+
1790
+ /* Remove a float */
1791
+
1792
+ .qti-float-none {
1793
+ float: none;
1794
+ }
1795
+
1796
+ /* Clearfix Hack to apply to a container of
1797
+ floated content that overflows the container. */
1798
+
1799
+ .qti-float-clearfix::after {
1800
+ content: '';
1801
+ clear: both;
1802
+ display: table;
1803
+ }
1804
+
1805
+ .qti-float-clear-left
1806
+ .qti-float-clear-right
1807
+ .qti-float-clear-both
1808
+
1809
+ /* Set text-orientation to upright */
1810
+ .qti-text-orientation-upright {
1811
+ text-orientation: upright;
1812
+ }
1813
+
1814
+ /* stylelint-disable number-max-precision */
1815
+
1816
+ @layer qti-base {
1817
+ .qti-layout-row {
1818
+ display: flex;
1819
+ flex-wrap: wrap;
1820
+ width: 100%;
1821
+ gap: 2.1276595745%;
1822
+ }
1823
+
1824
+ .qti-layout-row [class*='qti-layout-col']:not(:empty) {
1825
+ box-sizing: border-box;
1826
+ }
1827
+
1828
+ .qti-layout-row [class*='qti-layout-col']:empty {
1829
+ width: 0;
1830
+ overflow: hidden; /* to fully collapse if there\u2019s padding or borders */
1831
+ }
1832
+
1833
+ .qti-layout-col1 {
1834
+ width: 6.3829787234%;
1835
+ }
1836
+
1837
+ .qti-layout-col2 {
1838
+ width: 14.8936170213%;
1839
+ }
1840
+
1841
+ .qti-layout-col3 {
1842
+ width: 23.4042553191%;
1843
+ }
1844
+
1845
+ .qti-layout-col4 {
1846
+ width: 31.914893617%;
1847
+ }
1848
+
1849
+ .qti-layout-col5 {
1850
+ width: 40.4255319149%;
1851
+ }
1852
+
1853
+ .qti-layout-col6 {
1854
+ width: 48.9361702128%;
1855
+ }
1856
+
1857
+ .qti-layout-col7 {
1858
+ width: 57.4468085106%;
1859
+ }
1860
+
1861
+ .qti-layout-col8 {
1862
+ width: 65.9574468085%;
1863
+ }
1864
+
1865
+ .qti-layout-col9 {
1866
+ width: 74.4680851064%;
1867
+ }
1868
+
1869
+ .qti-layout-col10 {
1870
+ width: 82.9787234043%;
1871
+ }
1872
+
1873
+ .qti-layout-col11 {
1874
+ width: 91.4893617021%;
1875
+ }
1876
+
1877
+ .qti-layout-col12 {
1878
+ width: 100%;
1879
+ }
1880
+
1881
+ .qti-layout-offset1 {
1882
+ margin-left: 8.5106382979%;
1883
+ }
1884
+
1885
+ .qti-layout-offset2 {
1886
+ margin-left: 17.0212765957%;
1887
+ }
1888
+
1889
+ .qti-layout-offset3 {
1890
+ margin-left: 25.5319148936%;
1891
+ }
1892
+
1893
+ .qti-layout-offset4 {
1894
+ margin-left: 34.0425531915%;
1895
+ }
1896
+
1897
+ .qti-layout-offset5 {
1898
+ margin-left: 42.5531914894%;
1899
+ }
1900
+
1901
+ .qti-layout-offset6 {
1902
+ margin-left: 51.0638297872%;
1903
+ }
1904
+
1905
+ .qti-layout-offset7 {
1906
+ margin-left: 59.5744680851%;
1907
+ }
1908
+
1909
+ .qti-layout-offset8 {
1910
+ margin-left: 68.085106383%;
1911
+ }
1912
+
1913
+ .qti-layout-offset9 {
1914
+ margin-left: 76.5957446809%;
1915
+ }
1916
+
1917
+ .qti-layout-offset10 {
1918
+ margin-left: 85.1063829787%;
1919
+ }
1920
+
1921
+ .qti-layout-offset11 {
1922
+ margin-left: 93.6170212766%;
1923
+ }
1924
+
1925
+ .qti-layout-offset12 {
1926
+ margin-left: 102.1276595745%;
1927
+ }
1928
+
1929
+ @media (width <= 767px) {
1930
+ [class*='qti-layout-col'] {
1931
+ width: 100%;
1932
+ }
1933
+ }
1934
+ }
1935
+
1936
+ [view],
1937
+ qti-outcome-declaration,
1938
+ qti-response-declaration {
1939
+ display: none;
1940
+ }
1941
+
1942
+ [view].show {
1943
+ display: block;
1944
+ }
1945
+
1946
+ :host {
1947
+ box-sizing: border-box;
1948
+ }
1949
+
1950
+ *,
1951
+ *::before,
1952
+ *::after {
1953
+ box-sizing: inherit;
1954
+ }
1955
+
1956
+ /* components */
1957
+
1958
+ @layer qti-components {
1959
+ qti-choice-interaction {
1960
+ &.qti-input-control-hidden {
1961
+ & qti-simple-choice {
1962
+
1963
+ &:hover {
1964
+ background-color: var(--qti-hover-bg);
1965
+ }
1966
+
1967
+ &:focus {
1968
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
1969
+ }
1970
+
1971
+ &::part(ch) {
1972
+ display: none;
1973
+ }
1974
+
1975
+ &:state(--checked),
1976
+ &[aria-checked='true'] {
1977
+ border-color: var(--qti-border-active);
1978
+ background-color: var(--qti-bg-active);
1979
+ }
1980
+
1981
+ &:state(readonly),
1982
+ &[aria-readonly='true'] {
1983
+ cursor: pointer;
1984
+ background-color: var(--qti-bg);
1985
+ outline: 0;
1986
+ border: none;
1987
+ }
1988
+
1989
+ &:state(disabled),
1990
+ &[aria-disabled='true'] {
1991
+ cursor: not-allowed;
1992
+ background-color: var(--qti-disabled-bg);
1993
+ color: var(--qti-disabled-color);
1994
+ border-color: var(--qti-border-color);
1995
+ outline: 4px solid var(--qti-disabled-bg);
1996
+ }
1997
+
1998
+ border-radius: var(--qti-border-radius);
1999
+
2000
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2001
+
2002
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2003
+
2004
+ outline: none
2005
+ }
2006
+ }
2007
+
2008
+ &:not(.qti-input-control-hidden) {
2009
+ & qti-simple-choice {
2010
+
2011
+ &:not([aria-disabled='true'], [aria-readonly='true'], :state(--checked)):hover {
2012
+ background-color: var(--qti-hover-bg);
2013
+ }
2014
+
2015
+ &:focus {
2016
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2017
+ }
2018
+
2019
+ &:state(--checked),
2020
+ &[aria-checked='true'] {
2021
+ border-color: var(--qti-border-active);
2022
+ background-color: var(--qti-bg-active);
2023
+ }
2024
+
2025
+ &:state(readonly),
2026
+ &[aria-readonly='true'] {
2027
+ cursor: pointer;
2028
+ background-color: var(--qti-bg);
2029
+ outline: 0;
2030
+ border: none;
2031
+ }
2032
+
2033
+ &:state(disabled),
2034
+ &[aria-disabled='true'] {
2035
+ cursor: not-allowed;
2036
+ background-color: var(--qti-disabled-bg);
2037
+ color: var(--qti-disabled-color);
2038
+ border-color: var(--qti-border-color);
2039
+ outline: 4px solid var(--qti-disabled-bg);
2040
+ }
2041
+
2042
+ &::part(cha) {
2043
+ width: calc(var(--qti-form-size) - 6px);
2044
+ height: calc(var(--qti-form-size) - 6px);
2045
+ }
2046
+
2047
+ &:state(radio)::part(ch) {
2048
+ border-radius: 100%;
2049
+ display: grid;
2050
+ place-content: center;
2051
+ width: var(--qti-form-size);
2052
+ height: var(--qti-form-size);
2053
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2054
+ outline: none;
2055
+ }
2056
+
2057
+ &:state(radio):state(--checked)::part(cha) {
2058
+ background-color: var(--qti-border-active);
2059
+ border-radius: 100%;
2060
+ }
2061
+
2062
+ &:state(checkbox)::part(ch) {
2063
+ display: flex;
2064
+ place-items: center;
2065
+ border-radius: var(--qti-border-radius);
2066
+ display: grid;
2067
+ place-content: center;
2068
+ width: var(--qti-form-size);
2069
+ height: var(--qti-form-size);
2070
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2071
+ outline: none;
2072
+ }
2073
+
2074
+ &:state(checkbox):state(--checked)::part(cha) {
2075
+ background-color: var(--qti-border-active);
2076
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
2077
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
2078
+ }
2079
+
2080
+ gap: 0.5rem;
2081
+
2082
+ border-radius: var(--qti-border-radius);
2083
+
2084
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2085
+
2086
+ outline: none;
2087
+
2088
+ cursor: pointer
2089
+ }
2090
+ }
2091
+
2092
+ & qti-simple-choice {
2093
+ width: -moz-fit-content;
2094
+ width: fit-content;
2095
+ cursor: pointer;
2096
+
2097
+ &:state(correct-response),
2098
+ &[data-correct-response='true'] {
2099
+ &::after {
2100
+ content: '\\02714';
2101
+ color: #16a34a; /* text-green-600 */
2102
+ }
2103
+ }
2104
+ }
2105
+
2106
+ & qti-simple-choice > p {
2107
+ margin: 0 !important;
2108
+ padding: 0 !important;
2109
+ }
2110
+ }
2111
+
2112
+ .hover-border {
2113
+ border: 2px solid #000; /* Adjust the border style and color as needed */
2114
+ }
2115
+
2116
+ qti-graphic-gap-match-interaction {
2117
+ position: relative;
2118
+
2119
+ &.qti-selections-light {
2120
+ &:state(--dragzone-active)::part(drags) {
2121
+ background-color: var(--qti-light-bg-active);
2122
+ border-color: var(--qti-light-border-active);
2123
+ }
2124
+
2125
+ &:state(--dragzone-enabled)::part(drags) {
2126
+ background-color: var(--qti-light-bg-active);
2127
+ }
2128
+ }
2129
+
2130
+ &.qti-selections-dark {
2131
+ &:state(--dragzone-active)::part(drags) {
2132
+ background-color: var(--qti-dark-bg-active);
2133
+ border-color: var(--qti-dark-border-active);
2134
+ }
2135
+
2136
+ &:state(--dragzone-enabled)::part(drags) {
2137
+ background-color: var(--qti-dark-bg-active);
2138
+ }
2139
+ }
2140
+
2141
+ /* General styles for active and enabled states */
2142
+ &:state(--dragzone-active)::part(drags) {
2143
+ border-color: var(--qti-border-active);
2144
+ background-color: var(--qti-bg-active);
2145
+ }
2146
+
2147
+ &:state(--dragzone-enabled)::part(drags) {
2148
+ background-color: var(--qti-bg-active);
2149
+ }
2150
+
2151
+ & qti-gap-img,
2152
+ qti-gap-text {
2153
+ display: flex;
2154
+ justify-content: center;
2155
+ align-items: center;
2156
+ cursor: grab;
2157
+ }
2158
+
2159
+ & qti-associable-hotspot {
2160
+ display: flex;
2161
+ justify-content: center;
2162
+ align-items: center;
2163
+ border: 2px solid transparent;
2164
+
2165
+ &[enabled] {
2166
+
2167
+ /* Light theme override */
2168
+ .qti-selections-light {
2169
+ background-color: var(--qti-light-bg-active);
2170
+ }
2171
+
2172
+ /* Dark theme override */
2173
+ .qti-selections-dark {
2174
+ background-color: var(--qti-dark-bg-active);
2175
+ }
2176
+ background-color: var(--qti-bg-active)
2177
+ }
2178
+
2179
+ &[active] {
2180
+
2181
+ /* Light theme override */
2182
+ .qti-selections-light {
2183
+ background-color: var(--qti-light-bg-active);
2184
+ border-color: var(--qti-light-border-active);
2185
+ }
2186
+
2187
+ /* Dark theme override */
2188
+ .qti-selections-dark {
2189
+ background-color: var(--qti-dark-bg-active);
2190
+ border-color: var(--qti-dark-border-active);
2191
+ }
2192
+ border-color: var(--qti-border-active);
2193
+ background-color: var(--qti-bg-active)
2194
+ }
2195
+
2196
+ &[disabled] {
2197
+
2198
+ &:not(:empty) {
2199
+ cursor: default !important;
2200
+ }
2201
+
2202
+ cursor: not-allowed;
2203
+
2204
+ background-color: var(--qti-disabled-bg);
2205
+
2206
+ color: var(--qti-disabled-color);
2207
+
2208
+ border-color: var(--qti-border-color);
2209
+
2210
+ outline: 4px solid var(--qti-disabled-bg)
2211
+ }
2212
+
2213
+ &:empty::after {
2214
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2215
+ content: '\\0000a0'; /* when empty, put a space in it */
2216
+ }
2217
+
2218
+ &:not(:empty) {
2219
+ padding: 0;
2220
+ width: auto;
2221
+ }
2222
+
2223
+ &:not(:empty) > * {
2224
+ flex: 1;
2225
+ transform: rotate(0); /* rotate-0 */
2226
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2227
+ }
2228
+ }
2229
+
2230
+ & img {
2231
+ margin: 0;
2232
+ padding: 0;
2233
+ }
2234
+ }
2235
+
2236
+ qti-text-entry-interaction {
2237
+ &::part(input) {
2238
+ border-radius: 0;
2239
+ cursor: text;
2240
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2241
+ background: unset;
2242
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2243
+ outline: none;
2244
+ }
2245
+
2246
+ &:hover {
2247
+ background-color: var(--qti-hover-bg);
2248
+ }
2249
+
2250
+ &:focus-within {
2251
+ &::part(input) {
2252
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2253
+ border-color: var(--qti-border-active);
2254
+ }
2255
+ }
2256
+ }
2257
+
2258
+ qti-extended-text-interaction {
2259
+ &::part(textarea) {
2260
+ border-radius: 0;
2261
+ cursor: text;
2262
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2263
+ background: unset;
2264
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2265
+ outline: none;
2266
+ }
2267
+
2268
+ &:hover {
2269
+ background-color: var(--qti-hover-bg);
2270
+ }
2271
+
2272
+ &:focus-within {
2273
+ &::part(textarea) {
2274
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2275
+ border-color: var(--qti-border-active);
2276
+ }
2277
+ }
2278
+ }
2279
+
2280
+ qti-gap-match-interaction {
2281
+ &.qti-selections-light {
2282
+ &:state(--dragzone-active)::part(drags) {
2283
+ background-color: var(--qti-light-bg-active);
2284
+ border-color: var(--qti-light-border-active);
2285
+ }
2286
+
2287
+ &:state(--dragzone-enabled)::part(drags) {
2288
+ background-color: var(--qti-light-bg-active);
2289
+ }
2290
+ }
2291
+
2292
+ &.qti-selections-dark {
2293
+ &:state(--dragzone-active)::part(drags) {
2294
+ background-color: var(--qti-dark-bg-active);
2295
+ border-color: var(--qti-dark-border-active);
2296
+ }
2297
+
2298
+ &:state(--dragzone-enabled)::part(drags) {
2299
+ background-color: var(--qti-dark-bg-active);
2300
+ }
2301
+ }
2302
+
2303
+ /* General styles for active and enabled states */
2304
+ &:state(--dragzone-active)::part(drags) {
2305
+ border-color: var(--qti-border-active);
2306
+ background-color: var(--qti-bg-active);
2307
+ }
2308
+
2309
+ &:state(--dragzone-enabled)::part(drags) {
2310
+ background-color: var(--qti-bg-active);
2311
+ }
2312
+
2313
+ & qti-gap-text {
2314
+
2315
+ &[dragging] {
2316
+ pointer-events: none;
2317
+ rotate: -2deg;
2318
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2319
+ 0 4px 8px rgb(0 0 0 / 10%);
2320
+ }
2321
+
2322
+ &:hover {
2323
+ background-color: var(--qti-hover-bg);
2324
+ }
2325
+
2326
+ &:focus {
2327
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2328
+ }
2329
+
2330
+ transition: transform 200ms ease-out,
2331
+ box-shadow 200ms ease-out,
2332
+ rotate 200ms ease-out;
2333
+
2334
+ cursor: grab;
2335
+
2336
+ background-color: var(--qti-bg);
2337
+
2338
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2339
+
2340
+ border-radius: var(--qti-border-radius);
2341
+
2342
+ padding-left: calc(var(--qti-padding-horizontal) + 0.5rem);
2343
+
2344
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2345
+
2346
+ outline: none;
2347
+
2348
+ background-image: radial-gradient(
2349
+ circle at center,
2350
+ rgb(0 0 0 / 10%) 0,
2351
+ rgb(0 0 0 / 20%) 2px,
2352
+ rgb(255 255 255 / 0%) 2px,
2353
+ rgb(255 255 255 / 0%) 100%
2354
+ );
2355
+
2356
+ background-repeat: repeat-y;
2357
+
2358
+ background-position: left center;
2359
+
2360
+ background-size: 14px 8px
2361
+ }
2362
+
2363
+ & qti-gap {
2364
+
2365
+ &[disabled] {
2366
+
2367
+ &:not(:empty) {
2368
+ cursor: default !important;
2369
+ }
2370
+
2371
+ cursor: not-allowed;
2372
+
2373
+ background-color: var(--qti-disabled-bg);
2374
+
2375
+ color: var(--qti-disabled-color);
2376
+
2377
+ border-color: var(--qti-border-color);
2378
+
2379
+ outline: 4px solid var(--qti-disabled-bg)
2380
+ }
2381
+
2382
+ &[enabled] {
2383
+
2384
+ /* Light theme override */
2385
+ .qti-selections-light {
2386
+ border-color: var(--qti-light-border-active);
2387
+ }
2388
+
2389
+ /* Dark theme override */
2390
+ .qti-selections-dark {
2391
+ border-color: var(--qti-dark-border-active);
2392
+ }
2393
+ background-color: var(--qti-bg-active)
2394
+ }
2395
+
2396
+ &[active] {
2397
+
2398
+ /* Light theme override */
2399
+ .qti-selections-light {
2400
+ background-color: var(--qti-light-bg-active);
2401
+ border-color: var(--qti-light-border-active);
2402
+ }
2403
+
2404
+ /* Dark theme override */
2405
+ .qti-selections-dark {
2406
+ background-color: var(--qti-dark-bg-active);
2407
+ border-color: var(--qti-dark-border-active);
2408
+ }
2409
+ border-color: var(--qti-border-active);
2410
+ background-color: var(--qti-bg-active)
2411
+ }
2412
+
2413
+ display: inline-flex;
2414
+ align-items: center;
2415
+
2416
+ &:empty::after {
2417
+ padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
2418
+ content: '\\0000a0'; /* when empty, put a space in it */
2419
+ }
2420
+
2421
+ &:not(:empty) {
2422
+ display: inline-flex;
2423
+ padding: 0;
2424
+ width: auto;
2425
+ }
2426
+
2427
+ &:not(:empty) > * {
2428
+ flex: 1;
2429
+ transform: rotate(0); /* rotate-0 */
2430
+ box-shadow: 0 0 0 1px #e5e7eb; /* ring-gray-200 */
2431
+ }
2432
+
2433
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
2434
+ center no-repeat;
2435
+
2436
+ border-radius: var(--qti-border-radius);
2437
+
2438
+ position: relative;
2439
+
2440
+ background-color: var(--qti-bg);
2441
+
2442
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2443
+
2444
+ outline: none
2445
+ }
2446
+ }
2447
+
2448
+ qti-hotspot-interaction {
2449
+ & qti-hotspot-choice {
2450
+ &[shape='circle'] {
2451
+
2452
+ &:hover {
2453
+ background-color: var(--qti-hover-bg);
2454
+ }
2455
+
2456
+ &:focus {
2457
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2458
+ }
2459
+
2460
+ &:state(--checked),
2461
+ &[aria-checked='true'] {
2462
+ border-color: var(--qti-border-active);
2463
+ }
2464
+
2465
+ &:state(--readonly),
2466
+ &[aria-readonly='true'] {
2467
+ cursor: pointer;
2468
+ background-color: var(--qti-bg);
2469
+ outline: 0;
2470
+ border: none;
2471
+ }
2472
+
2473
+ &:state(--disabled),
2474
+ &[aria-disabled='true'] {
2475
+ cursor: not-allowed;
2476
+ background-color: var(--qti-disabled-bg);
2477
+ color: var(--qti-disabled-color);
2478
+ border-color: var(--qti-border-color);
2479
+ outline: 4px solid var(--qti-disabled-bg);
2480
+ }
2481
+
2482
+ width: 100%;
2483
+
2484
+ height: 100%;
2485
+
2486
+ background-color: transparent;
2487
+
2488
+ padding: 0;
2489
+
2490
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2491
+
2492
+ outline: none
2493
+ }
2494
+
2495
+ &[shape='rect'] {
2496
+
2497
+ /* &:hover {
2498
+ @apply hov;
2499
+ } */
2500
+
2501
+ &:focus {
2502
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2503
+ }
2504
+
2505
+ &:state(--checked),
2506
+ &[aria-checked='true'] {
2507
+ border-color: var(--qti-border-active);
2508
+ }
2509
+
2510
+ &[aria-readonly='true'] {
2511
+ cursor: pointer;
2512
+ background-color: var(--qti-bg);
2513
+ outline: 0;
2514
+ border: none;
2515
+ }
2516
+
2517
+ &[aria-disabled='true'] {
2518
+ cursor: not-allowed;
2519
+ background-color: var(--qti-disabled-bg);
2520
+ color: var(--qti-disabled-color);
2521
+ border-color: var(--qti-border-color);
2522
+ outline: 4px solid var(--qti-disabled-bg);
2523
+ }
2524
+
2525
+ width: 100%;
2526
+
2527
+ height: 100%;
2528
+
2529
+ background-color: transparent;
2530
+
2531
+ padding: 0;
2532
+
2533
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2534
+
2535
+ outline: none
2536
+ }
2537
+
2538
+ &[shape='poly'] {
2539
+ &:hover::after {
2540
+ content: '';
2541
+ width: 100%;
2542
+ height: 100%;
2543
+ background: repeating-linear-gradient(
2544
+ 45deg,
2545
+ var(--qti-border-active),
2546
+ var(--qti-border-active) 5px,
2547
+ transparent 5px,
2548
+ transparent 10px
2549
+ );
2550
+ display: block;
2551
+ }
2552
+
2553
+ &:state(--checked)::after,
2554
+ &[aria-checked='true']::after {
2555
+ content: '';
2556
+ width: 100%;
2557
+ height: 100%;
2558
+ background: repeating-linear-gradient(
2559
+ 45deg,
2560
+ transparent,
2561
+ transparent 5px,
2562
+ var(--qti-border-active) 5px,
2563
+ var(--qti-border-active) 10px
2564
+ );
2565
+ display: block;
2566
+ }
2567
+
2568
+ &[aria-readonly='true'] {
2569
+ cursor: pointer;
2570
+ background-color: var(--qti-bg);
2571
+ outline: 0;
2572
+ border: none;
2573
+ }
2574
+
2575
+ &[aria-disabled='true'] {
2576
+ cursor: not-allowed;
2577
+ background-color: var(--qti-disabled-bg);
2578
+ color: var(--qti-disabled-color);
2579
+ border-color: var(--qti-border-color);
2580
+ outline: 4px solid var(--qti-disabled-bg);
2581
+ }
2582
+ }
2583
+ }
2584
+ }
2585
+
2586
+ qti-hottext-interaction {
2587
+ /* &:not(.qti-input-control-hidden),
2588
+ &:not(.qti-unselected-hidden) { */
2589
+ qti-hottext {
2590
+ display: inline-flex;
2591
+ align-items: center;
2592
+
2593
+ &:hover {
2594
+ background-color: var(--qti-hover-bg);
2595
+ }
2596
+
2597
+ &:focus {
2598
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2599
+ }
2600
+
2601
+ &::part(cha) {
2602
+ width: calc(var(--qti-form-size) - 6px);
2603
+ height: calc(var(--qti-form-size) - 6px);
2604
+ }
2605
+
2606
+ &:state(radio)::part(ch) {
2607
+ border-radius: 100%;
2608
+ display: grid;
2609
+ place-content: center;
2610
+ width: var(--qti-form-size);
2611
+ height: var(--qti-form-size);
2612
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2613
+ outline: none;
2614
+ }
2615
+
2616
+ &:state(radio):state(--checked)::part(cha) {
2617
+ background-color: var(--qti-border-active);
2618
+ border-radius: 100%;
2619
+ }
2620
+
2621
+ &:state(checkbox)::part(ch) {
2622
+ display: flex;
2623
+ place-items: center;
2624
+ border-radius: var(--qti-border-radius);
2625
+ display: grid;
2626
+ place-content: center;
2627
+ width: var(--qti-form-size);
2628
+ height: var(--qti-form-size);
2629
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2630
+ outline: none;
2631
+ }
2632
+
2633
+ &:state(checkbox):state(--checked)::part(cha) {
2634
+ background-color: var(--qti-border-active);
2635
+ -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
2636
+ mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' width='100%' height='100%' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z'/%3E%3C/svg%3E");
2637
+ }
2638
+
2639
+ &:state(correct-response),
2640
+ &[data-correct-response='true'] {
2641
+ &::after {
2642
+ content: '\\02714';
2643
+ color: #16a34a; /* text-green-600 */
2644
+ }
2645
+ }
2646
+
2647
+ gap: 0.5rem;
2648
+
2649
+ border-radius: var(--qti-border-radius);
2650
+
2651
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2652
+
2653
+ outline: none;
2654
+
2655
+ cursor: pointer
2656
+ }
2657
+
2658
+ &.qti-input-control-hidden {
2659
+ qti-hottext {
2660
+ /* --qti-padding-md: 0.1rem;
2661
+ --qti-padding-lg: 0.2rem;
2662
+ --qti-border-radius-md: 0.3rem;
2663
+ --qti-border-thickness: 1px;
2664
+ --qti-font-weight-semibold: 400; */
2665
+
2666
+ &:hover {
2667
+ background-color: var(--qti-hover-bg);
2668
+ }
2669
+
2670
+ &:focus {
2671
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2672
+ }
2673
+
2674
+ /* @layer qti-variants { */
2675
+ &::part(ch) {
2676
+ display: none;
2677
+ }
2678
+
2679
+ &:state(--checked) {
2680
+ border-color: var(--qti-border-active);
2681
+ background-color: var(--qti-bg-active);
2682
+ }
2683
+
2684
+ &[aria-readonly='true'] {
2685
+ cursor: pointer;
2686
+ background-color: var(--qti-bg);
2687
+ outline: 0;
2688
+ border: none;
2689
+ }
2690
+
2691
+ &[aria-disabled='true'] {
2692
+ cursor: not-allowed;
2693
+ background-color: var(--qti-disabled-bg);
2694
+ color: var(--qti-disabled-color);
2695
+ border-color: var(--qti-border-color);
2696
+ outline: 4px solid var(--qti-disabled-bg);
2697
+ }
2698
+
2699
+ border-radius: var(--qti-border-radius);
2700
+
2701
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2702
+
2703
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2704
+
2705
+ outline: none
2706
+ }
2707
+
2708
+ /* } */
2709
+ }
2710
+
2711
+ &.qti-unselected-hidden {
2712
+ qti-hottext {
2713
+ &:hover {
2714
+ background-color: var(--qti-hover-bg);
2715
+ }
2716
+
2717
+ &:focus {
2718
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2719
+ }
2720
+
2721
+ cursor: pointer;
2722
+
2723
+ &::part(ch) {
2724
+ display: none;
2725
+ }
2726
+
2727
+ &:state(--checked) {
2728
+ background-color: var(--qti-bg-active);
2729
+ }
2730
+
2731
+ &[aria-readonly='true'] {
2732
+ cursor: pointer;
2733
+ background-color: var(--qti-bg);
2734
+ outline: 0;
2735
+ border: none;
2736
+ }
2737
+
2738
+ &[aria-disabled='true'] {
2739
+ cursor: not-allowed;
2740
+ background-color: var(--qti-disabled-bg);
2741
+ color: var(--qti-disabled-color);
2742
+ border-color: var(--qti-border-color);
2743
+ outline: 4px solid var(--qti-disabled-bg);
2744
+ }
2745
+ }
2746
+ }
2747
+ }
2748
+
2749
+ qti-inline-choice-interaction {
2750
+ &::part(select) {
2751
+
2752
+ &:hover {
2753
+ background-color: var(--qti-hover-bg);
2754
+ }
2755
+
2756
+ &:focus {
2757
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2758
+ }
2759
+
2760
+ border-radius: var(--qti-border-radius);
2761
+
2762
+ position: relative;
2763
+
2764
+ -webkit-appearance: none;
2765
+
2766
+ -moz-appearance: none;
2767
+
2768
+ appearance: none;
2769
+
2770
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2771
+
2772
+ padding-right: calc(var(--qti-padding-horizontal) + 1.5rem);
2773
+
2774
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2775
+
2776
+ outline: none;
2777
+
2778
+ background: url("data:image/svg+xml,%3Csvg fill='currentColor' width='22' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath clip-rule='evenodd' fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'%3E%3C/path%3E%3C/svg%3E")
2779
+ no-repeat center right 6px
2780
+ }
2781
+ }
2782
+
2783
+ qti-match-interaction:not(.qti-match-tabular) {
2784
+ &:state(--dragzone-enabled) qti-simple-match-set:first-of-type {
2785
+ background-color: var(--qti-bg-active);
2786
+ }
2787
+
2788
+ &:state(--dragzone-active) qti-simple-match-set:first-of-type {
2789
+ border-color: var(--qti-border-active);
2790
+ background-color: var(--qti-bg-active);
2791
+ }
2792
+
2793
+ /* The draggables */
2794
+ & qti-simple-match-set:first-of-type {
2795
+ display: flex;
2796
+ flex-wrap: wrap;
2797
+ align-items: flex-start; /* Prevents children from stretching */
2798
+ gap: var(--qti-gap-size);
2799
+ border: 2px solid transparent;
2800
+
2801
+ & qti-simple-associable-choice {
2802
+
2803
+ &[dragging] {
2804
+ pointer-events: none;
2805
+ rotate: -2deg;
2806
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2807
+ 0 4px 8px rgb(0 0 0 / 10%);
2808
+ }
2809
+
2810
+ &:hover {
2811
+ background-color: var(--qti-hover-bg);
2812
+ }
2813
+
2814
+ &:focus {
2815
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2816
+ }
2817
+
2818
+ transition: transform 200ms ease-out,
2819
+ box-shadow 200ms ease-out,
2820
+ rotate 200ms ease-out;
2821
+
2822
+ cursor: grab;
2823
+
2824
+ background-color: var(--qti-bg);
2825
+
2826
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2827
+
2828
+ border-radius: var(--qti-border-radius);
2829
+
2830
+ padding-left: calc(var(--qti-padding-horizontal) + 0.5rem);
2831
+
2832
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2833
+
2834
+ outline: none;
2835
+
2836
+ background-image: radial-gradient(
2837
+ circle at center,
2838
+ rgb(0 0 0 / 10%) 0,
2839
+ rgb(0 0 0 / 20%) 2px,
2840
+ rgb(255 255 255 / 0%) 2px,
2841
+ rgb(255 255 255 / 0%) 100%
2842
+ );
2843
+
2844
+ background-repeat: repeat-y;
2845
+
2846
+ background-position: left center;
2847
+
2848
+ background-size: 14px 8px
2849
+ }
2850
+ }
2851
+
2852
+ /* The droppables */
2853
+ & qti-simple-match-set:last-of-type {
2854
+ display: grid;
2855
+ grid-auto-columns: 1fr; /* auto-cols-fr */
2856
+ grid-auto-flow: column; /* grid-flow-col */
2857
+ gap: var(--qti-gap-size); /* gap-2 */
2858
+ width: 100%; /* w-full */
2859
+
2860
+ & qti-simple-associable-choice {
2861
+ display: flex;
2862
+ flex-direction: column;
2863
+ }
2864
+
2865
+ & > qti-simple-associable-choice {
2866
+ /* a droppable qti-simple-associable-choice */
2867
+ box-sizing: border-box;
2868
+ display: grid;
2869
+ grid-row: 2 / 4;
2870
+ grid-template-rows: subgrid;
2871
+
2872
+ & img {
2873
+ max-width: 100%;
2874
+ height: auto;
2875
+ }
2876
+
2877
+ &[enabled] {
2878
+ &::part(dropslot) {
2879
+ background-color: var(--qti-bg-active);
2880
+ }
2881
+ }
2882
+
2883
+ &[disabled] {
2884
+ &::part(dropslot) {
2885
+ cursor: not-allowed;
2886
+ background-color: var(--qti-disabled-bg);
2887
+ color: var(--qti-disabled-color);
2888
+ border-color: var(--qti-border-color);
2889
+ outline: 4px solid var(--qti-disabled-bg);
2890
+ }
2891
+ }
2892
+
2893
+ &[active] {
2894
+ &::part(dropslot) {
2895
+ border-color: var(--qti-border-active);
2896
+ background-color: var(--qti-bg-active);
2897
+ }
2898
+ }
2899
+
2900
+ &::part(dropslot) {
2901
+
2902
+ &[dragging] {
2903
+ pointer-events: none;
2904
+ rotate: -2deg;
2905
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
2906
+ 0 4px 8px rgb(0 0 0 / 10%);
2907
+ }
2908
+
2909
+ &:focus {
2910
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2911
+ }
2912
+
2913
+ min-height: 6rem;
2914
+ gap: var(--qti-gap-size);
2915
+ box-sizing: border-box;
2916
+ display: flex;
2917
+ justify-content: center;
2918
+ align-items: center;
2919
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
2920
+ center no-repeat;
2921
+ border-radius: var(--qti-border-radius);
2922
+ position: relative;
2923
+ background-color: var(--qti-bg);
2924
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2925
+ outline: none;
2926
+ }
2927
+
2928
+ & > *:not(qti-simple-associable-choice) {
2929
+ pointer-events: none;
2930
+ }
2931
+
2932
+ & > qti-simple-associable-choice {
2933
+
2934
+ &::part(dropslot) {
2935
+ display: none;
2936
+ }
2937
+
2938
+ &:hover {
2939
+ background-color: var(--qti-hover-bg);
2940
+ }
2941
+
2942
+ &:focus {
2943
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
2944
+ }
2945
+
2946
+ flex-basis: fit-content;
2947
+
2948
+ transition: transform 200ms ease-out,
2949
+ box-shadow 200ms ease-out,
2950
+ rotate 200ms ease-out;
2951
+
2952
+ cursor: grab;
2953
+
2954
+ background-color: var(--qti-bg);
2955
+
2956
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
2957
+
2958
+ border-radius: var(--qti-border-radius);
2959
+
2960
+ padding-left: calc(var(--qti-padding-horizontal) + 0.5rem);
2961
+
2962
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
2963
+
2964
+ outline: none;
2965
+
2966
+ background-image: radial-gradient(
2967
+ circle at center,
2968
+ rgb(0 0 0 / 10%) 0,
2969
+ rgb(0 0 0 / 20%) 2px,
2970
+ rgb(255 255 255 / 0%) 2px,
2971
+ rgb(255 255 255 / 0%) 100%
2972
+ );
2973
+
2974
+ background-repeat: repeat-y;
2975
+
2976
+ background-position: left center;
2977
+
2978
+ background-size: 14px 8px;
2979
+ }
2980
+ }
2981
+ }
2982
+ }
2983
+
2984
+ qti-order-interaction:state(--dragzone-active)::part(drags) {
2985
+ border-color: var(--qti-border-active);
2986
+ background-color: var(--qti-bg-active);
2987
+ }
2988
+
2989
+ qti-order-interaction:state(--dragzone-enabled)::part(drags) {
2990
+ background-color: var(--qti-bg-active);
2991
+ }
2992
+
2993
+ qti-order-interaction {
2994
+ &::part(qti-simple-choice),
2995
+ & qti-simple-choice {
2996
+
2997
+ &[dragging] {
2998
+ pointer-events: none;
2999
+ rotate: -2deg;
3000
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3001
+ 0 4px 8px rgb(0 0 0 / 10%);
3002
+ }
3003
+
3004
+ &:hover {
3005
+ background-color: var(--qti-hover-bg);
3006
+ }
3007
+
3008
+ &:focus {
3009
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3010
+ }
3011
+
3012
+ transition: transform 200ms ease-out,
3013
+ box-shadow 200ms ease-out,
3014
+ rotate 200ms ease-out;
3015
+
3016
+ cursor: grab;
3017
+
3018
+ background-color: var(--qti-bg);
3019
+
3020
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3021
+
3022
+ border-radius: var(--qti-border-radius);
3023
+
3024
+ padding-left: calc(var(--qti-padding-horizontal) + 0.5rem);
3025
+
3026
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3027
+
3028
+ outline: none;
3029
+
3030
+ background-image: radial-gradient(
3031
+ circle at center,
3032
+ rgb(0 0 0 / 10%) 0,
3033
+ rgb(0 0 0 / 20%) 2px,
3034
+ rgb(255 255 255 / 0%) 2px,
3035
+ rgb(255 255 255 / 0%) 100%
3036
+ );
3037
+
3038
+ background-repeat: repeat-y;
3039
+
3040
+ background-position: left center;
3041
+
3042
+ background-size: 14px 8px
3043
+ }
3044
+
3045
+ &::part(qti-simple-choice) {
3046
+ display: flex;
3047
+ overflow: hidden;
3048
+ align-items: center;
3049
+ width: 100%;
3050
+ text-overflow: ellipsis;
3051
+ }
3052
+
3053
+ &::part(drops) {
3054
+ gap: 0.5rem; /* gap-2 */
3055
+ }
3056
+
3057
+ &::part(drags) {
3058
+ gap: 0.5rem; /* gap-2 */
3059
+ }
3060
+
3061
+ &::part(drop-list) {
3062
+
3063
+ &[enabled] {
3064
+
3065
+ /* Light theme override */
3066
+ .qti-selections-light {
3067
+ border-color: var(--qti-light-border-active);
3068
+ }
3069
+
3070
+ /* Dark theme override */
3071
+ .qti-selections-dark {
3072
+ border-color: var(--qti-dark-border-active);
3073
+ }
3074
+ background-color: var(--qti-bg-active)
3075
+ }
3076
+
3077
+ &:hover {
3078
+ background-color: var(--qti-hover-bg);
3079
+ }
3080
+
3081
+ &:focus {
3082
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3083
+ }
3084
+
3085
+ display: flex;
3086
+ min-height: 4rem;
3087
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
3088
+ center no-repeat;
3089
+ border-radius: var(--qti-border-radius);
3090
+ position: relative;
3091
+ background-color: var(--qti-bg);
3092
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3093
+ outline: none;
3094
+ }
3095
+
3096
+ &::part(active) {
3097
+ border-color: var(--qti-border-active);
3098
+ background-color: var(--qti-bg-active);
3099
+ }
3100
+
3101
+ & drop-list {
3102
+ &[shape='circle'] {
3103
+
3104
+ &:hover {
3105
+ background-color: var(--qti-hover-bg);
3106
+ }
3107
+
3108
+ &:focus {
3109
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3110
+ }
3111
+
3112
+ &[aria-checked='true'] {
3113
+ border-color: var(--qti-border-active);
3114
+ background-color: var(--qti-bg-active);
3115
+ }
3116
+
3117
+ &[aria-readonly='true'] {
3118
+ cursor: pointer;
3119
+ background-color: var(--qti-bg);
3120
+ outline: 0;
3121
+ border: none;
3122
+ }
3123
+
3124
+ &[aria-disabled='true'] {
3125
+ cursor: not-allowed;
3126
+ background-color: var(--qti-disabled-bg);
3127
+ color: var(--qti-disabled-color);
3128
+ border-color: var(--qti-border-color);
3129
+ outline: 4px solid var(--qti-disabled-bg);
3130
+ }
3131
+
3132
+ width: 100%;
3133
+
3134
+ height: 100%;
3135
+
3136
+ background-color: transparent;
3137
+
3138
+ padding: 0;
3139
+
3140
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3141
+
3142
+ outline: none
3143
+ }
3144
+
3145
+ &[shape='square'] {
3146
+
3147
+ &:hover {
3148
+ background-color: var(--qti-hover-bg);
3149
+ }
3150
+
3151
+ &:focus {
3152
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3153
+ }
3154
+
3155
+ &[aria-checked='true'] {
3156
+ border-color: var(--qti-border-active);
3157
+ background-color: var(--qti-bg-active);
3158
+ }
3159
+
3160
+ &[aria-readonly='true'] {
3161
+ cursor: pointer;
3162
+ background-color: var(--qti-bg);
3163
+ outline: 0;
3164
+ border: none;
3165
+ }
3166
+
3167
+ &[aria-disabled='true'] {
3168
+ cursor: not-allowed;
3169
+ background-color: var(--qti-disabled-bg);
3170
+ color: var(--qti-disabled-color);
3171
+ border-color: var(--qti-border-color);
3172
+ outline: 4px solid var(--qti-disabled-bg);
3173
+ }
3174
+
3175
+ width: 100%;
3176
+
3177
+ height: 100%;
3178
+
3179
+ background-color: transparent;
3180
+
3181
+ padding: 0;
3182
+
3183
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3184
+
3185
+ outline: none
3186
+ }
3187
+ }
3188
+ }
3189
+
3190
+ qti-associate-interaction {
3191
+ /* General styles for active and enabled states */
3192
+ &:state(--dragzone-active) slot[name='qti-simple-associable-choice'] {
3193
+ border-color: var(--qti-border-active);
3194
+ background-color: var(--qti-bg-active);
3195
+ }
3196
+
3197
+ &:state(--dragzone-enabled) slot[name='qti-simple-associable-choice'] {
3198
+ background-color: var(--qti-bg-active);
3199
+ }
3200
+
3201
+ & qti-simple-associable-choice, /* drags when in lightdom */
3202
+ &::part(qti-simple-associable-choice) /* drags when in shadowdom */ {
3203
+
3204
+ &:hover {
3205
+ background-color: var(--qti-hover-bg);
3206
+ }
3207
+
3208
+ &:focus {
3209
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3210
+ }
3211
+
3212
+ &[dragging] {
3213
+ pointer-events: none;
3214
+ rotate: -2deg;
3215
+ box-shadow: 0 8px 12px rgb(0 0 0 / 20%),
3216
+ 0 4px 8px rgb(0 0 0 / 10%);
3217
+ }
3218
+
3219
+ transition: transform 200ms ease-out,
3220
+ box-shadow 200ms ease-out,
3221
+ rotate 200ms ease-out;
3222
+
3223
+ cursor: grab;
3224
+
3225
+ background-color: var(--qti-bg);
3226
+
3227
+ padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
3228
+
3229
+ border-radius: var(--qti-border-radius);
3230
+
3231
+ padding-left: calc(var(--qti-padding-horizontal) + 0.5rem);
3232
+
3233
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3234
+
3235
+ outline: none;
3236
+
3237
+ background-image: radial-gradient(
3238
+ circle at center,
3239
+ rgb(0 0 0 / 10%) 0,
3240
+ rgb(0 0 0 / 20%) 2px,
3241
+ rgb(255 255 255 / 0%) 2px,
3242
+ rgb(255 255 255 / 0%) 100%
3243
+ );
3244
+
3245
+ background-repeat: repeat-y;
3246
+
3247
+ background-position: left center;
3248
+
3249
+ background-size: 14px 8px
3250
+ }
3251
+
3252
+ /* display: flex;
3253
+ overflow: hidden;
3254
+ align-items: center; */
3255
+
3256
+ /* &::part(drop-container) {
3257
+ display: flex;
3258
+ flex-direction: column;
3259
+ gap: var(--qti-gap-size);
3260
+ } */
3261
+
3262
+ &::part(drop-list) {
3263
+
3264
+ display: grid;
3265
+ height: 3rem;
3266
+ min-width: 10rem;
3267
+ background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="7" stroke="%23CCCCCC" stroke-width="1" fill="transparent" /></svg>')
3268
+ center no-repeat;
3269
+ border-radius: var(--qti-border-radius);
3270
+ position: relative;
3271
+ background-color: var(--qti-bg);
3272
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3273
+ outline: none;
3274
+ }
3275
+
3276
+ &::part(drop-list):focus {
3277
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3278
+ }
3279
+
3280
+ &::part(drop-list)[dragging] {
3281
+ border-color: var(--qti-border-active);
3282
+ background-color: var(--qti-bg-active);
3283
+ }
3284
+
3285
+ /* &::part(drop-list) {
3286
+ @apply act;
3287
+ } */
3288
+ }
3289
+
3290
+ qti-graphic-order-interaction {
3291
+ & qti-hotspot-choice {
3292
+ width: 100%;
3293
+ height: 100%;
3294
+ background-color: rgb(255 255 255 / 30%);
3295
+ padding: 0;
3296
+
3297
+ &:hover {
3298
+ background-color: rgb(255 255 255 / 70%);
3299
+ }
3300
+
3301
+ &:focus {
3302
+ background-color: rgb(255 255 255 / 70%);
3303
+ }
3304
+
3305
+ &:state(--checked),
3306
+ &[aria-checked='true'] {
3307
+ background-color: rgb(255 255 255 / 70%);
3308
+ }
3309
+
3310
+ &[aria-readonly='true'] {
3311
+ cursor: pointer;
3312
+ background-color: var(--qti-bg);
3313
+ outline: 0;
3314
+ border: none;
3315
+ }
3316
+
3317
+ &[aria-disabled='true'] {
3318
+ cursor: not-allowed;
3319
+ background-color: var(--qti-disabled-bg);
3320
+ color: var(--qti-disabled-color);
3321
+ border-color: var(--qti-border-color);
3322
+ outline: 4px solid var(--qti-disabled-bg);
3323
+ }
3324
+
3325
+ &[aria-ordervalue] {
3326
+ display: grid;
3327
+ place-content: center;
3328
+ }
3329
+
3330
+ &[aria-ordervalue]::after {
3331
+ content: attr(aria-ordervalue) !important;
3332
+ }
3333
+ }
3334
+
3335
+ &.qti-selections-light {
3336
+ &:state(--dragzone-active)::part(drags) {
3337
+ background-color: var(--qti-light-bg-active);
3338
+ border-color: var(--qti-light-border-active);
3339
+ }
3340
+
3341
+ &:state(--dragzone-enabled)::part(drags) {
3342
+ background-color: var(--qti-light-bg-active);
3343
+ }
3344
+ }
3345
+
3346
+ &.qti-selections-dark {
3347
+ &:state(--dragzone-active)::part(drags) {
3348
+ background-color: var(--qti-dark-bg-active);
3349
+ border-color: var(--qti-dark-border-active);
3350
+ }
3351
+
3352
+ &:state(--dragzone-enabled)::part(drags) {
3353
+ background-color: var(--qti-dark-bg-active);
3354
+ }
3355
+ }
3356
+
3357
+ /* General styles for active and enabled states */
3358
+ &:state(--dragzone-active)::part(drags) {
3359
+ border-color: var(--qti-border-active);
3360
+ background-color: var(--qti-bg-active);
3361
+ }
3362
+
3363
+ &:state(--dragzone-enabled)::part(drags) {
3364
+ background-color: var(--qti-bg-active);
3365
+ }
3366
+ }
3367
+
3368
+ qti-graphic-associate-interaction {
3369
+ position: relative;
3370
+ display: block;
3371
+
3372
+ & qti-associable-hotspot {
3373
+ &[shape='circle'] {
3374
+
3375
+ &:hover {
3376
+ background-color: var(--qti-hover-bg);
3377
+ }
3378
+
3379
+ &:focus {
3380
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3381
+ }
3382
+
3383
+ &[aria-checked='true'] {
3384
+ border-color: var(--qti-border-active);
3385
+ background-color: var(--qti-bg-active);
3386
+ }
3387
+
3388
+ &[aria-readonly='true'] {
3389
+ cursor: pointer;
3390
+ background-color: var(--qti-bg);
3391
+ outline: 0;
3392
+ border: none;
3393
+ }
3394
+
3395
+ &[aria-disabled='true'] {
3396
+ cursor: not-allowed;
3397
+ background-color: var(--qti-disabled-bg);
3398
+ color: var(--qti-disabled-color);
3399
+ border-color: var(--qti-border-color);
3400
+ outline: 4px solid var(--qti-disabled-bg);
3401
+ }
3402
+
3403
+ width: 100%;
3404
+
3405
+ height: 100%;
3406
+
3407
+ background-color: transparent;
3408
+
3409
+ padding: 0;
3410
+
3411
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3412
+
3413
+ outline: none
3414
+ }
3415
+
3416
+ &[shape='square'] {
3417
+
3418
+ &:hover {
3419
+ background-color: var(--qti-hover-bg);
3420
+ }
3421
+
3422
+ &:focus {
3423
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3424
+ }
3425
+
3426
+ &[aria-checked='true'] {
3427
+ border-color: var(--qti-border-active);
3428
+ background-color: var(--qti-bg-active);
3429
+ }
3430
+
3431
+ &[aria-readonly='true'] {
3432
+ cursor: pointer;
3433
+ background-color: var(--qti-bg);
3434
+ outline: 0;
3435
+ border: none;
3436
+ }
3437
+
3438
+ &[aria-disabled='true'] {
3439
+ cursor: not-allowed;
3440
+ background-color: var(--qti-disabled-bg);
3441
+ color: var(--qti-disabled-color);
3442
+ border-color: var(--qti-border-color);
3443
+ outline: 4px solid var(--qti-disabled-bg);
3444
+ }
3445
+
3446
+ width: 100%;
3447
+
3448
+ height: 100%;
3449
+
3450
+ background-color: transparent;
3451
+
3452
+ padding: 0;
3453
+
3454
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3455
+
3456
+ outline: none
3457
+ }
3458
+ }
3459
+
3460
+ &.qti-selections-light {
3461
+ &:state(--dragzone-active)::part(drags) {
3462
+ background-color: var(--qti-light-bg-active);
3463
+ border-color: var(--qti-light-border-active);
3464
+ }
3465
+
3466
+ &:state(--dragzone-enabled)::part(drags) {
3467
+ background-color: var(--qti-light-bg-active);
3468
+ }
3469
+ }
3470
+
3471
+ &.qti-selections-dark {
3472
+ &:state(--dragzone-active)::part(drags) {
3473
+ background-color: var(--qti-dark-bg-active);
3474
+ border-color: var(--qti-dark-border-active);
3475
+ }
3476
+
3477
+ &:state(--dragzone-enabled)::part(drags) {
3478
+ background-color: var(--qti-dark-bg-active);
3479
+ }
3480
+ }
3481
+
3482
+ /* General styles for active and enabled states */
3483
+ &:state(--dragzone-active)::part(drags) {
3484
+ border-color: var(--qti-border-active);
3485
+ background-color: var(--qti-bg-active);
3486
+ }
3487
+
3488
+ &:state(--dragzone-enabled)::part(drags) {
3489
+ background-color: var(--qti-bg-active);
3490
+ }
3491
+ }
3492
+
3493
+ qti-slider-interaction {
3494
+ --qti-tick-color: rgb(229 231 235 / 100%);
3495
+ --qti-tick-width: 1px;
3496
+ }
3497
+
3498
+ qti-select-point-interaction {
3499
+ &::part(point) {
3500
+ &:hover {
3501
+ background-color: var(--qti-hover-bg);
3502
+ }
3503
+
3504
+ &:focus {
3505
+ box-shadow: 0 0 0 var(--qti-focus-border-width) var(--qti-focus-color);
3506
+ }
3507
+
3508
+ border-radius: 100%;
3509
+
3510
+ width: var(--qti-point-size);
3511
+
3512
+ height: var(--qti-point-size);
3513
+
3514
+ background-color: transparent;
3515
+
3516
+ padding: 0;
3517
+
3518
+ border: var(--qti-border-thickness) var(--qti-border-style) var(--qti-border-color);
3519
+
3520
+ outline: none;
3521
+ }
3522
+ }
3523
+
3524
+ qti-position-object-stage {
3525
+ & qti-position-object-interaction {
3526
+ /* no styles necessary, only layout styles, defined in the component */
3527
+ }
3528
+ }
3529
+
3530
+ qti-prompt {
3531
+ margin: 0.5rem 0; /* my-2 */
3532
+ display: block;
3533
+ width: 100%;
3534
+ }
3535
+ }
3536
+
3537
+ qti-test-part:not(:has(qti-assessment-item)),
3538
+ qti-assessment-section:not(:has(qti-assessment-item)),
3539
+ qti-assessment-item-ref:not(:has(qti-assessment-item)) {
3540
+ display: none;
3541
+ }
3542
+ `;
3543
+
3544
+ // src/lib/qti-item/core/components/item-container.ts
3545
+ var ItemContainer = class extends LitElement {
3546
+ constructor() {
3547
+ super(...arguments);
3548
+ this.itemURL = null;
3549
+ this.itemDoc = null;
3550
+ this.itemXML = null;
3551
+ /** Template content if provided */
3552
+ this.templateContent = null;
3553
+ }
3554
+ async handleItemURLChange() {
3555
+ if (!this.itemURL) return;
3556
+ try {
3557
+ const api = await qtiTransformItem().load(this.itemURL);
3558
+ this.itemDoc = api.htmlDoc();
3559
+ } catch (error) {
3560
+ console.error("Error loading or parsing XML:", error);
3561
+ }
3562
+ }
3563
+ handleItemXMLChange() {
3564
+ if (!this.itemXML) return;
3565
+ try {
3566
+ this.itemDoc = qtiTransformItem().parse(this.itemXML).htmlDoc();
3567
+ } catch (error) {
3568
+ console.error("Error parsing XML:", error);
3569
+ }
3570
+ }
3571
+ async connectedCallback() {
3572
+ super.connectedCallback();
3573
+ this.initializeTemplateContent();
3574
+ this.applyStyles();
3575
+ if (this.itemURL) {
3576
+ this.handleItemURLChange();
3577
+ }
3578
+ if (this.itemXML) {
3579
+ this.handleItemXMLChange();
3580
+ }
3581
+ }
3582
+ initializeTemplateContent() {
3583
+ const template = this.querySelector("template");
3584
+ this.templateContent = template ? template.content : html``;
3585
+ }
3586
+ applyStyles() {
3587
+ const sheet = new CSSStyleSheet();
3588
+ sheet.replaceSync(item_default);
3589
+ this.shadowRoot.adoptedStyleSheets = [sheet];
3590
+ }
3591
+ render() {
3592
+ return html`
3593
+ ${this.templateContent}
3594
+ <slot></slot>
3595
+ ${until(this.itemDoc, html`<span>Loading...</span>`)}
3596
+ `;
3597
+ }
3598
+ };
3599
+ __decorateClass([
3600
+ property({ type: String, attribute: "item-url" })
3601
+ ], ItemContainer.prototype, "itemURL", 2);
3602
+ __decorateClass([
3603
+ state()
3604
+ ], ItemContainer.prototype, "itemDoc", 2);
3605
+ __decorateClass([
3606
+ state()
3607
+ ], ItemContainer.prototype, "itemXML", 2);
3608
+ __decorateClass([
3609
+ watch("itemURL", { waitUntilFirstUpdate: true })
3610
+ ], ItemContainer.prototype, "handleItemURLChange", 1);
3611
+ __decorateClass([
3612
+ watch("itemXML", { waitUntilFirstUpdate: true })
3613
+ ], ItemContainer.prototype, "handleItemXMLChange", 1);
3614
+ ItemContainer = __decorateClass([
3615
+ customElement("item-container")
3616
+ ], ItemContainer);
3617
+
3618
+ // src/lib/qti-item/core/qti-item.ts
3619
+ import { html as html2, LitElement as LitElement2 } from "lit";
3620
+ import { customElement as customElement2 } from "lit/decorators.js";
3621
+ var QtiItem = class extends LitElement2 {
3622
+ render() {
3623
+ return html2`<slot></slot>`;
3624
+ }
3625
+ };
3626
+ QtiItem = __decorateClass([
3627
+ customElement2("qti-item")
3628
+ ], QtiItem);
3629
+
3630
+ export {
3631
+ ItemContainer,
3632
+ QtiItem
3633
+ };
3634
+ //# sourceMappingURL=chunk-36RGXVXQ.js.map