@citolab/qti-components 7.2.1 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk-2EE5IVNF.js +1 -0
- package/cdn/chunks/chunk-2PEB7XOI.js +1 -0
- package/cdn/chunks/chunk-2S62LLS5.js +2 -0
- package/cdn/chunks/chunk-2YSPUZLT.js +2 -0
- package/cdn/chunks/chunk-33KVDPBT.js +5 -0
- package/cdn/chunks/chunk-3HVTDMTS.js +1 -0
- package/cdn/chunks/chunk-3YJ5LGHO.js +1 -0
- package/cdn/chunks/chunk-4HD4LAOA.js +2 -0
- package/cdn/chunks/chunk-4PXGOA73.js +1 -0
- package/cdn/chunks/chunk-4TNE5ZQS.js +5 -0
- package/cdn/chunks/chunk-4U6VOTDY.js +2 -0
- package/cdn/chunks/chunk-57ZBXU3V.js +5 -0
- package/cdn/chunks/chunk-5B5ZBB3H.js +2 -0
- package/cdn/chunks/chunk-5RGC3O3Z.js +3 -0
- package/cdn/chunks/chunk-5WJBI6M7.js +1033 -0
- package/cdn/chunks/chunk-66BMMESW.js +2 -0
- package/cdn/chunks/chunk-6D53FU3U.js +2 -0
- package/cdn/chunks/chunk-6KJL4I6M.js +1 -0
- package/cdn/chunks/chunk-72GJGEI2.js +2 -0
- package/cdn/chunks/chunk-73GTDWYG.js +2 -0
- package/cdn/chunks/chunk-7ASLC5ZB.js +1 -0
- package/cdn/chunks/chunk-7G2JKRYL.js +3 -0
- package/cdn/chunks/chunk-7HDBTHS7.js +2 -0
- package/cdn/chunks/chunk-7OAHC7YP.js +1 -0
- package/cdn/chunks/chunk-7P7BX6D6.js +1 -0
- package/cdn/chunks/chunk-7U6V7TMQ.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-BH7YS4N7.js +5 -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-DAKW2UJX.js +3 -0
- package/cdn/chunks/chunk-DKMPPZUE.js +2 -0
- package/cdn/chunks/chunk-DNPPZXZF.js +1 -0
- package/cdn/chunks/chunk-DPW6VAG2.js +3441 -0
- package/cdn/chunks/chunk-DQCUGHMI.js +2 -0
- package/cdn/chunks/chunk-DTD5NE7V.js +2 -0
- package/cdn/chunks/chunk-EJE3C3VD.js +5 -0
- package/cdn/chunks/chunk-EJQGI6MR.js +1 -0
- package/cdn/chunks/chunk-EKAFL2KP.js +1 -0
- package/cdn/chunks/chunk-F63HVNEI.js +1 -0
- package/cdn/chunks/chunk-FGT2KVW2.js +1 -0
- package/cdn/chunks/chunk-FKNSURIA.js +2 -0
- package/cdn/chunks/chunk-FNCQNHCU.js +1 -0
- package/cdn/chunks/chunk-FXG6JQNB.js +3 -0
- package/cdn/chunks/chunk-G3O7FTGW.js +2 -0
- package/cdn/chunks/chunk-GSDSRYPT.js +5 -0
- package/cdn/chunks/chunk-GTDTMMHF.js +2 -0
- package/cdn/chunks/chunk-GW7MTJY4.js +2 -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-HNZFDARC.js +2 -0
- package/cdn/chunks/chunk-I25TBSYM.js +8 -0
- package/cdn/chunks/chunk-I37HIF37.js +2 -0
- package/cdn/chunks/chunk-IAXDPXPS.js +2 -0
- package/cdn/chunks/chunk-IFSRAUBH.js +1 -0
- package/cdn/chunks/chunk-IJ47QETV.js +2 -0
- package/cdn/chunks/chunk-JATFFFTP.js +1 -0
- package/cdn/chunks/chunk-JFCDOKX7.js +2 -0
- package/cdn/chunks/chunk-JSCH2J4L.js +2 -0
- package/cdn/chunks/chunk-JVY3MIVH.js +5 -0
- package/cdn/chunks/chunk-JXGYDOJM.js +3 -0
- package/cdn/chunks/chunk-K3HDRUZ2.js +2 -0
- package/cdn/chunks/chunk-KGNJ44AT.js +2 -0
- package/cdn/chunks/chunk-KM6BQLUW.js +2 -0
- package/cdn/chunks/chunk-KMPDXXNC.js +5 -0
- package/cdn/chunks/chunk-KPFC2HQR.js +3 -0
- package/cdn/chunks/chunk-KZQ2VXMQ.js +2 -0
- package/cdn/chunks/chunk-LEC3TBJ3.js +2 -0
- package/cdn/chunks/chunk-LZMZV6TD.js +2 -0
- package/cdn/chunks/chunk-ME2BEQTK.js +3463 -0
- package/cdn/chunks/chunk-MM3TTGOD.js +5 -0
- package/cdn/chunks/chunk-MR6ZHDES.js +1 -0
- package/cdn/chunks/chunk-N6A5NZLH.js +1 -0
- package/cdn/chunks/chunk-NBXY7TMD.js +2 -0
- package/cdn/chunks/chunk-NCNOPEEF.js +2 -0
- package/cdn/chunks/chunk-NNGQPZRR.js +2 -0
- package/cdn/chunks/chunk-NTHP3CIK.js +1 -0
- package/cdn/chunks/chunk-NUS4RU5N.js +1 -0
- package/cdn/chunks/chunk-O7JELRBY.js +2 -0
- package/cdn/chunks/chunk-OCQAZUB6.js +2 -0
- package/cdn/chunks/chunk-OJTWWSZH.js +1 -0
- package/cdn/chunks/chunk-P6SSTAJ2.js +1 -0
- package/cdn/chunks/chunk-PACSO5NR.js +1 -0
- package/cdn/chunks/chunk-Q4UYMUWQ.js +1 -0
- package/cdn/chunks/chunk-QBBWQ5J6.js +5 -0
- package/cdn/chunks/chunk-QNNLXEUP.js +1 -0
- package/cdn/chunks/chunk-QPP7ZB2K.js +5 -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-RSOX5VS5.js +3 -0
- package/cdn/chunks/chunk-SGUBIUUK.js +1 -0
- package/cdn/chunks/chunk-SHXTMXYU.js +1 -0
- package/cdn/chunks/chunk-SKCRMPN3.js +8 -0
- package/cdn/chunks/chunk-SNRRONMC.js +2 -0
- package/cdn/chunks/chunk-SUDAVHNM.js +1 -0
- package/cdn/chunks/chunk-SXYEFBGL.js +2 -0
- package/cdn/chunks/chunk-TDDS7QJB.js +48 -0
- package/cdn/chunks/chunk-TDKNW4KB.js +1 -0
- package/cdn/chunks/chunk-TTH5243V.js +1 -0
- package/cdn/chunks/chunk-U4D7JJMM.js +1 -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-UUKFU4BI.js +2 -0
- package/cdn/chunks/chunk-V65TZQVT.js +2 -0
- package/cdn/chunks/chunk-VIW7IGYG.js +2 -0
- package/cdn/chunks/chunk-W3L3NJQM.js +1 -0
- package/cdn/chunks/chunk-W7LBE76A.js +5 -0
- package/cdn/chunks/chunk-WANQ7VHH.js +2 -0
- package/cdn/chunks/chunk-WI3S4WLU.js +2 -0
- package/cdn/chunks/chunk-WQK3JD6Q.js +5 -0
- package/cdn/chunks/chunk-WRAMSS3Q.js +3465 -0
- package/cdn/chunks/chunk-XDXLBDGD.js +2 -0
- package/cdn/chunks/chunk-XLVU3CES.js +1 -0
- package/cdn/chunks/chunk-XLY6GBBJ.js +2 -0
- package/cdn/chunks/chunk-XNII2G63.js +3468 -0
- package/cdn/chunks/chunk-YL5IGHSU.js +1 -0
- package/cdn/chunks/chunk-YSCJG7CX.js +3461 -0
- package/cdn/chunks/chunk-ZNLWZYAX.js +5 -0
- package/cdn/chunks/chunk-ZWUH2GAI.js +1 -0
- package/cdn/exports/computed.context.js +1 -1
- package/cdn/index.js +1 -1
- package/cdn/qti-item/components/item-container.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/test-container.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-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/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-254VCWDJ.js +249 -0
- package/dist/chunks/chunk-254VCWDJ.js.map +1 -0
- package/dist/chunks/chunk-25AXOL6N.js +73 -0
- package/dist/chunks/chunk-25AXOL6N.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-34ZMZ5GH.js +76 -0
- package/dist/chunks/chunk-34ZMZ5GH.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-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-3UPSFFDF.js +45 -0
- package/dist/chunks/chunk-3UPSFFDF.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-4NZYGJLT.js +94 -0
- package/dist/chunks/chunk-4NZYGJLT.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-4UIDYSZL.js +78 -0
- package/dist/chunks/chunk-4UIDYSZL.js.map +1 -0
- package/dist/chunks/chunk-4V7ZPUTP.js +78 -0
- package/dist/chunks/chunk-4V7ZPUTP.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-5IQUODBV.js +94 -0
- package/dist/chunks/chunk-5IQUODBV.js.map +1 -0
- package/dist/chunks/chunk-6B7USFAR.js +82 -0
- package/dist/chunks/chunk-6B7USFAR.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-6IC436D3.js +95 -0
- package/dist/chunks/chunk-6IC436D3.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-6MXANZQB.js +80 -0
- package/dist/chunks/chunk-6MXANZQB.js.map +1 -0
- package/dist/chunks/chunk-6UZG2X74.js +870 -0
- package/dist/chunks/chunk-6UZG2X74.js.map +1 -0
- package/dist/chunks/chunk-6XLSPSL3.js +94 -0
- package/dist/chunks/chunk-6XLSPSL3.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-7SGVY6AL.js +85 -0
- package/dist/chunks/chunk-7SGVY6AL.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-AXVMZW54.js +73 -0
- package/dist/chunks/chunk-AXVMZW54.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-B5Y4EZF6.js +80 -0
- package/dist/chunks/chunk-B5Y4EZF6.js.map +1 -0
- package/dist/chunks/chunk-B7NLQTW7.js +69 -0
- package/dist/chunks/chunk-B7NLQTW7.js.map +1 -0
- package/dist/chunks/chunk-BAEQ4MHU.js +69 -0
- package/dist/chunks/chunk-BAEQ4MHU.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-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-C2KEHCRU.js +80 -0
- package/dist/chunks/chunk-C2KEHCRU.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-CL6HNHNL.js +72 -0
- package/dist/chunks/chunk-CL6HNHNL.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-D47JA24G.js +85 -0
- package/dist/chunks/chunk-D47JA24G.js.map +1 -0
- package/dist/chunks/chunk-DH2EP5PV.js +81 -0
- package/dist/chunks/chunk-DH2EP5PV.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-DIETZXSR.js +78 -0
- package/dist/chunks/chunk-DIETZXSR.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-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-DOP7DN3W.js +78 -0
- package/dist/chunks/chunk-DOP7DN3W.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-DTZHLZH2.js +8 -0
- package/dist/chunks/chunk-DTZHLZH2.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-EBKJVMIY.js +79 -0
- package/dist/chunks/chunk-EBKJVMIY.js.map +1 -0
- package/dist/chunks/chunk-ECXRMWLT.js +94 -0
- package/dist/chunks/chunk-ECXRMWLT.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-EXNO2VEU.js +85 -0
- package/dist/chunks/chunk-EXNO2VEU.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-FDIYM6TD.js +68 -0
- package/dist/chunks/chunk-FDIYM6TD.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-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-FROMX3AY.js +78 -0
- package/dist/chunks/chunk-FROMX3AY.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-FVD3INZH.js +69 -0
- package/dist/chunks/chunk-FVD3INZH.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-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-GJVATV62.js +43 -0
- package/dist/chunks/chunk-GJVATV62.js.map +1 -0
- package/dist/chunks/chunk-GWSHKTCL.js +33 -0
- package/dist/chunks/chunk-GWSHKTCL.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-H2Z5FH4R.js +76 -0
- package/dist/chunks/chunk-H2Z5FH4R.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-HAP6ALTQ.js +78 -0
- package/dist/chunks/chunk-HAP6ALTQ.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-HL7H4ZGY.js +82 -0
- package/dist/chunks/chunk-HL7H4ZGY.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-HQ7IWQPH.js +80 -0
- package/dist/chunks/chunk-HQ7IWQPH.js.map +1 -0
- package/dist/chunks/chunk-IA235UXD.js +79 -0
- package/dist/chunks/chunk-IA235UXD.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-IIDUZWYL.js +78 -0
- package/dist/chunks/chunk-IIDUZWYL.js.map +1 -0
- package/dist/chunks/chunk-IKVCQGA6.js +79 -0
- package/dist/chunks/chunk-IKVCQGA6.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-IT6EGJUH.js +68 -0
- package/dist/chunks/chunk-IT6EGJUH.js.map +1 -0
- package/dist/chunks/chunk-IWSVL7HX.js +94 -0
- package/dist/chunks/chunk-IWSVL7HX.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-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-K5SSEHCG.js +92 -0
- package/dist/chunks/chunk-K5SSEHCG.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-KYGAKC4X.js +82 -0
- package/dist/chunks/chunk-KYGAKC4X.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-LT563K5H.js +78 -0
- package/dist/chunks/chunk-LT563K5H.js.map +1 -0
- package/dist/chunks/chunk-LVWZUV4A.js +86 -0
- package/dist/chunks/chunk-LVWZUV4A.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-MCMAHBGE.js +3455 -0
- package/dist/chunks/chunk-MCMAHBGE.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-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-NFPHKFFE.js +78 -0
- package/dist/chunks/chunk-NFPHKFFE.js.map +1 -0
- package/dist/chunks/chunk-NLW7S5TN.js +94 -0
- package/dist/chunks/chunk-NLW7S5TN.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-O2YP7VIE.js +245 -0
- package/dist/chunks/chunk-O2YP7VIE.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-OAKKH2XA.js +99 -0
- package/dist/chunks/chunk-OAKKH2XA.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-OBIKEFCI.js +56 -0
- package/dist/chunks/chunk-OBIKEFCI.js.map +1 -0
- package/dist/chunks/chunk-OEJMOV45.js +78 -0
- package/dist/chunks/chunk-OEJMOV45.js.map +1 -0
- package/dist/chunks/chunk-OFYYP7AK.js +94 -0
- package/dist/chunks/chunk-OFYYP7AK.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-PJMWNLXZ.js +80 -0
- package/dist/chunks/chunk-PJMWNLXZ.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-PWNPDEWD.js +43 -0
- package/dist/chunks/chunk-PWNPDEWD.js.map +1 -0
- package/dist/chunks/chunk-QGVSNUAF.js +79 -0
- package/dist/chunks/chunk-QGVSNUAF.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-QIN2S2F7.js +94 -0
- package/dist/chunks/chunk-QIN2S2F7.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-QKYFFNPR.js +3453 -0
- package/dist/chunks/chunk-QKYFFNPR.js.map +1 -0
- package/dist/chunks/chunk-QMIYPOBM.js +3458 -0
- package/dist/chunks/chunk-QMIYPOBM.js.map +1 -0
- package/dist/chunks/chunk-QMYMPOQQ.js +69 -0
- package/dist/chunks/chunk-QMYMPOQQ.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-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-RGQDJQVE.js +3451 -0
- package/dist/chunks/chunk-RGQDJQVE.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-SI7DUJBA.js +28 -0
- package/dist/chunks/chunk-SI7DUJBA.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-SWROECSL.js +82 -0
- package/dist/chunks/chunk-SWROECSL.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-TGF5F45T.js +94 -0
- package/dist/chunks/chunk-TGF5F45T.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-TUVS6HU4.js +85 -0
- package/dist/chunks/chunk-TUVS6HU4.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-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-UHU4AWX2.js +28 -0
- package/dist/chunks/chunk-UHU4AWX2.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-US5NIIW7.js +244 -0
- package/dist/chunks/chunk-US5NIIW7.js.map +1 -0
- package/dist/chunks/chunk-V53ESOPP.js +79 -0
- package/dist/chunks/chunk-V53ESOPP.js.map +1 -0
- package/dist/chunks/chunk-VGGCSCVL.js +94 -0
- package/dist/chunks/chunk-VGGCSCVL.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-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-WTN76Y5P.js +74 -0
- package/dist/chunks/chunk-WTN76Y5P.js.map +1 -0
- package/dist/chunks/chunk-WVMOFVRE.js +74 -0
- package/dist/chunks/chunk-WVMOFVRE.js.map +1 -0
- package/dist/chunks/chunk-WXQLAXP4.js +73 -0
- package/dist/chunks/chunk-WXQLAXP4.js.map +1 -0
- package/dist/chunks/chunk-X2ZV2OFN.js +82 -0
- package/dist/chunks/chunk-X2ZV2OFN.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-XAJNR7FS.js +74 -0
- package/dist/chunks/chunk-XAJNR7FS.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-XNNXOUDF.js +245 -0
- package/dist/chunks/chunk-XNNXOUDF.js.map +1 -0
- package/dist/chunks/chunk-YBDDKT65.js +69 -0
- package/dist/chunks/chunk-YBDDKT65.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-YKKQ6AI7.js +69 -0
- package/dist/chunks/chunk-YKKQ6AI7.js.map +1 -0
- package/dist/chunks/chunk-YLHGELZY.js +79 -0
- package/dist/chunks/chunk-YLHGELZY.js.map +1 -0
- package/dist/chunks/chunk-YQC26WHY.js +79 -0
- package/dist/chunks/chunk-YQC26WHY.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-Z6FBIC76.js +83 -0
- package/dist/chunks/chunk-Z6FBIC76.js.map +1 -0
- package/dist/chunks/chunk-ZBUXIAEV.js +3431 -0
- package/dist/chunks/chunk-ZBUXIAEV.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-ZTFOPRHT.js +242 -0
- package/dist/chunks/chunk-ZTFOPRHT.js.map +1 -0
- package/dist/chunks/chunk-ZU6ANMBF.js +28 -0
- package/dist/chunks/chunk-ZU6ANMBF.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 +3 -0
- package/dist/exports/computed-item.context.js +1 -1
- package/dist/exports/computed.context.d.ts +9 -0
- package/dist/exports/computed.context.js +1 -1
- package/dist/exports/session.context.d.ts +16 -1
- package/dist/exports/session.context.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +34 -34
- package/dist/item.css +6 -0
- package/dist/qti-components-jsx.d.ts +15 -11
- package/dist/qti-item/components/item-container.js +2 -2
- package/dist/qti-item/components/item-show-correct-response.js +2 -2
- package/dist/qti-item/components/print-item-variables.js +2 -2
- package/dist/qti-item/core/index.js +6 -6
- package/dist/qti-test/components/index.d.ts +4 -3
- package/dist/qti-test/components/index.js +21 -21
- package/dist/qti-test/components/test-container.js +2 -2
- package/dist/qti-test/components/test-navigation.d.ts +4 -3
- package/dist/qti-test/components/test-navigation.js +3 -3
- package/dist/qti-test/components/test-next.d.ts +4 -1
- package/dist/qti-test/components/test-next.js +2 -2
- package/dist/qti-test/components/test-paging-buttons-stamp.js +2 -2
- package/dist/qti-test/components/test-prev.d.ts +4 -1
- package/dist/qti-test/components/test-prev.js +2 -2
- package/dist/qti-test/components/test-print-context.d.ts +4 -1
- package/dist/qti-test/components/test-print-context.js +2 -2
- package/dist/qti-test/components/test-print-item-variables.d.ts +4 -1
- package/dist/qti-test/components/test-print-item-variables.js +2 -2
- package/dist/qti-test/components/test-scoring-buttons.d.ts +7 -1
- package/dist/qti-test/components/test-scoring-buttons.js +2 -2
- package/dist/qti-test/components/test-scoring-feedback.d.ts +4 -1
- 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.js +2 -2
- package/dist/qti-test/components/test-show-correct-response.d.ts +4 -1
- package/dist/qti-test/components/test-show-correct-response.js +2 -2
- package/dist/qti-test/components/test-stamp.d.ts +9 -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 +3 -2
- package/dist/qti-test/core/index.js +2 -2
- package/dist/qti-test-feedback-BGPOO6Zu.d.ts +98 -0
- package/dist/qti-test-feedback-C2mE_Xcg.d.ts +85 -0
- package/dist/qti-test-feedback-C4bd_5i4.d.ts +98 -0
- package/dist/vscode.html-custom-data.json +14 -8
- package/package.json +19 -17
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import {
|
|
2
|
+
computedContext
|
|
3
|
+
} from "./chunk-AZIKAG7K.js";
|
|
4
|
+
import {
|
|
5
|
+
__decorateClass
|
|
6
|
+
} from "./chunk-H2JE6IVU.js";
|
|
7
|
+
|
|
8
|
+
// src/lib/qti-test/components/test-stamp.ts
|
|
9
|
+
import { html, LitElement, nothing } from "lit";
|
|
10
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
11
|
+
import { prepareTemplate } from "stampino";
|
|
12
|
+
import { consume } from "@lit/context";
|
|
13
|
+
var TestStamp = class extends LitElement {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.debug = false;
|
|
17
|
+
this.stampContext = null;
|
|
18
|
+
}
|
|
19
|
+
createRenderRoot() {
|
|
20
|
+
return this;
|
|
21
|
+
}
|
|
22
|
+
connectedCallback() {
|
|
23
|
+
super.connectedCallback();
|
|
24
|
+
const templateElement = this.querySelector("template");
|
|
25
|
+
if (!templateElement) {
|
|
26
|
+
this.myTemplate = null;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
this.myTemplate = prepareTemplate(templateElement);
|
|
30
|
+
}
|
|
31
|
+
willUpdate(_changedProperties) {
|
|
32
|
+
if (!this.computedContext) {
|
|
33
|
+
this.stampContext = null;
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const activeTestPart = this.computedContext.testParts.find((testPart) => testPart.active);
|
|
37
|
+
const activeSection = activeTestPart?.sections.find((section) => section.active);
|
|
38
|
+
const activeItem = activeSection?.items.find((item) => item.active);
|
|
39
|
+
const { variables, ...augmentedItem } = activeItem || {};
|
|
40
|
+
if (!activeTestPart || !activeSection || !activeItem) {
|
|
41
|
+
this.stampContext = null;
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
const augmentedTestPart = {
|
|
45
|
+
...activeTestPart,
|
|
46
|
+
items: activeTestPart.sections.flatMap((section) => section.items.map(({ variables: variables2, ...rest }) => rest)),
|
|
47
|
+
sections: activeTestPart.sections.map((section) => ({
|
|
48
|
+
...section,
|
|
49
|
+
items: section.items.map(({ variables: variables2, ...rest }) => rest)
|
|
50
|
+
}))
|
|
51
|
+
};
|
|
52
|
+
const augmentedSection = { ...activeSection, items: activeSection.items.map(({ variables: variables2, ...rest }) => rest) };
|
|
53
|
+
const { testParts, ...activeTest } = this.computedContext;
|
|
54
|
+
this.stampContext = {
|
|
55
|
+
view: this.computedContext.view,
|
|
56
|
+
item: augmentedItem,
|
|
57
|
+
section: augmentedSection,
|
|
58
|
+
testpart: augmentedTestPart,
|
|
59
|
+
test: activeTest
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
if (!this.stampContext) return nothing;
|
|
64
|
+
return html` ${this.debug ? html`<small><pre>${JSON.stringify(this.stampContext, null, 2)}</pre></small>` : nothing}
|
|
65
|
+
${this.myTemplate ? this.myTemplate(this.stampContext) : nothing}`;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
__decorateClass([
|
|
69
|
+
property({ type: Boolean, reflect: true })
|
|
70
|
+
], TestStamp.prototype, "debug", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
state(),
|
|
73
|
+
consume({ context: computedContext, subscribe: true })
|
|
74
|
+
], TestStamp.prototype, "computedContext", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
state()
|
|
77
|
+
], TestStamp.prototype, "stampContext", 2);
|
|
78
|
+
TestStamp = __decorateClass([
|
|
79
|
+
customElement("test-stamp")
|
|
80
|
+
], TestStamp);
|
|
81
|
+
|
|
82
|
+
export {
|
|
83
|
+
TestStamp
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=chunk-ZZFSVIVR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/lib/qti-test/components/test-stamp.ts"],"sourcesContent":["import { html, LitElement, nothing } from 'lit';\nimport { customElement, property, state } from 'lit/decorators.js';\nimport { prepareTemplate } from 'stampino';\nimport { consume } from '@lit/context';\n\nimport { computedContext } from '../../exports/computed.context';\n\nimport type { View } from '../core/mixins/test-view.mixin';\nimport type { PropertyValues } from 'lit';\nimport type { ComputedContext } from '../../exports/computed.context';\nimport type { TemplateFunction } from 'stampino';\n\n@customElement('test-stamp')\nexport class TestStamp extends LitElement {\n /**\n * Indicates whether the component is in debug mode.\n * When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.\n */\n @property({ type: Boolean, reflect: true })\n public debug = false;\n\n @state()\n @consume({ context: computedContext, subscribe: true })\n private computedContext: ComputedContext;\n\n @state()\n private stampContext: {\n view?: View;\n test?: unknown;\n testpart?: unknown;\n section?: unknown;\n item?: unknown;\n } | null = null;\n\n myTemplate: TemplateFunction;\n\n protected createRenderRoot(): HTMLElement | DocumentFragment {\n return this;\n }\n\n connectedCallback(): void {\n super.connectedCallback();\n const templateElement = this.querySelector<HTMLTemplateElement>('template');\n if (!templateElement) {\n this.myTemplate = null;\n return;\n }\n this.myTemplate = prepareTemplate(templateElement);\n }\n\n protected willUpdate(_changedProperties: PropertyValues): void {\n if (!this.computedContext) {\n this.stampContext = null;\n return;\n }\n const activeTestPart = this.computedContext.testParts.find(testPart => testPart.active);\n const activeSection = activeTestPart?.sections.find(section => section.active);\n const activeItem = activeSection?.items.find(item => item.active);\n const { variables, ...augmentedItem } = activeItem || {};\n\n if (!activeTestPart || !activeSection || !activeItem) {\n this.stampContext = null;\n return;\n }\n\n const augmentedTestPart = {\n ...activeTestPart,\n items: activeTestPart.sections.flatMap(section => section.items.map(({ variables, ...rest }) => rest)),\n sections: activeTestPart.sections.map(section => ({\n ...section,\n items: section.items.map(({ variables, ...rest }) => rest)\n }))\n };\n\n const augmentedSection = { ...activeSection, items: activeSection.items.map(({ variables, ...rest }) => rest) };\n const { testParts, ...activeTest } = this.computedContext;\n\n this.stampContext = {\n view: this.computedContext.view,\n item: augmentedItem,\n section: augmentedSection,\n testpart: augmentedTestPart,\n test: activeTest\n };\n }\n\n render() {\n if (!this.stampContext) return nothing;\n return html` ${this.debug ? html`<small><pre>${JSON.stringify(this.stampContext, null, 2)}</pre></small>` : nothing}\n ${this.myTemplate ? this.myTemplate(this.stampContext) : nothing}`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'test-stamp': TestStamp;\n }\n}\n"],"mappings":";;;;;;;;AAAA,SAAS,MAAM,YAAY,eAAe;AAC1C,SAAS,eAAe,UAAU,aAAa;AAC/C,SAAS,uBAAuB;AAChC,SAAS,eAAe;AAUjB,IAAM,YAAN,cAAwB,WAAW;AAAA,EAAnC;AAAA;AAML,SAAO,QAAQ;AAOf,SAAQ,eAMG;AAAA;AAAA,EAID,mBAAmD;AAC3D,WAAO;AAAA,EACT;AAAA,EAEA,oBAA0B;AACxB,UAAM,kBAAkB;AACxB,UAAM,kBAAkB,KAAK,cAAmC,UAAU;AAC1E,QAAI,CAAC,iBAAiB;AACpB,WAAK,aAAa;AAClB;AAAA,IACF;AACA,SAAK,aAAa,gBAAgB,eAAe;AAAA,EACnD;AAAA,EAEU,WAAW,oBAA0C;AAC7D,QAAI,CAAC,KAAK,iBAAiB;AACzB,WAAK,eAAe;AACpB;AAAA,IACF;AACA,UAAM,iBAAiB,KAAK,gBAAgB,UAAU,KAAK,cAAY,SAAS,MAAM;AACtF,UAAM,gBAAgB,gBAAgB,SAAS,KAAK,aAAW,QAAQ,MAAM;AAC7E,UAAM,aAAa,eAAe,MAAM,KAAK,UAAQ,KAAK,MAAM;AAChE,UAAM,EAAE,WAAW,GAAG,cAAc,IAAI,cAAc,CAAC;AAEvD,QAAI,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,YAAY;AACpD,WAAK,eAAe;AACpB;AAAA,IACF;AAEA,UAAM,oBAAoB;AAAA,MACxB,GAAG;AAAA,MACH,OAAO,eAAe,SAAS,QAAQ,aAAW,QAAQ,MAAM,IAAI,CAAC,EAAE,WAAAA,YAAW,GAAG,KAAK,MAAM,IAAI,CAAC;AAAA,MACrG,UAAU,eAAe,SAAS,IAAI,cAAY;AAAA,QAChD,GAAG;AAAA,QACH,OAAO,QAAQ,MAAM,IAAI,CAAC,EAAE,WAAAA,YAAW,GAAG,KAAK,MAAM,IAAI;AAAA,MAC3D,EAAE;AAAA,IACJ;AAEA,UAAM,mBAAmB,EAAE,GAAG,eAAe,OAAO,cAAc,MAAM,IAAI,CAAC,EAAE,WAAAA,YAAW,GAAG,KAAK,MAAM,IAAI,EAAE;AAC9G,UAAM,EAAE,WAAW,GAAG,WAAW,IAAI,KAAK;AAE1C,SAAK,eAAe;AAAA,MAClB,MAAM,KAAK,gBAAgB;AAAA,MAC3B,MAAM;AAAA,MACN,SAAS;AAAA,MACT,UAAU;AAAA,MACV,MAAM;AAAA,IACR;AAAA,EACF;AAAA,EAEA,SAAS;AACP,QAAI,CAAC,KAAK,aAAc,QAAO;AAC/B,WAAO,QAAQ,KAAK,QAAQ,mBAAmB,KAAK,UAAU,KAAK,cAAc,MAAM,CAAC,CAAC,mBAAmB,OAAO;AAAA,MACjH,KAAK,aAAa,KAAK,WAAW,KAAK,YAAY,IAAI,OAAO;AAAA,EAClE;AACF;AAxES;AAAA,EADN,SAAS,EAAE,MAAM,SAAS,SAAS,KAAK,CAAC;AAAA,GAL/B,UAMJ;AAIC;AAAA,EAFP,MAAM;AAAA,EACN,QAAQ,EAAE,SAAS,iBAAiB,WAAW,KAAK,CAAC;AAAA,GAT3C,UAUH;AAGA;AAAA,EADP,MAAM;AAAA,GAZI,UAaH;AAbG,YAAN;AAAA,EADN,cAAc,YAAY;AAAA,GACd;","names":["variables"]}
|
|
@@ -15,6 +15,9 @@ type ComputedItemContext = {
|
|
|
15
15
|
timeDependent?: boolean;
|
|
16
16
|
title?: string;
|
|
17
17
|
label?: string;
|
|
18
|
+
score?: number;
|
|
19
|
+
maxScore?: number;
|
|
20
|
+
completionStatus?: string;
|
|
18
21
|
variables: ReadonlyArray<VariableDeclaration<string | string[] | null>>;
|
|
19
22
|
};
|
|
20
23
|
declare const computedItemContext: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { V as View } from '../qti-test-feedback-C2mE_Xcg.js';
|
|
1
2
|
import { ComputedItemContext } from './computed-item.context.js';
|
|
2
3
|
import '../qti-response-declaration-C3kpm650.js';
|
|
3
4
|
import 'lit-html';
|
|
@@ -5,16 +6,24 @@ import 'lit';
|
|
|
5
6
|
import './expression-result.js';
|
|
6
7
|
import './interaction.interface.js';
|
|
7
8
|
import 'lit-html/directives/ref.js';
|
|
9
|
+
import 'stampino';
|
|
10
|
+
import './test.context.js';
|
|
8
11
|
|
|
9
12
|
type ComputedItem = ComputedItemContext & {
|
|
13
|
+
categories?: string[];
|
|
10
14
|
type?: 'info' | 'regular';
|
|
11
15
|
index?: number;
|
|
12
16
|
active?: boolean;
|
|
13
17
|
};
|
|
14
18
|
type ComputedContext = {
|
|
19
|
+
view: View;
|
|
20
|
+
identifier: string;
|
|
21
|
+
title: string;
|
|
15
22
|
testParts: {
|
|
16
23
|
active?: boolean;
|
|
17
24
|
identifier: string;
|
|
25
|
+
navigationMode: 'linear' | 'nonlinear';
|
|
26
|
+
submissionMode: 'individual' | 'simultaneous';
|
|
18
27
|
sections: {
|
|
19
28
|
active?: boolean;
|
|
20
29
|
identifier: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { V as View } from '../qti-test-feedback-C2mE_Xcg.js';
|
|
2
2
|
import '../qti-response-declaration-C3kpm650.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
@@ -7,3 +7,18 @@ import './interaction.interface.js';
|
|
|
7
7
|
import 'lit-html/directives/ref.js';
|
|
8
8
|
import 'stampino';
|
|
9
9
|
import './test.context.js';
|
|
10
|
+
|
|
11
|
+
interface SessionContext {
|
|
12
|
+
navPartId?: string | null;
|
|
13
|
+
navSectionId?: string | null;
|
|
14
|
+
navItemRefId?: string | null;
|
|
15
|
+
navItemLoading?: boolean;
|
|
16
|
+
navTestLoading?: boolean;
|
|
17
|
+
view?: View;
|
|
18
|
+
}
|
|
19
|
+
declare const INITIAL_SESSION_CONTEXT: Readonly<SessionContext>;
|
|
20
|
+
declare const sessionContext: {
|
|
21
|
+
__context__: Readonly<SessionContext>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export { INITIAL_SESSION_CONTEXT, type SessionContext, sessionContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { O as Orientation, V as QtiAreaMapEntry, U as QtiAreaMapping, Q as QtiAssessmentItem, a as QtiAssessmentStimulusRef, g as QtiAssociableHotspot, h as QtiAssociateInteraction, i as QtiChoiceInteraction, b as QtiCompanionMaterialsInfo, $ as QtiContentBody, j as QtiCustomInteraction, c as QtiCustomOperator, k as QtiEndAttemptInteraction, l as QtiExtendedTextInteraction, d as QtiFeedbackBlock, e as QtiFeedbackInline, p as QtiGap, m as QtiGapImg, n as QtiGapMatchInteraction, o as QtiGapText, q as QtiGraphicAssociateInteraction, r as QtiGraphicGapMatchInteraction, s as QtiGraphicOrderInteraction, t as QtiHotspotChoice, u as QtiHotspotInteraction, w as QtiHottext, v as QtiHottextInteraction, y as QtiInlineChoice, x as QtiInlineChoiceInteraction, K as QtiItemBody, R as QtiLookupOutcomeValue, T as QtiMapEntry, S as QtiMapping, z as QtiMatchInteraction, A as QtiMediaInteraction, f as QtiModalFeedback, B as QtiOrderInteraction, a2 as QtiOutcomeDeclaration, L as QtiOutcomeProcessing, M as QtiOutcomeProcessingProcessor, C as QtiPortableCustomInteraction, D as QtiPositionObjectStage, N as QtiPrompt, a3 as QtiResponseDeclaration, P as QtiResponseProcessing, a0 as QtiRubricBlock, Z as QtiRule, _ as QtiRuleBase, E as QtiSelectPointInteraction, F as QtiSimpleAssociableChoice, G as QtiSimpleChoice, H as QtiSliderInteraction, a1 as QtiStylesheet, X as QtiSubtract, I as QtiTextEntryInteraction, J as QtiUploadInteraction, W as areaShape, Y as qtiSubtractMixin } from './qti-response-declaration-C3kpm650.js';
|
|
2
2
|
export { QtiAnd, QtiBaseValue, QtiContains, QtiCorrect, QtiDelete, QtiEqual, QtiEqualRounded, QtiGt, QtiGte, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMember, QtiMultiple, QtiNot, QtiOr, QtiOrdered, QtiPositionObjectInteraction, QtiPrintedVariable, QtiProduct, QtiRandom, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiStringMatch, QtiSum, QtiSumExpression, QtiVariable, qtiAndMixin } from './qti-components/index.js';
|
|
3
3
|
export { QtiTest } from './qti-test/core/index.js';
|
|
4
|
-
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, b as QtiAssessmentTest, d as QtiTestFeedback, c as QtiTestPart } from './qti-test-feedback-
|
|
4
|
+
export { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, b as QtiAssessmentTest, d as QtiTestFeedback, c as QtiTestPart } from './qti-test-feedback-C2mE_Xcg.js';
|
|
5
5
|
export { INITIAL_TEST_CONTEXT, TestContext, testContext } from './exports/test.context.js';
|
|
6
6
|
export { TestNavigation } from './qti-test/components/test-navigation.js';
|
|
7
7
|
export { TestNext } from './qti-test/components/test-next.js';
|
|
@@ -32,6 +32,7 @@ import './exports/expression-result.js';
|
|
|
32
32
|
import './exports/interaction.interface.js';
|
|
33
33
|
import 'lit-html/directives/ref.js';
|
|
34
34
|
import './exports/qti-condition-expression.js';
|
|
35
|
+
import './exports/session.context.js';
|
|
35
36
|
import 'stampino';
|
|
36
37
|
import './exports/computed.context.js';
|
|
37
38
|
import './exports/computed-item.context.js';
|
package/dist/index.js
CHANGED
|
@@ -1,55 +1,58 @@
|
|
|
1
|
-
import {
|
|
2
|
-
QtiAssessmentItemRef,
|
|
3
|
-
QtiAssessmentSection,
|
|
4
|
-
QtiAssessmentTest,
|
|
5
|
-
QtiTest,
|
|
6
|
-
QtiTestFeedback,
|
|
7
|
-
QtiTestPart
|
|
8
|
-
} from "./chunks/chunk-4IPSXNHA.js";
|
|
9
1
|
import {
|
|
10
2
|
QtiItem
|
|
11
|
-
} from "./chunks/chunk-
|
|
3
|
+
} from "./chunks/chunk-X7TJEF7P.js";
|
|
12
4
|
import {
|
|
13
5
|
ItemContainer
|
|
14
|
-
} from "./chunks/chunk-
|
|
6
|
+
} from "./chunks/chunk-4NZYGJLT.js";
|
|
15
7
|
import {
|
|
16
8
|
ItemShowCorrectResponse
|
|
17
|
-
} from "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-G5R527RC.js";
|
|
18
10
|
import {
|
|
19
11
|
PrintItemVariables
|
|
20
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-EJZQSOHU.js";
|
|
21
13
|
import "./chunks/chunk-DZAMXOSC.js";
|
|
14
|
+
import {
|
|
15
|
+
QtiAssessmentItemRef,
|
|
16
|
+
QtiAssessmentSection,
|
|
17
|
+
QtiAssessmentTest,
|
|
18
|
+
QtiTest,
|
|
19
|
+
QtiTestFeedback,
|
|
20
|
+
QtiTestPart
|
|
21
|
+
} from "./chunks/chunk-DNLC7HVK.js";
|
|
22
22
|
import "./chunks/chunk-UUEOV5NM.js";
|
|
23
|
+
import {
|
|
24
|
+
TestViewToggle
|
|
25
|
+
} from "./chunks/chunk-J3I5LKXH.js";
|
|
23
26
|
import {
|
|
24
27
|
TestView
|
|
25
|
-
} from "./chunks/chunk-
|
|
28
|
+
} from "./chunks/chunk-YS4T2ORC.js";
|
|
29
|
+
import {
|
|
30
|
+
TestPrintContext
|
|
31
|
+
} from "./chunks/chunk-WFFIUFJJ.js";
|
|
26
32
|
import {
|
|
27
33
|
TestPrintVariables
|
|
28
|
-
} from "./chunks/chunk-
|
|
34
|
+
} from "./chunks/chunk-36G5MQKR.js";
|
|
29
35
|
import {
|
|
30
36
|
TestScoringButtons
|
|
31
|
-
} from "./chunks/chunk-
|
|
37
|
+
} from "./chunks/chunk-MJMLVDAV.js";
|
|
32
38
|
import {
|
|
33
39
|
TestScoringFeedback
|
|
34
|
-
} from "./chunks/chunk-
|
|
40
|
+
} from "./chunks/chunk-W5FVZTR6.js";
|
|
35
41
|
import {
|
|
36
42
|
TestSectionButtonsStamp
|
|
37
|
-
} from "./chunks/chunk-
|
|
43
|
+
} from "./chunks/chunk-PWNPDEWD.js";
|
|
38
44
|
import {
|
|
39
45
|
TestSectionLink
|
|
40
46
|
} from "./chunks/chunk-BLBSZDQ4.js";
|
|
41
47
|
import {
|
|
42
48
|
TestShowCorrectResponse
|
|
43
|
-
} from "./chunks/chunk-
|
|
49
|
+
} from "./chunks/chunk-FQMHR6ZF.js";
|
|
44
50
|
import {
|
|
45
51
|
TestStamp
|
|
46
|
-
} from "./chunks/chunk-
|
|
47
|
-
import {
|
|
48
|
-
TestViewToggle
|
|
49
|
-
} from "./chunks/chunk-SOT463MH.js";
|
|
52
|
+
} from "./chunks/chunk-ZZFSVIVR.js";
|
|
50
53
|
import {
|
|
51
54
|
TestContainer
|
|
52
|
-
} from "./chunks/chunk-
|
|
55
|
+
} from "./chunks/chunk-VGGCSCVL.js";
|
|
53
56
|
import {
|
|
54
57
|
TestEndAttempt
|
|
55
58
|
} from "./chunks/chunk-5KCXO2RP.js";
|
|
@@ -58,23 +61,20 @@ import {
|
|
|
58
61
|
} from "./chunks/chunk-YPMZLHGG.js";
|
|
59
62
|
import {
|
|
60
63
|
TestNavigation
|
|
61
|
-
} from "./chunks/chunk-
|
|
64
|
+
} from "./chunks/chunk-RIPZMRDA.js";
|
|
62
65
|
import {
|
|
63
66
|
TestNext
|
|
64
|
-
} from "./chunks/chunk-
|
|
67
|
+
} from "./chunks/chunk-YQXKY6CK.js";
|
|
65
68
|
import {
|
|
66
69
|
TestPagingButtonsStamp
|
|
67
|
-
} from "./chunks/chunk-
|
|
70
|
+
} from "./chunks/chunk-FBE6FA2H.js";
|
|
68
71
|
import {
|
|
69
72
|
TestPrev
|
|
70
|
-
} from "./chunks/chunk-
|
|
73
|
+
} from "./chunks/chunk-ZNU2BCTJ.js";
|
|
71
74
|
import "./chunks/chunk-K6EUKFNW.js";
|
|
72
|
-
import {
|
|
73
|
-
TestPrintContext
|
|
74
|
-
} from "./chunks/chunk-WPUMEBSF.js";
|
|
75
|
-
import "./chunks/chunk-KD26ZB2H.js";
|
|
76
75
|
import "./chunks/chunk-5ZHHNEDA.js";
|
|
77
|
-
import "./chunks/chunk-
|
|
76
|
+
import "./chunks/chunk-RGQDJQVE.js";
|
|
77
|
+
import "./chunks/chunk-22IRJWWY.js";
|
|
78
78
|
import {
|
|
79
79
|
INITIAL_TEST_CONTEXT,
|
|
80
80
|
testContext
|
|
@@ -181,8 +181,8 @@ import {
|
|
|
181
181
|
qtiTransformManifest,
|
|
182
182
|
qtiTransformTest
|
|
183
183
|
} from "./chunks/chunk-VEWD22O5.js";
|
|
184
|
-
import "./chunks/chunk-
|
|
185
|
-
import "./chunks/chunk-
|
|
184
|
+
import "./chunks/chunk-4OGJBG35.js";
|
|
185
|
+
import "./chunks/chunk-AZIKAG7K.js";
|
|
186
186
|
import "./chunks/chunk-U5CYRPC3.js";
|
|
187
187
|
import "./chunks/chunk-JQ6HWGRY.js";
|
|
188
188
|
import "./chunks/chunk-H2JE6IVU.js";
|
package/dist/item.css
CHANGED
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
|
|
95
95
|
.form {
|
|
96
96
|
|
|
97
|
+
/* background-color: var(--qti-bg); */
|
|
97
98
|
display: grid;
|
|
98
99
|
place-content: center;
|
|
99
100
|
width: var(--qti-form-size);
|
|
@@ -239,6 +240,7 @@
|
|
|
239
240
|
|
|
240
241
|
.check {
|
|
241
242
|
gap: 0.5rem;
|
|
243
|
+
background-color: var(--qti-bg);
|
|
242
244
|
border-radius: var(--qti-border-radius);
|
|
243
245
|
padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
|
|
244
246
|
outline: none;
|
|
@@ -2061,6 +2063,8 @@ qti-response-declaration {
|
|
|
2061
2063
|
|
|
2062
2064
|
gap: 0.5rem;
|
|
2063
2065
|
|
|
2066
|
+
background-color: var(--qti-bg);
|
|
2067
|
+
|
|
2064
2068
|
border-radius: var(--qti-border-radius);
|
|
2065
2069
|
|
|
2066
2070
|
padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
|
|
@@ -2605,6 +2609,8 @@ qti-response-declaration {
|
|
|
2605
2609
|
|
|
2606
2610
|
gap: 0.5rem;
|
|
2607
2611
|
|
|
2612
|
+
background-color: var(--qti-bg);
|
|
2613
|
+
|
|
2608
2614
|
border-radius: var(--qti-border-radius);
|
|
2609
2615
|
|
|
2610
2616
|
padding: var(--qti-padding-vertical) var(--qti-padding-horizontal);
|
|
@@ -759,6 +759,8 @@ export type ItemContainerProps = {
|
|
|
759
759
|
itemXML?: string;
|
|
760
760
|
};
|
|
761
761
|
|
|
762
|
+
export type PrintItemVariablesProps = {};
|
|
763
|
+
|
|
762
764
|
export type ItemShowCorrectResponseProps = {
|
|
763
765
|
/** */
|
|
764
766
|
shown?: boolean;
|
|
@@ -776,8 +778,6 @@ export type ItemShowCorrectResponseProps = {
|
|
|
776
778
|
"onitem-show-correct-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
777
779
|
};
|
|
778
780
|
|
|
779
|
-
export type PrintItemVariablesProps = {};
|
|
780
|
-
|
|
781
781
|
export type QtiItemProps = {
|
|
782
782
|
/** */
|
|
783
783
|
computedContext?: ComputedItemContext;
|
|
@@ -899,6 +899,8 @@ export type TestNavigationProps = {
|
|
|
899
899
|
"auto-score-items"?: boolean;
|
|
900
900
|
/** */
|
|
901
901
|
initContext?: { identifier: string; [key: string]: any }[];
|
|
902
|
+
/** */
|
|
903
|
+
configContext?: ConfigContext;
|
|
902
904
|
};
|
|
903
905
|
|
|
904
906
|
export type TestNextProps = {
|
|
@@ -1010,6 +1012,9 @@ export type TestPrintContextProps = {
|
|
|
1010
1012
|
};
|
|
1011
1013
|
|
|
1012
1014
|
export type TestStampProps = {
|
|
1015
|
+
/** Indicates whether the component is in debug mode.
|
|
1016
|
+
When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
|
|
1017
|
+
debug?: boolean;
|
|
1013
1018
|
/** */
|
|
1014
1019
|
myTemplate?: TemplateFunction;
|
|
1015
1020
|
};
|
|
@@ -1019,16 +1024,15 @@ export type TestScoringButtonsProps = {
|
|
|
1019
1024
|
view?: string;
|
|
1020
1025
|
/** */
|
|
1021
1026
|
disabled?: boolean;
|
|
1022
|
-
|
|
1027
|
+
/** */
|
|
1028
|
+
myTemplate?: TemplateFunction | null;
|
|
1023
1029
|
/** */
|
|
1024
1030
|
"ontest-update-outcome-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1025
1031
|
};
|
|
1026
1032
|
|
|
1027
1033
|
export type TestViewToggleProps = {
|
|
1028
1034
|
/** */
|
|
1029
|
-
|
|
1030
|
-
/** */
|
|
1031
|
-
viewOptions?: array;
|
|
1035
|
+
myTemplate?: any;
|
|
1032
1036
|
/** */
|
|
1033
1037
|
"onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1034
1038
|
};
|
|
@@ -1774,18 +1778,18 @@ export type CustomElements = {
|
|
|
1774
1778
|
*
|
|
1775
1779
|
* ---
|
|
1776
1780
|
*
|
|
1777
|
-
*
|
|
1778
|
-
* ### **Events:**
|
|
1779
|
-
* - **item-show-correct-response**
|
|
1780
1781
|
*/
|
|
1781
|
-
"item-
|
|
1782
|
+
"print-item-variables": Partial<PrintItemVariablesProps & BaseProps & BaseEvents>;
|
|
1782
1783
|
|
|
1783
1784
|
/**
|
|
1784
1785
|
*
|
|
1785
1786
|
* ---
|
|
1786
1787
|
*
|
|
1788
|
+
*
|
|
1789
|
+
* ### **Events:**
|
|
1790
|
+
* - **item-show-correct-response**
|
|
1787
1791
|
*/
|
|
1788
|
-
"
|
|
1792
|
+
"item-show-correct-response": Partial<ItemShowCorrectResponseProps & BaseProps & BaseEvents>;
|
|
1789
1793
|
|
|
1790
1794
|
/**
|
|
1791
1795
|
* `<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ItemContainer
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-4NZYGJLT.js";
|
|
4
|
+
import "../../chunks/chunk-RGQDJQVE.js";
|
|
5
5
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
6
6
|
import "../../chunks/chunk-VEWD22O5.js";
|
|
7
7
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ItemShowCorrectResponse
|
|
3
|
-
} from "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-G5R527RC.js";
|
|
4
4
|
import "../../chunks/chunk-DZAMXOSC.js";
|
|
5
|
-
import "../../chunks/chunk-
|
|
5
|
+
import "../../chunks/chunk-4OGJBG35.js";
|
|
6
6
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
7
7
|
export {
|
|
8
8
|
ItemShowCorrectResponse
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PrintItemVariables
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-EJZQSOHU.js";
|
|
4
|
+
import "../../chunks/chunk-4OGJBG35.js";
|
|
5
5
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
6
6
|
export {
|
|
7
7
|
PrintItemVariables
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
QtiItem
|
|
3
|
-
} from "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-X7TJEF7P.js";
|
|
4
4
|
import {
|
|
5
5
|
ItemContainer
|
|
6
|
-
} from "../../chunks/chunk-
|
|
6
|
+
} from "../../chunks/chunk-4NZYGJLT.js";
|
|
7
7
|
import {
|
|
8
8
|
ItemShowCorrectResponse
|
|
9
|
-
} from "../../chunks/chunk-
|
|
9
|
+
} from "../../chunks/chunk-G5R527RC.js";
|
|
10
10
|
import {
|
|
11
11
|
PrintItemVariables
|
|
12
|
-
} from "../../chunks/chunk-
|
|
12
|
+
} from "../../chunks/chunk-EJZQSOHU.js";
|
|
13
13
|
import "../../chunks/chunk-DZAMXOSC.js";
|
|
14
|
-
import "../../chunks/chunk-
|
|
14
|
+
import "../../chunks/chunk-RGQDJQVE.js";
|
|
15
15
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
16
16
|
import "../../chunks/chunk-VEWD22O5.js";
|
|
17
|
-
import "../../chunks/chunk-
|
|
17
|
+
import "../../chunks/chunk-4OGJBG35.js";
|
|
18
18
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
19
19
|
export {
|
|
20
20
|
ItemContainer,
|
|
@@ -18,13 +18,14 @@ export { TestScoringFeedback } from './test-scoring-feedback.js';
|
|
|
18
18
|
import 'lit-html';
|
|
19
19
|
import 'lit';
|
|
20
20
|
import '../../exports/computed.context.js';
|
|
21
|
-
import '../../
|
|
21
|
+
import '../../qti-test-feedback-C2mE_Xcg.js';
|
|
22
22
|
import '../../qti-response-declaration-C3kpm650.js';
|
|
23
23
|
import '../../exports/expression-result.js';
|
|
24
24
|
import '../../exports/interaction.interface.js';
|
|
25
25
|
import 'lit-html/directives/ref.js';
|
|
26
|
-
import '../../exports/config.context.js';
|
|
27
|
-
import '../../qti-test-feedback-CG8nrjhS.js';
|
|
28
26
|
import 'stampino';
|
|
29
27
|
import '../../exports/test.context.js';
|
|
28
|
+
import '../../exports/computed-item.context.js';
|
|
29
|
+
import '../../exports/config.context.js';
|
|
30
|
+
import '../../exports/session.context.js';
|
|
30
31
|
import 'storybook/internal/types';
|
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
import "../../chunks/chunk-UUEOV5NM.js";
|
|
2
|
+
import {
|
|
3
|
+
TestViewToggle
|
|
4
|
+
} from "../../chunks/chunk-J3I5LKXH.js";
|
|
2
5
|
import {
|
|
3
6
|
TestView
|
|
4
|
-
} from "../../chunks/chunk-
|
|
7
|
+
} from "../../chunks/chunk-YS4T2ORC.js";
|
|
8
|
+
import {
|
|
9
|
+
TestPrintContext
|
|
10
|
+
} from "../../chunks/chunk-WFFIUFJJ.js";
|
|
5
11
|
import {
|
|
6
12
|
TestPrintVariables
|
|
7
|
-
} from "../../chunks/chunk-
|
|
13
|
+
} from "../../chunks/chunk-36G5MQKR.js";
|
|
8
14
|
import {
|
|
9
15
|
TestScoringButtons
|
|
10
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-MJMLVDAV.js";
|
|
11
17
|
import {
|
|
12
18
|
TestScoringFeedback
|
|
13
|
-
} from "../../chunks/chunk-
|
|
19
|
+
} from "../../chunks/chunk-W5FVZTR6.js";
|
|
14
20
|
import {
|
|
15
21
|
TestSectionButtonsStamp
|
|
16
|
-
} from "../../chunks/chunk-
|
|
22
|
+
} from "../../chunks/chunk-PWNPDEWD.js";
|
|
17
23
|
import {
|
|
18
24
|
TestSectionLink
|
|
19
25
|
} from "../../chunks/chunk-BLBSZDQ4.js";
|
|
20
26
|
import {
|
|
21
27
|
TestShowCorrectResponse
|
|
22
|
-
} from "../../chunks/chunk-
|
|
28
|
+
} from "../../chunks/chunk-FQMHR6ZF.js";
|
|
23
29
|
import {
|
|
24
30
|
TestStamp
|
|
25
|
-
} from "../../chunks/chunk-
|
|
26
|
-
import {
|
|
27
|
-
TestViewToggle
|
|
28
|
-
} from "../../chunks/chunk-SOT463MH.js";
|
|
31
|
+
} from "../../chunks/chunk-ZZFSVIVR.js";
|
|
29
32
|
import {
|
|
30
33
|
TestContainer
|
|
31
|
-
} from "../../chunks/chunk-
|
|
34
|
+
} from "../../chunks/chunk-VGGCSCVL.js";
|
|
32
35
|
import {
|
|
33
36
|
TestEndAttempt
|
|
34
37
|
} from "../../chunks/chunk-5KCXO2RP.js";
|
|
@@ -37,28 +40,25 @@ import {
|
|
|
37
40
|
} from "../../chunks/chunk-YPMZLHGG.js";
|
|
38
41
|
import {
|
|
39
42
|
TestNavigation
|
|
40
|
-
} from "../../chunks/chunk-
|
|
43
|
+
} from "../../chunks/chunk-RIPZMRDA.js";
|
|
41
44
|
import {
|
|
42
45
|
TestNext
|
|
43
|
-
} from "../../chunks/chunk-
|
|
46
|
+
} from "../../chunks/chunk-YQXKY6CK.js";
|
|
44
47
|
import {
|
|
45
48
|
TestPagingButtonsStamp
|
|
46
|
-
} from "../../chunks/chunk-
|
|
49
|
+
} from "../../chunks/chunk-FBE6FA2H.js";
|
|
47
50
|
import {
|
|
48
51
|
TestPrev
|
|
49
|
-
} from "../../chunks/chunk-
|
|
52
|
+
} from "../../chunks/chunk-ZNU2BCTJ.js";
|
|
50
53
|
import "../../chunks/chunk-K6EUKFNW.js";
|
|
51
|
-
import {
|
|
52
|
-
TestPrintContext
|
|
53
|
-
} from "../../chunks/chunk-WPUMEBSF.js";
|
|
54
|
-
import "../../chunks/chunk-KD26ZB2H.js";
|
|
55
54
|
import "../../chunks/chunk-5ZHHNEDA.js";
|
|
56
|
-
import "../../chunks/chunk-
|
|
55
|
+
import "../../chunks/chunk-RGQDJQVE.js";
|
|
56
|
+
import "../../chunks/chunk-22IRJWWY.js";
|
|
57
57
|
import "../../chunks/chunk-CJADUWEC.js";
|
|
58
58
|
import "../../chunks/chunk-D3RGDWKP.js";
|
|
59
59
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
60
60
|
import "../../chunks/chunk-VEWD22O5.js";
|
|
61
|
-
import "../../chunks/chunk-
|
|
61
|
+
import "../../chunks/chunk-AZIKAG7K.js";
|
|
62
62
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
63
63
|
export {
|
|
64
64
|
TestContainer,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TestContainer
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-
|
|
3
|
+
} from "../../chunks/chunk-VGGCSCVL.js";
|
|
4
|
+
import "../../chunks/chunk-RGQDJQVE.js";
|
|
5
5
|
import "../../chunks/chunk-ELDMXTUQ.js";
|
|
6
6
|
import "../../chunks/chunk-VEWD22O5.js";
|
|
7
7
|
import "../../chunks/chunk-H2JE6IVU.js";
|
|
@@ -2,14 +2,15 @@ import * as lit_html from 'lit-html';
|
|
|
2
2
|
import { LitElement, PropertyValues } from 'lit';
|
|
3
3
|
import { ComputedContext } from '../../exports/computed.context.js';
|
|
4
4
|
import { ConfigContext } from '../../exports/config.context.js';
|
|
5
|
-
import {
|
|
5
|
+
import { SessionContext } from '../../exports/session.context.js';
|
|
6
6
|
import { TestContext } from '../../exports/test.context.js';
|
|
7
|
-
import '../../
|
|
7
|
+
import '../../qti-test-feedback-C2mE_Xcg.js';
|
|
8
8
|
import '../../qti-response-declaration-C3kpm650.js';
|
|
9
9
|
import '../../exports/expression-result.js';
|
|
10
10
|
import '../../exports/interaction.interface.js';
|
|
11
11
|
import 'lit-html/directives/ref.js';
|
|
12
12
|
import 'stampino';
|
|
13
|
+
import '../../exports/computed-item.context.js';
|
|
13
14
|
|
|
14
15
|
type CustomEventMap = {
|
|
15
16
|
'test-end-attempt': CustomEvent;
|
|
@@ -27,9 +28,9 @@ declare class TestNavigation extends LitElement {
|
|
|
27
28
|
identifier: string;
|
|
28
29
|
[key: string]: any;
|
|
29
30
|
}[];
|
|
31
|
+
configContext: ConfigContext;
|
|
30
32
|
protected _testContext?: TestContext;
|
|
31
33
|
protected _sessionContext?: SessionContext;
|
|
32
|
-
protected configContext: ConfigContext;
|
|
33
34
|
protected computedContext: ComputedContext;
|
|
34
35
|
autoScoreItems: boolean;
|
|
35
36
|
private _testElement;
|