@citolab/qti-components 7.3.23 → 7.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +5485 -1
- package/custom-elements.json +29837 -0
- package/dist/chunks/chunk-4BDOB6KY.js +365 -0
- package/dist/chunks/chunk-4BDOB6KY.js.map +1 -0
- package/dist/chunks/{chunk-LF6SO3JU.js → chunk-7RW7LCEJ.js} +459 -587
- package/dist/chunks/chunk-7RW7LCEJ.js.map +1 -0
- package/dist/chunks/chunk-APBAIN6D.js +2237 -0
- package/dist/chunks/chunk-APBAIN6D.js.map +1 -0
- package/dist/chunks/{chunk-22IRJWWY.js → chunk-C5RLRG3L.js} +1 -1
- package/dist/chunks/chunk-C5RLRG3L.js.map +1 -0
- package/dist/chunks/{chunk-AZIKAG7K.js → chunk-DVQQ7I6Y.js} +1 -1
- package/dist/chunks/chunk-DVQQ7I6Y.js.map +1 -0
- package/dist/chunks/{chunk-QCB6P7DH.js → chunk-GAAFN7QF.js} +1 -1
- package/dist/chunks/{chunk-QCB6P7DH.js.map → chunk-GAAFN7QF.js.map} +1 -1
- package/dist/chunks/chunk-K47QFOQX.js +175 -0
- package/dist/chunks/chunk-K47QFOQX.js.map +1 -0
- package/dist/chunks/{chunk-FL72PF4D.js → chunk-SV4K25ZI.js} +2 -2
- package/dist/custom-elements.json +29837 -0
- package/dist/exports/computed-item.context.d.ts +1 -7
- package/dist/exports/computed.context.d.ts +2 -10
- package/dist/exports/computed.context.js +1 -1
- package/dist/exports/interaction.d.ts +45 -7
- package/dist/exports/item.context.d.ts +10 -7
- package/dist/exports/qti-assessment-item.context.d.ts +2 -7
- package/dist/exports/qti-condition-expression.d.ts +4 -5
- package/dist/exports/qti-condition-expression.js +2 -2
- package/dist/exports/qti-expression.d.ts +22 -7
- package/dist/exports/qti-expression.js +1 -1
- package/dist/exports/qti-test.d.ts +10 -38
- package/dist/exports/session.context.d.ts +2 -13
- package/dist/exports/session.context.js +1 -1
- package/dist/exports/test.context.d.ts +2 -7
- package/dist/exports/variables.d.ts +1 -7
- package/dist/index.d.ts +12 -31
- package/dist/index.js +38 -95
- package/{cdn/chunks/chunk-5TDBMEY5.js → dist/item.css} +7 -24
- package/dist/qti-assessment-item-l-mN3teH.d.ts +105 -0
- package/dist/qti-components/index.d.ts +1173 -16
- package/dist/qti-components/index.js +6 -5
- package/dist/qti-components-jsx.d.ts +4463 -0
- package/dist/qti-item/index.d.ts +114 -0
- package/dist/qti-item/index.js +19 -0
- package/dist/qti-loader/index.d.ts +2 -5
- package/dist/qti-loader/index.js +24 -4
- package/dist/qti-loader/index.js.map +1 -1
- package/dist/qti-modal-feedback-PKbhO-3w.d.ts +30 -0
- package/dist/qti-test/index.d.ts +480 -0
- package/dist/qti-test/index.js +69 -0
- package/dist/{qti-test-feedback-CZsbp6z4.d.ts → qti-test-BwvOhz_-.d.ts} +45 -18
- package/dist/variables-BCkyLoXK.d.ts +55 -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.map +0 -1
- package/dist/chunks/chunk-36G5MQKR.js +0 -85
- package/dist/chunks/chunk-36G5MQKR.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.map +0 -1
- package/dist/chunks/chunk-BLBSZDQ4.js +0 -52
- package/dist/chunks/chunk-BLBSZDQ4.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-EMVOKXSA.js +0 -84
- package/dist/chunks/chunk-EMVOKXSA.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-GAHXUFMQ.js +0 -93
- package/dist/chunks/chunk-GAHXUFMQ.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-ODHS7HDB.js +0 -94
- package/dist/chunks/chunk-ODHS7HDB.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/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/chunks/{chunk-FL72PF4D.js.map → chunk-SV4K25ZI.js.map} +0 -0
- /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
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import 'lit-html';
|
|
3
|
-
import 'lit';
|
|
1
|
+
import { V as VariableDeclaration } from '../variables-BCkyLoXK.js';
|
|
4
2
|
import './expression-result.js';
|
|
5
|
-
import './interaction.interface.js';
|
|
6
|
-
import './config.context.js';
|
|
7
|
-
import 'lit-html/directives/ref.js';
|
|
8
|
-
import './qti.context.js';
|
|
9
3
|
|
|
10
4
|
type ComputedItemContext = {
|
|
11
5
|
identifier: string;
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { View } from './session.context.js';
|
|
2
2
|
import { ComputedItemContext } from './computed-item.context.js';
|
|
3
|
-
import '../
|
|
4
|
-
import 'lit-html';
|
|
5
|
-
import 'lit';
|
|
3
|
+
import '../variables-BCkyLoXK.js';
|
|
6
4
|
import './expression-result.js';
|
|
7
|
-
import './interaction.interface.js';
|
|
8
|
-
import './config.context.js';
|
|
9
|
-
import 'lit-html/directives/ref.js';
|
|
10
|
-
import './qti.context.js';
|
|
11
|
-
import '@heximal/templates';
|
|
12
|
-
import './test.context.js';
|
|
13
5
|
|
|
14
6
|
type ComputedItem = ComputedItemContext & {
|
|
15
7
|
categories?: string[];
|
|
@@ -1,8 +1,46 @@
|
|
|
1
|
-
import 'lit';
|
|
2
|
-
import './config.context.js';
|
|
3
|
-
|
|
4
|
-
import './interaction.interface.js';
|
|
5
|
-
import 'lit-html';
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ConfigContext } from './config.context.js';
|
|
3
|
+
import { R as ResponseVariable } from '../variables-BCkyLoXK.js';
|
|
4
|
+
import { IInteraction } from './interaction.interface.js';
|
|
6
5
|
import './expression-result.js';
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
|
|
7
|
+
declare enum Correctness {
|
|
8
|
+
Correct = "correct",
|
|
9
|
+
PartiallyCorrect = "partially-correct",
|
|
10
|
+
Incorrect = "incorrect"
|
|
11
|
+
}
|
|
12
|
+
declare abstract class Interaction extends LitElement implements IInteraction {
|
|
13
|
+
private _context;
|
|
14
|
+
protected configContext: ConfigContext;
|
|
15
|
+
static formAssociated: boolean;
|
|
16
|
+
protected _internals: ElementInternals;
|
|
17
|
+
get internals(): ElementInternals;
|
|
18
|
+
responseIdentifier: any;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
readonly: boolean;
|
|
21
|
+
protected _isFullCorrectResponse: boolean;
|
|
22
|
+
get isFullCorrectResponse(): Readonly<boolean>;
|
|
23
|
+
set isFullCorrectResponse(val: Readonly<boolean>);
|
|
24
|
+
protected _correctResponse: string | string[];
|
|
25
|
+
get correctResponse(): Readonly<string | string[]>;
|
|
26
|
+
set correctResponse(val: Readonly<string | string[]>);
|
|
27
|
+
get correctness(): Readonly<Correctness | null>;
|
|
28
|
+
get isInline(): boolean;
|
|
29
|
+
get responseVariable(): ResponseVariable | undefined;
|
|
30
|
+
toggleCorrectResponse(show: boolean): void;
|
|
31
|
+
protected toggleFullCorrectResponse(show: boolean): Promise<void>;
|
|
32
|
+
protected toggleInternalCorrectResponse(show: boolean): void;
|
|
33
|
+
toggleCandidateCorrection(show: boolean): void;
|
|
34
|
+
constructor();
|
|
35
|
+
abstract validate(): boolean;
|
|
36
|
+
get value(): string | null;
|
|
37
|
+
set value(val: string | null);
|
|
38
|
+
abstract get response(): string | string[] | null;
|
|
39
|
+
abstract set response(val: string | string[] | null);
|
|
40
|
+
reportValidity(): boolean;
|
|
41
|
+
reset(): void;
|
|
42
|
+
connectedCallback(): void;
|
|
43
|
+
saveResponse(value: string | string[]): void;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { Correctness, Interaction };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import 'lit-html';
|
|
3
|
-
import 'lit';
|
|
1
|
+
import { V as VariableDeclaration } from '../variables-BCkyLoXK.js';
|
|
4
2
|
import './expression-result.js';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
|
|
4
|
+
interface ItemContext {
|
|
5
|
+
identifier?: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
variables?: ReadonlyArray<VariableDeclaration<string | string[] | null>>;
|
|
8
|
+
}
|
|
9
|
+
declare const itemContextVariables: VariableDeclaration<string | string[]>[];
|
|
10
|
+
|
|
11
|
+
export { type ItemContext, itemContextVariables };
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
3
|
-
import 'lit';
|
|
1
|
+
import { ItemContext } from './item.context.js';
|
|
2
|
+
import '../variables-BCkyLoXK.js';
|
|
4
3
|
import './expression-result.js';
|
|
5
|
-
import './interaction.interface.js';
|
|
6
|
-
import './config.context.js';
|
|
7
|
-
import 'lit-html/directives/ref.js';
|
|
8
|
-
import './qti.context.js';
|
|
9
4
|
|
|
10
5
|
declare const itemContext: {
|
|
11
6
|
__context__: ItemContext;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QtiExpression } from './qti-expression.js';
|
|
2
2
|
import 'lit-html';
|
|
3
3
|
import 'lit';
|
|
4
|
-
import './expression-result.js';
|
|
5
|
-
import './interaction.interface.js';
|
|
6
|
-
import './config.context.js';
|
|
7
|
-
import 'lit-html/directives/ref.js';
|
|
8
4
|
import './qti.context.js';
|
|
5
|
+
import '../variables-BCkyLoXK.js';
|
|
6
|
+
import './expression-result.js';
|
|
7
|
+
import './item.context.js';
|
|
9
8
|
|
|
10
9
|
declare abstract class QtiConditionExpression extends QtiExpression<boolean> {
|
|
11
10
|
calculate(): Readonly<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
QtiConditionExpression
|
|
3
|
-
} from "../chunks/chunk-
|
|
4
|
-
import "../chunks/chunk-
|
|
3
|
+
} from "../chunks/chunk-SV4K25ZI.js";
|
|
4
|
+
import "../chunks/chunk-GAAFN7QF.js";
|
|
5
5
|
import "../chunks/chunk-H6KHXSIO.js";
|
|
6
6
|
import "../chunks/chunk-NJNQOQUU.js";
|
|
7
7
|
import "../chunks/chunk-H2JE6IVU.js";
|
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
import 'lit-html';
|
|
2
|
-
import 'lit';
|
|
3
|
-
import '
|
|
4
|
-
|
|
1
|
+
import * as lit_html from 'lit-html';
|
|
2
|
+
import * as lit from 'lit';
|
|
3
|
+
import { LitElement } from 'lit';
|
|
4
|
+
import { QtiContext, QtiContextType } from './qti.context.js';
|
|
5
|
+
import { R as ResponseVariable, V as VariableDeclaration } from '../variables-BCkyLoXK.js';
|
|
6
|
+
import { ItemContext } from './item.context.js';
|
|
5
7
|
import './expression-result.js';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
interface QtiExpressionBase<T> {
|
|
10
|
+
calculate(): Readonly<T>;
|
|
11
|
+
}
|
|
12
|
+
declare abstract class QtiExpression<T> extends LitElement implements QtiExpressionBase<T> {
|
|
13
|
+
protected result: any;
|
|
14
|
+
static styles: lit.CSSResult;
|
|
15
|
+
render(): lit_html.TemplateResult<1>;
|
|
16
|
+
calculate(): Readonly<T>;
|
|
17
|
+
protected getResult(): Readonly<T>;
|
|
18
|
+
protected context?: ItemContext;
|
|
19
|
+
protected qtiContext?: QtiContext;
|
|
20
|
+
getVariables: () => (ResponseVariable | VariableDeclaration<QtiContextType>)[];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export { QtiExpression, type QtiExpressionBase };
|
|
@@ -1,40 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import '
|
|
1
|
+
export { I as IQtiTest, f as ITestNavigationMixin, g as ITestProcessingMixin, e as QtiTest } from '../qti-test-BwvOhz_-.js';
|
|
2
|
+
import 'lit';
|
|
3
|
+
import './test.context.js';
|
|
4
|
+
import './session.context.js';
|
|
5
|
+
import '../variables-BCkyLoXK.js';
|
|
6
|
+
import '../qti-transform-item-C9WtMeDR.js';
|
|
7
|
+
import '../qti-assessment-item-l-mN3teH.js';
|
|
8
8
|
import 'lit-html';
|
|
9
9
|
import './expression-result.js';
|
|
10
|
-
import '
|
|
11
|
-
import '
|
|
12
|
-
import '
|
|
13
|
-
import './qti.context.js';
|
|
14
|
-
|
|
15
|
-
type PostLoadTransformCallback = (transformer: transformItemApi, itemRef: QtiAssessmentItemRef) => transformItemApi | Promise<transformItemApi>;
|
|
16
|
-
|
|
17
|
-
interface QtiTest extends LitElement, ITestNavigationMixin, ITestProcessingMixin, IQtiTest {
|
|
18
|
-
}
|
|
19
|
-
interface IQtiTest {
|
|
20
|
-
testContext: Readonly<TestContext>;
|
|
21
|
-
sessionContext: Readonly<SessionContext>;
|
|
22
|
-
updateItemVariables(itemRefID: string, variables: VariableValue<string | string[] | null>[]): void;
|
|
23
|
-
}
|
|
24
|
-
interface ITestNavigationMixin {
|
|
25
|
-
navigate: 'item' | 'section' | null;
|
|
26
|
-
cacheTransform: boolean;
|
|
27
|
-
requestTimeout: number;
|
|
28
|
-
showLoadingIndicators: boolean;
|
|
29
|
-
postLoadTransformCallback: PostLoadTransformCallback | null;
|
|
30
|
-
navigateTo(type: 'item' | 'section', id?: string): void;
|
|
31
|
-
retryNavigation(): void;
|
|
32
|
-
}
|
|
33
|
-
interface ITestProcessingMixin {
|
|
34
|
-
updateOutcomeVariable(identifier: string, value: string | string[] | undefined): void;
|
|
35
|
-
getOutcome(identifier: string): Readonly<OutcomeVariable>;
|
|
36
|
-
getVariable(identifier: string): Readonly<VariableDeclaration<string | string[] | null>>;
|
|
37
|
-
outcomeProcessing(): boolean;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export type { IQtiTest, ITestNavigationMixin, ITestProcessingMixin, QtiTest };
|
|
10
|
+
import '@heximal/templates';
|
|
11
|
+
import '../qti-modal-feedback-PKbhO-3w.js';
|
|
12
|
+
import './item.context.js';
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import '../qti-response-declaration-DKr08ANy.js';
|
|
3
|
-
import 'lit-html';
|
|
4
|
-
import 'lit';
|
|
5
|
-
import './expression-result.js';
|
|
6
|
-
import './interaction.interface.js';
|
|
7
|
-
import './config.context.js';
|
|
8
|
-
import 'lit-html/directives/ref.js';
|
|
9
|
-
import './qti.context.js';
|
|
10
|
-
import '@heximal/templates';
|
|
11
|
-
import './test.context.js';
|
|
12
|
-
|
|
1
|
+
type View = 'author' | 'candidate' | 'proctor' | 'scorer' | 'testConstructor' | 'tutor' | '';
|
|
13
2
|
interface SessionContext {
|
|
14
3
|
navPartId?: string | null;
|
|
15
4
|
navSectionId?: string | null;
|
|
@@ -23,4 +12,4 @@ declare const sessionContext: {
|
|
|
23
12
|
__context__: Readonly<SessionContext>;
|
|
24
13
|
};
|
|
25
14
|
|
|
26
|
-
export { INITIAL_SESSION_CONTEXT, type SessionContext, sessionContext };
|
|
15
|
+
export { INITIAL_SESSION_CONTEXT, type SessionContext, type View, sessionContext };
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import '
|
|
3
|
-
import 'lit';
|
|
1
|
+
import { ItemContext } from './item.context.js';
|
|
2
|
+
import { V as VariableDeclaration } from '../variables-BCkyLoXK.js';
|
|
4
3
|
import './expression-result.js';
|
|
5
|
-
import './interaction.interface.js';
|
|
6
|
-
import './config.context.js';
|
|
7
|
-
import 'lit-html/directives/ref.js';
|
|
8
|
-
import './qti.context.js';
|
|
9
4
|
|
|
10
5
|
interface TestContext {
|
|
11
6
|
items: (ItemContext & {
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { O as OutcomeVariable, R as ResponseVariable, T as TemplateVariable, V as VariableDeclaration, e as VariableValue } from '../variables-BCkyLoXK.js';
|
|
2
2
|
import './expression-result.js';
|
|
3
|
-
import 'lit-html';
|
|
4
|
-
import 'lit';
|
|
5
|
-
import './interaction.interface.js';
|
|
6
|
-
import './config.context.js';
|
|
7
|
-
import 'lit-html/directives/ref.js';
|
|
8
|
-
import './qti.context.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,44 +1,25 @@
|
|
|
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 {
|
|
1
|
+
export { Q as QtiAssessmentItem } from './qti-assessment-item-l-mN3teH.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 { Q as QtiModalFeedback } from './qti-modal-feedback-PKbhO-3w.js';
|
|
4
|
+
export { c as QtiAreaMapEntry, b as QtiAreaMapping, a as QtiMapEntry, Q as QtiMapping, d as areaShape } from './variables-BCkyLoXK.js';
|
|
5
|
+
export { QtiTest, 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 { Q as QtiAssessmentItemRef, a as QtiAssessmentSection, b as QtiAssessmentTest, d as QtiTestFeedback, c as QtiTestPart } from './qti-test-BwvOhz_-.js';
|
|
5
7
|
export { INITIAL_TEST_CONTEXT, TestContext, testContext } from './exports/test.context.js';
|
|
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';
|
|
8
|
+
export { ItemContainer, ItemShowCorrectResponse, PrintItemVariables, QtiItem } from './qti-item/index.js';
|
|
31
9
|
import 'lit-html';
|
|
32
10
|
import 'lit';
|
|
33
11
|
import './exports/expression-result.js';
|
|
34
12
|
import './exports/interaction.interface.js';
|
|
13
|
+
import './exports/interaction.js';
|
|
35
14
|
import './exports/config.context.js';
|
|
15
|
+
import './exports/item.context.js';
|
|
36
16
|
import 'lit-html/directives/ref.js';
|
|
17
|
+
import './exports/qti-expression.js';
|
|
37
18
|
import './exports/qti.context.js';
|
|
38
19
|
import './exports/qti-condition-expression.js';
|
|
39
20
|
import './exports/session.context.js';
|
|
40
|
-
import './exports/qti-test.js';
|
|
41
|
-
import '@heximal/templates';
|
|
42
21
|
import './exports/computed.context.js';
|
|
43
22
|
import './exports/computed-item.context.js';
|
|
23
|
+
import '@heximal/templates';
|
|
44
24
|
import 'storybook/internal/types';
|
|
25
|
+
import './qti-transform-item-C9WtMeDR.js';
|
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-4BDOB6KY.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,39 +101,49 @@ import {
|
|
|
163
101
|
QtiVariable,
|
|
164
102
|
qtiAndMixin,
|
|
165
103
|
qtiSubtractMixin
|
|
166
|
-
} from "./chunks/chunk-
|
|
167
|
-
import "./chunks/chunk-YWEWSQJR.js";
|
|
104
|
+
} from "./chunks/chunk-7RW7LCEJ.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-APBAIN6D.js";
|
|
175
131
|
import "./chunks/chunk-LSEB52SP.js";
|
|
176
|
-
import "./chunks/chunk-ELDMXTUQ.js";
|
|
177
132
|
import {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
import
|
|
183
|
-
|
|
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";
|
|
133
|
+
QtiModalFeedback
|
|
134
|
+
} from "./chunks/chunk-K47QFOQX.js";
|
|
135
|
+
import "./chunks/chunk-ELDMXTUQ.js";
|
|
136
|
+
import "./chunks/chunk-WFUXZ4UT.js";
|
|
137
|
+
import "./chunks/chunk-SV4K25ZI.js";
|
|
138
|
+
import "./chunks/chunk-GAAFN7QF.js";
|
|
191
139
|
import "./chunks/chunk-H6KHXSIO.js";
|
|
192
|
-
import "./chunks/chunk-
|
|
140
|
+
import "./chunks/chunk-C5RLRG3L.js";
|
|
193
141
|
import {
|
|
194
142
|
INITIAL_TEST_CONTEXT,
|
|
195
143
|
testContext
|
|
196
144
|
} from "./chunks/chunk-CJADUWEC.js";
|
|
197
145
|
import "./chunks/chunk-4OGJBG35.js";
|
|
198
|
-
import "./chunks/chunk-
|
|
146
|
+
import "./chunks/chunk-DVQQ7I6Y.js";
|
|
199
147
|
import "./chunks/chunk-HFAUM56X.js";
|
|
200
148
|
import "./chunks/chunk-NJNQOQUU.js";
|
|
201
149
|
import "./chunks/chunk-ERYHQVOT.js";
|
|
@@ -326,13 +274,8 @@ export {
|
|
|
326
274
|
TestStamp,
|
|
327
275
|
TestView,
|
|
328
276
|
TestViewToggle,
|
|
329
|
-
getItemByUri,
|
|
330
|
-
getManifestInfo,
|
|
331
277
|
qtiAndMixin,
|
|
332
278
|
qtiSubtractMixin,
|
|
333
|
-
qtiTransformItem,
|
|
334
|
-
qtiTransformManifest,
|
|
335
|
-
qtiTransformTest,
|
|
336
279
|
testContext
|
|
337
280
|
};
|
|
338
281
|
//# 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
|
-
*/
|