@citolab/qti-components 10.0.0-next.15 → 10.0.0-next.16
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 +1535 -2737
- package/dist/base.d.ts +31 -7
- package/dist/base.js +7 -1
- package/dist/{chunk-IWNRQVNW.js → chunk-4DC5Z2LQ.js} +2 -2
- package/dist/{chunk-G2EIC7H2.js → chunk-7MYZHZWV.js} +955 -364
- package/dist/chunk-7MYZHZWV.js.map +1 -0
- package/dist/{chunk-URYYGVTA.js → chunk-H3Z3TMFB.js} +55 -60
- package/dist/chunk-H3Z3TMFB.js.map +1 -0
- package/dist/{chunk-F553IZPL.js → chunk-J3F3JSCW.js} +2 -2
- package/dist/{chunk-32PI7KWX.js → chunk-L3LBSAGZ.js} +2 -2
- package/dist/{chunk-WIUPAUJV.js → chunk-L7J2ZOJL.js} +2 -2
- package/dist/{chunk-MIQZBDTB.js → chunk-LQ65RILE.js} +140 -105
- package/dist/chunk-LQ65RILE.js.map +1 -0
- package/dist/{chunk-QT7WQXCS.js → chunk-M4TZIB3W.js} +33 -37
- package/dist/chunk-M4TZIB3W.js.map +1 -0
- package/dist/{chunk-HT3LSWXL.js → chunk-NWSDBYK7.js} +2 -2
- package/dist/{chunk-IM5AKPIJ.js → chunk-NZ7ZC4SP.js} +96 -4
- package/dist/chunk-NZ7ZC4SP.js.map +1 -0
- package/dist/{chunk-XY5DHYIH.js → chunk-OG5HIRHE.js} +3 -3
- package/dist/{chunk-5AJZGRWI.js → chunk-UDJ7MHLF.js} +4 -4
- package/dist/chunk-UDJ7MHLF.js.map +1 -0
- package/dist/chunk-WWY2H2YO.js +7 -0
- package/dist/chunk-WWY2H2YO.js.map +1 -0
- package/dist/{computed.types.d-IXACuBr7.d.ts → computed.types.d-n3K2VvB0.d.ts} +2 -2
- package/dist/corrections.d.ts +117 -13
- package/dist/corrections.js +8 -8
- package/dist/elements.d.ts +44 -21
- package/dist/elements.js +3 -3
- package/dist/index.d.ts +8 -8
- package/dist/index.js +19 -13
- package/dist/interactions.d.ts +82 -16
- package/dist/interactions.js +3 -3
- package/dist/item.css +1057 -2383
- package/dist/item.d.ts +3 -3
- package/dist/item.js +4 -4
- package/dist/loader.d.ts +1 -1
- package/dist/processing.js +3 -3
- package/dist/qti-components-jsx.d.ts +1198 -201
- package/dist/{qti-feedback.d-GAqMqAt6.d.ts → qti-feedback.d-1JL_qHjc.d.ts} +1 -1
- package/dist/{qti-item.d-pFcNk0th.d.ts → qti-item.d-DDMDjWIk.d.ts} +1 -1
- package/dist/{qti-test.d-BjhVQnQy.d.ts → qti-test.d-CDdyCp6e.d.ts} +19 -16
- package/dist/{qti-text-entry-interaction.d-DECzpIzi.d.ts → qti-text-entry-interaction.d-BTAKmr4b.d.ts} +142 -42
- package/dist/{record.d-CljDLwRz.d.ts → record.d-Bojj6_LW.d.ts} +33 -2
- package/dist/{session.context.d-DW09Lrie.d.ts → session.context.d-BNxGeyh9.d.ts} +1 -1
- package/dist/test.d.ts +7 -7
- package/dist/test.js +5 -5
- package/package.json +9 -9
- package/dist/chunk-5AJZGRWI.js.map +0 -1
- package/dist/chunk-G2EIC7H2.js.map +0 -1
- package/dist/chunk-IM5AKPIJ.js.map +0 -1
- package/dist/chunk-MIQZBDTB.js.map +0 -1
- package/dist/chunk-QT7WQXCS.js.map +0 -1
- package/dist/chunk-RNLSNH4N.js +0 -7
- package/dist/chunk-RNLSNH4N.js.map +0 -1
- package/dist/chunk-URYYGVTA.js.map +0 -1
- /package/dist/{chunk-IWNRQVNW.js.map → chunk-4DC5Z2LQ.js.map} +0 -0
- /package/dist/{chunk-F553IZPL.js.map → chunk-J3F3JSCW.js.map} +0 -0
- /package/dist/{chunk-32PI7KWX.js.map → chunk-L3LBSAGZ.js.map} +0 -0
- /package/dist/{chunk-WIUPAUJV.js.map → chunk-L7J2ZOJL.js.map} +0 -0
- /package/dist/{chunk-HT3LSWXL.js.map → chunk-NWSDBYK7.js.map} +0 -0
- /package/dist/{chunk-XY5DHYIH.js.map → chunk-OG5HIRHE.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as View, C as ComputedItemContext } from './session.context.d-
|
|
1
|
+
import { V as View, C as ComputedItemContext } from './session.context.d-BNxGeyh9.js';
|
|
2
2
|
|
|
3
3
|
type ComputedItem = ComputedItemContext & {
|
|
4
4
|
categories?: string[];
|
|
@@ -18,7 +18,7 @@ type ComputedItem = ComputedItemContext & {
|
|
|
18
18
|
};
|
|
19
19
|
type ComputedContext = {
|
|
20
20
|
view: View;
|
|
21
|
-
/** What test plugins keep, by plugin name (`QtiTestState.session.plugins`). Read-only; write with `
|
|
21
|
+
/** What test plugins keep, by plugin name (`QtiTestState.session.plugins`). Read-only; write with `qc-test-update-plugin-state`. */
|
|
22
22
|
plugins?: Readonly<Record<string, unknown>>;
|
|
23
23
|
identifier: string;
|
|
24
24
|
title: string;
|
package/dist/corrections.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { I as Interaction } from './record.d-
|
|
1
|
+
import { I as Interaction } from './record.d-Bojj6_LW.js';
|
|
2
2
|
import { R as ResponseValue } from './response.d-_8y4kjGP.js';
|
|
3
3
|
import * as lit from 'lit';
|
|
4
|
-
import { LitElement } from 'lit';
|
|
5
|
-
import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, C as Choice, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-
|
|
4
|
+
import { PropertyValues, LitElement } from 'lit';
|
|
5
|
+
import { g as QtiGapText, k as QtiHotspotChoice, m as QtiHottext, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, f as QtiGapMatchInteraction, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, C as Choice, l as QtiHotspotInteraction, n as QtiHottextInteraction, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, u as QtiSelectPointInteraction, x as QtiSliderInteraction, y as QtiTextEntryInteraction } from './qti-text-entry-interaction.d-BTAKmr4b.js';
|
|
6
6
|
import { QtiAssessmentItem } from './elements.js';
|
|
7
|
-
import { Q as QtiItem } from './qti-item.d-
|
|
8
|
-
import { V as View, C as ComputedItemContext } from './session.context.d-
|
|
9
|
-
import { l as QtiTest, q as TestCheckItem, v as TestNavigation } from './qti-test.d-
|
|
10
|
-
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-
|
|
7
|
+
import { Q as QtiItem } from './qti-item.d-DDMDjWIk.js';
|
|
8
|
+
import { V as View, C as ComputedItemContext } from './session.context.d-BNxGeyh9.js';
|
|
9
|
+
import { l as QtiTest, q as TestCheckItem, v as TestNavigation } from './qti-test.d-CDdyCp6e.js';
|
|
10
|
+
import { a as ComputedItem, C as ComputedContext } from './computed.types.d-n3K2VvB0.js';
|
|
11
11
|
import './config.context.d-CCqlJXpE.js';
|
|
12
12
|
import './interaction.interface.d-CvjHM2bi.js';
|
|
13
13
|
import './item.types.d-DuVR0ZVK.js';
|
|
14
14
|
import './qti.context.d-CejJMlfZ.js';
|
|
15
15
|
import 'lit/directives/ref.js';
|
|
16
|
-
import './qti-feedback.d-
|
|
16
|
+
import './qti-feedback.d-1JL_qHjc.js';
|
|
17
17
|
import './qti-rule-base.d-CeKP0Ooi.js';
|
|
18
18
|
import './qti-transform-test.d-Bb9vnLzP.js';
|
|
19
19
|
import './qti-expression.d-B-Cfbqlb.js';
|
|
@@ -29,6 +29,13 @@ declare enum Correctness {
|
|
|
29
29
|
* Adds correct-response and full-correct-response behaviour
|
|
30
30
|
* on top of any `Interaction` subclass.
|
|
31
31
|
*
|
|
32
|
+
* @cssstate answer-key - This host IS the answer key: the clone the full mode inserts after the
|
|
33
|
+
* interaction.
|
|
34
|
+
* @cssstate answer-key-shown - This host shows its answer key inline, next to the candidate's
|
|
35
|
+
* answer (internal mode; alias `show-correct-response` for one major). The clone also carries the `answer-key` attribute and sits in a
|
|
36
|
+
* `div.full-correct-response` wrapper, which a `<div>` has no internals to replace.
|
|
37
|
+
* @csspart correction - The verdict badge, bare `correction` until a verdict is set.
|
|
38
|
+
*
|
|
32
39
|
* Usage:
|
|
33
40
|
* ```ts
|
|
34
41
|
* export abstract class CorrectableInteraction extends CorrectResponseMixin(Interaction) {}
|
|
@@ -64,8 +71,9 @@ interface CorrectResponseInterface {
|
|
|
64
71
|
*
|
|
65
72
|
* The component decides where the badge sits in the markup — last, after the label — and how big
|
|
66
73
|
* its box is. It decides nothing about how it looks. The disc, the tick, the cross, and whether it
|
|
67
|
-
* is lifted out of flow at all are the theme's, keyed on ::part(correction-correct) /
|
|
68
|
-
* ::part(correction-incorrect).
|
|
74
|
+
* is lifted out of flow at all are the theme's, keyed on ::part(correction candidate-correct) /
|
|
75
|
+
* ::part(correction candidate-incorrect) / ::part(correction candidate-partial) (CONTRACT.md §3; the
|
|
76
|
+
* old single tokens correction-correct etc. stay on the part for one major).
|
|
69
77
|
*
|
|
70
78
|
* It replaces six implementations of one idea: four ::after glyph blocks in kennisnet, an
|
|
71
79
|
* ::before/::after pair in order-interaction, and a .correct-option span that gap-match and match
|
|
@@ -75,17 +83,25 @@ interface CorrectResponseInterface {
|
|
|
75
83
|
*
|
|
76
84
|
* Reachable everywhere. A chip has three homes, and inside a drop target's shadow root the document
|
|
77
85
|
* cannot see its badge: parts do not chain, so ::part(drag)::part(correction) is inert. A part
|
|
78
|
-
* token survives exportparts, so one bare ::part(correction-correct) reaches the badge in the drag
|
|
86
|
+
* token survives exportparts, so one bare ::part(correction candidate-correct) reaches the badge in the drag
|
|
79
87
|
* bank, on the floating clone, and inside a gap. Verified in Chromium.
|
|
80
88
|
*
|
|
81
89
|
* Deliberately not anchored, and not absolutely positioned. Both were tried; both left
|
|
82
90
|
* qti-choice-interaction unable to reach layout stability, and the VRT stability detector spent 20
|
|
83
91
|
* seconds waiting before capturing a half-settled frame. A theme that wants a corner badge can
|
|
84
|
-
* position ::part(correction-correct) itself — it is a part, that is the point.
|
|
92
|
+
* position ::part(correction candidate-correct) itself — it is a part, that is the point.
|
|
85
93
|
*/
|
|
86
94
|
declare const correctionPart: lit.CSSResult;
|
|
87
95
|
|
|
88
96
|
type AbstractConstructor$1<T = {}> = abstract new (...args: any[]) => T;
|
|
97
|
+
/**
|
|
98
|
+
* Judges the interaction's own response against its correct response and exposes the verdict.
|
|
99
|
+
*
|
|
100
|
+
* @cssstate candidate-correct - The candidate's response is correct.
|
|
101
|
+
* @cssstate candidate-incorrect - The candidate's response is incorrect.
|
|
102
|
+
* @cssstate candidate-partial - The candidate's response is partially correct (alias `candidate-partially-correct`, one major).
|
|
103
|
+
* @csspart correction - The verdict badge; its second token is the verdict state (`candidate-correct`, `candidate-incorrect`, `candidate-partial`), followed by the old `correction-<verdict>` token for one major.
|
|
104
|
+
*/
|
|
89
105
|
declare const CandidateCorrectionMixin: <T extends AbstractConstructor$1<Interaction>>(superClass: T) => AbstractConstructor$1<CorrectResponseInterface> & T;
|
|
90
106
|
|
|
91
107
|
type AbstractConstructor<T = {}> = abstract new (...args: any[]) => T;
|
|
@@ -93,7 +109,14 @@ type ChoicesCorrectionBase = Interaction & {
|
|
|
93
109
|
readonly response: string | string[] | null;
|
|
94
110
|
readonly internals: ElementInternals;
|
|
95
111
|
};
|
|
96
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Adds per-choice candidate marking to interactions built on `ChoicesMixin`.
|
|
114
|
+
*
|
|
115
|
+
* Each choice gets its own states (CONTRACT.md §3): the verdict through its `candidateCorrection`
|
|
116
|
+
* (`ActiveElementCorrectionMixin`), and `answer-key` when it is part of the correct response (alias
|
|
117
|
+
* `correct-response`, one major). A choice outside the key gets nothing; the old `incorrect-response`
|
|
118
|
+
* was never styled and is gone.
|
|
119
|
+
*/
|
|
97
120
|
declare const ChoiceCorrectionMixin: <T extends AbstractConstructor<ChoicesCorrectionBase>>(superClass: T) => AbstractConstructor<CorrectResponseInterface> & T;
|
|
98
121
|
|
|
99
122
|
/** Presentation policy understood by correction-capable elements. */
|
|
@@ -110,29 +133,76 @@ interface ActiveElementCorrectionInterface {
|
|
|
110
133
|
}
|
|
111
134
|
|
|
112
135
|
declare const QtiGapTextCorrection_base: (abstract new (...args: any[]) => ActiveElementCorrectionInterface) & typeof QtiGapText;
|
|
136
|
+
/**
|
|
137
|
+
* `qti-gap-text` with a verdict badge after its label; the verdict states come from `ActiveElementCorrectionMixin`.
|
|
138
|
+
*
|
|
139
|
+
* @cssstate candidate-correct - The candidate's answer on this element is correct.
|
|
140
|
+
* @cssstate candidate-incorrect - The candidate's answer on this element is incorrect.
|
|
141
|
+
* @cssstate candidate-partial - The candidate's answer on this element is partially correct (alias `candidate-partially-correct`, one major).
|
|
142
|
+
* @csspart correction - The verdict badge; its second token is the verdict state (`candidate-correct`, `candidate-incorrect`, `candidate-partial`), followed by the old `correction-<verdict>` token for one major.
|
|
143
|
+
*/
|
|
113
144
|
declare class QtiGapTextCorrection extends QtiGapTextCorrection_base {
|
|
114
145
|
static styles: lit.CSSResultGroup[];
|
|
115
146
|
render(): lit.TemplateResult<1>;
|
|
116
147
|
}
|
|
117
148
|
|
|
118
149
|
declare const QtiHotspotChoiceCorrection_base: (abstract new (...args: any[]) => ActiveElementCorrectionInterface) & typeof QtiHotspotChoice;
|
|
150
|
+
/**
|
|
151
|
+
* A hotspot choice that carries a verdict and, in graphic-order, its position in the answer key.
|
|
152
|
+
*
|
|
153
|
+
* The position is the attribute `data-order-correct` (a hotspot paints it as a pin in CSS, so it is
|
|
154
|
+
* an attribute, not a state: the theme reads it as `[data-order-correct]`). The property still
|
|
155
|
+
* reflects to its old name `aria-ordercorrectvalue` for one major; `updated()` mirrors it.
|
|
156
|
+
*
|
|
157
|
+
* @cssstate candidate-correct - This hotspot's answer is correct.
|
|
158
|
+
* @cssstate candidate-incorrect - This hotspot's answer is incorrect.
|
|
159
|
+
* @cssstate candidate-partial - This hotspot's answer is partially correct (alias `candidate-partially-correct`, one major).
|
|
160
|
+
* @cssstate answer-key - In a hotspot interaction, this hotspot is part of the correct response (alias `correct-response`, one major).
|
|
161
|
+
*/
|
|
119
162
|
declare class QtiHotspotChoiceCorrection extends QtiHotspotChoiceCorrection_base {
|
|
120
163
|
orderCorrect: number | null;
|
|
164
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
121
165
|
}
|
|
122
166
|
|
|
123
167
|
declare const QtiHottextCorrection_base: (abstract new (...args: any[]) => ActiveElementCorrectionInterface) & typeof QtiHottext;
|
|
168
|
+
/**
|
|
169
|
+
* `qti-hottext` with a verdict badge after its label; the verdict states come from `ActiveElementCorrectionMixin`.
|
|
170
|
+
*
|
|
171
|
+
* @cssstate candidate-correct - The candidate's answer on this element is correct.
|
|
172
|
+
* @cssstate candidate-incorrect - The candidate's answer on this element is incorrect.
|
|
173
|
+
* @cssstate candidate-partial - The candidate's answer on this element is partially correct (alias `candidate-partially-correct`, one major).
|
|
174
|
+
* @cssstate answer-key - This element is part of the correct response (alias `correct-response`, one major).
|
|
175
|
+
* @csspart correction - The verdict badge; its second token is the verdict state (`candidate-correct`, `candidate-incorrect`, `candidate-partial`), followed by the old `correction-<verdict>` token for one major.
|
|
176
|
+
*/
|
|
124
177
|
declare class QtiHottextCorrection extends QtiHottextCorrection_base {
|
|
125
178
|
static styles: lit.CSSResultGroup[];
|
|
126
179
|
render(): lit.TemplateResult<1>;
|
|
127
180
|
}
|
|
128
181
|
|
|
129
182
|
declare const QtiSimpleAssociableChoiceCorrection_base: (abstract new (...args: any[]) => ActiveElementCorrectionInterface) & typeof QtiSimpleAssociableChoice;
|
|
183
|
+
/**
|
|
184
|
+
* `qti-simple-associable-choice` with a verdict badge after its label; the verdict states come from `ActiveElementCorrectionMixin`.
|
|
185
|
+
*
|
|
186
|
+
* @cssstate candidate-correct - The candidate's answer on this element is correct.
|
|
187
|
+
* @cssstate candidate-incorrect - The candidate's answer on this element is incorrect.
|
|
188
|
+
* @cssstate candidate-partial - The candidate's answer on this element is partially correct (alias `candidate-partially-correct`, one major).
|
|
189
|
+
* @csspart correction - The verdict badge; its second token is the verdict state (`candidate-correct`, `candidate-incorrect`, `candidate-partial`), followed by the old `correction-<verdict>` token for one major.
|
|
190
|
+
*/
|
|
130
191
|
declare class QtiSimpleAssociableChoiceCorrection extends QtiSimpleAssociableChoiceCorrection_base {
|
|
131
192
|
static styles: lit.CSSResultGroup[];
|
|
132
193
|
render(): lit.TemplateResult<1>;
|
|
133
194
|
}
|
|
134
195
|
|
|
135
196
|
declare const QtiSimpleChoiceCorrection_base: (abstract new (...args: any[]) => ActiveElementCorrectionInterface) & typeof QtiSimpleChoice;
|
|
197
|
+
/**
|
|
198
|
+
* `qti-simple-choice` with a verdict badge after its label; the verdict states come from `ActiveElementCorrectionMixin`.
|
|
199
|
+
*
|
|
200
|
+
* @cssstate candidate-correct - The candidate's answer on this element is correct.
|
|
201
|
+
* @cssstate candidate-incorrect - The candidate's answer on this element is incorrect.
|
|
202
|
+
* @cssstate candidate-partial - The candidate's answer on this element is partially correct (alias `candidate-partially-correct`, one major).
|
|
203
|
+
* @cssstate answer-key - This element is part of the correct response (alias `correct-response`, one major).
|
|
204
|
+
* @csspart correction - The verdict badge; its second token is the verdict state (`candidate-correct`, `candidate-incorrect`, `candidate-partial`), followed by the old `correction-<verdict>` token for one major.
|
|
205
|
+
*/
|
|
136
206
|
declare class QtiSimpleChoiceCorrection extends QtiSimpleChoiceCorrection_base {
|
|
137
207
|
static styles: lit.CSSResultGroup[];
|
|
138
208
|
render(): lit.TemplateResult<1>;
|
|
@@ -313,6 +383,11 @@ declare const QtiExtendedTextInteractionCorrection_base: (abstract new (...args:
|
|
|
313
383
|
* - The verdict survives typing. It is a property, not the `showCandidateCorrection` toggle, so
|
|
314
384
|
* `afterResponseVariableUpdated()` does not clear it. If a stale grade should be dropped when the
|
|
315
385
|
* candidate edits their answer, that is an explicit decision for the host app to make.
|
|
386
|
+
*
|
|
387
|
+
* @cssstate candidate-correct - The verdict pushed in is `correct`.
|
|
388
|
+
* @cssstate candidate-incorrect - The verdict pushed in is `incorrect`.
|
|
389
|
+
* @cssstate candidate-partial - The verdict pushed in is `partially-correct` (alias `candidate-partially-correct`, one major).
|
|
390
|
+
* @csspart correction - The verdict badge in the field's top end corner; its second token is the verdict state, followed by the old `correction-<verdict>` token for one major.
|
|
316
391
|
*/
|
|
317
392
|
declare class QtiExtendedTextInteractionCorrection extends QtiExtendedTextInteractionCorrection_base {
|
|
318
393
|
static styles: lit.CSSResultGroup[];
|
|
@@ -335,6 +410,10 @@ declare class QtiGapMatchInteractionCorrection extends QtiGapMatchInteractionCor
|
|
|
335
410
|
}
|
|
336
411
|
|
|
337
412
|
declare const QtiGraphicAssociateInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiGraphicAssociateInteraction;
|
|
413
|
+
/**
|
|
414
|
+
* @csspart line - An association line; the answer key's lines carry the `answer-key` token
|
|
415
|
+
* (`line answer-key`), followed by the old `correct-line` token for one major.
|
|
416
|
+
*/
|
|
338
417
|
declare class QtiGraphicAssociateInteractionCorrection extends QtiGraphicAssociateInteractionCorrection_base {
|
|
339
418
|
#private;
|
|
340
419
|
toggleInternalCorrectResponse(show: boolean): void;
|
|
@@ -349,6 +428,11 @@ type OrderedHotspot = Choice & {
|
|
|
349
428
|
order: number | null;
|
|
350
429
|
};
|
|
351
430
|
declare const QtiGraphicOrderInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiGraphicOrderInteraction;
|
|
431
|
+
/**
|
|
432
|
+
* Judges each hotspot's position in the order and paints its pin from the hotspot's verdict state.
|
|
433
|
+
* The answer key is the hotspot's `orderCorrect` (`data-order-correct`), set by
|
|
434
|
+
* `toggleInternalCorrectResponse`; it sets no state on the hotspot.
|
|
435
|
+
*/
|
|
352
436
|
declare class QtiGraphicOrderInteractionCorrection extends QtiGraphicOrderInteractionCorrection_base {
|
|
353
437
|
protected resolvePinColor(choice: OrderedHotspot): string;
|
|
354
438
|
toggleInternalCorrectResponse(show: boolean): void;
|
|
@@ -364,6 +448,9 @@ declare class QtiHottextInteractionCorrection extends QtiHottextInteractionCorre
|
|
|
364
448
|
}
|
|
365
449
|
|
|
366
450
|
declare const QtiInlineChoiceInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiInlineChoiceInteraction;
|
|
451
|
+
/**
|
|
452
|
+
* @csspart correction - The verdict badge after the validation message; see `CandidateCorrectionMixin` for its tokens.
|
|
453
|
+
*/
|
|
367
454
|
declare class QtiInlineChoiceInteractionCorrection extends QtiInlineChoiceInteractionCorrection_base {
|
|
368
455
|
static get styles(): (lit.CSSResult | lit.CSSResultGroup[])[];
|
|
369
456
|
/**
|
|
@@ -399,6 +486,11 @@ declare class QtiInlineChoiceInteractionCorrection extends QtiInlineChoiceIntera
|
|
|
399
486
|
}
|
|
400
487
|
|
|
401
488
|
declare const QtiMatchInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiMatchInteraction;
|
|
489
|
+
/**
|
|
490
|
+
* @csspart control - A tabular cell; once judged, a checked cell carries the verdict token
|
|
491
|
+
* (`control … candidate-correct` / `candidate-incorrect`), followed by the old bare `correct` /
|
|
492
|
+
* `incorrect` token for one major. `control-mark` carries the same tokens.
|
|
493
|
+
*/
|
|
402
494
|
declare class QtiMatchInteractionCorrection extends QtiMatchInteractionCorrection_base {
|
|
403
495
|
#private;
|
|
404
496
|
toggleCandidateCorrection(show: boolean): void;
|
|
@@ -416,6 +508,10 @@ declare class QtiPortableCustomInteractionCorrection extends QtiPortableCustomIn
|
|
|
416
508
|
}
|
|
417
509
|
|
|
418
510
|
declare const QtiSelectPointInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiSelectPointInteraction;
|
|
511
|
+
/**
|
|
512
|
+
* @csspart point - A placed marker; once judged it carries the verdict token (`point candidate-correct`,
|
|
513
|
+
* `point candidate-incorrect`), followed by the old bare `correct` / `incorrect` token for one major.
|
|
514
|
+
*/
|
|
419
515
|
declare class QtiSelectPointInteractionCorrection extends QtiSelectPointInteractionCorrection_base {
|
|
420
516
|
#private;
|
|
421
517
|
static styles: lit.CSSResultGroup[];
|
|
@@ -427,6 +523,10 @@ declare class QtiSelectPointInteractionCorrection extends QtiSelectPointInteract
|
|
|
427
523
|
}
|
|
428
524
|
|
|
429
525
|
declare const QtiSliderInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiSliderInteraction;
|
|
526
|
+
/**
|
|
527
|
+
* @csspart knob - The ghost knob at the correct response position carries the `answer-key` token
|
|
528
|
+
* (`knob answer-key`), followed by the old `knob-correct` token for one major.
|
|
529
|
+
*/
|
|
430
530
|
declare class QtiSliderInteractionCorrection extends QtiSliderInteractionCorrection_base {
|
|
431
531
|
#private;
|
|
432
532
|
static styles: lit.CSSResultGroup[];
|
|
@@ -435,6 +535,10 @@ declare class QtiSliderInteractionCorrection extends QtiSliderInteractionCorrect
|
|
|
435
535
|
}
|
|
436
536
|
|
|
437
537
|
declare const QtiTextEntryInteractionCorrection_base: (abstract new (...args: any[]) => CorrectResponseInterface) & typeof QtiTextEntryInteraction;
|
|
538
|
+
/**
|
|
539
|
+
* @csspart correction - The verdict badge between the field and the validation message; see
|
|
540
|
+
* `CandidateCorrectionMixin` for its tokens. The answer key itself is the base's `answer-key` part.
|
|
541
|
+
*/
|
|
438
542
|
declare class QtiTextEntryInteractionCorrection extends QtiTextEntryInteractionCorrection_base {
|
|
439
543
|
static styles: lit.CSSResultGroup[];
|
|
440
544
|
get correctness(): Readonly<Correctness | null>;
|
package/dist/corrections.js
CHANGED
|
@@ -34,28 +34,28 @@ import {
|
|
|
34
34
|
TestNavigationCorrection,
|
|
35
35
|
TestShowCorrectResponse,
|
|
36
36
|
correctionPart
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H3Z3TMFB.js";
|
|
38
38
|
import {
|
|
39
39
|
qtiTestElements
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LQ65RILE.js";
|
|
41
41
|
import {
|
|
42
42
|
qtiContentElements
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-M4TZIB3W.js";
|
|
44
44
|
import {
|
|
45
45
|
qtiInteractionElements
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7MYZHZWV.js";
|
|
47
47
|
import {
|
|
48
48
|
qtiItemElements
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-OG5HIRHE.js";
|
|
50
|
+
import "./chunk-WWY2H2YO.js";
|
|
51
51
|
import "./chunk-4DB4SC5K.js";
|
|
52
52
|
import "./chunk-LORYM4U2.js";
|
|
53
53
|
import {
|
|
54
54
|
qtiProcessingElements
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UDJ7MHLF.js";
|
|
56
56
|
import {
|
|
57
57
|
qtiBaseElements
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-NZ7ZC4SP.js";
|
|
59
59
|
|
|
60
60
|
// ../qti-corrections/dist/elements.js
|
|
61
61
|
var qtiCorrectionElements = [
|
package/dist/elements.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { b as ItemContext, h as VariableValue, R as ResponseInteraction, g as Re
|
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement, PropertyValues, CSSResultGroup, PropertyValueMap } from 'lit';
|
|
4
4
|
import { a as RegisteredInteraction } from './interaction.interface.d-CvjHM2bi.js';
|
|
5
|
-
import { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-
|
|
5
|
+
import { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-1JL_qHjc.js';
|
|
6
6
|
import { b as QtiRuleBase } from './qti-rule-base.d-CeKP0Ooi.js';
|
|
7
7
|
|
|
8
8
|
declare class QtiAssessmentItem extends LitElement {
|
|
@@ -49,7 +49,7 @@ declare class QtiAssessmentItem extends LitElement {
|
|
|
49
49
|
disconnectedCallback(): void;
|
|
50
50
|
/**
|
|
51
51
|
* Scores the attempt. The item does not score itself: its response processing does, like a
|
|
52
|
-
* backend, and sends the outcomes back in `
|
|
52
|
+
* backend, and sends the outcomes back in `qc-item-set-outcomes`, which the item applies in one
|
|
53
53
|
* update. The item keeps the attempt count (QTI info model §2.2.2: the delivery engine maintains
|
|
54
54
|
* numAttempts) and hands the new count to the run, whose rules may read it. Without response
|
|
55
55
|
* processing the item only counts the attempt. A run that throws still counts the attempt and applies
|
|
@@ -108,7 +108,7 @@ declare global {
|
|
|
108
108
|
declare module '../../public-events' {
|
|
109
109
|
interface PublicItemEventMap {
|
|
110
110
|
/** The item rendered: its interactions are in the DOM and its validity is known. */
|
|
111
|
-
'
|
|
111
|
+
'qc-item-rendered': CustomEvent<QtiAssessmentItem>;
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
|
|
@@ -250,10 +250,17 @@ declare global {
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
+
/**
|
|
254
|
+
* Block feedback: shown or hidden by the outcome it is bound to.
|
|
255
|
+
*
|
|
256
|
+
* @slot - The feedback content.
|
|
257
|
+
*
|
|
258
|
+
* @csspart feedback - The feedback box.
|
|
259
|
+
*/
|
|
253
260
|
declare class QtiFeedbackBlock extends QtiFeedback {
|
|
254
261
|
static styles: lit.CSSResult;
|
|
255
262
|
render(): lit.TemplateResult<1>;
|
|
256
|
-
/** `
|
|
263
|
+
/** `qc-feedback-show`: a listener that calls `preventDefault()` keeps this hidden and shows it itself. */
|
|
257
264
|
protected feedbackShowing(): boolean;
|
|
258
265
|
protected feedbackHiding(): boolean;
|
|
259
266
|
connectedCallback(): void;
|
|
@@ -264,10 +271,17 @@ declare global {
|
|
|
264
271
|
}
|
|
265
272
|
}
|
|
266
273
|
|
|
274
|
+
/**
|
|
275
|
+
* Inline feedback: shown or hidden by the outcome it is bound to.
|
|
276
|
+
*
|
|
277
|
+
* @slot - The feedback content.
|
|
278
|
+
*
|
|
279
|
+
* @csspart feedback - The feedback box.
|
|
280
|
+
*/
|
|
267
281
|
declare class QtiFeedbackInline extends QtiFeedback {
|
|
268
282
|
static styles: lit.CSSResult;
|
|
269
283
|
render: () => lit.TemplateResult<1>;
|
|
270
|
-
/** `
|
|
284
|
+
/** `qc-feedback-show`: a listener that calls `preventDefault()` keeps this hidden and shows it itself. */
|
|
271
285
|
protected feedbackShowing(): boolean;
|
|
272
286
|
protected feedbackHiding(): boolean;
|
|
273
287
|
connectedCallback(): void;
|
|
@@ -286,7 +300,8 @@ declare global {
|
|
|
286
300
|
*
|
|
287
301
|
* @slot - item body content.
|
|
288
302
|
* @slot qti-rubric-block - the qti rubric block is placed above the item
|
|
289
|
-
*
|
|
303
|
+
*
|
|
304
|
+
* @csspart rubrics - The rubric-block slot (was `qti-rubric-blocks`).
|
|
290
305
|
*/
|
|
291
306
|
declare class QtiItemBody extends LitElement {
|
|
292
307
|
static styles: CSSResultGroup;
|
|
@@ -298,12 +313,19 @@ declare global {
|
|
|
298
313
|
}
|
|
299
314
|
}
|
|
300
315
|
|
|
316
|
+
/**
|
|
317
|
+
* Modal feedback: a dialog opened by the outcome it is bound to.
|
|
318
|
+
*
|
|
319
|
+
* @slot - The feedback content.
|
|
320
|
+
*
|
|
321
|
+
* @csspart feedback - The feedback box (the dialog).
|
|
322
|
+
*/
|
|
301
323
|
declare class QtiModalFeedback extends QtiFeedback {
|
|
302
324
|
static styles: lit.CSSResult;
|
|
303
325
|
render(): lit.TemplateResult<1>;
|
|
304
326
|
openFeedback(): void;
|
|
305
327
|
closeFeedback(): void;
|
|
306
|
-
/** `
|
|
328
|
+
/** `qc-feedback-show`: a listener that calls `preventDefault()` keeps this hidden and shows it itself. */
|
|
307
329
|
protected feedbackShowing(): boolean;
|
|
308
330
|
protected feedbackHiding(): boolean;
|
|
309
331
|
connectedCallback(): void;
|
|
@@ -363,7 +385,7 @@ declare global {
|
|
|
363
385
|
|
|
364
386
|
/**
|
|
365
387
|
* Response processing as the item's own backend: it reads the item context, runs its rules once and
|
|
366
|
-
* sends the outcomes and the attempt count back in one `
|
|
388
|
+
* sends the outcomes and the attempt count back in one `qc-item-set-outcomes`. The item applies
|
|
367
389
|
* them; a host that scores elsewhere sends the same event instead.
|
|
368
390
|
*/
|
|
369
391
|
declare class QtiResponseProcessing extends LitElement {
|
|
@@ -374,7 +396,7 @@ declare class QtiResponseProcessing extends LitElement {
|
|
|
374
396
|
/**
|
|
375
397
|
* Scores the attempt on the copy: sets `numAttempts` to the count the item hands over, resets a
|
|
376
398
|
* non-adaptive item's outcomes to their defaults (QTI info model §2.5), runs the rules and sends
|
|
377
|
-
* every outcome and `numAttempts` in one `
|
|
399
|
+
* every outcome and `numAttempts` in one `qc-item-set-outcomes`. The item applies them and publishes, which gives this element a
|
|
378
400
|
* fresh copy. A rule that throws ends the run and the error propagates; nothing is sent, and the
|
|
379
401
|
* run's writes stay in the copy until the item's next update.
|
|
380
402
|
*/
|
|
@@ -521,24 +543,25 @@ type InteractionChangedDetails = ResponseInteraction & {
|
|
|
521
543
|
|
|
522
544
|
/**
|
|
523
545
|
* The public events of the item. The name tells you it is public: everything declared here starts
|
|
524
|
-
* with `
|
|
546
|
+
* with `qc-`; every other event is internal plumbing and may change in any release.
|
|
525
547
|
*
|
|
526
548
|
* Requests are verbs, notifications are past tense. All bubble and are composed.
|
|
527
549
|
*
|
|
528
|
-
* `deprecated` is the name the event had
|
|
529
|
-
*
|
|
550
|
+
* `deprecated` is the `cito-` name the event had in 9.x. `dispatchPublic` sends and `listenPublic`
|
|
551
|
+
* handles both until the next major, then the field goes. The 7.x names (`qti-interaction-changed`,
|
|
552
|
+
* `qti-outcome-changed`, `qti-rubric:discretionary-placement`) are no longer sent or handled.
|
|
530
553
|
*/
|
|
531
554
|
interface PublicEventDeclaration {
|
|
532
555
|
kind: 'request' | 'notification';
|
|
533
556
|
scope: 'test' | 'item';
|
|
534
|
-
/** The name
|
|
557
|
+
/** The previous name. Dispatched and handled alongside the new one. */
|
|
535
558
|
deprecated?: string;
|
|
536
559
|
}
|
|
537
560
|
interface RubricPlacement {
|
|
538
561
|
className: string;
|
|
539
562
|
element: Element;
|
|
540
563
|
}
|
|
541
|
-
/** The detail of `
|
|
564
|
+
/** The detail of `qc-feedback-show` and `qc-feedback-hide`. */
|
|
542
565
|
interface FeedbackEventDetail {
|
|
543
566
|
kind: 'block' | 'inline' | 'modal';
|
|
544
567
|
/** The feedback's `identifier`. */
|
|
@@ -551,25 +574,25 @@ interface FeedbackEventDetail {
|
|
|
551
574
|
itemIdentifier?: string;
|
|
552
575
|
}
|
|
553
576
|
interface PublicItemEventMap {
|
|
554
|
-
'
|
|
577
|
+
'qc-item-response-changed': CustomEvent<InteractionChangedDetails>;
|
|
555
578
|
/**
|
|
556
579
|
* Request: the item applies these outcomes in one update. Response processing sends it; a host
|
|
557
580
|
* that scores on a backend sends it on the item with the outcomes the backend returned.
|
|
558
581
|
*/
|
|
559
|
-
'
|
|
582
|
+
'qc-item-set-outcomes': CustomEvent<SetOutcomesDetails>;
|
|
560
583
|
/** One per outcome an update applied, with its final value, after the item context is published. */
|
|
561
|
-
'
|
|
584
|
+
'qc-item-outcome-changed': CustomEvent<OutcomeChangedDetails>;
|
|
562
585
|
/** All the outcomes one update applied, after the item context is published. */
|
|
563
|
-
'
|
|
586
|
+
'qc-item-outcomes-changed': CustomEvent<OutcomesChangedDetails>;
|
|
564
587
|
/** Cancelable: `preventDefault()` keeps the rubric block where it is. */
|
|
565
|
-
'
|
|
588
|
+
'qc-item-rubric-placement': CustomEvent<RubricPlacement>;
|
|
566
589
|
/**
|
|
567
590
|
* Cancelable: the feedback element is about to show (its condition turned true). `preventDefault()`
|
|
568
591
|
* keeps it hidden, so the host can show the content itself. Sent once per showing.
|
|
569
592
|
*/
|
|
570
|
-
'
|
|
593
|
+
'qc-feedback-show': CustomEvent<FeedbackEventDetail>;
|
|
571
594
|
/** The condition of a feedback that was shown (or taken over by the host) turned false again. */
|
|
572
|
-
'
|
|
595
|
+
'qc-feedback-hide': CustomEvent<FeedbackEventDetail>;
|
|
573
596
|
}
|
|
574
597
|
type PublicItemEventName = keyof PublicItemEventMap;
|
|
575
598
|
declare const PUBLIC_ITEM_EVENTS: Record<PublicItemEventName, PublicEventDeclaration>;
|
package/dist/elements.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-4DC5Z2LQ.js";
|
|
2
2
|
import {
|
|
3
3
|
PUBLIC_ITEM_EVENTS,
|
|
4
4
|
QtiAssessmentItem,
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
dispatchPublic,
|
|
26
26
|
listenDeclared,
|
|
27
27
|
listenPublic
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-M4TZIB3W.js";
|
|
29
29
|
import "./chunk-4DB4SC5K.js";
|
|
30
30
|
import "./chunk-LORYM4U2.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-NZ7ZC4SP.js";
|
|
32
32
|
export {
|
|
33
33
|
PUBLIC_ITEM_EVENTS,
|
|
34
34
|
QtiAssessmentItem,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { I as ITestNavigationMixin, a as ITestStateMixin, b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, T as TestBookmark, q as TestCheckItem, r as TestContainer, s as TestEndAttempt, t as TestItemLink, u as TestItemToSpeech, v as TestNavigation, w as TestNext, x as TestPrev, y as TestPrintContext, z as TestPrintState, A as TestPrintVariables, B as TestScoringButtons, C as TestScoringFeedback, D as TestSectionLink, E as TestStamp, F as TestSubmit, G as TestTtsNext, H as TestTtsPause, J as TestTtsPick, K as TestTtsPlay, L as TestTtsPrev, M as TestTtsResume, N as TestTtsStop, O as TestView, P as TestViewToggle, R as bookmarkedItems } from './qti-test.d-
|
|
1
|
+
export { I as ITestNavigationMixin, a as ITestStateMixin, b as ItemRefTemplateModel, Q as QtiAssessmentItemRef, c as QtiAssessmentSection, d as QtiAssessmentTest, e as QtiBranchRule, f as QtiItemSessionControl, g as QtiNumberPresented, h as QtiNumberSelected, i as QtiOutcomeProcessing, j as QtiOutcomeProcessingProcessor, k as QtiPreCondition, l as QtiTest, m as QtiTestFeedback, n as QtiTestPart, o as QtiTestVariables, p as QtiTestVariablesExpression, T as TestBookmark, q as TestCheckItem, r as TestContainer, s as TestEndAttempt, t as TestItemLink, u as TestItemToSpeech, v as TestNavigation, w as TestNext, x as TestPrev, y as TestPrintContext, z as TestPrintState, A as TestPrintVariables, B as TestScoringButtons, C as TestScoringFeedback, D as TestSectionLink, E as TestStamp, F as TestSubmit, G as TestTtsNext, H as TestTtsPause, J as TestTtsPick, K as TestTtsPlay, L as TestTtsPrev, M as TestTtsResume, N as TestTtsStop, O as TestView, P as TestViewToggle, R as bookmarkedItems } from './qti-test.d-CDdyCp6e.js';
|
|
2
2
|
export { IMyQtiTest, IQtiTest, ITestProcessingMixin, QTI_TEST_STATE_VERSION, QtiTestPluginState, QtiTestState, QtiTestStateItem, QtiTestStateSession, QtiTestStateValue, pluginElements, pluginState, ttsElements } from './test.js';
|
|
3
|
-
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-
|
|
3
|
+
export { I as ItemContainer, a as ItemPrintVariables, Q as QtiItem } from './qti-item.d-DDMDjWIk.js';
|
|
4
4
|
export { ItemViewMixin } from './item.js';
|
|
5
5
|
export { FeedbackEventDetail, PUBLIC_ITEM_EVENTS, PublicEventDeclaration, PublicItemEventMap, PublicItemEventName, QtiAssessmentItem, QtiAssessmentStimulus, QtiAssessmentStimulusRef, QtiAssessmentStimulusRefConnectedEvent, QtiCompanionMaterialsInfo, QtiContentBody, QtiContextDeclaration, QtiCustomOperator, QtiFeedbackBlock, QtiFeedbackInline, QtiItemBody, QtiModalFeedback, QtiOutcomeDeclaration, QtiResponseDeclaration, QtiResponseProcessing, QtiRubricBlock, QtiStylesheet, QtiTemplateConstraint, QtiTemplateDeclaration, QtiTemplateProcessing, RubricPlacement, dispatchDeclared, dispatchPublic, listenDeclared, listenPublic } from './elements.js';
|
|
6
6
|
export { QtiCustomInteraction, QtiEndAttemptInteraction, QtiMediaInteraction, QtiPositionObjectInteraction, QtiPositionObjectStage, QtiUploadInteraction, qtiInteractionElements } from './interactions.js';
|
|
7
|
-
export { O as Orientation, Q as QtiAssociableHotspot, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, d as QtiGap, e as QtiGapImg, f as QtiGapMatchInteraction, g as QtiGapText, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, k as QtiHotspotChoice, l as QtiHotspotInteraction, m as QtiHottext, n as QtiHottextInteraction, o as QtiInlineChoice, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, t as QtiPrompt, u as QtiSelectPointInteraction, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, x as QtiSliderInteraction, y as QtiTextEntryInteraction, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-
|
|
7
|
+
export { O as Orientation, Q as QtiAssociableHotspot, a as QtiAssociateInteraction, b as QtiChoiceInteraction, c as QtiExtendedTextInteraction, d as QtiGap, e as QtiGapImg, f as QtiGapMatchInteraction, g as QtiGapText, h as QtiGraphicAssociateInteraction, i as QtiGraphicGapMatchInteraction, j as QtiGraphicOrderInteraction, k as QtiHotspotChoice, l as QtiHotspotInteraction, m as QtiHottext, n as QtiHottextInteraction, o as QtiInlineChoice, p as QtiInlineChoiceInteraction, q as QtiMatchInteraction, r as QtiOrderInteraction, s as QtiPortableCustomInteraction, t as QtiPrompt, u as QtiSelectPointInteraction, v as QtiSimpleAssociableChoice, w as QtiSimpleChoice, x as QtiSliderInteraction, y as QtiTextEntryInteraction, z as inlineScriptText, A as inlineStyleText } from './qti-text-entry-interaction.d-BTAKmr4b.js';
|
|
8
8
|
export { M as ModuleResolutionConfig, q as qtiTransformItem, a as qtiTransformTest, t as transformItemApi, b as transformTestApi } from './qti-transform-test.d-Bb9vnLzP.js';
|
|
9
9
|
export { qtiTransformManifest } from './transformers.js';
|
|
10
10
|
export { ManifestInfo, getItemByUri, getManifestInfo } from './loader.js';
|
|
11
|
-
export { CustomOperator, CustomOperatorValue, CustomStateSetShim, CustomStateSupport, IsNullOrUndefined, ScoringHelper, boxSizing, classifyCustomStateSupport, computedContext, computedItemContext, convertNumberToUniversalFormat, decimalSeparator, dropRegion, getCustomOperator, installCustomStateSetFallback, itemContext, registerCustomOperator, removeDoubleSlashes, unregisterCustomOperator, validationMessage } from './base.js';
|
|
12
|
-
export { C as ComputedItemContext, I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-
|
|
13
|
-
export { C as ComputedContext, a as ComputedItem } from './computed.types.d-
|
|
11
|
+
export { CustomOperator, CustomOperatorValue, CustomStateSetShim, CustomStateSupport, IsNullOrUndefined, STATE_ALIASES, ScoringHelper, boxSizing, classifyCustomStateSupport, computedContext, computedItemContext, convertNumberToUniversalFormat, decimalSeparator, dropRegion, getCustomOperator, hasState, installCustomStateSetFallback, itemContext, registerCustomOperator, removeDoubleSlashes, setState, unregisterCustomOperator, validationMessage } from './base.js';
|
|
12
|
+
export { C as ComputedItemContext, I as INITIAL_SESSION_CONTEXT, S as SessionContext, V as View, s as sessionContext } from './session.context.d-BNxGeyh9.js';
|
|
13
|
+
export { C as ComputedContext, a as ComputedItem } from './computed.types.d-n3K2VvB0.js';
|
|
14
14
|
export { C as ConfigContext, V as ValidationDisplayMode, c as configContext } from './config.context.d-CCqlJXpE.js';
|
|
15
|
-
export { C as ChoiceRole, I as Interaction, a as InteractionContext, R as RecordFieldValues, b as RecordValue, i as inferRecordFieldBaseType,
|
|
15
|
+
export { C as ChoiceRole, I as Interaction, a as InteractionContext, R as RecordFieldValues, b as RecordValue, V as ValidityKind, c as ValidityTrigger, i as inferRecordFieldBaseType, d as interactionContext, e as isRecordValue, r as readRecordFieldValues } from './record.d-Bojj6_LW.js';
|
|
16
16
|
export { B as BaseType, C as Calculate, a as Cardinality, I as InterpolationTableEntry, b as ItemContext, M as Multiple, O as Ordered, c as OutcomeVariable, Q as QtiAreaMapEntry, d as QtiAreaMapping, e as QtiMapEntry, f as QtiMapping, R as ResponseInteraction, g as ResponseVariable, T as TemplateVariable, V as VariableDeclaration, h as VariableValue, i as areaShape, j as directedPair, k as float, l as integer, m as itemContextVariables } from './item.types.d-DuVR0ZVK.js';
|
|
17
17
|
export { Q as QtiContext, a as QtiContextType, S as Seed, b as asSeed, i as isSeed, q as qtiContext } from './qti.context.d-CejJMlfZ.js';
|
|
18
18
|
export { I as INITIAL_TEST_CONTEXT, Q as QtiExpression, a as QtiExpressionBase, T as TestContext, t as testContext } from './qti-expression.d-B-Cfbqlb.js';
|
|
19
|
-
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-
|
|
19
|
+
export { Q as QtiFeedback, a as QtiVariableDeclaration } from './qti-feedback.d-1JL_qHjc.js';
|
|
20
20
|
export { Q as QtiConditionExpression } from './qti-condition-expression.d-B-T1NNl0.js';
|
|
21
21
|
export { D as DirectedPair, I as Identifier, P as Point, R as ResponseValue, i as iterResponseValues, p as parsePair, a as parsePoint, b as parseResponseAttribute, r as responseAttributeConverter, s as serializePair, c as serializePoint, d as serializeResponseAttribute } from './response.d-_8y4kjGP.js';
|
|
22
22
|
export { F as FormAssociatedInteraction, I as IInteraction, R as ReadonlyInteraction, a as RegisteredInteraction, b as ResettableInteraction, c as ResponseIdentifiedInteraction, d as ResponseInteractionElement, V as ValidatableInteraction } from './interaction.interface.d-CvjHM2bi.js';
|