@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
package/dist/index.d.ts
CHANGED
|
@@ -1,44 +1,13 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { QtiAnd, QtiBaseValue, QtiContainerSize, QtiContains, QtiCorrect, QtiDefault, QtiDelete, QtiEqual, QtiEqualRounded, QtiFieldValue, QtiGcd, QtiGt, QtiGte, QtiHottextInteraction, QtiIndex, QtiIsNull, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMathOperator, QtiMember, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrdered, QtiPositionObjectInteraction, QtiPower, QtiPrintedVariable, QtiProduct, QtiRandom, QtiRandomInteger, QtiResponseCondition, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiRound, QtiRoundTo, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiStringMatch, QtiSum, QtiSumExpression, QtiVariable, qtiAndMixin } from './qti-components/index.js';
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export { TestNext } from './qti-test/components/test-next.js';
|
|
8
|
-
export { TestPrev } from './qti-test/components/test-prev.js';
|
|
9
|
-
export { TestView } from './qti-test/components/test-view.js';
|
|
10
|
-
export { TestItemLink } from './qti-test/components/test-item-link.js';
|
|
11
|
-
export { TestEndAttempt } from './qti-test/components/test-end-attempt.js';
|
|
12
|
-
export { TestShowCorrectResponse } from './qti-test/components/test-show-correct-response.js';
|
|
13
|
-
export { TestPagingButtonsStamp } from './qti-test/components/test-paging-buttons-stamp.js';
|
|
14
|
-
export { TestContainer } from './qti-test/components/test-container.js';
|
|
15
|
-
export { TestPrintVariables } from './qti-test/components/test-print-item-variables.js';
|
|
16
|
-
export { TestSectionButtonsStamp } from './qti-test/components/test-section-buttons-stamp.js';
|
|
17
|
-
export { TestSectionLink } from './qti-test/components/test-section-link.js';
|
|
18
|
-
export { TestPrintContext } from './qti-test/components/test-print-context.js';
|
|
19
|
-
export { TestStamp } from './qti-test/components/test-stamp.js';
|
|
20
|
-
export { TestScoringButtons } from './qti-test/components/test-scoring-buttons.js';
|
|
21
|
-
export { TestViewToggle } from './qti-test/components/test-view-toggle.js';
|
|
22
|
-
export { TestScoringFeedback } from './qti-test/components/test-scoring-feedback.js';
|
|
23
|
-
export { TestCheckItem } from './qti-test/components/test-check-item.js';
|
|
24
|
-
export { ItemContainer } from './qti-item/components/item-container.js';
|
|
25
|
-
export { PrintItemVariables } from './qti-item/components/print-item-variables.js';
|
|
26
|
-
export { ItemShowCorrectResponse } from './qti-item/components/item-show-correct-response.js';
|
|
27
|
-
export { QtiItem } from './qti-item/core/index.js';
|
|
28
|
-
export { ManifestInfo, getItemByUri, getManifestInfo } from './qti-loader/index.js';
|
|
29
|
-
export { M as ModuleResolutionConfig, q as qtiTransformItem, t as transformItemApi } from './qti-transform-item-C9WtMeDR.js';
|
|
30
|
-
export { qtiTransformManifest, qtiTransformTest, transformTestApi } from './qti-transformers/index.js';
|
|
1
|
+
export { Q as QtiAssessmentItem } from './qti-assessment-item-D77dJ1Ot.js';
|
|
2
|
+
export { Orientation, QtiAnd, QtiAssessmentStimulusRef, QtiAssociableHotspot, QtiAssociateInteraction, QtiBaseValue, QtiChoiceInteraction, QtiCompanionMaterialsInfo, QtiContainerSize, QtiContains, QtiContentBody, QtiCorrect, QtiCustomInteraction, QtiCustomOperator, QtiDefault, QtiDelete, QtiEndAttemptInteraction, QtiEqual, QtiEqualRounded, QtiExtendedTextInteraction, QtiFeedbackBlock, QtiFeedbackInline, QtiFieldValue, QtiGap, QtiGapImg, QtiGapMatchInteraction, QtiGapText, QtiGcd, QtiGraphicAssociateInteraction, QtiGraphicGapMatchInteraction, QtiGraphicOrderInteraction, QtiGt, QtiGte, QtiHotspotChoice, QtiHotspotInteraction, QtiHottext, QtiHottextInteraction, QtiIndex, QtiInlineChoice, QtiInlineChoiceInteraction, QtiIsNull, QtiItemBody, QtiLookupOutcomeValue, QtiLt, QtiLte, QtiMapResponse, QtiMapResponsePoint, QtiMatch, QtiMatchInteraction, QtiMathOperator, QtiMediaInteraction, QtiMember, QtiMultiple, QtiNot, QtiNull, QtiOr, QtiOrderInteraction, QtiOrdered, QtiOutcomeDeclaration, QtiOutcomeProcessing, QtiOutcomeProcessingProcessor, QtiPortableCustomInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiPower, QtiPrintedVariable, QtiProduct, QtiPrompt, QtiRandom, QtiRandomInteger, QtiResponseCondition, QtiResponseDeclaration, QtiResponseElse, QtiResponseElseIf, QtiResponseIf, QtiResponseProcessing, QtiRound, QtiRoundTo, QtiRubricBlock, QtiRule, QtiRuleBase, QtiSelectPointInteraction, QtiSetOutcomeValue, QtiSetOutcomeValueRule, QtiSimpleAssociableChoice, QtiSimpleChoice, QtiSliderInteraction, QtiStringMatch, QtiStylesheet, QtiSubtract, QtiSum, QtiSumExpression, QtiTextEntryInteraction, QtiUploadInteraction, QtiVariable, qtiAndMixin, qtiSubtractMixin } from './qti-components/index.js';
|
|
3
|
+
export { I as INITIAL_TEST_CONTEXT, Q as QtiModalFeedback, T as TestContext, t as testContext } from './test.context-L609DNAz.js';
|
|
4
|
+
export { c as QtiAreaMapEntry, b as QtiAreaMapping, a as QtiMapEntry, Q as QtiMapping, d as areaShape } from './variables-Vgyr6yyW.js';
|
|
5
|
+
export { QtiAssessmentItemRef, QtiAssessmentSection, QtiAssessmentTest, QtiTest, QtiTestFeedback, QtiTestPart, TestCheckItem, TestContainer, TestEndAttempt, TestItemLink, TestNavigation, TestNext, TestPagingButtonsStamp, TestPrev, TestPrintContext, TestPrintVariables, TestScoringButtons, TestScoringFeedback, TestSectionButtonsStamp, TestSectionLink, TestShowCorrectResponse, TestStamp, TestView, TestViewToggle } from './qti-test/index.js';
|
|
6
|
+
export { ItemContainer, ItemShowCorrectResponse, PrintItemVariables, QtiItem } from './qti-item/index.js';
|
|
31
7
|
import 'lit-html';
|
|
32
8
|
import 'lit';
|
|
33
|
-
import './
|
|
34
|
-
import './exports/interaction.interface.js';
|
|
35
|
-
import './exports/config.context.js';
|
|
9
|
+
import './config.context-CmQ9L62n.js';
|
|
36
10
|
import 'lit-html/directives/ref.js';
|
|
37
|
-
import './exports/qti.context.js';
|
|
38
|
-
import './exports/qti-condition-expression.js';
|
|
39
|
-
import './exports/session.context.js';
|
|
40
|
-
import './exports/qti-test.js';
|
|
41
11
|
import '@heximal/templates';
|
|
42
|
-
import './
|
|
43
|
-
import './exports/computed-item.context.js';
|
|
12
|
+
import './computed-item.context-DpK-sS0T.js';
|
|
44
13
|
import 'storybook/internal/types';
|
package/dist/index.js
CHANGED
|
@@ -1,70 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
QtiTest,
|
|
6
|
-
QtiTestFeedback,
|
|
7
|
-
QtiTestPart
|
|
8
|
-
} from "./chunks/chunk-WPEFNKMC.js";
|
|
9
|
-
import {
|
|
2
|
+
ItemContainer,
|
|
3
|
+
ItemShowCorrectResponse,
|
|
4
|
+
PrintItemVariables,
|
|
10
5
|
QtiItem
|
|
11
|
-
} from "./chunks/chunk-
|
|
12
|
-
import "./chunks/chunk-ZGSNDSK3.js";
|
|
13
|
-
import {
|
|
14
|
-
TestSectionButtonsStamp
|
|
15
|
-
} from "./chunks/chunk-KSXNC564.js";
|
|
16
|
-
import {
|
|
17
|
-
TestSectionLink
|
|
18
|
-
} from "./chunks/chunk-BLBSZDQ4.js";
|
|
19
|
-
import {
|
|
20
|
-
TestShowCorrectResponse
|
|
21
|
-
} from "./chunks/chunk-TWYN56XO.js";
|
|
22
|
-
import {
|
|
23
|
-
TestStamp
|
|
24
|
-
} from "./chunks/chunk-GAHXUFMQ.js";
|
|
25
|
-
import {
|
|
26
|
-
TestViewToggle
|
|
27
|
-
} from "./chunks/chunk-TUKEQ36K.js";
|
|
28
|
-
import {
|
|
29
|
-
TestView
|
|
30
|
-
} from "./chunks/chunk-KG5Z2CKO.js";
|
|
31
|
-
import {
|
|
32
|
-
TestNavigation
|
|
33
|
-
} from "./chunks/chunk-QU7KR7VX.js";
|
|
34
|
-
import {
|
|
35
|
-
TestNext
|
|
36
|
-
} from "./chunks/chunk-7K44TDQO.js";
|
|
37
|
-
import {
|
|
38
|
-
TestPagingButtonsStamp
|
|
39
|
-
} from "./chunks/chunk-CP34TICQ.js";
|
|
40
|
-
import {
|
|
41
|
-
TestPrev
|
|
42
|
-
} from "./chunks/chunk-EMVOKXSA.js";
|
|
43
|
-
import {
|
|
44
|
-
TestPrintContext
|
|
45
|
-
} from "./chunks/chunk-WFFIUFJJ.js";
|
|
46
|
-
import {
|
|
47
|
-
TestPrintVariables
|
|
48
|
-
} from "./chunks/chunk-36G5MQKR.js";
|
|
49
|
-
import {
|
|
50
|
-
TestScoringButtons
|
|
51
|
-
} from "./chunks/chunk-TU6COU44.js";
|
|
52
|
-
import {
|
|
53
|
-
TestScoringFeedback
|
|
54
|
-
} from "./chunks/chunk-CTESMSQO.js";
|
|
55
|
-
import {
|
|
56
|
-
TestCheckItem
|
|
57
|
-
} from "./chunks/chunk-7OMJMXHK.js";
|
|
58
|
-
import {
|
|
59
|
-
TestContainer
|
|
60
|
-
} from "./chunks/chunk-ODHS7HDB.js";
|
|
61
|
-
import {
|
|
62
|
-
TestEndAttempt
|
|
63
|
-
} from "./chunks/chunk-5KCXO2RP.js";
|
|
64
|
-
import {
|
|
65
|
-
TestItemLink
|
|
66
|
-
} from "./chunks/chunk-YPMZLHGG.js";
|
|
67
|
-
import "./chunks/chunk-5ZHHNEDA.js";
|
|
6
|
+
} from "./chunks/chunk-6K4ROGDD.js";
|
|
68
7
|
import {
|
|
69
8
|
QtiAnd,
|
|
70
9
|
QtiAssessmentItem,
|
|
@@ -118,7 +57,6 @@ import {
|
|
|
118
57
|
QtiMathOperator,
|
|
119
58
|
QtiMediaInteraction,
|
|
120
59
|
QtiMember,
|
|
121
|
-
QtiModalFeedback,
|
|
122
60
|
QtiMultiple,
|
|
123
61
|
QtiNot,
|
|
124
62
|
QtiNull,
|
|
@@ -163,44 +101,41 @@ import {
|
|
|
163
101
|
QtiVariable,
|
|
164
102
|
qtiAndMixin,
|
|
165
103
|
qtiSubtractMixin
|
|
166
|
-
} from "./chunks/chunk-
|
|
167
|
-
import "./chunks/chunk-YWEWSQJR.js";
|
|
104
|
+
} from "./chunks/chunk-LN74Z5QM.js";
|
|
168
105
|
import {
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
106
|
+
QtiAssessmentItemRef,
|
|
107
|
+
QtiAssessmentSection,
|
|
108
|
+
QtiAssessmentTest,
|
|
109
|
+
QtiTest,
|
|
110
|
+
QtiTestFeedback,
|
|
111
|
+
QtiTestPart,
|
|
112
|
+
TestCheckItem,
|
|
113
|
+
TestContainer,
|
|
114
|
+
TestEndAttempt,
|
|
115
|
+
TestItemLink,
|
|
116
|
+
TestNavigation,
|
|
117
|
+
TestNext,
|
|
118
|
+
TestPagingButtonsStamp,
|
|
119
|
+
TestPrev,
|
|
120
|
+
TestPrintContext,
|
|
121
|
+
TestPrintVariables,
|
|
122
|
+
TestScoringButtons,
|
|
123
|
+
TestScoringFeedback,
|
|
124
|
+
TestSectionButtonsStamp,
|
|
125
|
+
TestSectionLink,
|
|
126
|
+
TestShowCorrectResponse,
|
|
127
|
+
TestStamp,
|
|
128
|
+
TestView,
|
|
129
|
+
TestViewToggle
|
|
130
|
+
} from "./chunks/chunk-TJ6ZOT7A.js";
|
|
175
131
|
import "./chunks/chunk-LSEB52SP.js";
|
|
176
|
-
import "./chunks/chunk-ELDMXTUQ.js";
|
|
177
|
-
import {
|
|
178
|
-
qtiTransformItem,
|
|
179
|
-
qtiTransformManifest,
|
|
180
|
-
qtiTransformTest
|
|
181
|
-
} from "./chunks/chunk-WFUXZ4UT.js";
|
|
182
|
-
import {
|
|
183
|
-
ItemShowCorrectResponse
|
|
184
|
-
} from "./chunks/chunk-UHQVQBCL.js";
|
|
185
|
-
import "./chunks/chunk-DZAMXOSC.js";
|
|
186
|
-
import {
|
|
187
|
-
PrintItemVariables
|
|
188
|
-
} from "./chunks/chunk-EJZQSOHU.js";
|
|
189
|
-
import "./chunks/chunk-FL72PF4D.js";
|
|
190
|
-
import "./chunks/chunk-QCB6P7DH.js";
|
|
191
|
-
import "./chunks/chunk-H6KHXSIO.js";
|
|
192
|
-
import "./chunks/chunk-22IRJWWY.js";
|
|
193
132
|
import {
|
|
194
133
|
INITIAL_TEST_CONTEXT,
|
|
134
|
+
QtiModalFeedback,
|
|
195
135
|
testContext
|
|
196
|
-
} from "./chunks/chunk-
|
|
197
|
-
import "./chunks/chunk-
|
|
198
|
-
import "./chunks/chunk-
|
|
199
|
-
import "./chunks/chunk-HFAUM56X.js";
|
|
200
|
-
import "./chunks/chunk-NJNQOQUU.js";
|
|
201
|
-
import "./chunks/chunk-ERYHQVOT.js";
|
|
202
|
-
import "./chunks/chunk-JQ6HWGRY.js";
|
|
203
|
-
import "./chunks/chunk-H2JE6IVU.js";
|
|
136
|
+
} from "./chunks/chunk-GUDRSXIP.js";
|
|
137
|
+
import "./chunks/chunk-O5N4DCU6.js";
|
|
138
|
+
import "./chunks/chunk-JDY5GL7E.js";
|
|
204
139
|
export {
|
|
205
140
|
INITIAL_TEST_CONTEXT,
|
|
206
141
|
ItemContainer,
|
|
@@ -326,13 +261,8 @@ export {
|
|
|
326
261
|
TestStamp,
|
|
327
262
|
TestView,
|
|
328
263
|
TestViewToggle,
|
|
329
|
-
getItemByUri,
|
|
330
|
-
getManifestInfo,
|
|
331
264
|
qtiAndMixin,
|
|
332
265
|
qtiSubtractMixin,
|
|
333
|
-
qtiTransformItem,
|
|
334
|
-
qtiTransformManifest,
|
|
335
|
-
qtiTransformTest,
|
|
336
266
|
testContext
|
|
337
267
|
};
|
|
338
268
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@layer qti-base, qti-components, qti-utilities, qti-variants, qti-extended;
|
|
2
2
|
|
|
3
3
|
:root,
|
|
4
4
|
:host {
|
|
@@ -1832,7 +1832,7 @@ import{b,d as q,j as m}from"./chunk-HCXHHI6V.js";import{f as c}from"./chunk-HKWY
|
|
|
1832
1832
|
|
|
1833
1833
|
.qti-layout-row [class*='qti-layout-col']:empty {
|
|
1834
1834
|
width: 0;
|
|
1835
|
-
overflow: hidden; /* to fully collapse if there
|
|
1835
|
+
overflow: hidden; /* to fully collapse if there’s padding or borders */
|
|
1836
1836
|
}
|
|
1837
1837
|
|
|
1838
1838
|
.qti-layout-col1 {
|
|
@@ -2007,7 +2007,7 @@ qti-response-declaration {
|
|
|
2007
2007
|
padding-right: 30px;
|
|
2008
2008
|
|
|
2009
2009
|
&::after {
|
|
2010
|
-
content: '
|
|
2010
|
+
content: '\02714';
|
|
2011
2011
|
color: var(--qti-correct);
|
|
2012
2012
|
position: absolute;
|
|
2013
2013
|
top: 5px;
|
|
@@ -2127,7 +2127,7 @@ qti-response-declaration {
|
|
|
2127
2127
|
&[data-correct-response='true'] {
|
|
2128
2128
|
/* stylelint-disable-next-line no-descending-specificity */
|
|
2129
2129
|
&::after {
|
|
2130
|
-
content: '
|
|
2130
|
+
content: '\02714';
|
|
2131
2131
|
color: var(--qti-correct);
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
@@ -2242,7 +2242,7 @@ qti-response-declaration {
|
|
|
2242
2242
|
|
|
2243
2243
|
&:empty::after {
|
|
2244
2244
|
padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
|
|
2245
|
-
content: '
|
|
2245
|
+
content: '\0000a0'; /* when empty, put a space in it */
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
2248
|
&:not(:empty) {
|
|
@@ -2446,7 +2446,7 @@ qti-response-declaration {
|
|
|
2446
2446
|
|
|
2447
2447
|
&:empty::after {
|
|
2448
2448
|
padding: var(--qti-padding-md) var(--qti-padding-lg); /* Padding shorthand */
|
|
2449
|
-
content: '
|
|
2449
|
+
content: '\0000a0'; /* when empty, put a space in it */
|
|
2450
2450
|
}
|
|
2451
2451
|
|
|
2452
2452
|
&:not(:empty) {
|
|
@@ -2670,7 +2670,7 @@ qti-response-declaration {
|
|
|
2670
2670
|
&:state(correct-response),
|
|
2671
2671
|
&[data-correct-response='true'] {
|
|
2672
2672
|
&::after {
|
|
2673
|
-
content: '
|
|
2673
|
+
content: '\02714';
|
|
2674
2674
|
color: #16a34a; /* text-green-600 */
|
|
2675
2675
|
}
|
|
2676
2676
|
}
|
|
@@ -3712,20 +3712,3 @@ div.full-correct-response-inline {
|
|
|
3712
3712
|
margin-right: var(--qti-padding-horizontal);
|
|
3713
3713
|
padding: 0.2rem;
|
|
3714
3714
|
}
|
|
3715
|
-
`;export{B as a,_ as b};
|
|
3716
|
-
/*! Bundled license information:
|
|
3717
|
-
|
|
3718
|
-
lit-html/node/directives/private-async-helpers.js:
|
|
3719
|
-
(**
|
|
3720
|
-
* @license
|
|
3721
|
-
* Copyright 2021 Google LLC
|
|
3722
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3723
|
-
*)
|
|
3724
|
-
|
|
3725
|
-
lit-html/node/directives/until.js:
|
|
3726
|
-
(**
|
|
3727
|
-
* @license
|
|
3728
|
-
* Copyright 2017 Google LLC
|
|
3729
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
3730
|
-
*)
|
|
3731
|
-
*/
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import { LitElement } from 'lit';
|
|
3
|
+
import { e as VariableValue, R as ResponseInteraction, f as ResponseVariable, O as OutcomeVariable, V as VariableDeclaration } from './variables-Vgyr6yyW.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @summary The qti-assessment-item element contains all the other QTI 3 item structures.
|
|
7
|
+
* @documentation https://www.imsglobal.org/spec/qti/v3p0/impl#h.dltnnj87l0yj
|
|
8
|
+
*
|
|
9
|
+
* @dependency qti-feedback
|
|
10
|
+
* @dependency qti-responseprocessing
|
|
11
|
+
*
|
|
12
|
+
* @event qti-item-context-updated - Emitted when through a user action the itemContext is updated,
|
|
13
|
+
* typically on interaction with the interactions, or calling response processing.
|
|
14
|
+
*/
|
|
15
|
+
declare class QtiAssessmentItem extends LitElement {
|
|
16
|
+
private _itemTitle;
|
|
17
|
+
private _templateProcessing;
|
|
18
|
+
identifier: string;
|
|
19
|
+
adaptive: 'true' | 'false';
|
|
20
|
+
timeDependent: 'true' | 'false' | null;
|
|
21
|
+
get title(): string;
|
|
22
|
+
set title(value: string);
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
protected _handleDisabledChange: (_: boolean, disabled: boolean) => void;
|
|
25
|
+
readonly: boolean;
|
|
26
|
+
protected _handleReadonlyChange: (_: boolean, readonly: boolean) => void;
|
|
27
|
+
private _context;
|
|
28
|
+
/**
|
|
29
|
+
* Sets the identifier for the assessment item reference if this item is in a test.
|
|
30
|
+
*
|
|
31
|
+
* @param identifier - The identifier for the assessment item reference.
|
|
32
|
+
*/
|
|
33
|
+
set assessmentItemRefId(identifier: string);
|
|
34
|
+
get assessmentItemRefId(): string;
|
|
35
|
+
get variables(): VariableValue<string | string[] | null>[];
|
|
36
|
+
set variables(value: VariableValue<string | string[] | null>[]);
|
|
37
|
+
private _initialContext;
|
|
38
|
+
private _feedbackElements;
|
|
39
|
+
private _interactionElements;
|
|
40
|
+
/** @deprecated use variables property instead */
|
|
41
|
+
set responses(myResponses: ResponseInteraction[]);
|
|
42
|
+
render(): lit_html.TemplateResult<1>;
|
|
43
|
+
connectedCallback(): void;
|
|
44
|
+
disconnectedCallback(): void;
|
|
45
|
+
private _attachEventListeners;
|
|
46
|
+
private _removeEventListeners;
|
|
47
|
+
private _handleRegisterVariable;
|
|
48
|
+
private _handleRegisterFeedback;
|
|
49
|
+
private _handleRegisterInteraction;
|
|
50
|
+
private _handleEndAttempt;
|
|
51
|
+
private _handleSetOutcomeValue;
|
|
52
|
+
private _handleUpdateResponseVariable;
|
|
53
|
+
/**
|
|
54
|
+
* Toggles the display of correct responses for all interactions.
|
|
55
|
+
* @param show - A boolean indicating whether to show or hide correct responses.
|
|
56
|
+
*/
|
|
57
|
+
showCorrectResponse(show: boolean): void;
|
|
58
|
+
/**
|
|
59
|
+
* Toggles the display of the candidate correction for all interactions.
|
|
60
|
+
* @param show - A boolean indicating whether to show or hide candidate correction.
|
|
61
|
+
*/
|
|
62
|
+
showCandidateCorrection(show: boolean): void;
|
|
63
|
+
private _processTemplates;
|
|
64
|
+
processResponse(countNumAttempts?: boolean, reportValidityAfterScoring?: boolean): boolean;
|
|
65
|
+
resetResponses(): void;
|
|
66
|
+
protected getResponse(identifier: string): Readonly<ResponseVariable>;
|
|
67
|
+
protected getOutcome(identifier: string): Readonly<OutcomeVariable>;
|
|
68
|
+
protected getVariable(identifier: string): Readonly<VariableDeclaration<string | string[] | null>>;
|
|
69
|
+
/**
|
|
70
|
+
* Updates the response variable with the specified identifier to the given value.
|
|
71
|
+
*
|
|
72
|
+
* @protected
|
|
73
|
+
*
|
|
74
|
+
* This method is intended for internal use within the class and subclasses.
|
|
75
|
+
* It should not be called externally by third parties.
|
|
76
|
+
*
|
|
77
|
+
* @param identifier - The identifier of the response variable to update.
|
|
78
|
+
* @param value - The new value for the response variable.
|
|
79
|
+
*/
|
|
80
|
+
updateResponseVariable(identifier: string, value: string | string[] | undefined): void;
|
|
81
|
+
setOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
|
|
82
|
+
/**
|
|
83
|
+
* Updates the outcome variable with the specified identifier to the given value.
|
|
84
|
+
*
|
|
85
|
+
* @protected
|
|
86
|
+
*
|
|
87
|
+
* This method is intended for internal use within the class and subclasses.
|
|
88
|
+
* It should not be called externally by third parties.
|
|
89
|
+
*
|
|
90
|
+
* @param identifier - The identifier of the response variable to update.
|
|
91
|
+
* @param value - The new value for the response variable.
|
|
92
|
+
*/
|
|
93
|
+
updateOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
|
|
94
|
+
validate(reportValidity?: boolean): boolean;
|
|
95
|
+
reportValidity(): void;
|
|
96
|
+
private _getCompletionStatus;
|
|
97
|
+
}
|
|
98
|
+
declare global {
|
|
99
|
+
interface HTMLElementTagNameMap {
|
|
100
|
+
'qti-assessment-item': QtiAssessmentItem;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export { QtiAssessmentItem as Q };
|