@citolab/qti-components 7.3.23 → 7.4.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/index.global.js +1 -1
- package/cdn/index.js +5485 -1
- package/custom-elements.json +29837 -0
- package/dist/chunks/chunk-6K4ROGDD.js +364 -0
- package/dist/chunks/chunk-6K4ROGDD.js.map +1 -0
- package/dist/chunks/chunk-GUDRSXIP.js +189 -0
- package/dist/chunks/chunk-GUDRSXIP.js.map +1 -0
- package/dist/chunks/{chunk-WFUXZ4UT.js → chunk-JDY5GL7E.js} +13 -1
- package/dist/chunks/{chunk-WFUXZ4UT.js.map → chunk-JDY5GL7E.js.map} +1 -1
- package/dist/chunks/{chunk-LF6SO3JU.js → chunk-LN74Z5QM.js} +653 -450
- package/dist/chunks/chunk-LN74Z5QM.js.map +1 -0
- package/dist/chunks/{chunk-ELDMXTUQ.js → chunk-O5N4DCU6.js} +7 -2
- package/dist/chunks/chunk-O5N4DCU6.js.map +1 -0
- package/dist/chunks/chunk-TJ6ZOT7A.js +2235 -0
- package/dist/chunks/chunk-TJ6ZOT7A.js.map +1 -0
- package/dist/computed-item.context-DpK-sS0T.d.ts +19 -0
- package/dist/{exports/config.context.d.ts → config.context-CmQ9L62n.d.ts} +1 -4
- package/dist/custom-elements.json +29837 -0
- package/dist/index.d.ts +8 -39
- package/dist/index.js +34 -104
- package/{cdn/chunks/chunk-5TDBMEY5.js → dist/item.css} +7 -24
- package/dist/qti-assessment-item-D77dJ1Ot.d.ts +104 -0
- package/dist/qti-components/index.d.ts +1238 -19
- package/dist/qti-components/index.js +6 -14
- package/dist/qti-components-jsx.d.ts +4463 -0
- package/dist/qti-item/index.d.ts +113 -0
- package/dist/qti-item/index.js +16 -0
- package/dist/qti-loader/index.d.ts +2 -6
- package/dist/qti-loader/index.js +24 -5
- package/dist/qti-loader/index.js.map +1 -1
- package/dist/qti-test/index.d.ts +593 -0
- package/dist/qti-test/index.js +62 -0
- package/dist/qti-transformers/index.d.ts +38 -2
- package/dist/qti-transformers/index.js +1 -2
- package/dist/test.context-L609DNAz.d.ts +58 -0
- package/dist/variables-Vgyr6yyW.d.ts +58 -0
- package/dist/vscode.css-custom-data.json +11 -0
- package/dist/vscode.html-custom-data.json +1135 -0
- package/package.json +74 -116
- package/cdn/chunks/chunk-2BSPQRNR.js +0 -6
- package/cdn/chunks/chunk-3CVBBZDT.js +0 -17
- package/cdn/chunks/chunk-3IBGLVHA.js +0 -1
- package/cdn/chunks/chunk-3YQMAZEO.js +0 -29
- package/cdn/chunks/chunk-5UQLGV7F.js +0 -5
- package/cdn/chunks/chunk-5WLHU3FH.js +0 -8
- package/cdn/chunks/chunk-6SGFGN34.js +0 -8
- package/cdn/chunks/chunk-6XVY32RS.js +0 -1
- package/cdn/chunks/chunk-7ME56ODO.js +0 -1
- package/cdn/chunks/chunk-CZDMOYYF.js +0 -1
- package/cdn/chunks/chunk-DNBBQ7LY.js +0 -1
- package/cdn/chunks/chunk-DP5FVJRS.js +0 -21
- package/cdn/chunks/chunk-E6IOJ4MV.js +0 -23
- package/cdn/chunks/chunk-G76Y52EL.js +0 -1471
- package/cdn/chunks/chunk-HCXHHI6V.js +0 -18
- package/cdn/chunks/chunk-HDMF4QZO.js +0 -48
- package/cdn/chunks/chunk-HKWYQB5Z.js +0 -37
- package/cdn/chunks/chunk-J5P2GBPV.js +0 -1
- package/cdn/chunks/chunk-KWPDTFYH.js +0 -1
- package/cdn/chunks/chunk-LIUOA3YV.js +0 -1
- package/cdn/chunks/chunk-LO2NM3CE.js +0 -1
- package/cdn/chunks/chunk-MD33BNWM.js +0 -1
- package/cdn/chunks/chunk-MRQ46JRY.js +0 -8
- package/cdn/chunks/chunk-NJP4VZB3.js +0 -8
- package/cdn/chunks/chunk-O4RAJ3LM.js +0 -25
- package/cdn/chunks/chunk-OSLUHYFD.js +0 -8
- package/cdn/chunks/chunk-P6SSTAJ2.js +0 -1
- package/cdn/chunks/chunk-PP62N3C4.js +0 -8
- package/cdn/chunks/chunk-PU7OABT3.js +0 -1
- package/cdn/chunks/chunk-PUI3LIFH.js +0 -0
- package/cdn/chunks/chunk-QBAXWCYQ.js +0 -5
- package/cdn/chunks/chunk-QEFO63QX.js +0 -8
- package/cdn/chunks/chunk-QQCGUVEV.js +0 -1
- package/cdn/chunks/chunk-QQR6POPY.js +0 -1
- package/cdn/chunks/chunk-RGNFAPWY.js +0 -2
- package/cdn/chunks/chunk-S5QDLZ6J.js +0 -1
- package/cdn/chunks/chunk-SEM2PEP6.js +0 -5
- package/cdn/chunks/chunk-SVVO2SFS.js +0 -1
- package/cdn/chunks/chunk-TCHROQU3.js +0 -1
- package/cdn/chunks/chunk-UMDZKG6K.js +0 -1
- package/cdn/chunks/chunk-VEG7LKS3.js +0 -48
- package/cdn/chunks/chunk-WCCTDLQ4.js +0 -8
- package/cdn/chunks/chunk-X4FA36TC.js +0 -1
- package/cdn/chunks/chunk-XJ2CFTZP.js +0 -1
- package/cdn/chunks/chunk-XUJ7TXHW.js +0 -1
- package/cdn/chunks/chunk-YCBNF5QU.js +0 -17
- package/cdn/chunks/chunk-YHLQ2JQ2.js +0 -1
- package/cdn/chunks/chunk-ZPCQH3EY.js +0 -10
- package/cdn/exports/computed-item.context.js +0 -1
- package/cdn/exports/computed.context.js +0 -1
- package/cdn/exports/config.context.js +0 -1
- package/cdn/exports/expression-result.js +0 -0
- package/cdn/exports/interaction.interface.js +0 -0
- package/cdn/exports/interaction.js +0 -1
- package/cdn/exports/item.context.js +0 -1
- package/cdn/exports/qti-assessment-item.context.js +0 -1
- package/cdn/exports/qti-condition-expression.js +0 -1
- package/cdn/exports/qti-expression.js +0 -1
- package/cdn/exports/qti-test.js +0 -0
- package/cdn/exports/qti.context.js +0 -1
- package/cdn/exports/session.context.js +0 -1
- package/cdn/exports/test.context.js +0 -1
- package/cdn/exports/variables.js +0 -0
- package/cdn/qti-components/index.js +0 -1
- package/cdn/qti-item/components/item-container.js +0 -1
- package/cdn/qti-item/components/item-correct-response-mode.js +0 -10
- package/cdn/qti-item/components/item-show-candidate-correction.js +0 -8
- package/cdn/qti-item/components/item-show-correct-response.js +0 -1
- package/cdn/qti-item/components/print-item-variables.js +0 -1
- package/cdn/qti-item/components/styles.js +0 -1
- package/cdn/qti-item/core/index.js +0 -1
- package/cdn/qti-loader/index.js +0 -1
- package/cdn/qti-test/components/index.js +0 -1
- package/cdn/qti-test/components/styles.js +0 -1
- package/cdn/qti-test/components/test-check-item.js +0 -1
- package/cdn/qti-test/components/test-container.js +0 -1
- package/cdn/qti-test/components/test-end-attempt.js +0 -1
- package/cdn/qti-test/components/test-item-link.js +0 -1
- package/cdn/qti-test/components/test-navigation.js +0 -1
- package/cdn/qti-test/components/test-next.js +0 -1
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +0 -1
- package/cdn/qti-test/components/test-prev.js +0 -1
- package/cdn/qti-test/components/test-print-context.js +0 -1
- package/cdn/qti-test/components/test-print-item-variables.js +0 -1
- package/cdn/qti-test/components/test-scoring-buttons.js +0 -1
- package/cdn/qti-test/components/test-scoring-feedback.js +0 -1
- package/cdn/qti-test/components/test-section-buttons-stamp.js +0 -1
- package/cdn/qti-test/components/test-section-link.js +0 -1
- package/cdn/qti-test/components/test-show-correct-response.js +0 -1
- package/cdn/qti-test/components/test-stamp.js +0 -1
- package/cdn/qti-test/components/test-view-toggle.js +0 -1
- package/cdn/qti-test/components/test-view.js +0 -1
- package/cdn/qti-test/core/index.js +0 -1
- package/cdn/qti-transformers/index.js +0 -1
- package/dist/chunks/chunk-22IRJWWY.js +0 -10
- package/dist/chunks/chunk-22IRJWWY.js.map +0 -1
- package/dist/chunks/chunk-36G5MQKR.js +0 -85
- package/dist/chunks/chunk-36G5MQKR.js.map +0 -1
- package/dist/chunks/chunk-4OGJBG35.js +0 -8
- package/dist/chunks/chunk-4OGJBG35.js.map +0 -1
- package/dist/chunks/chunk-5KCXO2RP.js +0 -36
- package/dist/chunks/chunk-5KCXO2RP.js.map +0 -1
- package/dist/chunks/chunk-5ZHHNEDA.js +0 -30
- package/dist/chunks/chunk-5ZHHNEDA.js.map +0 -1
- package/dist/chunks/chunk-7K44TDQO.js +0 -91
- package/dist/chunks/chunk-7K44TDQO.js.map +0 -1
- package/dist/chunks/chunk-7OMJMXHK.js +0 -50
- package/dist/chunks/chunk-7OMJMXHK.js.map +0 -1
- package/dist/chunks/chunk-AZIKAG7K.js +0 -8
- package/dist/chunks/chunk-AZIKAG7K.js.map +0 -1
- package/dist/chunks/chunk-BLBSZDQ4.js +0 -52
- package/dist/chunks/chunk-BLBSZDQ4.js.map +0 -1
- package/dist/chunks/chunk-CJADUWEC.js +0 -10
- package/dist/chunks/chunk-CJADUWEC.js.map +0 -1
- package/dist/chunks/chunk-CP34TICQ.js +0 -45
- package/dist/chunks/chunk-CP34TICQ.js.map +0 -1
- package/dist/chunks/chunk-CTESMSQO.js +0 -56
- package/dist/chunks/chunk-CTESMSQO.js.map +0 -1
- package/dist/chunks/chunk-DZAMXOSC.js +0 -30
- package/dist/chunks/chunk-DZAMXOSC.js.map +0 -1
- package/dist/chunks/chunk-E6V3JHVT.js +0 -31
- package/dist/chunks/chunk-E6V3JHVT.js.map +0 -1
- package/dist/chunks/chunk-EJZQSOHU.js +0 -85
- package/dist/chunks/chunk-EJZQSOHU.js.map +0 -1
- package/dist/chunks/chunk-ELDMXTUQ.js.map +0 -1
- package/dist/chunks/chunk-EMVOKXSA.js +0 -84
- package/dist/chunks/chunk-EMVOKXSA.js.map +0 -1
- package/dist/chunks/chunk-ERYHQVOT.js +0 -8
- package/dist/chunks/chunk-ERYHQVOT.js.map +0 -1
- package/dist/chunks/chunk-ETLOKJAG.js +0 -94
- package/dist/chunks/chunk-ETLOKJAG.js.map +0 -1
- package/dist/chunks/chunk-FL72PF4D.js +0 -19
- package/dist/chunks/chunk-FL72PF4D.js.map +0 -1
- package/dist/chunks/chunk-GAHXUFMQ.js +0 -93
- package/dist/chunks/chunk-GAHXUFMQ.js.map +0 -1
- package/dist/chunks/chunk-H2JE6IVU.js +0 -15
- package/dist/chunks/chunk-H2JE6IVU.js.map +0 -1
- package/dist/chunks/chunk-H6KHXSIO.js +0 -8
- package/dist/chunks/chunk-H6KHXSIO.js.map +0 -1
- package/dist/chunks/chunk-HFAUM56X.js +0 -208
- package/dist/chunks/chunk-HFAUM56X.js.map +0 -1
- package/dist/chunks/chunk-JQ6HWGRY.js +0 -22
- package/dist/chunks/chunk-JQ6HWGRY.js.map +0 -1
- package/dist/chunks/chunk-KG5Z2CKO.js +0 -86
- package/dist/chunks/chunk-KG5Z2CKO.js.map +0 -1
- package/dist/chunks/chunk-KSXNC564.js +0 -43
- package/dist/chunks/chunk-KSXNC564.js.map +0 -1
- package/dist/chunks/chunk-LF6SO3JU.js.map +0 -1
- package/dist/chunks/chunk-NJNQOQUU.js +0 -8
- package/dist/chunks/chunk-NJNQOQUU.js.map +0 -1
- package/dist/chunks/chunk-ODHS7HDB.js +0 -94
- package/dist/chunks/chunk-ODHS7HDB.js.map +0 -1
- package/dist/chunks/chunk-QCB6P7DH.js +0 -146
- package/dist/chunks/chunk-QCB6P7DH.js.map +0 -1
- package/dist/chunks/chunk-QU7KR7VX.js +0 -367
- package/dist/chunks/chunk-QU7KR7VX.js.map +0 -1
- package/dist/chunks/chunk-TU6COU44.js +0 -82
- package/dist/chunks/chunk-TU6COU44.js.map +0 -1
- package/dist/chunks/chunk-TUKEQ36K.js +0 -60
- package/dist/chunks/chunk-TUKEQ36K.js.map +0 -1
- package/dist/chunks/chunk-TWYN56XO.js +0 -92
- package/dist/chunks/chunk-TWYN56XO.js.map +0 -1
- package/dist/chunks/chunk-UHQVQBCL.js +0 -89
- package/dist/chunks/chunk-UHQVQBCL.js.map +0 -1
- package/dist/chunks/chunk-WFFIUFJJ.js +0 -28
- package/dist/chunks/chunk-WFFIUFJJ.js.map +0 -1
- package/dist/chunks/chunk-WN6TJQI2.js +0 -103
- package/dist/chunks/chunk-WN6TJQI2.js.map +0 -1
- package/dist/chunks/chunk-WPEFNKMC.js +0 -923
- package/dist/chunks/chunk-WPEFNKMC.js.map +0 -1
- package/dist/chunks/chunk-YPMZLHGG.js +0 -52
- package/dist/chunks/chunk-YPMZLHGG.js.map +0 -1
- package/dist/chunks/chunk-YWEWSQJR.js +0 -40
- package/dist/chunks/chunk-YWEWSQJR.js.map +0 -1
- package/dist/chunks/chunk-ZGSNDSK3.js +0 -1
- package/dist/chunks/chunk-ZGSNDSK3.js.map +0 -1
- package/dist/exports/computed-item.context.d.ts +0 -29
- package/dist/exports/computed-item.context.js +0 -8
- package/dist/exports/computed-item.context.js.map +0 -1
- package/dist/exports/computed.context.d.ts +0 -42
- package/dist/exports/computed.context.js +0 -8
- package/dist/exports/computed.context.js.map +0 -1
- package/dist/exports/config.context.js +0 -8
- package/dist/exports/config.context.js.map +0 -1
- package/dist/exports/expression-result.d.ts +0 -19
- package/dist/exports/expression-result.js +0 -1
- package/dist/exports/expression-result.js.map +0 -1
- package/dist/exports/interaction.d.ts +0 -8
- package/dist/exports/interaction.interface.d.ts +0 -13
- package/dist/exports/interaction.interface.js +0 -1
- package/dist/exports/interaction.interface.js.map +0 -1
- package/dist/exports/interaction.js +0 -12
- package/dist/exports/interaction.js.map +0 -1
- package/dist/exports/item.context.d.ts +0 -8
- package/dist/exports/item.context.js +0 -8
- package/dist/exports/item.context.js.map +0 -1
- package/dist/exports/qti-assessment-item.context.d.ts +0 -14
- package/dist/exports/qti-assessment-item.context.js +0 -8
- package/dist/exports/qti-assessment-item.context.js.map +0 -1
- package/dist/exports/qti-condition-expression.d.ts +0 -15
- package/dist/exports/qti-condition-expression.js +0 -11
- package/dist/exports/qti-condition-expression.js.map +0 -1
- package/dist/exports/qti-expression.d.ts +0 -8
- package/dist/exports/qti-expression.js +0 -10
- package/dist/exports/qti-expression.js.map +0 -1
- package/dist/exports/qti-test.d.ts +0 -40
- package/dist/exports/qti-test.js +0 -1
- package/dist/exports/qti-test.js.map +0 -1
- package/dist/exports/qti.context.d.ts +0 -14
- package/dist/exports/qti.context.js +0 -8
- package/dist/exports/qti.context.js.map +0 -1
- package/dist/exports/session.context.d.ts +0 -26
- package/dist/exports/session.context.js +0 -10
- package/dist/exports/session.context.js.map +0 -1
- package/dist/exports/test.context.d.ts +0 -21
- package/dist/exports/test.context.js +0 -10
- package/dist/exports/test.context.js.map +0 -1
- package/dist/exports/variables.d.ts +0 -8
- package/dist/exports/variables.js +0 -1
- package/dist/exports/variables.js.map +0 -1
- package/dist/qti-item/components/item-container.d.ts +0 -40
- package/dist/qti-item/components/item-container.js +0 -11
- package/dist/qti-item/components/item-container.js.map +0 -1
- package/dist/qti-item/components/item-correct-response-mode.d.ts +0 -17
- package/dist/qti-item/components/item-correct-response-mode.js +0 -62
- package/dist/qti-item/components/item-correct-response-mode.js.map +0 -1
- package/dist/qti-item/components/item-show-candidate-correction.d.ts +0 -34
- package/dist/qti-item/components/item-show-candidate-correction.js +0 -88
- package/dist/qti-item/components/item-show-candidate-correction.js.map +0 -1
- package/dist/qti-item/components/item-show-correct-response.d.ts +0 -33
- package/dist/qti-item/components/item-show-correct-response.js +0 -10
- package/dist/qti-item/components/item-show-correct-response.js.map +0 -1
- package/dist/qti-item/components/print-item-variables.d.ts +0 -23
- package/dist/qti-item/components/print-item-variables.js +0 -9
- package/dist/qti-item/components/print-item-variables.js.map +0 -1
- package/dist/qti-item/components/styles.d.ts +0 -8
- package/dist/qti-item/components/styles.js +0 -14
- package/dist/qti-item/components/styles.js.map +0 -1
- package/dist/qti-item/core/index.d.ts +0 -51
- package/dist/qti-item/core/index.js +0 -26
- package/dist/qti-response-declaration-DKr08ANy.d.ts +0 -1397
- package/dist/qti-test/components/index.d.ts +0 -33
- package/dist/qti-test/components/index.js +0 -87
- package/dist/qti-test/components/styles.d.ts +0 -8
- package/dist/qti-test/components/styles.js +0 -14
- package/dist/qti-test/components/styles.js.map +0 -1
- package/dist/qti-test/components/test-check-item.d.ts +0 -16
- package/dist/qti-test/components/test-check-item.js +0 -9
- package/dist/qti-test/components/test-check-item.js.map +0 -1
- package/dist/qti-test/components/test-container.d.ts +0 -39
- package/dist/qti-test/components/test-container.js +0 -11
- package/dist/qti-test/components/test-container.js.map +0 -1
- package/dist/qti-test/components/test-end-attempt.d.ts +0 -16
- package/dist/qti-test/components/test-end-attempt.js +0 -9
- package/dist/qti-test/components/test-end-attempt.js.map +0 -1
- package/dist/qti-test/components/test-item-link.d.ts +0 -18
- package/dist/qti-test/components/test-item-link.js +0 -9
- package/dist/qti-test/components/test-item-link.js.map +0 -1
- package/dist/qti-test/components/test-navigation.d.ts +0 -73
- package/dist/qti-test/components/test-navigation.js +0 -13
- package/dist/qti-test/components/test-navigation.js.map +0 -1
- package/dist/qti-test/components/test-next.d.ts +0 -48
- package/dist/qti-test/components/test-next.js +0 -12
- package/dist/qti-test/components/test-next.js.map +0 -1
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +0 -23
- package/dist/qti-test/components/test-paging-buttons-stamp.js +0 -9
- package/dist/qti-test/components/test-paging-buttons-stamp.js.map +0 -1
- package/dist/qti-test/components/test-prev.d.ts +0 -46
- package/dist/qti-test/components/test-prev.js +0 -12
- package/dist/qti-test/components/test-prev.js.map +0 -1
- package/dist/qti-test/components/test-print-context.d.ts +0 -25
- package/dist/qti-test/components/test-print-context.js +0 -9
- package/dist/qti-test/components/test-print-context.js.map +0 -1
- package/dist/qti-test/components/test-print-item-variables.d.ts +0 -27
- package/dist/qti-test/components/test-print-item-variables.js +0 -9
- package/dist/qti-test/components/test-print-item-variables.js.map +0 -1
- package/dist/qti-test/components/test-scoring-buttons.d.ts +0 -32
- package/dist/qti-test/components/test-scoring-buttons.js +0 -9
- package/dist/qti-test/components/test-scoring-buttons.js.map +0 -1
- package/dist/qti-test/components/test-scoring-feedback.d.ts +0 -27
- package/dist/qti-test/components/test-scoring-feedback.js +0 -9
- package/dist/qti-test/components/test-scoring-feedback.js.map +0 -1
- package/dist/qti-test/components/test-section-buttons-stamp.d.ts +0 -23
- package/dist/qti-test/components/test-section-buttons-stamp.js +0 -9
- package/dist/qti-test/components/test-section-buttons-stamp.js.map +0 -1
- package/dist/qti-test/components/test-section-link.d.ts +0 -18
- package/dist/qti-test/components/test-section-link.js +0 -9
- package/dist/qti-test/components/test-section-link.js.map +0 -1
- package/dist/qti-test/components/test-show-correct-response.d.ts +0 -39
- package/dist/qti-test/components/test-show-correct-response.js +0 -10
- package/dist/qti-test/components/test-show-correct-response.js.map +0 -1
- package/dist/qti-test/components/test-stamp.d.ts +0 -31
- package/dist/qti-test/components/test-stamp.js +0 -9
- package/dist/qti-test/components/test-stamp.js.map +0 -1
- package/dist/qti-test/components/test-view-toggle.d.ts +0 -19
- package/dist/qti-test/components/test-view-toggle.js +0 -9
- package/dist/qti-test/components/test-view-toggle.js.map +0 -1
- package/dist/qti-test/components/test-view.d.ts +0 -24
- package/dist/qti-test/components/test-view.js +0 -10
- package/dist/qti-test/components/test-view.js.map +0 -1
- package/dist/qti-test/core/index.d.ts +0 -105
- package/dist/qti-test/core/index.js +0 -36
- package/dist/qti-test/core/index.js.map +0 -1
- package/dist/qti-test-feedback-CZsbp6z4.d.ts +0 -91
- package/dist/qti-transform-item-C9WtMeDR.d.ts +0 -39
- /package/dist/qti-item/{core/index.js.map → index.js.map} +0 -0
- /package/dist/qti-test/{components/index.js.map → index.js.map} +0 -0
|
@@ -0,0 +1,4463 @@
|
|
|
1
|
+
|
|
2
|
+
import type { ItemShowCandidateCorrection } from "src/lib/qti-item/components/item-show-candidate-correction.ts";
|
|
3
|
+
import type { QtiRule } from "src/lib/qti-components/qti-response-processing/qti-rule/qti-rule.ts";
|
|
4
|
+
import type { QtiResponseProcessing } from "src/lib/qti-components/qti-response-processing/qti-response-processing/qti-response-processing.ts";
|
|
5
|
+
import type { QtiLookupOutcomeValue } from "src/lib/qti-components/qti-response-processing/qti-rule/qti-lookup-outcome-value/qti-lookup-outcome-value.ts";
|
|
6
|
+
import type { QtiResponseCondition } from "src/lib/qti-components/qti-response-processing/qti-rule/qti-response-condition/qti-response-condition.ts";
|
|
7
|
+
import type { QtiSetOutcomeValue, QtiSetOutcomeValueRule } from "src/lib/qti-components/qti-response-processing/qti-rule/qti-set-outcome-value/qti-set-outcome-value.ts";
|
|
8
|
+
import type { QtiResponseElse } from "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-else.ts";
|
|
9
|
+
import type { QtiResponseIf } from "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-if.ts";
|
|
10
|
+
import type { QtiResponseElseIf } from "src/lib/qti-components/qti-response-processing/qti-response-else/qti-response-if/qti-response-else-if/qti-response-else-if.ts";
|
|
11
|
+
import type { QtiAnd, qtiAndMixin } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-and/qti-and.ts";
|
|
12
|
+
import type { QtiBaseValue } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-basevalue/qti-basevalue.ts";
|
|
13
|
+
import type { QtiContainerSize } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-container-size/qti-container-size.ts";
|
|
14
|
+
import type { QtiContains } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-contains/qti-contains.ts";
|
|
15
|
+
import type { QtiCorrect } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-correct/qti-correct.ts";
|
|
16
|
+
import type { QtiDefault } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-default/qti-default.ts";
|
|
17
|
+
import type { QtiEqualRounded } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal-rounded/qti-equal-rounded.ts";
|
|
18
|
+
import type { QtiRound } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-round/qti-round.ts";
|
|
19
|
+
import type { QtiRoundTo } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-round-to/qti-round-to.ts";
|
|
20
|
+
import type { QtiEqual } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-equal/qti-equal.ts";
|
|
21
|
+
import type { QtiGcd } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-gcd/qti.gcd.ts";
|
|
22
|
+
import type { QtiGt } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-gt/qti-gt.ts";
|
|
23
|
+
import type { QtiGte } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-gte/qti-gte.ts";
|
|
24
|
+
import type { QtiNull } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-null/qti-null.ts";
|
|
25
|
+
import type { QtiIsNull } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-is-null/qti-is-null.ts";
|
|
26
|
+
import type { QtiFieldValue } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-field-value/qti-field-value.ts";
|
|
27
|
+
import type { QtiLt } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-lt/qti-lt.ts";
|
|
28
|
+
import type { QtiLte } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-lte/qti-lte.ts";
|
|
29
|
+
import type { QtiMapResponse } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response/qti-map-response.ts";
|
|
30
|
+
import type { QtiMapResponsePoint } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-map-response-point/qti-map-response-point.ts";
|
|
31
|
+
import type { QtiMathOperator } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-math-operator/qti-math-operator.ts";
|
|
32
|
+
import type { QtiMatch } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-match/qti-match.ts";
|
|
33
|
+
import type { QtiMember } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-member/qti-member.ts";
|
|
34
|
+
import type { QtiMultiple } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-multiple/qti-multiple.ts";
|
|
35
|
+
import type { QtiNot } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-not/qti-not.ts";
|
|
36
|
+
import type { QtiOr } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-or/qti-or.ts";
|
|
37
|
+
import type { QtiOrdered } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-ordered/qti-ordered.ts";
|
|
38
|
+
import type { QtiPower } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-power/qti-power.ts";
|
|
39
|
+
import type { QtiPrintedVariable } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-printed-variable/qti-printed-variable.ts";
|
|
40
|
+
import type { QtiProduct } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-product/qti-product.ts";
|
|
41
|
+
import type { QtiSubtract, qtiSubtractMixin } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-subtract/qti-subtract.ts";
|
|
42
|
+
import type { QtiStringMatch } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-string-match/qti-string-match.ts";
|
|
43
|
+
import type { QtiSum, QtiSumExpression } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-sum/qti-sum.ts";
|
|
44
|
+
import type { QtiVariable } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-variable/qti-variable.ts";
|
|
45
|
+
import type { QtiRandomInteger } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-random-integer/qti-random-integer.ts";
|
|
46
|
+
import type { QtiRandom } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-random/qti-random.ts";
|
|
47
|
+
import type { QtiDelete } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-delete/qti-delete.ts";
|
|
48
|
+
import type { QtiIndex } from "src/lib/qti-components/qti-response-processing/qti-expression/qti-index/qti-index.ts";
|
|
49
|
+
import type { QtiTemplateConstraint } from "src/lib/qti-components/qti-template-processing/qti-template-contraint/qti-template-constraint.ts";
|
|
50
|
+
import type { QtiTemplateProcessing } from "src/lib/qti-components/qti-template-processing/qti-template-declaration/qti-template-processing.ts";
|
|
51
|
+
import type { QtiFeedback } from "src/lib/qti-components/qti-feedback/qti-feedback.ts";
|
|
52
|
+
import type { ItemShowCorrectResponse } from "src/lib/qti-item/components/item-show-correct-response.ts";
|
|
53
|
+
import type { QtiAssessmentItem } from "src/lib/qti-components/qti-assessment-item/qti-assessment-item.ts";
|
|
54
|
+
import type { QtiAssessmentStimulusRef } from "src/lib/qti-components/qti-assessment-stimulus-ref/qti-assessment-stimulus-ref.ts";
|
|
55
|
+
import type { QtiCompanionMaterialsInfo } from "src/lib/qti-components/qti-companion-materials-info/qti-companion-materials-info.ts";
|
|
56
|
+
import type { QtiCustomOperator } from "src/lib/qti-components/qti-custom-operator/qti-custom-operator.ts";
|
|
57
|
+
import type { QtiFeedbackBlock } from "src/lib/qti-components/qti-feedback/qti-feedback-block/qti-feedback-block.ts";
|
|
58
|
+
import type { QtiFeedbackInline } from "src/lib/qti-components/qti-feedback/qti-feedback-inline/qti-feedback-inline.ts";
|
|
59
|
+
import type { QtiModalFeedback } from "src/lib/qti-components/qti-feedback/qti-modal-feedback/qti-modal-feedback.ts";
|
|
60
|
+
import type { QtiAssociableHotspot } from "src/lib/qti-components/qti-interaction/qti-associable-hotspot.ts";
|
|
61
|
+
import type { QtiSimpleAssociableChoice } from "src/lib/qti-components/qti-interaction/qti-simple-associable-choice.ts";
|
|
62
|
+
import type { QtiAssociateInteraction } from "src/lib/qti-components/qti-interaction/qti-associate-interaction/qti-associate-interaction.ts";
|
|
63
|
+
import type { QtiSimpleChoice } from "src/lib/qti-components/qti-interaction/qti-simple-choice.ts";
|
|
64
|
+
import type { QtiChoiceInteraction } from "src/lib/qti-components/qti-interaction/qti-choice-interaction/qti-choice-interaction.ts";
|
|
65
|
+
import type { QtiCustomInteraction } from "src/lib/qti-components/qti-interaction/qti-custom-interaction/qti-custom-interaction.ts";
|
|
66
|
+
import type { QtiEndAttemptInteraction } from "src/lib/qti-components/qti-interaction/qti-end-attempt-interaction/qti-end-attempt-interaction.ts";
|
|
67
|
+
import type { QtiExtendedTextInteraction } from "src/lib/qti-components/qti-interaction/qti-extended-text-interaction/qti-extended-text-interaction.ts";
|
|
68
|
+
import type { QtiGapImg } from "src/lib/qti-components/qti-interaction/qti-gap-img.ts";
|
|
69
|
+
import type { QtiGapMatchInteraction } from "src/lib/qti-components/qti-interaction/qti-gap-match-interaction/qti-gap-match-interaction.ts";
|
|
70
|
+
import type { QtiGapText } from "src/lib/qti-components/qti-interaction/qti-gap-text.ts";
|
|
71
|
+
import type { QtiGap } from "src/lib/qti-components/qti-interaction/qti-gap.ts";
|
|
72
|
+
import type { QtiHotspotChoice } from "src/lib/qti-components/qti-interaction/qti-hotspot-choice.ts";
|
|
73
|
+
import type { QtiGraphicAssociateInteraction } from "src/lib/qti-components/qti-interaction/qti-graphic-associate-interaction/qti-graphic-associate-interaction.ts";
|
|
74
|
+
import type { QtiGraphicGapMatchInteraction } from "src/lib/qti-components/qti-interaction/qti-graphic-gap-match-interaction/qti-graphic-gap-match-interaction.ts";
|
|
75
|
+
import type { QtiGraphicOrderInteraction } from "src/lib/qti-components/qti-interaction/qti-graphic-order-interaction/qti-graphic-order-interaction.ts";
|
|
76
|
+
import type { QtiHotspotInteraction } from "src/lib/qti-components/qti-interaction/qti-hotspot-interaction/qti-hotspot-interaction.ts";
|
|
77
|
+
import type { QtiHottextInteraction } from "src/lib/qti-components/qti-interaction/qti-hottext-interaction/qti-hottext-interaction.ts";
|
|
78
|
+
import type { QtiHottext } from "src/lib/qti-components/qti-interaction/qti-hottext.ts";
|
|
79
|
+
import type { QtiInlineChoiceInteraction } from "src/lib/qti-components/qti-interaction/qti-inline-choice-interaction/qti-inline-choice-interaction.ts";
|
|
80
|
+
import type { QtiInlineChoice } from "src/lib/qti-components/qti-interaction/qti-inline-choice.ts";
|
|
81
|
+
import type { QtiMatchInteraction } from "src/lib/qti-components/qti-interaction/qti-match-interaction/qti-match-interaction.ts";
|
|
82
|
+
import type { QtiMediaInteraction } from "src/lib/qti-components/qti-interaction/qti-media-interaction/qti-media-interaction.ts";
|
|
83
|
+
import type { QtiOrderInteraction } from "src/lib/qti-components/qti-interaction/qti-order-interaction/qti-order-interaction.ts";
|
|
84
|
+
import type { QtiPortableCustomInteraction } from "src/lib/qti-components/qti-interaction/qti-portable-custom-interaction/qti-portable-custom-interaction.ts";
|
|
85
|
+
import type { QtiPositionObjectInteraction } from "src/lib/qti-components/qti-interaction/qti-position-object-interaction/qti-position-object-interaction.ts";
|
|
86
|
+
import type { QtiPositionObjectStage } from "src/lib/qti-components/qti-interaction/qti-position-object-interaction/qti-position-object-stage.ts";
|
|
87
|
+
import type { QtiSelectPointInteraction } from "src/lib/qti-components/qti-interaction/qti-select-point-interaction/qti-select-point-interaction.ts";
|
|
88
|
+
import type { QtiSliderInteraction } from "src/lib/qti-components/qti-interaction/qti-slider-interaction/qti-slider-interaction.ts";
|
|
89
|
+
import type { QtiTextEntryInteraction } from "src/lib/qti-components/qti-interaction/qti-text-entry-interaction/qti-text-entry-interaction.ts";
|
|
90
|
+
import type { QtiUploadInteraction } from "src/lib/qti-components/qti-interaction/qti-upload-interaction/qti-upload-interaction.ts";
|
|
91
|
+
import type { QtiItemBody } from "src/lib/qti-components/qti-item-body/qti-item-body.ts";
|
|
92
|
+
import type { QtiOutcomeProcessing, QtiOutcomeProcessingProcessor } from "src/lib/qti-components/qti-outcome-processing/qti-outcome-processing.ts";
|
|
93
|
+
import type { QtiPrompt } from "src/lib/qti-components/qti-prompt/qti-prompt.ts";
|
|
94
|
+
import type { QtiContentBody } from "src/lib/qti-components/qti-rubric-block/qti-content-body.ts";
|
|
95
|
+
import type { QtiRubricBlock } from "src/lib/qti-components/qti-rubric-block/qti-rubric-block.ts";
|
|
96
|
+
import type { QtiStylesheet } from "src/lib/qti-components/qti-stylesheet/qti-stylesheet.ts";
|
|
97
|
+
import type { QtiVariableDeclaration } from "src/lib/qti-components/qti-variable-declaration/qti-variable-declaration.ts";
|
|
98
|
+
import type { QtiOutcomeDeclaration } from "src/lib/qti-components/qti-variable-declaration/qti-outcome-declaration/qti-outcome-declaration.ts";
|
|
99
|
+
import type { QtiResponseDeclaration } from "src/lib/qti-components/qti-variable-declaration/qti-response-declaration/qti-response-declaration.ts";
|
|
100
|
+
import type { QtiPortableCustomInteractionTest } from "src/lib/qti-components/qti-interaction/qti-portable-custom-interaction/qti-portable-custom-test-interaction.ts";
|
|
101
|
+
import type { QtiTemplateDeclaration } from "src/lib/qti-components/qti-template-processing/qti-template-declaration/qti-template-declaration.ts";
|
|
102
|
+
import type { TestElement } from "src/lib/qti-components/qti-interaction/internal/choices/choices.spec.ts";
|
|
103
|
+
import type { ItemContainer } from "src/lib/qti-item/components/item-container.ts";
|
|
104
|
+
import type { PrintItemVariables } from "src/lib/qti-item/components/print-item-variables.ts";
|
|
105
|
+
import type { QtiItem } from "src/lib/qti-item/core/qti-item.ts";
|
|
106
|
+
import type { ItemCorrectResponseMode } from "src/lib/qti-item/components/item-correct-response-mode.ts";
|
|
107
|
+
import type { QtiAssessmentItemRef } from "src/lib/qti-test/core/qti-assessment-test/qti-assessment-item-ref.ts";
|
|
108
|
+
import type { QtiAssessmentSection } from "src/lib/qti-test/core/qti-assessment-test/qti-assessment-section.ts";
|
|
109
|
+
import type { QtiAssessmentTest } from "src/lib/qti-test/core/qti-assessment-test/qti-assessment-test.ts";
|
|
110
|
+
import type { QtiTestPart } from "src/lib/qti-test/core/qti-assessment-test/qti-test-part.ts";
|
|
111
|
+
import type { QtiTestFeedback } from "src/lib/qti-test/core/qti-assessment-test/qti-test-feedback.ts";
|
|
112
|
+
import type { TestBase } from "src/lib/qti-test/core/test-base.ts";
|
|
113
|
+
import type { QtiTest } from "src/lib/qti-test/core/qti-test.ts";
|
|
114
|
+
import type { TestNavigation } from "src/lib/qti-test/components/test-navigation.ts";
|
|
115
|
+
import type { TestNext } from "src/lib/qti-test/components/test-next.ts";
|
|
116
|
+
import type { TestPrev } from "src/lib/qti-test/components/test-prev.ts";
|
|
117
|
+
import type { TestView } from "src/lib/qti-test/components/test-view.ts";
|
|
118
|
+
import type { TestItemLink } from "src/lib/qti-test/components/test-item-link.ts";
|
|
119
|
+
import type { TestEndAttempt } from "src/lib/qti-test/components/test-end-attempt.ts";
|
|
120
|
+
import type { TestShowCorrectResponse } from "src/lib/qti-test/components/test-show-correct-response.ts";
|
|
121
|
+
import type { TestPagingButtonsStamp } from "src/lib/qti-test/components/test-paging-buttons-stamp.ts";
|
|
122
|
+
import type { TestContainer } from "src/lib/qti-test/components/test-container.ts";
|
|
123
|
+
import type { TestPrintVariables } from "src/lib/qti-test/components/test-print-item-variables.ts";
|
|
124
|
+
import type { TestSectionButtonsStamp } from "src/lib/qti-test/components/test-section-buttons-stamp.ts";
|
|
125
|
+
import type { TestSectionLink } from "src/lib/qti-test/components/test-section-link.ts";
|
|
126
|
+
import type { TestPrintContext } from "src/lib/qti-test/components/test-print-context.ts";
|
|
127
|
+
import type { TestStamp } from "src/lib/qti-test/components/test-stamp.ts";
|
|
128
|
+
import type { TestScoringButtons } from "src/lib/qti-test/components/test-scoring-buttons.ts";
|
|
129
|
+
import type { TestViewToggle } from "src/lib/qti-test/components/test-view-toggle.ts";
|
|
130
|
+
import type { TestScoringFeedback } from "src/lib/qti-test/components/test-scoring-feedback.ts";
|
|
131
|
+
import type { TestCheckItem } from "src/lib/qti-test/components/test-check-item.ts";
|
|
132
|
+
import type { QtiTestVariables, QtiTestVariablesExpression } from "src/lib/qti-test/core/qti-assessment-test/qti-test-variables.ts";
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* This type can be used to create scoped tags for your components.
|
|
136
|
+
*
|
|
137
|
+
* Usage:
|
|
138
|
+
*
|
|
139
|
+
* ```ts
|
|
140
|
+
* import type { ScopedElements } from "path/to/library/jsx-integration";
|
|
141
|
+
*
|
|
142
|
+
* declare module "my-library" {
|
|
143
|
+
* namespace JSX {
|
|
144
|
+
* interface IntrinsicElements
|
|
145
|
+
* extends ScopedElements<'test-', ''> {}
|
|
146
|
+
* }
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
*
|
|
150
|
+
* @deprecated Runtime scoped elements result in duplicate types and can confusing for developers. It is recommended to use the `prefix` and `suffix` options to generate new types instead.
|
|
151
|
+
*/
|
|
152
|
+
export type ScopedElements<
|
|
153
|
+
Prefix extends string = "",
|
|
154
|
+
Suffix extends string = ""
|
|
155
|
+
> = {
|
|
156
|
+
[Key in keyof CustomElements as `${Prefix}${Key}${Suffix}`]: CustomElements[Key];
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
type BaseProps<T extends HTMLElement> = {
|
|
160
|
+
|
|
161
|
+
/** Content added between the opening and closing tags of the element */
|
|
162
|
+
children?: any;
|
|
163
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
164
|
+
class?: string;
|
|
165
|
+
/** Used for declaratively styling one or more elements using CSS (Cascading Stylesheets) */
|
|
166
|
+
className?: string;
|
|
167
|
+
/** Takes an object where the key is the class name(s) and the value is a boolean expression. When true, the class is applied, and when false, it is removed. */
|
|
168
|
+
classList?: Record<string, boolean | undefined>;
|
|
169
|
+
/** Specifies the text direction of the element. */
|
|
170
|
+
dir?: "ltr" | "rtl";
|
|
171
|
+
/** Contains a space-separated list of the part names of the element that should be exposed on the host element. */
|
|
172
|
+
exportparts?: string;
|
|
173
|
+
/** For <label> and <output>, lets you associate the label with some control. */
|
|
174
|
+
htmlFor?: string;
|
|
175
|
+
/** Specifies whether the element should be hidden. */
|
|
176
|
+
hidden?: boolean | string;
|
|
177
|
+
/** A unique identifier for the element. */
|
|
178
|
+
id?: string;
|
|
179
|
+
/** Keys tell React which array item each component corresponds to */
|
|
180
|
+
key?: string | number;
|
|
181
|
+
/** Specifies the language of the element. */
|
|
182
|
+
lang?: string;
|
|
183
|
+
/** Contains a space-separated list of the part names of the element. Part names allows CSS to select and style specific elements in a shadow tree via the ::part pseudo-element. */
|
|
184
|
+
part?: string;
|
|
185
|
+
/** Use the ref attribute with a variable to assign a DOM element to the variable once the element is rendered. */
|
|
186
|
+
ref?: T | ((e: T) => void);
|
|
187
|
+
/** Adds a reference for a custom element slot */
|
|
188
|
+
slot?: string;
|
|
189
|
+
/** Prop for setting inline styles */
|
|
190
|
+
style?: Record<string, string | number>;
|
|
191
|
+
/** Overrides the default Tab button behavior. Avoid using values other than -1 and 0. */
|
|
192
|
+
tabIndex?: number;
|
|
193
|
+
/** Specifies the tooltip text for the element. */
|
|
194
|
+
title?: string;
|
|
195
|
+
/** Passing 'no' excludes the element content from being translated. */
|
|
196
|
+
translate?: "yes" | "no";
|
|
197
|
+
/** The popover global attribute is used to designate an element as a popover element. */
|
|
198
|
+
popover?: "auto" | "hint" | "manual";
|
|
199
|
+
/** Turns an element element into a popover control button; takes the ID of the popover element to control as its value. */
|
|
200
|
+
popovertarget?: "top" | "bottom" | "left" | "right" | "auto";
|
|
201
|
+
/** Specifies the action to be performed on a popover element being controlled by a control element. */
|
|
202
|
+
popovertargetaction?: "show" | "hide" | "toggle";
|
|
203
|
+
|
|
204
|
+
} ;
|
|
205
|
+
|
|
206
|
+
type BaseEvents = {
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
};
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
export type ItemShowCandidateCorrectionProps = {
|
|
214
|
+
/** */
|
|
215
|
+
"shown"?: ItemShowCandidateCorrection['shown'];
|
|
216
|
+
/** */
|
|
217
|
+
"disabled"?: ItemShowCandidateCorrection['disabled'];
|
|
218
|
+
/** */
|
|
219
|
+
"showCandidateCorrectionText"?: ItemShowCandidateCorrection['showCandidateCorrectionText'];
|
|
220
|
+
/** */
|
|
221
|
+
"hideCandidateCorrectionText"?: ItemShowCandidateCorrection['hideCandidateCorrectionText'];
|
|
222
|
+
/** */
|
|
223
|
+
"noCorrectResponseText"?: ItemShowCandidateCorrection['noCorrectResponseText'];
|
|
224
|
+
/** */
|
|
225
|
+
"computedContext"?: ItemShowCandidateCorrection['computedContext'];
|
|
226
|
+
|
|
227
|
+
/** */
|
|
228
|
+
"onitem-show-candidate-correction"?: (e: CustomEvent<CustomEvent>) => void;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
export type QtiRuleProps = {
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
export type QtiResponseProcessingProps = {
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
export type QtiLookupOutcomeValueProps = {
|
|
245
|
+
/** */
|
|
246
|
+
"identifier"?: QtiLookupOutcomeValue['identifier'];
|
|
247
|
+
|
|
248
|
+
/** */
|
|
249
|
+
"onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
export type QtiResponseConditionProps = {
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
export type QtiSetOutcomeValueProps = {
|
|
260
|
+
|
|
261
|
+
/** */
|
|
262
|
+
"onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
export type QtiResponseElseProps = {
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
export type QtiResponseIfProps = {
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
export type QtiResponseElseIfProps = {
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
export type QtiAndProps = {
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
export type QtiBaseValueProps = {
|
|
291
|
+
/** */
|
|
292
|
+
"base-type"?: QtiBaseValue['baseType'];
|
|
293
|
+
/** */
|
|
294
|
+
"baseType"?: QtiBaseValue['baseType'];
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
export type QtiContainerSizeProps = {
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
export type QtiContainsProps = {
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
export type QtiCorrectProps = {
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
export type QtiDefaultProps = {
|
|
319
|
+
/** */
|
|
320
|
+
"identifier"?: QtiDefault['identifier'];
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
export type QtiEqualRoundedProps = {
|
|
327
|
+
/** */
|
|
328
|
+
"roundingMode"?: QtiEqualRounded['roundingMode'];
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
export type QtiRoundProps = {
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
export type QtiRoundToProps = {
|
|
341
|
+
/** */
|
|
342
|
+
"rounding-mode"?: QtiRoundTo['roundingMode'];
|
|
343
|
+
/** */
|
|
344
|
+
"roundingMode"?: QtiRoundTo['roundingMode'];
|
|
345
|
+
/** */
|
|
346
|
+
"figures"?: QtiRoundTo['figures'];
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
export type QtiEqualProps = {
|
|
353
|
+
/** */
|
|
354
|
+
"toleranceMode"?: QtiEqual['toleranceMode'];
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
export type QtiGcdProps = {
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
export type QtiGtProps = {
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
export type QtiGteProps = {
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
export type QtiNullProps = {
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
export type QtiIsNullProps = {
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
export type QtiFieldValueProps = {
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
export type QtiLtProps = {
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
export type QtiLteProps = {
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
export type QtiMapResponseProps = {
|
|
409
|
+
/** */
|
|
410
|
+
"identifier"?: QtiMapResponse['identifier'];
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
export type QtiMapResponsePointProps = {
|
|
417
|
+
/** */
|
|
418
|
+
"identifier"?: QtiMapResponsePoint['identifier'];
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
export type QtiMathOperatorProps = {
|
|
425
|
+
/** */
|
|
426
|
+
"name"?: QtiMathOperator['name'];
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
export type QtiMatchProps = {
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
export type QtiMemberProps = {
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
export type QtiMultipleProps = {
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
export type QtiNotProps = {
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
export type QtiOrProps = {
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
export type QtiOrderedProps = {
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
export type QtiPowerProps = {
|
|
469
|
+
|
|
470
|
+
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
export type QtiPrintedVariableProps = {
|
|
475
|
+
/** */
|
|
476
|
+
"identifier"?: QtiPrintedVariable['identifier'];
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
export type QtiProductProps = {
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
export type QtiSubtractProps = {
|
|
489
|
+
|
|
490
|
+
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
export type QtiStringMatchProps = {
|
|
495
|
+
/** */
|
|
496
|
+
"case-sensitive"?: QtiStringMatch['caseSensitive'];
|
|
497
|
+
/** */
|
|
498
|
+
"caseSensitive"?: QtiStringMatch['caseSensitive'];
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
export type QtiSumProps = {
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
export type QtiVariableProps = {
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
export type QtiRandomIntegerProps = {
|
|
517
|
+
/** */
|
|
518
|
+
"min"?: QtiRandomInteger['min'];
|
|
519
|
+
/** */
|
|
520
|
+
"max"?: QtiRandomInteger['max'];
|
|
521
|
+
/** */
|
|
522
|
+
"step"?: QtiRandomInteger['step'];
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
export type QtiRandomProps = {
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
export type QtiDeleteProps = {
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
export type QtiIndexProps = {
|
|
541
|
+
/** */
|
|
542
|
+
"n"?: QtiIndex['n'];
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
export type QtiTemplateConstraintProps = {
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
export type QtiTemplateProcessingProps = {
|
|
555
|
+
|
|
556
|
+
/** */
|
|
557
|
+
"onqti-template-processing-complete"?: (e: CustomEvent<CustomEvent>) => void;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
export type ItemShowCorrectResponseProps = {
|
|
563
|
+
/** */
|
|
564
|
+
"shown"?: ItemShowCorrectResponse['shown'];
|
|
565
|
+
/** */
|
|
566
|
+
"disabled"?: ItemShowCorrectResponse['disabled'];
|
|
567
|
+
/** */
|
|
568
|
+
"showCorrectText"?: ItemShowCorrectResponse['showCorrectText'];
|
|
569
|
+
/** */
|
|
570
|
+
"hideCorrectText"?: ItemShowCorrectResponse['hideCorrectText'];
|
|
571
|
+
/** */
|
|
572
|
+
"noCorrectResponseText"?: ItemShowCorrectResponse['noCorrectResponseText'];
|
|
573
|
+
/** */
|
|
574
|
+
"computedContext"?: ItemShowCorrectResponse['computedContext'];
|
|
575
|
+
|
|
576
|
+
/** */
|
|
577
|
+
"onitem-show-correct-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
export type QtiAssessmentItemProps = {
|
|
582
|
+
/** */
|
|
583
|
+
"identifier"?: QtiAssessmentItem['identifier'];
|
|
584
|
+
/** */
|
|
585
|
+
"adaptive"?: QtiAssessmentItem['adaptive'];
|
|
586
|
+
/** */
|
|
587
|
+
"timeDependent"?: QtiAssessmentItem['timeDependent'];
|
|
588
|
+
/** */
|
|
589
|
+
"title"?: QtiAssessmentItem['title'];
|
|
590
|
+
/** */
|
|
591
|
+
"disabled"?: QtiAssessmentItem['disabled'];
|
|
592
|
+
/** */
|
|
593
|
+
"readonly"?: QtiAssessmentItem['readonly'];
|
|
594
|
+
/** Sets the identifier for the assessment item reference if this item is in a test. */
|
|
595
|
+
"assessmentItemRefId"?: QtiAssessmentItem['assessmentItemRefId'];
|
|
596
|
+
/** */
|
|
597
|
+
"variables"?: QtiAssessmentItem['variables'];
|
|
598
|
+
/** @deprecated use variables property instead */
|
|
599
|
+
"responses"?: QtiAssessmentItem['responses'];
|
|
600
|
+
|
|
601
|
+
/** */
|
|
602
|
+
"onqti-assessment-item-connected"?: (e: CustomEvent<CustomEvent>) => void;
|
|
603
|
+
/** Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing. */
|
|
604
|
+
"onqti-item-context-updated"?: (e: CustomEvent<CustomEvent>) => void;
|
|
605
|
+
/** */
|
|
606
|
+
"onqti-interaction-changed"?: (e: CustomEvent<CustomEvent>) => void;
|
|
607
|
+
/** */
|
|
608
|
+
"onqti-outcome-changed"?: (e: CustomEvent<CustomEvent>) => void;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
export type QtiAssessmentStimulusRefProps = {
|
|
613
|
+
/** The identifier of the stimulus. */
|
|
614
|
+
"identifier"?: QtiAssessmentStimulusRef['identifier'];
|
|
615
|
+
/** The href of the stimulus. */
|
|
616
|
+
"href"?: QtiAssessmentStimulusRef['href'];
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
export type QtiCompanionMaterialsInfoProps = {
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
export type QtiCustomOperatorProps = {
|
|
629
|
+
|
|
630
|
+
/** */
|
|
631
|
+
"onqti-set-outcome-value"?: (e: CustomEvent<CustomEvent>) => void;
|
|
632
|
+
/** */
|
|
633
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
export type QtiFeedbackBlockProps = {
|
|
638
|
+
/** */
|
|
639
|
+
"show-hide"?: QtiFeedbackBlock['showHide'];
|
|
640
|
+
/** */
|
|
641
|
+
"showHide"?: QtiFeedbackBlock['showHide'];
|
|
642
|
+
/** */
|
|
643
|
+
"outcome-identifier"?: QtiFeedbackBlock['outcomeIdentifier'];
|
|
644
|
+
/** */
|
|
645
|
+
"outcomeIdentifier"?: QtiFeedbackBlock['outcomeIdentifier'];
|
|
646
|
+
/** */
|
|
647
|
+
"identifier"?: QtiFeedbackBlock['identifier'];
|
|
648
|
+
/** */
|
|
649
|
+
"showStatus"?: QtiFeedbackBlock['showStatus'];
|
|
650
|
+
|
|
651
|
+
/** */
|
|
652
|
+
"onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
export type QtiFeedbackInlineProps = {
|
|
657
|
+
/** */
|
|
658
|
+
"show-hide"?: QtiFeedbackInline['showHide'];
|
|
659
|
+
/** */
|
|
660
|
+
"showHide"?: QtiFeedbackInline['showHide'];
|
|
661
|
+
/** */
|
|
662
|
+
"outcome-identifier"?: QtiFeedbackInline['outcomeIdentifier'];
|
|
663
|
+
/** */
|
|
664
|
+
"outcomeIdentifier"?: QtiFeedbackInline['outcomeIdentifier'];
|
|
665
|
+
/** */
|
|
666
|
+
"identifier"?: QtiFeedbackInline['identifier'];
|
|
667
|
+
/** */
|
|
668
|
+
"showStatus"?: QtiFeedbackInline['showStatus'];
|
|
669
|
+
|
|
670
|
+
/** */
|
|
671
|
+
"onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
export type QtiModalFeedbackProps = {
|
|
676
|
+
/** */
|
|
677
|
+
"show-hide"?: QtiModalFeedback['showHide'];
|
|
678
|
+
/** */
|
|
679
|
+
"showHide"?: QtiModalFeedback['showHide'];
|
|
680
|
+
/** */
|
|
681
|
+
"outcome-identifier"?: QtiModalFeedback['outcomeIdentifier'];
|
|
682
|
+
/** */
|
|
683
|
+
"outcomeIdentifier"?: QtiModalFeedback['outcomeIdentifier'];
|
|
684
|
+
/** */
|
|
685
|
+
"identifier"?: QtiModalFeedback['identifier'];
|
|
686
|
+
/** */
|
|
687
|
+
"showStatus"?: QtiModalFeedback['showStatus'];
|
|
688
|
+
|
|
689
|
+
/** */
|
|
690
|
+
"onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
export type QtiAssociableHotspotProps = {
|
|
695
|
+
|
|
696
|
+
/** */
|
|
697
|
+
"onqti-register-hotspot"?: (e: CustomEvent<CustomEvent>) => void;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
export type QtiSimpleAssociableChoiceProps = {
|
|
702
|
+
/** the minimal number of selections a candidate must make */
|
|
703
|
+
"match-min"?: QtiSimpleAssociableChoice['matchMin'];
|
|
704
|
+
/** the minimal number of selections a candidate must make */
|
|
705
|
+
"matchMin"?: QtiSimpleAssociableChoice['matchMin'];
|
|
706
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
707
|
+
"match-max"?: QtiSimpleAssociableChoice['matchMax'];
|
|
708
|
+
/** the maximum number of selections a candidate must make, the other options will be disabled when max options is checked */
|
|
709
|
+
"matchMax"?: QtiSimpleAssociableChoice['matchMax'];
|
|
710
|
+
/** */
|
|
711
|
+
"fixed"?: QtiSimpleAssociableChoice['fixed'];
|
|
712
|
+
/** */
|
|
713
|
+
"identifier"?: QtiSimpleAssociableChoice['identifier'];
|
|
714
|
+
/** */
|
|
715
|
+
"tabindex"?: QtiSimpleAssociableChoice['tabIndex'];
|
|
716
|
+
/** */
|
|
717
|
+
"tabIndex"?: QtiSimpleAssociableChoice['tabIndex'];
|
|
718
|
+
/** */
|
|
719
|
+
"aria-disabled"?: QtiSimpleAssociableChoice['disabled'];
|
|
720
|
+
/** */
|
|
721
|
+
"disabled"?: QtiSimpleAssociableChoice['disabled'];
|
|
722
|
+
/** */
|
|
723
|
+
"aria-readonly"?: QtiSimpleAssociableChoice['readonly'];
|
|
724
|
+
/** */
|
|
725
|
+
"readonly"?: QtiSimpleAssociableChoice['readonly'];
|
|
726
|
+
/** */
|
|
727
|
+
"internals"?: QtiSimpleAssociableChoice['internals'];
|
|
728
|
+
|
|
729
|
+
/** */
|
|
730
|
+
"onundefined"?: (e: CustomEvent<CustomEvent>) => void;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
export type QtiAssociateInteractionProps = {
|
|
735
|
+
/** */
|
|
736
|
+
"min-associations"?: QtiAssociateInteraction['minAssociations'];
|
|
737
|
+
/** */
|
|
738
|
+
"minAssociations"?: QtiAssociateInteraction['minAssociations'];
|
|
739
|
+
/** */
|
|
740
|
+
"max-associations"?: QtiAssociateInteraction['maxAssociations'];
|
|
741
|
+
/** */
|
|
742
|
+
"maxAssociations"?: QtiAssociateInteraction['maxAssociations'];
|
|
743
|
+
/** */
|
|
744
|
+
"response"?: QtiAssociateInteraction['response'];
|
|
745
|
+
|
|
746
|
+
/** */
|
|
747
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
export type QtiSimpleChoiceProps = {
|
|
752
|
+
/** */
|
|
753
|
+
"template-identifier"?: QtiSimpleChoice['templateIdentifier'];
|
|
754
|
+
/** */
|
|
755
|
+
"templateIdentifier"?: QtiSimpleChoice['templateIdentifier'];
|
|
756
|
+
/** */
|
|
757
|
+
"show-hide"?: QtiSimpleChoice['showHide'];
|
|
758
|
+
/** */
|
|
759
|
+
"showHide"?: QtiSimpleChoice['showHide'];
|
|
760
|
+
/** */
|
|
761
|
+
"fixed"?: QtiSimpleChoice['fixed'];
|
|
762
|
+
/** */
|
|
763
|
+
"identifier"?: QtiSimpleChoice['identifier'];
|
|
764
|
+
/** */
|
|
765
|
+
"tabindex"?: QtiSimpleChoice['tabIndex'];
|
|
766
|
+
/** */
|
|
767
|
+
"tabIndex"?: QtiSimpleChoice['tabIndex'];
|
|
768
|
+
/** */
|
|
769
|
+
"aria-disabled"?: QtiSimpleChoice['disabled'];
|
|
770
|
+
/** */
|
|
771
|
+
"disabled"?: QtiSimpleChoice['disabled'];
|
|
772
|
+
/** */
|
|
773
|
+
"aria-readonly"?: QtiSimpleChoice['readonly'];
|
|
774
|
+
/** */
|
|
775
|
+
"readonly"?: QtiSimpleChoice['readonly'];
|
|
776
|
+
/** */
|
|
777
|
+
"marker"?: QtiSimpleChoice['marker'];
|
|
778
|
+
/** */
|
|
779
|
+
"internals"?: QtiSimpleChoice['internals'];
|
|
780
|
+
|
|
781
|
+
/** */
|
|
782
|
+
"onundefined"?: (e: CustomEvent<CustomEvent>) => void;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
export type QtiChoiceInteractionProps = {
|
|
787
|
+
/** @deprecated , use 'qti-orientation-horizontal' or 'qti-orientation-vertical' instead */
|
|
788
|
+
"orientation"?: QtiChoiceInteraction['orientation'];
|
|
789
|
+
/** */
|
|
790
|
+
"class"?: QtiChoiceInteraction['class'];
|
|
791
|
+
/** */
|
|
792
|
+
"min-choices"?: QtiChoiceInteraction['minChoices'];
|
|
793
|
+
/** */
|
|
794
|
+
"minChoices"?: QtiChoiceInteraction['minChoices'];
|
|
795
|
+
/** */
|
|
796
|
+
"max-choices"?: QtiChoiceInteraction['maxChoices'];
|
|
797
|
+
/** */
|
|
798
|
+
"maxChoices"?: QtiChoiceInteraction['maxChoices'];
|
|
799
|
+
/** */
|
|
800
|
+
"response"?: QtiChoiceInteraction['response'];
|
|
801
|
+
/** */
|
|
802
|
+
"value"?: QtiChoiceInteraction['value'];
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
export type QtiCustomInteractionProps = {
|
|
809
|
+
/** */
|
|
810
|
+
"data"?: QtiCustomInteraction['data'];
|
|
811
|
+
/** */
|
|
812
|
+
"data-base-item"?: QtiCustomInteraction['baseItemUrl'];
|
|
813
|
+
/** */
|
|
814
|
+
"baseItemUrl"?: QtiCustomInteraction['baseItemUrl'];
|
|
815
|
+
/** */
|
|
816
|
+
"data-base-ref"?: QtiCustomInteraction['baseRefUrl'];
|
|
817
|
+
/** */
|
|
818
|
+
"baseRefUrl"?: QtiCustomInteraction['baseRefUrl'];
|
|
819
|
+
/** */
|
|
820
|
+
"id"?: QtiCustomInteraction['id'];
|
|
821
|
+
/** */
|
|
822
|
+
"manifest"?: QtiCustomInteraction['manifest'];
|
|
823
|
+
/** */
|
|
824
|
+
"response"?: QtiCustomInteraction['response'];
|
|
825
|
+
|
|
826
|
+
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
export type QtiEndAttemptInteractionProps = {
|
|
831
|
+
/** */
|
|
832
|
+
"response-identifier"?: QtiEndAttemptInteraction['responseIdentifier'];
|
|
833
|
+
/** */
|
|
834
|
+
"responseIdentifier"?: QtiEndAttemptInteraction['responseIdentifier'];
|
|
835
|
+
/** */
|
|
836
|
+
"disabled"?: QtiEndAttemptInteraction['disabled'];
|
|
837
|
+
/** Defines the number of attempts that a user can make using the 'endAttemptInteraction' mechanism (this can be used to limit the number of hints, etc.). [More information](https://www.imsglobal.org/sites/default/files/spec/qti/v3/info/index.html#DataCharacteristic_EndAttemptInteraction.Attr_count-attempt) */
|
|
838
|
+
"count-attempt"?: QtiEndAttemptInteraction['countAttempt'];
|
|
839
|
+
/** Defines the number of attempts that a user can make using the 'endAttemptInteraction' mechanism (this can be used to limit the number of hints, etc.). [More information](https://www.imsglobal.org/sites/default/files/spec/qti/v3/info/index.html#DataCharacteristic_EndAttemptInteraction.Attr_count-attempt) */
|
|
840
|
+
"countAttempt"?: QtiEndAttemptInteraction['countAttempt'];
|
|
841
|
+
/** */
|
|
842
|
+
"title"?: QtiEndAttemptInteraction['title'];
|
|
843
|
+
|
|
844
|
+
/** */
|
|
845
|
+
"onend-attempt"?: (e: CustomEvent<CustomEvent>) => void;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
|
|
849
|
+
export type QtiExtendedTextInteractionProps = {
|
|
850
|
+
/** expected length is mapped to the property maxlength on the textarea */
|
|
851
|
+
"expected-length"?: QtiExtendedTextInteraction['expectedLength'];
|
|
852
|
+
/** expected length is mapped to the property maxlength on the textarea */
|
|
853
|
+
"expectedLength"?: QtiExtendedTextInteraction['expectedLength'];
|
|
854
|
+
/** */
|
|
855
|
+
"pattern-mask"?: QtiExtendedTextInteraction['patternMask'];
|
|
856
|
+
/** */
|
|
857
|
+
"patternMask"?: QtiExtendedTextInteraction['patternMask'];
|
|
858
|
+
/** text appearing in the extended-text-interaction if it is empty */
|
|
859
|
+
"placeholder-text"?: QtiExtendedTextInteraction['placeholderText'];
|
|
860
|
+
/** text appearing in the extended-text-interaction if it is empty */
|
|
861
|
+
"placeholderText"?: QtiExtendedTextInteraction['placeholderText'];
|
|
862
|
+
/** */
|
|
863
|
+
"data-patternmask-message"?: QtiExtendedTextInteraction['dataPatternmaskMessage'];
|
|
864
|
+
/** */
|
|
865
|
+
"dataPatternmaskMessage"?: QtiExtendedTextInteraction['dataPatternmaskMessage'];
|
|
866
|
+
/** */
|
|
867
|
+
"class"?: QtiExtendedTextInteraction['classNames'];
|
|
868
|
+
/** */
|
|
869
|
+
"classNames"?: QtiExtendedTextInteraction['classNames'];
|
|
870
|
+
/** */
|
|
871
|
+
"response"?: QtiExtendedTextInteraction['response'];
|
|
872
|
+
/** */
|
|
873
|
+
"value"?: QtiExtendedTextInteraction['value'];
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
export type QtiGapImgProps = {
|
|
880
|
+
/** */
|
|
881
|
+
"tabindex"?: QtiGapImg['tabindex'];
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
export type QtiGapMatchInteractionProps = {
|
|
888
|
+
/** */
|
|
889
|
+
"min-associations"?: QtiGapMatchInteraction['minAssociations'];
|
|
890
|
+
/** */
|
|
891
|
+
"minAssociations"?: QtiGapMatchInteraction['minAssociations'];
|
|
892
|
+
/** */
|
|
893
|
+
"max-associations"?: QtiGapMatchInteraction['maxAssociations'];
|
|
894
|
+
/** */
|
|
895
|
+
"maxAssociations"?: QtiGapMatchInteraction['maxAssociations'];
|
|
896
|
+
/** */
|
|
897
|
+
"response"?: QtiGapMatchInteraction['response'];
|
|
898
|
+
|
|
899
|
+
/** */
|
|
900
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
export type QtiGapTextProps = {
|
|
905
|
+
/** */
|
|
906
|
+
"tabindex"?: QtiGapText['tabindex'];
|
|
907
|
+
/** */
|
|
908
|
+
"identifier"?: QtiGapText['identifier'];
|
|
909
|
+
/** */
|
|
910
|
+
"aria-disabled"?: QtiGapText['disabled'];
|
|
911
|
+
/** */
|
|
912
|
+
"disabled"?: QtiGapText['disabled'];
|
|
913
|
+
/** */
|
|
914
|
+
"aria-readonly"?: QtiGapText['readonly'];
|
|
915
|
+
/** */
|
|
916
|
+
"readonly"?: QtiGapText['readonly'];
|
|
917
|
+
/** */
|
|
918
|
+
"tabIndex"?: QtiGapText['tabIndex'];
|
|
919
|
+
/** */
|
|
920
|
+
"internals"?: QtiGapText['internals'];
|
|
921
|
+
|
|
922
|
+
/** */
|
|
923
|
+
"onundefined"?: (e: CustomEvent<CustomEvent>) => void;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
export type QtiGapProps = {
|
|
928
|
+
/** */
|
|
929
|
+
"tabindex"?: QtiGap['tabindex'];
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
export type QtiHotspotChoiceProps = {
|
|
936
|
+
/** */
|
|
937
|
+
"aria-ordervalue"?: QtiHotspotChoice['order'];
|
|
938
|
+
/** */
|
|
939
|
+
"order"?: QtiHotspotChoice['order'];
|
|
940
|
+
/** */
|
|
941
|
+
"aria-ordercorrectvalue"?: QtiHotspotChoice['orderCorrect'];
|
|
942
|
+
/** */
|
|
943
|
+
"orderCorrect"?: QtiHotspotChoice['orderCorrect'];
|
|
944
|
+
/** */
|
|
945
|
+
"identifier"?: QtiHotspotChoice['identifier'];
|
|
946
|
+
/** */
|
|
947
|
+
"tabindex"?: QtiHotspotChoice['tabIndex'];
|
|
948
|
+
/** */
|
|
949
|
+
"tabIndex"?: QtiHotspotChoice['tabIndex'];
|
|
950
|
+
/** */
|
|
951
|
+
"aria-disabled"?: QtiHotspotChoice['disabled'];
|
|
952
|
+
/** */
|
|
953
|
+
"disabled"?: QtiHotspotChoice['disabled'];
|
|
954
|
+
/** */
|
|
955
|
+
"aria-readonly"?: QtiHotspotChoice['readonly'];
|
|
956
|
+
/** */
|
|
957
|
+
"readonly"?: QtiHotspotChoice['readonly'];
|
|
958
|
+
/** */
|
|
959
|
+
"internals"?: QtiHotspotChoice['internals'];
|
|
960
|
+
|
|
961
|
+
/** */
|
|
962
|
+
"onundefined"?: (e: CustomEvent<CustomEvent>) => void;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
|
|
966
|
+
export type QtiGraphicAssociateInteractionProps = {
|
|
967
|
+
/** */
|
|
968
|
+
"response"?: QtiGraphicAssociateInteraction['response'];
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
export type QtiGraphicGapMatchInteractionProps = {
|
|
975
|
+
/** */
|
|
976
|
+
"min-associations"?: QtiGraphicGapMatchInteraction['minAssociations'];
|
|
977
|
+
/** */
|
|
978
|
+
"minAssociations"?: QtiGraphicGapMatchInteraction['minAssociations'];
|
|
979
|
+
/** */
|
|
980
|
+
"max-associations"?: QtiGraphicGapMatchInteraction['maxAssociations'];
|
|
981
|
+
/** */
|
|
982
|
+
"maxAssociations"?: QtiGraphicGapMatchInteraction['maxAssociations'];
|
|
983
|
+
/** */
|
|
984
|
+
"response"?: QtiGraphicGapMatchInteraction['response'];
|
|
985
|
+
|
|
986
|
+
/** */
|
|
987
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
export type QtiGraphicOrderInteractionProps = {
|
|
992
|
+
/** */
|
|
993
|
+
"min-choices"?: QtiGraphicOrderInteraction['minChoices'];
|
|
994
|
+
/** */
|
|
995
|
+
"minChoices"?: QtiGraphicOrderInteraction['minChoices'];
|
|
996
|
+
/** */
|
|
997
|
+
"max-choices"?: QtiGraphicOrderInteraction['maxChoices'];
|
|
998
|
+
/** */
|
|
999
|
+
"maxChoices"?: QtiGraphicOrderInteraction['maxChoices'];
|
|
1000
|
+
/** */
|
|
1001
|
+
"response"?: QtiGraphicOrderInteraction['response'];
|
|
1002
|
+
/** */
|
|
1003
|
+
"value"?: QtiGraphicOrderInteraction['value'];
|
|
1004
|
+
|
|
1005
|
+
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
export type QtiHotspotInteractionProps = {
|
|
1010
|
+
/** */
|
|
1011
|
+
"min-choices"?: QtiHotspotInteraction['minChoices'];
|
|
1012
|
+
/** */
|
|
1013
|
+
"minChoices"?: QtiHotspotInteraction['minChoices'];
|
|
1014
|
+
/** */
|
|
1015
|
+
"max-choices"?: QtiHotspotInteraction['maxChoices'];
|
|
1016
|
+
/** */
|
|
1017
|
+
"maxChoices"?: QtiHotspotInteraction['maxChoices'];
|
|
1018
|
+
/** */
|
|
1019
|
+
"response"?: QtiHotspotInteraction['response'];
|
|
1020
|
+
/** */
|
|
1021
|
+
"value"?: QtiHotspotInteraction['value'];
|
|
1022
|
+
|
|
1023
|
+
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
export type QtiHottextInteractionProps = {
|
|
1028
|
+
/** */
|
|
1029
|
+
"class"?: QtiHottextInteraction['class'];
|
|
1030
|
+
/** */
|
|
1031
|
+
"min-choices"?: QtiHottextInteraction['minChoices'];
|
|
1032
|
+
/** */
|
|
1033
|
+
"minChoices"?: QtiHottextInteraction['minChoices'];
|
|
1034
|
+
/** */
|
|
1035
|
+
"max-choices"?: QtiHottextInteraction['maxChoices'];
|
|
1036
|
+
/** */
|
|
1037
|
+
"maxChoices"?: QtiHottextInteraction['maxChoices'];
|
|
1038
|
+
/** */
|
|
1039
|
+
"response"?: QtiHottextInteraction['response'];
|
|
1040
|
+
/** */
|
|
1041
|
+
"value"?: QtiHottextInteraction['value'];
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
export type QtiHottextProps = {
|
|
1048
|
+
/** */
|
|
1049
|
+
"identifier"?: QtiHottext['identifier'];
|
|
1050
|
+
/** */
|
|
1051
|
+
"tabindex"?: QtiHottext['tabIndex'];
|
|
1052
|
+
/** */
|
|
1053
|
+
"tabIndex"?: QtiHottext['tabIndex'];
|
|
1054
|
+
/** */
|
|
1055
|
+
"aria-disabled"?: QtiHottext['disabled'];
|
|
1056
|
+
/** */
|
|
1057
|
+
"disabled"?: QtiHottext['disabled'];
|
|
1058
|
+
/** */
|
|
1059
|
+
"aria-readonly"?: QtiHottext['readonly'];
|
|
1060
|
+
/** */
|
|
1061
|
+
"readonly"?: QtiHottext['readonly'];
|
|
1062
|
+
/** */
|
|
1063
|
+
"internals"?: QtiHottext['internals'];
|
|
1064
|
+
|
|
1065
|
+
/** */
|
|
1066
|
+
"onundefined"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
export type QtiInlineChoiceInteractionProps = {
|
|
1071
|
+
/** */
|
|
1072
|
+
"data-prompt"?: QtiInlineChoiceInteraction['dataPrompt'];
|
|
1073
|
+
/** */
|
|
1074
|
+
"dataPrompt"?: QtiInlineChoiceInteraction['dataPrompt'];
|
|
1075
|
+
/** */
|
|
1076
|
+
"configContext"?: QtiInlineChoiceInteraction['configContext'];
|
|
1077
|
+
/** */
|
|
1078
|
+
"response"?: QtiInlineChoiceInteraction['response'];
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
export type QtiInlineChoiceProps = {
|
|
1085
|
+
/** */
|
|
1086
|
+
"identifier"?: QtiInlineChoice['identifier'];
|
|
1087
|
+
|
|
1088
|
+
/** */
|
|
1089
|
+
"onqti-inline-choice-register"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1090
|
+
/** */
|
|
1091
|
+
"onqti-inline-choice-select"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
|
|
1095
|
+
export type QtiMatchInteractionProps = {
|
|
1096
|
+
/** */
|
|
1097
|
+
"class"?: QtiMatchInteraction['class'];
|
|
1098
|
+
/** */
|
|
1099
|
+
"response-identifier"?: QtiMatchInteraction['responseIdentifier'];
|
|
1100
|
+
/** */
|
|
1101
|
+
"responseIdentifier"?: QtiMatchInteraction['responseIdentifier'];
|
|
1102
|
+
/** */
|
|
1103
|
+
"min-associations"?: QtiMatchInteraction['minAssociations'];
|
|
1104
|
+
/** */
|
|
1105
|
+
"minAssociations"?: QtiMatchInteraction['minAssociations'];
|
|
1106
|
+
/** */
|
|
1107
|
+
"max-associations"?: QtiMatchInteraction['maxAssociations'];
|
|
1108
|
+
/** */
|
|
1109
|
+
"maxAssociations"?: QtiMatchInteraction['maxAssociations'];
|
|
1110
|
+
/** */
|
|
1111
|
+
"response"?: QtiMatchInteraction['response'];
|
|
1112
|
+
|
|
1113
|
+
/** */
|
|
1114
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
export type QtiMediaInteractionProps = {
|
|
1119
|
+
/** */
|
|
1120
|
+
"response"?: QtiMediaInteraction['response'];
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
|
|
1126
|
+
export type QtiOrderInteractionProps = {
|
|
1127
|
+
/** orientation of choices */
|
|
1128
|
+
"orientation"?: QtiOrderInteraction['orientation'];
|
|
1129
|
+
/** */
|
|
1130
|
+
"min-associations"?: QtiOrderInteraction['minAssociations'];
|
|
1131
|
+
/** */
|
|
1132
|
+
"minAssociations"?: QtiOrderInteraction['minAssociations'];
|
|
1133
|
+
/** */
|
|
1134
|
+
"max-associations"?: QtiOrderInteraction['maxAssociations'];
|
|
1135
|
+
/** */
|
|
1136
|
+
"maxAssociations"?: QtiOrderInteraction['maxAssociations'];
|
|
1137
|
+
/** */
|
|
1138
|
+
"correctResponses"?: QtiOrderInteraction['correctResponses'];
|
|
1139
|
+
/** */
|
|
1140
|
+
"showCorrectResponses"?: QtiOrderInteraction['showCorrectResponses'];
|
|
1141
|
+
/** */
|
|
1142
|
+
"response"?: QtiOrderInteraction['response'];
|
|
1143
|
+
|
|
1144
|
+
/** */
|
|
1145
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
export type QtiPortableCustomInteractionProps = {
|
|
1150
|
+
/** */
|
|
1151
|
+
"module"?: QtiPortableCustomInteraction['module'];
|
|
1152
|
+
/** */
|
|
1153
|
+
"custom-interaction-type-identifier"?: QtiPortableCustomInteraction['customInteractionTypeIdentifier'];
|
|
1154
|
+
/** */
|
|
1155
|
+
"customInteractionTypeIdentifier"?: QtiPortableCustomInteraction['customInteractionTypeIdentifier'];
|
|
1156
|
+
/** */
|
|
1157
|
+
"data-require-paths"?: QtiPortableCustomInteraction['requirePathsJson'];
|
|
1158
|
+
/** */
|
|
1159
|
+
"requirePathsJson"?: QtiPortableCustomInteraction['requirePathsJson'];
|
|
1160
|
+
/** */
|
|
1161
|
+
"data-require-shim"?: QtiPortableCustomInteraction['requireShimJson'];
|
|
1162
|
+
/** */
|
|
1163
|
+
"requireShimJson"?: QtiPortableCustomInteraction['requireShimJson'];
|
|
1164
|
+
/** */
|
|
1165
|
+
"data-require-js-url"?: QtiPortableCustomInteraction['requireJsUrl'];
|
|
1166
|
+
/** */
|
|
1167
|
+
"requireJsUrl"?: QtiPortableCustomInteraction['requireJsUrl'];
|
|
1168
|
+
/** */
|
|
1169
|
+
"data-base-url"?: QtiPortableCustomInteraction['baseUrl'];
|
|
1170
|
+
/** */
|
|
1171
|
+
"baseUrl"?: QtiPortableCustomInteraction['baseUrl'];
|
|
1172
|
+
/** */
|
|
1173
|
+
"data-use-iframe"?: QtiPortableCustomInteraction['useIframe'];
|
|
1174
|
+
/** */
|
|
1175
|
+
"useIframe"?: QtiPortableCustomInteraction['useIframe'];
|
|
1176
|
+
/** */
|
|
1177
|
+
"data-use-default-shims"?: QtiPortableCustomInteraction['useDefaultShims'];
|
|
1178
|
+
/** */
|
|
1179
|
+
"useDefaultShims"?: QtiPortableCustomInteraction['useDefaultShims'];
|
|
1180
|
+
/** */
|
|
1181
|
+
"data-use-default-paths"?: QtiPortableCustomInteraction['useDefaultPaths'];
|
|
1182
|
+
/** */
|
|
1183
|
+
"useDefaultPaths"?: QtiPortableCustomInteraction['useDefaultPaths'];
|
|
1184
|
+
/** */
|
|
1185
|
+
"response"?: QtiPortableCustomInteraction['response'];
|
|
1186
|
+
/** */
|
|
1187
|
+
"value"?: QtiPortableCustomInteraction['value'];
|
|
1188
|
+
/** */
|
|
1189
|
+
"boundTo"?: QtiPortableCustomInteraction['boundTo'];
|
|
1190
|
+
/** DIRECT MODE: Load config from URL */
|
|
1191
|
+
"loadConfig"?: QtiPortableCustomInteraction['loadConfig'];
|
|
1192
|
+
/** DIRECT MODE: Helper method to get resolvable path string */
|
|
1193
|
+
"getResolvablePathString"?: QtiPortableCustomInteraction['getResolvablePathString'];
|
|
1194
|
+
/** DIRECT MODE: Helper method to get resolvable path */
|
|
1195
|
+
"getResolvablePath"?: QtiPortableCustomInteraction['getResolvablePath'];
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
export type QtiPositionObjectInteractionProps = {
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
|
|
1207
|
+
export type QtiPositionObjectStageProps = {
|
|
1208
|
+
/** */
|
|
1209
|
+
"choiceOrdering"?: QtiPositionObjectStage['choiceOrdering'];
|
|
1210
|
+
/** */
|
|
1211
|
+
"startX"?: QtiPositionObjectStage['startX'];
|
|
1212
|
+
/** */
|
|
1213
|
+
"startY"?: QtiPositionObjectStage['startY'];
|
|
1214
|
+
/** */
|
|
1215
|
+
"dragElement"?: QtiPositionObjectStage['dragElement'];
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
|
|
1221
|
+
export type QtiSelectPointInteractionProps = {
|
|
1222
|
+
/** */
|
|
1223
|
+
"max-choices"?: QtiSelectPointInteraction['maxChoices'];
|
|
1224
|
+
/** */
|
|
1225
|
+
"maxChoices"?: QtiSelectPointInteraction['maxChoices'];
|
|
1226
|
+
/** */
|
|
1227
|
+
"min-choices"?: QtiSelectPointInteraction['minChoices'];
|
|
1228
|
+
/** */
|
|
1229
|
+
"minChoices"?: QtiSelectPointInteraction['minChoices'];
|
|
1230
|
+
/** */
|
|
1231
|
+
"response"?: QtiSelectPointInteraction['response'];
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
export type QtiSliderInteractionProps = {
|
|
1238
|
+
/** */
|
|
1239
|
+
"lower-bound"?: QtiSliderInteraction['min'];
|
|
1240
|
+
/** */
|
|
1241
|
+
"min"?: QtiSliderInteraction['min'];
|
|
1242
|
+
/** */
|
|
1243
|
+
"upper-bound"?: QtiSliderInteraction['max'];
|
|
1244
|
+
/** */
|
|
1245
|
+
"max"?: QtiSliderInteraction['max'];
|
|
1246
|
+
/** */
|
|
1247
|
+
"step"?: QtiSliderInteraction['step'];
|
|
1248
|
+
/** */
|
|
1249
|
+
"response"?: QtiSliderInteraction['response'];
|
|
1250
|
+
|
|
1251
|
+
/** */
|
|
1252
|
+
"onchange"?: (e: CustomEvent<Event>) => void;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
|
|
1256
|
+
export type QtiTextEntryInteractionProps = {
|
|
1257
|
+
/** */
|
|
1258
|
+
"expected-length"?: QtiTextEntryInteraction['expectedLength'];
|
|
1259
|
+
/** */
|
|
1260
|
+
"expectedLength"?: QtiTextEntryInteraction['expectedLength'];
|
|
1261
|
+
/** */
|
|
1262
|
+
"pattern-mask"?: QtiTextEntryInteraction['patternMask'];
|
|
1263
|
+
/** */
|
|
1264
|
+
"patternMask"?: QtiTextEntryInteraction['patternMask'];
|
|
1265
|
+
/** */
|
|
1266
|
+
"placeholder-text"?: QtiTextEntryInteraction['placeholderText'];
|
|
1267
|
+
/** */
|
|
1268
|
+
"placeholderText"?: QtiTextEntryInteraction['placeholderText'];
|
|
1269
|
+
/** */
|
|
1270
|
+
"data-patternmask-message"?: QtiTextEntryInteraction['dataPatternmaskMessage'];
|
|
1271
|
+
/** */
|
|
1272
|
+
"dataPatternmaskMessage"?: QtiTextEntryInteraction['dataPatternmaskMessage'];
|
|
1273
|
+
/** */
|
|
1274
|
+
"inputRef"?: QtiTextEntryInteraction['inputRef'];
|
|
1275
|
+
/** */
|
|
1276
|
+
"response"?: QtiTextEntryInteraction['response'];
|
|
1277
|
+
/** */
|
|
1278
|
+
"value"?: QtiTextEntryInteraction['value'];
|
|
1279
|
+
|
|
1280
|
+
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
export type QtiUploadInteractionProps = {
|
|
1285
|
+
/** */
|
|
1286
|
+
"response"?: QtiUploadInteraction['response'];
|
|
1287
|
+
|
|
1288
|
+
/** */
|
|
1289
|
+
"onqti-interaction-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
export type QtiItemBodyProps = {
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
export type QtiOutcomeProcessingProps = {
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
export type QtiPromptProps = {
|
|
1306
|
+
|
|
1307
|
+
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
export type QtiContentBodyProps = {
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
|
|
1317
|
+
export type QtiRubricBlockProps = {
|
|
1318
|
+
/** */
|
|
1319
|
+
"id"?: QtiRubricBlock['id'];
|
|
1320
|
+
/** */
|
|
1321
|
+
"use"?: QtiRubricBlock['use'];
|
|
1322
|
+
/** */
|
|
1323
|
+
"view"?: QtiRubricBlock['view'];
|
|
1324
|
+
/** */
|
|
1325
|
+
"class"?: QtiRubricBlock['classNames'];
|
|
1326
|
+
/** */
|
|
1327
|
+
"classNames"?: QtiRubricBlock['classNames'];
|
|
1328
|
+
|
|
1329
|
+
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
export type QtiStylesheetProps = {
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
export type QtiVariableDeclarationProps = {
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
export type QtiOutcomeDeclarationProps = {
|
|
1346
|
+
/** */
|
|
1347
|
+
"base-type"?: QtiOutcomeDeclaration['baseType'];
|
|
1348
|
+
/** */
|
|
1349
|
+
"baseType"?: QtiOutcomeDeclaration['baseType'];
|
|
1350
|
+
/** */
|
|
1351
|
+
"external-scored"?: QtiOutcomeDeclaration['externalScored'];
|
|
1352
|
+
/** */
|
|
1353
|
+
"externalScored"?: QtiOutcomeDeclaration['externalScored'];
|
|
1354
|
+
/** */
|
|
1355
|
+
"identifier"?: QtiOutcomeDeclaration['identifier'];
|
|
1356
|
+
/** */
|
|
1357
|
+
"cardinality"?: QtiOutcomeDeclaration['cardinality'];
|
|
1358
|
+
/** */
|
|
1359
|
+
"itemContext"?: QtiOutcomeDeclaration['itemContext'];
|
|
1360
|
+
|
|
1361
|
+
/** */
|
|
1362
|
+
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
export type QtiResponseDeclarationProps = {
|
|
1367
|
+
/** */
|
|
1368
|
+
"base-type"?: QtiResponseDeclaration['baseType'];
|
|
1369
|
+
/** */
|
|
1370
|
+
"baseType"?: QtiResponseDeclaration['baseType'];
|
|
1371
|
+
/** */
|
|
1372
|
+
"identifier"?: QtiResponseDeclaration['identifier'];
|
|
1373
|
+
/** */
|
|
1374
|
+
"cardinality"?: QtiResponseDeclaration['cardinality'];
|
|
1375
|
+
/** */
|
|
1376
|
+
"itemContext"?: QtiResponseDeclaration['itemContext'];
|
|
1377
|
+
|
|
1378
|
+
/** */
|
|
1379
|
+
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
export type QtiPortableCustomInteractionTestProps = {
|
|
1384
|
+
/** */
|
|
1385
|
+
"module"?: QtiPortableCustomInteractionTest['module'];
|
|
1386
|
+
/** */
|
|
1387
|
+
"custom-interaction-type-identifier"?: QtiPortableCustomInteractionTest['customInteractionTypeIdentifier'];
|
|
1388
|
+
/** */
|
|
1389
|
+
"customInteractionTypeIdentifier"?: QtiPortableCustomInteractionTest['customInteractionTypeIdentifier'];
|
|
1390
|
+
/** */
|
|
1391
|
+
"data-require-paths"?: QtiPortableCustomInteractionTest['requirePathsJson'];
|
|
1392
|
+
/** */
|
|
1393
|
+
"requirePathsJson"?: QtiPortableCustomInteractionTest['requirePathsJson'];
|
|
1394
|
+
/** */
|
|
1395
|
+
"data-require-shim"?: QtiPortableCustomInteractionTest['requireShimJson'];
|
|
1396
|
+
/** */
|
|
1397
|
+
"requireShimJson"?: QtiPortableCustomInteractionTest['requireShimJson'];
|
|
1398
|
+
/** */
|
|
1399
|
+
"data-require-js-url"?: QtiPortableCustomInteractionTest['requireJsUrl'];
|
|
1400
|
+
/** */
|
|
1401
|
+
"requireJsUrl"?: QtiPortableCustomInteractionTest['requireJsUrl'];
|
|
1402
|
+
/** */
|
|
1403
|
+
"data-base-url"?: QtiPortableCustomInteractionTest['baseUrl'];
|
|
1404
|
+
/** */
|
|
1405
|
+
"baseUrl"?: QtiPortableCustomInteractionTest['baseUrl'];
|
|
1406
|
+
/** */
|
|
1407
|
+
"data-use-iframe"?: QtiPortableCustomInteractionTest['useIframe'];
|
|
1408
|
+
/** */
|
|
1409
|
+
"useIframe"?: QtiPortableCustomInteractionTest['useIframe'];
|
|
1410
|
+
/** */
|
|
1411
|
+
"data-use-default-shims"?: QtiPortableCustomInteractionTest['useDefaultShims'];
|
|
1412
|
+
/** */
|
|
1413
|
+
"useDefaultShims"?: QtiPortableCustomInteractionTest['useDefaultShims'];
|
|
1414
|
+
/** */
|
|
1415
|
+
"data-use-default-paths"?: QtiPortableCustomInteractionTest['useDefaultPaths'];
|
|
1416
|
+
/** */
|
|
1417
|
+
"useDefaultPaths"?: QtiPortableCustomInteractionTest['useDefaultPaths'];
|
|
1418
|
+
/** */
|
|
1419
|
+
"response"?: QtiPortableCustomInteractionTest['response'];
|
|
1420
|
+
/** */
|
|
1421
|
+
"value"?: QtiPortableCustomInteractionTest['value'];
|
|
1422
|
+
/** */
|
|
1423
|
+
"boundTo"?: QtiPortableCustomInteractionTest['boundTo'];
|
|
1424
|
+
/** DIRECT MODE: Load config from URL */
|
|
1425
|
+
"loadConfig"?: QtiPortableCustomInteractionTest['loadConfig'];
|
|
1426
|
+
/** DIRECT MODE: Helper method to get resolvable path string */
|
|
1427
|
+
"getResolvablePathString"?: QtiPortableCustomInteractionTest['getResolvablePathString'];
|
|
1428
|
+
/** DIRECT MODE: Helper method to get resolvable path */
|
|
1429
|
+
"getResolvablePath"?: QtiPortableCustomInteractionTest['getResolvablePath'];
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
export type QtiTemplateDeclarationProps = {
|
|
1436
|
+
/** */
|
|
1437
|
+
"identifier"?: QtiTemplateDeclaration['identifier'];
|
|
1438
|
+
/** */
|
|
1439
|
+
"cardinality"?: QtiTemplateDeclaration['cardinality'];
|
|
1440
|
+
/** */
|
|
1441
|
+
"base-type"?: QtiTemplateDeclaration['baseType'];
|
|
1442
|
+
/** */
|
|
1443
|
+
"baseType"?: QtiTemplateDeclaration['baseType'];
|
|
1444
|
+
/** */
|
|
1445
|
+
"math-variable"?: QtiTemplateDeclaration['mathVariable'];
|
|
1446
|
+
/** */
|
|
1447
|
+
"mathVariable"?: QtiTemplateDeclaration['mathVariable'];
|
|
1448
|
+
/** */
|
|
1449
|
+
"param-variable"?: QtiTemplateDeclaration['paramVariable'];
|
|
1450
|
+
/** */
|
|
1451
|
+
"paramVariable"?: QtiTemplateDeclaration['paramVariable'];
|
|
1452
|
+
|
|
1453
|
+
/** */
|
|
1454
|
+
"onqti-register-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
export type TestElementProps = {
|
|
1459
|
+
/** */
|
|
1460
|
+
"class"?: TestElement['class'];
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
}
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
export type TestElementProps = {
|
|
1467
|
+
/** */
|
|
1468
|
+
"class"?: TestElement['class'];
|
|
1469
|
+
/** */
|
|
1470
|
+
"shuffle"?: TestElement['shuffle'];
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
|
|
1476
|
+
export type ItemContainerProps = {
|
|
1477
|
+
/** URL of the item to load */
|
|
1478
|
+
"item-url"?: ItemContainer['itemURL'];
|
|
1479
|
+
/** URL of the item to load */
|
|
1480
|
+
"itemURL"?: ItemContainer['itemURL'];
|
|
1481
|
+
/** A parsed HTML document */
|
|
1482
|
+
"itemDoc"?: ItemContainer['itemDoc'];
|
|
1483
|
+
/** The raw XML string */
|
|
1484
|
+
"itemXML"?: ItemContainer['itemXML'];
|
|
1485
|
+
|
|
1486
|
+
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
|
|
1490
|
+
export type PrintItemVariablesProps = {
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
export type QtiItemProps = {
|
|
1497
|
+
/** */
|
|
1498
|
+
"computedContext"?: QtiItem['computedContext'];
|
|
1499
|
+
/** */
|
|
1500
|
+
"configContext"?: QtiItem['configContext'];
|
|
1501
|
+
|
|
1502
|
+
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
export type ItemCorrectResponseModeProps = {
|
|
1507
|
+
/** */
|
|
1508
|
+
"label"?: ItemCorrectResponseMode['label'];
|
|
1509
|
+
|
|
1510
|
+
/** */
|
|
1511
|
+
"onitem-switch-correct-response-mode"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
export type QtiAssessmentItemRefProps = {
|
|
1516
|
+
/** */
|
|
1517
|
+
"category"?: QtiAssessmentItemRef['category'];
|
|
1518
|
+
/** */
|
|
1519
|
+
"identifier"?: QtiAssessmentItemRef['identifier'];
|
|
1520
|
+
/** */
|
|
1521
|
+
"required"?: QtiAssessmentItemRef['required'];
|
|
1522
|
+
/** */
|
|
1523
|
+
"fixed"?: QtiAssessmentItemRef['fixed'];
|
|
1524
|
+
/** */
|
|
1525
|
+
"href"?: QtiAssessmentItemRef['href'];
|
|
1526
|
+
/** */
|
|
1527
|
+
"weigths"?: QtiAssessmentItemRef['weigths'];
|
|
1528
|
+
/** */
|
|
1529
|
+
"xmlDoc"?: QtiAssessmentItemRef['xmlDoc'];
|
|
1530
|
+
/** */
|
|
1531
|
+
"myTemplate"?: QtiAssessmentItemRef['myTemplate'];
|
|
1532
|
+
|
|
1533
|
+
/** */
|
|
1534
|
+
"onqti-assessment-item-ref-connected"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
export type QtiAssessmentSectionProps = {
|
|
1539
|
+
/** */
|
|
1540
|
+
"identifier"?: QtiAssessmentSection['identifier'];
|
|
1541
|
+
/** */
|
|
1542
|
+
"required"?: QtiAssessmentSection['required'];
|
|
1543
|
+
/** */
|
|
1544
|
+
"fixed"?: QtiAssessmentSection['fixed'];
|
|
1545
|
+
/** */
|
|
1546
|
+
"visible"?: QtiAssessmentSection['visible'];
|
|
1547
|
+
/** */
|
|
1548
|
+
"keep-together"?: QtiAssessmentSection['keepTogether'];
|
|
1549
|
+
/** */
|
|
1550
|
+
"keepTogether"?: QtiAssessmentSection['keepTogether'];
|
|
1551
|
+
/** */
|
|
1552
|
+
"title"?: QtiAssessmentSection['title'];
|
|
1553
|
+
/** */
|
|
1554
|
+
"_testContext"?: QtiAssessmentSection['_testContext'];
|
|
1555
|
+
|
|
1556
|
+
/** */
|
|
1557
|
+
"onqti-assessment-section-connected"?: (e: CustomEvent<Event>) => void;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
export type QtiAssessmentTestProps = {
|
|
1562
|
+
/** */
|
|
1563
|
+
"identifier"?: QtiAssessmentTest['identifier'];
|
|
1564
|
+
/** */
|
|
1565
|
+
"title"?: QtiAssessmentTest['title'];
|
|
1566
|
+
/** */
|
|
1567
|
+
"_testContext"?: QtiAssessmentTest['_testContext'];
|
|
1568
|
+
|
|
1569
|
+
/** */
|
|
1570
|
+
"onqti-assessment-test-connected"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
export type QtiTestPartProps = {
|
|
1575
|
+
/** */
|
|
1576
|
+
"identifier"?: QtiTestPart['identifier'];
|
|
1577
|
+
/** */
|
|
1578
|
+
"class"?: QtiTestPart['class'];
|
|
1579
|
+
/** */
|
|
1580
|
+
"navigation-mode"?: QtiTestPart['navigationMode'];
|
|
1581
|
+
/** */
|
|
1582
|
+
"navigationMode"?: QtiTestPart['navigationMode'];
|
|
1583
|
+
/** */
|
|
1584
|
+
"submission-mode"?: QtiTestPart['submissionMode'];
|
|
1585
|
+
/** */
|
|
1586
|
+
"submissionMode"?: QtiTestPart['submissionMode'];
|
|
1587
|
+
/** */
|
|
1588
|
+
"title"?: QtiTestPart['title'];
|
|
1589
|
+
|
|
1590
|
+
/** */
|
|
1591
|
+
"onqti-test-part-connected"?: (e: CustomEvent<Event>) => void;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
export type QtiTestFeedbackProps = {
|
|
1596
|
+
/** */
|
|
1597
|
+
"show-hide"?: QtiTestFeedback['showHide'];
|
|
1598
|
+
/** */
|
|
1599
|
+
"showHide"?: QtiTestFeedback['showHide'];
|
|
1600
|
+
/** */
|
|
1601
|
+
"outcome-identifier"?: QtiTestFeedback['outcomeIdentifier'];
|
|
1602
|
+
/** */
|
|
1603
|
+
"outcomeIdentifier"?: QtiTestFeedback['outcomeIdentifier'];
|
|
1604
|
+
/** */
|
|
1605
|
+
"identifier"?: QtiTestFeedback['identifier'];
|
|
1606
|
+
/** */
|
|
1607
|
+
"showStatus"?: QtiTestFeedback['showStatus'];
|
|
1608
|
+
|
|
1609
|
+
/** */
|
|
1610
|
+
"onqti-register-feedback"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
export type QtiTestProps = {
|
|
1616
|
+
/** */
|
|
1617
|
+
"navigate"?: QtiTest['navigate'];
|
|
1618
|
+
/** */
|
|
1619
|
+
"cache-transform"?: QtiTest['cacheTransform'];
|
|
1620
|
+
/** */
|
|
1621
|
+
"cacheTransform"?: QtiTest['cacheTransform'];
|
|
1622
|
+
/** */
|
|
1623
|
+
"requestTimeout"?: QtiTest['requestTimeout'];
|
|
1624
|
+
/** */
|
|
1625
|
+
"showLoadingIndicators"?: QtiTest['showLoadingIndicators'];
|
|
1626
|
+
/** */
|
|
1627
|
+
"postLoadTransformCallback"?: QtiTest['postLoadTransformCallback'];
|
|
1628
|
+
/** */
|
|
1629
|
+
"sessionContext"?: QtiTest['sessionContext'];
|
|
1630
|
+
/** */
|
|
1631
|
+
"testContext"?: QtiTest['testContext'];
|
|
1632
|
+
|
|
1633
|
+
/** */
|
|
1634
|
+
"onqti-test-connected"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1635
|
+
/** */
|
|
1636
|
+
"onqti-request-navigation"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1637
|
+
/** */
|
|
1638
|
+
"onqti-navigation-error"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1639
|
+
/** */
|
|
1640
|
+
"onqti-navigation-status"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1641
|
+
/** */
|
|
1642
|
+
"onqti-test-loaded"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1643
|
+
/** */
|
|
1644
|
+
"onqti-test-context-updated"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
export type TestNavigationProps = {
|
|
1649
|
+
/** */
|
|
1650
|
+
"identifier"?: TestNavigation['identifier'];
|
|
1651
|
+
/** */
|
|
1652
|
+
"auto-score-items"?: TestNavigation['autoScoreItems'];
|
|
1653
|
+
/** */
|
|
1654
|
+
"autoScoreItems"?: TestNavigation['autoScoreItems'];
|
|
1655
|
+
/** */
|
|
1656
|
+
"initContext"?: TestNavigation['initContext'];
|
|
1657
|
+
/** */
|
|
1658
|
+
"qtiContext"?: TestNavigation['qtiContext'];
|
|
1659
|
+
/** */
|
|
1660
|
+
"configContext"?: TestNavigation['configContext'];
|
|
1661
|
+
|
|
1662
|
+
/** */
|
|
1663
|
+
"onqti-computed-context-updated"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
export type TestNextProps = {
|
|
1668
|
+
/** */
|
|
1669
|
+
"disabled"?: TestNext['_internalDisabled'];
|
|
1670
|
+
/** */
|
|
1671
|
+
"_internalDisabled"?: TestNext['_internalDisabled'];
|
|
1672
|
+
/** */
|
|
1673
|
+
"sectionItems"?: TestNext['sectionItems'];
|
|
1674
|
+
/** */
|
|
1675
|
+
"itemIndex"?: TestNext['itemIndex'];
|
|
1676
|
+
/** */
|
|
1677
|
+
"role"?: TestNext['role'];
|
|
1678
|
+
/** */
|
|
1679
|
+
"ariaLabel"?: TestNext['ariaLabel'];
|
|
1680
|
+
|
|
1681
|
+
/** */
|
|
1682
|
+
"onqti-request-navigation"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
|
|
1686
|
+
export type TestPrevProps = {
|
|
1687
|
+
/** */
|
|
1688
|
+
"disabled"?: TestPrev['_internalDisabled'];
|
|
1689
|
+
/** */
|
|
1690
|
+
"_internalDisabled"?: TestPrev['_internalDisabled'];
|
|
1691
|
+
/** */
|
|
1692
|
+
"sectionItems"?: TestPrev['sectionItems'];
|
|
1693
|
+
/** */
|
|
1694
|
+
"itemIndex"?: TestPrev['itemIndex'];
|
|
1695
|
+
|
|
1696
|
+
/** */
|
|
1697
|
+
"onqti-request-navigation"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
|
|
1701
|
+
export type TestViewProps = {
|
|
1702
|
+
/** label accompanying the select view dropdown */
|
|
1703
|
+
"label"?: TestView['label'];
|
|
1704
|
+
/** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
|
|
1705
|
+
"view-options"?: TestView['viewOptions'];
|
|
1706
|
+
/** The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor'] */
|
|
1707
|
+
"viewOptions"?: TestView['viewOptions'];
|
|
1708
|
+
|
|
1709
|
+
/** */
|
|
1710
|
+
"onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
|
|
1714
|
+
export type TestItemLinkProps = {
|
|
1715
|
+
/** */
|
|
1716
|
+
"item-id"?: TestItemLink['itemId'];
|
|
1717
|
+
/** */
|
|
1718
|
+
"itemId"?: TestItemLink['itemId'];
|
|
1719
|
+
|
|
1720
|
+
/** */
|
|
1721
|
+
"onqti-request-navigation"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
export type TestEndAttemptProps = {
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
|
|
1731
|
+
export type TestShowCorrectResponseProps = {
|
|
1732
|
+
/** */
|
|
1733
|
+
"shown"?: TestShowCorrectResponse['shown'];
|
|
1734
|
+
/** */
|
|
1735
|
+
"disabled"?: TestShowCorrectResponse['disabled'];
|
|
1736
|
+
/** */
|
|
1737
|
+
"showCorrectText"?: TestShowCorrectResponse['showCorrectText'];
|
|
1738
|
+
/** */
|
|
1739
|
+
"hideCorrectText"?: TestShowCorrectResponse['hideCorrectText'];
|
|
1740
|
+
/** */
|
|
1741
|
+
"noCorrectResponseText"?: TestShowCorrectResponse['noCorrectResponseText'];
|
|
1742
|
+
/** */
|
|
1743
|
+
"computedContext"?: TestShowCorrectResponse['computedContext'];
|
|
1744
|
+
|
|
1745
|
+
/** */
|
|
1746
|
+
"ontest-show-correct-response"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1747
|
+
}
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
export type TestPagingButtonsStampProps = {
|
|
1751
|
+
/** */
|
|
1752
|
+
"myTemplate"?: TestPagingButtonsStamp['myTemplate'];
|
|
1753
|
+
/** */
|
|
1754
|
+
"ariaLabel"?: TestPagingButtonsStamp['ariaLabel'];
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
|
|
1760
|
+
export type TestContainerProps = {
|
|
1761
|
+
/** URL of the item to load */
|
|
1762
|
+
"test-url"?: TestContainer['testURL'];
|
|
1763
|
+
/** URL of the item to load */
|
|
1764
|
+
"testURL"?: TestContainer['testURL'];
|
|
1765
|
+
/** A parsed HTML document */
|
|
1766
|
+
"testDoc"?: TestContainer['testDoc'];
|
|
1767
|
+
/** The raw XML string */
|
|
1768
|
+
"testXML"?: TestContainer['testXML'];
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
export type TestPrintVariablesProps = {
|
|
1775
|
+
/** */
|
|
1776
|
+
"computedContext"?: TestPrintVariables['computedContext'];
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
export type TestSectionButtonsStampProps = {
|
|
1783
|
+
/** */
|
|
1784
|
+
"myTemplate"?: TestSectionButtonsStamp['myTemplate'];
|
|
1785
|
+
/** */
|
|
1786
|
+
"ariaLabel"?: TestSectionButtonsStamp['ariaLabel'];
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
|
|
1792
|
+
export type TestSectionLinkProps = {
|
|
1793
|
+
/** */
|
|
1794
|
+
"section-id"?: TestSectionLink['sectionId'];
|
|
1795
|
+
/** */
|
|
1796
|
+
"sectionId"?: TestSectionLink['sectionId'];
|
|
1797
|
+
|
|
1798
|
+
/** */
|
|
1799
|
+
"onqti-request-navigation"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
export type TestPrintContextProps = {
|
|
1804
|
+
/** */
|
|
1805
|
+
"computedContext"?: TestPrintContext['computedContext'];
|
|
1806
|
+
|
|
1807
|
+
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
export type TestStampProps = {
|
|
1812
|
+
/** Indicates whether the component is in debug mode.
|
|
1813
|
+
When set to `true`, the available objects and properties (i.e.: stampContext) is displayed. */
|
|
1814
|
+
"debug"?: TestStamp['debug'];
|
|
1815
|
+
/** */
|
|
1816
|
+
"myTemplate"?: TestStamp['myTemplate'];
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
export type TestScoringButtonsProps = {
|
|
1823
|
+
/** */
|
|
1824
|
+
"view"?: TestScoringButtons['view'];
|
|
1825
|
+
/** */
|
|
1826
|
+
"disabled"?: TestScoringButtons['disabled'];
|
|
1827
|
+
/** */
|
|
1828
|
+
"myTemplate"?: TestScoringButtons['myTemplate'];
|
|
1829
|
+
|
|
1830
|
+
/** */
|
|
1831
|
+
"ontest-update-outcome-variable"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
export type TestViewToggleProps = {
|
|
1836
|
+
/** */
|
|
1837
|
+
"myTemplate"?: TestViewToggle['myTemplate'];
|
|
1838
|
+
|
|
1839
|
+
/** */
|
|
1840
|
+
"onon-test-switch-view"?: (e: CustomEvent<CustomEvent>) => void;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
|
|
1844
|
+
export type TestScoringFeedbackProps = {
|
|
1845
|
+
/** */
|
|
1846
|
+
"view"?: TestScoringFeedback['view'];
|
|
1847
|
+
|
|
1848
|
+
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
export type TestCheckItemProps = {
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
|
|
1858
|
+
export type QtiTestVariablesProps = {
|
|
1859
|
+
/** */
|
|
1860
|
+
"_testContext"?: QtiTestVariables['_testContext'];
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
export type CustomElements = {
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
*
|
|
1870
|
+
*
|
|
1871
|
+
* #### Attributes & Properties
|
|
1872
|
+
*
|
|
1873
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1874
|
+
*
|
|
1875
|
+
* - `shown`: undefined
|
|
1876
|
+
* - `disabled`: undefined
|
|
1877
|
+
* - `showCandidateCorrectionText`: undefined
|
|
1878
|
+
* - `hideCandidateCorrectionText`: undefined
|
|
1879
|
+
* - `noCorrectResponseText`: undefined
|
|
1880
|
+
* - `computedContext`: undefined (property only)
|
|
1881
|
+
*
|
|
1882
|
+
* #### Events
|
|
1883
|
+
*
|
|
1884
|
+
* Events that will be emitted by the component.
|
|
1885
|
+
*
|
|
1886
|
+
* - `item-show-candidate-correction`: undefined
|
|
1887
|
+
*/
|
|
1888
|
+
"item-show-candidate-correction": Partial<ItemShowCandidateCorrectionProps & BaseProps<ItemShowCandidateCorrection> & BaseEvents>;
|
|
1889
|
+
|
|
1890
|
+
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
*
|
|
1894
|
+
* #### Methods
|
|
1895
|
+
*
|
|
1896
|
+
* Methods that can be called to access component functionality.
|
|
1897
|
+
*
|
|
1898
|
+
* - `process() => void`: undefined
|
|
1899
|
+
*/
|
|
1900
|
+
"qti-rule": Partial<QtiRuleProps & BaseProps<QtiRule> & BaseEvents>;
|
|
1901
|
+
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
*
|
|
1905
|
+
*
|
|
1906
|
+
* #### Methods
|
|
1907
|
+
*
|
|
1908
|
+
* Methods that can be called to access component functionality.
|
|
1909
|
+
*
|
|
1910
|
+
* - `process() => void`: undefined
|
|
1911
|
+
*/
|
|
1912
|
+
"qti-response-processing": Partial<QtiResponseProcessingProps & BaseProps<QtiResponseProcessing> & BaseEvents>;
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* The lookupOutcomeValue rule sets the value of an outcome variable to the value obtained
|
|
1917
|
+
* by looking up the value of the associated expression in the lookupTable associated
|
|
1918
|
+
* with the outcome's declaration.
|
|
1919
|
+
*
|
|
1920
|
+
* #### Attributes & Properties
|
|
1921
|
+
*
|
|
1922
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1923
|
+
*
|
|
1924
|
+
* - `identifier`: undefined
|
|
1925
|
+
* - `childExpression`: undefined (property only) (readonly)
|
|
1926
|
+
*
|
|
1927
|
+
* #### Events
|
|
1928
|
+
*
|
|
1929
|
+
* Events that will be emitted by the component.
|
|
1930
|
+
*
|
|
1931
|
+
* - `qti-set-outcome-value`: undefined
|
|
1932
|
+
*
|
|
1933
|
+
* #### Methods
|
|
1934
|
+
*
|
|
1935
|
+
* Methods that can be called to access component functionality.
|
|
1936
|
+
*
|
|
1937
|
+
* - `process() => number`: undefined
|
|
1938
|
+
*/
|
|
1939
|
+
"qti-lookup-outcome-value": Partial<QtiLookupOutcomeValueProps & BaseProps<QtiLookupOutcomeValue> & BaseEvents>;
|
|
1940
|
+
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
*
|
|
1944
|
+
*
|
|
1945
|
+
* #### Methods
|
|
1946
|
+
*
|
|
1947
|
+
* Methods that can be called to access component functionality.
|
|
1948
|
+
*
|
|
1949
|
+
* - `process() => void`: undefined
|
|
1950
|
+
*/
|
|
1951
|
+
"qti-response-condition": Partial<QtiResponseConditionProps & BaseProps<QtiResponseCondition> & BaseEvents>;
|
|
1952
|
+
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* Web component that processes `setOutcomeValue` in QTI.
|
|
1956
|
+
*
|
|
1957
|
+
* #### Events
|
|
1958
|
+
*
|
|
1959
|
+
* Events that will be emitted by the component.
|
|
1960
|
+
*
|
|
1961
|
+
* - `qti-set-outcome-value`: undefined
|
|
1962
|
+
*
|
|
1963
|
+
* #### Methods
|
|
1964
|
+
*
|
|
1965
|
+
* Methods that can be called to access component functionality.
|
|
1966
|
+
*
|
|
1967
|
+
* - `process() => void`: Processes the QTI rule and dispatches a custom event with the computed outcome value.
|
|
1968
|
+
*/
|
|
1969
|
+
"qti-set-outcome-value": Partial<QtiSetOutcomeValueProps & BaseProps<QtiSetOutcomeValue> & BaseEvents>;
|
|
1970
|
+
|
|
1971
|
+
|
|
1972
|
+
/**
|
|
1973
|
+
*
|
|
1974
|
+
*
|
|
1975
|
+
* #### Methods
|
|
1976
|
+
*
|
|
1977
|
+
* Methods that can be called to access component functionality.
|
|
1978
|
+
*
|
|
1979
|
+
* - `calculate() => void`: undefined
|
|
1980
|
+
* - `getSubRules() => QtiRule[]`: undefined
|
|
1981
|
+
* - `process() => void`: undefined
|
|
1982
|
+
*/
|
|
1983
|
+
"qti-response-else": Partial<QtiResponseElseProps & BaseProps<QtiResponseElse> & BaseEvents>;
|
|
1984
|
+
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
*
|
|
1988
|
+
*
|
|
1989
|
+
* #### Methods
|
|
1990
|
+
*
|
|
1991
|
+
* Methods that can be called to access component functionality.
|
|
1992
|
+
*
|
|
1993
|
+
* - `calculate() => void`: undefined
|
|
1994
|
+
* - `getSubRules() => QtiRule[]`: undefined
|
|
1995
|
+
* - `process() => void`: undefined
|
|
1996
|
+
*/
|
|
1997
|
+
"qti-response-if": Partial<QtiResponseIfProps & BaseProps<QtiResponseIf> & BaseEvents>;
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
*
|
|
2003
|
+
* #### Methods
|
|
2004
|
+
*
|
|
2005
|
+
* Methods that can be called to access component functionality.
|
|
2006
|
+
*
|
|
2007
|
+
* - `calculate() => void`: undefined
|
|
2008
|
+
* - `getSubRules() => QtiRule[]`: undefined
|
|
2009
|
+
* - `process() => void`: undefined
|
|
2010
|
+
*/
|
|
2011
|
+
"qti-response-else-if": Partial<QtiResponseElseIfProps & BaseProps<QtiResponseElseIf> & BaseEvents>;
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
*
|
|
2016
|
+
*
|
|
2017
|
+
* #### Methods
|
|
2018
|
+
*
|
|
2019
|
+
* Methods that can be called to access component functionality.
|
|
2020
|
+
*
|
|
2021
|
+
* - `calculate() => void`: undefined
|
|
2022
|
+
* - `calculateChildren(children: Array<MockQtiExpression<any>>) => void`: undefined
|
|
2023
|
+
*/
|
|
2024
|
+
"qti-and": Partial<QtiAndProps & BaseProps<QtiAnd> & BaseEvents>;
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
*
|
|
2029
|
+
*
|
|
2030
|
+
* #### Attributes & Properties
|
|
2031
|
+
*
|
|
2032
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2033
|
+
*
|
|
2034
|
+
* - `base-type`/`baseType`: undefined
|
|
2035
|
+
*
|
|
2036
|
+
* #### Methods
|
|
2037
|
+
*
|
|
2038
|
+
* Methods that can be called to access component functionality.
|
|
2039
|
+
*
|
|
2040
|
+
* - `getResult() => string`: undefined
|
|
2041
|
+
*/
|
|
2042
|
+
"qti-base-value": Partial<QtiBaseValueProps & BaseProps<QtiBaseValue> & BaseEvents>;
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
*
|
|
2048
|
+
* #### Methods
|
|
2049
|
+
*
|
|
2050
|
+
* Methods that can be called to access component functionality.
|
|
2051
|
+
*
|
|
2052
|
+
* - `getResult() => number`: undefined
|
|
2053
|
+
*/
|
|
2054
|
+
"qti-container-size": Partial<QtiContainerSizeProps & BaseProps<QtiContainerSize> & BaseEvents>;
|
|
2055
|
+
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
*
|
|
2060
|
+
* #### Methods
|
|
2061
|
+
*
|
|
2062
|
+
* Methods that can be called to access component functionality.
|
|
2063
|
+
*
|
|
2064
|
+
* - `getResult() => void`: undefined
|
|
2065
|
+
*/
|
|
2066
|
+
"qti-contains": Partial<QtiContainsProps & BaseProps<QtiContains> & BaseEvents>;
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
*
|
|
2071
|
+
*
|
|
2072
|
+
* #### Attributes & Properties
|
|
2073
|
+
*
|
|
2074
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2075
|
+
*
|
|
2076
|
+
* - `interpretation`: undefined (property only) (readonly)
|
|
2077
|
+
*
|
|
2078
|
+
* #### Methods
|
|
2079
|
+
*
|
|
2080
|
+
* Methods that can be called to access component functionality.
|
|
2081
|
+
*
|
|
2082
|
+
* - `getResult() => void`: undefined
|
|
2083
|
+
*/
|
|
2084
|
+
"qti-correct": Partial<QtiCorrectProps & BaseProps<QtiCorrect> & BaseEvents>;
|
|
2085
|
+
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
*
|
|
2089
|
+
*
|
|
2090
|
+
* #### Attributes & Properties
|
|
2091
|
+
*
|
|
2092
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2093
|
+
*
|
|
2094
|
+
* - `identifier`: undefined
|
|
2095
|
+
*
|
|
2096
|
+
* #### Methods
|
|
2097
|
+
*
|
|
2098
|
+
* Methods that can be called to access component functionality.
|
|
2099
|
+
*
|
|
2100
|
+
* - `getResult() => any`: undefined
|
|
2101
|
+
*/
|
|
2102
|
+
"qti-default": Partial<QtiDefaultProps & BaseProps<QtiDefault> & BaseEvents>;
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
*
|
|
2107
|
+
*
|
|
2108
|
+
* #### Attributes & Properties
|
|
2109
|
+
*
|
|
2110
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2111
|
+
*
|
|
2112
|
+
* - `roundingMode`: undefined
|
|
2113
|
+
* - `figures`: undefined (property only) (readonly)
|
|
2114
|
+
*
|
|
2115
|
+
* #### Methods
|
|
2116
|
+
*
|
|
2117
|
+
* Methods that can be called to access component functionality.
|
|
2118
|
+
*
|
|
2119
|
+
* - `getResult() => void`: undefined
|
|
2120
|
+
*/
|
|
2121
|
+
"qti-equal-rounded": Partial<QtiEqualRoundedProps & BaseProps<QtiEqualRounded> & BaseEvents>;
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
/**
|
|
2125
|
+
*
|
|
2126
|
+
*
|
|
2127
|
+
* #### Methods
|
|
2128
|
+
*
|
|
2129
|
+
* Methods that can be called to access component functionality.
|
|
2130
|
+
*
|
|
2131
|
+
* - `getResult() => number | null`: undefined
|
|
2132
|
+
*/
|
|
2133
|
+
"qti-round": Partial<QtiRoundProps & BaseProps<QtiRound> & BaseEvents>;
|
|
2134
|
+
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
*
|
|
2138
|
+
*
|
|
2139
|
+
* #### Attributes & Properties
|
|
2140
|
+
*
|
|
2141
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2142
|
+
*
|
|
2143
|
+
* - `rounding-mode`/`roundingMode`: undefined
|
|
2144
|
+
* - `figures`: undefined
|
|
2145
|
+
*
|
|
2146
|
+
* #### Methods
|
|
2147
|
+
*
|
|
2148
|
+
* Methods that can be called to access component functionality.
|
|
2149
|
+
*
|
|
2150
|
+
* - `getResult() => number | null`: undefined
|
|
2151
|
+
*/
|
|
2152
|
+
"qti-round-to": Partial<QtiRoundToProps & BaseProps<QtiRoundTo> & BaseEvents>;
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
*
|
|
2157
|
+
*
|
|
2158
|
+
* #### Attributes & Properties
|
|
2159
|
+
*
|
|
2160
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2161
|
+
*
|
|
2162
|
+
* - `toleranceMode`: undefined
|
|
2163
|
+
*
|
|
2164
|
+
* #### Methods
|
|
2165
|
+
*
|
|
2166
|
+
* Methods that can be called to access component functionality.
|
|
2167
|
+
*
|
|
2168
|
+
* - `getResult() => void`: undefined
|
|
2169
|
+
*/
|
|
2170
|
+
"qti-equal": Partial<QtiEqualProps & BaseProps<QtiEqual> & BaseEvents>;
|
|
2171
|
+
|
|
2172
|
+
|
|
2173
|
+
/**
|
|
2174
|
+
*
|
|
2175
|
+
*
|
|
2176
|
+
* #### Methods
|
|
2177
|
+
*
|
|
2178
|
+
* Methods that can be called to access component functionality.
|
|
2179
|
+
*
|
|
2180
|
+
* - `getResult() => number | null`: undefined
|
|
2181
|
+
*/
|
|
2182
|
+
"qti-gcd": Partial<QtiGcdProps & BaseProps<QtiGcd> & BaseEvents>;
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
*
|
|
2187
|
+
*
|
|
2188
|
+
* #### Methods
|
|
2189
|
+
*
|
|
2190
|
+
* Methods that can be called to access component functionality.
|
|
2191
|
+
*
|
|
2192
|
+
* - `getResult() => boolean`: undefined
|
|
2193
|
+
*/
|
|
2194
|
+
"qti-gt": Partial<QtiGtProps & BaseProps<QtiGt> & BaseEvents>;
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
*
|
|
2199
|
+
*
|
|
2200
|
+
* #### Methods
|
|
2201
|
+
*
|
|
2202
|
+
* Methods that can be called to access component functionality.
|
|
2203
|
+
*
|
|
2204
|
+
* - `getResult() => boolean`: undefined
|
|
2205
|
+
*/
|
|
2206
|
+
"qti-gte": Partial<QtiGteProps & BaseProps<QtiGte> & BaseEvents>;
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
/**
|
|
2210
|
+
*
|
|
2211
|
+
*
|
|
2212
|
+
* #### Methods
|
|
2213
|
+
*
|
|
2214
|
+
* Methods that can be called to access component functionality.
|
|
2215
|
+
*
|
|
2216
|
+
* - `getResult() => null`: undefined
|
|
2217
|
+
*/
|
|
2218
|
+
"qti-null": Partial<QtiNullProps & BaseProps<QtiNull> & BaseEvents>;
|
|
2219
|
+
|
|
2220
|
+
|
|
2221
|
+
/**
|
|
2222
|
+
*
|
|
2223
|
+
*
|
|
2224
|
+
* #### Methods
|
|
2225
|
+
*
|
|
2226
|
+
* Methods that can be called to access component functionality.
|
|
2227
|
+
*
|
|
2228
|
+
* - `getResult() => boolean`: undefined
|
|
2229
|
+
*/
|
|
2230
|
+
"qti-is-null": Partial<QtiIsNullProps & BaseProps<QtiIsNull> & BaseEvents>;
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
/**
|
|
2234
|
+
*
|
|
2235
|
+
*
|
|
2236
|
+
* #### Methods
|
|
2237
|
+
*
|
|
2238
|
+
* Methods that can be called to access component functionality.
|
|
2239
|
+
*
|
|
2240
|
+
* - `getResult() => void`: undefined
|
|
2241
|
+
*/
|
|
2242
|
+
"qti-field-value": Partial<QtiFieldValueProps & BaseProps<QtiFieldValue> & BaseEvents>;
|
|
2243
|
+
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
*
|
|
2247
|
+
*
|
|
2248
|
+
* #### Methods
|
|
2249
|
+
*
|
|
2250
|
+
* Methods that can be called to access component functionality.
|
|
2251
|
+
*
|
|
2252
|
+
* - `getResult() => boolean`: undefined
|
|
2253
|
+
*/
|
|
2254
|
+
"qti-lt": Partial<QtiLtProps & BaseProps<QtiLt> & BaseEvents>;
|
|
2255
|
+
|
|
2256
|
+
|
|
2257
|
+
/**
|
|
2258
|
+
*
|
|
2259
|
+
*
|
|
2260
|
+
* #### Methods
|
|
2261
|
+
*
|
|
2262
|
+
* Methods that can be called to access component functionality.
|
|
2263
|
+
*
|
|
2264
|
+
* - `getResult() => boolean`: undefined
|
|
2265
|
+
*/
|
|
2266
|
+
"qti-lte": Partial<QtiLteProps & BaseProps<QtiLte> & BaseEvents>;
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
/**
|
|
2270
|
+
*
|
|
2271
|
+
*
|
|
2272
|
+
* #### Attributes & Properties
|
|
2273
|
+
*
|
|
2274
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2275
|
+
*
|
|
2276
|
+
* - `identifier`: undefined
|
|
2277
|
+
*
|
|
2278
|
+
* #### Methods
|
|
2279
|
+
*
|
|
2280
|
+
* Methods that can be called to access component functionality.
|
|
2281
|
+
*
|
|
2282
|
+
* - `getResult() => number`: undefined
|
|
2283
|
+
*/
|
|
2284
|
+
"qti-map-response": Partial<QtiMapResponseProps & BaseProps<QtiMapResponse> & BaseEvents>;
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
*
|
|
2289
|
+
*
|
|
2290
|
+
* #### Attributes & Properties
|
|
2291
|
+
*
|
|
2292
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2293
|
+
*
|
|
2294
|
+
* - `identifier`: undefined
|
|
2295
|
+
*
|
|
2296
|
+
* #### Methods
|
|
2297
|
+
*
|
|
2298
|
+
* Methods that can be called to access component functionality.
|
|
2299
|
+
*
|
|
2300
|
+
* - `getResult() => number`: undefined
|
|
2301
|
+
*/
|
|
2302
|
+
"qti-map-response-point": Partial<QtiMapResponsePointProps & BaseProps<QtiMapResponsePoint> & BaseEvents>;
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
*
|
|
2307
|
+
*
|
|
2308
|
+
* #### Attributes & Properties
|
|
2309
|
+
*
|
|
2310
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2311
|
+
*
|
|
2312
|
+
* - `name`: undefined
|
|
2313
|
+
*
|
|
2314
|
+
* #### Methods
|
|
2315
|
+
*
|
|
2316
|
+
* Methods that can be called to access component functionality.
|
|
2317
|
+
*
|
|
2318
|
+
* - `getResult() => number | null`: undefined
|
|
2319
|
+
*/
|
|
2320
|
+
"qti-math-operator": Partial<QtiMathOperatorProps & BaseProps<QtiMathOperator> & BaseEvents>;
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
*
|
|
2325
|
+
*
|
|
2326
|
+
* #### Methods
|
|
2327
|
+
*
|
|
2328
|
+
* Methods that can be called to access component functionality.
|
|
2329
|
+
*
|
|
2330
|
+
* - `getResult() => void`: undefined
|
|
2331
|
+
* - `match(valueToMap: ResponseVariable, correctValueInfo: ResponseVariable) => void`: undefined
|
|
2332
|
+
*/
|
|
2333
|
+
"qti-match": Partial<QtiMatchProps & BaseProps<QtiMatch> & BaseEvents>;
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
*
|
|
2339
|
+
* #### Methods
|
|
2340
|
+
*
|
|
2341
|
+
* Methods that can be called to access component functionality.
|
|
2342
|
+
*
|
|
2343
|
+
* - `getResult() => void`: undefined
|
|
2344
|
+
*/
|
|
2345
|
+
"qti-member": Partial<QtiMemberProps & BaseProps<QtiMember> & BaseEvents>;
|
|
2346
|
+
|
|
2347
|
+
|
|
2348
|
+
/**
|
|
2349
|
+
*
|
|
2350
|
+
*
|
|
2351
|
+
* #### Methods
|
|
2352
|
+
*
|
|
2353
|
+
* Methods that can be called to access component functionality.
|
|
2354
|
+
*
|
|
2355
|
+
* - `getResult() => ResponseVariable[]`: undefined
|
|
2356
|
+
*/
|
|
2357
|
+
"qti-multiple": Partial<QtiMultipleProps & BaseProps<QtiMultiple> & BaseEvents>;
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
*
|
|
2362
|
+
*
|
|
2363
|
+
* #### Methods
|
|
2364
|
+
*
|
|
2365
|
+
* Methods that can be called to access component functionality.
|
|
2366
|
+
*
|
|
2367
|
+
* - `getResult() => void`: undefined
|
|
2368
|
+
*/
|
|
2369
|
+
"qti-not": Partial<QtiNotProps & BaseProps<QtiNot> & BaseEvents>;
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
*
|
|
2374
|
+
*
|
|
2375
|
+
* #### Methods
|
|
2376
|
+
*
|
|
2377
|
+
* Methods that can be called to access component functionality.
|
|
2378
|
+
*
|
|
2379
|
+
* - `getResult() => void`: undefined
|
|
2380
|
+
*/
|
|
2381
|
+
"qti-or": Partial<QtiOrProps & BaseProps<QtiOr> & BaseEvents>;
|
|
2382
|
+
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
*
|
|
2386
|
+
*
|
|
2387
|
+
* #### Methods
|
|
2388
|
+
*
|
|
2389
|
+
* Methods that can be called to access component functionality.
|
|
2390
|
+
*
|
|
2391
|
+
* - `getResult() => ResponseVariable[]`: undefined
|
|
2392
|
+
*/
|
|
2393
|
+
"qti-ordered": Partial<QtiOrderedProps & BaseProps<QtiOrdered> & BaseEvents>;
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
*
|
|
2398
|
+
*
|
|
2399
|
+
* #### Methods
|
|
2400
|
+
*
|
|
2401
|
+
* Methods that can be called to access component functionality.
|
|
2402
|
+
*
|
|
2403
|
+
* - `getResult() => number | null`: undefined
|
|
2404
|
+
*/
|
|
2405
|
+
"qti-power": Partial<QtiPowerProps & BaseProps<QtiPower> & BaseEvents>;
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
*
|
|
2410
|
+
*
|
|
2411
|
+
* #### Attributes & Properties
|
|
2412
|
+
*
|
|
2413
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2414
|
+
*
|
|
2415
|
+
* - `identifier`: undefined
|
|
2416
|
+
*
|
|
2417
|
+
* #### Methods
|
|
2418
|
+
*
|
|
2419
|
+
* Methods that can be called to access component functionality.
|
|
2420
|
+
*
|
|
2421
|
+
* - `calculate() => VariableDeclaration<string | string[]>`: undefined
|
|
2422
|
+
*/
|
|
2423
|
+
"qti-printed-variable": Partial<QtiPrintedVariableProps & BaseProps<QtiPrintedVariable> & BaseEvents>;
|
|
2424
|
+
|
|
2425
|
+
|
|
2426
|
+
/**
|
|
2427
|
+
*
|
|
2428
|
+
*
|
|
2429
|
+
* #### Methods
|
|
2430
|
+
*
|
|
2431
|
+
* Methods that can be called to access component functionality.
|
|
2432
|
+
*
|
|
2433
|
+
* - `getResult() => void`: undefined
|
|
2434
|
+
*/
|
|
2435
|
+
"qti-product": Partial<QtiProductProps & BaseProps<QtiProduct> & BaseEvents>;
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
*
|
|
2440
|
+
*
|
|
2441
|
+
* #### Methods
|
|
2442
|
+
*
|
|
2443
|
+
* Methods that can be called to access component functionality.
|
|
2444
|
+
*
|
|
2445
|
+
* - `getResult() => void`: undefined
|
|
2446
|
+
* - `calculateChildren(children: Array<MockQtiExpression<any>>) => void`: undefined
|
|
2447
|
+
*/
|
|
2448
|
+
"qti-subtract": Partial<QtiSubtractProps & BaseProps<QtiSubtract> & BaseEvents>;
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
/**
|
|
2452
|
+
*
|
|
2453
|
+
*
|
|
2454
|
+
* #### Attributes & Properties
|
|
2455
|
+
*
|
|
2456
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2457
|
+
*
|
|
2458
|
+
* - `case-sensitive`/`caseSensitive`: undefined
|
|
2459
|
+
*
|
|
2460
|
+
* #### Methods
|
|
2461
|
+
*
|
|
2462
|
+
* Methods that can be called to access component functionality.
|
|
2463
|
+
*
|
|
2464
|
+
* - `getResult() => void`: undefined
|
|
2465
|
+
*/
|
|
2466
|
+
"qti-string-match": Partial<QtiStringMatchProps & BaseProps<QtiStringMatch> & BaseEvents>;
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
*
|
|
2471
|
+
*
|
|
2472
|
+
* #### Methods
|
|
2473
|
+
*
|
|
2474
|
+
* Methods that can be called to access component functionality.
|
|
2475
|
+
*
|
|
2476
|
+
* - `getResult() => void`: undefined
|
|
2477
|
+
*/
|
|
2478
|
+
"qti-sum": Partial<QtiSumProps & BaseProps<QtiSum> & BaseEvents>;
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
/**
|
|
2482
|
+
*
|
|
2483
|
+
*
|
|
2484
|
+
* #### Methods
|
|
2485
|
+
*
|
|
2486
|
+
* Methods that can be called to access component functionality.
|
|
2487
|
+
*
|
|
2488
|
+
* - `getResult() => void`: undefined
|
|
2489
|
+
*/
|
|
2490
|
+
"qti-variable": Partial<QtiVariableProps & BaseProps<QtiVariable> & BaseEvents>;
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
*
|
|
2495
|
+
*
|
|
2496
|
+
* #### Attributes & Properties
|
|
2497
|
+
*
|
|
2498
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2499
|
+
*
|
|
2500
|
+
* - `min`: undefined
|
|
2501
|
+
* - `max`: undefined
|
|
2502
|
+
* - `step`: undefined
|
|
2503
|
+
*
|
|
2504
|
+
* #### Methods
|
|
2505
|
+
*
|
|
2506
|
+
* Methods that can be called to access component functionality.
|
|
2507
|
+
*
|
|
2508
|
+
* - `getResult() => number`: undefined
|
|
2509
|
+
* - `getPossibleValues() => number[]`: Get all possible values for testing purposes
|
|
2510
|
+
*/
|
|
2511
|
+
"qti-random-integer": Partial<QtiRandomIntegerProps & BaseProps<QtiRandomInteger> & BaseEvents>;
|
|
2512
|
+
|
|
2513
|
+
|
|
2514
|
+
/**
|
|
2515
|
+
*
|
|
2516
|
+
*
|
|
2517
|
+
* #### Methods
|
|
2518
|
+
*
|
|
2519
|
+
* Methods that can be called to access component functionality.
|
|
2520
|
+
*
|
|
2521
|
+
* - `getResult() => void`: undefined
|
|
2522
|
+
*/
|
|
2523
|
+
"qti-random": Partial<QtiRandomProps & BaseProps<QtiRandom> & BaseEvents>;
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
*
|
|
2528
|
+
*
|
|
2529
|
+
* #### Methods
|
|
2530
|
+
*
|
|
2531
|
+
* Methods that can be called to access component functionality.
|
|
2532
|
+
*
|
|
2533
|
+
* - `getResult() => string[] | null`: undefined
|
|
2534
|
+
*/
|
|
2535
|
+
"qti-delete": Partial<QtiDeleteProps & BaseProps<QtiDelete> & BaseEvents>;
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
*
|
|
2540
|
+
*
|
|
2541
|
+
* #### Attributes & Properties
|
|
2542
|
+
*
|
|
2543
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2544
|
+
*
|
|
2545
|
+
* - `n`: undefined
|
|
2546
|
+
*
|
|
2547
|
+
* #### Methods
|
|
2548
|
+
*
|
|
2549
|
+
* Methods that can be called to access component functionality.
|
|
2550
|
+
*
|
|
2551
|
+
* - `getResult() => any`: undefined
|
|
2552
|
+
*/
|
|
2553
|
+
"qti-index": Partial<QtiIndexProps & BaseProps<QtiIndex> & BaseEvents>;
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
*
|
|
2558
|
+
*
|
|
2559
|
+
* #### Methods
|
|
2560
|
+
*
|
|
2561
|
+
* Methods that can be called to access component functionality.
|
|
2562
|
+
*
|
|
2563
|
+
* - `calculate() => void`: Evaluates the constraint condition
|
|
2564
|
+
* - `getSubRules() => QtiRule[]`: Template constraints don't have sub-rules like conditions
|
|
2565
|
+
* - `process() => void`: Process the template constraint
|
|
2566
|
+
*/
|
|
2567
|
+
"qti-template-constraint": Partial<QtiTemplateConstraintProps & BaseProps<QtiTemplateConstraint> & BaseEvents>;
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
*
|
|
2572
|
+
*
|
|
2573
|
+
* #### Events
|
|
2574
|
+
*
|
|
2575
|
+
* Events that will be emitted by the component.
|
|
2576
|
+
*
|
|
2577
|
+
* - `qti-template-processing-complete`: undefined
|
|
2578
|
+
*
|
|
2579
|
+
* #### Methods
|
|
2580
|
+
*
|
|
2581
|
+
* Methods that can be called to access component functionality.
|
|
2582
|
+
*
|
|
2583
|
+
* - `process() => void`: Process template rules to set template variable values
|
|
2584
|
+
*/
|
|
2585
|
+
"qti-template-processing": Partial<QtiTemplateProcessingProps & BaseProps<QtiTemplateProcessing> & BaseEvents>;
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
*
|
|
2592
|
+
* #### Attributes & Properties
|
|
2593
|
+
*
|
|
2594
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2595
|
+
*
|
|
2596
|
+
* - `shown`: undefined
|
|
2597
|
+
* - `disabled`: undefined
|
|
2598
|
+
* - `showCorrectText`: undefined
|
|
2599
|
+
* - `hideCorrectText`: undefined
|
|
2600
|
+
* - `noCorrectResponseText`: undefined
|
|
2601
|
+
* - `computedContext`: undefined (property only)
|
|
2602
|
+
*
|
|
2603
|
+
* #### Events
|
|
2604
|
+
*
|
|
2605
|
+
* Events that will be emitted by the component.
|
|
2606
|
+
*
|
|
2607
|
+
* - `item-show-correct-response`: undefined
|
|
2608
|
+
*/
|
|
2609
|
+
"item-show-correct-response": Partial<ItemShowCorrectResponseProps & BaseProps<ItemShowCorrectResponse> & BaseEvents>;
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
*
|
|
2614
|
+
*
|
|
2615
|
+
* #### Attributes & Properties
|
|
2616
|
+
*
|
|
2617
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2618
|
+
*
|
|
2619
|
+
* - `identifier`: undefined
|
|
2620
|
+
* - `adaptive`: undefined
|
|
2621
|
+
* - `timeDependent`: undefined
|
|
2622
|
+
* - `title`: undefined
|
|
2623
|
+
* - `disabled`: undefined
|
|
2624
|
+
* - `readonly`: undefined
|
|
2625
|
+
* - `assessmentItemRefId`: Sets the identifier for the assessment item reference if this item is in a test. (property only)
|
|
2626
|
+
* - `variables`: undefined (property only)
|
|
2627
|
+
* - `responses`: undefined (property only)
|
|
2628
|
+
*
|
|
2629
|
+
* #### Events
|
|
2630
|
+
*
|
|
2631
|
+
* Events that will be emitted by the component.
|
|
2632
|
+
*
|
|
2633
|
+
* - `qti-assessment-item-connected`: undefined
|
|
2634
|
+
* - `qti-item-context-updated`: Emitted when through a user action the itemContext is updated, typically on interaction with the interactions, or calling response processing.
|
|
2635
|
+
* - `qti-interaction-changed`: undefined
|
|
2636
|
+
* - `qti-outcome-changed`: undefined
|
|
2637
|
+
*
|
|
2638
|
+
* #### Methods
|
|
2639
|
+
*
|
|
2640
|
+
* Methods that can be called to access component functionality.
|
|
2641
|
+
*
|
|
2642
|
+
* - `showCorrectResponse(show: boolean) => void`: Toggles the display of correct responses for all interactions.
|
|
2643
|
+
* - `showCandidateCorrection(show: boolean) => void`: Toggles the display of the candidate correction for all interactions.
|
|
2644
|
+
* - `processResponse(countNumAttempts = true, reportValidityAfterScoring = true) => boolean`: undefined
|
|
2645
|
+
* - `resetResponses() => void`: undefined
|
|
2646
|
+
* - `setOutcomeVariable(identifier: string, value: string | string[] | undefined) => void`: undefined
|
|
2647
|
+
* - `validate(reportValidity = true) => boolean`: undefined
|
|
2648
|
+
* - `reportValidity() => void`: undefined
|
|
2649
|
+
*/
|
|
2650
|
+
"qti-assessment-item": Partial<QtiAssessmentItemProps & BaseProps<QtiAssessmentItem> & BaseEvents>;
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
/**
|
|
2654
|
+
* Represents a custom element for referencing an assessment stimulus.
|
|
2655
|
+
*
|
|
2656
|
+
* #### Attributes & Properties
|
|
2657
|
+
*
|
|
2658
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2659
|
+
*
|
|
2660
|
+
* - `identifier`: The identifier of the stimulus.
|
|
2661
|
+
* - `href`: The href of the stimulus.
|
|
2662
|
+
*
|
|
2663
|
+
* #### Methods
|
|
2664
|
+
*
|
|
2665
|
+
* Methods that can be called to access component functionality.
|
|
2666
|
+
*
|
|
2667
|
+
* - `updateStimulusRef(stimulusRef: Element) => void`: Loads and appends the stimulus to the specified element.
|
|
2668
|
+
*/
|
|
2669
|
+
"qti-assessment-stimulus-ref": Partial<QtiAssessmentStimulusRefProps & BaseProps<QtiAssessmentStimulusRef> & BaseEvents>;
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
*
|
|
2674
|
+
*/
|
|
2675
|
+
"qti-companion-materials-info": Partial<QtiCompanionMaterialsInfoProps & BaseProps<QtiCompanionMaterialsInfo> & BaseEvents>;
|
|
2676
|
+
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* https://www.imsglobal.org/spec/qti/v3p0/impl#h.fi29q8dubjgw
|
|
2680
|
+
* <qti-custom-operator class="js.org">
|
|
2681
|
+
* <qti-base-value base-type="string"><![CDATA[
|
|
2682
|
+
* console.log(context.variables);
|
|
2683
|
+
* return 'B'
|
|
2684
|
+
* document.querySelector('qti-end-attempt-interaction').disabled = true;
|
|
2685
|
+
* ]]></qti-base-value>
|
|
2686
|
+
* </qti-custom-operator>
|
|
2687
|
+
* </qti-set-outcome-value>
|
|
2688
|
+
*
|
|
2689
|
+
* #### Events
|
|
2690
|
+
*
|
|
2691
|
+
* Events that will be emitted by the component.
|
|
2692
|
+
*
|
|
2693
|
+
* - `qti-set-outcome-value`: undefined
|
|
2694
|
+
* - `qti-interaction-response`: undefined
|
|
2695
|
+
*
|
|
2696
|
+
* #### Methods
|
|
2697
|
+
*
|
|
2698
|
+
* Methods that can be called to access component functionality.
|
|
2699
|
+
*
|
|
2700
|
+
* - `handleSlotChange() => void`: undefined
|
|
2701
|
+
* - `calculate() => void`: undefined
|
|
2702
|
+
*/
|
|
2703
|
+
"qti-custom-operator": Partial<QtiCustomOperatorProps & BaseProps<QtiCustomOperator> & BaseEvents>;
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
/**
|
|
2707
|
+
*
|
|
2708
|
+
*
|
|
2709
|
+
* #### Attributes & Properties
|
|
2710
|
+
*
|
|
2711
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2712
|
+
*
|
|
2713
|
+
* - `show-hide`/`showHide`: undefined
|
|
2714
|
+
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
2715
|
+
* - `identifier`: undefined
|
|
2716
|
+
* - `showStatus`: undefined (property only)
|
|
2717
|
+
*
|
|
2718
|
+
* #### Events
|
|
2719
|
+
*
|
|
2720
|
+
* Events that will be emitted by the component.
|
|
2721
|
+
*
|
|
2722
|
+
* - `qti-register-feedback`: undefined
|
|
2723
|
+
*
|
|
2724
|
+
* #### Methods
|
|
2725
|
+
*
|
|
2726
|
+
* Methods that can be called to access component functionality.
|
|
2727
|
+
*
|
|
2728
|
+
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
2729
|
+
*/
|
|
2730
|
+
"qti-feedback-block": Partial<QtiFeedbackBlockProps & BaseProps<QtiFeedbackBlock> & BaseEvents>;
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
/**
|
|
2734
|
+
*
|
|
2735
|
+
*
|
|
2736
|
+
* #### Attributes & Properties
|
|
2737
|
+
*
|
|
2738
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2739
|
+
*
|
|
2740
|
+
* - `show-hide`/`showHide`: undefined
|
|
2741
|
+
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
2742
|
+
* - `identifier`: undefined
|
|
2743
|
+
* - `showStatus`: undefined (property only)
|
|
2744
|
+
*
|
|
2745
|
+
* #### Events
|
|
2746
|
+
*
|
|
2747
|
+
* Events that will be emitted by the component.
|
|
2748
|
+
*
|
|
2749
|
+
* - `qti-register-feedback`: undefined
|
|
2750
|
+
*
|
|
2751
|
+
* #### Methods
|
|
2752
|
+
*
|
|
2753
|
+
* Methods that can be called to access component functionality.
|
|
2754
|
+
*
|
|
2755
|
+
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
2756
|
+
*/
|
|
2757
|
+
"qti-feedback-inline": Partial<QtiFeedbackInlineProps & BaseProps<QtiFeedbackInline> & BaseEvents>;
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
/**
|
|
2761
|
+
*
|
|
2762
|
+
*
|
|
2763
|
+
* #### Attributes & Properties
|
|
2764
|
+
*
|
|
2765
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2766
|
+
*
|
|
2767
|
+
* - `show-hide`/`showHide`: undefined
|
|
2768
|
+
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
2769
|
+
* - `identifier`: undefined
|
|
2770
|
+
* - `showStatus`: undefined (property only)
|
|
2771
|
+
*
|
|
2772
|
+
* #### Events
|
|
2773
|
+
*
|
|
2774
|
+
* Events that will be emitted by the component.
|
|
2775
|
+
*
|
|
2776
|
+
* - `qti-register-feedback`: undefined
|
|
2777
|
+
*
|
|
2778
|
+
* #### Methods
|
|
2779
|
+
*
|
|
2780
|
+
* Methods that can be called to access component functionality.
|
|
2781
|
+
*
|
|
2782
|
+
* - `openFeedback() => void`: undefined
|
|
2783
|
+
* - `closeFeedback() => void`: undefined
|
|
2784
|
+
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
2785
|
+
*/
|
|
2786
|
+
"qti-modal-feedback": Partial<QtiModalFeedbackProps & BaseProps<QtiModalFeedback> & BaseEvents>;
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
/**
|
|
2790
|
+
*
|
|
2791
|
+
*
|
|
2792
|
+
* #### Events
|
|
2793
|
+
*
|
|
2794
|
+
* Events that will be emitted by the component.
|
|
2795
|
+
*
|
|
2796
|
+
* - `qti-register-hotspot`: undefined
|
|
2797
|
+
*/
|
|
2798
|
+
"qti-associable-hotspot": Partial<QtiAssociableHotspotProps & BaseProps<QtiAssociableHotspot> & BaseEvents>;
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
/**
|
|
2802
|
+
*
|
|
2803
|
+
*
|
|
2804
|
+
* #### Attributes & Properties
|
|
2805
|
+
*
|
|
2806
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2807
|
+
*
|
|
2808
|
+
* - `match-min`/`matchMin`: the minimal number of selections a candidate must make
|
|
2809
|
+
* - `match-max`/`matchMax`: the maximum number of selections a candidate must make, the other options will be disabled when max options is checked
|
|
2810
|
+
* - `fixed`: undefined
|
|
2811
|
+
* - `identifier`: undefined
|
|
2812
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
2813
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
2814
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
2815
|
+
* - `internals`: undefined (property only)
|
|
2816
|
+
*
|
|
2817
|
+
* #### Events
|
|
2818
|
+
*
|
|
2819
|
+
* Events that will be emitted by the component.
|
|
2820
|
+
*
|
|
2821
|
+
* - `undefined`: undefined
|
|
2822
|
+
*
|
|
2823
|
+
* #### Methods
|
|
2824
|
+
*
|
|
2825
|
+
* Methods that can be called to access component functionality.
|
|
2826
|
+
*
|
|
2827
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
2828
|
+
*/
|
|
2829
|
+
"qti-simple-associable-choice": Partial<QtiSimpleAssociableChoiceProps & BaseProps<QtiSimpleAssociableChoice> & BaseEvents>;
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
/**
|
|
2833
|
+
*
|
|
2834
|
+
*
|
|
2835
|
+
* #### Attributes & Properties
|
|
2836
|
+
*
|
|
2837
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2838
|
+
*
|
|
2839
|
+
* - `min-associations`/`minAssociations`: undefined
|
|
2840
|
+
* - `max-associations`/`maxAssociations`: undefined
|
|
2841
|
+
* - `response`: undefined (property only)
|
|
2842
|
+
*
|
|
2843
|
+
* #### Events
|
|
2844
|
+
*
|
|
2845
|
+
* Events that will be emitted by the component.
|
|
2846
|
+
*
|
|
2847
|
+
* - `qti-interaction-response`: undefined
|
|
2848
|
+
*
|
|
2849
|
+
* #### Methods
|
|
2850
|
+
*
|
|
2851
|
+
* Methods that can be called to access component functionality.
|
|
2852
|
+
*
|
|
2853
|
+
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
2854
|
+
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
2855
|
+
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
2856
|
+
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
2857
|
+
* - `validate() => boolean`: undefined
|
|
2858
|
+
* - `reportValidity() => boolean`: undefined
|
|
2859
|
+
* - `saveResponse() => void`: undefined
|
|
2860
|
+
* - `reset(save = true) => void`: undefined
|
|
2861
|
+
*/
|
|
2862
|
+
"qti-associate-interaction": Partial<QtiAssociateInteractionProps & BaseProps<QtiAssociateInteraction> & BaseEvents>;
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* qti-order-interaction
|
|
2867
|
+
* qti-choice-interaction
|
|
2868
|
+
*
|
|
2869
|
+
* #### Attributes & Properties
|
|
2870
|
+
*
|
|
2871
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2872
|
+
*
|
|
2873
|
+
* - `template-identifier`/`templateIdentifier`: undefined
|
|
2874
|
+
* - `show-hide`/`showHide`: undefined
|
|
2875
|
+
* - `fixed`: undefined
|
|
2876
|
+
* - `identifier`: undefined
|
|
2877
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
2878
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
2879
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
2880
|
+
* - `marker`: undefined (property only)
|
|
2881
|
+
* - `checked`: undefined (property only) (readonly)
|
|
2882
|
+
* - `internals`: undefined (property only)
|
|
2883
|
+
*
|
|
2884
|
+
* #### Events
|
|
2885
|
+
*
|
|
2886
|
+
* Events that will be emitted by the component.
|
|
2887
|
+
*
|
|
2888
|
+
* - `undefined`: undefined
|
|
2889
|
+
*
|
|
2890
|
+
* #### Methods
|
|
2891
|
+
*
|
|
2892
|
+
* Methods that can be called to access component functionality.
|
|
2893
|
+
*
|
|
2894
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
2895
|
+
*/
|
|
2896
|
+
"qti-simple-choice": Partial<QtiSimpleChoiceProps & BaseProps<QtiSimpleChoice> & BaseEvents>;
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
/**
|
|
2900
|
+
*
|
|
2901
|
+
*
|
|
2902
|
+
* #### Attributes & Properties
|
|
2903
|
+
*
|
|
2904
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2905
|
+
*
|
|
2906
|
+
* - `orientation`: undefined
|
|
2907
|
+
* - `class`: undefined
|
|
2908
|
+
* - `min-choices`/`minChoices`: undefined
|
|
2909
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
2910
|
+
* - `response`: undefined (property only)
|
|
2911
|
+
* - `value`: undefined (property only)
|
|
2912
|
+
*
|
|
2913
|
+
* #### Methods
|
|
2914
|
+
*
|
|
2915
|
+
* Methods that can be called to access component functionality.
|
|
2916
|
+
*
|
|
2917
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
2918
|
+
* - `validate() => boolean`: undefined
|
|
2919
|
+
* - `reportValidity() => void`: undefined
|
|
2920
|
+
*/
|
|
2921
|
+
"qti-choice-interaction": Partial<QtiChoiceInteractionProps & BaseProps<QtiChoiceInteraction> & BaseEvents>;
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
*
|
|
2926
|
+
*
|
|
2927
|
+
* #### Attributes & Properties
|
|
2928
|
+
*
|
|
2929
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2930
|
+
*
|
|
2931
|
+
* - `data`: undefined
|
|
2932
|
+
* - `data-base-item`/`baseItemUrl`: undefined
|
|
2933
|
+
* - `data-base-ref`/`baseRefUrl`: undefined
|
|
2934
|
+
* - `id`: undefined
|
|
2935
|
+
* - `manifest`: undefined (property only)
|
|
2936
|
+
* - `response`: undefined (property only)
|
|
2937
|
+
*
|
|
2938
|
+
* #### Methods
|
|
2939
|
+
*
|
|
2940
|
+
* Methods that can be called to access component functionality.
|
|
2941
|
+
*
|
|
2942
|
+
* - `setupCES() => void`: undefined
|
|
2943
|
+
* - `handlePostMessage(event: MessageEvent) => void`: undefined
|
|
2944
|
+
* - `validate() => boolean`: undefined
|
|
2945
|
+
*/
|
|
2946
|
+
"qti-custom-interaction": Partial<QtiCustomInteractionProps & BaseProps<QtiCustomInteraction> & BaseEvents>;
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
*
|
|
2951
|
+
*
|
|
2952
|
+
* #### Attributes & Properties
|
|
2953
|
+
*
|
|
2954
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2955
|
+
*
|
|
2956
|
+
* - `response-identifier`/`responseIdentifier`: undefined
|
|
2957
|
+
* - `disabled`: undefined
|
|
2958
|
+
* - `count-attempt`/`countAttempt`: Defines the number of attempts that a user can make using the 'endAttemptInteraction' mechanism (this can be used to limit the number of hints, etc.). [More information](https://www.imsglobal.org/sites/default/files/spec/qti/v3/info/index.html#DataCharacteristic_EndAttemptInteraction.Attr_count-attempt)
|
|
2959
|
+
* - `title`: undefined
|
|
2960
|
+
*
|
|
2961
|
+
* #### Events
|
|
2962
|
+
*
|
|
2963
|
+
* Events that will be emitted by the component.
|
|
2964
|
+
*
|
|
2965
|
+
* - `end-attempt`: undefined
|
|
2966
|
+
*
|
|
2967
|
+
* #### Methods
|
|
2968
|
+
*
|
|
2969
|
+
* Methods that can be called to access component functionality.
|
|
2970
|
+
*
|
|
2971
|
+
* - `endAttempt(_: Event) => void`: undefined
|
|
2972
|
+
*/
|
|
2973
|
+
"qti-end-attempt-interaction": Partial<QtiEndAttemptInteractionProps & BaseProps<QtiEndAttemptInteraction> & BaseEvents>;
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
/**
|
|
2977
|
+
*
|
|
2978
|
+
*
|
|
2979
|
+
* #### Attributes & Properties
|
|
2980
|
+
*
|
|
2981
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2982
|
+
*
|
|
2983
|
+
* - `expected-length`/`expectedLength`: expected length is mapped to the property maxlength on the textarea
|
|
2984
|
+
* - `pattern-mask`/`patternMask`: undefined
|
|
2985
|
+
* - `placeholder-text`/`placeholderText`: text appearing in the extended-text-interaction if it is empty
|
|
2986
|
+
* - `data-patternmask-message`/`dataPatternmaskMessage`: undefined
|
|
2987
|
+
* - `class`/`classNames`: undefined
|
|
2988
|
+
* - `response`: undefined (property only)
|
|
2989
|
+
* - `value`: undefined (property only)
|
|
2990
|
+
*
|
|
2991
|
+
* #### Methods
|
|
2992
|
+
*
|
|
2993
|
+
* Methods that can be called to access component functionality.
|
|
2994
|
+
*
|
|
2995
|
+
* - `handleclassNamesChange(_: any, classes: string) => void`: undefined
|
|
2996
|
+
* - `validate() => void`: undefined
|
|
2997
|
+
* - `toggleCorrectResponse() => void`: undefined
|
|
2998
|
+
* - `reportValidity() => void`: undefined
|
|
2999
|
+
*/
|
|
3000
|
+
"qti-extended-text-interaction": Partial<QtiExtendedTextInteractionProps & BaseProps<QtiExtendedTextInteraction> & BaseEvents>;
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
/**
|
|
3004
|
+
*
|
|
3005
|
+
*
|
|
3006
|
+
* #### Attributes & Properties
|
|
3007
|
+
*
|
|
3008
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3009
|
+
*
|
|
3010
|
+
* - `tabindex`: undefined
|
|
3011
|
+
*/
|
|
3012
|
+
"qti-gap-img": Partial<QtiGapImgProps & BaseProps<QtiGapImg> & BaseEvents>;
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
*
|
|
3017
|
+
*
|
|
3018
|
+
* #### Attributes & Properties
|
|
3019
|
+
*
|
|
3020
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3021
|
+
*
|
|
3022
|
+
* - `min-associations`/`minAssociations`: undefined
|
|
3023
|
+
* - `max-associations`/`maxAssociations`: undefined
|
|
3024
|
+
* - `response`: undefined (property only)
|
|
3025
|
+
*
|
|
3026
|
+
* #### Events
|
|
3027
|
+
*
|
|
3028
|
+
* Events that will be emitted by the component.
|
|
3029
|
+
*
|
|
3030
|
+
* - `qti-interaction-response`: undefined
|
|
3031
|
+
*
|
|
3032
|
+
* #### Methods
|
|
3033
|
+
*
|
|
3034
|
+
* Methods that can be called to access component functionality.
|
|
3035
|
+
*
|
|
3036
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
3037
|
+
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
3038
|
+
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
3039
|
+
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
3040
|
+
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
3041
|
+
* - `validate() => boolean`: undefined
|
|
3042
|
+
* - `reportValidity() => boolean`: undefined
|
|
3043
|
+
* - `saveResponse() => void`: undefined
|
|
3044
|
+
* - `reset(save = true) => void`: undefined
|
|
3045
|
+
*/
|
|
3046
|
+
"qti-gap-match-interaction": Partial<QtiGapMatchInteractionProps & BaseProps<QtiGapMatchInteraction> & BaseEvents>;
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
/**
|
|
3050
|
+
*
|
|
3051
|
+
*
|
|
3052
|
+
* #### Attributes & Properties
|
|
3053
|
+
*
|
|
3054
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3055
|
+
*
|
|
3056
|
+
* - `tabindex`: undefined
|
|
3057
|
+
* - `identifier`: undefined
|
|
3058
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
3059
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
3060
|
+
* - `tabIndex`: undefined (property only)
|
|
3061
|
+
* - `internals`: undefined (property only)
|
|
3062
|
+
*
|
|
3063
|
+
* #### Events
|
|
3064
|
+
*
|
|
3065
|
+
* Events that will be emitted by the component.
|
|
3066
|
+
*
|
|
3067
|
+
* - `undefined`: undefined
|
|
3068
|
+
*
|
|
3069
|
+
* #### Methods
|
|
3070
|
+
*
|
|
3071
|
+
* Methods that can be called to access component functionality.
|
|
3072
|
+
*
|
|
3073
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
3074
|
+
*/
|
|
3075
|
+
"qti-gap-text": Partial<QtiGapTextProps & BaseProps<QtiGapText> & BaseEvents>;
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
*
|
|
3080
|
+
*
|
|
3081
|
+
* #### Attributes & Properties
|
|
3082
|
+
*
|
|
3083
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3084
|
+
*
|
|
3085
|
+
* - `tabindex`: undefined
|
|
3086
|
+
*/
|
|
3087
|
+
"qti-gap": Partial<QtiGapProps & BaseProps<QtiGap> & BaseEvents>;
|
|
3088
|
+
|
|
3089
|
+
|
|
3090
|
+
/**
|
|
3091
|
+
*
|
|
3092
|
+
*
|
|
3093
|
+
* #### Attributes & Properties
|
|
3094
|
+
*
|
|
3095
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3096
|
+
*
|
|
3097
|
+
* - `aria-ordervalue`/`order`: undefined
|
|
3098
|
+
* - `aria-ordercorrectvalue`/`orderCorrect`: undefined
|
|
3099
|
+
* - `identifier`: undefined
|
|
3100
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
3101
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
3102
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
3103
|
+
* - `internals`: undefined (property only)
|
|
3104
|
+
*
|
|
3105
|
+
* #### Events
|
|
3106
|
+
*
|
|
3107
|
+
* Events that will be emitted by the component.
|
|
3108
|
+
*
|
|
3109
|
+
* - `undefined`: undefined
|
|
3110
|
+
*
|
|
3111
|
+
* #### Methods
|
|
3112
|
+
*
|
|
3113
|
+
* Methods that can be called to access component functionality.
|
|
3114
|
+
*
|
|
3115
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
3116
|
+
*/
|
|
3117
|
+
"qti-hotspot-choice": Partial<QtiHotspotChoiceProps & BaseProps<QtiHotspotChoice> & BaseEvents>;
|
|
3118
|
+
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
*
|
|
3122
|
+
*
|
|
3123
|
+
* #### Attributes & Properties
|
|
3124
|
+
*
|
|
3125
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3126
|
+
*
|
|
3127
|
+
* - `response`: undefined (property only)
|
|
3128
|
+
*
|
|
3129
|
+
* #### Methods
|
|
3130
|
+
*
|
|
3131
|
+
* Methods that can be called to access component functionality.
|
|
3132
|
+
*
|
|
3133
|
+
* - `reset() => void`: undefined
|
|
3134
|
+
* - `validate() => boolean`: undefined
|
|
3135
|
+
* - `toggleInternalCorrectResponse(show: boolean) => void`: undefined
|
|
3136
|
+
*/
|
|
3137
|
+
"qti-graphic-associate-interaction": Partial<QtiGraphicAssociateInteractionProps & BaseProps<QtiGraphicAssociateInteraction> & BaseEvents>;
|
|
3138
|
+
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
*
|
|
3142
|
+
*
|
|
3143
|
+
* #### Attributes & Properties
|
|
3144
|
+
*
|
|
3145
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3146
|
+
*
|
|
3147
|
+
* - `min-associations`/`minAssociations`: undefined
|
|
3148
|
+
* - `max-associations`/`maxAssociations`: undefined
|
|
3149
|
+
* - `response`: undefined (property only)
|
|
3150
|
+
*
|
|
3151
|
+
* #### Events
|
|
3152
|
+
*
|
|
3153
|
+
* Events that will be emitted by the component.
|
|
3154
|
+
*
|
|
3155
|
+
* - `qti-interaction-response`: undefined
|
|
3156
|
+
*
|
|
3157
|
+
* #### Methods
|
|
3158
|
+
*
|
|
3159
|
+
* Methods that can be called to access component functionality.
|
|
3160
|
+
*
|
|
3161
|
+
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
3162
|
+
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
3163
|
+
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
3164
|
+
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
3165
|
+
* - `validate() => boolean`: undefined
|
|
3166
|
+
* - `reportValidity() => boolean`: undefined
|
|
3167
|
+
* - `saveResponse() => void`: undefined
|
|
3168
|
+
* - `reset(save = true) => void`: undefined
|
|
3169
|
+
*/
|
|
3170
|
+
"qti-graphic-gap-match-interaction": Partial<QtiGraphicGapMatchInteractionProps & BaseProps<QtiGraphicGapMatchInteraction> & BaseEvents>;
|
|
3171
|
+
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
*
|
|
3175
|
+
*
|
|
3176
|
+
* #### Attributes & Properties
|
|
3177
|
+
*
|
|
3178
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3179
|
+
*
|
|
3180
|
+
* - `min-choices`/`minChoices`: undefined
|
|
3181
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
3182
|
+
* - `response`: undefined (property only)
|
|
3183
|
+
* - `value`: undefined (property only)
|
|
3184
|
+
*
|
|
3185
|
+
* #### Methods
|
|
3186
|
+
*
|
|
3187
|
+
* Methods that can be called to access component functionality.
|
|
3188
|
+
*
|
|
3189
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
3190
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
3191
|
+
* - `validate() => boolean`: undefined
|
|
3192
|
+
* - `reportValidity() => void`: undefined
|
|
3193
|
+
*/
|
|
3194
|
+
"qti-graphic-order-interaction": Partial<QtiGraphicOrderInteractionProps & BaseProps<QtiGraphicOrderInteraction> & BaseEvents>;
|
|
3195
|
+
|
|
3196
|
+
|
|
3197
|
+
/**
|
|
3198
|
+
*
|
|
3199
|
+
*
|
|
3200
|
+
* #### Attributes & Properties
|
|
3201
|
+
*
|
|
3202
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3203
|
+
*
|
|
3204
|
+
* - `min-choices`/`minChoices`: undefined
|
|
3205
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
3206
|
+
* - `response`: undefined (property only)
|
|
3207
|
+
* - `value`: undefined (property only)
|
|
3208
|
+
*
|
|
3209
|
+
* #### Methods
|
|
3210
|
+
*
|
|
3211
|
+
* Methods that can be called to access component functionality.
|
|
3212
|
+
*
|
|
3213
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
3214
|
+
* - `validate() => boolean`: undefined
|
|
3215
|
+
* - `reportValidity() => void`: undefined
|
|
3216
|
+
*/
|
|
3217
|
+
"qti-hotspot-interaction": Partial<QtiHotspotInteractionProps & BaseProps<QtiHotspotInteraction> & BaseEvents>;
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
/**
|
|
3221
|
+
*
|
|
3222
|
+
*
|
|
3223
|
+
* #### Attributes & Properties
|
|
3224
|
+
*
|
|
3225
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3226
|
+
*
|
|
3227
|
+
* - `class`: undefined
|
|
3228
|
+
* - `min-choices`/`minChoices`: undefined
|
|
3229
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
3230
|
+
* - `response`: undefined (property only)
|
|
3231
|
+
* - `value`: undefined (property only)
|
|
3232
|
+
*
|
|
3233
|
+
* #### Methods
|
|
3234
|
+
*
|
|
3235
|
+
* Methods that can be called to access component functionality.
|
|
3236
|
+
*
|
|
3237
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
3238
|
+
* - `validate() => boolean`: undefined
|
|
3239
|
+
* - `reportValidity() => void`: undefined
|
|
3240
|
+
*/
|
|
3241
|
+
"qti-hottext-interaction": Partial<QtiHottextInteractionProps & BaseProps<QtiHottextInteraction> & BaseEvents>;
|
|
3242
|
+
|
|
3243
|
+
|
|
3244
|
+
/**
|
|
3245
|
+
*
|
|
3246
|
+
*
|
|
3247
|
+
* #### Attributes & Properties
|
|
3248
|
+
*
|
|
3249
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3250
|
+
*
|
|
3251
|
+
* - `identifier`: undefined
|
|
3252
|
+
* - `tabindex`/`tabIndex`: undefined
|
|
3253
|
+
* - `aria-disabled`/`disabled`: undefined
|
|
3254
|
+
* - `aria-readonly`/`readonly`: undefined
|
|
3255
|
+
* - `internals`: undefined (property only)
|
|
3256
|
+
*
|
|
3257
|
+
* #### Events
|
|
3258
|
+
*
|
|
3259
|
+
* Events that will be emitted by the component.
|
|
3260
|
+
*
|
|
3261
|
+
* - `undefined`: undefined
|
|
3262
|
+
*
|
|
3263
|
+
* #### Methods
|
|
3264
|
+
*
|
|
3265
|
+
* Methods that can be called to access component functionality.
|
|
3266
|
+
*
|
|
3267
|
+
* - `handleDisabledChange(_oldValue: boolean, disabled: boolean) => void`: undefined
|
|
3268
|
+
*/
|
|
3269
|
+
"qti-hottext": Partial<QtiHottextProps & BaseProps<QtiHottext> & BaseEvents>;
|
|
3270
|
+
|
|
3271
|
+
|
|
3272
|
+
/**
|
|
3273
|
+
*
|
|
3274
|
+
*
|
|
3275
|
+
* #### Attributes & Properties
|
|
3276
|
+
*
|
|
3277
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3278
|
+
*
|
|
3279
|
+
* - `data-prompt`/`dataPrompt`: undefined
|
|
3280
|
+
* - `isInline`: undefined (property only) (readonly)
|
|
3281
|
+
* - `configContext`: undefined (property only)
|
|
3282
|
+
* - `response`: undefined (property only)
|
|
3283
|
+
*
|
|
3284
|
+
* #### Methods
|
|
3285
|
+
*
|
|
3286
|
+
* Methods that can be called to access component functionality.
|
|
3287
|
+
*
|
|
3288
|
+
* - `validate() => boolean`: undefined
|
|
3289
|
+
* - `reset() => void`: undefined
|
|
3290
|
+
* - `toggleInternalCorrectResponse(show: boolean) => void`: undefined
|
|
3291
|
+
*/
|
|
3292
|
+
"qti-inline-choice-interaction": Partial<QtiInlineChoiceInteractionProps & BaseProps<QtiInlineChoiceInteraction> & BaseEvents>;
|
|
3293
|
+
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
*
|
|
3297
|
+
*
|
|
3298
|
+
* #### Attributes & Properties
|
|
3299
|
+
*
|
|
3300
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3301
|
+
*
|
|
3302
|
+
* - `identifier`: undefined
|
|
3303
|
+
*
|
|
3304
|
+
* #### Events
|
|
3305
|
+
*
|
|
3306
|
+
* Events that will be emitted by the component.
|
|
3307
|
+
*
|
|
3308
|
+
* - `qti-inline-choice-register`: undefined
|
|
3309
|
+
* - `qti-inline-choice-select`: undefined
|
|
3310
|
+
*/
|
|
3311
|
+
"qti-inline-choice": Partial<QtiInlineChoiceProps & BaseProps<QtiInlineChoice> & BaseEvents>;
|
|
3312
|
+
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
*
|
|
3316
|
+
*
|
|
3317
|
+
* #### Attributes & Properties
|
|
3318
|
+
*
|
|
3319
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3320
|
+
*
|
|
3321
|
+
* - `class`: undefined
|
|
3322
|
+
* - `response-identifier`/`responseIdentifier`: undefined
|
|
3323
|
+
* - `min-associations`/`minAssociations`: undefined
|
|
3324
|
+
* - `max-associations`/`maxAssociations`: undefined
|
|
3325
|
+
* - `response`: undefined (property only)
|
|
3326
|
+
*
|
|
3327
|
+
* #### Events
|
|
3328
|
+
*
|
|
3329
|
+
* Events that will be emitted by the component.
|
|
3330
|
+
*
|
|
3331
|
+
* - `qti-interaction-response`: undefined
|
|
3332
|
+
*
|
|
3333
|
+
* #### Methods
|
|
3334
|
+
*
|
|
3335
|
+
* Methods that can be called to access component functionality.
|
|
3336
|
+
*
|
|
3337
|
+
* - `validate() => boolean`: undefined
|
|
3338
|
+
* - `toggleInternalCorrectResponse(show: boolean) => void`: undefined
|
|
3339
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
3340
|
+
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
3341
|
+
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
3342
|
+
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
3343
|
+
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
3344
|
+
* - `reportValidity() => boolean`: undefined
|
|
3345
|
+
* - `saveResponse() => void`: undefined
|
|
3346
|
+
* - `reset(save = true) => void`: undefined
|
|
3347
|
+
*/
|
|
3348
|
+
"qti-match-interaction": Partial<QtiMatchInteractionProps & BaseProps<QtiMatchInteraction> & BaseEvents>;
|
|
3349
|
+
|
|
3350
|
+
|
|
3351
|
+
/**
|
|
3352
|
+
*
|
|
3353
|
+
*
|
|
3354
|
+
* #### Attributes & Properties
|
|
3355
|
+
*
|
|
3356
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3357
|
+
*
|
|
3358
|
+
* - `response`: undefined (property only)
|
|
3359
|
+
*
|
|
3360
|
+
* #### Methods
|
|
3361
|
+
*
|
|
3362
|
+
* Methods that can be called to access component functionality.
|
|
3363
|
+
*
|
|
3364
|
+
* - `reset() => void`: undefined
|
|
3365
|
+
* - `validate() => boolean`: undefined
|
|
3366
|
+
*/
|
|
3367
|
+
"qti-media-interaction": Partial<QtiMediaInteractionProps & BaseProps<QtiMediaInteraction> & BaseEvents>;
|
|
3368
|
+
|
|
3369
|
+
|
|
3370
|
+
/**
|
|
3371
|
+
*
|
|
3372
|
+
*
|
|
3373
|
+
* #### Attributes & Properties
|
|
3374
|
+
*
|
|
3375
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3376
|
+
*
|
|
3377
|
+
* - `orientation`: orientation of choices
|
|
3378
|
+
* - `min-associations`/`minAssociations`: undefined
|
|
3379
|
+
* - `max-associations`/`maxAssociations`: undefined
|
|
3380
|
+
* - `correctResponses`: undefined (property only)
|
|
3381
|
+
* - `showCorrectResponses`: undefined (property only)
|
|
3382
|
+
* - `response`: undefined (property only)
|
|
3383
|
+
*
|
|
3384
|
+
* #### Events
|
|
3385
|
+
*
|
|
3386
|
+
* Events that will be emitted by the component.
|
|
3387
|
+
*
|
|
3388
|
+
* - `qti-interaction-response`: undefined
|
|
3389
|
+
*
|
|
3390
|
+
* #### Methods
|
|
3391
|
+
*
|
|
3392
|
+
* Methods that can be called to access component functionality.
|
|
3393
|
+
*
|
|
3394
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
3395
|
+
* - `getValue(val: string[]) => void`: undefined
|
|
3396
|
+
* - `handleDraggableContainerChange(dragContainersAdded: HTMLElement[], dragContainersRemoved: HTMLElement[]) => void`: undefined
|
|
3397
|
+
* - `dragContainersModified(addedDragContainers: HTMLElement[], removedDragContainers: HTMLElement[]) => void`: undefined
|
|
3398
|
+
* - `handleDraggablesChange(dragsAdded: HTMLElement[], dragsRemoved: HTMLElement[]) => void`: undefined
|
|
3399
|
+
* - `handleDroppablesChange(dropsAdded: HTMLElement[], dropsRemoved: HTMLElement[]) => void`: undefined
|
|
3400
|
+
* - `validate() => boolean`: undefined
|
|
3401
|
+
* - `reportValidity() => boolean`: undefined
|
|
3402
|
+
* - `saveResponse() => void`: undefined
|
|
3403
|
+
* - `reset(save = true) => void`: undefined
|
|
3404
|
+
*/
|
|
3405
|
+
"qti-order-interaction": Partial<QtiOrderInteractionProps & BaseProps<QtiOrderInteraction> & BaseEvents>;
|
|
3406
|
+
|
|
3407
|
+
|
|
3408
|
+
/**
|
|
3409
|
+
*
|
|
3410
|
+
*
|
|
3411
|
+
* #### Attributes & Properties
|
|
3412
|
+
*
|
|
3413
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3414
|
+
*
|
|
3415
|
+
* - `module`: undefined
|
|
3416
|
+
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
3417
|
+
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
3418
|
+
* - `data-require-shim`/`requireShimJson`: undefined
|
|
3419
|
+
* - `data-require-js-url`/`requireJsUrl`: undefined
|
|
3420
|
+
* - `data-base-url`/`baseUrl`: undefined
|
|
3421
|
+
* - `data-use-iframe`/`useIframe`: undefined
|
|
3422
|
+
* - `data-use-default-shims`/`useDefaultShims`: undefined
|
|
3423
|
+
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
3424
|
+
* - `response`: undefined (property only)
|
|
3425
|
+
* - `value`: undefined (property only)
|
|
3426
|
+
* - `boundTo`: undefined (property only)
|
|
3427
|
+
* - `loadConfig`: DIRECT MODE: Load config from URL (property only)
|
|
3428
|
+
* - `getResolvablePathString`: DIRECT MODE: Helper method to get resolvable path string (property only)
|
|
3429
|
+
* - `getResolvablePath`: DIRECT MODE: Helper method to get resolvable path (property only)
|
|
3430
|
+
*
|
|
3431
|
+
* #### Methods
|
|
3432
|
+
*
|
|
3433
|
+
* Methods that can be called to access component functionality.
|
|
3434
|
+
*
|
|
3435
|
+
* - `validate() => boolean`: undefined
|
|
3436
|
+
* - `register(pci: IMSpci<ConfigProperties<unknown>>) => void`: DIRECT MODE: Register PCI instance
|
|
3437
|
+
* - `buildRequireConfig() => void`: DIRECT MODE: Build RequireJS configuration
|
|
3438
|
+
* - `toggleInternalCorrectResponse(show: boolean, responseVariable) => void`: Toggle the display of the correct response
|
|
3439
|
+
* - `disable() => void`: Method to disable the PCI for review mode
|
|
3440
|
+
* This can be used when showing the correct response
|
|
3441
|
+
* - `enable() => void`: Method to enable the PCI for interactive mode
|
|
3442
|
+
*/
|
|
3443
|
+
"qti-portable-custom-interaction": Partial<QtiPortableCustomInteractionProps & BaseProps<QtiPortableCustomInteraction> & BaseEvents>;
|
|
3444
|
+
|
|
3445
|
+
|
|
3446
|
+
/**
|
|
3447
|
+
*
|
|
3448
|
+
*/
|
|
3449
|
+
"qti-position-object-interaction": Partial<QtiPositionObjectInteractionProps & BaseProps<QtiPositionObjectInteraction> & BaseEvents>;
|
|
3450
|
+
|
|
3451
|
+
|
|
3452
|
+
/**
|
|
3453
|
+
*
|
|
3454
|
+
*
|
|
3455
|
+
* #### Attributes & Properties
|
|
3456
|
+
*
|
|
3457
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3458
|
+
*
|
|
3459
|
+
* - `choiceOrdering`: undefined (property only)
|
|
3460
|
+
* - `startX`: undefined (property only)
|
|
3461
|
+
* - `startY`: undefined (property only)
|
|
3462
|
+
* - `dragElement`: undefined (property only)
|
|
3463
|
+
*
|
|
3464
|
+
* #### Methods
|
|
3465
|
+
*
|
|
3466
|
+
* Methods that can be called to access component functionality.
|
|
3467
|
+
*
|
|
3468
|
+
* - `dragElementHandler(event) => void`: undefined
|
|
3469
|
+
* - `removeMoveListener() => void`: undefined
|
|
3470
|
+
*/
|
|
3471
|
+
"qti-position-object-stage": Partial<QtiPositionObjectStageProps & BaseProps<QtiPositionObjectStage> & BaseEvents>;
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
*
|
|
3476
|
+
*
|
|
3477
|
+
* #### Attributes & Properties
|
|
3478
|
+
*
|
|
3479
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3480
|
+
*
|
|
3481
|
+
* - `max-choices`/`maxChoices`: undefined
|
|
3482
|
+
* - `min-choices`/`minChoices`: undefined
|
|
3483
|
+
* - `response`: undefined (property only)
|
|
3484
|
+
* - `responsePoints`: undefined (property only) (readonly)
|
|
3485
|
+
*
|
|
3486
|
+
* #### Methods
|
|
3487
|
+
*
|
|
3488
|
+
* Methods that can be called to access component functionality.
|
|
3489
|
+
*
|
|
3490
|
+
* - `toggleCandidateCorrection(show: boolean) => void`: undefined
|
|
3491
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
3492
|
+
* - `validate() => boolean`: undefined
|
|
3493
|
+
*/
|
|
3494
|
+
"qti-select-point-interaction": Partial<QtiSelectPointInteractionProps & BaseProps<QtiSelectPointInteraction> & BaseEvents>;
|
|
3495
|
+
|
|
3496
|
+
|
|
3497
|
+
/**
|
|
3498
|
+
*
|
|
3499
|
+
*
|
|
3500
|
+
* #### Attributes & Properties
|
|
3501
|
+
*
|
|
3502
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3503
|
+
*
|
|
3504
|
+
* - `lower-bound`/`min`: undefined
|
|
3505
|
+
* - `upper-bound`/`max`: undefined
|
|
3506
|
+
* - `step`: undefined
|
|
3507
|
+
* - `response`: undefined (property only)
|
|
3508
|
+
*
|
|
3509
|
+
* #### Events
|
|
3510
|
+
*
|
|
3511
|
+
* Events that will be emitted by the component.
|
|
3512
|
+
*
|
|
3513
|
+
* - `change`: undefined
|
|
3514
|
+
*
|
|
3515
|
+
* #### Methods
|
|
3516
|
+
*
|
|
3517
|
+
* Methods that can be called to access component functionality.
|
|
3518
|
+
*
|
|
3519
|
+
* - `validate() => boolean`: undefined
|
|
3520
|
+
* - `toggleCorrectResponse(show: boolean) => void`: undefined
|
|
3521
|
+
*/
|
|
3522
|
+
"qti-slider-interaction": Partial<QtiSliderInteractionProps & BaseProps<QtiSliderInteraction> & BaseEvents>;
|
|
3523
|
+
|
|
3524
|
+
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
*
|
|
3528
|
+
* #### Attributes & Properties
|
|
3529
|
+
*
|
|
3530
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3531
|
+
*
|
|
3532
|
+
* - `expected-length`/`expectedLength`: undefined
|
|
3533
|
+
* - `pattern-mask`/`patternMask`: undefined
|
|
3534
|
+
* - `placeholder-text`/`placeholderText`: undefined
|
|
3535
|
+
* - `data-patternmask-message`/`dataPatternmaskMessage`: undefined
|
|
3536
|
+
* - `inputRef`: undefined (property only)
|
|
3537
|
+
* - `response`: undefined (property only)
|
|
3538
|
+
* - `value`: undefined (property only)
|
|
3539
|
+
* - `correctness`: undefined (property only) (readonly)
|
|
3540
|
+
* - `isInline`: undefined (property only) (readonly)
|
|
3541
|
+
*
|
|
3542
|
+
* #### Methods
|
|
3543
|
+
*
|
|
3544
|
+
* Methods that can be called to access component functionality.
|
|
3545
|
+
*
|
|
3546
|
+
* - `validate() => boolean`: undefined
|
|
3547
|
+
* - `toggleInternalCorrectResponse(show: boolean) => void`: undefined
|
|
3548
|
+
* - `reportValidity() => boolean`: undefined
|
|
3549
|
+
* - `reset() => void`: undefined
|
|
3550
|
+
*/
|
|
3551
|
+
"qti-text-entry-interaction": Partial<QtiTextEntryInteractionProps & BaseProps<QtiTextEntryInteraction> & BaseEvents>;
|
|
3552
|
+
|
|
3553
|
+
|
|
3554
|
+
/**
|
|
3555
|
+
*
|
|
3556
|
+
*
|
|
3557
|
+
* #### Attributes & Properties
|
|
3558
|
+
*
|
|
3559
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3560
|
+
*
|
|
3561
|
+
* - `response`: undefined (property only)
|
|
3562
|
+
*
|
|
3563
|
+
* #### Events
|
|
3564
|
+
*
|
|
3565
|
+
* Events that will be emitted by the component.
|
|
3566
|
+
*
|
|
3567
|
+
* - `qti-interaction-response`: undefined
|
|
3568
|
+
*
|
|
3569
|
+
* #### Methods
|
|
3570
|
+
*
|
|
3571
|
+
* Methods that can be called to access component functionality.
|
|
3572
|
+
*
|
|
3573
|
+
* - `reset() => void`: undefined
|
|
3574
|
+
* - `validate() => boolean`: undefined
|
|
3575
|
+
*/
|
|
3576
|
+
"qti-upload-interaction": Partial<QtiUploadInteractionProps & BaseProps<QtiUploadInteraction> & BaseEvents>;
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
/**
|
|
3580
|
+
*
|
|
3581
|
+
*
|
|
3582
|
+
* #### Slots
|
|
3583
|
+
*
|
|
3584
|
+
* Areas where markup can be added to the component.
|
|
3585
|
+
*
|
|
3586
|
+
* - `(default)`: item body content.
|
|
3587
|
+
* - `qti-rubric-block`: the qti rubric block is placed above the item
|
|
3588
|
+
*
|
|
3589
|
+
* #### CSS Parts
|
|
3590
|
+
*
|
|
3591
|
+
* Custom selectors for styling elements within the component.
|
|
3592
|
+
*
|
|
3593
|
+
* - `qti-rubric-block`: the qti rubric block part
|
|
3594
|
+
*/
|
|
3595
|
+
"qti-item-body": Partial<QtiItemBodyProps & BaseProps<QtiItemBody> & BaseEvents>;
|
|
3596
|
+
|
|
3597
|
+
|
|
3598
|
+
/**
|
|
3599
|
+
*
|
|
3600
|
+
*
|
|
3601
|
+
* #### Methods
|
|
3602
|
+
*
|
|
3603
|
+
* Methods that can be called to access component functionality.
|
|
3604
|
+
*
|
|
3605
|
+
* - `process() => void`: undefined
|
|
3606
|
+
*/
|
|
3607
|
+
"qti-outcome-processing": Partial<QtiOutcomeProcessingProps & BaseProps<QtiOutcomeProcessing> & BaseEvents>;
|
|
3608
|
+
|
|
3609
|
+
|
|
3610
|
+
/**
|
|
3611
|
+
*
|
|
3612
|
+
*/
|
|
3613
|
+
"qti-prompt": Partial<QtiPromptProps & BaseProps<QtiPrompt> & BaseEvents>;
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
*
|
|
3618
|
+
*/
|
|
3619
|
+
"qti-content-body": Partial<QtiContentBodyProps & BaseProps<QtiContentBody> & BaseEvents>;
|
|
3620
|
+
|
|
3621
|
+
|
|
3622
|
+
/**
|
|
3623
|
+
*
|
|
3624
|
+
*
|
|
3625
|
+
* #### Attributes & Properties
|
|
3626
|
+
*
|
|
3627
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3628
|
+
*
|
|
3629
|
+
* - `id`: undefined
|
|
3630
|
+
* - `use`: undefined
|
|
3631
|
+
* - `view`: undefined
|
|
3632
|
+
* - `class`/`classNames`: undefined
|
|
3633
|
+
*
|
|
3634
|
+
* #### Methods
|
|
3635
|
+
*
|
|
3636
|
+
* Methods that can be called to access component functionality.
|
|
3637
|
+
*
|
|
3638
|
+
* - `handleclassNamesChange() => void`: undefined
|
|
3639
|
+
*/
|
|
3640
|
+
"qti-rubric-block": Partial<QtiRubricBlockProps & BaseProps<QtiRubricBlock> & BaseEvents>;
|
|
3641
|
+
|
|
3642
|
+
|
|
3643
|
+
/**
|
|
3644
|
+
*
|
|
3645
|
+
*/
|
|
3646
|
+
"qti-stylesheet": Partial<QtiStylesheetProps & BaseProps<QtiStylesheet> & BaseEvents>;
|
|
3647
|
+
|
|
3648
|
+
|
|
3649
|
+
/**
|
|
3650
|
+
*
|
|
3651
|
+
*/
|
|
3652
|
+
"qti-variabledeclaration": Partial<QtiVariableDeclarationProps & BaseProps<QtiVariableDeclaration> & BaseEvents>;
|
|
3653
|
+
|
|
3654
|
+
|
|
3655
|
+
/**
|
|
3656
|
+
*
|
|
3657
|
+
*
|
|
3658
|
+
* #### Attributes & Properties
|
|
3659
|
+
*
|
|
3660
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3661
|
+
*
|
|
3662
|
+
* - `base-type`/`baseType`: undefined
|
|
3663
|
+
* - `external-scored`/`externalScored`: undefined
|
|
3664
|
+
* - `identifier`: undefined
|
|
3665
|
+
* - `cardinality`: undefined
|
|
3666
|
+
* - `itemContext`: undefined (property only)
|
|
3667
|
+
* - `interpolationTable`: undefined (property only) (readonly)
|
|
3668
|
+
*
|
|
3669
|
+
* #### Events
|
|
3670
|
+
*
|
|
3671
|
+
* Events that will be emitted by the component.
|
|
3672
|
+
*
|
|
3673
|
+
* - `qti-register-variable`: undefined
|
|
3674
|
+
*/
|
|
3675
|
+
"qti-outcome-declaration": Partial<QtiOutcomeDeclarationProps & BaseProps<QtiOutcomeDeclaration> & BaseEvents>;
|
|
3676
|
+
|
|
3677
|
+
|
|
3678
|
+
/**
|
|
3679
|
+
*
|
|
3680
|
+
*
|
|
3681
|
+
* #### Attributes & Properties
|
|
3682
|
+
*
|
|
3683
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3684
|
+
*
|
|
3685
|
+
* - `base-type`/`baseType`: undefined
|
|
3686
|
+
* - `identifier`: undefined
|
|
3687
|
+
* - `cardinality`: undefined
|
|
3688
|
+
* - `itemContext`: undefined (property only)
|
|
3689
|
+
*
|
|
3690
|
+
* #### Events
|
|
3691
|
+
*
|
|
3692
|
+
* Events that will be emitted by the component.
|
|
3693
|
+
*
|
|
3694
|
+
* - `qti-register-variable`: undefined
|
|
3695
|
+
*/
|
|
3696
|
+
"qti-response-declaration": Partial<QtiResponseDeclarationProps & BaseProps<QtiResponseDeclaration> & BaseEvents>;
|
|
3697
|
+
|
|
3698
|
+
|
|
3699
|
+
/**
|
|
3700
|
+
* Test-specific extension of QtiPortableCustomInteraction that adds methods
|
|
3701
|
+
* for interacting with the iframe content in tests.
|
|
3702
|
+
*
|
|
3703
|
+
* #### Attributes & Properties
|
|
3704
|
+
*
|
|
3705
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3706
|
+
*
|
|
3707
|
+
* - `module`: undefined
|
|
3708
|
+
* - `custom-interaction-type-identifier`/`customInteractionTypeIdentifier`: undefined
|
|
3709
|
+
* - `data-require-paths`/`requirePathsJson`: undefined
|
|
3710
|
+
* - `data-require-shim`/`requireShimJson`: undefined
|
|
3711
|
+
* - `data-require-js-url`/`requireJsUrl`: undefined
|
|
3712
|
+
* - `data-base-url`/`baseUrl`: undefined
|
|
3713
|
+
* - `data-use-iframe`/`useIframe`: undefined
|
|
3714
|
+
* - `data-use-default-shims`/`useDefaultShims`: undefined
|
|
3715
|
+
* - `data-use-default-paths`/`useDefaultPaths`: undefined
|
|
3716
|
+
* - `response`: undefined (property only)
|
|
3717
|
+
* - `value`: undefined (property only)
|
|
3718
|
+
* - `boundTo`: undefined (property only)
|
|
3719
|
+
* - `loadConfig`: DIRECT MODE: Load config from URL (property only)
|
|
3720
|
+
* - `getResolvablePathString`: DIRECT MODE: Helper method to get resolvable path string (property only)
|
|
3721
|
+
* - `getResolvablePath`: DIRECT MODE: Helper method to get resolvable path (property only)
|
|
3722
|
+
*
|
|
3723
|
+
* #### Methods
|
|
3724
|
+
*
|
|
3725
|
+
* Methods that can be called to access component functionality.
|
|
3726
|
+
*
|
|
3727
|
+
* - `getIFrameContent() => void`: Gets the HTML content of the iframe for testing purposes
|
|
3728
|
+
* - `setTestContext(newContext: ItemContext) => void`: undefined
|
|
3729
|
+
* - `recreateIframe() => void`: Recreates the iframe completely
|
|
3730
|
+
* - `iFrameMouseClick(x: number, y: number) => void`: Simulates a mouse click at specific coordinates within the iframe
|
|
3731
|
+
* - `iFrameClickOnElement(selector: string) => void`: Clicks on an element identified by a CSS selector
|
|
3732
|
+
* - `iFrameClickOnElementByText(text: string) => void`: Clicks on an element containing the specified text
|
|
3733
|
+
* - `iFrameSetValueElement(selector: string, value: string) => void`: Sets the value of an input element identified by a CSS selector
|
|
3734
|
+
* - `iFrameSetValueElementByText(text: string, value: string) => void`: Sets the value of an input element containing the specified text
|
|
3735
|
+
* - `iFrameMousedownOnElement(selector: string) => void`: Performs a mousedown event on an element identified by a CSS selector
|
|
3736
|
+
* - `validate() => boolean`: undefined
|
|
3737
|
+
* - `register(pci: IMSpci<ConfigProperties<unknown>>) => void`: DIRECT MODE: Register PCI instance
|
|
3738
|
+
* - `buildRequireConfig() => void`: DIRECT MODE: Build RequireJS configuration
|
|
3739
|
+
* - `toggleInternalCorrectResponse(show: boolean, responseVariable) => void`: Toggle the display of the correct response
|
|
3740
|
+
* - `disable() => void`: Method to disable the PCI for review mode
|
|
3741
|
+
* This can be used when showing the correct response
|
|
3742
|
+
* - `enable() => void`: Method to enable the PCI for interactive mode
|
|
3743
|
+
*/
|
|
3744
|
+
"qti-portable-custom-interaction-test": Partial<QtiPortableCustomInteractionTestProps & BaseProps<QtiPortableCustomInteractionTest> & BaseEvents>;
|
|
3745
|
+
|
|
3746
|
+
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
*
|
|
3750
|
+
* #### Attributes & Properties
|
|
3751
|
+
*
|
|
3752
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3753
|
+
*
|
|
3754
|
+
* - `identifier`: undefined
|
|
3755
|
+
* - `cardinality`: undefined
|
|
3756
|
+
* - `base-type`/`baseType`: undefined
|
|
3757
|
+
* - `math-variable`/`mathVariable`: undefined
|
|
3758
|
+
* - `param-variable`/`paramVariable`: undefined
|
|
3759
|
+
*
|
|
3760
|
+
* #### Events
|
|
3761
|
+
*
|
|
3762
|
+
* Events that will be emitted by the component.
|
|
3763
|
+
*
|
|
3764
|
+
* - `qti-register-variable`: undefined
|
|
3765
|
+
*
|
|
3766
|
+
* #### Methods
|
|
3767
|
+
*
|
|
3768
|
+
* Methods that can be called to access component functionality.
|
|
3769
|
+
*
|
|
3770
|
+
* - `getTemplateVariable() => TemplateVariable`: Get the template variable definition
|
|
3771
|
+
*/
|
|
3772
|
+
"qti-template-declaration": Partial<QtiTemplateDeclarationProps & BaseProps<QtiTemplateDeclaration> & BaseEvents>;
|
|
3773
|
+
|
|
3774
|
+
|
|
3775
|
+
/**
|
|
3776
|
+
*
|
|
3777
|
+
*
|
|
3778
|
+
* #### Attributes & Properties
|
|
3779
|
+
*
|
|
3780
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3781
|
+
*
|
|
3782
|
+
* - `class`: undefined
|
|
3783
|
+
*/
|
|
3784
|
+
"test-element": Partial<TestElementProps & BaseProps<TestElement> & BaseEvents>;
|
|
3785
|
+
|
|
3786
|
+
|
|
3787
|
+
/**
|
|
3788
|
+
*
|
|
3789
|
+
*
|
|
3790
|
+
* #### Attributes & Properties
|
|
3791
|
+
*
|
|
3792
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3793
|
+
*
|
|
3794
|
+
* - `class`: undefined
|
|
3795
|
+
* - `shuffle`: undefined (property only)
|
|
3796
|
+
* - `value`: undefined (property only) (readonly)
|
|
3797
|
+
*
|
|
3798
|
+
* #### Methods
|
|
3799
|
+
*
|
|
3800
|
+
* Methods that can be called to access component functionality.
|
|
3801
|
+
*
|
|
3802
|
+
* - `validate() => boolean`: undefined
|
|
3803
|
+
*/
|
|
3804
|
+
"test-element": Partial<TestElementProps & BaseProps<TestElement> & BaseEvents>;
|
|
3805
|
+
|
|
3806
|
+
|
|
3807
|
+
/**
|
|
3808
|
+
* `<item-container>` is a custom element designed for hosting the qti-assessment-item.
|
|
3809
|
+
* The `qti-assessment-item` will be placed inside the shadow DOM of this element.
|
|
3810
|
+
* The element loads the item from the provided URL and renders it inside the shadow DOM.
|
|
3811
|
+
*
|
|
3812
|
+
* ### Styling
|
|
3813
|
+
* Add a class to the element for styling.
|
|
3814
|
+
*
|
|
3815
|
+
* ```html
|
|
3816
|
+
* <qti-item>
|
|
3817
|
+
* <item-container class="m-4 bg-white" item-url="./path/to/item.xml"></item-container>
|
|
3818
|
+
* </qti-item>
|
|
3819
|
+
* ```
|
|
3820
|
+
*
|
|
3821
|
+
* #### Attributes & Properties
|
|
3822
|
+
*
|
|
3823
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3824
|
+
*
|
|
3825
|
+
* - `item-url`/`itemURL`: URL of the item to load
|
|
3826
|
+
* - `itemDoc`: A parsed HTML document (property only)
|
|
3827
|
+
* - `itemXML`: The raw XML string (property only)
|
|
3828
|
+
*/
|
|
3829
|
+
"item-container": Partial<ItemContainerProps & BaseProps<ItemContainer> & BaseEvents>;
|
|
3830
|
+
|
|
3831
|
+
|
|
3832
|
+
/**
|
|
3833
|
+
*
|
|
3834
|
+
*/
|
|
3835
|
+
"print-item-variables": Partial<PrintItemVariablesProps & BaseProps<PrintItemVariables> & BaseEvents>;
|
|
3836
|
+
|
|
3837
|
+
|
|
3838
|
+
/**
|
|
3839
|
+
* `<qti-item>` is a custom element designed for rendering a single `qti-assessment-item`.
|
|
3840
|
+
* It can also host some functionalities to interact with the item like scoring, showing feedback, etc.
|
|
3841
|
+
* Placing a mandatory `<item-container>` inside '<qti-item>' will load or parse the item and render it.
|
|
3842
|
+
* See `<item-container>` for more details.
|
|
3843
|
+
*
|
|
3844
|
+
* ```html
|
|
3845
|
+
* <qti-item>
|
|
3846
|
+
* <item-container class="m-4 bg-white" item-url="./path/to/item.xml"></item-container>
|
|
3847
|
+
* </qti-item>
|
|
3848
|
+
* ```
|
|
3849
|
+
*
|
|
3850
|
+
* #### Attributes & Properties
|
|
3851
|
+
*
|
|
3852
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3853
|
+
*
|
|
3854
|
+
* - `computedContext`: undefined (property only)
|
|
3855
|
+
* - `configContext`: undefined (property only)
|
|
3856
|
+
*/
|
|
3857
|
+
"qti-item": Partial<QtiItemProps & BaseProps<QtiItem> & BaseEvents>;
|
|
3858
|
+
|
|
3859
|
+
|
|
3860
|
+
/**
|
|
3861
|
+
*
|
|
3862
|
+
*
|
|
3863
|
+
* #### Attributes & Properties
|
|
3864
|
+
*
|
|
3865
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3866
|
+
*
|
|
3867
|
+
* - `label`: undefined
|
|
3868
|
+
*
|
|
3869
|
+
* #### Events
|
|
3870
|
+
*
|
|
3871
|
+
* Events that will be emitted by the component.
|
|
3872
|
+
*
|
|
3873
|
+
* - `item-switch-correct-response-mode`: undefined
|
|
3874
|
+
*/
|
|
3875
|
+
"item-correct-response-mode": Partial<ItemCorrectResponseModeProps & BaseProps<ItemCorrectResponseMode> & BaseEvents>;
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
*
|
|
3880
|
+
*
|
|
3881
|
+
* #### Attributes & Properties
|
|
3882
|
+
*
|
|
3883
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3884
|
+
*
|
|
3885
|
+
* - `category`: undefined
|
|
3886
|
+
* - `identifier`: undefined
|
|
3887
|
+
* - `required`: undefined
|
|
3888
|
+
* - `fixed`: undefined
|
|
3889
|
+
* - `href`: undefined
|
|
3890
|
+
* - `weigths`: undefined (property only)
|
|
3891
|
+
* - `xmlDoc`: undefined (property only)
|
|
3892
|
+
* - `assessmentItem`: undefined (property only) (readonly)
|
|
3893
|
+
* - `myTemplate`: undefined (property only)
|
|
3894
|
+
*
|
|
3895
|
+
* #### Events
|
|
3896
|
+
*
|
|
3897
|
+
* Events that will be emitted by the component.
|
|
3898
|
+
*
|
|
3899
|
+
* - `qti-assessment-item-ref-connected`: undefined
|
|
3900
|
+
*/
|
|
3901
|
+
"qti-assessment-item-ref": Partial<QtiAssessmentItemRefProps & BaseProps<QtiAssessmentItemRef> & BaseEvents>;
|
|
3902
|
+
|
|
3903
|
+
|
|
3904
|
+
/**
|
|
3905
|
+
*
|
|
3906
|
+
*
|
|
3907
|
+
* #### Attributes & Properties
|
|
3908
|
+
*
|
|
3909
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3910
|
+
*
|
|
3911
|
+
* - `identifier`: undefined
|
|
3912
|
+
* - `required`: undefined
|
|
3913
|
+
* - `fixed`: undefined
|
|
3914
|
+
* - `visible`: undefined
|
|
3915
|
+
* - `keep-together`/`keepTogether`: undefined
|
|
3916
|
+
* - `title`: undefined (property only)
|
|
3917
|
+
* - `_testContext`: undefined (property only)
|
|
3918
|
+
*
|
|
3919
|
+
* #### Events
|
|
3920
|
+
*
|
|
3921
|
+
* Events that will be emitted by the component.
|
|
3922
|
+
*
|
|
3923
|
+
* - `qti-assessment-section-connected`: undefined
|
|
3924
|
+
*/
|
|
3925
|
+
"qti-assessment-section": Partial<QtiAssessmentSectionProps & BaseProps<QtiAssessmentSection> & BaseEvents>;
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
*
|
|
3930
|
+
*
|
|
3931
|
+
* #### Attributes & Properties
|
|
3932
|
+
*
|
|
3933
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3934
|
+
*
|
|
3935
|
+
* - `identifier`: undefined
|
|
3936
|
+
* - `title`: undefined
|
|
3937
|
+
* - `_testContext`: undefined (property only)
|
|
3938
|
+
*
|
|
3939
|
+
* #### Events
|
|
3940
|
+
*
|
|
3941
|
+
* Events that will be emitted by the component.
|
|
3942
|
+
*
|
|
3943
|
+
* - `qti-assessment-test-connected`: undefined
|
|
3944
|
+
*/
|
|
3945
|
+
"qti-assessment-test": Partial<QtiAssessmentTestProps & BaseProps<QtiAssessmentTest> & BaseEvents>;
|
|
3946
|
+
|
|
3947
|
+
|
|
3948
|
+
/**
|
|
3949
|
+
*
|
|
3950
|
+
*
|
|
3951
|
+
* #### Attributes & Properties
|
|
3952
|
+
*
|
|
3953
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3954
|
+
*
|
|
3955
|
+
* - `identifier`: undefined
|
|
3956
|
+
* - `class`: undefined
|
|
3957
|
+
* - `navigation-mode`/`navigationMode`: undefined
|
|
3958
|
+
* - `submission-mode`/`submissionMode`: undefined
|
|
3959
|
+
* - `title`: undefined (property only)
|
|
3960
|
+
*
|
|
3961
|
+
* #### Events
|
|
3962
|
+
*
|
|
3963
|
+
* Events that will be emitted by the component.
|
|
3964
|
+
*
|
|
3965
|
+
* - `qti-test-part-connected`: undefined
|
|
3966
|
+
*/
|
|
3967
|
+
"qti-test-part": Partial<QtiTestPartProps & BaseProps<QtiTestPart> & BaseEvents>;
|
|
3968
|
+
|
|
3969
|
+
|
|
3970
|
+
/**
|
|
3971
|
+
*
|
|
3972
|
+
*
|
|
3973
|
+
* #### Attributes & Properties
|
|
3974
|
+
*
|
|
3975
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3976
|
+
*
|
|
3977
|
+
* - `show-hide`/`showHide`: undefined
|
|
3978
|
+
* - `outcome-identifier`/`outcomeIdentifier`: undefined
|
|
3979
|
+
* - `identifier`: undefined
|
|
3980
|
+
* - `showStatus`: undefined (property only)
|
|
3981
|
+
*
|
|
3982
|
+
* #### Events
|
|
3983
|
+
*
|
|
3984
|
+
* Events that will be emitted by the component.
|
|
3985
|
+
*
|
|
3986
|
+
* - `qti-register-feedback`: undefined
|
|
3987
|
+
*
|
|
3988
|
+
* #### Methods
|
|
3989
|
+
*
|
|
3990
|
+
* Methods that can be called to access component functionality.
|
|
3991
|
+
*
|
|
3992
|
+
* - `openFeedback() => void`: undefined
|
|
3993
|
+
* - `closeFeedback() => void`: undefined
|
|
3994
|
+
* - `checkShowFeedback(outcomeIdentifier: string) => void`: undefined
|
|
3995
|
+
*/
|
|
3996
|
+
"qti-test-feedback": Partial<QtiTestFeedbackProps & BaseProps<QtiTestFeedback> & BaseEvents>;
|
|
3997
|
+
|
|
3998
|
+
|
|
3999
|
+
|
|
4000
|
+
/**
|
|
4001
|
+
* `<qti-test>` is a custom element designed for rendering and interacting with QTI (Question and Test Interoperability) tests.
|
|
4002
|
+
*
|
|
4003
|
+
* This component leverages several mixins to provide functionality for loading, navigating, processing, and displaying QTI test assessments.
|
|
4004
|
+
*
|
|
4005
|
+
* ### Example Usage
|
|
4006
|
+
*
|
|
4007
|
+
* Minimal example including navigation:
|
|
4008
|
+
*
|
|
4009
|
+
* ```html
|
|
4010
|
+
* <qti-test>
|
|
4011
|
+
* <test-navigation>
|
|
4012
|
+
* <test-container test-url="./path/to/assessment.xml"></test-container>
|
|
4013
|
+
* <nav class="flex">
|
|
4014
|
+
* <test-prev></test-prev>
|
|
4015
|
+
* <test-next></test-next>
|
|
4016
|
+
* </nav>
|
|
4017
|
+
* </test-navigation>
|
|
4018
|
+
* </qti-test>
|
|
4019
|
+
* ```
|
|
4020
|
+
*
|
|
4021
|
+
* Use the following file structure
|
|
4022
|
+
* A qti-test loads a QTI3.0 assessmenttest.xml file from a package folder.
|
|
4023
|
+
*
|
|
4024
|
+
* ```plaintext
|
|
4025
|
+
* Root/
|
|
4026
|
+
* ├── index.html
|
|
4027
|
+
* └── /assets/api/examples/
|
|
4028
|
+
* ├── assessmenttest.xml
|
|
4029
|
+
* └── imsmanifest.xml
|
|
4030
|
+
*
|
|
4031
|
+
* ```
|
|
4032
|
+
*
|
|
4033
|
+
* ### Test components
|
|
4034
|
+
*
|
|
4035
|
+
* Use test components inside the qti-test component for added functionality.
|
|
4036
|
+
* ### Test next
|
|
4037
|
+
* `<test-next> | TestNext`
|
|
4038
|
+
*
|
|
4039
|
+
* ### Test prev
|
|
4040
|
+
*
|
|
4041
|
+
* `<test-prev> | TestPrev`
|
|
4042
|
+
* ### Test components
|
|
4043
|
+
*
|
|
4044
|
+
* You can use normal class names to style the elements.
|
|
4045
|
+
* And you can use the `test-prev` and `test-next` elements to navigate through the test.
|
|
4046
|
+
*
|
|
4047
|
+
* #### Attributes & Properties
|
|
4048
|
+
*
|
|
4049
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4050
|
+
*
|
|
4051
|
+
* - `navigate`: undefined
|
|
4052
|
+
* - `cache-transform`/`cacheTransform`: undefined
|
|
4053
|
+
* - `requestTimeout`: undefined
|
|
4054
|
+
* - `showLoadingIndicators`: undefined
|
|
4055
|
+
* - `postLoadTransformCallback`: undefined
|
|
4056
|
+
* - `sessionContext`: undefined (property only)
|
|
4057
|
+
* - `testContext`: undefined (property only)
|
|
4058
|
+
*
|
|
4059
|
+
* #### Events
|
|
4060
|
+
*
|
|
4061
|
+
* Events that will be emitted by the component.
|
|
4062
|
+
*
|
|
4063
|
+
* - `qti-test-connected`: undefined
|
|
4064
|
+
* - `qti-request-navigation`: undefined
|
|
4065
|
+
* - `qti-navigation-error`: undefined
|
|
4066
|
+
* - `qti-navigation-status`: undefined
|
|
4067
|
+
* - `qti-test-loaded`: undefined
|
|
4068
|
+
* - `qti-test-context-updated`: undefined
|
|
4069
|
+
*
|
|
4070
|
+
* #### Methods
|
|
4071
|
+
*
|
|
4072
|
+
* Methods that can be called to access component functionality.
|
|
4073
|
+
*
|
|
4074
|
+
* - `navigateTo(type: 'item' | 'section', id?: string) => void`: undefined
|
|
4075
|
+
* - `retryNavigation() => void`: Retry the last failed navigation
|
|
4076
|
+
* - `outcomeProcessing() => boolean`: undefined
|
|
4077
|
+
* - `updateOutcomeVariable(identifier: string, value: string | string[] | undefined) => void`: undefined
|
|
4078
|
+
* - `getOutcome(identifier: string) => Readonly<OutcomeVariable>`: undefined
|
|
4079
|
+
* - `getVariable(identifier: string) => Readonly<VariableDeclaration<string | string[] | null>>`: undefined
|
|
4080
|
+
* - `updateItemVariables(itemRefID: string, variables: VariableValue<string | string[] | null>[]) => void`: undefined
|
|
4081
|
+
*/
|
|
4082
|
+
"qti-test": Partial<QtiTestProps & BaseProps<QtiTest> & BaseEvents>;
|
|
4083
|
+
|
|
4084
|
+
|
|
4085
|
+
/**
|
|
4086
|
+
*
|
|
4087
|
+
*
|
|
4088
|
+
* #### Attributes & Properties
|
|
4089
|
+
*
|
|
4090
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4091
|
+
*
|
|
4092
|
+
* - `identifier`: undefined
|
|
4093
|
+
* - `auto-score-items`/`autoScoreItems`: undefined
|
|
4094
|
+
* - `initContext`: undefined (property only)
|
|
4095
|
+
* - `qtiContext`: undefined (property only)
|
|
4096
|
+
* - `configContext`: undefined (property only)
|
|
4097
|
+
*
|
|
4098
|
+
* #### Events
|
|
4099
|
+
*
|
|
4100
|
+
* Events that will be emitted by the component.
|
|
4101
|
+
*
|
|
4102
|
+
* - `qti-computed-context-updated`: undefined
|
|
4103
|
+
*/
|
|
4104
|
+
"test-navigation": Partial<TestNavigationProps & BaseProps<TestNavigation> & BaseEvents>;
|
|
4105
|
+
|
|
4106
|
+
|
|
4107
|
+
/**
|
|
4108
|
+
* Represents a custom element for navigating to the next test item.
|
|
4109
|
+
*
|
|
4110
|
+
* #### Attributes & Properties
|
|
4111
|
+
*
|
|
4112
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4113
|
+
*
|
|
4114
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
4115
|
+
* - `sectionItems`: undefined (property only)
|
|
4116
|
+
* - `itemIndex`: undefined (property only)
|
|
4117
|
+
* - `role`: undefined (property only)
|
|
4118
|
+
* - `ariaLabel`: undefined (property only)
|
|
4119
|
+
*
|
|
4120
|
+
* #### Events
|
|
4121
|
+
*
|
|
4122
|
+
* Events that will be emitted by the component.
|
|
4123
|
+
*
|
|
4124
|
+
* - `qti-request-navigation`: undefined
|
|
4125
|
+
*
|
|
4126
|
+
* #### Methods
|
|
4127
|
+
*
|
|
4128
|
+
* Methods that can be called to access component functionality.
|
|
4129
|
+
*
|
|
4130
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
4131
|
+
* - `checkDisabled() => void`: undefined
|
|
4132
|
+
*/
|
|
4133
|
+
"test-next": Partial<TestNextProps & BaseProps<TestNext> & BaseEvents>;
|
|
4134
|
+
|
|
4135
|
+
|
|
4136
|
+
/**
|
|
4137
|
+
* Represents a custom element for navigating to the previous test item.
|
|
4138
|
+
*
|
|
4139
|
+
* #### Attributes & Properties
|
|
4140
|
+
*
|
|
4141
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4142
|
+
*
|
|
4143
|
+
* - `disabled`/`_internalDisabled`: undefined
|
|
4144
|
+
* - `sectionItems`: undefined (property only)
|
|
4145
|
+
* - `itemIndex`: undefined (property only)
|
|
4146
|
+
*
|
|
4147
|
+
* #### Events
|
|
4148
|
+
*
|
|
4149
|
+
* Events that will be emitted by the component.
|
|
4150
|
+
*
|
|
4151
|
+
* - `qti-request-navigation`: undefined
|
|
4152
|
+
*
|
|
4153
|
+
* #### Methods
|
|
4154
|
+
*
|
|
4155
|
+
* Methods that can be called to access component functionality.
|
|
4156
|
+
*
|
|
4157
|
+
* - `_handleTestElementChange(_oldValue: ComputedContext, newValue: ComputedContext) => void`: undefined
|
|
4158
|
+
* - `checkDisabled() => void`: undefined
|
|
4159
|
+
*/
|
|
4160
|
+
"test-prev": Partial<TestPrevProps & BaseProps<TestPrev> & BaseEvents>;
|
|
4161
|
+
|
|
4162
|
+
|
|
4163
|
+
/**
|
|
4164
|
+
*
|
|
4165
|
+
*
|
|
4166
|
+
* #### Attributes & Properties
|
|
4167
|
+
*
|
|
4168
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4169
|
+
*
|
|
4170
|
+
* - `label`: label accompanying the select view dropdown
|
|
4171
|
+
* - `view-options`/`viewOptions`: The options to display in the dropdown, default: ['author', 'candidate', 'proctor', 'scorer', 'testConstructor', 'tutor']
|
|
4172
|
+
*
|
|
4173
|
+
* #### Events
|
|
4174
|
+
*
|
|
4175
|
+
* Events that will be emitted by the component.
|
|
4176
|
+
*
|
|
4177
|
+
* - `on-test-switch-view`: undefined
|
|
4178
|
+
*/
|
|
4179
|
+
"test-view": Partial<TestViewProps & BaseProps<TestView> & BaseEvents>;
|
|
4180
|
+
|
|
4181
|
+
|
|
4182
|
+
/**
|
|
4183
|
+
*
|
|
4184
|
+
*
|
|
4185
|
+
* #### Attributes & Properties
|
|
4186
|
+
*
|
|
4187
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4188
|
+
*
|
|
4189
|
+
* - `item-id`/`itemId`: undefined
|
|
4190
|
+
*
|
|
4191
|
+
* #### Events
|
|
4192
|
+
*
|
|
4193
|
+
* Events that will be emitted by the component.
|
|
4194
|
+
*
|
|
4195
|
+
* - `qti-request-navigation`: undefined
|
|
4196
|
+
*/
|
|
4197
|
+
"test-item-link": Partial<TestItemLinkProps & BaseProps<TestItemLink> & BaseEvents>;
|
|
4198
|
+
|
|
4199
|
+
|
|
4200
|
+
/**
|
|
4201
|
+
*
|
|
4202
|
+
*/
|
|
4203
|
+
"test-end-attempt": Partial<TestEndAttemptProps & BaseProps<TestEndAttempt> & BaseEvents>;
|
|
4204
|
+
|
|
4205
|
+
|
|
4206
|
+
/**
|
|
4207
|
+
* @deprecated test-show-correct-response is deprecated and will be removed in the future.
|
|
4208
|
+
*
|
|
4209
|
+
*
|
|
4210
|
+
*
|
|
4211
|
+
* #### Attributes & Properties
|
|
4212
|
+
*
|
|
4213
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4214
|
+
*
|
|
4215
|
+
* - `shown`: undefined
|
|
4216
|
+
* - `disabled`: undefined
|
|
4217
|
+
* - `showCorrectText`: undefined
|
|
4218
|
+
* - `hideCorrectText`: undefined
|
|
4219
|
+
* - `noCorrectResponseText`: undefined
|
|
4220
|
+
* - `computedContext`: undefined (property only)
|
|
4221
|
+
*
|
|
4222
|
+
* #### Events
|
|
4223
|
+
*
|
|
4224
|
+
* Events that will be emitted by the component.
|
|
4225
|
+
*
|
|
4226
|
+
* - `test-show-correct-response`: undefined
|
|
4227
|
+
*/
|
|
4228
|
+
"test-show-correct-response": Partial<TestShowCorrectResponseProps & BaseProps<TestShowCorrectResponse> & BaseEvents>;
|
|
4229
|
+
|
|
4230
|
+
|
|
4231
|
+
/**
|
|
4232
|
+
* @deprecated test-paging-buttons-stamp is deprecated and will be removed in the future.
|
|
4233
|
+
*
|
|
4234
|
+
*
|
|
4235
|
+
*
|
|
4236
|
+
* #### Attributes & Properties
|
|
4237
|
+
*
|
|
4238
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4239
|
+
*
|
|
4240
|
+
* - `myTemplate`: undefined (property only)
|
|
4241
|
+
* - `ariaLabel`: undefined (property only)
|
|
4242
|
+
*/
|
|
4243
|
+
"test-paging-buttons-stamp": Partial<TestPagingButtonsStampProps & BaseProps<TestPagingButtonsStamp> & BaseEvents>;
|
|
4244
|
+
|
|
4245
|
+
|
|
4246
|
+
/**
|
|
4247
|
+
* `<test-container>` is a custom element designed for hosting the qti-assessment-item.
|
|
4248
|
+
* The `qti-assessment-test` will be placed inside the shadow DOM of this element.
|
|
4249
|
+
* The element loads the test from the provided URL and renders it inside the shadow DOM.
|
|
4250
|
+
*
|
|
4251
|
+
* ```html
|
|
4252
|
+
* <qti-test>
|
|
4253
|
+
* <test-navigation>
|
|
4254
|
+
* <test-container class="m-4 bg-white" test-url="./path/to/assessmenttest.xml"></test-container>
|
|
4255
|
+
* </test-navigation>
|
|
4256
|
+
* </qti-test>
|
|
4257
|
+
* ```
|
|
4258
|
+
*
|
|
4259
|
+
* #### Attributes & Properties
|
|
4260
|
+
*
|
|
4261
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4262
|
+
*
|
|
4263
|
+
* - `test-url`/`testURL`: URL of the item to load
|
|
4264
|
+
* - `testDoc`: A parsed HTML document (property only)
|
|
4265
|
+
* - `testXML`: The raw XML string (property only)
|
|
4266
|
+
*/
|
|
4267
|
+
"test-container": Partial<TestContainerProps & BaseProps<TestContainer> & BaseEvents>;
|
|
4268
|
+
|
|
4269
|
+
|
|
4270
|
+
/**
|
|
4271
|
+
*
|
|
4272
|
+
*
|
|
4273
|
+
* #### Attributes & Properties
|
|
4274
|
+
*
|
|
4275
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4276
|
+
*
|
|
4277
|
+
* - `computedContext`: undefined (property only)
|
|
4278
|
+
*/
|
|
4279
|
+
"test-print-item-variables": Partial<TestPrintVariablesProps & BaseProps<TestPrintVariables> & BaseEvents>;
|
|
4280
|
+
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* @deprecated test-section-buttons-stamp is deprecated and will be removed in the future.
|
|
4284
|
+
*
|
|
4285
|
+
*
|
|
4286
|
+
*
|
|
4287
|
+
* #### Attributes & Properties
|
|
4288
|
+
*
|
|
4289
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4290
|
+
*
|
|
4291
|
+
* - `myTemplate`: undefined (property only)
|
|
4292
|
+
* - `ariaLabel`: undefined (property only)
|
|
4293
|
+
*/
|
|
4294
|
+
"test-section-buttons-stamp": Partial<TestSectionButtonsStampProps & BaseProps<TestSectionButtonsStamp> & BaseEvents>;
|
|
4295
|
+
|
|
4296
|
+
|
|
4297
|
+
/**
|
|
4298
|
+
*
|
|
4299
|
+
*
|
|
4300
|
+
* #### Attributes & Properties
|
|
4301
|
+
*
|
|
4302
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4303
|
+
*
|
|
4304
|
+
* - `section-id`/`sectionId`: undefined
|
|
4305
|
+
*
|
|
4306
|
+
* #### Events
|
|
4307
|
+
*
|
|
4308
|
+
* Events that will be emitted by the component.
|
|
4309
|
+
*
|
|
4310
|
+
* - `qti-request-navigation`: undefined
|
|
4311
|
+
*/
|
|
4312
|
+
"test-section-link": Partial<TestSectionLinkProps & BaseProps<TestSectionLink> & BaseEvents>;
|
|
4313
|
+
|
|
4314
|
+
|
|
4315
|
+
/**
|
|
4316
|
+
*
|
|
4317
|
+
*
|
|
4318
|
+
* #### Attributes & Properties
|
|
4319
|
+
*
|
|
4320
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4321
|
+
*
|
|
4322
|
+
* - `computedContext`: undefined (property only)
|
|
4323
|
+
*/
|
|
4324
|
+
"test-print-context": Partial<TestPrintContextProps & BaseProps<TestPrintContext> & BaseEvents>;
|
|
4325
|
+
|
|
4326
|
+
|
|
4327
|
+
/**
|
|
4328
|
+
* A custom web component that renders a test stamp using the Lit framework.
|
|
4329
|
+
* This component is deprecated and will be removed in the future.
|
|
4330
|
+
*
|
|
4331
|
+
* #### Attributes & Properties
|
|
4332
|
+
*
|
|
4333
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4334
|
+
*
|
|
4335
|
+
* - `debug`: Indicates whether the component is in debug mode.
|
|
4336
|
+
* When set to `true`, the available objects and properties (i.e.: stampContext) is displayed.
|
|
4337
|
+
* - `myTemplate`: undefined (property only)
|
|
4338
|
+
*/
|
|
4339
|
+
"test-stamp": Partial<TestStampProps & BaseProps<TestStamp> & BaseEvents>;
|
|
4340
|
+
|
|
4341
|
+
|
|
4342
|
+
/**
|
|
4343
|
+
*
|
|
4344
|
+
*
|
|
4345
|
+
* #### Attributes & Properties
|
|
4346
|
+
*
|
|
4347
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4348
|
+
*
|
|
4349
|
+
* - `view`: undefined
|
|
4350
|
+
* - `disabled`: undefined
|
|
4351
|
+
* - `myTemplate`: undefined (property only)
|
|
4352
|
+
*
|
|
4353
|
+
* #### Events
|
|
4354
|
+
*
|
|
4355
|
+
* Events that will be emitted by the component.
|
|
4356
|
+
*
|
|
4357
|
+
* - `test-update-outcome-variable`: undefined
|
|
4358
|
+
*/
|
|
4359
|
+
"test-scoring-buttons": Partial<TestScoringButtonsProps & BaseProps<TestScoringButtons> & BaseEvents>;
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
/**
|
|
4363
|
+
*
|
|
4364
|
+
*
|
|
4365
|
+
* #### Attributes & Properties
|
|
4366
|
+
*
|
|
4367
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4368
|
+
*
|
|
4369
|
+
* - `myTemplate`: undefined (property only)
|
|
4370
|
+
*
|
|
4371
|
+
* #### Events
|
|
4372
|
+
*
|
|
4373
|
+
* Events that will be emitted by the component.
|
|
4374
|
+
*
|
|
4375
|
+
* - `on-test-switch-view`: undefined
|
|
4376
|
+
*
|
|
4377
|
+
* #### Methods
|
|
4378
|
+
*
|
|
4379
|
+
* Methods that can be called to access component functionality.
|
|
4380
|
+
*
|
|
4381
|
+
* - `_switchView(view: string) => void`: undefined
|
|
4382
|
+
*/
|
|
4383
|
+
"test-view-toggle": Partial<TestViewToggleProps & BaseProps<TestViewToggle> & BaseEvents>;
|
|
4384
|
+
|
|
4385
|
+
|
|
4386
|
+
/**
|
|
4387
|
+
*
|
|
4388
|
+
*
|
|
4389
|
+
* #### Attributes & Properties
|
|
4390
|
+
*
|
|
4391
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4392
|
+
*
|
|
4393
|
+
* - `view`: undefined
|
|
4394
|
+
*/
|
|
4395
|
+
"test-scoring-feedback": Partial<TestScoringFeedbackProps & BaseProps<TestScoringFeedback> & BaseEvents>;
|
|
4396
|
+
|
|
4397
|
+
|
|
4398
|
+
/**
|
|
4399
|
+
*
|
|
4400
|
+
*/
|
|
4401
|
+
"test-check-item": Partial<TestCheckItemProps & BaseProps<TestCheckItem> & BaseEvents>;
|
|
4402
|
+
|
|
4403
|
+
|
|
4404
|
+
/**
|
|
4405
|
+
*
|
|
4406
|
+
*
|
|
4407
|
+
* #### Attributes & Properties
|
|
4408
|
+
*
|
|
4409
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
4410
|
+
*
|
|
4411
|
+
* - `_testContext`: undefined (property only)
|
|
4412
|
+
*
|
|
4413
|
+
* #### Methods
|
|
4414
|
+
*
|
|
4415
|
+
* Methods that can be called to access component functionality.
|
|
4416
|
+
*
|
|
4417
|
+
* - `getResult() => void`: undefined
|
|
4418
|
+
* - `calculate() => void`: undefined
|
|
4419
|
+
*/
|
|
4420
|
+
"qti-test-variables": Partial<QtiTestVariablesProps & BaseProps<QtiTestVariables> & BaseEvents>;
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
declare module 'react' {
|
|
4424
|
+
namespace JSX {
|
|
4425
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4426
|
+
}
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4429
|
+
declare module 'preact' {
|
|
4430
|
+
namespace JSX {
|
|
4431
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4434
|
+
|
|
4435
|
+
declare module '@builder.io/qwik' {
|
|
4436
|
+
namespace JSX {
|
|
4437
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4438
|
+
}
|
|
4439
|
+
}
|
|
4440
|
+
|
|
4441
|
+
declare module '@stencil/core' {
|
|
4442
|
+
namespace JSX {
|
|
4443
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4444
|
+
}
|
|
4445
|
+
}
|
|
4446
|
+
|
|
4447
|
+
declare module 'hono' {
|
|
4448
|
+
namespace JSX {
|
|
4449
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4450
|
+
}
|
|
4451
|
+
}
|
|
4452
|
+
|
|
4453
|
+
declare module 'react-native' {
|
|
4454
|
+
namespace JSX {
|
|
4455
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
|
|
4459
|
+
declare global {
|
|
4460
|
+
namespace JSX {
|
|
4461
|
+
interface IntrinsicElements extends CustomElements {}
|
|
4462
|
+
}
|
|
4463
|
+
}
|