@citolab/qti-components 7.2.2 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk-2PEB7XOI.js +1 -0
- package/cdn/chunks/chunk-2TNA4LAA.js +5 -0
- package/cdn/chunks/chunk-2YSPUZLT.js +2 -0
- package/cdn/chunks/chunk-3HVTDMTS.js +1 -0
- package/cdn/chunks/chunk-3KGTXIVH.js +8 -0
- package/cdn/chunks/chunk-3YJ5LGHO.js +1 -0
- package/cdn/chunks/chunk-42P7F3FC.js +73 -0
- package/cdn/chunks/chunk-4DVWMPIY.js +1 -0
- package/cdn/chunks/chunk-4HD4LAOA.js +2 -0
- package/cdn/chunks/chunk-4HPXSOYI.js +8 -0
- package/cdn/chunks/chunk-4NRLYCX4.js +1 -0
- package/cdn/chunks/chunk-4PXGOA73.js +1 -0
- package/cdn/chunks/chunk-4U6VOTDY.js +2 -0
- package/cdn/chunks/chunk-57WZEH27.js +8 -0
- package/cdn/chunks/chunk-5B5ZBB3H.js +2 -0
- package/cdn/chunks/chunk-5EXLLJZQ.js +1 -0
- package/cdn/chunks/chunk-5F23N5NY.js +1 -0
- package/cdn/chunks/chunk-5TWGFLOQ.js +8 -0
- package/cdn/chunks/chunk-65CZNGQC.js +55 -0
- package/cdn/chunks/chunk-65EW446C.js +6 -0
- package/cdn/chunks/chunk-6BGG2JJR.js +24 -0
- package/cdn/chunks/chunk-6IUESNBB.js +8 -0
- package/cdn/chunks/chunk-6K2ZYRFF.js +8 -0
- package/cdn/chunks/chunk-6KJL4I6M.js +1 -0
- package/cdn/chunks/chunk-774W6MHT.js +8 -0
- package/cdn/chunks/chunk-7ASLC5ZB.js +1 -0
- package/cdn/chunks/chunk-7OAHC7YP.js +1 -0
- package/cdn/chunks/chunk-7P7BX6D6.js +1 -0
- package/cdn/chunks/chunk-7Q4OOYXA.js +1 -0
- package/cdn/chunks/chunk-7VGFTHNK.js +1492 -0
- package/cdn/chunks/chunk-7WJYJA45.js +59 -0
- package/cdn/chunks/chunk-AA47N7CH.js +1 -0
- package/cdn/chunks/chunk-AEDTBA25.js +1 -0
- package/cdn/chunks/chunk-AH2FX4HG.js +1 -0
- package/cdn/chunks/chunk-ALDED3YL.js +1 -0
- package/cdn/chunks/chunk-AOQNGPU3.js +1 -0
- package/cdn/chunks/chunk-ARYTJGGM.js +8 -0
- package/cdn/chunks/chunk-AZLSV74C.js +8 -0
- package/cdn/chunks/chunk-BB7HFL7K.js +1 -0
- package/cdn/chunks/chunk-BMOQZEO2.js +1 -0
- package/cdn/chunks/chunk-BS7S3RPY.js +1 -0
- package/cdn/chunks/chunk-BSL7QSJS.js +1 -0
- package/cdn/chunks/chunk-C2RWTG52.js +1 -0
- package/cdn/chunks/chunk-D4A6UBNV.js +41 -0
- package/cdn/chunks/chunk-DCSFLPLR.js +8 -0
- package/cdn/chunks/chunk-DDA3QNFL.js +1 -0
- package/cdn/chunks/chunk-DEWOG57H.js +1 -0
- package/cdn/chunks/chunk-DHC7PAPQ.js +8 -0
- package/cdn/chunks/chunk-DKMPPZUE.js +2 -0
- package/cdn/chunks/chunk-DNPPZXZF.js +1 -0
- package/cdn/chunks/chunk-DNY4M5BB.js +8 -0
- package/cdn/chunks/chunk-DPR3I67K.js +1 -0
- package/cdn/chunks/chunk-DQTXWGN5.js +48 -0
- package/cdn/chunks/chunk-DTLI3JJ6.js +8 -0
- package/cdn/chunks/chunk-E46WIJKQ.js +5 -0
- package/cdn/chunks/chunk-EJQGI6MR.js +1 -0
- package/cdn/chunks/chunk-EKAFL2KP.js +1 -0
- package/cdn/chunks/chunk-ER2TCZX3.js +8 -0
- package/cdn/chunks/chunk-EVDUKDZH.js +1 -0
- package/cdn/chunks/chunk-EWRXIRZJ.js +8 -0
- package/cdn/chunks/chunk-EZJSKOLP.js +5 -0
- package/cdn/chunks/chunk-F63HVNEI.js +1 -0
- package/cdn/chunks/chunk-F6VI7SEZ.js +5 -0
- package/cdn/chunks/chunk-FGR3JZXL.js +48 -0
- package/cdn/chunks/chunk-FKNSURIA.js +2 -0
- package/cdn/chunks/chunk-FNCQNHCU.js +1 -0
- package/cdn/chunks/chunk-FREEF447.js +2 -0
- package/cdn/chunks/chunk-G66B3SKF.js +2 -0
- package/cdn/chunks/chunk-GFVOBN7D.js +8 -0
- package/cdn/chunks/chunk-GOXH3AYH.js +5 -0
- package/cdn/chunks/chunk-GTDTMMHF.js +2 -0
- package/cdn/chunks/chunk-GVKNKCU6.js +1492 -0
- package/cdn/chunks/chunk-GYF5ZDB3.js +1 -0
- package/cdn/chunks/chunk-H6ZOKOLE.js +1 -0
- package/cdn/chunks/chunk-HCAWI7AZ.js +1 -0
- package/cdn/chunks/chunk-HE62L5UT.js +1 -0
- package/cdn/chunks/chunk-HH6AFB54.js +1492 -0
- package/cdn/chunks/chunk-I25TBSYM.js +8 -0
- package/cdn/chunks/chunk-IAXDPXPS.js +2 -0
- package/cdn/chunks/chunk-IEOQ2ZTN.js +3461 -0
- package/cdn/chunks/chunk-IPAFN4CK.js +1 -0
- package/cdn/chunks/chunk-JATFFFTP.js +1 -0
- package/cdn/chunks/chunk-JFCDOKX7.js +2 -0
- package/cdn/chunks/chunk-JHBAY3L2.js +8 -0
- package/cdn/chunks/chunk-JKUNDLQR.js +1 -0
- package/cdn/chunks/chunk-JSCH2J4L.js +2 -0
- package/cdn/chunks/chunk-KLXWDMHE.js +1 -0
- package/cdn/chunks/chunk-KP5NLKZ5.js +1 -0
- package/cdn/chunks/chunk-KXXIBL5Z.js +8 -0
- package/cdn/chunks/chunk-LBB5CUEL.js +8 -0
- package/cdn/chunks/chunk-LHAF7DPW.js +2 -0
- package/cdn/chunks/chunk-LUNOUEBJ.js +8 -0
- package/cdn/chunks/chunk-LZMZV6TD.js +2 -0
- package/cdn/chunks/chunk-M3RRG6KY.js +1 -0
- package/cdn/chunks/chunk-M4LLTEOD.js +8 -0
- package/cdn/chunks/chunk-MH2Z24XO.js +1 -0
- package/cdn/chunks/chunk-MR6ZHDES.js +1 -0
- package/cdn/chunks/chunk-N5BGKNYJ.js +5 -0
- package/cdn/chunks/chunk-N6A5NZLH.js +1 -0
- package/cdn/chunks/chunk-NNGQPZRR.js +2 -0
- package/cdn/chunks/chunk-NPVEQKUL.js +2 -0
- package/cdn/chunks/chunk-NTHP3CIK.js +1 -0
- package/cdn/chunks/chunk-NUS4RU5N.js +1 -0
- package/cdn/chunks/chunk-ODMQDF6O.js +1 -0
- package/cdn/chunks/chunk-OJTWWSZH.js +1 -0
- package/cdn/chunks/chunk-OW2KBDBG.js +8 -0
- package/cdn/chunks/chunk-P6SSTAJ2.js +1 -0
- package/cdn/chunks/chunk-PACSO5NR.js +1 -0
- package/cdn/chunks/chunk-PQJD55CB.js +8 -0
- package/cdn/chunks/chunk-PUI3LIFH.js +0 -0
- package/cdn/chunks/chunk-Q4UYMUWQ.js +1 -0
- package/cdn/chunks/chunk-QNNLXEUP.js +1 -0
- package/cdn/chunks/chunk-QTTXN3LY.js +2 -0
- package/cdn/chunks/chunk-R345NUSS.js +2 -0
- package/cdn/chunks/chunk-RATUNBN5.js +1 -0
- package/cdn/chunks/chunk-RAXTSUAP.js +1 -0
- package/cdn/chunks/chunk-RQHP2XKF.js +8 -0
- package/cdn/chunks/chunk-RUQA3BBO.js +8 -0
- package/cdn/chunks/chunk-RZGOUINM.js +1 -0
- package/cdn/chunks/chunk-SAXGGMLU.js +8 -0
- package/cdn/chunks/chunk-SDSLRCON.js +1 -0
- package/cdn/chunks/chunk-SDWXKOZK.js +8 -0
- package/cdn/chunks/chunk-SGUBIUUK.js +1 -0
- package/cdn/chunks/chunk-SKCRMPN3.js +8 -0
- package/cdn/chunks/chunk-SXYEFBGL.js +2 -0
- package/cdn/chunks/chunk-T4K75PFT.js +1 -0
- package/cdn/chunks/chunk-TC54XTRL.js +17 -0
- package/cdn/chunks/chunk-TDDS7QJB.js +48 -0
- package/cdn/chunks/chunk-TDKNW4KB.js +1 -0
- package/cdn/chunks/chunk-TDS4LYUD.js +8 -0
- package/cdn/chunks/chunk-TTH5243V.js +1 -0
- package/cdn/chunks/chunk-U4D7JJMM.js +1 -0
- package/cdn/chunks/chunk-U5Y5T4ZS.js +17 -0
- package/cdn/chunks/chunk-U7DWV6B3.js +5 -0
- package/cdn/chunks/chunk-UB5MEEVK.js +8 -0
- package/cdn/chunks/chunk-UGQPBOTB.js +17 -0
- package/cdn/chunks/chunk-UO3YPQWX.js +1 -0
- package/cdn/chunks/chunk-UOYDBSKF.js +1 -0
- package/cdn/chunks/chunk-UU5PAEUU.js +1 -0
- package/cdn/chunks/chunk-UX37G5GZ.js +8 -0
- package/cdn/chunks/chunk-UZYJ2YET.js +1 -0
- package/cdn/chunks/chunk-VGNWADCN.js +1 -0
- package/cdn/chunks/chunk-VXQNVDBK.js +1 -0
- package/cdn/chunks/chunk-W3L3NJQM.js +1 -0
- package/cdn/chunks/chunk-W6GUPXZV.js +1492 -0
- package/cdn/chunks/chunk-WC5YAZM2.js +5 -0
- package/cdn/chunks/chunk-WLTLNYTT.js +8 -0
- package/cdn/chunks/chunk-WNRGD6XK.js +1 -0
- package/cdn/chunks/chunk-X6XQ42NC.js +1 -0
- package/cdn/chunks/chunk-XB37N5IN.js +1 -0
- package/cdn/chunks/chunk-XCXGSLM4.js +2 -0
- package/cdn/chunks/chunk-XDXLBDGD.js +2 -0
- package/cdn/chunks/chunk-XFUCW4CT.js +5 -0
- package/cdn/chunks/chunk-XLVU3CES.js +1 -0
- package/cdn/chunks/chunk-XQIN4PIX.js +10 -0
- package/cdn/chunks/chunk-XY3YXM26.js +8 -0
- package/cdn/chunks/chunk-YGJSWINU.js +1 -0
- package/cdn/chunks/chunk-YL5IGHSU.js +1 -0
- package/cdn/chunks/chunk-YXM5LVFL.js +1 -0
- package/cdn/chunks/chunk-YXZ773BI.js +1 -0
- package/cdn/chunks/chunk-YZCE7WOL.js +1 -0
- package/cdn/chunks/chunk-ZJK77QYF.js +8 -0
- package/cdn/chunks/chunk-ZNLWZYAX.js +5 -0
- package/cdn/chunks/chunk-ZSLIH67U.js +1 -0
- package/cdn/chunks/chunk-ZWUH2GAI.js +1 -0
- package/cdn/exports/computed-item.context.js +1 -1
- package/cdn/exports/computed.context.js +1 -1
- package/cdn/exports/config.context.js +1 -1
- package/cdn/exports/interaction.js +1 -1
- package/cdn/exports/qti-assessment-item.context.js +1 -1
- package/cdn/exports/qti-condition-expression.js +1 -1
- package/cdn/exports/qti-expression.js +1 -1
- package/cdn/exports/session.context.js +1 -1
- package/cdn/exports/test.context.js +1 -1
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +1 -1
- package/cdn/qti-components/index.js +1 -1
- package/cdn/qti-item/components/item-container.js +1 -1
- package/cdn/qti-item/components/item-show-correct-response.js +1 -1
- package/cdn/qti-item/components/print-item-variables.js +1 -1
- package/cdn/qti-item/components/styles.js +1 -1
- package/cdn/qti-item/core/index.js +1 -1
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/components/styles.js +1 -1
- package/cdn/qti-test/components/test-check-item.js +1 -0
- package/cdn/qti-test/components/test-container.js +1 -1
- package/cdn/qti-test/components/test-end-attempt.js +1 -1
- package/cdn/qti-test/components/test-item-link.js +1 -1
- package/cdn/qti-test/components/test-navigation.js +1 -1
- package/cdn/qti-test/components/test-next.js +1 -1
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-prev.js +1 -1
- package/cdn/qti-test/components/test-print-context.js +1 -1
- package/cdn/qti-test/components/test-print-item-variables.js +1 -1
- package/cdn/qti-test/components/test-scoring-buttons.js +1 -1
- package/cdn/qti-test/components/test-scoring-feedback.js +1 -1
- package/cdn/qti-test/components/test-scoring-toggle.js +1 -0
- package/cdn/qti-test/components/test-section-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-section-link.js +1 -1
- package/cdn/qti-test/components/test-show-correct-response.js +1 -1
- package/cdn/qti-test/components/test-stamp.js +1 -1
- package/cdn/qti-test/components/test-view-toggle copy.js +1 -0
- package/cdn/qti-test/components/test-view-toggle.js +1 -1
- package/cdn/qti-test/components/test-view.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/dist/chunks/chunk-22IRJWWY.js +10 -0
- package/dist/chunks/chunk-22IRJWWY.js.map +1 -0
- package/dist/chunks/chunk-24ZEUR6V.js +91 -0
- package/dist/chunks/chunk-24ZEUR6V.js.map +1 -0
- package/dist/chunks/chunk-254VCWDJ.js +249 -0
- package/dist/chunks/chunk-254VCWDJ.js.map +1 -0
- package/dist/chunks/chunk-25SPL2N7.js +296 -0
- package/dist/chunks/chunk-25SPL2N7.js.map +1 -0
- package/dist/chunks/chunk-2L6I23IQ.js +308 -0
- package/dist/chunks/chunk-2L6I23IQ.js.map +1 -0
- package/dist/chunks/chunk-2SJOPI6B.js +45 -0
- package/dist/chunks/chunk-2SJOPI6B.js.map +1 -0
- package/dist/chunks/chunk-2WZXGGU3.js +85 -0
- package/dist/chunks/chunk-2WZXGGU3.js.map +1 -0
- package/dist/chunks/chunk-36G5MQKR.js +85 -0
- package/dist/chunks/chunk-36G5MQKR.js.map +1 -0
- package/dist/chunks/chunk-3FIHHFFC.js +307 -0
- package/dist/chunks/chunk-3FIHHFFC.js.map +1 -0
- package/dist/chunks/chunk-3L7UTYZ5.js +92 -0
- package/dist/chunks/chunk-3L7UTYZ5.js.map +1 -0
- package/dist/chunks/chunk-3N546FXF.js +81 -0
- package/dist/chunks/chunk-3N546FXF.js.map +1 -0
- package/dist/chunks/chunk-3QOIGEC7.js +92 -0
- package/dist/chunks/chunk-3QOIGEC7.js.map +1 -0
- package/dist/chunks/chunk-3UAT3IXP.js +85 -0
- package/dist/chunks/chunk-3UAT3IXP.js.map +1 -0
- package/dist/chunks/chunk-4KYSAVEL.js +85 -0
- package/dist/chunks/chunk-4KYSAVEL.js.map +1 -0
- package/dist/chunks/chunk-4OGJBG35.js +8 -0
- package/dist/chunks/chunk-4OGJBG35.js.map +1 -0
- package/dist/chunks/chunk-4UEAQMY4.js +28 -0
- package/dist/chunks/chunk-4UEAQMY4.js.map +1 -0
- package/dist/chunks/chunk-5F52D6LQ.js +64 -0
- package/dist/chunks/chunk-5F52D6LQ.js.map +1 -0
- package/dist/chunks/chunk-5FEXUWZH.js +28 -0
- package/dist/chunks/chunk-5FEXUWZH.js.map +1 -0
- package/dist/chunks/chunk-5QGG5BMS.js +45 -0
- package/dist/chunks/chunk-5QGG5BMS.js.map +1 -0
- package/dist/chunks/chunk-6BNGNEZW.js +308 -0
- package/dist/chunks/chunk-6BNGNEZW.js.map +1 -0
- package/dist/chunks/chunk-6DMR7L77.js +44 -0
- package/dist/chunks/chunk-6DMR7L77.js.map +1 -0
- package/dist/chunks/chunk-6ELX5242.js +234 -0
- package/dist/chunks/chunk-6ELX5242.js.map +1 -0
- package/dist/chunks/chunk-6FJB3RNO.js +65 -0
- package/dist/chunks/chunk-6FJB3RNO.js.map +1 -0
- package/dist/chunks/chunk-6HSX33RT.js +239 -0
- package/dist/chunks/chunk-6HSX33RT.js.map +1 -0
- package/dist/chunks/chunk-6KHKAHVS.js +235 -0
- package/dist/chunks/chunk-6KHKAHVS.js.map +1 -0
- package/dist/chunks/chunk-6N4WVDBR.js +95 -0
- package/dist/chunks/chunk-6N4WVDBR.js.map +1 -0
- package/dist/chunks/chunk-6SGCKTJ6.js +88 -0
- package/dist/chunks/chunk-6SGCKTJ6.js.map +1 -0
- package/dist/chunks/chunk-6U3U2UIA.js +887 -0
- package/dist/chunks/chunk-6U3U2UIA.js.map +1 -0
- package/dist/chunks/chunk-6YAR3VHX.js +56 -0
- package/dist/chunks/chunk-6YAR3VHX.js.map +1 -0
- package/dist/chunks/chunk-745MFIEL.js +238 -0
- package/dist/chunks/chunk-745MFIEL.js.map +1 -0
- package/dist/chunks/chunk-7NNYV6VG.js +95 -0
- package/dist/chunks/chunk-7NNYV6VG.js.map +1 -0
- package/dist/chunks/chunk-7OMJMXHK.js +50 -0
- package/dist/chunks/chunk-7OMJMXHK.js.map +1 -0
- package/dist/chunks/chunk-7SGVY6AL.js +85 -0
- package/dist/chunks/chunk-7SGVY6AL.js.map +1 -0
- package/dist/chunks/chunk-7YI2I5U2.js +238 -0
- package/dist/chunks/chunk-7YI2I5U2.js.map +1 -0
- package/dist/chunks/chunk-7ZME7TLK.js +81 -0
- package/dist/chunks/chunk-7ZME7TLK.js.map +1 -0
- package/dist/chunks/chunk-AOXSRF6N.js +7309 -0
- package/dist/chunks/chunk-AOXSRF6N.js.map +1 -0
- package/dist/chunks/chunk-AZIKAG7K.js +8 -0
- package/dist/chunks/chunk-AZIKAG7K.js.map +1 -0
- package/dist/chunks/chunk-B2J3M334.js +92 -0
- package/dist/chunks/chunk-B2J3M334.js.map +1 -0
- package/dist/chunks/chunk-B7BLTXGS.js +88 -0
- package/dist/chunks/chunk-B7BLTXGS.js.map +1 -0
- package/dist/chunks/chunk-BEFR3ACM.js +241 -0
- package/dist/chunks/chunk-BEFR3ACM.js.map +1 -0
- package/dist/chunks/chunk-BI3RICFC.js +300 -0
- package/dist/chunks/chunk-BI3RICFC.js.map +1 -0
- package/dist/chunks/chunk-BSDFAZ5E.js +43 -0
- package/dist/chunks/chunk-BSDFAZ5E.js.map +1 -0
- package/dist/chunks/chunk-BTNZ5BZC.js +99 -0
- package/dist/chunks/chunk-BTNZ5BZC.js.map +1 -0
- package/dist/chunks/chunk-BTZQDUT6.js +44 -0
- package/dist/chunks/chunk-BTZQDUT6.js.map +1 -0
- package/dist/chunks/chunk-CL26AHAV.js +65 -0
- package/dist/chunks/chunk-CL26AHAV.js.map +1 -0
- package/dist/chunks/chunk-CLLDFOBO.js +64 -0
- package/dist/chunks/chunk-CLLDFOBO.js.map +1 -0
- package/dist/chunks/chunk-CO4K3UIU.js +81 -0
- package/dist/chunks/chunk-CO4K3UIU.js.map +1 -0
- package/dist/chunks/chunk-CRFBT36M.js +85 -0
- package/dist/chunks/chunk-CRFBT36M.js.map +1 -0
- package/dist/chunks/chunk-CRI6TK2F.js +81 -0
- package/dist/chunks/chunk-CRI6TK2F.js.map +1 -0
- package/dist/chunks/chunk-CS3XEHIS.js +64 -0
- package/dist/chunks/chunk-CS3XEHIS.js.map +1 -0
- package/dist/chunks/chunk-CTPQMLOA.js +88 -0
- package/dist/chunks/chunk-CTPQMLOA.js.map +1 -0
- package/dist/chunks/chunk-D47JA24G.js +85 -0
- package/dist/chunks/chunk-D47JA24G.js.map +1 -0
- package/dist/chunks/chunk-DGPPAIBY.js +307 -0
- package/dist/chunks/chunk-DGPPAIBY.js.map +1 -0
- package/dist/chunks/chunk-DIEBUNEE.js +83 -0
- package/dist/chunks/chunk-DIEBUNEE.js.map +1 -0
- package/dist/chunks/chunk-DJ7XZ2UR.js +91 -0
- package/dist/chunks/chunk-DJ7XZ2UR.js.map +1 -0
- package/dist/chunks/chunk-DLBPLBZU.js +85 -0
- package/dist/chunks/chunk-DLBPLBZU.js.map +1 -0
- package/dist/chunks/chunk-DLCEFRYR.js +887 -0
- package/dist/chunks/chunk-DLCEFRYR.js.map +1 -0
- package/dist/chunks/chunk-DLVJXJLB.js +90 -0
- package/dist/chunks/chunk-DLVJXJLB.js.map +1 -0
- package/dist/chunks/chunk-DNBDU6ZU.js +45 -0
- package/dist/chunks/chunk-DNBDU6ZU.js.map +1 -0
- package/dist/chunks/chunk-DNLC7HVK.js +870 -0
- package/dist/chunks/chunk-DNLC7HVK.js.map +1 -0
- package/dist/chunks/chunk-DSAPUEWR.js +81 -0
- package/dist/chunks/chunk-DSAPUEWR.js.map +1 -0
- package/dist/chunks/chunk-DZAOLWAS.js +238 -0
- package/dist/chunks/chunk-DZAOLWAS.js.map +1 -0
- package/dist/chunks/chunk-E572KIOQ.js +83 -0
- package/dist/chunks/chunk-E572KIOQ.js.map +1 -0
- package/dist/chunks/chunk-EIIKSMCN.js +96 -0
- package/dist/chunks/chunk-EIIKSMCN.js.map +1 -0
- package/dist/chunks/chunk-EJZQSOHU.js +85 -0
- package/dist/chunks/chunk-EJZQSOHU.js.map +1 -0
- package/dist/chunks/chunk-EP4SJRC6.js +99 -0
- package/dist/chunks/chunk-EP4SJRC6.js.map +1 -0
- package/dist/chunks/chunk-EVOMGJVT.js +95 -0
- package/dist/chunks/chunk-EVOMGJVT.js.map +1 -0
- package/dist/chunks/chunk-EXNO2VEU.js +85 -0
- package/dist/chunks/chunk-EXNO2VEU.js.map +1 -0
- package/dist/chunks/chunk-EYWDGFIX.js +89 -0
- package/dist/chunks/chunk-EYWDGFIX.js.map +1 -0
- package/dist/chunks/chunk-FAMJLVHG.js +92 -0
- package/dist/chunks/chunk-FAMJLVHG.js.map +1 -0
- package/dist/chunks/chunk-FBE6FA2H.js +45 -0
- package/dist/chunks/chunk-FBE6FA2H.js.map +1 -0
- package/dist/chunks/chunk-FEIMJLFV.js +85 -0
- package/dist/chunks/chunk-FEIMJLFV.js.map +1 -0
- package/dist/chunks/chunk-FEXZ676E.js +304 -0
- package/dist/chunks/chunk-FEXZ676E.js.map +1 -0
- package/dist/chunks/chunk-FH34FO6K.js +238 -0
- package/dist/chunks/chunk-FH34FO6K.js.map +1 -0
- package/dist/chunks/chunk-FIAJJAPH.js +85 -0
- package/dist/chunks/chunk-FIAJJAPH.js.map +1 -0
- package/dist/chunks/chunk-FIN4YG3K.js +233 -0
- package/dist/chunks/chunk-FIN4YG3K.js.map +1 -0
- package/dist/chunks/chunk-FQMHR6ZF.js +92 -0
- package/dist/chunks/chunk-FQMHR6ZF.js.map +1 -0
- package/dist/chunks/chunk-FQVFSQFE.js +238 -0
- package/dist/chunks/chunk-FQVFSQFE.js.map +1 -0
- package/dist/chunks/chunk-FS7SRRSA.js +96 -0
- package/dist/chunks/chunk-FS7SRRSA.js.map +1 -0
- package/dist/chunks/chunk-G3M2356A.js +889 -0
- package/dist/chunks/chunk-G3M2356A.js.map +1 -0
- package/dist/chunks/chunk-G5R527RC.js +90 -0
- package/dist/chunks/chunk-G5R527RC.js.map +1 -0
- package/dist/chunks/chunk-GA2EWU3T.js +102 -0
- package/dist/chunks/chunk-GA2EWU3T.js.map +1 -0
- package/dist/chunks/chunk-GBGZRLXO.js +45 -0
- package/dist/chunks/chunk-GBGZRLXO.js.map +1 -0
- package/dist/chunks/chunk-GBU4IXYM.js +95 -0
- package/dist/chunks/chunk-GBU4IXYM.js.map +1 -0
- package/dist/chunks/chunk-GDZ632HR.js +244 -0
- package/dist/chunks/chunk-GDZ632HR.js.map +1 -0
- package/dist/chunks/chunk-GE7AVAEW.js +99 -0
- package/dist/chunks/chunk-GE7AVAEW.js.map +1 -0
- package/dist/chunks/chunk-GEEYD5SH.js +7310 -0
- package/dist/chunks/chunk-GEEYD5SH.js.map +1 -0
- package/dist/chunks/chunk-GIHLVK5S.js +103 -0
- package/dist/chunks/chunk-GIHLVK5S.js.map +1 -0
- package/dist/chunks/chunk-GV4LNJKM.js +248 -0
- package/dist/chunks/chunk-GV4LNJKM.js.map +1 -0
- package/dist/chunks/chunk-GXXWWT6Y.js +96 -0
- package/dist/chunks/chunk-GXXWWT6Y.js.map +1 -0
- package/dist/chunks/chunk-H7YSTWT5.js +45 -0
- package/dist/chunks/chunk-H7YSTWT5.js.map +1 -0
- package/dist/chunks/chunk-HAP4ICAJ.js +8 -0
- package/dist/chunks/chunk-HAP4ICAJ.js.map +1 -0
- package/dist/chunks/chunk-HARRGXYA.js +243 -0
- package/dist/chunks/chunk-HARRGXYA.js.map +1 -0
- package/dist/chunks/chunk-HIFFHC2Z.js +887 -0
- package/dist/chunks/chunk-HIFFHC2Z.js.map +1 -0
- package/dist/chunks/chunk-HNCSSLU6.js +95 -0
- package/dist/chunks/chunk-HNCSSLU6.js.map +1 -0
- package/dist/chunks/chunk-HUQGTGCK.js +91 -0
- package/dist/chunks/chunk-HUQGTGCK.js.map +1 -0
- package/dist/chunks/chunk-IAZM2LUL.js +87 -0
- package/dist/chunks/chunk-IAZM2LUL.js.map +1 -0
- package/dist/chunks/chunk-IDZOOEB2.js +85 -0
- package/dist/chunks/chunk-IDZOOEB2.js.map +1 -0
- package/dist/chunks/chunk-IGSFWBNK.js +235 -0
- package/dist/chunks/chunk-IGSFWBNK.js.map +1 -0
- package/dist/chunks/chunk-IPRRYKZD.js +95 -0
- package/dist/chunks/chunk-IPRRYKZD.js.map +1 -0
- package/dist/chunks/chunk-IRKYNGZN.js +90 -0
- package/dist/chunks/chunk-IRKYNGZN.js.map +1 -0
- package/dist/chunks/chunk-IWQR5TSB.js +43 -0
- package/dist/chunks/chunk-IWQR5TSB.js.map +1 -0
- package/dist/chunks/chunk-J3I5LKXH.js +60 -0
- package/dist/chunks/chunk-J3I5LKXH.js.map +1 -0
- package/dist/chunks/chunk-J4RNYEIE.js +85 -0
- package/dist/chunks/chunk-J4RNYEIE.js.map +1 -0
- package/dist/chunks/chunk-JDSSQE7I.js +56 -0
- package/dist/chunks/chunk-JDSSQE7I.js.map +1 -0
- package/dist/chunks/chunk-JKX62AOP.js +8 -0
- package/dist/chunks/chunk-JKX62AOP.js.map +1 -0
- package/dist/chunks/chunk-JMYRH33D.js +84 -0
- package/dist/chunks/chunk-JMYRH33D.js.map +1 -0
- package/dist/chunks/chunk-JX3F6YCC.js +43 -0
- package/dist/chunks/chunk-JX3F6YCC.js.map +1 -0
- package/dist/chunks/chunk-JXMZQ3DF.js +249 -0
- package/dist/chunks/chunk-JXMZQ3DF.js.map +1 -0
- package/dist/chunks/chunk-K5F4CT37.js +82 -0
- package/dist/chunks/chunk-K5F4CT37.js.map +1 -0
- package/dist/chunks/chunk-K7JGTBMV.js +248 -0
- package/dist/chunks/chunk-K7JGTBMV.js.map +1 -0
- package/dist/chunks/chunk-KBQUCIRG.js +233 -0
- package/dist/chunks/chunk-KBQUCIRG.js.map +1 -0
- package/dist/chunks/chunk-KGVAUC45.js +242 -0
- package/dist/chunks/chunk-KGVAUC45.js.map +1 -0
- package/dist/chunks/chunk-KH3ZEJAY.js +95 -0
- package/dist/chunks/chunk-KH3ZEJAY.js.map +1 -0
- package/dist/chunks/chunk-KIK3YNR7.js +95 -0
- package/dist/chunks/chunk-KIK3YNR7.js.map +1 -0
- package/dist/chunks/chunk-KKV6WBJ2.js +234 -0
- package/dist/chunks/chunk-KKV6WBJ2.js.map +1 -0
- package/dist/chunks/chunk-KWCQRFC3.js +56 -0
- package/dist/chunks/chunk-KWCQRFC3.js.map +1 -0
- package/dist/chunks/chunk-KWUJVUKA.js +99 -0
- package/dist/chunks/chunk-KWUJVUKA.js.map +1 -0
- package/dist/chunks/chunk-L7HOSFNE.js +307 -0
- package/dist/chunks/chunk-L7HOSFNE.js.map +1 -0
- package/dist/chunks/chunk-LMWMNMIU.js +99 -0
- package/dist/chunks/chunk-LMWMNMIU.js.map +1 -0
- package/dist/chunks/chunk-LSTECKJV.js +56 -0
- package/dist/chunks/chunk-LSTECKJV.js.map +1 -0
- package/dist/chunks/chunk-LWBXN5C4.js +66 -0
- package/dist/chunks/chunk-LWBXN5C4.js.map +1 -0
- package/dist/chunks/chunk-LXQKATBH.js +91 -0
- package/dist/chunks/chunk-LXQKATBH.js.map +1 -0
- package/dist/chunks/chunk-M2PGI5QL.js +92 -0
- package/dist/chunks/chunk-M2PGI5QL.js.map +1 -0
- package/dist/chunks/chunk-M3D3T5OO.js +45 -0
- package/dist/chunks/chunk-M3D3T5OO.js.map +1 -0
- package/dist/chunks/chunk-M43YVT6M.js +8 -0
- package/dist/chunks/chunk-M43YVT6M.js.map +1 -0
- package/dist/chunks/chunk-MGC6UY5C.js +85 -0
- package/dist/chunks/chunk-MGC6UY5C.js.map +1 -0
- package/dist/chunks/chunk-MJMLVDAV.js +82 -0
- package/dist/chunks/chunk-MJMLVDAV.js.map +1 -0
- package/dist/chunks/chunk-MK5KU4FM.js +7303 -0
- package/dist/chunks/chunk-MK5KU4FM.js.map +1 -0
- package/dist/chunks/chunk-MKPVFZUH.js +88 -0
- package/dist/chunks/chunk-MKPVFZUH.js.map +1 -0
- package/dist/chunks/chunk-MNYMPXJZ.js +95 -0
- package/dist/chunks/chunk-MNYMPXJZ.js.map +1 -0
- package/dist/chunks/chunk-MT3XAJZC.js +61 -0
- package/dist/chunks/chunk-MT3XAJZC.js.map +1 -0
- package/dist/chunks/chunk-MYRQCWA6.js +81 -0
- package/dist/chunks/chunk-MYRQCWA6.js.map +1 -0
- package/dist/chunks/chunk-NJTIAZBT.js +236 -0
- package/dist/chunks/chunk-NJTIAZBT.js.map +1 -0
- package/dist/chunks/chunk-NY5T6G3K.js +8 -0
- package/dist/chunks/chunk-NY5T6G3K.js.map +1 -0
- package/dist/chunks/chunk-NYR2RLEI.js +65 -0
- package/dist/chunks/chunk-NYR2RLEI.js.map +1 -0
- package/dist/chunks/chunk-O2AQND3R.js +889 -0
- package/dist/chunks/chunk-O2AQND3R.js.map +1 -0
- package/dist/chunks/chunk-O2SG4LAF.js +294 -0
- package/dist/chunks/chunk-O2SG4LAF.js.map +1 -0
- package/dist/chunks/chunk-O3WD4F3W.js +92 -0
- package/dist/chunks/chunk-O3WD4F3W.js.map +1 -0
- package/dist/chunks/chunk-OALKFNG4.js +99 -0
- package/dist/chunks/chunk-OALKFNG4.js.map +1 -0
- package/dist/chunks/chunk-OB2TPXBB.js +85 -0
- package/dist/chunks/chunk-OB2TPXBB.js.map +1 -0
- package/dist/chunks/chunk-OH5UJYOH.js +83 -0
- package/dist/chunks/chunk-OH5UJYOH.js.map +1 -0
- package/dist/chunks/chunk-OLDZGCD4.js +45 -0
- package/dist/chunks/chunk-OLDZGCD4.js.map +1 -0
- package/dist/chunks/chunk-ONVGVU57.js +243 -0
- package/dist/chunks/chunk-ONVGVU57.js.map +1 -0
- package/dist/chunks/chunk-OWELU5YR.js +43 -0
- package/dist/chunks/chunk-OWELU5YR.js.map +1 -0
- package/dist/chunks/chunk-P4CAO52E.js +43 -0
- package/dist/chunks/chunk-P4CAO52E.js.map +1 -0
- package/dist/chunks/chunk-P6SNSCN4.js +235 -0
- package/dist/chunks/chunk-P6SNSCN4.js.map +1 -0
- package/dist/chunks/chunk-PJIOSYIC.js +241 -0
- package/dist/chunks/chunk-PJIOSYIC.js.map +1 -0
- package/dist/chunks/chunk-POGGEBHU.js +294 -0
- package/dist/chunks/chunk-POGGEBHU.js.map +1 -0
- package/dist/chunks/chunk-PRYR7UB6.js +95 -0
- package/dist/chunks/chunk-PRYR7UB6.js.map +1 -0
- package/dist/chunks/chunk-PSGZN2AP.js +8 -0
- package/dist/chunks/chunk-PSGZN2AP.js.map +1 -0
- package/dist/chunks/chunk-PWLZEXO4.js +89 -0
- package/dist/chunks/chunk-PWLZEXO4.js.map +1 -0
- package/dist/chunks/chunk-PWNPDEWD.js +43 -0
- package/dist/chunks/chunk-PWNPDEWD.js.map +1 -0
- package/dist/chunks/chunk-Q7Q24WJK.js +227 -0
- package/dist/chunks/chunk-Q7Q24WJK.js.map +1 -0
- package/dist/chunks/chunk-QBRVWBMH.js +230 -0
- package/dist/chunks/chunk-QBRVWBMH.js.map +1 -0
- package/dist/chunks/chunk-QHGH7FF6.js +28 -0
- package/dist/chunks/chunk-QHGH7FF6.js.map +1 -0
- package/dist/chunks/chunk-QKAKO3CZ.js +233 -0
- package/dist/chunks/chunk-QKAKO3CZ.js.map +1 -0
- package/dist/chunks/chunk-QSFYRRIN.js +85 -0
- package/dist/chunks/chunk-QSFYRRIN.js.map +1 -0
- package/dist/chunks/chunk-QVPOOZ5O.js +64 -0
- package/dist/chunks/chunk-QVPOOZ5O.js.map +1 -0
- package/dist/chunks/chunk-QXKGZ752.js +43 -0
- package/dist/chunks/chunk-QXKGZ752.js.map +1 -0
- package/dist/chunks/chunk-QZ4TYR6G.js +43 -0
- package/dist/chunks/chunk-QZ4TYR6G.js.map +1 -0
- package/dist/chunks/chunk-R5EYCFY4.js +91 -0
- package/dist/chunks/chunk-R5EYCFY4.js.map +1 -0
- package/dist/chunks/chunk-R5HX7O5I.js +81 -0
- package/dist/chunks/chunk-R5HX7O5I.js.map +1 -0
- package/dist/chunks/chunk-RF2VC7DN.js +239 -0
- package/dist/chunks/chunk-RF2VC7DN.js.map +1 -0
- package/dist/chunks/chunk-RHXLL5D3.js +264 -0
- package/dist/chunks/chunk-RHXLL5D3.js.map +1 -0
- package/dist/chunks/chunk-RIPZMRDA.js +238 -0
- package/dist/chunks/chunk-RIPZMRDA.js.map +1 -0
- package/dist/chunks/chunk-RKBUP3WS.js +28 -0
- package/dist/chunks/chunk-RKBUP3WS.js.map +1 -0
- package/dist/chunks/chunk-RTPJGNMA.js +230 -0
- package/dist/chunks/chunk-RTPJGNMA.js.map +1 -0
- package/dist/chunks/chunk-S6F2NHT6.js +85 -0
- package/dist/chunks/chunk-S6F2NHT6.js.map +1 -0
- package/dist/chunks/chunk-SGNRQWTB.js +887 -0
- package/dist/chunks/chunk-SGNRQWTB.js.map +1 -0
- package/dist/chunks/chunk-SI7DUJBA.js +28 -0
- package/dist/chunks/chunk-SI7DUJBA.js.map +1 -0
- package/dist/chunks/chunk-SOKWNLL4.js +89 -0
- package/dist/chunks/chunk-SOKWNLL4.js.map +1 -0
- package/dist/chunks/chunk-SRCICFU7.js +28 -0
- package/dist/chunks/chunk-SRCICFU7.js.map +1 -0
- package/dist/chunks/chunk-SXRET5LH.js +235 -0
- package/dist/chunks/chunk-SXRET5LH.js.map +1 -0
- package/dist/chunks/chunk-THUTSBBP.js +56 -0
- package/dist/chunks/chunk-THUTSBBP.js.map +1 -0
- package/dist/chunks/chunk-TPZRDVLI.js +85 -0
- package/dist/chunks/chunk-TPZRDVLI.js.map +1 -0
- package/dist/chunks/chunk-TWYN56XO.js +92 -0
- package/dist/chunks/chunk-TWYN56XO.js.map +1 -0
- package/dist/chunks/chunk-TYH4XFYQ.js +84 -0
- package/dist/chunks/chunk-TYH4XFYQ.js.map +1 -0
- package/dist/chunks/chunk-TZGAS66M.js +56 -0
- package/dist/chunks/chunk-TZGAS66M.js.map +1 -0
- package/dist/chunks/chunk-U2662SPQ.js +887 -0
- package/dist/chunks/chunk-U2662SPQ.js.map +1 -0
- package/dist/chunks/chunk-U54LOZ6V.js +235 -0
- package/dist/chunks/chunk-U54LOZ6V.js.map +1 -0
- package/dist/chunks/chunk-U7WNOBID.js +235 -0
- package/dist/chunks/chunk-U7WNOBID.js.map +1 -0
- package/dist/chunks/chunk-UDZ6DBC4.js +65 -0
- package/dist/chunks/chunk-UDZ6DBC4.js.map +1 -0
- package/dist/chunks/chunk-UF7XJJHR.js +56 -0
- package/dist/chunks/chunk-UF7XJJHR.js.map +1 -0
- package/dist/chunks/chunk-UFJLGWZN.js +95 -0
- package/dist/chunks/chunk-UFJLGWZN.js.map +1 -0
- package/dist/chunks/chunk-UNB4FVMX.js +248 -0
- package/dist/chunks/chunk-UNB4FVMX.js.map +1 -0
- package/dist/chunks/chunk-UNYT7ZNM.js +85 -0
- package/dist/chunks/chunk-UNYT7ZNM.js.map +1 -0
- package/dist/chunks/chunk-US5NIIW7.js +244 -0
- package/dist/chunks/chunk-US5NIIW7.js.map +1 -0
- package/dist/chunks/chunk-UUZFQW3D.js +889 -0
- package/dist/chunks/chunk-UUZFQW3D.js.map +1 -0
- package/dist/chunks/chunk-VIBFS7K3.js +229 -0
- package/dist/chunks/chunk-VIBFS7K3.js.map +1 -0
- package/dist/chunks/chunk-VMAASK34.js +234 -0
- package/dist/chunks/chunk-VMAASK34.js.map +1 -0
- package/dist/chunks/chunk-VN2QDEVU.js +250 -0
- package/dist/chunks/chunk-VN2QDEVU.js.map +1 -0
- package/dist/chunks/chunk-VVPQCJL6.js +264 -0
- package/dist/chunks/chunk-VVPQCJL6.js.map +1 -0
- package/dist/chunks/chunk-VY73H2OD.js +238 -0
- package/dist/chunks/chunk-VY73H2OD.js.map +1 -0
- package/dist/chunks/chunk-W5FVZTR6.js +56 -0
- package/dist/chunks/chunk-W5FVZTR6.js.map +1 -0
- package/dist/chunks/chunk-WFFIUFJJ.js +28 -0
- package/dist/chunks/chunk-WFFIUFJJ.js.map +1 -0
- package/dist/chunks/chunk-WFSIKRZ3.js +95 -0
- package/dist/chunks/chunk-WFSIKRZ3.js.map +1 -0
- package/dist/chunks/chunk-WHTJNLWJ.js +235 -0
- package/dist/chunks/chunk-WHTJNLWJ.js.map +1 -0
- package/dist/chunks/chunk-X7TJEF7P.js +78 -0
- package/dist/chunks/chunk-X7TJEF7P.js.map +1 -0
- package/dist/chunks/chunk-XB2AUIYM.js +232 -0
- package/dist/chunks/chunk-XB2AUIYM.js.map +1 -0
- package/dist/chunks/chunk-XBJQTK4U.js +91 -0
- package/dist/chunks/chunk-XBJQTK4U.js.map +1 -0
- package/dist/chunks/chunk-XCECF27R.js +45 -0
- package/dist/chunks/chunk-XCECF27R.js.map +1 -0
- package/dist/chunks/chunk-XCJMG5II.js +229 -0
- package/dist/chunks/chunk-XCJMG5II.js.map +1 -0
- package/dist/chunks/chunk-XH6AMJFY.js +238 -0
- package/dist/chunks/chunk-XH6AMJFY.js.map +1 -0
- package/dist/chunks/chunk-XNNXOUDF.js +245 -0
- package/dist/chunks/chunk-XNNXOUDF.js.map +1 -0
- package/dist/chunks/chunk-XNQ4ARRB.js +90 -0
- package/dist/chunks/chunk-XNQ4ARRB.js.map +1 -0
- package/dist/chunks/chunk-Y5S4XHSH.js +133 -0
- package/dist/chunks/chunk-Y5S4XHSH.js.map +1 -0
- package/dist/chunks/chunk-YBFPPPMD.js +233 -0
- package/dist/chunks/chunk-YBFPPPMD.js.map +1 -0
- package/dist/chunks/chunk-YC72WJT5.js +88 -0
- package/dist/chunks/chunk-YC72WJT5.js.map +1 -0
- package/dist/chunks/chunk-YMQNOCS2.js +246 -0
- package/dist/chunks/chunk-YMQNOCS2.js.map +1 -0
- package/dist/chunks/chunk-YQXKY6CK.js +99 -0
- package/dist/chunks/chunk-YQXKY6CK.js.map +1 -0
- package/dist/chunks/chunk-YS4T2ORC.js +86 -0
- package/dist/chunks/chunk-YS4T2ORC.js.map +1 -0
- package/dist/chunks/chunk-YSK5NQO6.js +235 -0
- package/dist/chunks/chunk-YSK5NQO6.js.map +1 -0
- package/dist/chunks/chunk-YZSGZTWA.js +8 -0
- package/dist/chunks/chunk-YZSGZTWA.js.map +1 -0
- package/dist/chunks/chunk-Z6EJ36PR.js +307 -0
- package/dist/chunks/chunk-Z6EJ36PR.js.map +1 -0
- package/dist/chunks/chunk-Z6FBIC76.js +83 -0
- package/dist/chunks/chunk-Z6FBIC76.js.map +1 -0
- package/dist/chunks/chunk-ZEEFMPDJ.js +238 -0
- package/dist/chunks/chunk-ZEEFMPDJ.js.map +1 -0
- package/dist/chunks/chunk-ZGSNDSK3.js +1 -0
- package/dist/chunks/chunk-ZGSNDSK3.js.map +1 -0
- package/dist/chunks/chunk-ZLULX3V3.js +264 -0
- package/dist/chunks/chunk-ZLULX3V3.js.map +1 -0
- package/dist/chunks/chunk-ZNU2BCTJ.js +95 -0
- package/dist/chunks/chunk-ZNU2BCTJ.js.map +1 -0
- package/dist/chunks/chunk-ZO6ZTWFN.js +99 -0
- package/dist/chunks/chunk-ZO6ZTWFN.js.map +1 -0
- package/dist/chunks/chunk-ZSAPTO2I.js +85 -0
- package/dist/chunks/chunk-ZSAPTO2I.js.map +1 -0
- package/dist/chunks/chunk-ZTFOPRHT.js +242 -0
- package/dist/chunks/chunk-ZTFOPRHT.js.map +1 -0
- package/dist/chunks/chunk-ZW6ND3PL.js +307 -0
- package/dist/chunks/chunk-ZW6ND3PL.js.map +1 -0
- package/dist/chunks/chunk-ZZFSVIVR.js +85 -0
- package/dist/chunks/chunk-ZZFSVIVR.js.map +1 -0
- package/dist/exports/computed-item.context.d.ts +4 -1
- package/dist/exports/computed-item.context.js +1 -1
- package/dist/exports/computed.context.d.ts +6 -1
- package/dist/exports/computed.context.js +1 -1
- package/dist/exports/interaction.d.ts +1 -1
- package/dist/exports/item.context.d.ts +1 -1
- package/dist/exports/qti-assessment-item.context.d.ts +1 -1
- package/dist/exports/qti-condition-expression.d.ts +1 -1
- package/dist/exports/qti-expression.d.ts +1 -1
- package/dist/exports/session.context.d.ts +17 -2
- package/dist/exports/session.context.js +1 -1
- package/dist/exports/test.context.d.ts +1 -1
- package/dist/exports/variables.d.ts +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +30 -27
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +1 -1
- package/dist/qti-components-jsx.d.ts +68 -22
- package/dist/qti-item/components/item-show-correct-response.d.ts +1 -1
- package/dist/qti-item/components/item-show-correct-response.js +2 -2
- package/dist/qti-item/components/print-item-variables.d.ts +1 -1
- package/dist/qti-item/components/print-item-variables.js +2 -2
- package/dist/qti-item/core/index.d.ts +1 -1
- package/dist/qti-item/core/index.js +4 -4
- package/dist/qti-loader/index.d.ts +1 -1
- package/dist/qti-response-declaration-0TYT5oEz.d.ts +1171 -0
- package/dist/qti-response-declaration-B0WM2iOU.d.ts +1113 -0
- package/dist/qti-response-declaration-tkYP2TfV.d.ts +1112 -0
- package/dist/qti-response-declaration-y-C5AMTr.d.ts +1115 -0
- package/dist/qti-test/components/index.d.ts +6 -4
- package/dist/qti-test/components/index.js +24 -21
- package/dist/qti-test/components/test-check-item.d.ts +16 -0
- package/dist/qti-test/components/test-check-item.js +9 -0
- package/dist/qti-test/components/test-check-item.js.map +1 -0
- package/dist/qti-test/components/test-navigation.d.ts +5 -4
- package/dist/qti-test/components/test-navigation.js +3 -3
- package/dist/qti-test/components/test-next.d.ts +5 -3
- package/dist/qti-test/components/test-next.js +2 -5
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +3 -0
- package/dist/qti-test/components/test-paging-buttons-stamp.js +2 -2
- package/dist/qti-test/components/test-prev.d.ts +5 -2
- package/dist/qti-test/components/test-prev.js +2 -3
- package/dist/qti-test/components/test-print-context.d.ts +5 -2
- package/dist/qti-test/components/test-print-context.js +2 -2
- package/dist/qti-test/components/test-print-item-variables.d.ts +5 -2
- package/dist/qti-test/components/test-print-item-variables.js +2 -2
- package/dist/qti-test/components/test-scoring-buttons.d.ts +8 -2
- package/dist/qti-test/components/test-scoring-buttons.js +2 -2
- package/dist/qti-test/components/test-scoring-feedback.d.ts +5 -2
- package/dist/qti-test/components/test-scoring-feedback.js +2 -2
- package/dist/qti-test/components/test-scoring-toggle.d.ts +20 -0
- package/dist/qti-test/components/test-scoring-toggle.js +9 -0
- package/dist/qti-test/components/test-scoring-toggle.js.map +1 -0
- package/dist/qti-test/components/test-section-buttons-stamp.d.ts +3 -0
- package/dist/qti-test/components/test-section-buttons-stamp.js +2 -2
- package/dist/qti-test/components/test-show-correct-response.d.ts +8 -2
- package/dist/qti-test/components/test-show-correct-response.js +2 -2
- package/dist/qti-test/components/test-stamp.d.ts +8 -2
- package/dist/qti-test/components/test-stamp.js +2 -2
- package/dist/qti-test/components/test-view-toggle copy.js +63 -0
- package/dist/qti-test/components/test-view-toggle copy.js.map +1 -0
- package/dist/qti-test/components/test-view-toggle.d.ts +4 -3
- package/dist/qti-test/components/test-view-toggle.js +2 -2
- package/dist/qti-test/components/test-view.js +2 -2
- package/dist/qti-test/core/index.d.ts +5 -3
- package/dist/qti-test/core/index.js +3 -3
- package/dist/qti-test-feedback-BGPOO6Zu.d.ts +98 -0
- package/dist/qti-test-feedback-Bth3dOO1.d.ts +85 -0
- package/dist/qti-test-feedback-C2mE_Xcg.d.ts +85 -0
- package/dist/qti-test-feedback-C6Z0bJMR.d.ts +85 -0
- package/dist/qti-test-feedback-CcyKpmkY.d.ts +85 -0
- package/dist/qti-test-feedback-D8AwiYTL.d.ts +85 -0
- package/dist/vscode.html-custom-data.json +31 -14
- package/package.json +22 -21
- package/readme.md +4 -0
|
@@ -0,0 +1,889 @@
|
|
|
1
|
+
import {
|
|
2
|
+
INITIAL_SESSION_CONTEXT,
|
|
3
|
+
sessionContext
|
|
4
|
+
} from "./chunk-22IRJWWY.js";
|
|
5
|
+
import {
|
|
6
|
+
INITIAL_TEST_CONTEXT,
|
|
7
|
+
testContext
|
|
8
|
+
} from "./chunk-CJADUWEC.js";
|
|
9
|
+
import {
|
|
10
|
+
QtiModalFeedback
|
|
11
|
+
} from "./chunk-Y7BBA7SG.js";
|
|
12
|
+
import {
|
|
13
|
+
qtiTransformItem
|
|
14
|
+
} from "./chunk-VEWD22O5.js";
|
|
15
|
+
import {
|
|
16
|
+
__decorateClass
|
|
17
|
+
} from "./chunk-H2JE6IVU.js";
|
|
18
|
+
|
|
19
|
+
// src/lib/qti-test/core/qti-test.ts
|
|
20
|
+
import { html } from "lit";
|
|
21
|
+
import { customElement } from "lit/decorators.js";
|
|
22
|
+
|
|
23
|
+
// src/lib/qti-test/core/mixins/test-navigation.mixin.ts
|
|
24
|
+
import { property } from "lit/decorators.js";
|
|
25
|
+
var NavigationErrorType = /* @__PURE__ */ ((NavigationErrorType2) => {
|
|
26
|
+
NavigationErrorType2["ITEM_NOT_FOUND"] = "item-not-found";
|
|
27
|
+
NavigationErrorType2["SECTION_NOT_FOUND"] = "section-not-found";
|
|
28
|
+
NavigationErrorType2["LOAD_ERROR"] = "load-error";
|
|
29
|
+
NavigationErrorType2["NETWORK_ERROR"] = "network-error";
|
|
30
|
+
NavigationErrorType2["TIMEOUT_ERROR"] = "timeout-error";
|
|
31
|
+
return NavigationErrorType2;
|
|
32
|
+
})(NavigationErrorType || {});
|
|
33
|
+
var TestNavigationMixin = (superClass) => {
|
|
34
|
+
class TestNavigationClass extends superClass {
|
|
35
|
+
constructor(...args) {
|
|
36
|
+
super(...args);
|
|
37
|
+
this.navigate = null;
|
|
38
|
+
this.cacheTransform = false;
|
|
39
|
+
this.requestTimeout = 3e4;
|
|
40
|
+
this.showLoadingIndicators = true;
|
|
41
|
+
this._activeRequests = [];
|
|
42
|
+
this._navigationInProgress = false;
|
|
43
|
+
this._lastError = null;
|
|
44
|
+
this._lastNavigationRequestId = null;
|
|
45
|
+
this._targetNavigation = null;
|
|
46
|
+
this.addEventListener(
|
|
47
|
+
"qti-request-navigation",
|
|
48
|
+
async ({ detail }) => {
|
|
49
|
+
if (!detail?.id) return;
|
|
50
|
+
const navigationRequestId = `nav_${Date.now()}_${Math.random()}`;
|
|
51
|
+
this._lastNavigationRequestId = navigationRequestId;
|
|
52
|
+
try {
|
|
53
|
+
this._navigationInProgress = true;
|
|
54
|
+
this._lastError = null;
|
|
55
|
+
this._dispatchStatusEvent({ loading: true, type: detail.type, id: detail.id });
|
|
56
|
+
this._cancelActiveRequests();
|
|
57
|
+
this._targetNavigation = { type: detail.type, id: detail.id };
|
|
58
|
+
if (detail.type === "item") {
|
|
59
|
+
await this._navigateToItem(detail.id);
|
|
60
|
+
} else if (detail.type === "section") {
|
|
61
|
+
await this._navigateToSection(detail.id);
|
|
62
|
+
}
|
|
63
|
+
if (this._lastNavigationRequestId !== navigationRequestId) {
|
|
64
|
+
console.log("Navigation was superseded by a newer request");
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
} catch (error) {
|
|
68
|
+
if (this._lastNavigationRequestId === navigationRequestId) {
|
|
69
|
+
const navError = this._normalizeError(error, detail.type, detail.id);
|
|
70
|
+
this._lastError = navError;
|
|
71
|
+
this._dispatchErrorEvent(navError);
|
|
72
|
+
console.error(`Navigation error (${navError.type}):`, navError.message, navError.details);
|
|
73
|
+
}
|
|
74
|
+
} finally {
|
|
75
|
+
if (this._lastNavigationRequestId === navigationRequestId) {
|
|
76
|
+
this._navigationInProgress = false;
|
|
77
|
+
this._dispatchStatusEvent({ loading: false, type: detail.type, id: detail.id });
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
this.addEventListener("qti-assessment-test-connected", (e) => {
|
|
83
|
+
this._testElement = e.detail;
|
|
84
|
+
this._initializeNavigation();
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Initialize navigation when test is first connected
|
|
89
|
+
*/
|
|
90
|
+
_initializeNavigation() {
|
|
91
|
+
let id;
|
|
92
|
+
if (this.navigate === "section") {
|
|
93
|
+
id = this._testElement.querySelector("qti-assessment-section")?.identifier;
|
|
94
|
+
}
|
|
95
|
+
if (this.navigate === "item") {
|
|
96
|
+
id = this.sessionContext.navItemRefId ?? this._testElement.querySelector("qti-assessment-item-ref")?.identifier;
|
|
97
|
+
}
|
|
98
|
+
if (id) {
|
|
99
|
+
this.dispatchEvent(
|
|
100
|
+
new CustomEvent("qti-request-navigation", {
|
|
101
|
+
detail: { type: this.navigate === "section" ? "section" : "item", id },
|
|
102
|
+
bubbles: true,
|
|
103
|
+
composed: true
|
|
104
|
+
})
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
navigateTo(type, id) {
|
|
109
|
+
if (!id) {
|
|
110
|
+
if (type === "section") {
|
|
111
|
+
id = this._testElement?.querySelector("qti-assessment-section")?.identifier;
|
|
112
|
+
}
|
|
113
|
+
if (type === "item") {
|
|
114
|
+
id = this._testElement?.querySelector("qti-assessment-item-ref")?.identifier;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
this.dispatchEvent(
|
|
118
|
+
new CustomEvent("qti-request-navigation", {
|
|
119
|
+
detail: { type, id },
|
|
120
|
+
bubbles: true,
|
|
121
|
+
composed: true
|
|
122
|
+
})
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Navigates to a specific item
|
|
127
|
+
*/
|
|
128
|
+
async _navigateToItem(itemId) {
|
|
129
|
+
const itemRefEl = this._testElement?.querySelector(
|
|
130
|
+
`qti-assessment-item-ref[identifier="${itemId}"]`
|
|
131
|
+
);
|
|
132
|
+
if (!itemRefEl) {
|
|
133
|
+
throw {
|
|
134
|
+
type: "item-not-found" /* ITEM_NOT_FOUND */,
|
|
135
|
+
message: `Item with identifier "${itemId}" not found.`,
|
|
136
|
+
itemId
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
const navPartId = itemRefEl.closest("qti-test-part")?.identifier;
|
|
140
|
+
const navSectionId = itemRefEl.closest("qti-assessment-section")?.identifier;
|
|
141
|
+
this.sessionContext = {
|
|
142
|
+
...this.sessionContext,
|
|
143
|
+
navPartId,
|
|
144
|
+
navSectionId,
|
|
145
|
+
navItemRefId: itemId,
|
|
146
|
+
navItemLoading: true
|
|
147
|
+
};
|
|
148
|
+
try {
|
|
149
|
+
await this._loadItems([itemId]);
|
|
150
|
+
} finally {
|
|
151
|
+
this.sessionContext = {
|
|
152
|
+
...this.sessionContext,
|
|
153
|
+
navItemLoading: false
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Navigates to a specific section
|
|
159
|
+
*/
|
|
160
|
+
async _navigateToSection(sectionId) {
|
|
161
|
+
const sectionRefEl = this._testElement?.querySelector(
|
|
162
|
+
`qti-assessment-section[identifier="${sectionId}"]`
|
|
163
|
+
);
|
|
164
|
+
if (!sectionRefEl) {
|
|
165
|
+
throw {
|
|
166
|
+
type: "section-not-found" /* SECTION_NOT_FOUND */,
|
|
167
|
+
message: `Section with identifier "${sectionId}" not found.`,
|
|
168
|
+
sectionId
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
const navPartId = sectionRefEl.closest("qti-test-part")?.identifier;
|
|
172
|
+
this.sessionContext = {
|
|
173
|
+
...this.sessionContext,
|
|
174
|
+
navPartId,
|
|
175
|
+
navSectionId: sectionId,
|
|
176
|
+
navItemRefId: null,
|
|
177
|
+
navItemLoading: true
|
|
178
|
+
};
|
|
179
|
+
try {
|
|
180
|
+
const itemIds = this._getSectionItemIds(sectionId);
|
|
181
|
+
await this._loadItems(itemIds);
|
|
182
|
+
} finally {
|
|
183
|
+
this.sessionContext = {
|
|
184
|
+
...this.sessionContext,
|
|
185
|
+
navItemLoading: false
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Normalize different error types into a consistent NavigationError format
|
|
191
|
+
*/
|
|
192
|
+
_normalizeError(error, navigationType, id) {
|
|
193
|
+
if (error && error.type && Object.values(NavigationErrorType).includes(error.type)) {
|
|
194
|
+
return error;
|
|
195
|
+
}
|
|
196
|
+
if (error instanceof DOMException && error.name === "AbortError") {
|
|
197
|
+
return {
|
|
198
|
+
type: "network-error" /* NETWORK_ERROR */,
|
|
199
|
+
message: "Navigation was cancelled because a new navigation was requested.",
|
|
200
|
+
details: error
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
if (error.name === "TimeoutError" || error.message && error.message.includes("timeout")) {
|
|
204
|
+
return {
|
|
205
|
+
type: "timeout-error" /* TIMEOUT_ERROR */,
|
|
206
|
+
message: "Request timed out. Please check your network connection.",
|
|
207
|
+
details: error
|
|
208
|
+
};
|
|
209
|
+
}
|
|
210
|
+
if (error instanceof TypeError && error.message.includes("network")) {
|
|
211
|
+
return {
|
|
212
|
+
type: "network-error" /* NETWORK_ERROR */,
|
|
213
|
+
message: "A network error occurred. Please check your connection.",
|
|
214
|
+
details: error
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
return {
|
|
218
|
+
type: "load-error" /* LOAD_ERROR */,
|
|
219
|
+
message: `Failed to load ${navigationType}: ${id}`,
|
|
220
|
+
details: error,
|
|
221
|
+
itemId: navigationType === "item" ? id : void 0,
|
|
222
|
+
sectionId: navigationType === "section" ? id : void 0
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Dispatch error event to notify the UI
|
|
227
|
+
*/
|
|
228
|
+
_dispatchErrorEvent(error) {
|
|
229
|
+
this.dispatchEvent(
|
|
230
|
+
new CustomEvent("qti-navigation-error", {
|
|
231
|
+
detail: error,
|
|
232
|
+
bubbles: true,
|
|
233
|
+
composed: true
|
|
234
|
+
})
|
|
235
|
+
);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Dispatch status event to indicate loading state
|
|
239
|
+
*/
|
|
240
|
+
_dispatchStatusEvent(status) {
|
|
241
|
+
if (this.showLoadingIndicators) {
|
|
242
|
+
this.dispatchEvent(
|
|
243
|
+
new CustomEvent("qti-navigation-status", {
|
|
244
|
+
detail: status,
|
|
245
|
+
bubbles: true,
|
|
246
|
+
composed: true
|
|
247
|
+
})
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Cancels all active HTTP requests
|
|
253
|
+
*/
|
|
254
|
+
_cancelActiveRequests() {
|
|
255
|
+
if (this._activeRequests.length > 0) {
|
|
256
|
+
console.info(`Cancelling ${this._activeRequests.length} pending requests`);
|
|
257
|
+
this._activeRequests.forEach((request) => {
|
|
258
|
+
if (request && request.readyState !== 4) {
|
|
259
|
+
request.abort();
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
this._activeRequests = [];
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Load items with improved error handling and timeout
|
|
267
|
+
*/
|
|
268
|
+
async _loadItems(itemIds) {
|
|
269
|
+
if (!this._testElement || itemIds.length === 0) return;
|
|
270
|
+
const itemRefEls = itemIds.map(
|
|
271
|
+
(id) => this._testElement.querySelector(`qti-assessment-item-ref[identifier="${id}"]`)
|
|
272
|
+
);
|
|
273
|
+
const missingItems = itemRefEls.reduce((missing, el, index) => {
|
|
274
|
+
if (!el) missing.push(itemIds[index]);
|
|
275
|
+
return missing;
|
|
276
|
+
}, []);
|
|
277
|
+
if (missingItems.length > 0) {
|
|
278
|
+
const error = {
|
|
279
|
+
type: "item-not-found" /* ITEM_NOT_FOUND */,
|
|
280
|
+
message: `One or more items not found: ${missingItems.join(", ")}`,
|
|
281
|
+
details: { missingItems }
|
|
282
|
+
};
|
|
283
|
+
throw error;
|
|
284
|
+
}
|
|
285
|
+
this._clearLoadedItems();
|
|
286
|
+
const itemLoadPromises = itemRefEls.map(async (itemRef) => {
|
|
287
|
+
if (!itemRef) return null;
|
|
288
|
+
const timeoutPromise = new Promise((_, reject) => {
|
|
289
|
+
setTimeout(() => {
|
|
290
|
+
reject({
|
|
291
|
+
name: "TimeoutError",
|
|
292
|
+
message: `Request for item ${itemRef.identifier} timed out after ${this.requestTimeout}ms`
|
|
293
|
+
});
|
|
294
|
+
}, this.requestTimeout);
|
|
295
|
+
});
|
|
296
|
+
try {
|
|
297
|
+
const { promise, request } = qtiTransformItem(this.cacheTransform).load(itemRef.href);
|
|
298
|
+
if (request instanceof XMLHttpRequest) {
|
|
299
|
+
this._activeRequests.push(request);
|
|
300
|
+
}
|
|
301
|
+
const apiResult = await Promise.race([promise, timeoutPromise]);
|
|
302
|
+
return {
|
|
303
|
+
itemRef,
|
|
304
|
+
doc: apiResult.htmlDoc(),
|
|
305
|
+
request
|
|
306
|
+
};
|
|
307
|
+
} catch (error) {
|
|
308
|
+
if (error instanceof DOMException && error.name === "AbortError" || error && error.name === "TimeoutError") {
|
|
309
|
+
console.log(
|
|
310
|
+
`Request for item ${itemRef.identifier} was ${error.name === "TimeoutError" ? "timed out" : "aborted"}`
|
|
311
|
+
);
|
|
312
|
+
return null;
|
|
313
|
+
}
|
|
314
|
+
error.itemId = itemRef.identifier;
|
|
315
|
+
throw error;
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
try {
|
|
319
|
+
const results = await Promise.all(itemLoadPromises);
|
|
320
|
+
const validResults = results.filter((result) => result !== null);
|
|
321
|
+
validResults.forEach(({ itemRef, doc }) => {
|
|
322
|
+
if (itemRef && doc) itemRef.xmlDoc = doc;
|
|
323
|
+
});
|
|
324
|
+
this._activeRequests = [];
|
|
325
|
+
requestAnimationFrame(() => {
|
|
326
|
+
this.dispatchEvent(
|
|
327
|
+
new CustomEvent("qti-test-loaded", {
|
|
328
|
+
detail: validResults.map(({ itemRef }) => ({
|
|
329
|
+
identifier: itemRef?.identifier,
|
|
330
|
+
element: itemRef
|
|
331
|
+
})),
|
|
332
|
+
bubbles: true,
|
|
333
|
+
composed: true
|
|
334
|
+
})
|
|
335
|
+
);
|
|
336
|
+
});
|
|
337
|
+
if (validResults.length === 0 && itemIds.length > 0) {
|
|
338
|
+
throw {
|
|
339
|
+
type: "load-error" /* LOAD_ERROR */,
|
|
340
|
+
message: "All item requests failed to load",
|
|
341
|
+
details: { itemIds }
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
return validResults;
|
|
345
|
+
} catch (error) {
|
|
346
|
+
console.error("Error loading items:", error);
|
|
347
|
+
throw error;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* Gets all item IDs in a section
|
|
352
|
+
*/
|
|
353
|
+
_getSectionItemIds(navSectionId) {
|
|
354
|
+
const sectionRefEl = this._testElement?.querySelector(
|
|
355
|
+
`qti-assessment-section[identifier="${navSectionId}"]`
|
|
356
|
+
);
|
|
357
|
+
if (!sectionRefEl) {
|
|
358
|
+
throw {
|
|
359
|
+
type: "section-not-found" /* SECTION_NOT_FOUND */,
|
|
360
|
+
message: `Section with identifier "${navSectionId}" not found.`,
|
|
361
|
+
sectionId: navSectionId
|
|
362
|
+
};
|
|
363
|
+
}
|
|
364
|
+
return Array.from(
|
|
365
|
+
this._testElement.querySelectorAll(
|
|
366
|
+
`qti-assessment-section[identifier="${navSectionId}"] > qti-assessment-item-ref`
|
|
367
|
+
)
|
|
368
|
+
).map((itemRef) => itemRef.identifier);
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* Clears all loaded items
|
|
372
|
+
*/
|
|
373
|
+
_clearLoadedItems() {
|
|
374
|
+
const itemRefEls = this._testElement?.querySelectorAll(
|
|
375
|
+
`qti-assessment-test qti-assessment-item-ref`
|
|
376
|
+
);
|
|
377
|
+
Array.from(itemRefEls || []).forEach((itemElement) => {
|
|
378
|
+
itemElement.xmlDoc = null;
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* Retry the last failed navigation
|
|
383
|
+
*/
|
|
384
|
+
retryNavigation() {
|
|
385
|
+
if (this._lastError) {
|
|
386
|
+
const type = this._lastError.itemId ? "item" : "section";
|
|
387
|
+
const id = this._lastError.itemId || this._lastError.sectionId;
|
|
388
|
+
if (id) {
|
|
389
|
+
this.dispatchEvent(
|
|
390
|
+
new CustomEvent("qti-request-navigation", {
|
|
391
|
+
detail: { type, id },
|
|
392
|
+
bubbles: true,
|
|
393
|
+
composed: true
|
|
394
|
+
})
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
} else if (this._targetNavigation) {
|
|
398
|
+
this.dispatchEvent(
|
|
399
|
+
new CustomEvent("qti-request-navigation", {
|
|
400
|
+
detail: this._targetNavigation,
|
|
401
|
+
bubbles: true,
|
|
402
|
+
composed: true
|
|
403
|
+
})
|
|
404
|
+
);
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
__decorateClass([
|
|
409
|
+
property({ type: String })
|
|
410
|
+
], TestNavigationClass.prototype, "navigate", 2);
|
|
411
|
+
__decorateClass([
|
|
412
|
+
property({ type: Boolean, attribute: "cache-transform" })
|
|
413
|
+
], TestNavigationClass.prototype, "cacheTransform", 2);
|
|
414
|
+
__decorateClass([
|
|
415
|
+
property({ type: Number })
|
|
416
|
+
], TestNavigationClass.prototype, "requestTimeout", 2);
|
|
417
|
+
__decorateClass([
|
|
418
|
+
property({ type: Boolean })
|
|
419
|
+
], TestNavigationClass.prototype, "showLoadingIndicators", 2);
|
|
420
|
+
return TestNavigationClass;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
// src/lib/qti-test/core/mixins/test-view.mixin.ts
|
|
424
|
+
var TestViewMixin = (superClass) => {
|
|
425
|
+
class TestViewClass extends superClass {
|
|
426
|
+
constructor(...args) {
|
|
427
|
+
super(...args);
|
|
428
|
+
this.sessionContext = { ...this.sessionContext, view: "candidate" };
|
|
429
|
+
this.addEventListener("on-test-switch-view", (e) => {
|
|
430
|
+
this.sessionContext = { ...this.sessionContext, view: e.detail };
|
|
431
|
+
this._updateElementView();
|
|
432
|
+
});
|
|
433
|
+
this.addEventListener("qti-assessment-test-connected", () => {
|
|
434
|
+
this._updateElementView();
|
|
435
|
+
});
|
|
436
|
+
this.addEventListener("qti-assessment-item-connected", (e) => {
|
|
437
|
+
this._updateElementView();
|
|
438
|
+
this._setCorrectResponseVisibility(e.detail);
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
willUpdate(changedProperties) {
|
|
442
|
+
super.willUpdate(changedProperties);
|
|
443
|
+
if (changedProperties.has("sessionContext")) {
|
|
444
|
+
this._updateElementView();
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
// Method to handle view updates for elements based on the current context view
|
|
448
|
+
_updateElementView() {
|
|
449
|
+
if (this._testElement) {
|
|
450
|
+
const viewElements = Array.from(this._testElement.querySelectorAll("[view]"));
|
|
451
|
+
viewElements.forEach((element) => {
|
|
452
|
+
element.classList.toggle("show", element.getAttribute("view") === this.sessionContext.view);
|
|
453
|
+
});
|
|
454
|
+
const assessmentItemRef = this._testElement.querySelector(
|
|
455
|
+
`qti-assessment-item-ref[identifier="${this.sessionContext.navItemRefId}"]`
|
|
456
|
+
);
|
|
457
|
+
const assessmentItem = assessmentItemRef?.assessmentItem;
|
|
458
|
+
if (assessmentItem) {
|
|
459
|
+
assessmentItem.showCorrectResponse(this.sessionContext.view === "scorer");
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
// Event handler for connected QTI assessment items
|
|
464
|
+
_setCorrectResponseVisibility(assessmentItem) {
|
|
465
|
+
assessmentItem.showCorrectResponse(this.sessionContext.view === "scorer");
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
return TestViewClass;
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
// src/lib/qti-test/core/test-base.ts
|
|
472
|
+
import { provide } from "@lit/context";
|
|
473
|
+
import { LitElement } from "lit";
|
|
474
|
+
import { property as property2 } from "lit/decorators.js";
|
|
475
|
+
var TestBase = class extends LitElement {
|
|
476
|
+
// updateItem(itemRefID: string, variables: VariableValue<string | string[] | null>[]): void {
|
|
477
|
+
// // Update variables in the testContext for the specified itemRefID
|
|
478
|
+
// const itemContext = this.testContext.items.find(item => item.identifier === itemRefID);
|
|
479
|
+
// if (itemContext) {
|
|
480
|
+
// itemContext.variables = itemContext.variables.map(variable => {
|
|
481
|
+
// const updatedVariable = variables.find(v => v.identifier === variable.identifier);
|
|
482
|
+
// return updatedVariable ? { ...variable, ...updatedVariable } : variable;
|
|
483
|
+
// });
|
|
484
|
+
// }
|
|
485
|
+
// // if the qti-assessment-item-ref has a qti-assessment-item, then update this item as well
|
|
486
|
+
// const itemRef = this._testElement.querySelector<QtiAssessmentItemRef>(
|
|
487
|
+
// `qti-assessment-item-ref[identifier="${itemRefID}"]`
|
|
488
|
+
// );
|
|
489
|
+
// if (itemRef && itemRef.assessmentItem) {
|
|
490
|
+
// if (itemRef.assessmentItem) {
|
|
491
|
+
// itemRef.assessmentItem.variables = variables;
|
|
492
|
+
// }
|
|
493
|
+
// }
|
|
494
|
+
// }
|
|
495
|
+
constructor() {
|
|
496
|
+
super();
|
|
497
|
+
this.testContext = INITIAL_TEST_CONTEXT;
|
|
498
|
+
this.sessionContext = INITIAL_SESSION_CONTEXT;
|
|
499
|
+
/**
|
|
500
|
+
* Updates the variables of an assessment item in the test context.
|
|
501
|
+
* - Matches the assessment item with the corresponding test context item.
|
|
502
|
+
* - If the item is not found, logs a warning.
|
|
503
|
+
* - Updates variables in the test context if exactly one variable exists.
|
|
504
|
+
* - Otherwise, syncs the assessment item's variables with the test context.
|
|
505
|
+
*
|
|
506
|
+
* @param assessmentItem - The assessment item to update.
|
|
507
|
+
*/
|
|
508
|
+
this._updateItemInTestContext = (assessmentItem) => {
|
|
509
|
+
const context = assessmentItem._context;
|
|
510
|
+
const identifier = context.identifier;
|
|
511
|
+
const fullVariables = context.variables;
|
|
512
|
+
const itemContext = this.testContext.items.find((i) => i?.identifier === identifier);
|
|
513
|
+
if (!itemContext) {
|
|
514
|
+
console.warn(`Item IDs between assessment.xml and item.xml should match: ${identifier} is not found!`);
|
|
515
|
+
return;
|
|
516
|
+
}
|
|
517
|
+
if (itemContext.variables?.length === 1) {
|
|
518
|
+
this._updateItemVariablesInTestContext(identifier, fullVariables);
|
|
519
|
+
} else {
|
|
520
|
+
assessmentItem.variables = [...itemContext.variables || []];
|
|
521
|
+
}
|
|
522
|
+
};
|
|
523
|
+
this.addEventListener("qti-assessment-test-connected", (e) => {
|
|
524
|
+
this.testContext = INITIAL_TEST_CONTEXT;
|
|
525
|
+
this.sessionContext = INITIAL_SESSION_CONTEXT;
|
|
526
|
+
if (this.testContext && this.testContext.items.length > 0) return;
|
|
527
|
+
this._testElement = e.detail;
|
|
528
|
+
const items = Array.from(this._testElement.querySelectorAll("qti-assessment-item-ref")).map((itemRef) => {
|
|
529
|
+
return {
|
|
530
|
+
href: itemRef.href,
|
|
531
|
+
identifier: itemRef.identifier,
|
|
532
|
+
category: itemRef.category,
|
|
533
|
+
variables: [
|
|
534
|
+
{
|
|
535
|
+
identifier: "completionStatus",
|
|
536
|
+
value: "not_attempted",
|
|
537
|
+
type: "outcome"
|
|
538
|
+
}
|
|
539
|
+
]
|
|
540
|
+
};
|
|
541
|
+
});
|
|
542
|
+
this.testContext = { ...this.testContext, items };
|
|
543
|
+
});
|
|
544
|
+
this.addEventListener("qti-assessment-item-connected", (e) => {
|
|
545
|
+
const assessmentItem = e.detail;
|
|
546
|
+
const assessmentRefId = assessmentItem.closest("qti-assessment-item-ref")?.identifier;
|
|
547
|
+
if (assessmentRefId) {
|
|
548
|
+
assessmentItem.assessmentItemRefId = assessmentRefId;
|
|
549
|
+
}
|
|
550
|
+
this._updateItemInTestContext(e.detail);
|
|
551
|
+
});
|
|
552
|
+
this.addEventListener("qti-item-context-updated", (e) => {
|
|
553
|
+
this._updateItemVariablesInTestContext(e.detail.itemContext.identifier, e.detail.itemContext.variables);
|
|
554
|
+
});
|
|
555
|
+
}
|
|
556
|
+
_updateItemVariablesInTestContext(identifier, variables) {
|
|
557
|
+
this.testContext = {
|
|
558
|
+
...this.testContext,
|
|
559
|
+
// Spread existing test context properties
|
|
560
|
+
items: this.testContext.items.map((itemContext) => {
|
|
561
|
+
if (itemContext.identifier !== identifier) {
|
|
562
|
+
return itemContext;
|
|
563
|
+
}
|
|
564
|
+
return {
|
|
565
|
+
...itemContext,
|
|
566
|
+
// Keep other properties of the item context
|
|
567
|
+
variables: variables.map((variable) => {
|
|
568
|
+
const matchingVariable = itemContext.variables.find((v) => v.identifier === variable.identifier);
|
|
569
|
+
return matchingVariable ? { ...matchingVariable, ...variable } : variable;
|
|
570
|
+
})
|
|
571
|
+
};
|
|
572
|
+
})
|
|
573
|
+
};
|
|
574
|
+
this.dispatchEvent(
|
|
575
|
+
new CustomEvent("qti-test-context-updated", { detail: this.testContext, bubbles: false, composed: false })
|
|
576
|
+
);
|
|
577
|
+
}
|
|
578
|
+
};
|
|
579
|
+
__decorateClass([
|
|
580
|
+
property2({ attribute: false, type: Object }),
|
|
581
|
+
provide({ context: testContext })
|
|
582
|
+
], TestBase.prototype, "testContext", 2);
|
|
583
|
+
__decorateClass([
|
|
584
|
+
property2({ attribute: false, type: Object }),
|
|
585
|
+
provide({ context: sessionContext })
|
|
586
|
+
], TestBase.prototype, "sessionContext", 2);
|
|
587
|
+
|
|
588
|
+
// src/lib/qti-test/core/mixins/test-processing.mixin.ts
|
|
589
|
+
var TestProcessingMixin = (superClass) => {
|
|
590
|
+
class TestProcessingElement extends superClass {
|
|
591
|
+
constructor(...args) {
|
|
592
|
+
super(...args);
|
|
593
|
+
this.addEventListener("qti-register-variable", (e) => {
|
|
594
|
+
this.testContext = {
|
|
595
|
+
...this.testContext,
|
|
596
|
+
testOutcomeVariables: [...this.testContext.testOutcomeVariables || [], e.detail.variable]
|
|
597
|
+
};
|
|
598
|
+
e.stopPropagation();
|
|
599
|
+
});
|
|
600
|
+
this.addEventListener(
|
|
601
|
+
"qti-set-outcome-value",
|
|
602
|
+
(e) => {
|
|
603
|
+
const { outcomeIdentifier, value } = e.detail;
|
|
604
|
+
this.updateOutcomeVariable(outcomeIdentifier, value);
|
|
605
|
+
e.stopPropagation();
|
|
606
|
+
}
|
|
607
|
+
);
|
|
608
|
+
}
|
|
609
|
+
outcomeProcessing() {
|
|
610
|
+
const outcomeProcessor = this.querySelector("qti-outcome-processing");
|
|
611
|
+
if (!outcomeProcessor) return false;
|
|
612
|
+
outcomeProcessor?.process();
|
|
613
|
+
return true;
|
|
614
|
+
}
|
|
615
|
+
/* --------------------------- ENABLED WHEN UNIT TESTING OUTCOME PROCESSING ------------------------------------ */
|
|
616
|
+
updateOutcomeVariable(identifier, value) {
|
|
617
|
+
const outcomeVariable = this.getOutcome(identifier);
|
|
618
|
+
if (!outcomeVariable) {
|
|
619
|
+
console.warn(`Can not set qti-outcome-identifier: ${identifier}, it is not available`);
|
|
620
|
+
return;
|
|
621
|
+
}
|
|
622
|
+
this.testContext = {
|
|
623
|
+
...this.testContext,
|
|
624
|
+
testOutcomeVariables: this.testContext.testOutcomeVariables?.map((v) => {
|
|
625
|
+
if (v.identifier !== identifier) {
|
|
626
|
+
return v;
|
|
627
|
+
}
|
|
628
|
+
return {
|
|
629
|
+
...v,
|
|
630
|
+
value: outcomeVariable.cardinality === "single" ? value : [...v.value, value]
|
|
631
|
+
};
|
|
632
|
+
})
|
|
633
|
+
};
|
|
634
|
+
}
|
|
635
|
+
getOutcome(identifier) {
|
|
636
|
+
return this.getVariable(identifier);
|
|
637
|
+
}
|
|
638
|
+
getVariable(identifier) {
|
|
639
|
+
return this.testContext.testOutcomeVariables?.find((v) => v.identifier === identifier) || null;
|
|
640
|
+
}
|
|
641
|
+
/* --------------------------- ENABLED WHEN UNIT TESTING OUTCOME PROCESSING ------------------------------------ */
|
|
642
|
+
}
|
|
643
|
+
return TestProcessingElement;
|
|
644
|
+
};
|
|
645
|
+
|
|
646
|
+
// src/lib/qti-test/core/qti-test.ts
|
|
647
|
+
var QtiTest = class extends TestNavigationMixin(TestViewMixin(TestProcessingMixin(TestBase))) {
|
|
648
|
+
// export class QtiTest extends TestLoaderMixin(TestNavigationMixin(TestViewMixin(TestBase))) {
|
|
649
|
+
/**
|
|
650
|
+
* Renders the component's template.
|
|
651
|
+
* Provides a default `<slot>` for content projection.
|
|
652
|
+
*/
|
|
653
|
+
async connectedCallback() {
|
|
654
|
+
super.connectedCallback();
|
|
655
|
+
await this.updateComplete;
|
|
656
|
+
this.dispatchEvent(new CustomEvent("qti-test-connected", { detail: this }));
|
|
657
|
+
}
|
|
658
|
+
render() {
|
|
659
|
+
return html`<slot></slot>`;
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
QtiTest = __decorateClass([
|
|
663
|
+
customElement("qti-test")
|
|
664
|
+
], QtiTest);
|
|
665
|
+
|
|
666
|
+
// src/lib/qti-test/core/qti-assessment-test/qti-assessment-item-ref.ts
|
|
667
|
+
import { LitElement as LitElement2 } from "lit";
|
|
668
|
+
import { property as property3 } from "lit/decorators.js";
|
|
669
|
+
import { prepareTemplate } from "stampino";
|
|
670
|
+
var stringToBooleanConverter = {
|
|
671
|
+
fromAttribute(value) {
|
|
672
|
+
return value === "true";
|
|
673
|
+
},
|
|
674
|
+
toAttribute(value) {
|
|
675
|
+
return value ? "true" : "false";
|
|
676
|
+
}
|
|
677
|
+
};
|
|
678
|
+
var QtiAssessmentItemRef = class extends LitElement2 {
|
|
679
|
+
constructor() {
|
|
680
|
+
super(...arguments);
|
|
681
|
+
// @consume({ context: computedContext, subscribe: true })
|
|
682
|
+
// private computedContext: ComputedContext;
|
|
683
|
+
this.weigths = /* @__PURE__ */ new Map();
|
|
684
|
+
}
|
|
685
|
+
// the XMLDocument
|
|
686
|
+
createRenderRoot() {
|
|
687
|
+
return this;
|
|
688
|
+
}
|
|
689
|
+
get assessmentItem() {
|
|
690
|
+
return this.renderRoot?.querySelector("qti-assessment-item");
|
|
691
|
+
}
|
|
692
|
+
async connectedCallback() {
|
|
693
|
+
super.connectedCallback();
|
|
694
|
+
const templateElement = this.getRootNode().host.closest("qti-test").querySelector("template[item-ref]");
|
|
695
|
+
if (templateElement) this.myTemplate = prepareTemplate(templateElement);
|
|
696
|
+
await this.updateComplete;
|
|
697
|
+
this.dispatchEvent(
|
|
698
|
+
new CustomEvent("qti-assessment-item-ref-connected", {
|
|
699
|
+
bubbles: true,
|
|
700
|
+
composed: true,
|
|
701
|
+
detail: { identifier: this.identifier, href: this.href, category: this.category }
|
|
702
|
+
})
|
|
703
|
+
);
|
|
704
|
+
}
|
|
705
|
+
render() {
|
|
706
|
+
return this.myTemplate ? this.myTemplate({ xmlDoc: this.xmlDoc }) : this.xmlDoc;
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
__decorateClass([
|
|
710
|
+
property3({ type: String })
|
|
711
|
+
], QtiAssessmentItemRef.prototype, "category", 2);
|
|
712
|
+
__decorateClass([
|
|
713
|
+
property3({ type: String })
|
|
714
|
+
], QtiAssessmentItemRef.prototype, "identifier", 2);
|
|
715
|
+
__decorateClass([
|
|
716
|
+
property3({ type: Boolean, converter: stringToBooleanConverter })
|
|
717
|
+
], QtiAssessmentItemRef.prototype, "required", 2);
|
|
718
|
+
__decorateClass([
|
|
719
|
+
property3({ type: Boolean, converter: stringToBooleanConverter })
|
|
720
|
+
], QtiAssessmentItemRef.prototype, "fixed", 2);
|
|
721
|
+
__decorateClass([
|
|
722
|
+
property3({ type: String })
|
|
723
|
+
], QtiAssessmentItemRef.prototype, "href", 2);
|
|
724
|
+
__decorateClass([
|
|
725
|
+
property3({ type: Object, attribute: false })
|
|
726
|
+
], QtiAssessmentItemRef.prototype, "xmlDoc", 2);
|
|
727
|
+
if (!customElements.get("qti-assessment-item-ref")) {
|
|
728
|
+
customElements.define("qti-assessment-item-ref", QtiAssessmentItemRef);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
// src/lib/qti-test/core/qti-assessment-test/qti-assessment-section.ts
|
|
732
|
+
import { consume } from "@lit/context";
|
|
733
|
+
import { html as html2, LitElement as LitElement3 } from "lit";
|
|
734
|
+
import { property as property4 } from "lit/decorators.js";
|
|
735
|
+
var stringToBooleanConverter2 = {
|
|
736
|
+
fromAttribute(value) {
|
|
737
|
+
return value === "true";
|
|
738
|
+
},
|
|
739
|
+
toAttribute(value) {
|
|
740
|
+
return value ? "true" : "false";
|
|
741
|
+
}
|
|
742
|
+
};
|
|
743
|
+
var QtiAssessmentSection = class extends LitElement3 {
|
|
744
|
+
async connectedCallback() {
|
|
745
|
+
super.connectedCallback();
|
|
746
|
+
await this.updateComplete;
|
|
747
|
+
this.dispatchEvent(
|
|
748
|
+
new Event("qti-assessment-section-connected", {
|
|
749
|
+
bubbles: true,
|
|
750
|
+
composed: true
|
|
751
|
+
})
|
|
752
|
+
);
|
|
753
|
+
}
|
|
754
|
+
render() {
|
|
755
|
+
return html2`<slot name="qti-rubric-block"></slot><slot></slot>`;
|
|
756
|
+
}
|
|
757
|
+
};
|
|
758
|
+
__decorateClass([
|
|
759
|
+
property4({ type: String })
|
|
760
|
+
], QtiAssessmentSection.prototype, "identifier", 2);
|
|
761
|
+
__decorateClass([
|
|
762
|
+
property4({ type: String })
|
|
763
|
+
], QtiAssessmentSection.prototype, "required", 2);
|
|
764
|
+
__decorateClass([
|
|
765
|
+
property4({ type: Boolean, converter: stringToBooleanConverter2 })
|
|
766
|
+
], QtiAssessmentSection.prototype, "fixed", 2);
|
|
767
|
+
__decorateClass([
|
|
768
|
+
property4({ type: String })
|
|
769
|
+
], QtiAssessmentSection.prototype, "title", 2);
|
|
770
|
+
__decorateClass([
|
|
771
|
+
property4({ type: Boolean, converter: stringToBooleanConverter2 })
|
|
772
|
+
], QtiAssessmentSection.prototype, "visible", 2);
|
|
773
|
+
__decorateClass([
|
|
774
|
+
property4({ type: Boolean, converter: stringToBooleanConverter2, attribute: "keep-together" })
|
|
775
|
+
], QtiAssessmentSection.prototype, "keepTogether", 2);
|
|
776
|
+
__decorateClass([
|
|
777
|
+
consume({ context: testContext, subscribe: true })
|
|
778
|
+
], QtiAssessmentSection.prototype, "_testContext", 2);
|
|
779
|
+
if (!customElements.get("qti-assessment-section")) {
|
|
780
|
+
customElements.define("qti-assessment-section", QtiAssessmentSection);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
// src/lib/qti-test/core/qti-assessment-test/qti-assessment-test.ts
|
|
784
|
+
import { consume as consume2 } from "@lit/context";
|
|
785
|
+
import { html as html3, LitElement as LitElement4 } from "lit";
|
|
786
|
+
import { customElement as customElement2, property as property5 } from "lit/decorators.js";
|
|
787
|
+
var QtiAssessmentTest = class extends LitElement4 {
|
|
788
|
+
async connectedCallback() {
|
|
789
|
+
super.connectedCallback();
|
|
790
|
+
await this.updateComplete;
|
|
791
|
+
this.dispatchEvent(
|
|
792
|
+
new CustomEvent("qti-assessment-test-connected", {
|
|
793
|
+
detail: this,
|
|
794
|
+
bubbles: true,
|
|
795
|
+
composed: true
|
|
796
|
+
})
|
|
797
|
+
);
|
|
798
|
+
}
|
|
799
|
+
render() {
|
|
800
|
+
return html3` <slot></slot>`;
|
|
801
|
+
}
|
|
802
|
+
};
|
|
803
|
+
__decorateClass([
|
|
804
|
+
property5({ type: String })
|
|
805
|
+
], QtiAssessmentTest.prototype, "identifier", 2);
|
|
806
|
+
__decorateClass([
|
|
807
|
+
property5({ type: String })
|
|
808
|
+
], QtiAssessmentTest.prototype, "title", 2);
|
|
809
|
+
__decorateClass([
|
|
810
|
+
consume2({ context: testContext, subscribe: true })
|
|
811
|
+
], QtiAssessmentTest.prototype, "_testContext", 2);
|
|
812
|
+
QtiAssessmentTest = __decorateClass([
|
|
813
|
+
customElement2("qti-assessment-test")
|
|
814
|
+
], QtiAssessmentTest);
|
|
815
|
+
|
|
816
|
+
// src/lib/qti-test/core/qti-assessment-test/qti-test-part.ts
|
|
817
|
+
import { html as html4, LitElement as LitElement5 } from "lit";
|
|
818
|
+
import { customElement as customElement3, property as property6 } from "lit/decorators.js";
|
|
819
|
+
var QtiTestPart = class extends LitElement5 {
|
|
820
|
+
constructor() {
|
|
821
|
+
super(...arguments);
|
|
822
|
+
this.identifier = "";
|
|
823
|
+
this.title = "";
|
|
824
|
+
this.class = "";
|
|
825
|
+
this.navigationMode = "nonlinear";
|
|
826
|
+
this.submissionMode = "individual";
|
|
827
|
+
}
|
|
828
|
+
async connectedCallback() {
|
|
829
|
+
super.connectedCallback();
|
|
830
|
+
await this.updateComplete;
|
|
831
|
+
this.dispatchEvent(
|
|
832
|
+
new Event("qti-test-part-connected", {
|
|
833
|
+
bubbles: true,
|
|
834
|
+
composed: true
|
|
835
|
+
})
|
|
836
|
+
);
|
|
837
|
+
}
|
|
838
|
+
render() {
|
|
839
|
+
return html4` <slot></slot>`;
|
|
840
|
+
}
|
|
841
|
+
};
|
|
842
|
+
__decorateClass([
|
|
843
|
+
property6({ type: String })
|
|
844
|
+
], QtiTestPart.prototype, "identifier", 2);
|
|
845
|
+
__decorateClass([
|
|
846
|
+
property6({ type: String })
|
|
847
|
+
], QtiTestPart.prototype, "title", 2);
|
|
848
|
+
__decorateClass([
|
|
849
|
+
property6({ type: String })
|
|
850
|
+
], QtiTestPart.prototype, "class", 2);
|
|
851
|
+
__decorateClass([
|
|
852
|
+
property6({ type: String, attribute: "navigation-mode" })
|
|
853
|
+
], QtiTestPart.prototype, "navigationMode", 2);
|
|
854
|
+
__decorateClass([
|
|
855
|
+
property6({ type: String, attribute: "submission-mode" })
|
|
856
|
+
], QtiTestPart.prototype, "submissionMode", 2);
|
|
857
|
+
QtiTestPart = __decorateClass([
|
|
858
|
+
customElement3("qti-test-part")
|
|
859
|
+
], QtiTestPart);
|
|
860
|
+
if (!customElements.get("qti-test-part")) {
|
|
861
|
+
customElements.define("qti-test-part", QtiTestPart);
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
// src/lib/qti-test/core/qti-assessment-test/qti-test-feedback.ts
|
|
865
|
+
import { customElement as customElement4 } from "lit/decorators.js";
|
|
866
|
+
import { css, html as html5 } from "lit";
|
|
867
|
+
var QtiTestFeedback = class extends QtiModalFeedback {
|
|
868
|
+
render() {
|
|
869
|
+
return html5``;
|
|
870
|
+
}
|
|
871
|
+
};
|
|
872
|
+
QtiTestFeedback.styles = css`
|
|
873
|
+
:host {
|
|
874
|
+
color: gray;
|
|
875
|
+
}
|
|
876
|
+
`;
|
|
877
|
+
QtiTestFeedback = __decorateClass([
|
|
878
|
+
customElement4("qti-test-feedback")
|
|
879
|
+
], QtiTestFeedback);
|
|
880
|
+
|
|
881
|
+
export {
|
|
882
|
+
QtiTest,
|
|
883
|
+
QtiAssessmentItemRef,
|
|
884
|
+
QtiAssessmentSection,
|
|
885
|
+
QtiAssessmentTest,
|
|
886
|
+
QtiTestPart,
|
|
887
|
+
QtiTestFeedback
|
|
888
|
+
};
|
|
889
|
+
//# sourceMappingURL=chunk-G3M2356A.js.map
|