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